1 2014-04-13 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5 2014-04-12 Allan McRae <allan@archlinux.org>
8 * manual/string.texi (Collation Functions): Fix qsort argument
10 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15 Make the test a no-op if there are no exceptions defined.
17 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19 * elf/Makefile (tests): make tst-dlopen-aout conditional on
20 enable-hardcoded-path-in-tests
22 2014-04-11 Will Newton <will.newton@linaro.org>
24 * benchtests/Makefile (extra-objs): Add json-lib.o.
25 (bench-func): Tidy up JSON output.
26 * benchtests/bench-skeleton.c: Include json-lib.h.
27 (main): Use JSON library functions to do output of
29 * benchtests/bench-timing-type.c (main): Output the
30 timing type simply, leaving formatting to the user.
31 * benchtests/json-lib.c: New file.
32 * benchtests/json-lib.h: Likewise.
34 2014-04-11 Torvald Riegel <triegel@redhat.com>
37 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
39 memory barriers. Add comments.
40 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
41 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
45 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
49 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50 * sysdeps/s390/s390-64/configure.ac: ... this ...
51 * sysdeps/s390/configure.ac: ... to here.
52 * sysdeps/s390/s390-32/configure: Delete file.
53 * sysdeps/s390/s390-64/configure: Delete file.
54 * sysdeps/s390/configure: Regenerate.
56 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
58 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
60 2014-04-11 Will Newton <will.newton@linaro.org>
62 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
63 to zero if it is not defined elsewhere. (mtrim): Test
64 the value of MALLOC_DEBUG with #if rather than #ifdef.
66 2014-04-10 Torvald Riegel <triegel@redhat.com>
68 * benchtests/pthread_once-inputs: New file.
69 * benchtests/pthread_once-source.c: New file.
70 * benchtests/README: Update documentation.
72 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
73 H.J. Lu <hongjiu.lu@intel.com>
75 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
76 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
77 * sysdeps/x86_64/configure: Regenerated.
78 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
80 (REGISTER_SAVE_RAX): Likewise.
81 (REGISTER_SAVE_RCX): Likewise.
82 (REGISTER_SAVE_RDX): Likewise.
83 (REGISTER_SAVE_RSI): Likewise.
84 (REGISTER_SAVE_RDI): Likewise.
85 (REGISTER_SAVE_R8): Likewise.
86 (REGISTER_SAVE_R9): Likewise.
87 (REGISTER_SAVE_BND0): Likewise.
88 (REGISTER_SAVE_BND1): Likewise.
89 (REGISTER_SAVE_BND2): Likewise.
90 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
91 bound registers when calling _dl_fixup.
93 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
95 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
96 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
98 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
99 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
100 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
101 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
102 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
103 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
104 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
106 2014-04-09 Peter Brett <peter@peter-b.co.uk>
109 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
110 pathconf(_PC_NAME_MAX).
112 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
116 (__PTHREAD_SPINS): Move definition to ...
117 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
118 (__PTHREAD_SPINS): ... here.
119 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
120 (__PTHREAD_SPIN): Likewise.
121 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
122 (__PTHREAD_SPIN): Likewise.
123 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
124 (__PTHREAD_SPIN): Likewise.
125 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
126 (__PTHREAD_SPIN): Likewise.
127 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
128 (__PTHREAD_SPIN): Likewise.
129 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
130 (__PTHREAD_SPIN): Likewise.
131 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
132 (__PTHREAD_SPIN): Likewise.
133 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
134 (__PTHREAD_SPIN): Likewise.
135 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
136 (__PTHREAD_SPIN): Likewise.
137 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
138 (__PTHREAD_SPIN): Likewise.
139 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
140 (__PTHREAD_SPIN): Likewise.
141 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
142 (__PTHREAD_SPIN): Likewise.
144 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
146 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
147 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
148 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
149 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
151 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
152 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
153 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
154 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
156 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
157 strlen symbol for non multi-arch builds.
158 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
159 missing hidden_def and weak_alias.
161 2014-04-08 Carlos O'Donell <carlos@redhat.com>
163 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
165 2014-04-07 Will Newton <will.newton@linaro.org>
167 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
168 and contents. [!_LIBC] Remove #ifndef and contents.
169 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
170 * string/memccpy.c (__memccpy): Use ANSI prototype.
171 * string/memfrob.c (memfrob): Likewise.
172 * string/strcoll.c (STRCOLL): Likewise.
173 * string/strlen.c (strlen): Likewise.
174 * string/strtok.c (STRTOK): Likewise.
175 * string/strcat.c: Remove unused #include of memcopy.h.
176 (strcat): Use ANSI prototype.
177 * string/strchr.c: Remove unused #include of memcopy.h.
178 (strchr): Use ANSI prototype.
179 * string/strcmp.c: Remove unused #include of memcopy.h.
180 (strcmp): Use ANSI prototype.
181 * string/strcpy.c: Remove unused #include of memcopy.h.
182 (strcpy): Use ANSI prototype.
184 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
186 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
187 * config.make.in (config-extra-cppflags): Set it from
189 * configure.ac (libc_extra_cflags): Make it accumulate over
191 (libc_extra_cppflags): New flag.
192 * configure. Regenerate.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
194 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
195 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
198 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
202 result for FE_DOWNWARD rounding mode.
203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
207 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
209 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
210 in function argument name.
212 2014-04-03 David Svoboda <svoboda@cert.org>
215 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
218 2014-04-03 Roland McGrath <roland@hack.frob.com>
220 * elf/dl-unmap-segments.h: New file.
221 * sysdeps/generic/ldsodefs.h
222 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
223 * elf/dl-close.c: Include <dl-unmap-segments.h>.
224 * elf/dl-fptr.c: Likewise.
225 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
226 * sysdeps/aarch64/tlsdesc.c: Likewise.
227 * sysdeps/arm/tlsdesc.c: Likewise.
228 * sysdeps/i386/tlsdesc.c: Likewise.
229 * sysdeps/tile/dl-runtime.c: Likewise.
230 * sysdeps/x86_64/tlsdesc.c: Likewise.
231 * elf/dl-load.h: New file.
232 * elf/dl-load.c: Include it.
233 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
234 Macros moved to dl-load.h.
235 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
236 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
237 Use _dl_unmap_segments in place of __munmap.
238 Break out segment-mapping loop into ...
239 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
241 2014-04-03 Will Newton <will.newton@linaro.org>
243 * elf/dl-lookup.c (do_lookup_x): Remove comment
244 referring to nested function and move variable
245 declarations down to before first use.
247 2014-04-02 Joseph Myers <joseph@codesourcery.com>
251 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
253 * math/s_catanf.c (__catanf): Likewise.
254 * math/s_catanh.c (__catanh): Likewise.
255 * math/s_catanhf.c (__catanhf): Likewise.
256 * math/s_catanhl.c (__catanhl): Likewise.
257 * math/s_catanl.c (__catanl): Likewise.
258 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
259 by positive zero when computing -Inf result.
260 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
261 (catanh_test): Likewise.
262 * sysdeps/i386/fpu/libm-test-ulps: Update.
263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
266 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
267 instead of using underflowing value in computing result.
268 * math/s_clog10.c (__clog10): Likewise.
269 * math/s_clog10f.c (__clog10f): Likewise.
270 * math/s_clog10l.c (__clog10l): Likewise.
271 * math/s_clogf.c (__clogf): Likewise.
272 * math/s_clogl.c (__clogl): Likewise.
273 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
274 (clog10_test): Likewise.
275 * sysdeps/i386/fpu/libm-test-ulps: Update.
276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
278 2014-04-02 Alan Modra <amodra@gmail.com>
281 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
282 output when value is near a power of two. Use int64_t for lx and
283 remove casts. Use decimal rather than hex exponent constants.
284 Don't use long double multiplication when double will suffice.
285 * math/libm-test.inc (nextafter_test_data): Add tests.
286 * NEWS: Add 16739 and 16786 to bug list.
288 2014-04-02 Alan Modra <amodra@gmail.com>
290 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
292 2014-04-02 Alan Modra <amodra@gmail.com>
294 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
296 2014-04-01 Will Newton <will.newton@linaro.org>
298 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
299 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
301 2014-04-01 Florian Weimer <fweimer@redhat.com>
304 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
305 * nptl/tst-setuid2.c: New file.
306 * nptl/Makefile (xtests): Add tst-setuid2.
308 2014-04-01 Alan Modra <amodra@gmail.com>
311 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
313 2014-03-31 Joseph Myers <joseph@codesourcery.com>
317 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
318 set errno as appropriate.
319 * math/w_scalbf.c (__scalbf): Likewise.
320 * math/w_scalbl.c (__scalbl): Likewise.
321 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
322 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
323 * math/libm-test.inc (scalb_test_data): Add errno expectations.
327 * math/w_atan2.c: Include <errno.h>.
328 (__atan2): Set errno for result underflowing to zero.
329 * math/w_atan2f.c: Include <errno.h>.
330 (__atan2f): Set errno for result underflowing to zero.
331 * math/w_atan2l.c: Include <errno.h>.
332 (__atan2l): Set errno for result underflowing to zero.
333 * math/auto-libm-test-in: Don't allow missing errno for some atan2
335 * math/auto-libm-test-out: Regenerated.
337 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
339 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
340 Encode instruction correctly in little endian.
341 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
343 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
345 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
347 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
350 2014-03-31 Joseph Myers <joseph@codesourcery.com>
353 * sysdeps/unix/sysv/linux/kernel-features.h
354 [__sparc__ && !__arch64__ && !__sparc_v9__]
355 (__ASSUME_SET_ROBUST_LIST): Do not define.
356 [__sparc__ && !__arch64__ && !__sparc_v9__]
357 (__ASSUME_FUTEX_LOCK_PI): Likewise.
358 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
360 * sysdeps/unix/sysv/linux/arm/kernel-features.h
361 (__ASSUME_FUTEX_LOCK_PI): Undefine.
362 (__ASSUME_REQUEUE_PI): Likewise.
363 (__ASSUME_SET_ROBUST_LIST): Likewise.
364 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
365 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
367 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
368 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
370 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
372 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
374 * sysdeps/unix/sysv/linux/mips/kernel-features.h
375 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
377 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
378 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
382 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
384 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
386 2014-03-31 Will Newton <will.newton@linaro.org>
388 * benchtests/Makefile (bench): Add ffs and ffsll to list
390 * benchtests/ffs-inputs: New file.
391 * benchtests/ffsll-inputs: Likewise.
393 2014-03-29 Joseph Myers <joseph@codesourcery.com>
396 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
397 too large before casting to int.
398 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
399 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
400 * math/libm-test.inc (scalb_test_data): Add more tests.
402 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
404 * benchtests/Makefile (DETAILED_OPT): New make option.
405 (bench-func): Run benchmark program with -d if DETAILED_OPT is
407 * benchtests/bench-skeleton.c: Include stdbool.h.
408 (main): Store and print timings per input.
409 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
410 member to each argument value.
411 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
412 (_print_arg_data): Initialize per-input timing to 0.
414 * benchtests/Makefile (timing-type): New binary.
415 (bench-clean): Also remove bench-timing-type.
416 (bench): New target for timing-type.
417 (bench-func): Print output in JSON format.
418 * benchtests/bench-skeleton.c (main): Print output in JSON
420 * benchtests/bench-timing-type.c: New file.
421 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
422 (TIMING_PRINT_STATS): Remove.
423 * benchtests/scripts/bench.py (_print_arg_data): Store variant
426 * benchtests/bench-modf.c: Remove.
427 * benchtests/modf-inputs: New inputs file.
429 2014-03-28 Joseph Myers <joseph@codesourcery.com>
432 * math/s_clog10.c (M_PI_LOG10E): New macro.
433 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
434 imaginary parts are 0.
435 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
436 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
437 imaginary parts are 0.
438 * math/s_clog10l.c (M_PI_LOG10El): New macro.
439 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
440 imaginary parts are 0.
441 * math/libm-test.inc (clog10_test_data): Update expected results
442 for when real and imaginary parts are 0.
444 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
446 * elf/dl-load.c: Finish conversion of __builtin_expect into
449 2014-03-27 Joseph Myers <joseph@codesourcery.com>
452 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
453 1+x for argument with exponent below -67.
454 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
456 * math/auto-libm-test-in: Add more tests of exp.
457 * math/auto-libm-test-out: Regenerated.
459 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
462 * inet/getnetgrent_r.c (get_nonempty_val): New function.
463 (nscd_getnetgrent): Use it.
466 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
469 2014-03-27 Andi Kleen <ak@linux.intel.com>
471 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
472 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
473 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
474 Remove out of line section. Use cfi intrinsics.
475 (LLL_STUB_UNWIND_INFO*): Remove.
476 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
477 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
478 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
479 Remove out of line section. Use cfi intrinsics.
480 (LLL_STUB_UNWIND_INFO*): Remove.
482 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
485 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
488 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
490 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
492 2014-03-26 Joseph Myers <joseph@codesourcery.com>
495 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
497 * math/test-fenv-preserve.c: New file.
498 * math/Makefile (tests): Add test-fenv-preserve.
500 2014-03-26 Will Newton <will.newton@linaro.org>
502 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
504 2014-03-25 Roland McGrath <roland@hack.frob.com>
506 * scripts/versionlist.awk: Partition the version sets and emit all
507 GLIBC_* (sorted) before all others (sorted).
509 2014-03-25 Joseph Myers <joseph@codesourcery.com>
511 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
514 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
519 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
521 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
524 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
528 2014-03-25 Andreas Schwab <schwab@suse.de>
530 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
531 label to be used after in6ailist is initialized.
533 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
536 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
538 2014-03-25 Joseph Myers <joseph@codesourcery.com>
542 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
544 (fp_formats): Update initializers.
545 (init_fp_formats): Initialize new field.
546 (output_for_one_input_case): Allow underflow for results up to
548 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
549 * math/auto-libm-test-in: Don't mark some underflows from asin and
551 * math/auto-libm-test-out: Regenerated.
552 * sysdeps/i386/fpu/libm-test-ulps: Update.
553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
555 2014-03-25 Andreas Schwab <schwab@suse.de>
557 * libio/Makefile (tst-ftell-partial-wide-ENV)
558 (tst-ftell-active-handler-ENV): Define.
560 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
562 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
564 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
566 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
568 2014-03-24 Joseph Myers <joseph@codesourcery.com>
570 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
571 * sysdeps/x86_64/fpu/multiarch/e_exp.c
572 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
574 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
577 * elf/dl-load.c (open_verify): Add mode parameter.
578 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
579 (open_path): Change from boolean 'secure' to complete flag 'mode'
580 (_dl_map_object): Adjust.
581 * elf/Makefile (tests): Add tst-dlopen-aout.
582 * elf/tst-dlopen-aout.c: New test.
584 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
587 * sysdeps/unix/sysv/linux/s390/bits/stat.h
588 (struct stat): Rename member pad0 to __glibc_reserved0.
590 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
593 * sysdeps/s390/s390-32/bits/wordsize.h
594 (__WORDSIZE32_SIZE_ULONG): New define.
595 * sysdeps/s390/s390-64/bits/wordsize.h
596 (__WORDSIZE32_SIZE_ULONG): Likewise.
597 * sysdeps/generic/stdint.h (SIZE_MAX):
598 Define as UL if __WORDSIZE32_SIZE_ULONG.
600 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
603 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
604 (__glibc_reserved0): New variable.
605 (sa_flags): Change type to int.
607 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
609 * posix/Makefile (before-compile): Use += before-compile instead
612 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
614 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
615 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
617 2014-03-20 Andreas Schwab <schwab@suse.de>
620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
621 non-matching result from nscd.
623 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
625 * scripts/bench.py: Moved to ...
626 * benchtests/scripts/bench.py: ... here.
627 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
629 2014-03-24 Andreas Schwab <schwab@suse.de>
632 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
633 alloca_account and account alloca use for struct in6ailist.
635 2014-03-24 Joseph Myers <joseph@codesourcery.com>
638 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
639 rounding mode to recompute results that overflow to infinity or
641 * math/auto-libm-test-in: Don't mark tests as expected to fail for
643 * math/auto-libm-test-out: Regenerated.
644 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
645 (ccosh_test): Likewise.
646 (csin_test_data): Use plus_oflow.
647 (csin_test): Use ALL_RM_TEST.
648 (csinh_test_data): Use plus_oflow.
649 (csinh_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 Joseph Myers <joseph@codesourcery.com>
655 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
656 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
657 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
660 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
662 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
663 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
664 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
665 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
667 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
668 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
670 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
671 * sysdeps/i386/fpu/libm-test-ulps: Update.
672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
674 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
676 * scripts/bench.pl: Remove file.
677 * scripts/bench.py: New benchmark script.
678 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
679 * benchtests/README: Mention python dependency.
680 * scripts/pylintrc: New file.
681 * scripts/pylint: New file.
683 * bits/mathdef.h: Use #ifdef instead of #if.
684 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
685 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
686 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
687 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
688 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
689 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
691 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
694 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
696 and strpbrk-ppc64 objects.
697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
698 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
699 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
700 multiarch strpbrk for POWER7.
701 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
702 multiarch strpbrk for PPC64.
703 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
705 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
708 2014-03-20 Joseph Myers <joseph@codesourcery.com>
710 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
711 (atan_test): Likewise.
712 (atanh_test_data): Use NO_TEST_INLINE for two tests.
713 (atanh_test): Use ALL_RM_TEST.
714 (atan2_test_data): Likewise.
715 (cabs_test): Likewise.
716 (cacosh_test): Likewise.
717 (carg_test): Likewise.
718 (casin_test): Likewise.
719 (casinh_test): Likewise.
720 (cbrt_test): Likewise.
721 (csqrt_test): Likewise.
722 (erf_test): Likewise.
723 (erfc_test): Likewise.
724 (pow10_test): Likewise.
725 (exp2_test): Likewise.
726 (hypot_test): Likewise.
729 (lgamma_test): Likewise.
730 (gamma_test): Likewise.
731 (sincos_test): Likewise.
732 (tanh_test): Likewise.
735 * sysdeps/i386/fpu/libm-test-ulps: Update.
736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
738 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
740 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
742 and strcspn-ppc64 objects.
743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
744 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
745 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
746 multiarch strcspn for POWER7.
747 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
748 multiarch strcspn for PPC64.
749 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
751 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
754 2014-03-20 Joseph Myers <joseph@codesourcery.com>
756 * math/gen-libm-test.pl (generate_testfile): Expect only function
757 name as argument to AUTO_TESTS_* and pass results for all rounding
759 (parse_auto_input): Separate inputs of automatic tests from
760 outputs before storing in %auto_tests.
761 * math/libm-test.inc (acos_test_data): Update call to
763 (acos_test): Use ALL_RM_TEST.
764 (acos_tonearest_test_data): Remove.
765 (acos_test_tonearest): Likewise.
766 (acos_towardzero_test_data): Likewise.
767 (acos_test_towardzero): Likewise.
768 (acos_downward_test_data): Likewise.
769 (acos_test_downward): Likewise.
770 (acos_upward_test_data): Likewise.
771 (acos_test_upward): Likewise.
772 (acosh_test_data): Update call to AUTO_TESTS_f_f.
773 (asin_test_data): Likewise.
774 (asin_test): Use ALL_RM_TEST.
775 (asin_tonearest_test_data): Remove.
776 (asin_test_tonearest): Likewise.
777 (asin_towardzero_test_data): Likewise.
778 (asin_test_towardzero): Likewise.
779 (asin_downward_test_data): Likewise.
780 (asin_test_downward): Likewise.
781 (asin_upward_test_data): Likewise.
782 (asin_test_upward): Likewise.
783 (asinh_test_data): Update call to AUTO_TESTS_f_f.
784 (atan_test_data): Likewise.
785 (atanh_test_data): Likewise.
786 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
787 (cabs_test_data): Update call to AUTO_TESTS_c_f.
788 (carg_test_data): Likewise.
789 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
790 (ccos_test_data): Update call to AUTO_TESTS_c_c.
791 (ccosh_test_data): Likewise.
792 (cexp_test_data): Likewise.
793 (clog_test_data): Likewise.
794 (clog10_test_data): Likewise.
795 (cos_test_data): Update call to AUTO_TESTS_f_f.
796 (cos_test): Use ALL_RM_TEST.
797 (cos_tonearest_test_data): Remove.
798 (cos_test_tonearest): Likewise.
799 (cos_towardzero_test_data): Likewise.
800 (cos_test_towardzero): Likewise.
801 (cos_downward_test_data): Likewise.
802 (cos_test_downward): Likewise.
803 (cos_upward_test_data): Likewise.
804 (cos_test_upward): Likewise.
805 (cosh_test_data): Update call to AUTO_TESTS_f_f.
806 (cosh_test): Use ALL_RM_TEST.
807 (cosh_tonearest_test_data): Remove.
808 (cosh_test_tonearest): Likewise.
809 (cosh_towardzero_test_data): Likewise.
810 (cosh_test_towardzero): Likewise.
811 (cosh_downward_test_data): Likewise.
812 (cosh_test_downward): Likewise.
813 (cosh_upward_test_data): Likewise.
814 (cosh_test_upward): Likewise.
815 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
816 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
817 (ctan_test_data): Likewise.
818 (ctan_test): Use ALL_RM_TEST.
819 (ctan_tonearest_test_data): Remove.
820 (ctan_test_tonearest): Likewise.
821 (ctan_towardzero_test_data): Likewise.
822 (ctan_test_towardzero): Likewise.
823 (ctan_downward_test_data): Likewise.
824 (ctan_test_downward): Likewise.
825 (ctan_upward_test_data): Likewise.
826 (ctan_test_upward): Likewise.
827 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
828 (ctanh_test): Use ALL_RM_TEST.
829 (ctanh_tonearest_test_data): Remove.
830 (ctanh_test_tonearest): Likewise.
831 (ctanh_towardzero_test_data): Likewise.
832 (ctanh_test_towardzero): Likewise.
833 (ctanh_downward_test_data): Likewise.
834 (ctanh_test_downward): Likewise.
835 (ctanh_upward_test_data): Likewise.
836 (ctanh_test_upward): Likewise.
837 (erf_test_data): Update call to AUTO_TESTS_f_f.
838 (erfc_test_data): Likewise.
839 (exp_test_data): Likewise.
840 (exp_test): Use ALL_RM_TEST.
841 (exp_tonearest_test_data): Remove.
842 (exp_test_tonearest): Likewise.
843 (exp_towardzero_test_data): Likewise.
844 (exp_test_towardzero): Likewise.
845 (exp_downward_test_data): Likewise.
846 (exp_test_downward): Likewise.
847 (exp_upward_test_data): Likewise.
848 (exp_test_upward): Likewise.
849 (exp10_test_data): Update call to AUTO_TESTS_f_f.
850 (exp10_test): Use ALL_RM_TEST.
851 (exp10_tonearest_test_data): Remove.
852 (exp10_test_tonearest): Likewise.
853 (exp10_towardzero_test_data): Likewise.
854 (exp10_test_towardzero): Likewise.
855 (exp10_downward_test_data): Likewise.
856 (exp10_test_downward): Likewise.
857 (exp10_upward_test_data): Likewise.
858 (exp10_test_upward): Likewise.
859 (exp2_test_data): Update call to AUTO_TESTS_f_f.
860 (expm1_test_data): Likewise.
861 (expm1_test): Use ALL_RM_TEST.
862 (expm1_tonearest_test_data): Remove.
863 (expm1_test_tonearest): Likewise.
864 (expm1_towardzero_test_data): Likewise.
865 (expm1_test_towardzero): Likewise.
866 (expm1_downward_test_data): Likewise.
867 (expm1_test_downward): Likewise.
868 (expm1_upward_test_data): Likewise.
869 (expm1_test_upward): Likewise.
870 (fma_test_data): Update call to AUTO_TESTS_fff_f.
871 (fma_test): Use ALL_RM_TEST.
872 (fma_towardzero_test_data): Remove.
873 (fma_test_towardzero): Likewise.
874 (fma_downward_test_data): Likewise.
875 (fma_test_downward): Likewise.
876 (fma_upward_test_data): Likewise.
877 (fma_test_upward): Likewise.
878 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
879 (j0_test_data): Update call to AUTO_TESTS_f_f.
880 (j1_test_data): Likewise.
881 (jn_test_data): Update call to AUTO_TESTS_if_f.
882 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
883 (log_test_data): Update call to AUTO_TESTS_f_f.
884 (log10_test_data): Likewise.
885 (log1p_test_data): Likewise.
886 (log2_test_data): Likewise.
887 (pow_test_data): Update call to AUTO_TESTS_ff_f.
888 (pow_tonearest_test_data): Likewise.
889 (sin_test_data): Update call to AUTO_TESTS_f_f.
890 (sin_test): Use ALL_RM_TEST.
891 (sin_tonearest_test_data): Remove.
892 (sin_test_tonearest): Likewise.
893 (sin_towardzero_test_data): Likewise.
894 (sin_test_towardzero): Likewise.
895 (sin_downward_test_data): Likewise.
896 (sin_test_downward): Likewise.
897 (sin_upward_test_data): Likewise.
898 (sin_test_upward): Likewise.
899 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
900 (sinh_test_data): Update call to AUTO_TESTS_f_f.
901 (sinh_test): Use ALL_RM_TEST.
902 (sinh_tonearest_test_data): Remove.
903 (sinh_test_tonearest): Likewise.
904 (sinh_towardzero_test_data): Likewise.
905 (sinh_test_towardzero): Likewise.
906 (sinh_downward_test_data): Likewise.
907 (sinh_test_downward): Likewise.
908 (sinh_upward_test_data): Likewise.
909 (sinh_test_upward): Likewise.
910 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
911 (sqrt_test): Use ALL_RM_TEST.
912 (sqrt_tonearest_test_data): Remove.
913 (sqrt_test_tonearest): Likewise.
914 (sqrt_towardzero_test_data): Likewise.
915 (sqrt_test_towardzero): Likewise.
916 (sqrt_downward_test_data): Likewise.
917 (sqrt_test_downward): Likewise.
918 (sqrt_upward_test_data): Likewise.
919 (sqrt_test_upward): Likewise.
920 (tan_test_data): Update call to AUTO_TESTS_f_f.
921 (tan_test): Use ALL_RM_TEST.
922 (tan_tonearest_test_data): Remove.
923 (tan_test_tonearest): Likewise.
924 (tan_towardzero_test_data): Likewise.
925 (tan_test_towardzero): Likewise.
926 (tan_downward_test_data): Likewise.
927 (tan_test_downward): Likewise.
928 (tan_upward_test_data): Likewise.
929 (tan_test_upward): Likewise.
930 (tanh_test_data): Update call to AUTO_TESTS_f_f.
931 (tgamma_test_data): Likewise.
932 (y0_test_data): Likewise.
933 (y1_test_data): Likewise.
934 (yn_test_data): Update call to AUTO_TESTS_if_f.
935 (main): Do not call removed functions.
937 2014-03-19 Joseph Myers <joseph@codesourcery.com>
939 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
940 (ldexp_test_data): Remove.
941 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
943 (scalb_test): Use ALL_RM_TEST.
945 2014-03-19 Andreas Schwab <schwab@suse.de>
947 * nscd/nscd.service: Also invalidate netgroup cache on reload.
949 2014-03-19 Joseph Myers <joseph@codesourcery.com>
952 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
953 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
954 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
956 (__ASSUME_PREADV): Undefine.
957 (__ASSUME_PWRITEV): Likewise.
959 2014-03-18 Roland McGrath <roland@hack.frob.com>
961 * bits/mman-linux.h: Add comment about non-Linux use.
962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
963 bits/mman-linux.h resting place.
965 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
966 * bits/mman-linux.h: ... here.
968 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
970 * conform/conformtest.pl: Add standard definition when calling C
971 preprocessor on data files.
972 (checknamespace): Remove unused variable.
974 2014-03-18 Joseph Myers <joseph@codesourcery.com>
976 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
977 minus_oflow, plus_uflow and minus_uflow in expected results.
978 * math/libm-test.inc (scalbn_test_data): Add more tests of
979 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
981 (scalbn_test): Use ALL_RM_TEST.
982 (scalbln_test_data): Add more tests of negative arguments. Use
983 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
984 (scalbln_test): Use ALL_RM_TEST.
986 2014-03-18 Roland McGrath <roland@hack.frob.com>
988 * scripts/abilist.awk: Ignore symbols marked with .hidden.
990 2014-03-18 Will Newton <will.newton@linaro.org>
992 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
995 2014-03-18 Joseph Myers <joseph@codesourcery.com>
997 * Makerules [!subdir] (check-abi): Exit with error status if a
1000 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1002 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1003 for rint. Include results for all rounding modes.
1004 (nearbyint_test): Use ALL_RM_TEST.
1005 (rint_test_data): Include all tests used for nearbyint.
1007 2014-03-17 Will Newton <will.newton@linaro.org>
1009 * nptl/sysdeps/pthread/pthread.h: Revert previous
1012 * sysdeps/generic/ldsodefs.h: Revert previous
1015 * libio/genops.c: Revert previous change.
1016 * libio/libioP.h: Likewise.
1017 * stdio-common/vfprintf.c: Likewise.
1019 * sysdeps/generic/math_private.h: Revert previous
1022 * sysdeps/generic/math_private.h: Check whether
1023 HAVE_RM_CTX is defined with #ifdef rather
1026 * argp/argp-fmtstream.h: Check whether
1027 __STRICT_ANSI__ is defined with #ifdef rather
1029 * argp/argp.h: Likewise.
1031 * libio/genops.c: Check whether
1032 _IO_JUMPS_OFFSET is defined with #ifdef rather
1034 * libio/libioP.h: Likewise.
1035 * stdio-common/vfprintf.c: Likewise.
1037 * sysdeps/generic/ldsodefs.h: Check whether
1038 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1041 * nptl/sysdeps/pthread/pthread.h: Check
1042 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1045 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1047 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1049 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1053 * libio/fileops.c (_IO_file_open): Seek to end of file but
1054 don't cache the offset.
1055 (get_file_offset): Remove function.
1056 (do_ftell): Use cached offset when available.
1057 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1058 don't cache the offset.
1059 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1061 (do_one_test): Call it.
1062 (do_ftell_test): Fix up expected old offset for a+ mode.
1063 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1066 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1067 up test status with function return status.
1068 (do_write_test): Likewise.
1069 (do_append_test): Likewise.
1071 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1072 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1075 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1077 * math/gen-libm-test.pl (parse_args): Handle results specified for
1078 each rounding mode separately.
1079 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1080 tests and results from lrint_tonearest_test_data,
1081 lrint_towardzero_test_data, lrint_downward_test_data and
1082 lrint_upward_test_data.
1083 (lrint_test): Use ALL_RM_TEST.
1084 (lrint_tonearest_test_data): Remove.
1085 (lrint_test_tonearest): Likewise.
1086 (lrint_towardzero_test_data): Likewise.
1087 (lrint_test_towardzero): Likewise.
1088 (lrint_downward_test_data): Likewise.
1089 (lrint_test_downward): Likewise.
1090 (lrint_upward_test_data): Likewise.
1091 (lrint_test_upward): Likewise.
1092 (llrint_test_data): Merge in per-rounding-mode tests and results
1093 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1094 llrint_downward_test_data and llrint_upward_test_data.
1095 (llrint_test): Use ALL_RM_TEST.
1096 (llrint_tonearest_test_data): Remove.
1097 (llrint_test_tonearest): Likewise.
1098 (llrint_towardzero_test_data): Likewise.
1099 (llrint_test_towardzero): Likewise.
1100 (llrint_downward_test_data): Likewise.
1101 (llrint_test_downward): Likewise.
1102 (llrint_upward_test_data): Likewise.
1103 (llrint_test_upward): Likewise.
1104 (rint_test_data): Merge in per-rounding-mode tests and results
1105 from rint_tonearest_test_data, rint_towardzero_test_data,
1106 rint_downward_test_data and rint_upward_test_data. Add
1107 per-rounding-mode results for tests not in those arrays.
1108 (rint_test): Use ALL_RM_TEST.
1109 (rint_tonearest_test_data): Remove.
1110 (rint_test_tonearest): Likewise.
1111 (rint_towardzero_test_data): Likewise.
1112 (rint_test_towardzero): Likewise.
1113 (rint_downward_test_data): Likewise.
1114 (rint_test_downward): Likewise.
1115 (rint_upward_test_data): Likewise.
1116 (rint_test_upward): Likewise.
1117 (main): Don't call removed functions.
1119 2014-03-14 Roland McGrath <roland@hack.frob.com>
1121 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1122 "Compiled on ..." crapola. It is anti-useful.
1124 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1126 * scripts/evaluate-test.sh: Handle fourth argument to determine
1127 whether test run should stop on failure.
1128 * Makeconfig (stop-on-test-failure): New variable.
1129 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1130 $(stop-on-test-failure).
1131 * Makefile (tests): Give a summary of results from testing and
1132 exit with failure status if they include an ERROR or FAIL.
1134 * manual/install.texi (Configuring and compiling): Mention
1135 stop-on-test-failure=y.
1136 * INSTALL: Regenerated.
1138 2014-03-14 Roland McGrath <roland@hack.frob.com>
1140 * scripts/versionlist.awk: New file.
1141 * Makerules [$(build-shared) = yes]
1142 (postclean-generated): Add Versions.def, not Versions.def.v and
1144 ($(common-objpfx)Versions.def.v.i): Target removed.
1145 ($(common-objpfx)Versions.def): New target.
1146 ($(common-objpfx)Versions.all): Depend on that rather that
1147 $(common-objpfx)Versions.def.v.
1148 * Versions.def: File removed.
1150 * Makeconfig (+gccwarn): Add -Wundef.
1151 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1152 a dl-sysdep.h breaking its contract.
1153 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1154 * include/stackinfo.h: New file.
1155 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1156 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1157 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1158 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1159 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1160 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1161 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1162 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1163 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1164 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1165 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1166 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1167 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1168 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1169 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1171 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1176 * math/libm-test.inc (round_test_data): Add more tests.
1178 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1183 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1185 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1190 * math/libm-test.inc (ceil_test_data): Add more tests.
1192 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194 * math/libm-test.inc (trunc_test_data): Add more tests related to
1197 2014-03-14 Roland McGrath <roland@hack.frob.com>
1199 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1200 with #if rather than #ifdef.
1201 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1203 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1205 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1206 first. Disable AVX-512 GCC support if assembler doesn't support
1208 * sysdeps/x86_64/configure: Regenerated.
1210 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1212 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1213 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1214 (__old_pthread_attr_setstack): Likewise.
1215 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1216 [!_STACK_GROWS_DOWN]: Likewise.
1218 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1220 * config.make.in (have-bash2): Delete.
1221 * configure.ac (libc_cv_have_bash2): Delete.
1222 * configure: Regenerate.
1223 * elf/Makefile (common-ldd-rewrite): Rename to ...
1224 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1225 (sh-ldd-rewrite): Delete.
1226 (bash-ldd-rewrite): Delete.
1227 (have-bash2): Delete checks.
1228 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1230 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1232 * config.make.in (have-ksh): Delete.
1234 * configure.ac (libc_cv_have_ksh): Delete.
1235 * configure: Regenerate.
1237 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1239 * elf/Makefile: Delete $(have-ksh) check.
1240 ($(objpfx)sotruss): Change KSH to BASH.
1241 * elf/sotruss.ksh: Rename to ...
1242 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1243 function style to match POSIX. Drop ksh vim mode setting.
1245 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1247 * manual/time.texi (Specifying the Time Zone with TZ): Change
1248 Tuesday to Thursday.
1250 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1252 * debug/tst-longjmp_chk2.c: Update header comment.
1253 (stackoverflow_handler): Add comment. Call assert on pass value.
1255 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1257 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1258 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1259 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1260 (La_x86_64_vector): Add zmm.
1261 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1262 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1263 ($(objpfx)tst-audit10): New target.
1264 ($(objpfx)tst-audit10.out): Likewise.
1265 (tst-audit10-ENV): New.
1266 (AVX512-CFLAGS): Likewise.
1267 (CFLAGS-tst-audit10.c): Likewise.
1268 (CFLAGS-tst-auditmod10a.c): Likewise.
1269 (CFLAGS-tst-auditmod10b.c): Likewise.
1270 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1271 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1272 * sysdeps/x86_64/configure: Regenerated.
1273 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1274 AVX-512 zmm register support.
1275 (_dl_x86_64_save_sse): Likewise.
1276 (_dl_x86_64_restore_sse): Likewise.
1277 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1278 size vector registers.
1279 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1280 (ZMM_SIZE): Likewise.
1281 * sysdeps/x86_64/tst-audit10.c: New file.
1282 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1283 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1285 2014-03-13 Roland McGrath <roland@hack.frob.com>
1287 * configure.ac (HAVE_EHDR_START): New check.
1288 * configure: Regenerated.
1289 * config.h.in (HAVE_EHDR_START): New #undef.
1290 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1291 assuming the lowest-addressed segment maps the start of the file.
1293 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1295 * INSTALL: Regenerated.
1297 2014-03-13 Will Newton <will.newton@linaro.org>
1299 * manual/setjmp.texi (System V contexts): Improve
1300 clarity and grammar of documentation.
1302 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1305 * elf/Makefile (tests): Add tst-pie2.
1306 (tests-pie): Add tst-pie2.
1307 * elf/tst-pie2.c: New file.
1308 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1310 * elf/rtld.c (map_doit): Load executable as lt_executable.
1311 (dl_main): Likewise.
1313 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1317 (__ASSUME_PSELECT): Undefine.
1319 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1322 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1323 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1326 selector for static builds.
1328 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1331 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1334 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1336 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1337 selector for static builds.
1339 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1341 * sysdeps/mips/math_private.h [__mips_hard_float]
1342 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1343 libc_feresetround_mips_ctx.
1344 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1345 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1346 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1349 * math/s_nextafter.c (__nextafter): Do not return value from
1350 overflowing computation.
1351 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1352 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1353 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1355 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1357 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1358 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1360 2014-03-11 Roland McGrath <roland@hack.frob.com>
1362 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1363 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1364 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1365 the new mov targetting sp.
1367 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1371 Define it for static builds as well.
1372 (NO_BZERO_IMPL): Likewise.
1374 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1376 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1377 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1378 multiarch strspn for PPC64.
1379 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1380 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1382 (__libc_ifunc_impl_list): Likewise.
1383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1384 multiarch optimizations
1385 * string/strspn.c (strspn): Using macro to redefine symbol name.
1387 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1388 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1390 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1391 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1392 multiarch strncat for PPC64.
1393 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1394 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1396 (__libc_ifunc_impl_list): Likewise.
1397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1398 multiarch optimizations
1400 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1403 * nscd/nscd.service: Make service type forking.
1405 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1408 sign in non default rounding modes.
1409 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1411 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1413 * math/libm-test.inc (ALL_RM_TEST): New macro.
1414 (ceil_test): Use ALL_RM_TEST.
1415 (cimag_test): Likewise.
1416 (conj_test): Likewise.
1417 (copysign_test): Likewise.
1418 (cproj_test): Likewise.
1419 (creal_test): Likewise.
1420 (fabs_test): Likewise.
1421 (floor_test): Likewise.
1422 (fmax_test): Likewise.
1423 (fmin_test): Likewise.
1424 (fmod_test): Likewise.
1425 (fpclassify_test): Likewise.
1426 (frexp_test): Likewise.
1427 (ilogb_test): Likewise.
1428 (isfinite_test): Likewise.
1429 (finite_test): Likewise.
1430 (isgreater_test): Likewise.
1431 (isgreaterequal_test): Likewise.
1432 (isinf_test): Likewise.
1433 (isless_test): Likewise.
1434 (islessequal_test): Likewise.
1435 (islessgreater_test): Likewise.
1436 (isnan_test): Likewise.
1437 (isnormal_test): Likewise.
1438 (issignaling_test): Likewise.
1439 (isunordered_test): Likewise.
1440 (logb_test): Likewise.
1441 (logb_downward_test_data): Remove.
1442 (logb_test_downward): Likewise.
1443 (lround_test): Use ALL_RM_TEST.
1444 (llround_test): Likewise.
1445 (modf_test): Likewise.
1446 (nexttoward_test): Likewise.
1447 (remainder_test): Likewise.
1448 (drem_test): Likewise.
1449 (remainder_tonearest_test_data): Likewise.
1450 (remainder_test_tonearest): Likewise.
1451 (drem_test_tonearest): Likewise.
1452 (remainder_towardzero_test_data): Likewise.
1453 (remainder_test_towardzero): Likewise.
1454 (drem_test_towardzero): Likewise.
1455 (remainder_downward_test_data): Likewise.
1456 (remainder_test_downward): Likewise.
1457 (drem_test_downward): Likewise.
1458 (remainder_upward_test_data): Likewise.
1459 (remainder_test_upward): Likewise.
1460 (drem_test_upward): Likewise.
1461 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1462 (round_test): Use ALL_RM_TEST.
1463 (signbit_test): Likewise.
1464 (trunc_test): Likewise.
1465 (significand_test): Likewise.
1466 (main): Don't call removed functions.
1468 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1471 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1473 (ILL_ILLOPN): Likewise.
1474 (ILL_ILLADR): Likewise.
1475 (ILL_ILLTRP): Likewise.
1476 (ILL_PRVOPC): Likewise.
1477 (ILL_PRVREG): Likewise.
1478 (ILL_COPROC): Likewise.
1479 (ILL_BADSTK): Likewise.
1480 (FPE_INTDIV): Likewise.
1481 (FPE_INTOVF): Likewise.
1482 (FPE_FLTDIV): Likewise.
1483 (FPE_FLTOVF): Likewise.
1484 (FPE_FLTUND): Likewise.
1485 (FPE_FLTRES): Likewise.
1486 (FPE_FLTINV): Likewise.
1487 (FPE_FLTSUB): Likewise.
1488 (SEGV_MAPERR): Likewise.
1489 (SEGV_ACCERR): Likewise.
1490 (BUS_ADRALN): Likewise.
1491 (BUS_ADRERR): Likewise.
1492 (BUS_OBJERR): Likewise.
1493 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1494 (TRAP_TRACE): Likewise.
1495 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1497 (CLD_KILLED): Likewise.
1498 (CLD_DUMPED): Likewise.
1499 (CLD_TRAPPED): Likewise.
1500 (CLD_STOPPED): Likewise.
1501 (CLD_CONTINUED): Likewise.
1502 (POLL_IN): Likewise.
1503 (POLL_OUT): Likewise.
1504 (POLL_MSG): Likewise.
1505 (POLL_ERR): Likewise.
1506 (POLL_PRI): Likewise.
1507 (POLL_HUP): Likewise.
1508 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1510 (ILL_ILLOPN): Likewise.
1511 (ILL_ILLADR): Likewise.
1512 (ILL_ILLTRP): Likewise.
1513 (ILL_PRVOPC): Likewise.
1514 (ILL_PRVREG): Likewise.
1515 (ILL_COPROC): Likewise.
1516 (ILL_BADSTK): Likewise.
1517 (FPE_INTDIV): Likewise.
1518 (FPE_INTOVF): Likewise.
1519 (FPE_FLTDIV): Likewise.
1520 (FPE_FLTOVF): Likewise.
1521 (FPE_FLTUND): Likewise.
1522 (FPE_FLTRES): Likewise.
1523 (FPE_FLTINV): Likewise.
1524 (FPE_FLTSUB): Likewise.
1525 (SEGV_MAPERR): Likewise.
1526 (SEGV_ACCERR): Likewise.
1527 (BUS_ADRALN): Likewise.
1528 (BUS_ADRERR): Likewise.
1529 (BUS_OBJERR): Likewise.
1530 (BUS_MCEERR_AR): Likewise.
1531 (BUS_MCEERR_AO): Likewise.
1532 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1533 (TRAP_TRACE): Likewise.
1534 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1536 (CLD_KILLED): Likewise.
1537 (CLD_DUMPED): Likewise.
1538 (CLD_TRAPPED): Likewise.
1539 (CLD_STOPPED): Likewise.
1540 (CLD_CONTINUED): Likewise.
1541 (POLL_IN): Likewise.
1542 (POLL_OUT): Likewise.
1543 (POLL_MSG): Likewise.
1544 (POLL_ERR): Likewise.
1545 (POLL_PRI): Likewise.
1546 (POLL_HUP): Likewise.
1547 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1548 (ILL_ILLOPN): Likewise.
1549 (ILL_ILLADR): Likewise.
1550 (ILL_ILLTRP): Likewise.
1551 (ILL_PRVOPC): Likewise.
1552 (ILL_PRVREG): Likewise.
1553 (ILL_COPROC): Likewise.
1554 (ILL_BADSTK): Likewise.
1555 (FPE_INTDIV): Likewise.
1556 (FPE_INTOVF): Likewise.
1557 (FPE_FLTDIV): Likewise.
1558 (FPE_FLTOVF): Likewise.
1559 (FPE_FLTUND): Likewise.
1560 (FPE_FLTRES): Likewise.
1561 (FPE_FLTINV): Likewise.
1562 (FPE_FLTSUB): Likewise.
1563 (SEGV_MAPERR): Likewise.
1564 (SEGV_ACCERR): Likewise.
1565 (BUS_ADRALN): Likewise.
1566 (BUS_ADRERR): Likewise.
1567 (BUS_OBJERR): Likewise.
1568 (BUS_MCEERR_AR): Likewise.
1569 (BUS_MCEERR_AO): Likewise.
1570 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1571 (TRAP_TRACE): Likewise.
1572 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1574 (CLD_KILLED): Likewise.
1575 (CLD_DUMPED): Likewise.
1576 (CLD_TRAPPED): Likewise.
1577 (CLD_STOPPED): Likewise.
1578 (CLD_CONTINUED): Likewise.
1579 (POLL_IN): Likewise.
1580 (POLL_OUT): Likewise.
1581 (POLL_MSG): Likewise.
1582 (POLL_ERR): Likewise.
1583 (POLL_PRI): Likewise.
1584 (POLL_HUP): Likewise.
1585 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1587 (ILL_ILLOPN): Likewise.
1588 (ILL_ILLADR): Likewise.
1589 (ILL_ILLTRP): Likewise.
1590 (ILL_PRVOPC): Likewise.
1591 (ILL_PRVREG): Likewise.
1592 (ILL_COPROC): Likewise.
1593 (ILL_BADSTK): Likewise.
1594 (ILL_BADIADDR): Likewise.
1595 (ILL_BREAK): Likewise.
1596 (FPE_INTDIV): Likewise.
1597 (FPE_INTOVF): Likewise.
1598 (FPE_FLTDIV): Likewise.
1599 (FPE_FLTOVF): Likewise.
1600 (FPE_FLTUND): Likewise.
1601 (FPE_FLTRES): Likewise.
1602 (FPE_FLTINV): Likewise.
1603 (FPE_FLTSUB): Likewise.
1604 (FPE_DECOVF): Likewise.
1605 (FPE_DECDIV): Likewise.
1606 (FPE_DECERR): Likewise.
1607 (FPE_INVASC): Likewise.
1608 (FPE_INVDEC): Likewise.
1609 (SEGV_MAPERR): Likewise.
1610 (SEGV_ACCERR): Likewise.
1611 (SEGV_PSTKOVF): Likewise.
1612 (BUS_ADRALN): Likewise.
1613 (BUS_ADRERR): Likewise.
1614 (BUS_OBJERR): Likewise.
1615 (BUS_MCEERR_AR): Likewise.
1616 (BUS_MCEERR_AO): Likewise.
1617 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1618 (TRAP_TRACE): Likewise.
1619 (TRAP_BRANCH): Likewise.
1620 (TRAP_HWBKPT): Likewise.
1621 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1623 (CLD_KILLED): Likewise.
1624 (CLD_DUMPED): Likewise.
1625 (CLD_TRAPPED): Likewise.
1626 (CLD_STOPPED): Likewise.
1627 (CLD_CONTINUED): Likewise.
1628 (POLL_IN): Likewise.
1629 (POLL_OUT): Likewise.
1630 (POLL_MSG): Likewise.
1631 (POLL_ERR): Likewise.
1632 (POLL_PRI): Likewise.
1633 (POLL_HUP): Likewise.
1634 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1635 (ILL_ILLOPN): Likewise.
1636 (ILL_ILLADR): Likewise.
1637 (ILL_ILLTRP): Likewise.
1638 (ILL_PRVOPC): Likewise.
1639 (ILL_PRVREG): Likewise.
1640 (ILL_COPROC): Likewise.
1641 (ILL_BADSTK): Likewise.
1642 (FPE_INTDIV): Likewise.
1643 (FPE_INTOVF): Likewise.
1644 (FPE_FLTDIV): Likewise.
1645 (FPE_FLTOVF): Likewise.
1646 (FPE_FLTUND): Likewise.
1647 (FPE_FLTRES): Likewise.
1648 (FPE_FLTINV): Likewise.
1649 (FPE_FLTSUB): Likewise.
1650 (SEGV_MAPERR): Likewise.
1651 (SEGV_ACCERR): Likewise.
1652 (BUS_ADRALN): Likewise.
1653 (BUS_ADRERR): Likewise.
1654 (BUS_OBJERR): Likewise.
1655 (BUS_MCEERR_AR): Likewise.
1656 (BUS_MCEERR_AO): Likewise.
1657 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1658 (TRAP_TRACE): Likewise.
1659 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1661 (CLD_KILLED): Likewise.
1662 (CLD_DUMPED): Likewise.
1663 (CLD_TRAPPED): Likewise.
1664 (CLD_STOPPED): Likewise.
1665 (CLD_CONTINUED): Likewise.
1666 (POLL_IN): Likewise.
1667 (POLL_OUT): Likewise.
1668 (POLL_MSG): Likewise.
1669 (POLL_ERR): Likewise.
1670 (POLL_PRI): Likewise.
1671 (POLL_HUP): Likewise.
1672 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1673 (ILL_ILLOPN): Likewise.
1674 (ILL_ILLADR): Likewise.
1675 (ILL_ILLTRP): Likewise.
1676 (ILL_PRVOPC): Likewise.
1677 (ILL_PRVREG): Likewise.
1678 (ILL_COPROC): Likewise.
1679 (ILL_BADSTK): Likewise.
1680 (FPE_INTDIV): Likewise.
1681 (FPE_INTOVF): Likewise.
1682 (FPE_FLTDIV): Likewise.
1683 (FPE_FLTOVF): Likewise.
1684 (FPE_FLTUND): Likewise.
1685 (FPE_FLTRES): Likewise.
1686 (FPE_FLTINV): Likewise.
1687 (FPE_FLTSUB): Likewise.
1688 (SEGV_MAPERR): Likewise.
1689 (SEGV_ACCERR): Likewise.
1690 (BUS_ADRALN): Likewise.
1691 (BUS_ADRERR): Likewise.
1692 (BUS_OBJERR): Likewise.
1693 (BUS_MCEERR_AR): Likewise.
1694 (BUS_MCEERR_AO): Likewise.
1695 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1696 (TRAP_TRACE): Likewise.
1697 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1699 (CLD_KILLED): Likewise.
1700 (CLD_DUMPED): Likewise.
1701 (CLD_TRAPPED): Likewise.
1702 (CLD_STOPPED): Likewise.
1703 (CLD_CONTINUED): Likewise.
1704 (POLL_IN): Likewise.
1705 (POLL_OUT): Likewise.
1706 (POLL_MSG): Likewise.
1707 (POLL_ERR): Likewise.
1708 (POLL_PRI): Likewise.
1709 (POLL_HUP): Likewise.
1710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1711 (ILL_ILLOPN): Likewise.
1712 (ILL_ILLADR): Likewise.
1713 (ILL_ILLTRP): Likewise.
1714 (ILL_PRVOPC): Likewise.
1715 (ILL_PRVREG): Likewise.
1716 (ILL_COPROC): Likewise.
1717 (ILL_BADSTK): Likewise.
1718 (FPE_INTDIV): Likewise.
1719 (FPE_INTOVF): Likewise.
1720 (FPE_FLTDIV): Likewise.
1721 (FPE_FLTOVF): Likewise.
1722 (FPE_FLTUND): Likewise.
1723 (FPE_FLTRES): Likewise.
1724 (FPE_FLTINV): Likewise.
1725 (FPE_FLTSUB): Likewise.
1726 (SEGV_MAPERR): Likewise.
1727 (SEGV_ACCERR): Likewise.
1728 (BUS_ADRALN): Likewise.
1729 (BUS_ADRERR): Likewise.
1730 (BUS_OBJERR): Likewise.
1731 (BUS_MCEERR_AR): Likewise.
1732 (BUS_MCEERR_AO): Likewise.
1733 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1734 (TRAP_TRACE): Likewise.
1735 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1737 (CLD_KILLED): Likewise.
1738 (CLD_DUMPED): Likewise.
1739 (CLD_TRAPPED): Likewise.
1740 (CLD_STOPPED): Likewise.
1741 (CLD_CONTINUED): Likewise.
1742 (POLL_IN): Likewise.
1743 (POLL_OUT): Likewise.
1744 (POLL_MSG): Likewise.
1745 (POLL_ERR): Likewise.
1746 (POLL_PRI): Likewise.
1747 (POLL_HUP): Likewise.
1748 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1749 (ILL_ILLOPN): Likewise.
1750 (ILL_ILLADR): Likewise.
1751 (ILL_ILLTRP): Likewise.
1752 (ILL_PRVOPC): Likewise.
1753 (ILL_PRVREG): Likewise.
1754 (ILL_COPROC): Likewise.
1755 (ILL_BADSTK): Likewise.
1756 (ILL_DBLFLT): Likewise.
1757 (ILL_HARDWALL): Likewise.
1758 (FPE_INTDIV): Likewise.
1759 (FPE_INTOVF): Likewise.
1760 (FPE_FLTDIV): Likewise.
1761 (FPE_FLTOVF): Likewise.
1762 (FPE_FLTUND): Likewise.
1763 (FPE_FLTRES): Likewise.
1764 (FPE_FLTINV): Likewise.
1765 (FPE_FLTSUB): Likewise.
1766 (SEGV_MAPERR): Likewise.
1767 (SEGV_ACCERR): Likewise.
1768 (BUS_ADRALN): Likewise.
1769 (BUS_ADRERR): Likewise.
1770 (BUS_OBJERR): Likewise.
1771 (BUS_MCEERR_AR): Likewise.
1772 (BUS_MCEERR_AO): Likewise.
1773 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1774 (TRAP_TRACE): Likewise.
1775 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1777 (CLD_KILLED): Likewise.
1778 (CLD_DUMPED): Likewise.
1779 (CLD_TRAPPED): Likewise.
1780 (CLD_STOPPED): Likewise.
1781 (CLD_CONTINUED): Likewise.
1782 (POLL_IN): Likewise.
1783 (POLL_OUT): Likewise.
1784 (POLL_MSG): Likewise.
1785 (POLL_ERR): Likewise.
1786 (POLL_PRI): Likewise.
1787 (POLL_HUP): Likewise.
1788 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1789 (ILL_ILLOPN): Likewise.
1790 (ILL_ILLADR): Likewise.
1791 (ILL_ILLTRP): Likewise.
1792 (ILL_PRVOPC): Likewise.
1793 (ILL_PRVREG): Likewise.
1794 (ILL_COPROC): Likewise.
1795 (ILL_BADSTK): Likewise.
1796 (FPE_INTDIV): Likewise.
1797 (FPE_INTOVF): Likewise.
1798 (FPE_FLTDIV): Likewise.
1799 (FPE_FLTOVF): Likewise.
1800 (FPE_FLTUND): Likewise.
1801 (FPE_FLTRES): Likewise.
1802 (FPE_FLTINV): Likewise.
1803 (FPE_FLTSUB): Likewise.
1804 (SEGV_MAPERR): Likewise.
1805 (SEGV_ACCERR): Likewise.
1806 (BUS_ADRALN): Likewise.
1807 (BUS_ADRERR): Likewise.
1808 (BUS_OBJERR): Likewise.
1809 (BUS_MCEERR_AR): Likewise.
1810 (BUS_MCEERR_AO): Likewise.
1811 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1812 (TRAP_TRACE): Likewise.
1813 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1815 (CLD_KILLED): Likewise.
1816 (CLD_DUMPED): Likewise.
1817 (CLD_TRAPPED): Likewise.
1818 (CLD_STOPPED): Likewise.
1819 (CLD_CONTINUED): Likewise.
1820 (POLL_IN): Likewise.
1821 (POLL_OUT): Likewise.
1822 (POLL_MSG): Likewise.
1823 (POLL_ERR): Likewise.
1824 (POLL_PRI): Likewise.
1825 (POLL_HUP): Likewise.
1826 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1827 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1830 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1831 before #include of <time.h>.
1832 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1833 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1834 (test-xfail-UNIX98/sched.h/conform): Likewise.
1836 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1838 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1839 error absence of trapping exception support.
1840 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1842 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1844 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1845 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1846 * timezone/Makefile (testdata): Move definition above include of
1848 (test-zones): New variable.
1849 (tests-special): Add zone files.
1850 (build-testdata): Use $(evaluate-test).
1852 * elf/Makefile (tests-special): Rename tests to end with .out.
1853 ($(objpfx)noload-mem): Likewise.
1854 ($(objpfx)tst-leaks1-mem): Likewise.
1855 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1856 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1857 $(objpfx)test-iconvconfig.out.
1858 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1859 set -e inside subshell and redirect output to file.
1860 * iconvdata/Makefile (generated): Rename tests to end with .out.
1862 (tests-special): Rename tests to end with .out.
1863 ($(objpfx)mtrace-tst-loading): Likewise.
1864 * intl/Makefile (generated): Likewise.
1865 (tests-special): Likewise.
1866 ($(objpfx)mtrace-tst-gettext): Likewise.
1867 * misc/Makefile (generated): Likewise.
1868 (tests-special): Likewise.
1869 ($(objpfx)tst-error1-mem): Likewise.
1870 * nptl/Makefile (tests-special): Likewise.
1871 ($(objpfx)tst-stack3-mem): Likewise.
1872 (generated): Likewise.
1873 * posix/Makefile (generated): Likewise.
1874 (tests-special): Likewise.
1875 (xtests-special): Likewise.
1876 ($(objpfx)tst-fnmatch-mem): Likewise.
1877 ($(objpfx)bug-regex2-mem): Likewise.
1878 ($(objpfx)bug-regex14-mem): Likewise.
1879 ($(objpfx)bug-regex21-mem): Likewise.
1880 ($(objpfx)bug-regex31-mem): Likewise.
1881 ($(objpfx)tst-vfork3-mem): Likewise.
1882 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1883 ($(objpfx)tst-pcre-mem): Likewise.
1884 ($(objpfx)tst-boost-mem): Likewise.
1885 ($(objpfx)bug-ga2-mem): Likewise.
1886 ($(objpfx)bug-glob2-mem): Likewise.
1887 * resolv/Makefile (generate): Likewise.
1888 (tests-special): Likewise.
1889 (xtests-special): Likewise.
1890 (generated): Likewise.
1891 ($(objpfx)mtrace-tst-leaks): Likewise.
1892 ($(objpfx)mtrace-tst-leaks2): Likewise.
1894 * scripts/merge-test-results.sh: New file.
1895 * Makefile (tests-special-notdir): New variable.
1896 (tests): Run merge-test-results.sh.
1898 * Rules (tests-special-notdir): New variable.
1899 (xtests-special-notdir): Likewise.
1900 (tests): Run merge-test-results.sh
1903 * Makeconfig (test-xfail-name): New variable.
1904 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1905 compute variable name for expected failures.
1906 * conform/Makefile (conformtest-headers-data): New variable.
1907 (conformtest-standards): Likewise.
1908 (conformtest-headers-ISO): Likewise.
1909 (conformtest-headers-ISO99): Likewise.
1910 (conformtest-headers-ISO11): Likewise.
1911 (conformtest-headers-POSIX): Likewise.
1912 (conformtest-headers-XPG3): Likewise.
1913 (conformtest-headers-XPG4): Likewise.
1914 (conformtest-headers-UNIX98): Likewise.
1915 (conformtest-headers-XOPEN2K): Likewise.
1916 (conformtest-headers-POSIX2008): Likewise.
1917 (conformtest-headers-XOPEN2K8): Likewise.
1918 (conformtest-header-list-base): Likewise.
1919 (conformtest-header-list-tests): Likewise.
1920 (conformtest-header-base): Likewise.
1921 (conformtest-header-tests): Likewise.
1922 (tests-special): Add $(conformtest-header-list-tests). If
1923 [$(fast-check) && !$(cross-compiling)], add
1924 $(conformtest-header-tests) instead of
1925 $(objpfx)run-conformtest.out.
1926 (generated): Add $(conformtest-header-list-base). If
1927 [$(fast-check) && !$(cross-compiling)], add
1928 $(conformtest-header-base). Remove previous setting.
1929 ($(conformtest-header-list-tests)): New target.
1930 (test-xfail-run-conformtest): Remove variable.
1931 ($(objpfx)run-conformtest.out): Remove target.
1932 (test-xfail-ISO11/complex.h/conform): New variable.
1933 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1934 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1935 (test-xfail-XPG3/varargs.h/conform): Likewise.
1936 (test-xfail-XPG4/varargs.h/conform): Likewise.
1937 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1938 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1939 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1940 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1941 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1942 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1943 (test-xfail-XPG3/ftw.h/conform): Likewise.
1944 (test-xfail-XPG3/grp.h/conform): Likewise.
1945 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1946 (test-xfail-XPG3/limits.h/conform): Likewise.
1947 (test-xfail-XPG3/pwd.h/conform): Likewise.
1948 (test-xfail-XPG3/search.h/conform): Likewise.
1949 (test-xfail-XPG3/signal.h/conform): Likewise.
1950 (test-xfail-XPG3/stdio.h/conform): Likewise.
1951 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1952 (test-xfail-XPG3/string.h/conform): Likewise.
1953 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1954 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1955 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1956 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1957 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1958 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1959 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1960 (test-xfail-XPG3/termios.h/conform): Likewise.
1961 (test-xfail-XPG3/time.h/conform): Likewise.
1962 (test-xfail-XPG3/unistd.h/conform): Likewise.
1963 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1964 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1965 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1966 (test-xfail-XPG4/netdb.h/conform): Likewise.
1967 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1968 (test-xfail-XPG4/signal.h/conform): Likewise.
1969 (test-xfail-XPG4/stdio.h/conform): Likewise.
1970 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1971 (test-xfail-XPG4/stropts.h/conform): Likewise.
1972 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1973 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1974 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1975 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1976 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1977 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1978 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1979 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1980 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1981 (test-xfail-XPG4/termios.h/conform): Likewise.
1982 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1983 (test-xfail-XPG4/unistd.h/conform): Likewise.
1984 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1985 (test-xfail-POSIX/sched.h/conform): Likewise.
1986 (test-xfail-POSIX/signal.h/conform): Likewise.
1987 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1988 (test-xfail-POSIX/tar.h/conform): Likewise.
1989 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1990 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1991 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1992 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1993 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1994 (test-xfail-UNIX98/sched.h/conform): Likewise.
1995 (test-xfail-UNIX98/signal.h/conform): Likewise.
1996 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1997 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1998 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1999 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2000 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2001 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2002 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2003 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2004 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2005 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2006 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2007 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2008 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2009 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2010 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2011 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2012 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2013 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2014 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2015 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2016 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2017 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2018 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2019 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2020 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2021 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2022 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2023 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2024 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2025 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2026 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2027 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2028 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2029 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2030 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2031 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2032 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2033 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2034 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2035 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2036 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2037 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2038 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2039 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2040 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2041 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2042 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2043 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2044 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2045 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2046 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2047 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2048 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2049 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2050 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2051 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2052 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2053 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2054 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2055 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2056 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2057 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2058 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2059 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2060 (conformtest-cc-flags): Likewise.
2061 ($(conformtest-header-tests): New target.
2062 * conform/check-header-lists.sh: New file.
2063 * conform/run-conformtest.sh: Remove.
2065 * conform/conformtest.pl: Allow ' and \ in values given for
2067 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2069 [POSIX] (sys/types.h): Likewise.
2070 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2072 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2074 * conform/data/signal.h-data (SIGIO): Remove expectation.
2075 [XPG3] (SIGBUS): Do not expect.
2076 [POSIX || XPG3] (SIGPOLL): Likewise.
2077 [POSIX || XPG3] (SIGPROF): Likewise.
2078 [POSIX || XPG3] (SIGSYS): Likewise.
2079 [XPG3] (SIGTRAP): Likewise.
2080 [POSIX || XPG3] (SIGURG): Likewise.
2081 [POSIX || XPG3] (SIGVTALRM): Likewise.
2082 [POSIX || XPG3] (SIGXCPU): Likewise.
2083 [POSIX || XPG3] (SIGXFSZ): Likewise.
2084 [POSIX] (SA_SIGINFO): Expect.
2085 [XPG3] (siginfo_t): Do not expect type or contents.
2086 [POSIX] (si_pid): Do not expect element.
2087 [POSIX] (si_uid): Likewise.
2088 [POSIX] (si_addr): Likewise.
2089 [POSIX] (si_status): Likewise.
2090 [POSIX] (si_band): Likewise.
2091 [XPG4] (si_value): Likewise.
2092 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2093 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2094 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2095 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2096 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2097 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2098 [POSIX || XPG3] (ILL_COPROC): Likewise.
2099 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2100 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2101 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2102 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2103 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2104 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2105 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2106 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2107 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2108 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2109 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2110 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2111 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2112 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2113 [POSIX || XPG3] (CLD_EXITED): Likewise.
2114 [POSIX || XPG3] (CLD_KILLED): Likewise.
2115 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2116 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2117 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2118 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2119 [POSIX || XPG3] (POLL_IN): Likewise.
2120 [POSIX || XPG3] (POLL_OUT): Likewise.
2121 [POSIX || XPG3] (POLL_MSG): Likewise.
2122 [POSIX || XPG3] (POLL_ERR): Likewise.
2123 [POSIX || XPG3] (POLL_PRI): Likewise.
2124 [POSIX || XPG3] (POLL_HUP): Likewise.
2125 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2126 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2127 (SIG*): Do not allow.
2128 [XPG3] (si_*): Likewise.
2129 [XPG3] (SI_*): Likewise.
2130 [XPG3 || XPG4] (sigev_*): Likewise.
2131 [XPG3 || XPG4] (SIGEV_*): Likewise.
2132 [XPG3 || XPG4] (sival_*): Likewise.
2133 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2134 [POSIX || XPG3] (BUS_*): Likewise.
2135 [POSIX || XPG3] (CLD_*): Likewise.
2136 [POSIX || XPG3] (FPE_*): Likewise.
2137 [POSIX || XPG3] (ILL_*): Likewise.
2138 [POSIX || XPG3] (POLL_*): Likewise.
2139 [POSIX || XPG3] (SEGV_*): Likewise.
2140 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2141 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2142 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2143 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2144 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2145 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2146 Specify type and value.
2147 (TVERSLEN): Likewise.
2148 (REGTYPE): Likewise.
2149 (AREGTYPE): Likewise.
2150 (LNKTYPE): Likewise.
2151 (SYMTYPE): Likewise.
2152 (CHRTYPE): Likewise.
2153 (BLKTYPE): Likewise.
2154 (DIRTYPE): Likewise.
2155 (FIFOTYPE): Likewise.
2156 (CONTTYPE): Likewise.
2161 (TUWRITE): Likewise.
2164 (TGWRITE): Likewise.
2167 (TOWRITE): Likewise.
2169 [POSIX] (TSVTX): Expect constant.
2171 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2173 * Makefile (tests): Change dependencies to ....
2174 (tests-special): ... additions to this variable.
2175 (tests): Depend on $(tests-special).
2176 * Makerules (check-abi-list): New variable.
2177 (check-abi): Depend on $(check-abi-list).
2178 [$(subdir) = elf] (tests-special): Add
2179 $(objpfx)check-abi-libc.out.
2180 [$(build-shared) = yes && subdir] (tests-special): Add
2182 [$(build-shared) = yes && subdir] (tests): Do not depend on
2184 * Rules (tests): Depend on $(tests-special).
2185 (xtests): Depend on $(xtests-special).
2186 * catgets/Makefile (tests): Change dependencies to ....
2187 (tests-special): ... additions to this variable.
2188 * conform/Makefile (tests): Change dependencies to ....
2189 (tests-special): ... additions to this variable.
2190 * elf/Makefile (tests): Change dependencies to ....
2191 (tests-special): ... additions to this variable.
2192 * grp/Makefile (tests): Change dependencies to ....
2193 (tests-special): ... additions to this variable.
2194 * iconv/Makefile (xtests): Change dependencies to ....
2195 (xtests-special): ... additions to this variable.
2196 * iconvdata/Makefile (tests): Change dependencies to ....
2197 (tests-special): ... additions to this variable.
2198 * intl/Makefile (tests): Change dependencies to ....
2199 (tests-special): ... additions to this variable. Also add
2200 $(objpfx)tst-gettext.out.
2201 * io/Makefile (tests): Change dependencies to ....
2202 (tests-special): ... additions to this variable.
2203 * libio/Makefile (tests): Change dependencies to ....
2204 (tests-special): ... additions to this variable.
2205 * malloc/Makefile (tests): Change dependencies to ....
2206 (tests-special): ... additions to this variable.
2207 * misc/Makefile (tests): Change dependencies to ....
2208 (tests-special): ... additions to this variable.
2209 * nptl/Makefile (tests): Change dependencies to ....
2210 (tests-special): ... additions to this variable.
2211 * nptl_db/Makefile (tests): Change dependencies to ....
2212 (tests-special): ... additions to this variable.
2213 * posix/Makefile (tests): Change dependencies to ....
2214 (tests-special): ... additions to this variable.
2215 (xtests): Change dependencies to ....
2216 (xtests-special): ... additions to this variable.
2217 * resolv/Makefile (tests): Change dependencies to ....
2218 (tests-special): ... additions to this variable.
2219 (xtests): Change dependencies to ....
2220 (xtests-special): ... additions to this variable.
2221 * stdio-common/Makefile (tests): Change dependencies to ....
2222 (tests-special): ... additions to this variable.
2223 (do-tst-unbputc): Remove target.
2224 (do-tst-printf): Likewise.
2225 * stdlib/Makefile (tests): Change dependencies to ....
2226 (tests-special): ... additions to this variable.
2227 * string/Makefile (tests): Change dependencies to ....
2228 (tests-special): ... additions to this variable.
2229 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2230 (tests-special): ... additions to this variable.
2232 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2234 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2236 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2237 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2239 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2240 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2241 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2242 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2243 * conform/data/libgen.h-data [XPG3]: Likewise.
2244 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2245 * conform/data/ndbm.h-data [XPG3]: Likewise.
2246 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2247 * conform/data/netdb.h-data [XPG3]: Likewise.
2248 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2249 * conform/data/poll.h-data [XPG3]: Likewise.
2250 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2251 * conform/data/strings.h-data [XPG3]: Likewise.
2252 * conform/data/stropts.h-data [XPG3]: Likewise.
2253 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2254 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2255 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2257 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2258 * conform/data/sys/time.h-data [XPG3]: Likewise.
2259 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2260 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2261 * conform/data/sys/un.h-data [XPG3]: Likewise.
2262 * conform/data/syslog.h-data [XPG3]: Likewise.
2263 * conform/data/ucontext.h-data [XPG3]: Likewise.
2264 * conform/data/utmpx.h-data [XPG3]: Likewise.
2265 * conform/data/varargs.h-data [UNIX98]: Enable file.
2267 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2269 * math/libm-test.inc (struct test_f_f_data): Move expected results
2270 into structure for each rounding mode.
2271 (struct test_ff_f_data): Likewise.
2272 (struct test_ff_f_data_nexttoward): Likewise.
2273 (struct test_fi_f_data): Likewise.
2274 (struct test_fl_f_data): Likewise.
2275 (struct test_if_f_data): Likewise.
2276 (struct test_fff_f_data): Likewise.
2277 (struct test_c_f_data): Likewise.
2278 (struct test_f_f1_data): Likewise.
2279 (struct test_fF_f1_data): Likewise.
2280 (struct test_ffI_f1_data): Likewise.
2281 (struct test_c_c_data): Likewise.
2282 (struct test_cc_c_data): Likewise.
2283 (struct test_f_i_data): Likewise.
2284 (struct test_ff_i_data): Likewise.
2285 (struct test_f_l_data): Likewise.
2286 (struct test_f_L_data): Likewise.
2287 (struct test_fFF_11_data): Likewise.
2289 (RM_FE_DOWNWARD): Likewise.
2290 (RM_FE_TONEAREST): Likewise.
2291 (RM_FE_TOWARDZERO): Likewise.
2292 (RM_FE_UPWARD): Likewise.
2293 (RUN_TEST_LOOP_f_f): Update references to expected results.
2294 (RUN_TEST_LOOP_2_f): Likewise.
2295 (RUN_TEST_LOOP_fff_f): Likewise.
2296 (RUN_TEST_LOOP_c_f): Likewise.
2297 (RUN_TEST_LOOP_f_f1): Likewise.
2298 (RUN_TEST_LOOP_fF_f1): Likewise.
2299 (RUN_TEST_LOOP_fI_f1): Likewise.
2300 (RUN_TEST_LOOP_ffI_f1): Likewise.
2301 (RUN_TEST_LOOP_c_c): Likewise.
2302 (RUN_TEST_LOOP_cc_c): Likewise.
2303 (RUN_TEST_LOOP_f_i): Likewise.
2304 (RUN_TEST_LOOP_f_i_tg): Likewise.
2305 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2306 (RUN_TEST_LOOP_f_b): Likewise.
2307 (RUN_TEST_LOOP_f_b_tg): Likewise.
2308 (RUN_TEST_LOOP_f_l): Likewise.
2309 (RUN_TEST_LOOP_f_L): Likewise.
2310 (RUN_TEST_LOOP_fFF_11): Likewise.
2311 * math/gen-libm-test.pl (parse_args): Output four copies of
2312 expected results for each test.
2314 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2315 (__ASSUME_UTIMES): Remove.
2316 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2317 (__ASSUME_UTIMES): Likewise.
2319 * math/gen-auto-libm-tests.c: Update comment on output format.
2320 (output_for_one_input_case): Generate before-rounding and
2321 after-rounding information as conditions on output flags not
2322 floating-point format.
2323 * math/auto-libm-test-out: Regenerated.
2324 * math/gen-libm-test.pl (cond_value): New function.
2325 (or_cond_value): Use cond_value.
2326 (generate_testfile): Handle conditional exceptions.
2328 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2330 * math/libm-test.inc (max_valid_error): New variable.
2331 (init_max_error): Take new argument specifying whether function
2332 results are exactly determined. Set max_valid_error and bound
2333 other variables for errors based on this argument.
2334 (set_max_error): Do not record results above max_valid_error.
2335 (check_float_internal): Only accept errors of up to 0.5ulps if
2336 also at most max_valid_error.
2337 (START): Take new argument EXACT and pass it to init_max_error.
2338 (acos_test): Update call to START.
2339 (acos_test_tonearest): Likewise.
2340 (acos_test_towardzero): Likewise.
2341 (acos_test_downward): Likewise.
2342 (acos_test_upward): Likewise.
2343 (acosh_test): Likewise.
2344 (asin_test): Likewise.
2345 (asin_test_tonearest): Likewise.
2346 (asin_test_towardzero): Likewise.
2347 (asin_test_downward): Likewise.
2348 (asin_test_upward): Likewise.
2349 (asinh_test): Likewise.
2350 (atan_test): Likewise.
2351 (atanh_test): Likewise.
2352 (atan2_test): Likewise.
2353 (cabs_test): Likewise.
2354 (cacos_test): Likewise.
2355 (cacosh_test): Likewise.
2356 (carg_test): Likewise.
2357 (casin_test): Likewise.
2358 (casinh_test): Likewise.
2359 (catan_test): Likewise.
2360 (catanh_test): Likewise.
2361 (cbrt_test): Likewise.
2362 (ccos_test): Likewise.
2363 (ccosh_test): Likewise.
2364 (ceil_test): Likewise.
2365 (cexp_test): Likewise.
2366 (cimag_test): Likewise.
2367 (clog_test): Likewise.
2368 (clog10_test): Likewise.
2369 (conj_test): Likewise.
2370 (copysign_test): Likewise.
2371 (cos_test): Likewise.
2372 (cos_test_tonearest): Likewise.
2373 (cos_test_towardzero): Likewise.
2374 (cos_test_downward): Likewise.
2375 (cos_test_upward): Likewise.
2376 (cosh_test): Likewise.
2377 (cosh_test_tonearest): Likewise.
2378 (cosh_test_towardzero): Likewise.
2379 (cosh_test_downward): Likewise.
2380 (cosh_test_upward): Likewise.
2381 (cpow_test): Likewise.
2382 (cproj_test): Likewise.
2383 (creal_test): Likewise.
2384 (csin_test): Likewise.
2385 (csinh_test): Likewise.
2386 (csqrt_test): Likewise.
2387 (ctan_test): Likewise.
2388 (ctan_test_tonearest): Likewise.
2389 (ctan_test_towardzero): Likewise.
2390 (ctan_test_downward): Likewise.
2391 (ctan_test_upward): Likewise.
2392 (ctanh_test): Likewise.
2393 (ctanh_test_tonearest): Likewise.
2394 (ctanh_test_towardzero): Likewise.
2395 (ctanh_test_downward): Likewise.
2396 (ctanh_test_upward): Likewise.
2397 (erf_test): Likewise.
2398 (erfc_test): Likewise.
2399 (exp_test): Likewise.
2400 (exp_test_tonearest): Likewise.
2401 (exp_test_towardzero): Likewise.
2402 (exp_test_downward): Likewise.
2403 (exp_test_upward): Likewise.
2404 (exp10_test): Likewise.
2405 (exp10_test_tonearest): Likewise.
2406 (exp10_test_towardzero): Likewise.
2407 (exp10_test_downward): Likewise.
2408 (exp10_test_upward): Likewise.
2409 (pow10_test): Likewise.
2410 (exp2_test): Likewise.
2411 (expm1_test): Likewise.
2412 (expm1_test_tonearest): Likewise.
2413 (expm1_test_towardzero): Likewise.
2414 (expm1_test_downward): Likewise.
2415 (expm1_test_upward): Likewise.
2416 (fabs_test): Likewise.
2417 (fdim_test): Likewise.
2418 (floor_test): Likewise.
2419 (fma_test): Likewise.
2420 (fma_test_towardzero): Likewise.
2421 (fma_test_downward): Likewise.
2422 (fma_test_upward): Likewise.
2423 (fmax_test): Likewise.
2424 (fmin_test): Likewise.
2425 (fmod_test): Likewise.
2426 (fpclassify_test): Likewise.
2427 (frexp_test): Likewise.
2428 (hypot_test): Likewise.
2429 (ilogb_test): Likewise.
2430 (isfinite_test): Likewise.
2431 (finite_test): Likewise.
2432 (isgreater_test): Likewise.
2433 (isgreaterequal_test): Likewise.
2434 (isinf_test): Likewise.
2435 (isless_test): Likewise.
2436 (islessequal_test): Likewise.
2437 (islessgreater_test): Likewise.
2438 (isnan_test): Likewise.
2439 (isnormal_test): Likewise.
2440 (issignaling_test): Likewise.
2441 (isunordered_test): Likewise.
2442 (j0_test): Likewise.
2443 (j1_test): Likewise.
2444 (jn_test): Likewise.
2445 (ldexp_test): Likewise.
2446 (lgamma_test): Likewise.
2447 (gamma_test): Likewise.
2448 (lrint_test): Likewise.
2449 (lrint_test_tonearest): Likewise.
2450 (lrint_test_towardzero): Likewise.
2451 (lrint_test_downward): Likewise.
2452 (lrint_test_upward): Likewise.
2453 (llrint_test): Likewise.
2454 (llrint_test_tonearest): Likewise.
2455 (llrint_test_towardzero): Likewise.
2456 (llrint_test_downward): Likewise.
2457 (llrint_test_upward): Likewise.
2458 (log_test): Likewise.
2459 (log10_test): Likewise.
2460 (log1p_test): Likewise.
2461 (log2_test): Likewise.
2462 (logb_test): Likewise.
2463 (logb_test_downward): Likewise.
2464 (lround_test): Likewise.
2465 (llround_test): Likewise.
2466 (modf_test): Likewise.
2467 (nearbyint_test): Likewise.
2468 (nextafter_test): Likewise.
2469 (nexttoward_test): Likewise.
2470 (pow_test): Likewise.
2471 (pow_test_tonearest): Likewise.
2472 (pow_test_towardzero): Likewise.
2473 (pow_test_downward): Likewise.
2474 (pow_test_upward): Likewise.
2475 (remainder_test): Likewise.
2476 (drem_test): Likewise.
2477 (remainder_test_tonearest): Likewise.
2478 (drem_test_tonearest): Likewise.
2479 (remainder_test_towardzero): Likewise.
2480 (drem_test_towardzero): Likewise.
2481 (remainder_test_downward): Likewise.
2482 (drem_test_downward): Likewise.
2483 (remainder_test_upward): Likewise.
2484 (drem_test_upward): Likewise.
2485 (remquo_test): Likewise.
2486 (rint_test): Likewise.
2487 (rint_test_tonearest): Likewise.
2488 (rint_test_towardzero): Likewise.
2489 (rint_test_downward): Likewise.
2490 (rint_test_upward): Likewise.
2491 (round_test): Likewise.
2492 (scalb_test): Likewise.
2493 (scalbn_test): Likewise.
2494 (scalbln_test): Likewise.
2495 (signbit_test): Likewise.
2496 (sin_test): Likewise.
2497 (sin_test_tonearest): Likewise.
2498 (sin_test_towardzero): Likewise.
2499 (sin_test_downward): Likewise.
2500 (sin_test_upward): Likewise.
2501 (sincos_test): Likewise.
2502 (sinh_test): Likewise.
2503 (sinh_test_tonearest): Likewise.
2504 (sinh_test_towardzero): Likewise.
2505 (sinh_test_downward): Likewise.
2506 (sinh_test_upward): Likewise.
2507 (sqrt_test): Likewise.
2508 (sqrt_test_tonearest): Likewise.
2509 (sqrt_test_towardzero): Likewise.
2510 (sqrt_test_downward): Likewise.
2511 (sqrt_test_upward): Likewise.
2512 (tan_test): Likewise.
2513 (tan_test_tonearest): Likewise.
2514 (tan_test_towardzero): Likewise.
2515 (tan_test_downward): Likewise.
2516 (tan_test_upward): Likewise.
2517 (tanh_test): Likewise.
2518 (tgamma_test): Likewise.
2519 (trunc_test): Likewise.
2520 (y0_test): Likewise.
2521 (y1_test): Likewise.
2522 (yn_test): Likewise.
2523 (significand_test): Likewise.
2525 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2526 individual tests in comment.
2527 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2528 (prev_max_error): New variable.
2529 (prev_real_max_error): Likewise.
2530 (prev_imag_max_error): Likewise.
2531 (compare_ulp_data): Don't refer to test names in comment.
2532 (find_test_ulps): Remove function.
2533 (find_function_ulps): Likewise.
2534 (find_complex_function_ulps): Likewise.
2535 (init_max_error): Take function name as argument. Look up ulps
2537 (print_ulps): Remove function.
2538 (print_max_error): Use prev_max_error instead of calling
2540 (print_complex_max_error): Use prev_real_max_error and
2541 prev_imag_max_error instead of calling find_complex_function_ulps.
2542 (check_float_internal): Take max_ulp parameter instead of calling
2543 find_test_ulps. Don't call print_ulps.
2544 (check_float): Update call to check_float_internal.
2545 (check_complex): Update calls to check_float_internal.
2546 (START): Pass argument to init_max_error.
2547 * math/gen-libm-test.pl (%results): Don't include "kind"
2549 (parse_ulps): Don't handle ulps of individual tests.
2550 (print_ulps_file): Likewise.
2551 (output_ulps): Likewise.
2552 * math/README.libm-test: Update.
2553 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2555 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2556 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2557 * sysdeps/arm/libm-test-ulps: Likewise.
2558 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2559 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2560 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2561 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2562 * sysdeps/microblaze/libm-test-ulps: Likewise.
2563 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2564 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2565 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2566 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2567 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2568 * sysdeps/sh/libm-test-ulps: Likewise.
2569 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2570 * sysdeps/tile/libm-test-ulps: Likewise.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2573 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2575 * math/libm-test.inc (print_complex_max_error): Check separately
2576 whether real and imaginary errors are within allowed range and
2577 pass 0 to print_complex_function_ulps instead of value within
2580 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2582 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2584 (get_handles_fopen): Likewise.
2585 (do_write_test): Likewise.
2587 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2589 * libio/fileops.c (do_ftell): Use cached offset when
2591 * libio/iofwide.c (do_ftell_wide): Likewise.
2592 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2594 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2597 * libio/libioP.h (get_file_offset): New function.
2598 * libio/fileops.c (get_file_offset): Likewise.
2599 (do_ftell): Likewise.
2600 (_IO_new_file_seekoff): Split out ftell logic.
2601 * libio/wfileops.c (do_ftell_wide): Likewise.
2602 (_IO_wfile_seekoff): Split out ftell logic.
2603 * libio/tst-ftell-active-handler.c: New test case.
2604 * libio/Makefile (tests): Add it.
2606 2014-03-03 Roland McGrath <roland@hack.frob.com>
2608 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2609 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2611 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2614 * nscd/connections.c (nscd_init): Call do_exit.
2615 (start_threads): Call do_exit and notify_parent.
2616 (begin_drop_privileges): Call do_exit.
2617 (finish_drop_privileges): Likewise.
2618 * nscd/selinux.c (preserve_capabilities): Likewise.
2619 (install_real_capabilities): Likewise.
2620 (nscd_selinux_enabled): Likewise.
2621 (avc_create_thread): Likewise.
2622 (avc_alloc_lock): Likewise.
2623 (nscd_avc_init): Likewise.
2624 * nscd/nscd.c (parent_fd): New static variable.
2625 (main): Create a pipe between parent and child processes.
2626 Skip closing parent_fd.
2627 (monitor_child): New function.
2628 (do_exit): Likewise.
2629 (notify_parent): Likewise.
2630 * nscd/nscd.h (notify_parent): Likewise.
2631 (do_exit): Likewise.
2633 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2635 * malloc/malloc.c (__libc_calloc): Revert last change.
2637 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2641 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2643 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2647 (__libc_ifunc_impl_list): Likewise.
2648 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2649 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2650 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2651 * string/strrchr.c: Define STRRCHR.
2653 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2655 * benchtest/bench-strtok.c (simple_strtok): Delete.
2656 (strtok_string): Use as benchmark.
2657 * string/strtok (STRTOK): New macro.
2659 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2661 * manual/threads.texi: Add header and standard comments to all
2664 * elf/dl-lookup.c (check_match): New function.
2665 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2666 (do_lookup_x): Remove nested function check_match. Use non-nested
2667 function check_match.
2669 2014-02-28 Roland McGrath <roland@hack.frob.com>
2671 * csu/Makefile (generated, before-compile): Use += rather than =.
2672 * catgets/Makefile (generated, generated-dirs): Likewise.
2673 * debug/Makefile (generated): Likewise.
2674 * dlfcn/Makefile (generated): Likewise.
2675 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2676 * iconvdata/Makefile (before-compile, generated): Likewise.
2677 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2678 * libio/Makefile (generated): Likewise.
2679 * malloc/Makefile (generated): Likewise.
2680 * manual/Makefile (generated, generated-dirs): Likewise.
2681 * misc/Makefile (generated): Likewise.
2682 * posix/Makefile (generated): Likewise.
2683 * resolv/Makefile (generated): Likewise.
2684 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2685 * timezone/Makefile (generated, generated-dirs): Likewise.
2687 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2689 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2694 POWER8 llround ifunc implementation.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2696 POWER8 implementation.
2697 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2698 POWER8 llround implementation.
2700 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2705 POWER8 llrint ifunc implementation.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2707 POWER8 implementation.
2708 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2709 POWER8 llrint implementation.
2711 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2716 POWER8 finite ifunc implementation.
2717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2718 POWER8 implementation.
2719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2721 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2722 POWER8 finite implementation.
2723 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2725 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2730 POWER8 isinf ifunc implementation.
2731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2732 POWER8 implementation.
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2736 POWER8 isinf implementation.
2737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2739 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2741 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2742 Add hwcap2 initialization.
2743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2746 POWER8 isnan ifunc implementation.
2747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2748 POWER8 implementation.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2752 POWER8 isnan implementation.
2753 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2755 2014-02-27 Joey Ye <joey.ye@arm.com>
2757 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2758 (_FP_NANFRAC_Q): Set to zero.
2760 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2763 * math/auto-libm-test-in: New test inputs.
2764 * math/auto-libm-test-out: Regenerate.
2765 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2768 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2770 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2772 * scripts/evaluate-test.sh: Take new argument indicating whether
2773 failure is expected.
2774 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2775 indicating whether failure is expected.
2776 * conform/Makefile (test-xfail-run-conformtest): New variable.
2777 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2779 * posix/Makefile (test-xfail-annexc): New variable.
2780 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2782 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2784 * argp/Makefile: Include Makeconfig immediately after defining
2786 * assert/Makefile: Likewise.
2787 * benchtests/Makefile: Likewise.
2788 * catgets/Makefile: Likewise.
2789 * conform/Makefile: Likewise.
2790 * crypt/Makefile: Likewise.
2791 * csu/Makefile: Likewise.
2792 (all): Remove target.
2793 * ctype/Makefile: Include Makeconfig immediately after defining
2795 * debug/Makefile: Likewise.
2796 * dirent/Makefile: Likewise.
2797 * dlfcn/Makefile: Likewise.
2798 * gmon/Makefile: Likewise.
2799 * gnulib/Makefile: Likewise.
2800 * grp/Makefile: Likewise.
2801 * gshadow/Makefile: Likewise.
2802 * hesiod/Makefile: Likewise.
2803 * hurd/Makefile: Likewise.
2804 (all): Remove target.
2805 * iconvdata/Makefile: Include Makeconfig immediately after
2807 * inet/Makefile: Likewise.
2808 * intl/Makefile: Likewise.
2809 * io/Makefile: Likewise.
2810 * libio/Makefile: Likewise.
2811 (all): Remove target.
2812 * locale/Makefile: Include Makeconfig immediately after defining
2814 * login/Makefile: Likewise.
2815 * mach/Makefile: Likewise.
2816 (all): Remove target.
2817 * malloc/Makefile: Include Makeconfig immediately after defining
2819 (all): Remove target.
2820 * manual/Makefile: Include Makeconfig immediately after defining
2822 * math/Makefile: Likewise.
2823 * misc/Makefile: Likewise.
2824 * nis/Makefile: Likewise.
2825 * nss/Makefile: Likewise.
2826 * po/Makefile: Likewise.
2827 (all): Remove target.
2828 * posix/Makefile: Include Makeconfig immediately after defining
2830 * pwd/Makefile: Likewise.
2831 * resolv/Makefile: Likewise.
2832 * resource/Makefile: Likewise.
2833 * rt/Makefile: Likewise.
2834 * setjmp/Makefile: Likewise.
2835 * shadow/Makefile: Likewise.
2836 * signal/Makefile: Likewise.
2837 * socket/Makefile: Likewise.
2838 * soft-fp/Makefile: Likewise.
2839 * stdio-common/Makefile: Likewise.
2840 * stdlib/Makefile: Likewise.
2841 * streams/Makefile: Likewise.
2842 * string/Makefile: Likewise.
2843 * sunrpc/Makefile: Likewise.
2844 (all): Remove target.
2845 * sysvipc/Makefile: Include Makeconfig immediately after defining
2847 * termios/Makefile: Likewise.
2848 * time/Makefile: Likewise.
2849 * timezone/Makefile: Likewise.
2850 (all): Remove target.
2851 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2853 * wctype/Makefile: Likewise.
2855 2014-02-26 Steve Ellcey <sellcey@mips.com>
2857 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2858 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2859 (libc_feholdexcept_setround_mips): Ditto.
2860 (libc_feholdsetround): New.
2861 (libc_feholdsetroundf): New.
2862 (libc_feholdsetroundl): New.
2863 (libc_feupdateenv_test_mips): New.
2864 (libc_feupdateenv_test): New.
2865 (libc_feupdateenv_testf): New.
2866 (libc_feupdateenv_testl): New.
2867 (libc_feresetround): New.
2868 (libc_feresetroundf): New.
2869 (libc_feresetroundl): New.
2870 (libc_fetestexcept_mips): New.
2871 (libc_fetestexcept): New.
2872 (libc_fetestexceptf): New.
2873 (libc_fetestexceptl): New.
2875 (libc_feholdexcept_setround_mips_ctx): New.
2876 (libc_feholdexcept_setround_ctx): New.
2877 (libc_feholdexcept_setroundf_ctx): New.
2878 (libc_feholdexcept_setroundl_ctx): New.
2879 (libc_fesetenv_mips_ctx): New.
2880 (libc_fesetenv_ctx): New.
2881 (libc_fesetenv_ctxf): New.
2882 (libc_fesetenv_ctxl): New.
2883 (libc_feupdateenv_mips_ctx): New.
2884 (libc_feupdateenv_ctx): New.
2885 (libc_feupdateenvf_ctx): New.
2886 (libc_feupdateenvl_ctx): New.
2887 (libc_feholdsetround_mips_ctx): New.
2888 (libc_feholdsetround_ctx): New.
2889 (libc_feholdsetroundf_ctx): New.
2890 (libc_feholdsetroundl_ctx): New.
2891 (libc_feresetround_mips_ctx): New.
2892 (libc_feresetround_ctx): New.
2893 (libc_feresetroundf_ctx): New.
2894 (libc_feresetroundl_ctx): New.
2896 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2898 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2900 * manual/ipc.texi: New file.
2901 * manual/Makefile (chapters): Add ipc.
2902 * manual/job.texi: Add "Inter-Process Communication" to next.
2903 * manual/process.texi: Add "Inter-Process Communication" to prev.
2905 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2909 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2911 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2913 * manual/arith.texi: Fix spaces after sentences.
2914 * manual/charset.texi: Likewise.
2915 * manual/errno.texi: Likewise.
2916 * manual/install.texi: Likewise.
2917 * manual/llio.texi: Likewise.
2918 * manual/locale.texi: Likewise.
2919 * manual/maint.texi: Likewise.
2920 * manual/math.texi: Likewise.
2921 * manual/memory.texi: Likewise.
2922 * manual/message.texi: Likewise.
2923 * manual/probes.texi: Likewise.
2924 * manual/resource.texi: Likewise.
2925 * manual/signal.texi: Likewise.
2926 * manual/socket.texi: Likewise.
2927 * manual/stdio.texi: Likewise.
2928 * manual/string.texi: Likewise.
2929 * manual/time.texi: Likewise.
2930 * manual/users.texi: Likewise.
2932 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2935 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2936 _DEFAULT_SOURCE is defined.
2938 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2939 Carlos O'Donell <carlos@redhat.com>
2942 * elf/dl-tls.c (_dl_count_modids): New function.
2943 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2944 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2945 audit library and increment generation counter.
2946 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2947 * elf/tst-audit9.c: New file.
2948 * elf/tst-auditmod9a.c: New file.
2949 * elf/tst-auditmod9b.c: New file.
2950 * elf/Makefile: Add rules to build and run tst-audit9.
2952 2014-02-25 Florian Weimer <fweimer@redhat.com>
2955 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2957 2014-02-25 Will Newton <will.newton@linaro.org>
2959 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2960 (__longjmp): Restore sp and lr before restoring callee
2961 saved registers. Add longjmp and longjmp_target
2962 SystemTap probe point.
2963 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2964 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2965 Define to zero to match jmpbuf layout.
2966 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2967 (__sigsetjmp): Save sp and lr before saving callee
2968 saved registers. Add setjmp SystemTap probe point.
2970 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2972 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2974 2014-02-24 Andreas Schwab <schwab@suse.de>
2977 * elf/pldd.c (wait_for_ptrace_stop): New function.
2978 (main): Call it after attaching.
2980 2014-02-22 Roland McGrath <roland@hack.frob.com>
2982 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2983 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2984 Versions files is now verboten.
2985 * hurd/Versions (libc: GLIBC_2.0):
2986 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2987 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2988 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2989 * mach/Versions: Likewise.
2991 * csu/Versions: Remove unused %include.
2992 * resolv/Versions: Likewise.
2994 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2996 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2997 ($(objpfx)check-local-headers.out): Likewise.
2998 ($(objpfx)begin-end-check.out): Likewise.
2999 * Makerules (check-abi-%.out): Likewise.
3000 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3001 ($(objpfx)test2.cat): Likewise.
3002 ($(objpfx)de/libc.cat): Likewise.
3003 ($(objpfx)test-gencat.out): Likewise.
3004 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3005 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3006 ($(objpfx)noload-mem): Likewise.
3007 ($(objpfx)tst-pathopt.out): Likewise.
3008 ($(objpfx)tst-rtld-load-self.out): Likewise.
3009 ($(objpfx)tst-array1-cmp.out): Likewise.
3010 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3011 ($(objpfx)tst-array2-cmp.out): Likewise.
3012 ($(objpfx)tst-array3-cmp.out): Likewise.
3013 ($(objpfx)tst-array4-cmp.out): Likewise.
3014 ($(objpfx)tst-array5-cmp.out): Likewise.
3015 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3016 ($(objpfx)check-textrel.out): Likewise.
3017 ($(objpfx)check-execstack.out): Likewise.
3018 ($(objpfx)check-localplt.out): Likewise.
3019 ($(objpfx)order2-cmp.out): Likewise.
3020 ($(objpfx)tst-leaks1-mem): Likewise.
3021 ($(objpfx)tst-leaks1-static-mem): Likewise.
3022 ($(objpfx)tst-initorder-cmp.out): Likewise.
3023 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3024 ($(objpfx)tst-unused-dep.out): Likewise.
3025 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3026 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3027 * iconv/Makefile (test-iconvconfig): Likewise.
3028 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3029 ($(objpfx)iconv-test.out): Likewise.
3030 ($(objpfx)tst-tables.out): Likewise.
3031 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3032 ($(objpfx)tst-gettext.out): Likewise.
3033 ($(objpfx)tst-translit.out): Likewise.
3034 ($(objpfx)tst-gettext2.out): Likewise.
3035 ($(objpfx)tst-gettext4.out): Likewise.
3036 ($(objpfx)tst-gettext6.out): Likewise.
3037 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3038 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3039 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3040 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3041 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3042 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3043 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3044 ($(objpfx)wordexp-tst.out): Likewise.
3045 ($(objpfx)annexc.out): Likewise.
3046 ($(objpfx)tst-fnmatch-mem): Likewise.
3047 ($(objpfx)bug-regex2-mem): Likewise.
3048 ($(objpfx)bug-regex14-mem): Likewise.
3049 ($(objpfx)bug-regex21-mem): Likewise.
3050 ($(objpfx)bug-regex31-mem): Likewise.
3051 ($(objpfx)tst-vfork3-mem): Likewise.
3052 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3053 ($(objpfx)tst-pcre-mem): Likewise.
3054 ($(objpfx)tst-boost-mem): Likewise.
3055 ($(objpfx)tst-getconf.out): Likewise.
3056 ($(objpfx)bug-ga2-mem): Likewise.
3057 ($(objpfx)bug-glob2-mem): Likewise.
3058 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3059 ($(objpfx)mtrace-tst-leaks2): Likewise.
3060 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3061 ($(objpfx)tst-printf.out): Likewise.
3062 ($(objpfx)tst-setvbuf1.out): Likewise.
3063 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3064 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3065 ($(objpfx)tst-fmtmsg.out): Likewise.
3066 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3067 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3069 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3070 * bits/sigaction.h [__USE_MISC]: Likewise.
3071 * bits/waitstatus.h: Update #endif comments.
3072 * ctype/ctype.h: Likewise.
3073 * dirent/dirent.h: Likewise.
3074 [__USE_MISC]: Remove redundant conditionals.
3075 * grp/grp.h: Update #endif comments.
3076 [__USE_GNU]: Remove redundant conditionals.
3077 [__USE_MISC]: Likewise.
3078 * inet/netinet/in.h [__USE_GNU]: Likewise.
3079 * io/sys/stat.h [__USE_MISC]: Likewise.
3080 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3081 * libio/bits/stdio.h: Update #endif comments.
3082 [__USE_MISC]: Remove redundant conditionals.
3083 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3084 * libio/stdio.h: Update #endif comments.
3085 [__USE_MISC]: Remove redundant conditionals.
3086 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3087 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3088 * math/math.h: Update #else and #endif comments.
3089 [__USE_MISC]: Remove redundant conditionals.
3090 * misc/sys/uio.h: Update #endif comments.
3091 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3092 * posix/glob.h [__USE_MISC]: Likewise.
3093 * posix/sys/types.h: Update #endif comments.
3094 [__USE_MISC]: Remove redundant conditionals.
3095 * posix/sys/wait.h: Update #endif comments.
3096 [__USE_MISC]: Remove redundant conditionals.
3097 * posix/unistd.h: Update #endif comments.
3098 [__USE_MISC]: Remove redundant conditionals.
3099 * pwd/pwd.h [__USE_GNU]: Likewise.
3100 [__USE_MISC]: Likewise.
3101 * resolv/netdb.h [__USE_GNU]: Likewise.
3102 * signal/signal.h: Update #endif comments.
3103 [__USE_MISC]: Remove redundant conditionals.
3104 * stdlib/stdlib.h: Update #else and #endif comments.
3105 [__USE_MISC]: Remove redundant conditionals.
3106 [__USE_GNU]: Likewise.
3107 * string/bits/string2.h [__USE_MISC]: Likewise.
3108 * string/string.h: Update #endif comments.
3109 [__USE_MISC]: Remove redundant conditionals.
3110 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3112 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3113 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3114 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3116 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3118 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3120 [__USE_MISC]: Remove redundant conditionals.
3121 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3122 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3123 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3124 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3125 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3127 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3128 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3130 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3131 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3133 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3135 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3136 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3138 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3140 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3141 * sysdeps/x86/bits/string.h: Update #endif comments.
3142 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3144 * time/sys/time.h: Update #endif comments.
3145 * time/time.h: Likewise.
3146 [__USE_MISC]: Remove redundant conditionals.
3148 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3151 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3153 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3155 * Versions.def (librt): Add GLIBC_2.17.
3157 2014-02-21 Adam Conrad <adconrad@0c3.net>
3159 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3160 synonym for _SYS_AUXV_H to allow direct inclusion.
3161 * sysdeps/sparc/bits/hwcap.h: Likewise.
3162 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3163 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3164 * sysdeps/sparc/sysdep.h: Likewise.
3166 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3168 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3170 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3172 * benchtests/bench-strrchr.c: Print length instead of position.
3174 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3177 * sysdeps/unix/sysv/linux/kernel-features.h
3178 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3179 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3180 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3181 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3183 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3184 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3185 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3186 (__ASSUME_SENDMMSG): Define instead of using previous
3187 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3188 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3189 (__ASSUME_SENDMMSG_SYSCALL): Define.
3190 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3191 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3193 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3194 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3196 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3197 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3199 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3200 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3201 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3202 [__ASSUME_SENDMMSG]: Change conditionals to
3203 [__ASSUME_SENDMMSG_SOCKETCALL].
3204 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3205 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3207 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3208 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3210 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3211 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3212 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3213 [!__ASSUME_SENDMMSG]: Change conditional to
3214 [!__ASSUME_SENDMMSG_SOCKETCALL].
3215 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3216 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3220 * sysdeps/unix/sysv/linux/kernel-features.h
3221 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3222 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3223 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3224 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3225 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3226 [__i386__ || __sparc__]
3227 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3228 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3229 (__ASSUME_RECVMMSG): Define instead of using previous
3230 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3231 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3232 (__ASSUME_RECVMMSG_SYSCALL): Define.
3233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3234 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3236 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3237 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3239 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3240 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3242 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3243 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3244 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3245 [__ASSUME_RECVMMSG]: Change condition to
3246 [__ASSUME_RECVMMSG_SOCKETCALL].
3247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3248 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3250 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3251 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3252 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3254 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3255 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3256 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3257 [!__ASSUME_RECVMMSG]: Change condition to
3258 [!__ASSUME_RECVMMSG_SOCKETCALL].
3259 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3260 (__ASSUME_RECVMMSG_SYSCALL): Define.
3263 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3264 __powerpc__ || __s390__ || __sh__ || __sparc__]
3265 (__ASSUME_SOCKETCALL): Define.
3266 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3267 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3268 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3269 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3270 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3271 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3272 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3273 (__ASSUME_ACCEPT4): Define instead of using previous
3274 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3275 __powerpc__ || __sparc__ || __s390__)] condition.
3276 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3277 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3278 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3279 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3280 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3281 [!__ASSUME_ACCEPT4]: Change condition to
3282 [!__ASSUME_ACCEPT4_SOCKETCALL].
3283 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3284 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3285 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3286 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3287 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3288 __ASSUME_ACCEPT4_SYSCALL.
3289 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3290 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3291 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3292 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3293 __ASSUME_ACCEPT4_SYSCALL.
3294 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3295 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3296 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3297 [__ASSUME_ACCEPT4]: Change condition to
3298 [__ASSUME_ACCEPT4_SOCKETCALL].
3299 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3300 (__ASSUME_SOCKETCALL): Define.
3301 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3303 (__ASSUME_SOCKETCALL): Define.
3304 (__ASSUME_ACCEPT4): Remove.
3305 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3307 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3308 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3310 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3311 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3313 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3315 (HWCAP_ARM_LPAE): Likewise.
3316 (HWCAP_ARM_EVTSTRM): Likewise.
3317 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3318 Add vpfd32, lpae and evtstrm.
3319 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3322 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3324 * math/auto-libm-test-in: Add tests of clog10.
3325 * math/auto-libm-test-out: Regenerated.
3326 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3327 * sysdeps/i386/fpu/libm-test-ulps: Update.
3328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3330 2014-02-18 Andreas Schwab <schwab@suse.de>
3333 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3334 Store non-zero if the second buffer was newly allocated.
3335 (send_dg): Likewise.
3336 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3337 to send_vc and send_dg.
3338 (res_nsend): Pass NULL for ansp2_malloced.
3339 * resolv/res_query.c (__libc_res_nquery): Add parameter
3340 answerp2_malloced and pass it down to __libc_res_nsend.
3341 (res_nquery): Pass additional NULL to __libc_res_nquery.
3342 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3343 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3344 second answer buffer if answerp2_malloced was set.
3345 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3346 (__libc_res_nquerydomain): Add parameter
3347 answerp2_malloced and pass it down to __libc_res_nquery.
3348 (res_nquerydomain): Pass additional NULL to
3349 __libc_res_nquerydomain.
3350 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3351 additional NULL to __libc_res_nsend and __libc_res_nquery.
3352 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3353 additional NULL to __libc_res_nsearch.
3354 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3355 parameter of __libc_res_nsearch to check for separately allocated
3357 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3359 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3360 additional NULL to __libc_res_nquery.
3361 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3363 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3364 * include/resolv.h: Update prototypes of __libc_res_nquery,
3365 __libc_res_nsearch, __libc_res_nsend.
3367 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3369 * math/auto-libm-test-in: Add tests of fma.
3370 * math/auto-libm-test-out: Regenerated.
3371 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3372 (fma_towardzero_test_data): Likewise.
3373 (fma_downward_test_data): Likewise.
3374 (fma_upward_test_data): Likewise.
3375 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3377 (rounding_modes): Add values for new field.
3378 (func_calc_method): Add value mpfr_fff_f.
3379 (func_calc_desc): Add mpfr_fff_f union field.
3380 (test_function): Add field exact_args.
3381 (FUNC): Add macro argument EXACT_ARGS.
3382 (FUNC_mpfr_f_f): Update call to FUNC.
3383 (FUNC_mpfr_f_f): Likewise.
3384 (FUNC_mpfr_ff_f): Likewise.
3385 (FUNC_mpfr_if_f): Likewise.
3386 (FUNC_mpc_c_f): Likewise.
3387 (FUNC_mpc_c_c): Likewise.
3388 (test_functions): Add fma. Update calls to FUNC.
3389 (handle_input_arg): Add argument exact_args.
3390 (add_test): Update call to handle_input_arg.
3391 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3392 (output_for_one_input_case): Update call to calc_generic_results.
3393 Recalculate exact zero results in each rounding mode.
3395 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3396 non-negative before setting low bit.
3397 * math/auto-libm-test-in: Mark one asin test possibly having
3399 * math/auto-libm-test-out: Regenerated.
3400 * sysdeps/i386/fpu/libm-test-ulps: Update.
3401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3403 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3405 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3406 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3407 ports/sysdeps/unix/sysv/linux/microblaze.
3408 * README: Add missing listing for microblaze*-*-linux-gnu.
3410 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3412 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3413 * sysdeps/unix/sysv/linux/ia64: Move directory from
3414 ports/sysdeps/unix/sysv/linux/ia64.
3415 * README: Update listing for ia64-*-linux-gnu.
3417 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3418 Joseph Myers <joseph@codesourcery.com>
3420 * Makeconfig (test-name): New variable.
3421 (evaluate-test): Likewise.
3422 * Makerules (do-test-clean): Remove .test-result files.
3423 (common-mostlyclean): Likewise.
3424 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3425 * scripts/evaluate-test.sh: New file.
3427 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3429 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3430 separate $(objpfx)tst-fopenloc-cmp.out and
3431 $(objpfx)tst-fopenloc-mem.out targets.
3432 (tests): Update dependencies.
3433 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3434 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3435 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3436 (tst-rxspencer-no-utf8-ARGS): New variable.
3437 (tst-rxspencer-no-utf8-ENV): Likewise.
3438 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3439 instead of $(objpfx)tst-rxspencer-mem.
3440 ($(objpfx)tst-rxspencer-mem): Change target to
3441 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3442 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3443 * posix/tst-rxspencer-no-utf8.c: New file.
3445 * elf/Makefile ($(objpfx)order.out): Remove rule.
3446 [$(run-built-tests) = yes] (tests): Depend on
3447 $(objpfx)order-cmp.out.
3448 ($(objpfx)order-cmp.out): New rule.
3449 [$(run-built-tests) = yes] (tests): Depend on
3450 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3451 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3452 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3453 $(objpfx)tst-array5-static-cmp.out.
3454 ($(objpfx)tst-array1.out): Remove rule.
3455 ($(objpfx)tst-array1-cmp.out): New rule.
3456 ($(objpfx)tst-array1-static.out): Remove rule.
3457 ($(objpfx)tst-array1-static-cmp.out): New rule.
3458 ($(objpfx)tst-array2.out): Remove rule.
3459 ($(objpfx)tst-array2-cmp.out): New rule.
3460 ($(objpfx)tst-array3.out): Remove rule.
3461 ($(objpfx)tst-array3-cmp.out): New rule.
3462 ($(objpfx)tst-array4.out): Remove rule.
3463 ($(objpfx)tst-array4-cmp.out): New rule.
3464 ($(objpfx)tst-array5.out): Remove rule.
3465 ($(objpfx)tst-array5-cmp.out): New rule.
3466 ($(objpfx)tst-array5-static.out): Remove rule.
3467 ($(objpfx)tst-array5-static-cmp.out): New rule.
3468 [$(run-built-tests) = yes] (tests): Depend on
3469 $(objpfx)order2-cmp.out.
3470 ($(objpfx)order2.out): Remove rule.
3471 ($(objpfx)order2-cmp.out): New rule.
3472 ($(objpfx)tst-initorder.out): Remove rule.
3473 [$(run-built-tests) = yes] (tests): Depend on
3474 $(objpfx)tst-initorder-cmp.out.
3475 ($(objpfx)tst-initorder-cmp.out): New rule.
3476 ($(objpfx)tst-initorder2.out): Remove rule.
3477 [$(run-built-tests) = yes] (tests): Depend on
3478 $(objpfx)tst-initorder2-cmp.out.
3479 ($(objpfx)tst-initorder2-cmp.out): New rule.
3480 [$(run-built-tests) = yes] (tests): Depend on
3481 $(objpfx)tst-unused-dep-cmp.out.
3482 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3483 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3484 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3485 on $(objpfx)tst-setvbuf1-cmp.out.
3486 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3487 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3488 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3489 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3490 ($(objpfx)tst-svc.out): Remove rule.
3491 ($(objpfx)tst-svc-cmp.out): New rule.
3493 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3495 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3496 * ctype/ctype.h [__USE_MISC]: Likewise.
3497 * dirent/dirent.h [__USE_MISC]: Likewise.
3498 * grp/grp.h [__USE_MISC]: Likewise.
3499 * io/fcntl.h [__USE_MISC]: Likewise.
3500 * io/sys/stat.h [__USE_MISC]: Likewise.
3501 * libio/stdio.h [__USE_MISC]: Likewise.
3502 * posix/unistd.h [__USE_MISC]: Likewise.
3503 * pwd/pwd.h [__USE_MISC]: Likewise.
3504 * stdlib.h [__USE_MISC]: Likewise.
3505 * string/bits/string2.h [__USE_MISC]: Likewise.
3506 * string/string.h [__USE_MISC]: Likewise.
3507 * time/time.h [__USE_MISC]: Likewise.
3509 2014-02-13 Andreas Schwab <schwab@suse.de>
3512 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3513 second answer buffer if it was separately allocated.
3515 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3517 * sysdeps/mips/math-tests.h: Include <features.h>.
3518 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3519 (ROUNDING_TESTS_long_double): Do not define.
3520 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3521 (EXCEPTION_TESTS_long_double): Likewise.
3522 * sysdeps/mips/mips64/libm-test-ulps: Update.
3524 * include/features.h (__USE_BSD): Remove macro definitions.
3525 (__USE_SVID): Likewise.
3526 (_BSD_SOURCE): Likewise.
3527 (_SVID_SOURCE): Likewise.
3528 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3529 from definition of _DEFAULT_SOURCE.
3530 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3532 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3533 * bits/mman.h [__USE_BSD]: Likewise.
3534 * bits/termios.h [__USE_BSD]: Likewise.
3535 * bits/waitstatus.h [__USE_BSD]: Likewise.
3536 * ctype/ctype.h [__USE_SVID]: Likewise.
3537 * dirent/dirent.h [__USE_BSD]: Likewise.
3538 * grp/grp.h [__USE_SVID]: Likewise.
3539 [__USE_BSD]: Likewise.
3540 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3541 * io/fcntl.h [__USE_BSD]: Likewise.
3542 * io/ftw.h [__USE_BSD]: Likewise.
3543 * io/sys/stat.h [__USE_BSD]: Likewise.
3544 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3545 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3546 * libio/stdio.h [__USE_SVID]: Likewise.
3547 [__USE_BSD]: Likewise.
3548 * math/math.h [__USE_SVID]: Likewise.
3549 [__USE_BSD]: Likewise.
3550 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3551 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3552 * misc/search.h [__USE_SVID]: Likewise.
3553 * misc/sys/mman.h [__USE_BSD]: Likewise.
3554 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3555 * misc/sys/uio.h [__USE_BSD]: Likewise.
3556 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3557 * posix/glob.h [__USE_BSD]: Likewise.
3558 * posix/regex.h [__USE_BSD]: Likewise.
3559 * posix/sys/types.h [__USE_BSD]: Likewise.
3560 [__USE_SVID]: Likewise.
3561 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3562 * posix/sys/wait.h [__USE_BSD]: Likewise.
3563 [__USE_SVID]: Likewise.
3564 * posix/unistd.h [__USE_BSD]: Likewise.
3565 [__USE_SVID]: Likewise.
3566 * pwd/pwd.h [__USE_SVID]: Likewise.
3567 * resolv/netdb.h [__USE_BSD]: Likewise.
3568 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3569 * signal/signal.h [__USE_BSD]: Likewise.
3570 [__USE_SVID]: Likewise.
3571 * socket/sys/socket.h [__USE_BSD]: Likewise.
3572 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3573 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3574 [__USE_SVID]: Likewise.
3575 * string/bits/string2.h [__USE_BSD]: Likewise.
3576 [__USE_SVID]: Likewise.
3577 * string/bits/string3.h [__USE_BSD]: Likewise.
3578 * string/endian.h [__USE_BSD]: Likewise.
3579 * string/string.h [__USE_SVID]: Likewise.
3580 [__USE_BSD]: Likewise.
3581 * string/strings.h [__USE_BSD]: Likewise.
3582 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3583 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3584 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3585 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3586 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3587 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3591 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3592 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3594 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3595 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3597 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3599 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3600 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3601 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3603 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3605 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3606 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3607 * termios/termios.h [__USE_BSD]: Likewise.
3608 * time/sys/time.h [__USE_BSD]: Likewise.
3609 * time/time.h [__USE_BSD]: Likewise.
3610 [__USE_SVID]: Likewise.
3612 * Makefile (subdir_targets): Remove subdir_lint.out.
3614 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3615 (do-tst-printf): Likewise.
3616 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3617 $(objpfx)tst-printf.out.
3619 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3621 * Makerules (check-abi-%): Change target to
3622 $(objpfx)check-abi-%.out.
3623 (check-abi target): Update dependencies.
3624 (check-abi-pattern variable): Redirect output of diff to $@.
3625 (check-abi variable): Likewise.
3626 * elf/Makefile (check-abi): Update dependencies.
3628 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3630 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3631 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3633 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3634 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3635 value has largest subnormal exponent.
3636 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3637 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3638 * sysdeps/aarch64/soft-fp/sfp-machine.h
3639 (_FP_TININESS_AFTER_ROUNDING): New macro.
3640 * sysdeps/alpha/soft-fp/sfp-machine.h
3641 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3642 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3644 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3645 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3646 * sysdeps/mips/soft-fp/sfp-machine.h
3647 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3648 * sysdeps/powerpc/soft-fp/sfp-machine.h
3649 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3650 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3653 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3655 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3656 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3659 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3662 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3665 2014-02-12 Richard Henderson <rth@redhat.com>
3667 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3668 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3669 * sysdeps/unix/sysv/linux/alpha: Move directory from
3670 ports/sysdeps/unix/sysv/linux/alpha.
3671 * README: Update listing for alpha-*-linux-gnu.
3673 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3675 * include/features.h: Update comment documenting feature test
3677 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3679 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3680 (_SVID_SOURCE): Likewise.
3681 (_DEFAULT_SOURCE): Update description of default features.
3682 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3684 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3685 (S_ISVTX): Likewise.
3686 * manual/math.texi (Mathematical Constants): Likewise.
3687 * manual/signal.texi (Interrupted Primitives): Likewise.
3688 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3689 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3690 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3691 Don't refer to _SVID_SOURCE in warning text.
3693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3695 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3697 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3698 * sysdeps/mips/dl-lookup.c: Remove.
3699 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3701 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3704 * math/auto-libm-test-in: Add testcase for expl.
3705 * math/auto-libm-test-out: Regenerate.
3706 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3707 calculation of unsafe.
3708 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3710 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3712 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3713 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3714 ports/sysdeps/unix/sysv/linux/aarch64.
3715 * README: Update listing for aarch64*-*-linux-gnu.
3717 2014-02-11 Will Newton <will.newton@linaro.org>
3719 * manual/probes.texi (Mathematical Function Probes): Use
3720 "triggered" instead of "hit".
3722 2014-02-11 Will Newton <will.newton@linaro.org>
3724 * manual/probes.texi (Internal Probes): Add documentation
3725 of setjmp, longjmp and longjmp_target probes.
3727 2014-02-11 Will Newton <will.newton@linaro.org>
3729 * include/stap-probe.h: Add comment about probe argument
3732 2014-02-11 Will Newton <will.newton@linaro.org>
3734 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3735 definition. (tr_where, tr_freehook, tr_mallochook,
3736 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3738 2014-02-11 David S. Miller <davem@davemloft.net>
3740 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3741 processing int_tests.
3743 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3745 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3746 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3747 * sysdeps/unix/sysv/linux/mips: Move directory from
3748 ports/sysdeps/unix/sysv/linux/mips.
3749 * README: Update listing for mips-*-linux-gnu and
3752 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3754 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3755 * sysdeps/unix/sysv/linux/m68k: Move directory from
3756 ports/sysdeps/unix/sysv/linux/m68k.
3757 * README: Update listing for m68k-*-linux-gnu.
3759 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3761 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3762 * sysdeps/unix/sysv/linux/generic: Move directory from
3763 ports/sysdeps/unix/sysv/linux/generic.
3764 * sysdeps/unix/sysv/linux/tile: Move directory from
3765 ports/sysdeps/unix/sysv/linux/tile.
3766 * README: Update listing for tile*-*-linux-gnu.
3768 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3770 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3771 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3772 * catgets/open_catalog.c (__open_catalog): Likewise.
3773 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3774 * debug/confstr_chk.c: Likewise.
3775 * debug/fread_chk.c (__fread_chk): Likewise.
3776 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3777 * debug/getgroups_chk.c: Likewise.
3778 * debug/mbsnrtowcs_chk.c: Likewise.
3779 * debug/mbsrtowcs_chk.c: Likewise.
3780 * debug/mbstowcs_chk.c: Likewise.
3781 * debug/memcpy_chk.c: Likewise.
3782 * debug/memmove_chk.c: Likewise.
3783 * debug/mempcpy_chk.c: Likewise.
3784 * debug/memset_chk.c: Likewise.
3785 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3786 * debug/strcat_chk.c (__strcat_chk): Likewise.
3787 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3788 * debug/strncat_chk.c (__strncat_chk): Likewise.
3789 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3790 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3791 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3792 * debug/wcpncpy_chk.c: Likewise.
3793 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3794 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3795 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3796 * debug/wcsncpy_chk.c: Likewise.
3797 * debug/wcsnrtombs_chk.c: Likewise.
3798 * debug/wcsrtombs_chk.c: Likewise.
3799 * debug/wcstombs_chk.c: Likewise.
3800 * debug/wmemcpy_chk.c: Likewise.
3801 * debug/wmemmove_chk.c: Likewise.
3802 * debug/wmempcpy_chk.c: Likewise.
3803 * debug/wmemset_chk.c: Likewise.
3804 * dirent/scandirat.c (SCANDIRAT): Likewise.
3805 * dlfcn/dladdr1.c (dladdr1): Likewise.
3806 * dlfcn/dladdr.c (dladdr): Likewise.
3807 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3808 * dlfcn/dlerror.c (__dlerror): Likewise.
3809 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3810 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3811 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3812 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3813 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3814 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3815 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3816 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3818 * elf/dl-conflict.c: Likewise.
3819 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3820 * elf/dl-dst.h: Likewise.
3821 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3822 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3823 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3824 * elf/dl-init.c (call_init, _dl_init): Likewise.
3825 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3826 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3827 _dl_map_object_from_fd, open_verify, open_path,
3828 _dl_map_object): Likewise.
3829 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3831 * elf/dl-minimal.c (__libc_memalign): Likewise.
3832 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3833 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3834 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3835 * elf/dl-sym.c (do_sym): Likewise.
3836 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3837 _dl_tls_get_addr_soft): Likewise.
3838 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3839 * elf/dl-writev.h (_dl_writev): Likewise.
3840 * elf/ldconfig.c (search_dir): Likewise.
3841 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3843 * elf/setup-vdso.h (setup_vdso): Likewise.
3844 * grp/compat-initgroups.c (compat_call): Likewise.
3845 * grp/fgetgrent.c (fgetgrent): Likewise.
3846 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3847 * grp/putgrent.c (putgrent): Likewise.
3848 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3850 * hurd/hurdinit.c: Likewise.
3851 * iconvdata/8bit-gap.c (struct): Likewise.
3852 * iconvdata/ansi_x3.110.c : Likewise.
3853 * iconvdata/big5.c : Likewise.
3854 * iconvdata/big5hkscs.c : Likewise.
3855 * iconvdata/cp1255.c: Likewise.
3856 * iconvdata/cp1258.c : Likewise.
3857 * iconvdata/cp932.c : Likewise.
3858 * iconvdata/euc-cn.c: Likewise.
3859 * iconvdata/euc-jisx0213.c : Likewise.
3860 * iconvdata/euc-jp.c: Likewise.
3861 * iconvdata/euc-jp-ms.c : Likewise.
3862 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3863 * iconvdata/gb18030.c : Likewise.
3864 * iconvdata/gbbig5.c (const): Likewise.
3865 * iconvdata/gbgbk.c: Likewise.
3866 * iconvdata/gbk.c : Likewise.
3867 * iconvdata/ibm1364.c : Likewise.
3868 * iconvdata/ibm930.c : Likewise.
3869 * iconvdata/ibm932.c: Likewise.
3870 * iconvdata/ibm933.c : Likewise.
3871 * iconvdata/ibm935.c : Likewise.
3872 * iconvdata/ibm937.c : Likewise.
3873 * iconvdata/ibm939.c : Likewise.
3874 * iconvdata/ibm943.c: Likewise.
3875 * iconvdata/iso_11548-1.c: Likewise.
3876 * iconvdata/iso-2022-cn.c : Likewise.
3877 * iconvdata/iso-2022-cn-ext.c : Likewise.
3878 * iconvdata/iso-2022-jp-3.c: Likewise.
3879 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3880 * iconvdata/iso-2022-kr.c : Likewise.
3881 * iconvdata/iso646.c (gconv_end): Likewise.
3882 * iconvdata/iso_6937-2.c : Likewise.
3883 * iconvdata/iso_6937.c : Likewise.
3884 * iconvdata/iso8859-1.c: Likewise.
3885 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3886 * iconvdata/shift_jisx0213.c : Likewise.
3887 * iconvdata/sjis.c : Likewise.
3888 * iconvdata/t.61.c : Likewise.
3889 * iconvdata/tcvn5712-1.c : Likewise.
3890 * iconvdata/tscii.c: Likewise.
3891 * iconvdata/uhc.c : Likewise.
3892 * iconvdata/unicode.c (gconv_end): Likewise.
3893 * iconvdata/utf-16.c (gconv_end): Likewise.
3894 * iconvdata/utf-32.c (gconv_end): Likewise.
3895 * iconvdata/utf-7.c (base64): Likewise.
3896 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3897 * iconv/gconv_close.c (__gconv_close): Likewise.
3898 * iconv/gconv_open.c (__gconv_open): Likewise.
3899 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3900 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3901 internal_ucs4le_loop_single, ucs4le_internal_loop,
3902 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3903 * iconv/iconv.c (iconv): Likewise.
3904 * iconv/iconv_close.c: Likewise.
3905 * iconv/loop.c (SINGLE): Likewise.
3906 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3907 * include/atomic.h: Likewise.
3908 * inet/inet6_option.c (option_alloc): Likewise.
3909 * intl/bindtextdom.c (set_binding_values): Likewise.
3910 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3911 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3912 * intl/localealias.c (read_alias_file): Likewise.
3913 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3914 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3915 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3916 * libio/fmemopen.c (fmemopen): Likewise.
3917 * libio/iofgets.c (_IO_fgets): Likewise.
3918 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3919 * libio/iofgetws.c (fgetws): Likewise.
3920 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3921 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3922 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3923 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3924 * locale/findlocale.c (_nl_find_locale): Likewise.
3925 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3926 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3928 * locale/setlocale.c (setlocale): Likewise.
3929 * login/programs/pt_chown.c (main): Likewise.
3930 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3931 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3932 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3933 mmap, mmap64, mremap, munmap): Likewise.
3934 * math/e_exp2l.c: Likewise.
3935 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3936 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3937 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3938 * math/s_catan.c (__catan): Likewise.
3939 * math/s_catanf.c (__catanf): Likewise.
3940 * math/s_catanh.c (__catanh): Likewise.
3941 * math/s_catanhf.c (__catanhf): Likewise.
3942 * math/s_catanhl.c (__catanhl): Likewise.
3943 * math/s_catanl.c (__catanl): Likewise.
3944 * math/s_ccosh.c (__ccosh): Likewise.
3945 * math/s_ccoshf.c (__ccoshf): Likewise.
3946 * math/s_ccoshl.c (__ccoshl): Likewise.
3947 * math/s_cexp.c (__cexp): Likewise.
3948 * math/s_cexpf.c (__cexpf): Likewise.
3949 * math/s_cexpl.c (__cexpl): Likewise.
3950 * math/s_clog10.c (__clog10): Likewise.
3951 * math/s_clog10f.c (__clog10f): Likewise.
3952 * math/s_clog10l.c (__clog10l): Likewise.
3953 * math/s_clog.c (__clog): Likewise.
3954 * math/s_clogf.c (__clogf): Likewise.
3955 * math/s_clogl.c (__clogl): Likewise.
3956 * math/s_csin.c (__csin): Likewise.
3957 * math/s_csinf.c (__csinf): Likewise.
3958 * math/s_csinh.c (__csinh): Likewise.
3959 * math/s_csinhf.c (__csinhf): Likewise.
3960 * math/s_csinhl.c (__csinhl): Likewise.
3961 * math/s_csinl.c (__csinl): Likewise.
3962 * math/s_csqrt.c (__csqrt): Likewise.
3963 * math/s_csqrtf.c (__csqrtf): Likewise.
3964 * math/s_csqrtl.c (__csqrtl): Likewise.
3965 * math/s_ctan.c (__ctan): Likewise.
3966 * math/s_ctanf.c (__ctanf): Likewise.
3967 * math/s_ctanh.c (__ctanh): Likewise.
3968 * math/s_ctanhf.c (__ctanhf): Likewise.
3969 * math/s_ctanhl.c (__ctanhl): Likewise.
3970 * math/s_ctanl.c (__ctanl): Likewise.
3971 * math/w_pow.c: Likewise.
3972 * math/w_powf.c: Likewise.
3973 * math/w_powl.c: Likewise.
3974 * math/w_scalb.c (sysv_scalb): Likewise.
3975 * math/w_scalbf.c (sysv_scalbf): Likewise.
3976 * math/w_scalbl.c (sysv_scalbl): Likewise.
3977 * misc/error.c (error_tail): Likewise.
3978 * misc/pselect.c (__pselect): Likewise.
3979 * nis/nis_callback.c (__nis_create_callback): Likewise.
3980 * nis/nis_call.c (__nisfind_server): Likewise.
3981 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3982 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3983 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3984 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3985 * nis/nis_lookup.c (nis_lookup): Likewise.
3986 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3987 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3988 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3989 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3990 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3991 internal_getgrgid_r): Likewise.
3992 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3994 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3995 internal_getpwuid_r): Likewise.
3996 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3997 internal_getspnam_r): Likewise.
3998 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3999 _nss_nis_getaliasbyname_r): Likewise.
4000 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4001 _nss_nis_getntohost_r): Likewise.
4002 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4003 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4005 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4006 internal_nis_gethostent_r, internal_gethostbyname2_r,
4007 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4008 _nss_nis_gethostbyname4_r): Likewise.
4009 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4010 initgroups_netid): Likewise.
4011 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4012 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4013 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4014 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4015 _nss_nis_getprotobynumber_r): Likewise.
4016 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4017 _nss_nis_getsecretkey): Likewise.
4018 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4019 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4021 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4022 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4023 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4024 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4025 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4026 _nss_nis_getspnam_r): Likewise.
4027 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4029 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4030 _nss_nisplus_getntohost_r): Likewise.
4031 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4032 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4033 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4034 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4035 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4037 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4038 _nss_nisplus_getnetbyaddr_r): Likewise.
4039 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4040 _nss_nisplus_getprotobynumber_r): Likewise.
4041 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4042 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4043 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4045 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4046 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4047 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4048 _nss_nisplus_getspnam_r): Likewise.
4049 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4050 * nscd/aicache.c (addhstaiX): Likewise.
4051 * nscd/cache.c (cache_search, prune_cache): Likewise.
4052 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4053 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4054 * nscd/grpcache.c (addgrbyX): Likewise.
4055 * nscd/hstcache.c (addhstbyX): Likewise.
4056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4057 * nscd/mem.c (gc, mempool_alloc): Likewise.
4058 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4060 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4062 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4063 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4064 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4066 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4067 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4068 * nscd/nscd_helper.c (__readvall, open_socket,
4069 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4070 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4071 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4072 * nscd/pwdcache.c (addpwbyX): Likewise.
4073 * nscd/selinux.c (preserve_capabilities): Likewise.
4074 * nscd/servicescache.c (addservbyX): Likewise.
4075 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4076 * posix/fnmatch.c (fnmatch): Likewise.
4077 * posix/getopt.c (_getopt_internal_r): Likewise.
4078 * posix/glob.c (glob, glob_in_dir): Likewise.
4079 * posix/wordexp.c (exec_comm_child): Likewise.
4080 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4081 gaih_getanswer_slice): Likewise.
4082 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4083 * resolv/res_init.c: Likewise.
4084 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4085 * resolv/res_query.c (__libc_res_nquery): Likewise.
4086 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4088 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4089 * stdio-common/perror.c (perror): Likewise.
4090 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4091 * stdio-common/tmpnam.c (tmpnam): Likewise.
4092 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4093 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4094 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4095 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4096 * stdlib/putenv.c (putenv): Likewise.
4097 * stdlib/setenv.c (__add_to_environ): Likewise.
4098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4099 * stdlib/strtol_l.c (INTERNAL): Likewise.
4100 * string/memmem.c (memmem): Likewise.
4101 * string/strerror.c (strerror): Likewise.
4102 * string/strnlen.c (__strnlen): Likewise.
4103 * string/test-memmem.c (simple_memmem): Likewise.
4104 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4105 * sunrpc/pm_getport.c (__get_socket): Likewise.
4106 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4107 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4108 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4109 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4111 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4112 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4113 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4114 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4115 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4116 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4117 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4118 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4119 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4120 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4121 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4122 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4124 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4125 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4126 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4127 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4128 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4129 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4131 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4133 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4135 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4137 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4138 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4139 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4140 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4141 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4150 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4151 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4155 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4157 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4159 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4161 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4162 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4163 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4164 * sysdeps/posix/sleep.c: Likewise.
4165 * sysdeps/posix/tempname.c: Likewise.
4166 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4167 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4169 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4170 elf_machine_rela): Likewise.
4171 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4172 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4173 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4174 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4176 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4177 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4178 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4179 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4180 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4181 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4182 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4183 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4184 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4185 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4187 elf_machine_lazy_rel): Likewise.
4188 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4190 elf_machine_lazy_rel): Likewise.
4191 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4192 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4193 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4194 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4195 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4196 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4197 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4198 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4200 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4201 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4202 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4203 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4204 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4205 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4206 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4207 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4208 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4209 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4210 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4212 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4213 (__posix_fallocate64_l64): Likewise.
4214 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4215 (posix_fallocate): Likewise.
4216 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4218 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4219 getifaddrs_internal): Likewise.
4220 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4221 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4222 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4223 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4224 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4225 (__posix_fallocate64_l64): Likewise.
4226 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4228 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4229 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4231 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4232 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4233 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4236 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4237 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4238 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4240 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4241 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4242 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4244 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4245 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4246 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4248 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4249 (posix_fallocate): Likewise.
4250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4251 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4252 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4253 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4254 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4256 * time/asctime.c (asctime_internal): Likewise.
4257 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4258 * time/tzset.c (__tzset_parse_tz): Likewise.
4259 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4260 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4261 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4262 * wcsmbs/wcsmbsload.h: Likewise.
4264 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4267 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4269 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4271 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4272 arena_get2): Remove THREAD_STATS conditionals.
4273 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4274 __malloc_stats, int): Likewise.
4276 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4279 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4281 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4283 * manual/setjmp.texi: Fix typos/grammar errors.
4285 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4287 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4288 Only return early when n is <= 0. Delete unused return statement.
4290 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4292 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4293 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4294 * debug/tst-longjmp_chk3.c: New file.
4296 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4298 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4299 (test_main): Replace code with set_fortify_handler call.
4300 * debug/test-strcpy_chk.c: Likewise.
4301 * debug/tst-chk1.c: Likewise.
4302 * debug/tst-longjmp_chk.c: Likewise.
4303 * test-skeleton.c: Include fcntl.h & paths.h
4304 (set_fortify_handler): Define.
4306 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4308 * debug/tst-longjmp_chk.c: Add header comment and include
4310 (do_test): Mark static.
4311 (TEST_FUNCTION): Define.
4313 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4315 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4316 (IP_PMTUDISC_INTERFACE): Likewise.
4317 (IP_MULTICAST_IF): Likewise.
4318 (IP_MULTICAST_TTL): Likewise.
4319 (IP_MULTICAST_LOOP): Likewise.
4320 (IP_ADD_MEMBERSHIP): Likewise.
4321 (IP_DROP_MEMBERSHIP): Likewise.
4322 (IP_UNBLOCK_SOURCE): Likewise.
4323 (IP_BLOCK_SOURCE): Likewise.
4324 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4325 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4326 (IP_MSFILTER): Likewise.
4327 (MCAST_JOIN_GROUP): Likewise.
4328 (MCAST_BLOCK_SOURCE): Likewise.
4329 (MCAST_UNBLOCK_SOURCE): Likewise.
4330 (MCAST_LEAVE_GROUP): Likewise.
4331 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4332 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4333 (MCAST_MSFILTER): Likewise.
4334 (IP_MULTICAST_ALL): Likewise.
4335 (IP_UNICAST_IF): Likewise.
4337 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4339 * timezone/Makefile: Delete $(have-ksh) check.
4340 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4341 * timezone/tzselect.ksh: Add +x mode bits.
4343 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4345 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4346 (ANON_INODE_FS_MAGIC): Likewise.
4347 (BDEVFS_MAGIC): Likewise.
4348 (BINFMTFS_MAGIC): Likewise.
4349 (BTRFS_TEST_MAGIC): Likewise.
4350 (CRAMFS_MAGIC_WEND): Likewise.
4351 (DEBUGFS_MAGIC): Likewise.
4352 (ECRYPTFS_SUPER_MAGIC): Likewise.
4353 (EXT3_SUPER_MAGIC): Likewise.
4354 (EXT4_SUPER_MAGIC): Likewise.
4355 (FUTEXFS_SUPER_MAGIC): Likewise.
4356 (HOSTFS_SUPER_MAGIC): Likewise.
4357 (HUGETLBFS_MAGIC): Likewise.
4358 (MINIX3_SUPER_MAGIC): Likewise.
4359 (MTD_INODE_FS_MAGIC): Likewise.
4360 (NILFS_SUPER_MAGIC): Likewise.
4361 (OPENPROM_SUPER_MAGIC): Likewise.
4362 (PIPEFS_MAGIC): Likewise.
4363 (PSTOREFS_MAGIC): Likewise.
4364 (QNX6_SUPER_MAGIC): Likewise.
4365 (RAMFS_MAGIC): Likewise.
4366 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4367 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4368 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4369 (SECURITYFS_MAGIC): Likewise.
4370 (SELINUX_MAGIC): Likewise.
4371 (SMACK_MAGIC): Likewise.
4372 (SOCKFS_MAGIC): Likewise.
4373 (SQUASHFS_MAGIC): Likewise.
4374 (STACK_END_MAGIC): Likewise.
4375 (TMPFS_MAGIC): Likewise.
4376 (USBDEVICE_SUPER_MAGIC): Likewise.
4377 (V9FS_MAGIC): Likewise.
4378 (XENFS_SUPER_MAGIC): Likewise.
4379 (CRAMFS_MAGIC): Fix typo in comment.
4380 (EXT2_SUPER_MAGIC): Update comment.
4381 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4383 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4385 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4386 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4387 * sysdeps/unix/sysv/linux/arm: Move directory from
4388 ports/sysdeps/unix/sysv/linux/arm.
4389 * README: Update listing for arm-*-linux-gnueabi.
4391 * README: Remove mention of am33.
4393 2014-02-07 Roland McGrath <roland@hack.frob.com>
4395 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4396 than the comma operator, to avoid "rhs of comma has no effect"
4398 (__sigfillset, __sigandset, __sigorset): Likewise.
4399 * include/signal.h (__sigemptyset): Likewise.
4400 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4402 2014-02-07 Allan McRae <allan@archlinux.org>
4404 * version.h (RELEASE): Set to "development".
4405 (VERSION): Set to "2.19.90"
4406 * NEWS: Add 2.20 section.
4408 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4411 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4413 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4415 * manual/contrib.texi: Update entry for Carlos O'Donell,
4416 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4418 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4420 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4422 * sysdeps/unix/sysv/linux/kernel-features.h
4423 [__LINUX_KERNEL_VERSION >= 0x020621]
4424 (__ASSUME_PROC_PID_TASK_COMM): Define.
4426 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4429 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4430 conversion when destination buffer does not have enough space.
4431 * libio/tst-ftell-partial-wide.c: New test case.
4432 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4434 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4435 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4436 Leonard and Allan McRae.
4438 2014-02-04 David S. Miller <davem@davemloft.net>
4440 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4443 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4472 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4474 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4475 * shlib-versions: Likewise.
4477 2014-02-04 Roland McGrath <roland@hack.frob.com>
4478 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4480 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4481 (abilist-pattern): New variable, set to %-le.abilist.
4483 * Makerules (abilist-pattern): New variable.
4484 (vpath): Use $(abilist-pattern) in place of %.abilist.
4485 (check-abi-% pattern rule): Likewise.
4486 (check-abi, update-abi): Likewise.
4488 2014-02-04 Eric Wong <normalperson@yhbt.net>
4490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4492 2014-02-04 Eric Wong <normalperson@yhbt.net>
4494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4496 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4498 * manual/startup.texi: Add next, previous, and top entries for
4499 the `Program Arguments' and `Environment Variables' nodes.
4501 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4503 * manual/macros.texi: Add comments before MTASC-safety macros.
4505 * manual/users.texi: Document MTASC-safety properties.
4507 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4508 pthread_getspecific, pthread_setspecific): Format with
4509 @deftypefun, and add @safety note.
4510 * manual/signal.texi: Move comments that analyze the above
4511 functions to their home place.
4513 2014-02-03 Allan McRae <allan@archlinux.org>
4515 * po/sl.po: Update Slovenian translation from translation project.
4517 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4519 * manual/time.texi (timegm): Add missing blank after @c.
4520 Reported by Joseph Myers <joseph@codesourcery.com>.
4522 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4524 * manual/check-safety.sh: New.
4525 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4527 * manual/terminal.texi: Document MTASC-safety properties.
4529 * manual/filesys.texi: Document MTASC-safety properties.
4531 * manual/errno.texi: Document MTASC-safety properties.
4533 * manual/intro.texi: Document safety identifiers and
4536 * manual/string.texi (wcstok): Fix prototype.
4537 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4539 * manual/time.texi: Document MTASC-safety properties.
4541 * manual/string.texi: Document MTASC-safety properties.
4543 * manual/threads.texi: Document MTASC-safety properties.
4545 * manual/stdio.texi: Document MTASC-safety properties.
4547 * manual/syslog.texi: Document MTASC-safety properties.
4549 * manual/sysinfo.texi: Document MTASC-safety properties.
4551 * manual/startup.texi: Document MTASC-safety properties.
4553 * manual/socket.texi: Document MTASC-safety properties.
4555 * manual/signal.texi: Document MTASC-safety properties.
4557 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4559 * manual/setjmp.texi: Document MTASC-safety properties.
4561 * manual/search.texi: Document MTASC-safety properties.
4563 * manual/resource.texi: Document MTASC-safety properties.
4565 * manual/process.texi: Document MTASC-safety properties.
4567 * manual/platform.texi: Document MTASC-safety properties.
4569 * manual/pipe.texi: Document MTASC-safety properties.
4571 * manual/pattern.texi: Document MTASC-safety properties.
4573 * manual/message.texi: Document MTASC-safety properties.
4576 * manual/memory.texi: Document MTASC-safety properties.
4578 * manual/math.texi: Document MTASC-safety properties.
4580 * manual/locale.texi: Document MTASC-safety properties.
4582 * manual/llio.texi: Document MTASC-safety properties.
4584 * manual/libdl.texi: New.
4586 * manual/lang.texi: Document MTASC-safety properties.
4588 * manual/job.texi: Document MTASC-safety properties.
4590 * manual/getopt.texi: Document MTASC-safety properties.
4592 * manual/ctype.texi: Document MTASC-safety properties.
4594 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4597 * csu/libc-tls.c (static_map): Remove variable.
4598 (__libc_setup_tls): Use main executable's link map for TLS data.
4599 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4600 casing for LM_ID_BASE and GL(dl_nns).
4601 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4602 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4603 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4604 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4605 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4607 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4610 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4612 * manual/debug.texi: Document MTASC-safety properties.
4614 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4617 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4618 of __x86_64__ when disabling x87 inline functions.
4620 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4622 * manual/charset.texi: Document MTASC-safety properties.
4624 * manual/crypt.texi: Document MTASC-safety properties.
4626 * manual/conf.texi: Document MTASC-safety properties.
4628 * manual/arith.texi: Document MTASC-safety properties.
4630 * manual/argp.texi: Document MTASC-safety properties.
4632 * manual/macros.texi: Introduce macros to document multi
4633 thread, asynchronous signal and asynchronous cancellation
4635 * manual/intro.texi: Introduce the properties themselves.
4637 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4639 * sysdeps/sh/sh4/Makefile: New file.
4641 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4643 * math/gen-libm-test.pl ($srcdir): New variable.
4644 ($auto_input): Use it.
4646 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4649 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4650 access beyond array bounds when parsing netgroups file.
4652 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4653 the old buffer before realloc.
4655 2014-01-27 Allan McRae <allan@archlinux.org>
4657 * po/fr.po: Update French translation from translation project.
4659 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4661 * sysdeps/sh/libm-test-ulps: Regenerate.
4663 2014-01-24 David S. Miller <davem@davemloft.net>
4665 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4667 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4669 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4670 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4672 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4675 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4676 string pointers after reallocation.
4678 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4680 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4681 __SH4A__ instead of __SH_FPU_ANY__.
4683 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4685 * sysdeps/sh/fpu_control.h: New file.
4686 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4687 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4688 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4689 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4690 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4691 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4692 * sysdeps/sh/sys/ucontext.h: Remove.
4693 * sysdeps/sh/sys: Remove directory.
4695 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4697 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4698 s390/sys/ucontext.h.
4699 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4702 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4705 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4707 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4711 Adjust the vDSO correctly for internal calls.
4712 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4714 2014-01-20 Allan McRae <allan@archlinux.org>
4716 * po/ca.po: Update Catalan translation from translation project.
4718 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4720 * sysdeps/s390/sotruss-lib.c: New file.
4722 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4725 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4726 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4727 local calls issues by not having a PLT stub required for IFUNC calls.
4728 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4730 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4732 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4733 * math/test-fpucw-static.c: Likewise.
4735 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4738 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4740 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4743 implementation for powerpc.
4745 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4748 * sysdeps/posix/system.c (__libc_system): Do not enable
4749 asynchronous cancellation.
4751 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4754 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4755 handling only for numbers special also in the IEEE case.
4757 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4759 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4761 2014-01-11 Allan McRae <allan@archlinux.org>
4763 * po/bg.po: Update Bulgarian translation from translation project.
4765 * po/de.po: Update German translation from translation project.
4767 2014-01-10 Roland McGrath <roland@hack.frob.com>
4769 * sysdeps/generic/gcc-compat.h: New file.
4771 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4773 * benchtests/asin-inputs: Correct slow inputs.
4774 * benchtests/acos-inputs: Likewise.
4776 2014-01-10 Allan McRae <allan@archlinux.org>
4778 * po:sv.po: Update Swedish translation from translation project.
4780 * po/vi.po: Update Vietnamese translation from translation project.
4782 * po/eo.po: Update Esperanto translation from translation project.
4784 * po/cs.po: Update Czech translation from translation project.
4786 * po/nl.po: Update Dutch translation from translation project.
4788 * po/pl.po: Update Polish translation from translation project.
4790 * po/ru.po: Update Russian translation from translation project.
4792 * po/uk.po: Update Ukrainian translation from translation project.
4794 2014-01-08 Brooks Moses <bmoses@google.com>
4796 * elf/dl-load.c: Fix comment typo.
4798 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4800 * po/header.pot: Rename to...
4801 * po/pot.header: ... this.
4802 * po/Makefile: Use pot.header.
4804 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4805 Maxim Kuvyrkov <maxim@kugelworks.com>
4808 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4809 SRC and DEST against LEN.
4811 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4816 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4818 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4822 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4826 for large positive arguments.
4828 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4830 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4832 * math/auto-libm-test-in: Mark various tests with
4833 xfail-rounding:ldbl-128ibm.
4834 * math/auto-libm-test-out: Regenerated.
4837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4838 Increase overflow threshold.
4840 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4843 * stdio-common/vfprintf.c: Check for integer overflow.
4845 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4847 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4848 the first argument and return value of __tls_get_addr_internal.
4850 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4852 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4853 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4855 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4857 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4858 * sysdeps/s390/rtld-global-offsets.sym: New file.
4859 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4861 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4862 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4865 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4872 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4873 halfs of GPRs for high_gprs contexts.
4874 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4875 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4877 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4879 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4881 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4882 for high GPRs (uc_high_gprs) and for future extensions
4884 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4885 for future extensions (__reserved).
4886 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4888 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4889 SC_HIGHGPRS offset definition.
4890 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4891 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4893 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4895 * Versions.def: Add GLIBC_2.19 for libpthread.
4896 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4897 siglongjmp for libpthread with GLIBC_2.19 symver.
4898 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4899 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4900 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4901 * sysdeps/s390/__longjmp.c: New file.
4902 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4903 * sysdeps/s390/longjmp.c: New file.
4904 * sysdeps/s390/setjmp.S: New file.
4905 * sysdeps/s390/sigjmp.S: New file.
4906 * sysdeps/s390/v1-longjmp.c: New file.
4907 * sysdeps/s390/v1-setjmp.h: New file.
4908 * sysdeps/s390/v1-sigjmp.c: New file.
4909 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4910 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4912 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4913 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4914 versioned symbols for ____longjmp_chk.
4915 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4925 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4926 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4927 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4928 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4929 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4930 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4931 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4932 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4933 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4934 * sysdeps/s390/rtld-__longjmp.c: New file.
4935 * sysdeps/s390/rtld-setjmp.S: New file.
4937 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4940 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4941 Return -__logl (x) for small positive arguments without evaluating
4944 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4946 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4948 (__ptrace_peeksiginfo_args): ... this.
4949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4953 2014-01-06 Allan McRae <allan@archlinux.org>
4955 * inet/netinet/in.h: Fix typo in comment.
4957 2014-01-05 Andreas Jaeger <aj@suse.de>
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4961 2014-01-05 Allan McRae <allan@archlinux.org>
4963 * po/libc.pot: Regenerated.
4965 * malloc/memusagestat.c: Fix gettext call formatting.
4967 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4969 * nscd/nscd.c: Improve usage() output.
4971 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4973 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4974 * sysdeps/unix/sysv/linux/configure: Regenerated.
4975 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4976 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4978 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4981 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4982 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4984 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4986 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4987 extra tokens at end of #undef directive.
4988 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4990 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4992 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4994 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4996 * math/auto-libm-test-in: Mark various tests with
4997 xfail-rounding:ldbl-128ibm.
4998 * math/auto-libm-test-out: Regenerated.
5000 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5003 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5004 numbers with subnormal high part when calculating exponent.
5007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5013 (__ieee754_acoshl): Use __log1pl not __log1p.
5015 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5017 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5018 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5019 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5020 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5021 Convert to GNU style.
5022 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5023 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5024 memalign_check, __malloc_set_state): Likewise.
5025 * malloc/mallocbug.c (main): Likewise.
5026 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5027 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5028 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5029 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5030 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5031 * malloc/malloc.h: Likewise.
5032 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5033 memalignhook, reallochook, mabort): Likewise.
5034 * malloc/mcheck.h: Likewise.
5035 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5036 mmap64, mremap, munmap, dest): Likewise.
5037 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5038 * malloc/morecore.c (__default_morecore): Likewise.
5039 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5040 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5041 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5042 print_and_abort): Likewise.
5043 * malloc/obstack.h: Likewise.
5044 * malloc/set-freeres.c (__libc_freeres): Likewise.
5045 * malloc/tst-mallocstate.c (main): Likewise.
5046 * malloc/tst-mtrace.c (main): Likewise.
5047 * malloc/tst-realloc.c (do_test): Likewise.
5049 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5052 * nscd/netgroupcache.c (do_notfound): New function.
5053 (addgetnetgrentX): Use it.
5056 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5057 NSS_STATUS_NOTFOUND.
5059 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5061 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5064 2014-01-01 Allan McRae <allan@archlinux.org>
5066 * scripts/update-copyrights: Update configure input file suffix.
5068 * NEWS: Update copyright year.
5069 * catgets/gencat.c: Likewise.
5070 * csu/version.c: Likewise.
5071 * debug/catchsegv.sh: Likewise.
5072 * debug/pcprofiledump.c: Likewise.
5073 * debug/xtrace.sh: Likewise.
5074 * elf/ldconfig.c: Likewise.
5075 * elf/ldd.bash.in: Likewise.
5076 * elf/pldd.c: Likewise.
5077 * elf/sotruss.ksh: Likewise.
5078 * elf/sprof.c: Likewise.
5079 * iconv/iconv_prog.c: Likewise.
5080 * iconv/iconvconfig.c: Likewise.
5081 * locale/programs/locale.c: Likewise.
5082 * locale/programs/localedef.c: Likewise.
5083 * login/programs/pt_chown.c: Likewise.
5084 * malloc/memusage.sh: Likewise.
5085 * malloc/memusagestat.c: Likewise.
5086 * malloc/mtrace.pl: Likewise.
5087 * manual/libc.texinfo: Likewise.
5088 * nscd/nscd.c: Likewise.
5089 * nss/getent.c: Likewise.
5090 * nss/makedb.c: Likewise.
5091 * posix/getconf.c: Likewise.
5092 * scripts/test-installation.pl: Likewise.
5094 * All files with FSF copyright notices: Update copyright dates
5095 using scripts/update-copyrights.
5096 * intl/plural.c: Regenerated.
5097 * locale/programs/charmap-kw.h: Likewise.
5098 * locale/programs/locfile-kw.h: Likewise.
5100 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5102 * sysdeps/unix/sysv/linux/configure: Regenerated.
5103 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5104 the linux/fanotify.h header.
5105 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5106 HAVE_LINUX_FANOTIFY_H is defined.
5108 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5110 * benchtests/cos-inputs: New inputs.
5111 * benchtests/sin-inputs: Likewise.
5113 * benchtests/atan-inputs: New inputs. Fix name of multiple
5114 precision fallback inputs.
5116 * benchtests/atanh-inputs: New inputs.
5117 * benchtests/tanh-inputs: Likewise.
5119 * benchtests/acosh-inputs: New inputs.
5120 * benchtests/asinh-inputs: Likewise.
5122 * benchtests/cosh-inputs: New inputs.
5123 * benchtests/sinh-inputs: Likewise.
5125 * benchtests/acos-inputs: Add more inputs.
5126 * benchtests/asin-inputs: Likewise.
5128 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5131 * manual/arith.texi: Fix spelling.
5132 * manual/charset.texi: Likewise.
5133 * manual/errno.texi: Likewise.
5134 * manual/filesys.texi: Likewise.
5135 * manual/lang.texi: Likewise.
5136 * manual/llio.texi: Likewise.
5137 * manual/locale.texi: Likewise.
5138 * manual/message.texi: Likewise.
5139 * manual/resource.texi: Likewise.
5140 * manual/search.texi: Likewise.
5141 * manual/setjmp.texi: Likewise.
5142 * manual/stdio.texi: Likewise.
5143 * manual/string.texi: Likewise.
5144 * manual/sysinfo.texi: Likewise.
5145 * manual/time.texi: Likewise.
5147 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5149 * po/sl.po: New file.
5151 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5153 * .gitignore: Add core/.gdbinit/.gdb_history.
5155 2013-12-27 Allan McRae <allan@archlinux.org>
5158 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5159 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5161 2013-12-24 Brooks Moses <bmoses@google.com>
5163 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5164 all compilers that claim C++98 compliance, not just GCC.
5165 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5168 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5170 * NEWS: Restore accidentally deleted bug-fix entries.
5172 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5173 Ondřej Bílka <neleai@seznam.cz>
5176 * malloc/malloc.c (_int_free): Perform sanity check only if we
5179 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5182 * manual/stdio.texi (String Input Conversions): Clarify that character
5183 classes are not supported.
5185 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5189 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5193 Calculate results for small negative arguments directly rather
5194 than using reflection formula with special underflow handling.
5196 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5197 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5198 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5199 (fchflags): Likewise.
5201 (setlogin): Likewise.
5202 (sigaltstack): Likewise.
5205 (sigsetmask): Likewise.
5207 (waitpid): Likewise.
5208 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5209 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5211 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5212 * sysdeps/unix/bsd/Makefile: ... here.
5213 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5214 * sysdeps/unix/bsd/Versions: ... here.
5215 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5216 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5217 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5218 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5219 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5220 * sysdeps/unix/bsd/sigblock.c: ... here.
5221 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5222 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5223 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5224 * sysdeps/unix/bsd/sigvec.c: ... here.
5225 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5226 * sysdeps/unix/bsd/tcdrain.c: ... here.
5227 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5228 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5229 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5230 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5231 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5232 * sysdeps/unix/bsd/wait.c: ... here.
5233 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5234 * sysdeps/unix/bsd/wait3.c: ... here.
5235 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5236 * sysdeps/unix/bsd/waitpid.c: ... here.
5238 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5241 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5242 round-to-nearest for [!USE_AS_EXPM1L].
5243 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5244 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5245 more tests of exp and exp10. Expect some exp10 tests to miss
5246 exceptions or fail in directed rounding modes.
5247 * math/auto-libm-test-out: Regenerated.
5248 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5249 (exp10_test_tonearest): New function.
5250 (exp10_towardzero_test_data): New array.
5251 (exp10_test_towardzero): New function.
5252 (exp10_downward_test_data): New array.
5253 (exp10_test_downward): New function.
5254 (exp10_upward_test_data): New array.
5255 (exp10_test_upward): New function.
5256 (main): Call the new functions.
5257 * sysdeps/i386/fpu/libm-test-ulps: Update.
5258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5260 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5262 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5263 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5264 * math/auto-libm-test-out: Regenerated.
5265 * math/libm-test.inc (acosh_test_data): Add more tests.
5266 (atanh_test_data): Likewise.
5267 (ceil_test_data): Likewise.
5268 (copysign_test_data): Likewise.
5269 * sysdeps/i386/fpu/libm-test-ulps: Update.
5270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5272 * timezone/checktab.awk: Update from tzcode 2013i.
5273 * timezone/private.h: Likewise.
5274 * timezone/scheck.c: Likewise.
5275 * timezone/tzfile.h: Likewise.
5276 * timezone/tzselect.ksh: Likewise.
5277 * timezone/zdump.c: Likewise.
5278 * timezone/zic.c: Likewise.
5280 * math/auto-libm-test-in: Add tests of cpow.
5281 * math/auto-libm-test-out: Regenerated.
5282 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5283 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5285 (func_calc_desc): Add mpc_cc_c union field.
5286 (test_functions): Add cpow.
5287 (special_fill_2pi): New function.
5288 (special_real_inputs): Add 2pi.
5289 (calc_generic_results): Handle mpc_cc_c.
5290 * sysdeps/i386/fpu/libm-test-ulps: Update.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5293 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5294 csqrt, ctan and ctanh.
5295 * math/auto-libm-test-out: Regenerated.
5296 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5297 (TEST_COND_x86): Likewise.
5298 (ccos_test_data): Use AUTO_TESTS_c_c.
5299 (ccosh_test_data): Likewise.
5300 (cexp_test_data): Likewise.
5301 (clog_test_data): Likewise.
5302 (csqrt_test_data): Likewise.
5303 (ctan_test_data): Likewise.
5304 (ctan_tonearest_test_data): Likewise.
5305 (ctan_towardzero_test_data): Likewise.
5306 (ctan_downward_test_data): Likewise.
5307 (ctan_upward_test_data): Likewise.
5308 (ctanh_test_data): Likewise.
5309 (ctanh_tonearest_test_data): Likewise.
5310 (ctanh_towardzero_test_data): Likewise.
5311 (ctanh_downward_test_data): Likewise.
5312 (ctanh_upward_test_data): Likewise.
5313 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5315 (func_calc_desc): Add mpc_c_c union field.
5316 (FUNC_mpc_c_c): New macro.
5317 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5318 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5320 (special_fill_min_subnorm_p120): New function.
5321 (special_real_inputs): Add min_subnorm_p120.
5322 (calc_generic_results): Handle mpc_c_c.
5323 * sysdeps/i386/fpu/libm-test-ulps: Update.
5324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5326 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5328 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5329 do_sin_slow): New functions.
5330 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5331 cslow2, csloww1, csloww2): Use the new functions.
5333 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5334 Use M to change sign of result instead of X. Assume X is
5336 (csloww1): Likewise.
5340 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5345 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5347 (sloww1): Don't adjust sign of DX.
5348 (csloww1): Likewise.
5349 (sloww2): Use X directly and don't adjust sign of DX.
5350 (csloww2): Likewise.
5352 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5354 * math/auto-libm-test-in: Add tests of cabs and carg.
5355 * math/auto-libm-test-out: Regenerated.
5356 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5357 (carg_test_data): Likewise.
5358 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5360 (func_calc_desc): Add mpc_c_f union field.
5361 (test_functions): Add cabs and carg.
5362 (calc_generic_results): Handle mpc_c_f.
5364 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5365 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5366 as a macro and a compat symbol.
5367 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5368 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5369 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5370 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5371 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5372 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5374 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5376 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5380 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5382 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5384 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5385 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5388 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5392 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5394 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5395 trailing whitespace removed.
5396 * scripts/config.guess: Update to version 2013-11-29.
5397 * scripts/config.sub: Update to version 2013-10-01.
5399 * math/auto-libm-test-in: Add tests of sincos.
5400 * math/auto-libm-test-out: Regenerated.
5401 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5402 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5404 (func_calc_desc): Add mpfr_f_11 union field.
5405 (test_functions): Add sincos.
5406 (calc_generic_results): Handle mpfr_f_11.
5407 * sysdeps/i386/fpu/libm-test-ulps: Update.
5408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5410 2013-12-19 Andreas Schwab <schwab@suse.de>
5412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5414 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5415 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5416 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5418 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5420 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5421 * sysdeps/i386/fpu/libm-test-ulps: Update.
5422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5425 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5426 round-to-nearest mode when using frndint.
5427 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5428 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5429 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5431 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5433 * math/auto-libm-test-out: Regenerated.
5434 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5435 (TEST_COND_x86): Likewise.
5436 (expm1_tonearest_test_data): New array.
5437 (expm1_test_tonearest): New function.
5438 (expm1_towardzero_test_data): New array.
5439 (expm1_test_towardzero): New function.
5440 (expm1_downward_test_data): New array.
5441 (expm1_test_downward): New function.
5442 (expm1_upward_test_data): New array.
5443 (expm1_test_upward): New function.
5444 (main): Run the new test functions.
5445 * sysdeps/i386/fpu/libm-test-ulps: Update.
5446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5448 * include/features.h: Update comment documenting feature test
5449 macros. Mention _DEFAULT_SOURCE in comment.
5450 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5451 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5452 _BSD_SOURCE and _SVID_SOURCE.
5453 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5454 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5455 !_SVID_SOURCE]: Likewise.
5456 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5457 (__USE_POSIX_IMPLICITLY): Define.
5458 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5459 (_POSIX_SOURCE): Undefine and redefine.
5460 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5461 (_POSIX_C_SOURCE): Likewise.
5462 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5463 (Feature Test Macros): Update documentation of default features.
5465 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5467 * benchtests/Makefile: Add bench-strtok.
5468 * benchtests/bench-strtok.c: New file: strtok benchtest.
5470 2013-12-19 Allan McRae <allan@archlinux.org>
5472 * manual/install.texi: Suppress menu for plain text output.
5473 * INSTALL: Regenerated.
5475 2013-12-18 Brooks Moses <bmoses@google.com>
5478 * misc/getauxval.c: Include errno.h.
5479 (__getauxval): Set errno to ENOENT if the requested type is not
5481 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5482 don't declare with __attribute_const__.
5483 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5484 * manual/startup.texi: Document that getauxval sets errno.
5486 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5488 * math/auto-libm-test-in: Add tests of jn and yn.
5489 * math/auto-libm-test-out: Regenerated.
5490 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5491 (yn_test_data): Likewise.
5492 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5494 (func_calc_desc): Add mpfr_if_f union field.
5495 (FUNC_mpfr_if_f): New macro.
5496 (test_functions): Add jn and yn.
5497 (calc_generic_results): Assert type of second input for
5498 mpfr_ff_f. Handle mpfr_if_f.
5499 (output_for_one_input_case): Disable all checking for arguments
5500 fitting floating-point types in case of an integer argument.
5501 * sysdeps/i386/fpu/libm-test-ulps: Update.
5502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5505 Don't expect fegetround reference in libm.so.
5507 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5509 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5510 $(config-cflags-nofma).
5512 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5514 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5515 * math/auto-libm-test-out: Regenerated.
5518 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5519 to determine exponent and adjust argument to have exponent of -1.
5520 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5522 * math/auto-libm-test-out: Regenerated.
5523 * sysdeps/i386/fpu/libm-test-ulps: Update.
5524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5526 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5528 * manual/probes.texi: Remove cases when per-thread arenas are
5531 2013-12-18 Andreas Schwab <schwab@suse.de>
5533 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5534 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5535 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5536 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5537 * sysdeps/i386/i686/multiarch/Makefile: Update.
5538 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5540 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5542 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5543 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5545 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5548 Support TZ transition times < 00:00:00.
5549 This is needed for version-3 tz-format files; it supports time
5550 stamps past 2037 for America/Godthab (the only entry in the tz
5551 database for which this change is relevant).
5552 * manual/time.texi (TZ Variable): Document transition times
5553 from -167:59:59 through -00:00:01.
5554 * time/tzset.c (tz_rule): Time of day is now signed.
5555 (__tzset_parse_tz): Parse negative time of day.
5557 Document TZ transition times >= 25:00:00.
5558 * manual/time.texi (TZ Variable): Document transition times from
5559 25:00:00 through 167:59:59. These are already supported, and this
5560 support will help with version-3 tz-format files.
5562 * manual/time.texi (TZ Variable): Modernize North America example
5563 to reflect current (i.e., 2007-and-later) daylight saving rules.
5565 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5567 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5569 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5570 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5573 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5574 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5575 * sysdeps/unix/bsd/clock.c: Likewise.
5576 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5577 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5578 * sysdeps/unix/bsd/init-posix.c: Likewise.
5579 * sysdeps/unix/bsd/poll.c: Likewise.
5580 * sysdeps/unix/bsd/ptsname.c: Likewise.
5581 * sysdeps/unix/bsd/seekdir.c: Likewise.
5582 * sysdeps/unix/bsd/setegid.c: Likewise.
5583 * sysdeps/unix/bsd/seteuid.c: Likewise.
5584 * sysdeps/unix/bsd/setgid.c: Likewise.
5585 * sysdeps/unix/bsd/setrgid.c: Likewise.
5586 * sysdeps/unix/bsd/setruid.c: Likewise.
5587 * sysdeps/unix/bsd/setsid.c: Likewise.
5588 * sysdeps/unix/bsd/setuid.c: Likewise.
5589 * sysdeps/unix/bsd/sigaction.c: Likewise.
5590 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5591 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5592 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5593 * sysdeps/unix/bsd/telldir.c: Likewise.
5594 * sysdeps/unix/bsd/times.c: Likewise.
5595 * sysdeps/unix/bsd/usleep.c: Likewise.
5597 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5598 ($(objpfx)libbsd-compat.a): Remove rule.
5600 * include/features.h (__FAVOR_BSD): Do not define.
5601 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5602 features conflicting with POSIX.
5603 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5604 (_BSD_SOURCE): Remove description of not being a subset of other
5605 feature test macros.
5606 * manual/job.texi (getpgrp): Do not document BSD version.
5607 (getpgid): Do not document by reference to BSD getpgrp.
5608 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5609 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5610 * signal/signal.h [__FAVOR_BSD]: Likewise.
5611 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5612 instead of making contents conditional on [__FAVOR_BSD].
5613 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5615 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5619 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5622 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5623 values below 2**-450, not 2**-500.
5624 * math/auto-libm-test-in: Don't allow spurious underflow from
5626 * math/auto-libm-test-out: Regenerated.
5630 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5631 values of ha and hb and sort them after adjusting subnormal
5633 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5635 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5636 values of ea and eb and sort them after adjusting subnormal
5638 * math/auto-libm-test-in: Do not expect some hypot tests of
5639 subnormals to fail. Add more hypot tests.
5640 * math/auto-libm-test-out: Regenerated.
5642 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5645 * sysdeps/sh/s_fma.c: New file.
5646 * sysdeps/sh/s_fmaf.c: New file.
5647 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5649 * sysdeps/sh/Implies: Add sh/soft-fp.
5651 2013-12-16 Roland McGrath <roland@hack.frob.com>
5653 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5654 level of indirection to members `objname', `errstring', `malloced'.
5655 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5656 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5657 it as the __longjmp argument (just pass 1 instead).
5658 (_dl_catch_error): Initialize C with argument pointers and address of
5659 volatile local ERRCODE rather than copying values out of C at return.
5661 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5663 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5664 * math/auto-libm-test-out: Regenerated.
5665 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5666 (hypot_test_data): Likewise.
5667 (pow_test_data): Likewise.
5668 (pow_tonearest_test_data): Likewise.
5669 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5671 (func_calc_desc): Add mpfr_ff_f union field.
5672 (FUNC_mpfr_ff_f): New macro.
5673 (test_functions): Add atan2, hypot and pow.
5674 (special_fill_min): New function.
5675 (special_fill_minus_min): Likewise.
5676 (special_fill_min_subnorm): Likewise.
5677 (special_fill_minus_min_subnorm): Likewise.
5678 (special_real_inputs): Add min, -min, min_subnorm and
5680 (calc_generic_results): Handle mpfr_ff_f.
5681 * sysdeps/i386/fpu/libm-test-ulps: Update.
5682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5684 2013-12-16 Will Newton <will.newton@linaro.org>
5686 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5687 (Aligned Memory Blocks): Add documentation for aligned_alloc
5688 and suggest it as an alternative to posix_memalign.
5689 (Hooks for Malloc): Document __memalign_hook is also called
5690 for aligned_alloc. (Summary of Malloc): Add summary for
5691 aligned alloc. Document __memalign_hook is also called
5694 2013-12-16 Will Newton <will.newton@linaro.org>
5696 * manual/memory.texi (Malloc Examples): Clarify default
5697 alignment documentation. Suggest posix_memalign rather
5698 than memalign or valloc.
5699 (Aligned Memory Blocks): Remove suggestion to use memalign
5700 or valloc. Remove obsolete comment about BSD.
5701 Document memalign errno values and mark the function obsolete.
5702 Document posix_memalign returned error codes. Mark valloc
5703 as obsolete. (Hooks for Malloc): __memalign_hook is also
5704 called for posix_memalign and valloc.
5705 (Summary of Malloc): Add posix_memalign to function summary.
5706 __memalign_hook is also called for posix_memalign and valloc.
5708 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5710 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5714 (sloww): Use mynumber union. Expand ternary operator into
5716 (cslow): use mynumber union.
5718 2013-12-16 Allan McRae <allan@archlinux.org>
5720 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5721 * configure: Regenerated.
5723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5726 * configure.ac: Added --enable-maintainer-mode. Check for
5727 autoconf when enabled.
5728 * configure: Regenerated.
5730 * nscd/nscd.service: New file.
5731 * nscd/nscd.tmpfiles: New file.
5733 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5736 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5737 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5738 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5739 (strstr): Add __strstr_sse2_unaligned ifunc.
5740 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5741 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5742 (strcasestr): Remove __strcasestr_sse42 ifunc.
5743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5747 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5749 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5750 * sysdeps/sh/bits/fenv.h: ... here.
5751 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5753 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5757 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5760 hypotf multiarch implementations.
5761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5763 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5764 multiarch hypot for PPC64.
5765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5768 multiarch hypotf for PPC64.
5770 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5773 modff multiarch implementations.
5774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5777 multiarch modf for PPC64.
5778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5781 multiarch modff for PPC64.
5783 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5786 and logl multiarch implementations.
5787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5790 multiarch logb for PPC64.
5791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5794 multiarch logb for PPC64.
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5798 multiarch logb for PPC64.
5800 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5803 isinff multiarch implementation.
5804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5808 multiarch isinf for PPC64.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5812 multiarch isinff for PPC64.
5814 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5817 finitef multiarch implementation.
5818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5822 multiarch finite for PPC64.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5826 multiarch finitef for PPC64.
5828 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5831 lrint multiarch implementation.
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5836 multiarch llrint for PPC64.
5837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5838 multiarch lrint for PPC64.
5840 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5843 copysignf multiarch implementation.
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5849 multiarch copysign for PPC64.
5850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5851 multiarch copysignf for PPC64.
5853 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5856 multiarch implementation.
5857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5865 multiarch llround for PPC64.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5867 multiarch trunc for PPC64.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5869 multiarch truncf for PPC64.
5871 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5874 multiarch implementation.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5883 multiarch llround for PPC64.
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5885 multiarch round for PPC64.
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5887 multiarch roundf for PPC64.
5889 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5892 multiarch implementation.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5901 multiarch llround for PPC64.
5902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5903 multiarch floor for PPC64.
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5905 multiarch floorf for PPC64.
5907 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5910 multiarch implementation.
5911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5919 multiarch llround for PPC64.
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5921 multiarch ceil for PPC64.
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5923 multiarch ceilf for PPC64.
5925 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5928 multiarch implementation.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5936 multiarch llround for PPC64.
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5938 multiarch lround for PPC64.
5940 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5943 multiarch implementation.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5951 multiarch isnan for PPC64.
5952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5953 multiarch isnanf for PPC64.
5955 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5957 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5958 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5959 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5960 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5961 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5964 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5966 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5967 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5971 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5974 multiarch implementations.
5975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5976 (__libc_ifunc_impl_list): Likewise.
5977 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5978 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5979 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5980 multiarch stpcpy for PPC64.
5982 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5985 multiarch implementations.
5986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5987 (__libc_ifunc_impl_list): Likewise.
5988 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5989 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5990 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5991 multiarch strcpy for PPC64.
5993 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5995 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5996 redefine function name.
5997 (_wordcopy_fwd_dest_aligned): Likewise.
5998 (_wordcopy_bwd_aligned): Likewise.
5999 (_wordcopy_bwd_dest_aligned): Likewise.
6000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6001 multiarch implementations.
6002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6003 (__libc_ifunc_impl_list): Likewise.
6004 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6005 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6006 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6007 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6008 multiarch wcscpy for PPC64.
6010 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6013 multiarch implementations.
6014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6015 (__libc_ifunc_impl_list): Likewise.
6016 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6019 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6020 multiarch wcscpy for PPC64.
6022 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6025 multiarch implementations.
6026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6027 (__libc_ifunc_impl_list): Likewise.
6028 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6029 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6030 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6031 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6032 multiarch wcsrchr for PPC64.
6034 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6037 multiarch implementations.
6038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6039 (__libc_ifunc_impl_list): Likewise.
6040 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6041 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6042 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6043 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6044 multiarch wcschr for PPC64.
6046 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6049 multiarch implementations.
6050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6051 (__libc_ifunc_impl_list): Likewise.
6052 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6053 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6054 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6055 multiarch strchrnul for PPC64.
6057 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6062 (__libc_ifunc_impl_list): Likewise.
6063 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6064 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6065 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6066 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6069 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6074 (__libc_ifunc_impl_list): Likewise.
6075 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6076 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6077 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6078 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6081 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6084 multiarch implementations.
6085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6086 (__libc_ifunc_impl_list): Likewise.
6087 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6088 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6089 strncasecmp for PPC64.
6090 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6092 multiarch strncasecmp_l for PPC64.
6094 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6097 multiarch implementations.
6098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6099 (__libc_ifunc_impl_list): Likewise.
6100 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6102 multiarch strcasecmp for PPC64.
6103 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6105 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6106 multiarch strcasecmp_l for PPC64.
6108 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6113 (__libc_ifunc_impl_list): Likewise.
6114 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6115 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6116 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6119 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6124 (__libc_ifunc_impl_list): Likewise.
6125 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6126 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6127 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6130 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6135 (__libc_ifunc_impl_list): Likewise.
6136 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6137 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6139 rawmemrchr for PPC64.
6141 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6146 (__libc_ifunc_impl_list): Likewise.
6147 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6148 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6149 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6157 (__libc_ifunc_impl_list): Likewise.
6158 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6159 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6160 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6163 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6168 (__libc_ifunc_impl_list): Likewise.
6169 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6170 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6171 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6174 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6176 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6177 avoid cretion of __bzero symbol.
6178 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6180 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6182 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6185 multiarch implementations.
6186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6187 (__libc_ifunc_impl_list): Likewise.
6188 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6189 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6190 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6191 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6193 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6194 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6195 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6196 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6197 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6199 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6201 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6203 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6207 (__libc_ifunc_impl_list): Likewise.
6208 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6209 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6210 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6211 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6214 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6217 multiarch for POWER/PPC64.
6218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6219 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6226 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6229 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6232 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6233 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6234 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6235 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6236 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6237 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6238 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6239 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6240 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6241 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6242 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6243 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6244 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6245 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6254 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6258 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6260 * benchtests/Makefile (bench): Add exp2 and log2.
6261 (LDLIBS-bench-exp2): Add -lm.
6262 (LDLIBS-bench-log2): Likewise.
6263 * benchtests/exp2-inputs: New inputs file.
6264 * benchtests/log2-inputs: New inputs file.
6265 * benchtests/log-inputs: Add new inputs.
6266 * benchtests/tan-inputs: Likewise.
6268 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6270 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6272 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6273 csloww1, csloww2): ... from here.
6275 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6276 instead of structures.
6277 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6278 (POLYNOMIAL): Likewise.
6279 (TAYLOR_SLOW): Likewise.
6287 (bsloww1): Likewise.
6288 (bsloww2): Likewise.
6291 (csloww1): Likewise.
6292 (csloww2): Likewise.
6294 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6296 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6297 (__malloc_assert, __libc_realloc, __libc_calloc,
6298 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6300 * malloc/hooks.c (realloc_check): Likewise.
6302 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6304 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6305 * malloc/arena.c: Remove PER_THREAD conditional.
6306 [!PER_THREAD]: Remove code.
6307 (ptmalloc_unlock_all2): Likewise.
6308 (ptmalloc_init): Likewise.
6309 (_int_new_arena): Likewise.
6310 (arena_get2): Likewise.
6311 * malloc/hooks.c (__malloc_get_state): Likewise.
6312 (__malloc_set_state): Likewise.
6313 * malloc/malloc.c: Likewise.
6314 (struct malloc_state): Likewise.
6315 (struct malloc_par): Likewise.
6316 (__libc_realloc): Likewise.
6317 (__libc_mallopt): Likewise.
6319 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6321 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6323 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6325 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6326 macro to a function. Check for zero perturb_byte.
6327 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6329 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6331 * malloc/malloc.c: (force_reg): Remove.
6332 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6333 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6334 force_reg by atomic_forced_read.
6335 * malloc/arena.c (ptmalloc_init): Likewise.
6336 * malloc/hooks.c (top_check): Likewise.
6338 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6342 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6346 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6348 * math/auto-libm-test-in: Add tests of lgamma.
6349 * math/auto-libm-test-out: Regenerated.
6350 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6351 (M_LOG_2_SQRT_PIl): Likewise.
6352 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6353 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6355 (func_calc_desc): Add mpfr_f_f1 union field.
6364 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6365 (test_functions): Add lgamma.
6366 (calc_generic_results): Handle mpfr_f_f1.
6367 * sysdeps/i386/fpu/libm-test-ulps: Update.
6368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6370 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6372 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6373 __mpn_add_n for PowerPC64/POWER7.
6374 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6375 __mpn_sub_n for PowerPC64/POWER7.
6377 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6379 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6380 __mpn_addmul_1 for PowerPC64.
6381 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6382 __mpn_submul_1 for PowerPC64.
6383 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6385 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6388 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6391 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6393 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6397 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6399 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6400 add multiarch folders.
6401 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6402 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6403 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6404 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6405 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6406 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6407 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6408 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6409 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6410 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6411 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6419 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6422 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6428 multiarch __ieee754_hypot for PowerPC32.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6434 multiarch __ieee754_hypotf for PowerPC32.
6436 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6439 long_double_symbol only if __logbl is defined.
6440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6441 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6443 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6445 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6447 path for implementation.
6448 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6451 logb, and logbl multiarch implementations for PowerPC32.
6452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6457 multiarch logb for PowerPC32.
6458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6463 multiarch logbf for PowerPC32.
6464 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6468 multiarch logbl implementation for PowerPC32.
6470 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6473 and modff multiarch implementations.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6479 multiarch modf for PowerPC32.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6485 multiarch modff for PowerPC32.
6487 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6490 and lrintf multiarch implementations.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6496 multiarch lrint for PowerPC32.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6498 file: multiarch lrintf for PowerPC32.
6500 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6503 and lroundf multiarch implementations.
6504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6511 multiarch lround for PowerPC32.
6512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6513 file: multiarch lroundf for PowerPC32.
6515 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6518 copysign and copysignf multiarch implementations.
6519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6524 file: multiarch copysign for PowerPC32.
6525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6526 file: multiarch copysignf for PowerPC32.
6528 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6531 and truncf multiarch implementations.
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6537 multiarch trunc for PowerPC32.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6543 multiarch truncf for PowerPC32.
6545 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6548 and roundf multiarch implementations.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6554 multiarch round for PowerPC32.
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6560 multiarch roundf for PowerPC32.
6562 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6565 and floorf multiarch implementations.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6571 multiarch floor for PowerPC32.
6572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6577 multiarch floorf for PowerPC32.
6579 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6582 and ceilf multiarch implementations.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6588 multiarch ceil for PowerPC32.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6594 multiarch ceilf for PowerPC32.
6596 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6598 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6600 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6603 and finitef multiarch implementations.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6609 multiarch finite for PowerPC32.
6610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6613 file: multiarch finitef for PowerPC32.
6615 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6618 and isinff multiarch implementations.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6624 multiarch isinf for PowerPC32.
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6628 multiarch isinff for PowerPC32.
6630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6632 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6633 alias when __isnan is defined.
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6635 and isnanf multiarch implementations.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6645 multiarch isnan for PowerPC32.
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6651 multiarch isnanf for PowerPC32.
6653 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6656 and sqrtf multiarch implementations.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6662 multiarch sqrt for PowerPC32.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6668 multiarch sqrtf for PowerPC32.
6670 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6673 and llroundf multiarch implementations.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6681 file: multiarch llround for PowerPC32.
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6683 file: multiarch llroundf for PowerPC32.
6685 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6688 multiarch PowerPC32 fpu implementations.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6694 multiarch llrint for PowerPC32.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6702 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6706 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6714 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6715 multiarch wordcopy for PPC32.
6716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6719 (__libc_ifunc_impl_list): Likewise.
6720 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6721 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6722 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6723 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6724 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6725 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6727 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6729 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6737 multiarch wcscpy for PPC32.
6738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6741 (__libc_ifunc_impl_list): Likewise.
6742 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6743 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6744 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6745 sysdeps/powerpc/power6/wcscpy.c.
6747 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6757 multiarch wcsrchr for PPC32.
6758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6761 (__libc_ifunc_impl_list): Likewise.
6762 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6763 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6764 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6765 sysdeps/powerpc/power6/wcsrchr.c.
6767 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6775 multiarch wcschr for PPc32.
6776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6779 (__libc_ifunc_impl_list): Likewise.
6780 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6781 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6782 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6783 sysdeps/powerpc/power6/wcschr.c.
6785 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6788 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6790 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6791 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6792 file: multiarch strchr for PPC32.
6793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6796 (__libc_ifunc_impl_list): Likewise.
6798 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6800 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6802 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6807 multiarch strchrnul for PPC32.
6808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6811 (__libc_ifunc_impl_list): Likewise.
6813 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6818 multiarch strncasecmp for PPC32.
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6822 multiarch strncasecmp_l for PPC32.
6823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6824 strncasecmp multiarch objects.
6825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6826 (__libc_ifunc_impl_list): Likewise.
6828 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6830 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6832 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6833 multiarch strncasecmp for PPC32.
6834 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6837 multiarch strcasecmp_l for PPC32.
6838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6841 (__libc_ifunc_impl_list): Likewise.
6843 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6850 multiarch strncmp for PPC32.
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6854 (__libc_ifunc_impl_list): Likewise.
6856 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6858 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6859 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6862 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6866 (__libc_ifunc_impl_list): Likewise.
6868 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6870 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6872 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6878 (__libc_ifunc_impl_list): Likewise.
6880 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6886 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6887 multiarch rawmemchr for PPC32.
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6891 (__libc_ifunc_impl_list): Likewise.
6893 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6900 file: memrchr multiarch for PPC32.
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6904 (__libc_ifunc_impl_list): Likewise.
6906 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6908 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6913 multiarch memchr for PPC32.
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6917 (__libc_ifunc_impl_list): Likewise.
6919 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6921 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6927 file: multiarch mempcpy for PPC32.
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6931 (__libc_ifunc_impl_list): Likewise.
6933 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6939 multiarch bzero for PPC32.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6945 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6946 file: multiarch memset for PPC32.
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6949 memset multiarch objects.
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6951 (__libc_ifunc_impl_list): Likewise.
6953 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6960 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6964 (__libc_ifunc_impl_list): Likewise.
6966 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6977 multiarch memcpy for PPC32.
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6981 (__libc_ifunc_impl_list): Likewise.
6983 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6986 support multiarch for POWER/PPC32.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6991 Implies file to make multiarch folder appers before the fpu and
6992 default folder for power4 configuration.
6994 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6996 * scripts/bench.pl: Append volatile keyword to type.
6998 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7000 * sysdeps/sh/sotruss-lib.c: New file.
7001 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7003 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7007 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7010 * math/w_tgamma.c: Include <errno.h>.
7011 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7012 * math/w_tgammaf.c: Include <errno.h>.
7013 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7014 * math/w_tgammal.c: Include <errno.h>.
7015 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7016 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7017 underflow. Add more tgamma tests.
7018 * math/auto-libm-test-out: Regenerated.
7019 * sysdeps/i386/fpu/libm-test-ulps: Update.
7020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7022 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7023 sin, sinh, tan, tanh, tgamma, y0 and y1.
7024 * math/auto-libm-test-out: Regenerated.
7025 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7026 (TEST_COND_x86): Likewise.
7027 (M_E2l): Remove macro.
7029 (M_2_SQRT_PIl): Likewise.
7030 (M_SQRT_PIl): Likewise.
7031 (M_1_DIV_El): Likewise.
7032 (log_test_data): Use AUTO_TESTS_f_f.
7033 (log10_test_data): Likewise.
7034 (log1p_test_data): Likewise.
7035 (log2_test_data): Likewise.
7036 (sin_test_data): Likewise.
7037 (sin_tonearest_test_data): Likewise.
7038 (sin_towardzero_test_data): Likewise.
7039 (sin_downward_test_data): Likewise.
7040 (sin_upward_test_data): Likewise.
7041 (sinh_test_data): Likewise.
7042 (sinh_tonearest_test_data): Likewise.
7043 (sinh_towardzero_test_data): Likewise.
7044 (sinh_downward_test_data): Likewise.
7045 (sinh_upward_test_data): Likewise.
7046 (tan_test_data): Likewise.
7047 (tan_tonearest_test_data): Likewise.
7048 (tan_towardzero_test_data): Likewise.
7049 (tan_downward_test_data): Likewise.
7050 (tan_upward_test_data): Likewise.
7051 (tanh_test_data): Likewise.
7052 (tgamma_test_data): Likewise.
7053 (y0_test_data): Likewise.
7054 (y1_test_data): Likewise.
7055 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7056 (special_real_inputs): Add pi/4.
7057 * sysdeps/i386/fpu/libm-test-ulps: Update.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7060 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7062 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7063 "longjmp_target" static probes.
7064 (__longjmp): Rename to __longjmp_symbol.
7065 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7066 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7067 on which longjmp to generate.
7068 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7069 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7071 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7072 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7073 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7074 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7075 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7076 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7078 __longjmp_symbol based on which __longjmp to generate.
7079 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7081 (setjmp): Rename to setjmp_symbol.
7082 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7083 (_setjmp): Rename to _setjmp_symbol.
7084 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7085 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7086 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7087 which setjmp to generate.
7088 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7089 "longjmp_target" static probes.
7091 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7093 * benchtests/README: Add note about output arguments.
7094 * benchtests/bench-sincos.c: Remove file.
7095 * benchtests/sincos-inputs: New file.
7096 * scripts/bench.pl: Identify output arguments and define
7097 static variables for them.
7099 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7102 * Makefile (INSTALL): Add install-plain.texi as the primary
7104 * manual/install-plain.texi: New file.
7105 * manual/install.texi: Include node directive only for
7106 non-plaintext output.
7108 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7110 * stdlib/longlong.h: Update from GCC.
7114 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7115 * math/w_j0f.c (y0f): Likewise.
7116 * math/w_j0l.c (__y0l): Likewise.
7117 * math/w_j1.c (y1): Likewise.
7118 * math/w_j1f.c (y1f): Likewise.
7119 * math/w_j1l.c (__y1l): Likewise
7120 * math/w_jn.c (yn): Likewise.
7121 * math/w_jnf.c (ynf): Likewise.
7122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7123 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7124 value for Bessel function domain errors outside _SVID_ mode.
7125 Adjust sign of return value for yn (negative integer, 0).
7126 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7127 by zero in return for negative x and set sign appropriately for
7129 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7130 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7131 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7132 expectations in error cases.
7133 (y1_test_data): Likewise.
7134 (yn_test_data): Likewise.
7135 * sysdeps/i386/fpu/libm-test-ulps: Update.
7136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7138 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7140 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7141 "64" to "64-v1". Add "64-v2".
7142 (abi-64-options): Rename to ...
7143 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7144 (abi-64-condition): Rename to ...
7145 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7146 (abi-64-ld-soname): Rename to ...
7147 (abi-64-v1-ld-soname): ... this.
7148 (abi-64-v2-options): Define.
7149 (abi-64-v2-condition): Likewise.
7150 (abi-64-v2-ld-soname): Likewise.
7151 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7152 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7157 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7158 Alan Modra <amodra@gmail.com>
7160 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7161 New versions for use with the ELFv2 ABI.
7162 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7163 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7165 (struct La_ppc64v2_retval): Likewise.
7166 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7167 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7168 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7169 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7170 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7171 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7172 Do not save or restore CR.
7173 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7174 (_dl_profile_resolve): Do no save or restore CR. Support extended
7175 return values for ELFv2 ABI. Fix location of FPR return registers.
7176 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7177 updated values for _CALL_ELF == 2.
7178 (La_regs, La_retval, int_retval): Likewise.
7180 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7182 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7183 (FRAME_MIN_SIZE_PARM): Likewise.
7184 (FRAME_BACKCHAIN): Likewise.
7185 (FRAME_CR_SAVE): Likewise.
7186 (FRAME_LR_SAVE): Likewise.
7187 (FRAME_TOC_SAVE): Likewise.
7188 (FRAME_PARM_SAVE): Likewise.
7189 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7190 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7191 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7192 (call_mcount_parm_offset): New macro.
7193 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7194 (PROF): Use symbolic stack frame offsets.
7195 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7196 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7197 Redefine in terms of FRAME_MIN_SIZE.
7198 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7199 (_dl_profile_resolve): Likewise. Update comment.
7200 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7201 symbols stack frame offsets.
7202 (__sigsetjmp): Likewise.
7203 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7204 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7205 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7206 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7209 (FRAME_BACKCHAIN): Remove.
7210 (FRAME_CR_SAVE): Likewise.
7211 (FRAME_LR_SAVE): Likewise.
7212 (FRAME_COMPILER_DW): Likewise.
7213 (FRAME_LINKER_DW): Likewise.
7214 (FRAME_TOC_SAVE): Likewise.
7215 (FRAME_PARM_SAVE): Likewise.
7216 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7217 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7218 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7220 (CHECK_SP): Use symbolic stack frame offsets.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7222 zone" instead of caller's parameter save area for temp storage.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7224 Likewise. Also, use symbolic stack frame offsets.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7226 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7227 our own stack frame instead of the caller's.
7228 (__socket): Use symbolic stack frame offsets.
7230 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7231 Alan Modra <amodra@gmail.com>
7233 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7235 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7236 PPC64_LOCAL_ENTRY_OFFSET): Define.
7237 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7239 (elf_machine_fixup_plt): Call it.
7240 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7242 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7243 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7244 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7245 r2 before calling target.
7247 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7248 Alan Modra <amodra@gmail.com>
7250 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7251 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7252 versions of macros to support ELFv2 ABI.
7253 (LOCALENTRY): New macro.
7254 (ENTRY, EALIGN): Use it.
7255 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7256 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7257 fall through into ENTRY entry point.
7258 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7259 Only define if _CALL_ELF != 2.
7261 (elf_machine_matches_host): Verify ABI version matches.
7262 (RTLD_START): Use LOCALENTRY.
7263 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7264 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7265 (PLT_ENTRY_WORDS): New macro.
7266 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7267 (elf_machine_runtime_setup): Support ELFv2 ABI.
7268 (elf_machine_fixup_plt): Likewise.
7269 (elf_machine_plt_conflict): Likewise.
7270 (resolve_ifunc): Likewise.
7271 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7272 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7275 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7277 (makecontext): Support ELFv2 ABI.
7278 * elf/elf.h (EF_PPC64_ABI): Define.
7280 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7282 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7283 New assembler macro.
7284 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7285 [ASSEMBLER] (ENTRY): ... but instead here ...
7286 [ASSEMBLER] (EALIGN): ... and here.
7287 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7288 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7289 [!ASSEMBLER] (ENTRY_2): Use it.
7290 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7291 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7292 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7293 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7294 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7296 Use PPC64_LOAD_FUNCPTR.
7298 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7300 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7302 2013-12-04 Alan Modra <amodra@gmail.com>
7304 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7305 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7306 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7307 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7310 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7311 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7312 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7313 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7314 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7316 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7319 (__makecontext): Fix incorrect CFI when backtracing out of
7320 context created via makecontext.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7322 (__setcontext): Fix incorrect CFI during switch to new context.
7323 (__novec_setcontext): Likewise.
7325 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7328 * time/strptime_l.c (__strptime_internal): Allow modifiers
7330 * time/tst-strptime.c (day_tests): Add testcase.
7333 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7335 * scripts/bench.pl: Skip over blank lines.
7337 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7340 * manual/time.texi (Calendar Time): Clarify what timezone functions
7343 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7347 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7349 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7351 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7352 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7353 * debug/memset_chk.c (__memset_chk): Likewise.
7354 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7355 * debug/strncpy_chk.c: Likewise.
7357 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7361 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7362 (__ieee754_exp): For possibly underflowing results, check size of
7363 result and force underflow exception if required.
7364 * math/auto-libm-test-in: Add more tests of exp.
7365 * math/auto-libm-test-out: Regenerated.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7370 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7371 * math/w_exp2f.c (__exp2f): Likewise.
7372 * math/w_exp2l.c (__exp2l): Likewise.
7373 * math/auto-libm-test-in: Do not allow missing errno on exp2
7375 * math/auto-libm-test-out: Regenerated.
7377 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7380 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7381 handle filename validation.
7382 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7385 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7388 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7389 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7390 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7392 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7393 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7394 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7396 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7397 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7398 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7399 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7400 Add more erfc tests.
7401 * math/auto-libm-test-out: Regenerated.
7402 * sysdeps/i386/fpu/libm-test-ulps: Update.
7403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7405 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7406 exp2, expm1, j0 and j1.
7407 * math/auto-libm-test-out: Regenerated.
7408 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7409 (erfc_test_data): Likewise.
7410 (exp_test_data): Likewise.
7411 (exp_tonearest_test_data): Likewise.
7412 (exp_towardzero_test_data): Likewise.
7413 (exp_downward_test_data): Likewise.
7414 (exp_upward_test_data): Likewise.
7415 (exp10_test_data): Likewise.
7416 (exp2_test_data): Likewise.
7417 (expm1_test_data): Likewise.
7418 (j0_test_data): Likewise.
7419 (j1_test_data): Likewise.
7420 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7421 (input_flag_type): Add flag_xfail_rounding.
7422 (input_flags): Add xfail-rounding.
7423 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7424 (output_for_one_input_case): Handle flag_xfail_rounding.
7425 * sysdeps/i386/fpu/libm-test-ulps: Update.
7426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7428 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7431 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7434 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7437 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7438 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7439 (STAP_PROBE0): New macro.
7440 (STAP_PROBE1): Likewise.
7441 (STAP_PROBE2): Likewise.
7442 (STAP_PROBE3): Likewise.
7443 (STAP_PROBE4): Likewise.
7445 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7447 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7449 2013-12-02 Steve Ellcey <sellcey@mips.com>
7451 * benchtests/Makefile (bench): Add sqrt.
7452 (LDLIBS-bench-sqrt): New.
7453 * benchtests/sqrt-input: New.
7455 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7457 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7458 (GAIH_EAI): Likewise.
7459 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7460 (gaih_inet): Likewise.
7461 (getaddrinfo): Don't use GAIH_EAI.
7463 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7464 (struct gaih): Remove definition.
7466 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7468 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7469 Use HERRNOP directly.
7471 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7475 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7477 * math/gen-auto-libm-tests.c (test_functions): Add more
7478 single-argument functions.
7479 (special_fill_pi_2): New function.
7480 (special_fill_minus_pi_2): Likewise.
7481 (special_fill_pi_6): Likewise.
7482 (special_fill_minus_pi_6): Likewise.
7483 (special_fill_pi_3): Likewise.
7484 (special_fill_2pi_3): Likewise.
7485 (special_fill_e): Likewise.
7486 (special_fill_1_e): Likewise.
7487 (special_fill_e_minus_1): Likewise.
7488 (special_real_inputs): Add more special inputs.
7489 (output_for_one_input_case): Do not require ERANGE on underflow to
7490 zero if round-to-nearest result does not underflow to zero, unless
7491 exact results required.
7492 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7493 atan, atanh, cbrt, cos and cosh.
7494 * math/auto-libm-test-out: Regenerated.
7495 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7496 (acos_tonearest_test_data): Likewise.
7497 (acos_towardzero_test_data): Likewise.
7498 (acos_downward_test_data): Likewise.
7499 (acos_upward_test_data): Likewise.
7500 (acosh_test_data): Likewise.
7501 (asin_test_data): Likewise.
7502 (asin_tonearest_test_data): Likewise.
7503 (asin_towardzero_test_data): Likewise.
7504 (asin_upward_test_data): Likewise.
7505 (asinh_test_data): Likewise.
7506 (atan_test_data): Likewise.
7507 (atanh_test_data): Likewise.
7508 (cbrt_test_data): Likewise.
7509 (cos_test_data): Likewise.
7510 (cos_tonearest_test_data): Likewise.
7511 (cos_towardzero_test_data): Likewise.
7512 (cos_downward_test_data): Likewise.
7513 (cos_upward_test_data): Likewise.
7514 (cosh_test_data): Likewise.
7515 (cosh_tonearest_test_data): Likewise.
7516 (cosh_towardzero_test_data): Likewise.
7517 (cosh_downward_test_data): Likewise.
7518 (cosh_upward_test_data): Likewise.
7519 * sysdeps/i386/fpu/libm-test-ulps: Update.
7520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7522 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7525 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7526 * math/w_exp10f.c (__exp10f): Likewise.
7527 * math/w_exp10l.c (__exp10l): Likewise.
7528 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7529 errno settings in existing tests.
7532 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7533 precision control set to double precision.
7534 * sysdeps/i386/fpu/w_sqrt.c: New file.
7535 * math/auto-libm-test-in: Add more tests.
7536 * math/auto-libm-test-out: Update.
7538 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7539 (sqrt_test_tonearest): New function.
7540 (sqrt_towardzero_test_data): New variable.
7541 (sqrt_test_towardzero): New function.
7542 (sqrt_downward_test_data): New variable.
7543 (sqrt_test_downward): New function.
7544 (sqrt_upward_test_data): New variable.
7545 (sqrt_test_upward): New function.
7546 (main): Call the new functions.
7548 * math/gen-auto-libm-tests.c: New file.
7549 * math/auto-libm-test-in: Likewise.
7550 * math/auto-libm-test-out: New generated file.
7551 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7553 (%beautify): Add generated representations of zero.
7554 (top level): Set $auto_input and call parse_auto_input.
7555 (beautify): Remove trailing "f" from hex float constants.
7556 (parse_args): Handle XFAIL_TEST.
7557 (convert_condition): New function.
7558 (or_value): Likewise.
7559 (or_cond_value): Likewise.
7560 (generate_testfile): Handle AUTO_TESTS_* lines.
7561 (parse_auto_input): New function.
7562 * math/libm-test.inc (XFAIL_TEST): New macro.
7563 (ERRNO_UNCHANGED): Update value.
7564 (ERRNO_EDOM): Likewise.
7565 (ERRNO_ERANGE): Likewise.
7566 (IGNORE_RESULT): Likewise.
7567 (TEST_COND_flt_32): New macro.
7568 (TEST_COND_dbl_64): Likewise.
7569 (TEST_COND_ldbl_96_intel): Likewise.
7570 (TEST_COND_ldbl_96_m68k): Likewise.
7571 (TEST_COND_ldbl_128): Likewise.
7572 (TEST_COND_ldbl_128ibm): Likewise.
7573 (TEST_COND_long32): Likewise.
7574 (TEST_COND_long64): Likewise.
7575 (TEST_COND_before_rounding): Likewise.
7576 (TEST_COND_after_rounding): Likewise.
7577 (enable_test): Handle XFAIL_TEST flag.
7578 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7579 with finite results.
7580 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7583 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7584 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7587 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7588 __tls_get_addr_internal instead of __tls_get_offset in order to
7589 avoid GOT pointer dependency. Make rtld export
7590 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7591 __tls_get_addr since we are a __tls_get_offset platform.
7592 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7593 GOT pointer being set up before.
7594 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7596 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7598 * manual/math.texi (Errors in Math Functions): Document accuracy
7602 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7603 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7619 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7620 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7621 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7622 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7623 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7625 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7627 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7629 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7630 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7631 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7632 atomic-feupdateenv and flt-rounds.
7633 * sysdeps/powerpc/nofpu/Versions (libc): Add
7634 __atomic_feholdexcept, __atomic_feclearexcept,
7635 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7636 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7637 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7638 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7639 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7644 * manual/arith.texi (FP Exceptions): Document that exceptions may
7645 not be raised when matherr is used.
7646 (Math Error Reporting): Document overflow in directed rounding
7647 modes. Document that errno may not be set when finite values are
7648 returned on overflow. Document intent to set errno on underflow
7649 only for underflow to zero.
7652 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7653 round-to-nearest then adjust result for other rounding modes.
7654 * include/fenv.h (fegetround): Use libm_hidden_proto.
7655 * math/fegetround.c (fegetround): Use libm_hidden_def.
7656 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7657 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7658 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7659 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7661 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7662 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7663 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7664 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7666 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7669 * nss/Versions (libnss_files): Add
7670 _nss_files_gethostbyname3_r.
7671 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7673 (HOST_DB_LOOKUP): Remove macro.
7674 (_nss_files_gethostbyname_r): Implement function without the
7675 HOST_DB_LOOKUP macro.
7676 (_nss_files_gethostbyname2_r): Likewise.
7678 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7680 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7682 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7684 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7685 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7688 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7690 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7691 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7692 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7693 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7694 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7695 __fe_nomask_env_priv and attribute_hidden.
7696 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7697 (libc_feupdateenv_test_ppc): Likewise.
7698 (libc_feresetround_ppc): Likewise.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7700 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7701 compat_symbol macro.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7703 (__fe_nomask_env): Likewise.
7704 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7706 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7708 * string/Makefile: Remove ifunc tests.
7709 * string/test-string.h: Define TEST_IFUNC.
7710 * string/test-bcopy-ifunc.c: Remove.
7711 * string/test-bzero-ifunc.c: Likewise.
7712 * string/test-memccpy-ifunc.c: Likewise.
7713 * string/test-memchr-ifunc.c: Likewise.
7714 * string/test-memcmp-ifunc.c: Likewise.
7715 * string/test-memcpy-ifunc.c: Likewise.
7716 * string/test-memmem-ifunc.c: Likewise.
7717 * string/test-memmove-ifunc.c: Likewise.
7718 * string/test-mempcpy-ifunc.c: Likewise.
7719 * string/test-memrchr-ifunc.c: Likewise.
7720 * string/test-memset-ifunc.c: Likewise.
7721 * string/test-rawmemchr-ifunc.c: Likewise.
7722 * string/test-stpcpy-ifunc.c: Likewise.
7723 * string/test-stpncpy-ifunc.c: Likewise.
7724 * string/test-strcasecmp-ifunc.c: Likewise.
7725 * string/test-strcasestr-ifunc.c: Likewise.
7726 * string/test-strcat-ifunc.c: Likewise.
7727 * string/test-strchr-ifunc.c: Likewise.
7728 * string/test-strchrnul-ifunc.c: Likewise.
7729 * string/test-strcmp-ifunc.c: Likewise.
7730 * string/test-strcpy-ifunc.c: Likewise.
7731 * string/test-strcspn-ifunc.c: Likewise.
7732 * string/test-strlen-ifunc.c: Likewise.
7733 * string/test-strncasecmp-ifunc.c: Likewise.
7734 * string/test-strncat-ifunc.c: Likewise.
7735 * string/test-strncmp-ifunc.c: Likewise.
7736 * string/test-strncpy-ifunc.c: Likewise.
7737 * string/test-strnlen-ifunc.c: Likewise.
7738 * string/test-strpbrk-ifunc.c: Likewise.
7739 * string/test-strrchr-ifunc.c: Likewise.
7740 * string/test-strspn-ifunc.c: Likewise.
7741 * string/test-strstr-ifunc.c: Likewise.
7743 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7745 * benchtests/Makefile: Remove ifunc tests.
7746 * benchtests/bench-string.h: Define TEST_IFUNC.
7747 * benchtests/bench-bcopy-ifunc.c: Remove.
7748 * benchtests/bench-bzero-ifunc.c: Likewise.
7749 * benchtests/bench-memccpy-ifunc.c: Likewise.
7750 * benchtests/bench-memchr-ifunc.c: Likewise.
7751 * benchtests/bench-memcmp-ifunc.c: Likewise.
7752 * benchtests/bench-memcpy-ifunc.c: Likewise.
7753 * benchtests/bench-memmem-ifunc.c: Likewise.
7754 * benchtests/bench-memmove-ifunc.c: Likewise.
7755 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7756 * benchtests/bench-memrchr-ifunc.c: Likewise.
7757 * benchtests/bench-memset-ifunc.c: Likewise.
7758 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7759 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7760 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7761 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7762 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7763 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7764 * benchtests/bench-strcat-ifunc.c: Likewise.
7765 * benchtests/bench-strchr-ifunc.c: Likewise.
7766 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7767 * benchtests/bench-strcmp-ifunc.c: Likewise.
7768 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7769 * benchtests/bench-strcpy-ifunc.c: Likewise.
7770 * benchtests/bench-strcspn-ifunc.c: Likewise.
7771 * benchtests/bench-strlen-ifunc.c: Likewise.
7772 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7773 * benchtests/bench-strncat-ifunc.c: Likewise.
7774 * benchtests/bench-strncmp-ifunc.c: Likewise.
7775 * benchtests/bench-strncpy-ifunc.c: Likewise.
7776 * benchtests/bench-strnlen-ifunc.c: Likewise.
7777 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7778 * benchtests/bench-strrchr-ifunc.c: Likewise.
7779 * benchtests/bench-strsep-ifunc.c: Likewise.
7780 * benchtests/bench-strspn-ifunc.c: Likewise.
7781 * benchtests/bench-strstr-ifunc.c: Likewise.
7783 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7785 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7787 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7789 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7790 * rt/aio.h: Likewise.
7791 * sysdeps/gnu/bits/utmp.h: Likewise.
7792 * sysdeps/gnu/bits/utmpx.h: Likewise.
7793 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7794 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7795 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7796 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7797 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7798 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7799 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7800 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7803 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7808 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7809 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7810 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7811 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7812 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7813 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7814 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7815 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7816 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7819 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7826 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7827 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7828 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7829 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7830 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7831 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7832 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7833 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7834 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7836 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7839 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7840 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7842 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7844 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7845 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7848 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7851 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7852 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7853 (__fesetround): Remove define.
7854 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7855 rounding and exceptions handling.
7856 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7857 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7858 (__fe_nomask_env): Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7860 __fegetround instead of fegetround.
7861 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7862 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7864 2013-11-21 Roland McGrath <roland@hack.frob.com>
7866 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7869 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7871 2013-11-21 Meador Inge <meadori@codesourcery.com>
7874 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7875 (encrypt_r): Likewise.
7876 * malloc/obstack.h (obstack_free): Likewise.
7877 * posix/unistd.h (encrypt): Likewise.
7879 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7881 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7882 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7883 DL_CALL_DT_FINI() that call the functions directly.
7884 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7885 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7886 * elf/dl-fini.c: Likewise.
7888 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7890 * malloc/hooks.c (memalign_check): Add alignment rounding.
7891 * malloc/malloc.c (_mid_memalign): New function.
7892 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7893 Implement by calling _mid_memalign.
7894 * manual/probes.texi (Memory Allocation Probes): Remove
7895 memory_valloc_retry and memory_pvalloc_retry.
7897 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7899 * locale/programs/locarchive.c (open_archive): Add const
7900 qualifier to ARCHIVEFNAME and copy default fname to
7904 * libio/tst-widetext.input: Rename Oriya to Odia.
7905 * locale/iso-639.def: Likewise.
7907 * manual/probes.texi (Mathematical Function Probes): Add
7908 documentation for sin, cos, asin and acos probes.
7909 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7910 (__sin32): Add slowasin probe.
7911 (__cos32): Add slowacos probe.
7912 (__mpsin): Add slowsin probe.
7913 (__mpcos): Add slowcos probe.
7915 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7918 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7919 thread-local __sim_exceptions_thread and global
7920 __sim_exceptions_global.
7921 (__sim_disabled_exceptions): Change to thread-local
7922 __sim_disabled_exceptions_thread and global
7923 __sim_disabled_exceptions_global.
7924 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7925 and global __sim_round_mode_global.
7926 (__simulate_exceptions): Use thread-local floating-point state and
7927 set global state from it as needed.
7928 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7929 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7930 __sim_round_mode_thread.
7931 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7932 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7933 and global __sim_exceptions_global.
7934 (__sim_disabled_exceptions): Change to thread-local
7935 __sim_disabled_exceptions_thread and global
7936 __sim_disabled_exceptions_global.
7937 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7938 and global __sim_round_mode_global.
7939 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7940 (SIM_SET_GLOBAL): Likewise.
7941 * sysdeps/powerpc/soft-fp/sfp-machine.h
7942 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7943 __sim_round_mode_thread.
7944 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7945 __sim_disabled_exceptions_thread.
7946 (__sim_exceptions): Change to __sim_exceptions_thread.
7947 (__sim_disabled_exceptions): Change to
7948 __sim_disabled_exceptions_thread.
7949 (__sim_round_mode): Change to __sim_round_mode_thread.
7950 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7951 thread-local floating-point state and set global state from it as
7953 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7954 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7955 (__sim_disabled_exceptions): Remove extern declaration.
7956 (feenableexcept): Use thread-local floating-point state and set
7957 global state from it as needed.
7958 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7960 (__sim_disabled_exceptions): Likewise.
7961 (__sim_round_mode): Likewise.
7962 (__fegetenv): Use thread-local floating-point state.
7963 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7964 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7965 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7966 floating-point state and set global state from it as needed.
7967 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7968 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7969 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7971 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7972 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7974 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7975 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7976 Use __sim_round_mode_thread.
7977 * math/test-fenv-tls.c: New file.
7978 * math/Makefile (tests): Add test-fenv-tls.
7979 ($(objpfx)test-fenv-tls): Depend on
7980 $(common-objpfx)nptl/libpthread.so.
7982 2013-11-19 Andreas Schwab <schwab@suse.de>
7984 * locale/programs/locale.c (show_info): Decode wordarray elements.
7985 * locale/categories.def (LC_MONETARY): Add element for
7986 _NL_MONETARY_CRNCYSTR.
7987 * locale/C-monetary.c (conversion_rate): New variable.
7988 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7991 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7993 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7994 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7996 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7998 * elf/Makefile (tst-auxv): New test.
7999 * elf/tst-auxv.c: New
8000 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8002 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8004 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8005 (hidden_proto): Caller changed.
8006 (hidden_tls_proto): New macro.
8007 (libc_hidden_tls_proto): Likewise.
8008 (rtld_hidden_tls_proto): Likewise.
8009 (libm_hidden_tls_proto): Likewise.
8010 (libresolv_hidden_tls_proto): Likewise.
8011 (librt_hidden_tls_proto): Likewise.
8012 (libdl_hidden_tls_proto): Likewise.
8013 (libnss_files_hidden_tls_proto): Likewise.
8014 (libnsl_hidden_tls_proto): Likewise.
8015 (libnss_nisplus_hidden_tls_proto): Likewise.
8016 (libutil_hidden_tls_proto): Likewise.
8018 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8021 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8022 (decompose_rpath): Defer expansion to fillin_rpath.
8023 (_dl_init_paths): Pass linkmap to fillin_rpath.
8025 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8027 * benchtests/Makefile: Add strsep.
8028 * benchtests/bench-strsep.c: New file: strsep benchtest.
8029 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8031 2013-11-18 Andreas Schwab <schwab@suse.de>
8033 * locale/programs/locale.c (show_info) [case byte]: Check for
8034 '\377' instead of '\177'.
8035 * locale/C-monetary.c (not_available): Always use "\377".
8036 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8037 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8038 detect unavailable sign_posn locale elements.
8039 * locale/localeconv.c (__localeconv): For grouping and
8040 mon_grouping handle "\177" and "\377" like no grouping.
8041 (INT_ELEM): New macro. Use it to set all numeric members.
8042 * locale/programs/ld-monetary.c (monetary_read)
8043 <tok_mon_grouping>: Normalize single -1 to the empty string.
8044 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8047 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8050 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8051 when we match (nil).
8052 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8054 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8056 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8057 (NO_TEST_INLINE): Update value.
8058 (ERRNO_UNCHANGED): Likewise.
8059 (ERRNO_EDOM): Likewise.
8060 (ERRNO_ERANGE): Likewise.
8061 (IGNORE_RESULT): Likewise.
8062 (check_float_internal): Check signs of NaN results if
8064 (check_complex): Pass TEST_NAN_SIGN flag through to second
8065 check_float_internal call.
8066 (copysign_test_data): Add tests with quiet NaNs as second
8067 argument. Use TEST_NAN_SIGN.
8068 (fabs_test_data): Add test of negative quiet NaN argument. Use
8070 (signbit_test_data): Add tests of quiet NaN argument.
8071 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8073 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8075 (parse_args): Handle function results specified as IGNORE.
8076 * math/libm-test.inc (IGNORE_RESULT): New macro.
8077 (check_float_internal): Do not check numerical result if flag
8079 (check_complex): Pass through IGNORE_RESULT to second
8080 check_float_internal call.
8081 (check_int): Do not check numerical result if flag IGNORE_RESULT
8083 (check_long): Likewise.
8084 (check_bool): Likewise.
8085 (check_longlong): Likewise.
8086 (lrint_test_data): Add tests of infinite and NaN arguments.
8087 (lrint_tonearest_test_data): Likewise.
8088 (lrint_towardzero_test_data): Likewise.
8089 (lrint_downward_test_data): Likewise.
8090 (lrint_upward_test_data): Likewise.
8091 (llrint_test_data): Likewise.
8092 (llrint_tonearest_test_data): Likewise.
8093 (llrint_towardzero_test_data): Likewise.
8094 (llrint_downward_test_data): Likewise.
8095 (llrint_upward_test_data): Likewise.
8096 (lround_test_data): Likewise.
8097 (llround_test_data): Likewise.
8099 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8100 (ERRNO_UNCHANGED): Update value.
8101 (ERRNO_EDOM): Likewise.
8102 (ERRNO_ERANGE): Likewise.
8103 (NO_TEST_INLINE_FLOAT): New macro.
8104 (NO_TEST_INLINE_DOUBLE): Likewise.
8105 (enable_test): New function.
8106 (RUN_TEST_f_f): Check enable_test before running test.
8107 (RUN_TEST_2_f): Likewise.
8108 (RUN_TEST_fff_f): Likewise.
8109 (RUN_TEST_c_f): Likewise.
8110 (RUN_TEST_f_f1): Likewise.
8111 (RUN_TEST_fF_f1): Likewise.
8112 (RUN_TEST_fI_f1): Likewise.
8113 (RUN_TEST_ffI_f1): Likewise.
8114 (RUN_TEST_c_c): Likewise.
8115 (RUN_TEST_cc_c): Likewise.
8116 (RUN_TEST_f_i): Likewise.
8117 (RUN_TEST_f_i_tg): Likewise.
8118 (RUN_TEST_ff_i_tg): Likewise.
8119 (RUN_TEST_f_b): Likewise.
8120 (RUN_TEST_f_b_tg): Likewise.
8121 (RUN_TEST_f_l): Likewise.
8122 (RUN_TEST_f_L): Likewise.
8123 (RUN_TEST_fFF_11): Likewise.
8124 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8126 (cosh_test_data): Likewise.
8127 (exp_test_data): Likewise.
8128 (expm1_test_data): Likewise.
8129 (hypot_test_data): Likewise.
8130 (pow_test_data): Likewise.
8131 (sinh_test_data): Likewise.
8132 (tanh_test_data): Likewise.
8133 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8136 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8137 tests with quiet NaN input and output.
8138 (acosh_test_data): Likewise.
8139 (asin_test_data): Likewise.
8140 (asinh_test_data): Likewise.
8141 (atan_test_data): Likewise.
8142 (atanh_test_data): Likewise.
8143 (atan2_test_data): Likewise.
8144 (cbrt_test_data): Likewise.
8145 (cos_test_data): Likewise.
8146 (cosh_test_data): Likewise.
8147 (erf_test_data): Likewise.
8148 (erfc_test_data): Likewise.
8149 (exp_test_data): Likewise.
8150 (exp10_test_data): Likewise.
8151 (exp2_test_data): Likewise.
8152 (expm1_test_data): Likewise.
8153 (hypot_test_data): Likewise.
8154 (j0_test_data): Likewise.
8155 (j1_test_data): Likewise.
8156 (jn_test_data): Likewise.
8157 (lgamma_test_data): Likewise.
8158 (log_test_data): Likewise.
8159 (log10_test_data): Likewise.
8160 (log1p_test_data): Likewise.
8161 (log2_test_data): Likewise.
8162 (pow_test_data): Likewise.
8163 (scalb_test_data): Likewise.
8164 (sin_test_data): Likewise.
8165 (sincos_test_data): Likewise.
8166 (sinh_test_data): Likewise.
8167 (tan_test_data): Likewise.
8168 (tanh_test_data): Likewise.
8169 (tgamma_test_data): Likewise.
8170 (y0_test_data): Likewise.
8171 (y1_test_data): Likewise.
8172 (yn_test_data): Likewise.
8175 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8176 argument being NaN and avoid computations with second argument in
8178 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8179 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8180 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8182 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8184 * locale/iso-639.def: Add Chitwani Tharu (the).
8186 2013-11-14 Andreas Schwab <schwab@suse.de>
8188 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8189 word instead of empty string.
8191 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8194 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8196 (__fe_nomask_env): Likewise.
8198 2013-11-13 Steve Ellcey <sellcey@mips.com>
8200 * benchtests/bench-timing.h: Include time.h.
8202 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8205 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8207 * sysdeps/unix/sysv/linux/configure: Regenerated.
8209 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8212 * stdlib/strtod_l.c (round_and_return): Do not consider
8213 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8214 exponent one less than half the least subnormal exponent.
8215 * stdlib/test-strtod-round-data: Add more tests.
8216 * stdlib/tst-strtod-round.c (tests): Regenerated.
8218 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8221 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8222 (__fe_mask_env): Likewise.
8223 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8224 libm_hidden_proto and add function prototype.
8225 (__fe_mask_env): Add function prototype.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8227 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8229 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8231 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8233 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8235 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8236 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8238 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8240 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8241 of htab_find_slot().
8243 2013-11-11 David S. Miller <davem@davemloft.net>
8246 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8247 symbol in the non-vis3 case in static builds.
8248 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8249 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8250 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8251 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8253 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8256 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8259 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8261 * benchtests/Makefile: Add bench-strtod.
8262 * benchtests/bench-strtod.c: New file: strtod benchtest
8264 2013-11-11 Andreas Schwab <schwab@suse.de>
8267 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8268 terminating NUL in key length.
8270 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8272 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8273 Add artificial ODP entry for vDSO symbol for PPC64.
8274 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8275 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8277 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8280 * nss/getent.c (services_keys): Recognize services starting with digit.
8282 2013-11-06 David S. Miller <davem@davemloft.net>
8285 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8286 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8288 2013-11-06 Will Newton <will.newton@linaro.org>
8290 * manual/memory.texi (Malloc Examples): Remove register
8291 keyword from examples.
8293 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8295 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8297 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8300 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8301 depending on [__GCC_IEC_559 > 0].
8302 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8303 depending on [__GCC_IEC_559_COMPLEX > 0].
8305 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8307 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8310 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8312 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8314 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8317 * malloc/malloc (malloc_info): Do not handle first bin as
8320 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8322 * locale/iso-639.def: Add Central Nahuatl (nhn).
8324 2013-11-01 Bruno Haible <bruno@clisp.org>
8327 * manual/math.texi (BSD Random): Specify range upper bound as
8330 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8332 * locale/iso-639.def: Add Meadow Mari (mhr).
8334 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8336 [BZ #14752], [BZ #15763]
8337 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8339 * rt/tst_shm.c: Add test for escaping directory.
8341 2013-10-31 Andreas Schwab <schwab@suse.de>
8344 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8345 followed by 'x' as part of digit sequence.
8346 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8348 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8351 * configure.ac: allow GNU Make 4.0 and greater.
8352 * configure: Regenerated.
8354 2013-10-30 Will Newton <will.newton@linaro.org>
8357 * malloc/hooks.c (memalign_check): Limit alignment to the
8358 maximum representable power of two.
8359 * malloc/malloc.c (__libc_memalign): Likewise.
8360 * malloc/tst-memalign.c (do_test): Add test for very
8361 large alignment values.
8362 * malloc/tst-posix_memalign.c (do_test): Likewise.
8364 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8367 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8368 (munmap_chunk): Likewise.
8369 (mremap_chunk): Likewise.
8371 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8374 * stdlib/div.c (div): Remove obsolete code.
8375 * stdlib/ldiv.c (ldiv): Likewise.
8376 * stdlib/lldiv.c (lldiv): Likewise.
8378 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8381 * nss/nss_files/files-XXX.c (get_contents_ret): New
8383 (get_contents): New function.
8384 (internal_getent): Use it. Expand size of LINEBUFLEN.
8386 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8388 * configure.in: Moved to ...
8389 * configure.ac: ... here. Change reference to configure.in
8391 * sysdeps/arm/preconfigure.ac: ... here.
8392 configure.in to configure.ac.
8393 * sysdeps/gnu/configure.in: Moved to ...
8394 * sysdeps/gnu/configure.ac: ... here.
8395 * sysdeps/i386/configure.in: Moved to ...
8396 * sysdeps/i386/configure.ac: ... here.
8397 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8398 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8399 * sysdeps/mach/configure.in: Moved to ...
8400 * sysdeps/mach/configure.ac: ... here.
8401 * sysdeps/mach/hurd/configure.in: Moved to ...
8402 * sysdeps/mach/hurd/configure.ac: ... here.
8403 * sysdeps/powerpc/configure.in: Moved to ...
8404 * sysdeps/powerpc/configure.ac: ... here.
8405 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8406 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8407 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8408 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8409 * sysdeps/s390/s390-32/configure.in: Moved to ...
8410 * sysdeps/s390/s390-32/configure.ac: ... here.
8411 * sysdeps/s390/s390-64/configure.in: Moved to ...
8412 * sysdeps/s390/s390-64/configure.ac: ... here.
8413 * sysdeps/sh/configure.in: Moved to ...
8414 * sysdeps/sh/configure.ac: ... here.
8415 * sysdeps/sparc/configure.in: Moved to ...
8416 * sysdeps/sparc/configure.ac: ... here.
8417 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8418 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8419 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8420 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8421 * sysdeps/x86_64/configure.in: Moved to ...
8422 * sysdeps/x86_64/configure.ac: ... here.
8423 * sysdeps/x86_64/preconfigure.in: Moved to ...
8424 * sysdeps/x86_64/preconfigure.ac: ... here.
8425 * aclocal.m4: Change reference to configure.in to configure.ac.
8426 * config.h.in: Likewise.
8427 * manual/install.texi: Likewise.
8428 * manual/maint.texi: Likewise.
8429 * Makefile: Likewise.
8430 * malloc/Makefile: Likewise.
8431 * nscd/Makefile: Likewise.
8432 * Makeconfig: Change reference to configure.in and
8433 preconfigure.in to configure.ac and preconfigure.ac
8435 * INSTALL: Regenerated.
8436 * configure: Likewise.
8437 * sysdeps/gnu/configure: Likewise.
8438 * sysdeps/i386/configure: Likewise.
8439 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8440 * sysdeps/mach/configure: Likewise.
8441 * sysdeps/mach/hurd/configure: Likewise.
8442 * sysdeps/powerpc/configure: Likewise.
8443 * sysdeps/powerpc/powerpc32/configure: Likewise.
8444 * sysdeps/powerpc/powerpc64/configure: Likewise.
8445 * sysdeps/s390/s390-32/configure: Likewise.
8446 * sysdeps/s390/s390-64/configure: Likewise.
8447 * sysdeps/sh/configure: Likewise.
8448 * sysdeps/sparc/configure: Likewise.
8449 * sysdeps/unix/sysv/linux/configure: Likewise.
8450 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8451 * sysdeps/x86_64/configure: Likewise.
8452 * sysdeps/x86_64/preconfigure: Likewise.
8454 2013-10-29 Andreas Schwab <schwab@suse.de>
8456 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8458 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8460 * benchtests/pow-inputs: Add new inputs.
8462 * benchtests/exp-inputs: Add new inputs.
8464 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8465 conditional check for return value.
8466 (__cos32): Likewise.
8468 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8470 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8471 to provide a boost for large inputs with word alignment.
8472 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8473 implementation based on optimized PPC64 strcpy.
8474 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8475 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8476 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8477 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8479 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8482 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8484 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8487 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8488 * time/tst-strptime.c (day_tests): Add testcase.
8490 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8493 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8495 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8498 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8499 MAP_FAILED on error.
8501 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8504 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8505 heap for large requests.
8507 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8510 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8511 result if the result has no associated interface.
8512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8513 interface for all 127.X.Y.Z addresses.
8515 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8517 * locale/iso-639.def: Add Ligurian (lij)
8519 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8522 * sunrpc/rpc_main.c: Document rpcgen -5.
8524 2013-10-19 Michael Stahl <mstahl@redhat.com>
8526 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8528 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8531 * posix/glob.c: Match only directories when trailing slash is present.
8532 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8533 (main): Add testcase.
8535 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8538 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8540 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8542 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8543 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8544 AUTH_DES and cindex for FIPS 140-2.
8545 (DES Encryption): Add cindex FIPS 46-3.
8547 * locale/locarchive.h (struct locarhandle): Add fname.
8548 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8549 if an optional argument was specified to --list-archive,
8551 * locale/programs/locarchive.c (show_archive_content): Take new
8552 argument fname and pass it via ah.fname to open_archive.
8553 * locale/programs/localedef.h: Update decl.
8554 (open_archive): If AH->fname is non-null, open that file
8555 rather than the default file name, and don't ignore ENOENT.
8556 (create_archive): Set AH.fname to NULL.
8557 (delete_locales_from_archive): Likewise.
8558 (add_locales_to_archive): Likewise.
8559 * locale/programs/locfile.c (write_all_categories): Likewise.
8561 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8562 Aldy Hernandez <aldyh@redhat.com>
8564 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8565 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8567 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8568 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8572 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8573 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8574 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8575 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8576 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8577 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8578 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8580 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8582 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8584 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8586 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8587 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8589 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8590 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8591 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8592 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8594 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8595 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8596 * sysdeps/powerpc/preconfigure: Likewise.
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8599 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8600 Replace contents of file by #include of <fenv_libc.h>.
8601 * sysdeps/powerpc/soft-fp/sfp-machine.h
8602 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8604 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8617 Allow copysignl PLT reference to be missing.
8619 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8620 Joseph Myers <joseph@codesourcery.com
8623 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8625 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8627 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8629 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8630 * elf/tst-tls1.c: Likewise.
8631 * elf/tst-tls10.h: Likewise.
8632 * elf/tst-tls14.c: Likewise.
8633 * elf/tst-tls2.c: Likewise.
8634 * elf/tst-tls3.c: Likewise.
8635 * elf/tst-tls4.c: Likewise.
8636 * elf/tst-tls5.c: Likewise.
8637 * elf/tst-tls6.c: Likewise.
8638 * elf/tst-tls7.c: Likewise.
8639 * elf/tst-tls8.c: Likewise.
8640 * elf/tst-tls9.c: Likewise.
8641 * elf/tst-tlsmod1.c: Likewise.
8642 * elf/tst-tlsmod13.c: Likewise.
8643 * elf/tst-tlsmod13a.c: Likewise.
8644 * elf/tst-tlsmod14a.c: Likewise.
8645 * elf/tst-tlsmod16a.c: Likewise.
8646 * elf/tst-tlsmod16b.c: Likewise.
8647 * elf/tst-tlsmod2.c: Likewise.
8648 * elf/tst-tlsmod3.c: Likewise.
8649 * elf/tst-tlsmod4.c: Likewise.
8650 * elf/tst-tlsmod5.c: Likewise.
8651 * elf/tst-tlsmod6.c: Likewise.
8653 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8656 * malloc/malloc.c: remove checks for statistics.
8658 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8661 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8662 * inet/tst-network.c: Add testcase.
8664 2013-10-17 Andreas Schwab <schwab@suse.de>
8667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8668 to determine canonical name.
8670 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8672 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8673 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8696 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8697 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8731 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8734 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8735 make result into a quiet NaN.
8737 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8739 * soft-fp/adddf3.c: Fix horizontal whitespace.
8740 * soft-fp/addsf3.c: Likewise.
8741 * soft-fp/addtf3.c: Likewise.
8742 * soft-fp/divdf3.c: Likewise.
8743 * soft-fp/divsf3.c: Likewise.
8744 * soft-fp/divtf3.c: Likewise.
8745 * soft-fp/double.h: Likewise.
8746 * soft-fp/eqdf2.c: Likewise.
8747 * soft-fp/eqsf2.c: Likewise.
8748 * soft-fp/eqtf2.c: Likewise.
8749 * soft-fp/extenddftf2.c: Likewise.
8750 * soft-fp/extended.h: Likewise.
8751 * soft-fp/extendsfdf2.c: Likewise.
8752 * soft-fp/extendsftf2.c: Likewise.
8753 * soft-fp/extendxftf2.c: Likewise.
8754 * soft-fp/fixdfdi.c: Likewise.
8755 * soft-fp/fixdfsi.c: Likewise.
8756 * soft-fp/fixdfti.c: Likewise.
8757 * soft-fp/fixsfdi.c: Likewise.
8758 * soft-fp/fixsfsi.c: Likewise.
8759 * soft-fp/fixsfti.c: Likewise.
8760 * soft-fp/fixtfdi.c: Likewise.
8761 * soft-fp/fixtfsi.c: Likewise.
8762 * soft-fp/fixtfti.c: Likewise.
8763 * soft-fp/fixunsdfdi.c: Likewise.
8764 * soft-fp/fixunsdfsi.c: Likewise.
8765 * soft-fp/fixunsdfti.c: Likewise.
8766 * soft-fp/fixunssfdi.c: Likewise.
8767 * soft-fp/fixunssfsi.c: Likewise.
8768 * soft-fp/fixunssfti.c: Likewise.
8769 * soft-fp/fixunstfdi.c: Likewise.
8770 * soft-fp/fixunstfsi.c: Likewise.
8771 * soft-fp/fixunstfti.c: Likewise.
8772 * soft-fp/floatdidf.c: Likewise.
8773 * soft-fp/floatdisf.c: Likewise.
8774 * soft-fp/floatditf.c: Likewise.
8775 * soft-fp/floatsidf.c: Likewise.
8776 * soft-fp/floatsisf.c: Likewise.
8777 * soft-fp/floatsitf.c: Likewise.
8778 * soft-fp/floattidf.c: Likewise.
8779 * soft-fp/floattisf.c: Likewise.
8780 * soft-fp/floattitf.c: Likewise.
8781 * soft-fp/floatundidf.c: Likewise.
8782 * soft-fp/floatundisf.c: Likewise.
8783 * soft-fp/floatunditf.c: Likewise.
8784 * soft-fp/floatunsidf.c: Likewise.
8785 * soft-fp/floatunsisf.c: Likewise.
8786 * soft-fp/floatunsitf.c: Likewise.
8787 * soft-fp/floatuntidf.c: Likewise.
8788 * soft-fp/floatuntisf.c: Likewise.
8789 * soft-fp/floatuntitf.c: Likewise.
8790 * soft-fp/fmadf4.c: Likewise.
8791 * soft-fp/fmasf4.c: Likewise.
8792 * soft-fp/fmatf4.c: Likewise.
8793 * soft-fp/gedf2.c: Likewise.
8794 * soft-fp/gesf2.c: Likewise.
8795 * soft-fp/getf2.c: Likewise.
8796 * soft-fp/ledf2.c: Likewise.
8797 * soft-fp/lesf2.c: Likewise.
8798 * soft-fp/letf2.c: Likewise.
8799 * soft-fp/muldf3.c: Likewise.
8800 * soft-fp/mulsf3.c: Likewise.
8801 * soft-fp/multf3.c: Likewise.
8802 * soft-fp/negdf2.c: Likewise.
8803 * soft-fp/negsf2.c: Likewise.
8804 * soft-fp/negtf2.c: Likewise.
8805 * soft-fp/op-1.h: Likewise.
8806 * soft-fp/op-2.h: Likewise.
8807 * soft-fp/op-4.h: Likewise.
8808 * soft-fp/op-8.h: Likewise.
8809 * soft-fp/op-common.h: Likewise.
8810 * soft-fp/quad.h: Likewise.
8811 * soft-fp/single.h: Likewise.
8812 * soft-fp/soft-fp.h: Likewise.
8813 * soft-fp/sqrtdf2.c: Likewise.
8814 * soft-fp/sqrtsf2.c: Likewise.
8815 * soft-fp/sqrttf2.c: Likewise.
8816 * soft-fp/subdf3.c: Likewise.
8817 * soft-fp/subsf3.c: Likewise.
8818 * soft-fp/subtf3.c: Likewise.
8819 * soft-fp/truncdfsf2.c: Likewise.
8820 * soft-fp/trunctfdf2.c: Likewise.
8821 * soft-fp/trunctfsf2.c: Likewise.
8822 * soft-fp/trunctfxf2.c: Likewise.
8823 * soft-fp/unorddf2.c: Likewise.
8824 * soft-fp/unordsf2.c: Likewise.
8825 * soft-fp/unordtf2.c: Likewise.
8827 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8829 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8830 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8832 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8834 * elf/dl-libc.c: Clear initfini list after freeing.
8836 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8838 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8839 * soft-fp/addsf3.c: Likewise.
8840 * soft-fp/addtf3.c: Likewise.
8841 * soft-fp/divdf3.c: Likewise.
8842 * soft-fp/divsf3.c: Likewise.
8843 * soft-fp/divtf3.c: Likewise.
8844 * soft-fp/double.h: Likewise.
8845 * soft-fp/eqdf2.c: Likewise.
8846 * soft-fp/eqsf2.c: Likewise.
8847 * soft-fp/eqtf2.c: Likewise.
8848 * soft-fp/extenddftf2.c: Likewise.
8849 * soft-fp/extended.h: Likewise.
8850 * soft-fp/extendsfdf2.c: Likewise.
8851 * soft-fp/extendsftf2.c: Likewise.
8852 * soft-fp/extendxftf2.c: Likewise.
8853 * soft-fp/fixdfdi.c: Likewise.
8854 * soft-fp/fixdfsi.c: Likewise.
8855 * soft-fp/fixdfti.c: Likewise.
8856 * soft-fp/fixsfdi.c: Likewise.
8857 * soft-fp/fixsfsi.c: Likewise.
8858 * soft-fp/fixsfti.c: Likewise.
8859 * soft-fp/fixtfdi.c: Likewise.
8860 * soft-fp/fixtfsi.c: Likewise.
8861 * soft-fp/fixtfti.c: Likewise.
8862 * soft-fp/fixunsdfdi.c: Likewise.
8863 * soft-fp/fixunsdfsi.c: Likewise.
8864 * soft-fp/fixunsdfti.c: Likewise.
8865 * soft-fp/fixunssfdi.c: Likewise.
8866 * soft-fp/fixunssfsi.c: Likewise.
8867 * soft-fp/fixunssfti.c: Likewise.
8868 * soft-fp/fixunstfdi.c: Likewise.
8869 * soft-fp/fixunstfsi.c: Likewise.
8870 * soft-fp/fixunstfti.c: Likewise.
8871 * soft-fp/floatdidf.c: Likewise.
8872 * soft-fp/floatdisf.c: Likewise.
8873 * soft-fp/floatditf.c: Likewise.
8874 * soft-fp/floatsidf.c: Likewise.
8875 * soft-fp/floatsisf.c: Likewise.
8876 * soft-fp/floatsitf.c: Likewise.
8877 * soft-fp/floattidf.c: Likewise.
8878 * soft-fp/floattisf.c: Likewise.
8879 * soft-fp/floattitf.c: Likewise.
8880 * soft-fp/floatundidf.c: Likewise.
8881 * soft-fp/floatundisf.c: Likewise.
8882 * soft-fp/floatunsidf.c: Likewise.
8883 * soft-fp/floatunsisf.c: Likewise.
8884 * soft-fp/floatuntidf.c: Likewise.
8885 * soft-fp/floatuntisf.c: Likewise.
8886 * soft-fp/floatuntitf.c: Likewise.
8887 * soft-fp/fmadf4.c: Likewise.
8888 * soft-fp/fmasf4.c: Likewise.
8889 * soft-fp/fmatf4.c: Likewise.
8890 * soft-fp/gedf2.c: Likewise.
8891 * soft-fp/gesf2.c: Likewise.
8892 * soft-fp/getf2.c: Likewise.
8893 * soft-fp/ledf2.c: Likewise.
8894 * soft-fp/lesf2.c: Likewise.
8895 * soft-fp/letf2.c: Likewise.
8896 * soft-fp/muldf3.c: Likewise.
8897 * soft-fp/mulsf3.c: Likewise.
8898 * soft-fp/multf3.c: Likewise.
8899 * soft-fp/negdf2.c: Likewise.
8900 * soft-fp/negsf2.c: Likewise.
8901 * soft-fp/negtf2.c: Likewise.
8902 * soft-fp/op-1.h: Likewise.
8903 * soft-fp/op-2.h: Likewise.
8904 * soft-fp/op-4.h: Likewise.
8905 * soft-fp/op-8.h: Likewise.
8906 * soft-fp/op-common.h: Likewise.
8907 * soft-fp/quad.h: Likewise.
8908 * soft-fp/single.h: Likewise.
8909 * soft-fp/soft-fp.h: Likewise.
8910 * soft-fp/sqrtdf2.c: Likewise.
8911 * soft-fp/sqrtsf2.c: Likewise.
8912 * soft-fp/sqrttf2.c: Likewise.
8913 * soft-fp/subdf3.c: Likewise.
8914 * soft-fp/subsf3.c: Likewise.
8915 * soft-fp/subtf3.c: Likewise.
8916 * soft-fp/truncdfsf2.c: Likewise.
8917 * soft-fp/trunctfdf2.c: Likewise.
8918 * soft-fp/trunctfsf2.c: Likewise.
8919 * soft-fp/trunctfxf2.c: Likewise.
8920 * soft-fp/unorddf2.c: Likewise.
8921 * soft-fp/unordsf2.c: Likewise.
8922 * soft-fp/unordtf2.c: Likewise.
8924 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8927 * misc/error.c (error_tail): Fix possible buffer overflow.
8929 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8932 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8935 2013-10-14 P. J. McDermott <pj@pehjota.net>
8938 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8939 testing pipefail option.
8941 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8943 * soft-fp/double.h: Indent preprocessor directives inside #if.
8944 * soft-fp/extended.h: Likewise.
8945 * soft-fp/op-2.h: Likewise.
8946 * soft-fp/op-4.h: Likewise.
8947 * soft-fp/op-common.h: Likewise.
8948 * soft-fp/quad.h: Likewise.
8949 * soft-fp/single.h: Likewise.
8950 * soft-fp/soft-fp.h: Likewise.
8952 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8954 * iconv/iconv_prog.c: Fix typos.
8955 * stdio-common/psiginfo-data.h: Likewise.
8957 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8960 * locale/setlocale.c: Fix typo.
8962 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8965 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8966 signaling NaN arguments.
8967 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8968 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8971 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8973 * soft-fp/gesf2.c (__gesf2): Likewise.
8974 * soft-fp/getf2.c (__getf2): Likewise.
8975 * soft-fp/ledf2.c (__ledf2): Likewise.
8976 * soft-fp/lesf2.c (__lesf2): Likewise.
8977 * soft-fp/letf2.c (__letf2): Likewise.
8979 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8980 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8981 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8982 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8983 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8984 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8985 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8986 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8987 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8988 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8989 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8990 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8991 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8992 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8993 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8994 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8995 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8996 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8997 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8998 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8999 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9000 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9001 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9002 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9003 * soft-fp/floattidf.c (__floattidf): Likewise.
9004 * soft-fp/floattisf.c (__floattisf): Likewise.
9005 * soft-fp/floattitf.c (__floattitf): Likewise.
9006 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9007 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9008 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9009 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9010 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9011 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9012 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9013 * soft-fp/gesf2.c (__gesf2): Likewise.
9014 * soft-fp/getf2.c (__getf2): Likewise.
9015 * soft-fp/ledf2.c (__ledf2): Likewise.
9016 * soft-fp/lesf2.c (__lesf2): Likewise.
9017 * soft-fp/letf2.c (__letf2): Likewise.
9019 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9020 Undefine and redefine.
9021 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9022 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9023 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9024 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9025 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9026 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9027 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9028 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9029 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9030 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9031 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9032 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9033 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9034 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9035 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9038 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9039 without decrementing exponent if mantissa >= that for the
9041 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9042 denominator, not >. Decrement exponent in < case instead of
9043 incrementing in >= case.
9044 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9045 without decrementing exponent if mantissa >= that for the
9048 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9049 computing saturated result for unsigned overflow.
9051 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9052 Jeff Law <law@redhat.com>
9054 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9055 (atan2Mp): Add systemtap probe marker.
9056 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9057 (__ieee754_log): Add systemtap probe marker.
9058 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9059 (atanMp): Add systemtap probe marker.
9060 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9061 (tanMp): Add systemtap probe marker.
9062 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9063 (__slowexp): Add systemtap probe marker.
9064 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9065 (__slowpow): Add systemtap probe marker.
9066 * manual/probes.texi: Document probes.
9068 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9071 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9073 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9075 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9076 written to buffer but not flushed.
9077 * libio/iofwrite_u.c: Likewise.
9078 * libio/iopadn.c: Return bytes returned even if EOF was
9080 * libio/iowpadn.c: Likewise.
9081 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9082 if _IO_padn does not write the whole buffer.
9083 [!COMPILE_WPRINTF] (PAD): Likewise.
9085 2013-10-10 David S. Miller <davem@davemloft.net>
9087 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9090 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9092 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9093 instead of FSF address.
9094 * soft-fp/fixdfti.c: Likewise.
9095 * soft-fp/fixsfti.c: Likewise.
9096 * soft-fp/fixtfti.c: Likewise.
9097 * soft-fp/fixunsdfti.c: Likewise.
9098 * soft-fp/fixunssfti.c: Likewise.
9099 * soft-fp/fixunstfti.c: Likewise.
9100 * soft-fp/floattidf.c: Likewise.
9101 * soft-fp/floattisf.c: Likewise.
9102 * soft-fp/floattitf.c: Likewise.
9103 * soft-fp/floatuntidf.c: Likewise.
9104 * soft-fp/floatuntisf.c: Likewise.
9105 * soft-fp/floatuntitf.c: Likewise.
9106 * soft-fp/trunctfxf2.c: Likewise.
9108 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9109 * soft-fp/fixdfti.c: Likewise.
9110 * soft-fp/fixsfti.c: Likewise.
9111 * soft-fp/fixtfti.c: Likewise.
9112 * soft-fp/fixunsdfti.c: Likewise.
9113 * soft-fp/fixunssfti.c: Likewise.
9114 * soft-fp/fixunstfti.c: Likewise.
9115 * soft-fp/floattidf.c: Likewise.
9116 * soft-fp/floattisf.c: Likewise.
9117 * soft-fp/floattitf.c: Likewise.
9118 * soft-fp/floatuntidf.c: Likewise.
9119 * soft-fp/floatuntisf.c: Likewise.
9120 * soft-fp/floatuntitf.c: Likewise.
9121 * soft-fp/trunctfxf2.c: Likewise.
9123 2013-10-10 David S. Miller <davem@davemloft.net>
9125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9127 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9129 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9130 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9131 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9132 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9133 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9134 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9135 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9138 for NaNs before doing comparisons on argument.
9139 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9142 2013-10-10 Will Newton <will.newton@linaro.org>
9144 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9145 passed to _int_memalign does not overflow.
9147 2013-10-10 Torvald Riegel <triegel@redhat.com>
9149 * scripts/bench.pl: Add include-sources directive.
9150 * benchtests/README: Update documentation.
9152 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9154 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9155 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9156 instead of FP_INIT_ROUNDMODE.
9157 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9158 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9161 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9162 copy class of input value.
9163 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9164 not handle exceptions.
9165 * soft-fp/negsf2.c (__negsf2): Likewise.
9166 * soft-fp/negtf2.c (__negtf2): Likewise.
9167 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9169 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9171 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9172 semicolon. From Linux kernel.
9174 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9176 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9178 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9181 * manual/socket.texi: Added statement about buffer
9182 for gethostbyname2_r.
9184 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9186 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9187 Use .p2align directive instead, throughout.
9188 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9189 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9190 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9191 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9192 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9193 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9194 * sysdeps/x86_64/strchr.S: Likewise.
9195 * sysdeps/x86_64/strrchr.S: Likewise.
9197 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9199 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9201 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9203 * sysdeps/generic/math_private.h (__mpsin1): Remove
9205 (__mpcos1): Likewise.
9206 (__mpsin): New argument __range_reduce.
9207 (__mpcos): Likewise.
9208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9209 (slow): Use __mpsin and __mpcos.
9216 (bsloww1): Likewise.
9217 (bsloww2): Likewise.
9220 (csloww1): Likewise.
9221 (csloww2): Likewise.
9222 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9223 range_reduce. Merge in __mpsin1.
9224 (__mpcos): Likewise.
9226 (__mpcos1): Likewise.
9228 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9230 * locale/loadlocale.c (_nl_intern_locale_data): Use
9232 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9233 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9234 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9235 obstack data is appropriately aligned.
9236 (obstack_int32_grow_fast): Likewise.
9237 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9238 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9239 (add_locale_uint32_array): Likewise.
9241 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9243 * benchtests/Makefile: Remove ARGLIST and RET variables.
9244 ($(objpfx)bench-%.c): Pass only function name to the script.
9245 * benchtests/README: Update documentation.
9246 * benchtests/acos-inputs: Add new directives.
9247 * benchtests/acosh-inputs: Likewise.
9248 * benchtests/asin-inputs: Likewise.
9249 * benchtests/asinh-inputs: Likewise.
9250 * benchtests/atan-inputs: Likewise.
9251 * benchtests/atanh-inputs: Likewise.
9252 * benchtests/cos-inputs: Likewise.
9253 * benchtests/cosh-inputs: Likewise.
9254 * benchtests/exp-inputs: Likewise.
9255 * benchtests/log-inputs: Likewise.
9256 * benchtests/pow-inputs: Likewise.
9257 * benchtests/rint-inputs: Likewise.
9258 * benchtests/sin-inputs: Likewise.
9259 * benchtests/sinh-inputs: Likewise.
9260 * benchtests/tan-inputs: Likewise.
9261 * benchtests/tanh-inputs: Likewise.
9262 * scripts/bench.pl: Add support for new directives.
9264 2013-10-07 Alan Modra <amodra@gmail.com>
9266 * README: Fix careless merge.
9268 2013-10-05 Alan Modra <amodra@gmail.com>
9270 * NEWS: Mention powerpc64le support and bugs fixed.
9271 * README: Both big-endian and little-endian powerpc64 supported.
9273 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9275 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9276 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9277 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9278 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9280 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9282 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9285 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9287 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9288 Move -mhard-float appending from
9289 ports/sysdeps/powerpc/powerpc32/Makefile.
9290 [$(with-fp) = yes] (ASFLAGS): Likewise.
9291 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9292 * sysdeps/powerpc/nofpu: Move directory from
9293 ports/sysdeps/powerpc/nofpu.
9294 * sysdeps/powerpc/soft-fp: Move directory from
9295 ports/sysdeps/powerpc/soft-fp.
9296 * sysdeps/powerpc/powerpc32/405: Move directory from
9297 ports/sysdeps/powerpc/powerpc32/405.
9298 * sysdeps/powerpc/powerpc32/440: Move directory from
9299 ports/sysdeps/powerpc/powerpc32/440.
9300 * sysdeps/powerpc/powerpc32/464: Move directory from
9301 ports/sysdeps/powerpc/powerpc32/464.
9302 * sysdeps/powerpc/powerpc32/476: Move directory from
9303 ports/sysdeps/powerpc/powerpc32/476.
9304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9305 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9307 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9309 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9313 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9314 * README: Update for powerpc-*-linux-gnu software floating point
9317 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9318 case to powerpc/powerpc32*.
9319 * sysdeps/unix/sysv/linux/configure: Regenerated.
9321 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9322 (_FPU_MASK_OM): Define as 0x04.
9323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9331 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9334 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9338 and setcontext_e500.
9340 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9342 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9344 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9346 * manual/threads.texi (Default Thread Attributes): Fix typo.
9348 2013-10-04 Will Newton <will.newton@linaro.org>
9350 * malloc/Makefile: Add tst-memalign.
9351 * malloc/tst-memalign.c: New file.
9353 * malloc/tst-posix_memalign.c: Add comments.
9354 (do_test): Add comments and call free on all potentially
9355 allocated pointers. Add space after cast.
9357 * malloc/tst-pvalloc.c: Add comments.
9358 (do_test): Add comments and call free on all potentially
9359 allocated pointers. Remove duplicate check for NULL pointer.
9360 Add space after cast.
9362 * malloc/tst-valloc.c: Add comments.
9363 (do_test): Add comments and call free on all potentially
9364 allocated pointers. Remove duplicate check for NULL pointer.
9365 Add space after cast.
9367 2013-10-04 Alan Modra <amodra@gmail.com>
9369 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9370 Use stdint types in rather than __attribute__((mode())).
9371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9373 2013-10-04 Alan Modra <amodra@gmail.com>
9375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9376 Correct handling of unaligned relocs for little-endian.
9377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9379 2013-10-04 Alan Modra <amodra@gmail.com>
9381 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9382 * configure: Regenerate.
9383 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9384 * shlib-versions: Likewise.
9386 2013-10-04 Alan Modra <amodra@gmail.com>
9388 * string/tester.c (test_memrchr): Increment reported test cycle.
9390 2013-10-04 Alan Modra <amodra@gmail.com>
9392 * string/test-memcpy.c (do_one_test): When reporting errors, print
9393 string address and don't overrun end of string.
9395 2013-10-04 Alan Modra <amodra@gmail.com>
9397 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9398 insrdi. Make better use of reg selection to speed exit slightly.
9399 Schedule entry path a little better. Remove useless "are we done"
9400 checks on entry to main loop. Handle wrapping around zero address.
9401 Correct main loop count. Handle single left-over word from main
9402 loop inline rather than by using loop_small. Remove extra word
9403 case in loop_small caused by wrong loop count. Add little-endian
9405 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9406 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9408 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9409 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9410 support. Avoid rlwimi.
9411 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9413 2013-10-04 Alan Modra <amodra@gmail.com>
9415 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9417 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9418 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9419 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9420 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9421 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9424 2013-10-04 Alan Modra <amodra@gmail.com>
9426 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9429 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9430 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9431 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9432 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9433 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9435 use of regs. Use power7 mtocrf. Tidy function tails.
9437 2013-10-04 Alan Modra <amodra@gmail.com>
9439 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9440 Formatting. Consistently use rXXX register defines or rN defines.
9441 Use early exit labels that avoid restoring unused non-volatile regs.
9442 Make cr field use more consistent with rWORDn compares. Rename
9443 regs used as shift registers for unaligned loop, using rN defines
9444 for short lifetime/multiple use regs.
9445 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9446 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9447 addi 1,1,64 to pop stack frame. Simplify return value code.
9448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9450 2013-10-04 Alan Modra <amodra@gmail.com>
9452 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9453 support. Correct typos, formatting. Optimize tail. Use insrdi
9455 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9457 little-endian support. Correct typos.
9458 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9460 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9461 in loop and entry code to keep "and." results.
9462 (strchr): Add little-endian support. Comment. Move cntlzd
9464 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9466 2013-10-04 Alan Modra <amodra@gmail.com>
9468 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9469 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9470 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9471 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9473 2013-10-04 Alan Modra <amodra@gmail.com>
9475 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9476 (rTMP): Define as r11.
9477 (strcmp): Add little-endian support. Optimise tail.
9478 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9479 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9480 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9481 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9482 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9483 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9486 2013-10-04 Alan Modra <amodra@gmail.com>
9488 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9489 little-endian support. Remove unnecessary "are we done" tests.
9490 Handle "s" wrapping around zero and extremely large "size".
9491 Correct main loop count. Handle single left-over word from main
9492 loop inline rather than by using small_loop. Correct comments.
9493 Delete "zero" tail, use "end_max" instead.
9494 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9496 2013-10-04 Alan Modra <amodra@gmail.com>
9498 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9499 support. Don't branch over align.
9500 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9502 support. Rearrange tmp reg use to suit. Comment.
9503 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9505 2013-10-04 Alan Modra <amodra@gmail.com>
9507 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9509 2013-10-04 Alan Modra <amodra@gmail.com>
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9512 conditional form of branch and link when obtaining pc.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9515 2013-10-04 Alan Modra <amodra@gmail.com>
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9522 2013-10-04 Alan Modra <amodra@gmail.com>
9524 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9525 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9526 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9527 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9528 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9529 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9530 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9531 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9532 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9533 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9535 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9536 Alistair Popple <alistair@ozlabs.au.ibm.com>
9537 Alan Modra <amodra@gmail.com>
9540 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9541 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9542 _dl_hwcap access for little-endian.
9543 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9544 destroy vmx regs when saving unaligned.
9545 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9546 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9547 destroy vmx regs when saving unaligned.
9549 2013-10-04 Alan Modra <amodra@gmail.com>
9551 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9552 Don't use a union to pack hi/low value.
9554 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9556 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9558 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9559 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9560 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9561 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9562 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9564 2013-10-04 Alan Modra <amodra@gmail.com>
9566 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9567 constants to usual value for .cst8 section, and remove redundant
9569 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9570 constant for 0x1p52. Load little-endian words of double from
9571 correct stack offsets.
9573 2013-10-04 Alan Modra <amodra@gmail.com>
9575 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9576 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9577 words of double from correct stack offsets.
9578 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9579 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9580 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9581 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9584 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9585 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9586 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9587 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9589 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9590 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9591 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9592 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9593 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9594 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9596 2013-10-04 Alan Modra <amodra@gmail.com>
9598 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9599 64-bit int/double union.
9600 (_FPU_SETCW): Likewise.
9601 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9602 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9604 2013-10-04 Alan Modra <amodra@gmail.com>
9606 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9607 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9609 2013-10-04 Alan Modra <amodra@gmail.com>
9611 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9612 use vector int constants.
9613 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9615 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9617 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9618 array with long long.
9619 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9620 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9621 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9622 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9623 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9624 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9625 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9626 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9627 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9628 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9629 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9630 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9631 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9633 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9635 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9636 (__signbit): Likewise. Correct for little-endian.
9637 (__signbitl): Call __signbit.
9638 (lrint): Correct for little-endian.
9639 (lrintf): Call lrint.
9641 2013-10-04 Alan Modra <amodra@gmail.com>
9643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9644 union 32-bit int array member with 64-bit int array.
9645 (t515, tm256): Double rather than long double.
9646 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9648 2013-10-04 Alan Modra <amodra@gmail.com>
9650 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9652 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9653 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9654 version of math_ldbl.h.
9656 2013-10-04 Alan Modra <amodra@gmail.com>
9658 [BZ #15734], [BZ #15735]
9659 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9660 all uses of ieee875 long double macros and unions. Simplify test
9661 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9662 ldbl_extract_mantissa value for ix,iy exponents. Properly
9663 normalize after ldbl_extract_mantissa, and don't add hidden bit
9664 already handled. Don't treat low word of ieee854 mantissa like
9665 low word of IBM long double and mask off bit when testing for
9667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9668 all uses of ieee875 long double macros and unions. Simplify tests
9669 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9670 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9671 two1022, instead use their values. Recognise that tests for large
9672 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9673 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9674 Rewrite all uses of ieee875 long double macros and unions. Simplify
9675 test for 0.0L and nan. Correct negation.
9676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9677 ieee875 long double macros and unions. Correct output for large
9678 magnitude x. Correct absolute value calculation.
9679 (__erfcl): Likewise.
9680 * math/libm-test.inc: Add tests for errors discovered in IBM long
9681 double versions of fmodl, remainderl, erfl and erfcl.
9683 2013-10-04 Alan Modra <amodra@gmail.com>
9685 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9686 all uses of ieee854 long double macros and unions. Simplify tests
9687 for long doubles that are fully specified by the high double.
9688 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9690 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9691 Remove dead code too.
9692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9693 (__ieee754_ynl): Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9697 Remove dead code too.
9698 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9700 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9701 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9708 Comment on variable precision.
9709 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9712 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9716 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9718 2013-10-04 Alan Modra <amodra@gmail.com>
9720 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9721 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9722 all uses of ieee854 long double macros and unions.
9723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9730 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9736 Simplify sign and nan test too.
9737 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9752 2013-10-04 Alan Modra <amodra@gmail.com>
9754 * stdio-common/printf_size.c (__printf_size): Don't use
9755 union ieee854_long_double in fpnum union.
9756 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9757 signbit macro to retrieve sign from long double.
9758 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9759 retrieve sign from long double.
9760 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9761 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9762 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9763 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9764 * math/test-misc.c (main): Don't use union ieee854_long_double.
9766 2013-10-04 Alan Modra <amodra@gmail.com>
9769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9770 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9771 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9772 calculation. Remove unnecessary test for denormal exponent.
9773 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9774 Correct handling of denormals. Avoid undefined shift behaviour.
9775 Correct normalisation of low mantissa when low double is denormal.
9776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9777 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9778 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9779 Correct normalisation of low mantissa. Test for overflow of high
9780 mantissa and normalise.
9781 (ldbl_nearbyint): Use more readable constant for two52.
9782 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9783 (__mpn_construct_long_double): Fix test for overflow of high
9784 mantissa and correct normalisation. Avoid undefined shift.
9786 2013-10-04 Alan Modra <amodra@gmail.com>
9788 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9789 (union ibm_extended_long_double): Define as an array of ieee754_double.
9790 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9791 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9792 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9793 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9802 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9804 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9805 page size instead of calling getpagesize.
9807 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9808 (LOCFILE_ALIGN_MASK): Likewise.
9809 (LOCFILE_ALIGN_UP): Likewise.
9810 (LOCFILE_ALIGNED_P): Likewise.
9811 * locale/programs/ld-collate.c (collate_output): Use the new
9812 macros instead of __alignof__ (int32_t).
9813 * locale/weight.h (findidx): Likewise.
9815 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9818 * manual/string.texi: Fix strncat and wcsncat.
9820 2013-10-03 Brooks Moses <bmoses@google.com>
9823 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9824 * Makerules: ...here, and adjust associated comments.
9826 2013-10-02 Will Newton <will.newton@linaro.org>
9828 * malloc/Makefile: Add tst-pvalloc.
9829 * malloc/tst-pvalloc.c: New file.
9831 2013-10-02 Will Newton <will.newton@linaro.org>
9833 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9834 improve test coverage.
9836 2013-10-02 Will Newton <will.newton@linaro.org>
9838 * malloc/Makefile: Add tst-posix_memalign.
9839 * malloc/tst-posix_memalign.c: New file.
9841 2013-10-01 Eric Blake <eblake@redhat.com>
9843 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9844 Use __THROWNL rather than __THROW on static functions.
9846 2013-09-30 Petr Machata <pmachata@redhat.com>
9848 * elf/elf.h (R_AARCH64_ABS16): New macro.
9849 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9850 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9851 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9852 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9853 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9854 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9855 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9856 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9857 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9858 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9859 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9860 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9861 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9862 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9863 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9864 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9865 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9866 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9867 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9868 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9869 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9870 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9871 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9872 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9873 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9874 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9875 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9876 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9877 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9878 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9879 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9880 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9881 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9882 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9883 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9884 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9885 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9886 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9887 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9888 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9889 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9890 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9891 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9892 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9893 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9894 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9895 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9896 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9897 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9898 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9899 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9900 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9901 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9902 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9903 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9904 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9905 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9906 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9907 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9908 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9909 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9910 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9911 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9912 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9913 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9914 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9915 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9916 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9917 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9918 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9919 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9920 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9921 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9922 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9923 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9924 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9925 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9926 (R_AARCH64_TLSDESC_LDR): Likewise.
9927 (R_AARCH64_TLSDESC_ADD): Likewise.
9928 (R_AARCH64_TLSDESC_CALL): Likewise.
9930 2013-09-30 Andreas Schwab <schwab@suse.de>
9933 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9934 the nss database lookup.
9935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9938 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9940 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9942 2013-09-28 P. J. McDermott <pj@pehjota.net>
9944 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9945 ${Bash-specific parameter/pattern/string} parameter expansion.
9946 * sysdeps/unix/make-syscalls.sh: Likewise.
9948 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9950 * sysdeps/sh/stackguard-macros.h: New file.
9952 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9956 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9957 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9958 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9959 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9961 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9963 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9964 Fix thread ID register.
9966 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9968 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9969 [POSIX || UNIX98]: Require rather than permitting all symbols from
9971 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9972 element of struct sched_param.
9973 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9974 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9975 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9976 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9979 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9981 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9982 argument calculation.
9984 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9986 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9988 [POSIX] (pthread_attr_t): Do not require type.
9989 [POSIX] (pthread_cond_t): Likewise.
9990 [POSIX] (pthread_condattr_t): Likewise.
9991 [POSIX] (pthread_key_t): Likewise.
9992 [POSIX] (pthread_mutex_t): Likewise.
9993 [POSIX] (pthread_mutexattr_t): Likewise.
9994 [POSIX] (pthread_once_t): Likewise.
9995 [POSIX] (pthread_t): Likewise.
9996 [POSIX-based standards] (pthread_atfork): Expect function.
9998 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9999 Richard Sandiford <richard@codesourcery.com>
10001 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10002 (swap_endianness_p): New extern variable.
10003 (set_big_endian): New inline function.
10004 (maybe_swap_uint32): Likewise.
10005 (maybe_swap_uint32_array): Likewise.
10006 (maybe_swap_uint32_obstack): Likewise.
10007 * locale/programs/locfile.c: Include <stdbool.h>.
10008 (swap_endianness_p): New variable.
10009 (add_locale_uint32): Call maybe_swap_uint32.
10010 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10011 (write_locale_data): Call maybe_swap_uint32_array.
10012 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10014 (obstack_int32_grow_fast): Likewise.
10015 (output_weightwc): Call maybe_swap_uint32_obstack.
10016 (collate_output): Likewise.
10017 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10018 (OPT_LITTLE_ENDIAN): Likewise.
10019 (options): Add --little-endian and --big-endian options.
10020 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10021 * locale/programs/locarchive.c: Include "locfile.h".
10025 (create_archive): Use the new macros to access fields of
10026 structures directly mapped from or written to locale archives.
10027 (oldlocrecentcmp): Likewise.
10028 (enlarge_archive): Likewise.
10029 (insert_name): Likewise.
10030 (add_alias): Likewise.
10031 (add_locale): Likewise.
10032 (delete_locales_from_archive): Likewise.
10033 (show_archive_content): Likewise.
10034 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10037 2013-09-24 Roland McGrath <roland@hack.frob.com>
10039 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10040 http://www.gnu.org/doc/freemanuals.texi.
10041 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10043 2013-09-24 Will Newton <will.newton@linaro.org>
10045 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10048 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10050 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10053 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10055 * manual/threads.texi (POSIX Threads): Fix a typo.
10057 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10060 * string/tst-strcoll-overflow.c: New test case.
10061 * string/Makefile (xtests): Add tst-strcoll-overflow.
10062 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10063 cache if string sizes may cause integer overflow.
10066 * string/strcoll_l.c (coll_seq): New members rule, idx,
10067 save_idx and back_us.
10068 (get_next_seq_nocache): New function.
10069 (do_compare_nocache): New function.
10070 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10073 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10076 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10077 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10078 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10081 * elf/Makefile (tests): Add tst-ptrguard1.
10082 (tests-static): Add tst-ptrguard1-static.
10083 (tst-ptrguard1-ARGS): Define.
10084 (tst-ptrguard1-static-ARGS): Define.
10085 * elf/tst-ptrguard1.c: New file.
10086 * elf/tst-ptrguard1-static.c: New file.
10087 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10088 * sysdeps/i386/stackguard-macros.h: Likewise.
10089 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10090 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10091 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10092 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10093 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10094 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10096 2013-09-23 Hector Marco <hecmargi@upv.es>
10097 Ismael Ripoll <iripoll@disca.upv.es>
10098 Carlos O'Donell <carlos@redhat.com>
10101 * sysdeps/generic/stackguard-macros.h: Define
10102 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10103 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10104 Define __pointer_chk_guard_local.
10105 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10106 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10108 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10111 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10113 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10115 * include/string.h (__ffs): Declare as hidden.
10116 * string/ffs.c (__ffs): Define as hidden.
10117 * sysdeps/i386/ffs.c (__ffs): Likewise.
10118 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10119 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10120 * sysdeps/s390/ffs.c (__ffs): Likewise.
10121 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10123 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10125 * NEWS: Mention malloc probes.
10127 * malloc/arena.c (new_heap): New memory_heap_new probe.
10128 (grow_heap): New memory_heap_more probe.
10129 (shrink_heap): New memory_heap_less probe.
10130 (heap_trim): New memory_heap_free probe.
10131 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10132 (systrim): New memory_sbrk_less probe.
10133 * manual/probes.texi: Document them.
10135 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10136 * manual/probes.texi: Document it.
10138 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10139 (__libc_realloc): Add memory_realloc_retry probe.
10140 (__libc_memalign): Add memory_memalign_retry probe.
10141 (__libc_valloc): Add memory_valloc_retry probe.
10142 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10143 (__libc_calloc): Add memory_calloc_retry probe.
10144 * manual/probes.texi: Document them.
10146 * malloc/arena.c (get_free_list): Add probe
10147 memory_arena_reuse_free_list.
10148 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10149 and memory_arena_reuse.
10150 (arena_get2) [!PER_THREAD]: Likewise.
10151 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10152 memory_arena_reuse_realloc.
10153 * manual/probes.texi: Document them.
10155 * malloc/malloc.c (__libc_free): Add
10156 memory_mallopt_free_dyn_thresholds probe.
10157 (__libc_mallopt): Add multiple memory_mallopt probes.
10158 * manual/probes.texi: Document them.
10160 * malloc/malloc.c: Include stap-probe.h.
10161 (__libc_mallopt): Add memory_mallopt probe.
10162 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10163 * manual/probes.texi: New.
10164 * manual/Makefile (chapters): Add probes.
10165 * manual/threads.texi: Set next node.
10167 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10169 [BZ #15963, #13985]
10170 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10171 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10172 Add `Chinese' to `nan' entry name.
10174 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10176 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10177 (POLYNOMIAL): Likewise.
10178 (TAYLOR_SINCOS): Likewise.
10179 (TAYLOR_SLOW): Likewise.
10180 (__sin): Use TAYLOR_SINCOS.
10182 (slow): Use TAYLOR_SLOW.
10184 (bsloww): Likewise.
10185 (csloww): Likewise.
10187 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10189 * stdlib/strtod_l.c: Fix buffer overrun.
10191 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10193 * benchtests/Makefile (bench): Add sincos.
10194 * benchtests/bench-sincos.c: New file.
10196 * math/libm-test.inc (cos_test_data): New test inputs.
10197 (sin_test_data): Likewise.
10199 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10205 (sloww1): Likewise.
10206 (sloww2): Likewise.
10207 (bsloww1): Likewise.
10208 (bsloww2): Likewise.
10209 (cslow2): Likewise.
10210 (csloww1): Likewise.
10211 (csloww2): Likewise.
10213 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10218 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10222 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10224 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10225 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10226 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10227 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10228 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10229 * elf/cache.c (print_entry): Handle the new cache flags.
10231 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10232 Aldy Hernandez <aldyh@redhat.com>
10234 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10235 Change condition to [_SOFT_FLOAT].
10236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10248 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10251 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10254 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10256 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10257 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10258 (__longjmp): Use LOAD_GP to load saved GPRs.
10259 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10260 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10261 (__sigsetjmp): Use SAVE_GP to save GPRs.
10263 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10264 Do not append -msoft-float.
10265 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10267 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10269 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10271 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10274 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10275 (_FPU_GETCW): Use initial "__" on variable and field names but not
10276 on macro parameter name.
10277 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10278 parentheses around reference to macro parameter.
10280 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10282 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10284 (ctype_startup): Use uint32_t in cast and sizeof for
10287 2013-09-11 Jia Liu <proljc@gmail.com>
10289 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10291 [__FreeBSD__]: Likewise.
10293 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10296 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10297 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10298 (strchr): Remove __strchr_sse42 ifunc selection.
10299 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10300 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10302 2013-09-11 Will Newton <will.newton@linaro.org>
10304 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10305 parameter to RES. Remove hardcoded 1000 value.
10306 * benchtests/bench-skeleton.c (main): Pass RES parameter
10307 to TIMING_INIT and multiply result by 1000.
10309 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10313 2013-09-11 Andreas Schwab <schwab@suse.de>
10315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10317 (O_TMPFILE) [__USE_GNU]: Define.
10318 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10321 2013-09-11 Will Newton <will.newton@linaro.org>
10324 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10327 2013-09-11 Will Newton <will.newton@linaro.org>
10330 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10333 2013-09-11 Will Newton <will.newton@linaro.org>
10336 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10339 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10341 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10342 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10347 2013-09-10 Allan McRae <allan@archlinux.org>
10350 * manual/arith.texi (Parsing of Floats): Clarify
10354 * manual/install.texi (Running make install): Mention
10356 * INSTALL: Regenerated.
10358 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10360 * csu/init-first.c (_init): Remove the !SHARED condition around
10361 FPU control word initialization.
10362 * elf/dl-support.c (_dl_fpu_control): New variable.
10363 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10364 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10365 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10366 * math/test-fpucw-static.c: New file.
10367 * math/test-fpucw-ieee.c: New file.
10368 * math/test-fpucw-ieee-static.c: New file.
10369 * math/Makefile (tests): Add `test-fpucw-ieee' and
10371 (tests-static): New variable.
10372 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10374 [($(build-shared),yes)]
10375 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10377 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10380 2013-09-09 Allan McRae <allan@archlinux.org>
10383 * manual/string.texi (Collation Functions): Fix typo in
10385 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10388 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10391 * libio/memstream.c (open_memstream): Fix memory leak.
10392 * libio/wmemstream.c (open_wmemstream): Likewise.
10395 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10397 2013-09-09 Will Newton <will.newton@linaro.org>
10399 * malloc/Makefile: Add tst-realloc to tests.
10400 * malloc/tst-realloc.c: New file.
10402 2013-09-09 Allan McRae <allan@archlinux.org>
10405 * COPYING: Update from GNU website to fix FSF address.
10406 * COPYING.LIB: Likewise.
10408 2013-09-06 David S. Miller <davem@davemloft.net>
10410 * po/zh_TW.po: Update Chinese (traditional) translation from
10411 translation project.
10413 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10414 Joseph Myers <joseph@codesourcery.com>
10416 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10418 (obstack_chunk_alloc): New macro.
10419 (obstack_chunk_free): Likewise.
10420 (record_offset): New function.
10421 (init_locale_data): Likewise.
10422 (align_locale_data): Likewise.
10423 (add_locale_empty): Likewise.
10424 (add_locale_raw_data): Likewise.
10425 (add_locale_raw_obstack): Likewise.
10426 (add_locale_string): Likewise.
10427 (add_locale_wstring): Likewise.
10428 (add_locale_uint32): Likewise.
10429 (add_locale_uint32_array): Likewise.
10430 (add_locale_char): Likewise.
10431 (start_locale_structure): Likewise.
10432 (end_locale_structure): Likewise.
10433 (start_locale_prelude): Likewise.
10434 (end_locale_prelude): Likewise.
10435 (write_locale_data): Take locale_file structure rather than an
10437 * locale/programs/locfile.h: Include "obstack.h".
10438 (struct locale_file): Change to store locale file contents instead
10440 (init_locale_data): New prototype.
10441 (align_locale_data): Likewise.
10442 (add_locale_empty): Likewise.
10443 (add_locale_raw_data): Likewise.
10444 (add_locale_raw_obstack): Likewise.
10445 (add_locale_string): Likewise.
10446 (add_locale_wstring): Likewise.
10447 (add_locale_uint32): Likewise.
10448 (add_locale_uint32_array): Likewise.
10449 (add_locale_char): Likewise.
10450 (start_locale_structure): Likewise.
10451 (end_locale_structure): Likewise.
10452 (start_locale_prelude): Likewise.
10453 (end_locale_prelude): Likewise.
10454 (write_locale_data): Update prototype.
10455 * locale/programs/3level.h (struct TABLE): Remove result field.
10456 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10457 Use new locale_file interface.
10458 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10459 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10460 * locale/programs/ld-address.c (address_output): Use new
10461 locale_file interface.
10462 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10464 (collate_finish): Don't call collseq_table_finalize.
10465 (collate_output): Use new locale_file interface.
10466 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10468 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10469 (TABLE): Move defines earlier in file.
10470 (ELEMENT): Likewise.
10471 (DEFAULT): Likewise.
10472 (wctrans_table_add): Move macro and inline function earlier in
10474 (struct wctype_table): Move type earlier in file.
10475 (add_locale_wctype_table): New static prototype.
10476 (struct locale_ctype_t): Use logical types instead of struct iovec
10477 pointers for members.
10478 (ctype_output): Use new locale_file interface.
10479 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10480 new locale_file interface.
10481 (allocate_arrays): Update for use of new locale_file interface.
10482 * locale/programs/ld-identification.c (identification_output): Use
10483 new locale_file interface.
10484 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10485 * locale/programs/ld-messages.c (messages_output): Likewise.
10486 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10487 * locale/programs/ld-name.c (name_output): Likewise.
10488 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10489 * locale/programs/ld-paper.c (paper_output): Likewise.
10490 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10491 * locale/programs/ld-time.c (time_output): Likewise.
10493 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10495 * benchtests/Makefile: Add memrchr benchmark.
10496 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10497 benchmark as memrchr.
10498 * benchtests/bench-memrchr-ifunc.c: New file.
10499 * benchtests/bench-memrchr.c: New file.
10501 2013-09-06 Will Newton <will.newton@linaro.org>
10503 * benchtests/Makefile (string-bench): Add memcpy.
10505 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10506 Cong Wang <amwang@redhat.com>
10509 * sysdeps/unix/sysv/linux/bits/in.h
10510 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10511 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10512 before __USE_KERNEL_IPV6_DEFS uses.
10513 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10515 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10516 sockaddr_in6, or ipv6_mreq.
10518 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10520 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10521 memory access for final bytes in some large inputs.
10522 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10524 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10526 * string/test-memrchr.c: New file.
10527 * string/test-memrchr-ifunc.c: New file.
10528 * string/Makefile: Add new memrchr testcase.
10530 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10532 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10533 fanotify_init returns EPERM.
10535 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10537 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10539 (top level): Treat second token from macro or constant entries for
10540 allowed headers as allowed.
10541 * include/complex.h: Condition internal declarations on
10543 * include/fenv.h: Condition include of <stdbool.h> and internal
10544 declarations on [!_ISOMAC].
10546 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10549 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10551 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10553 * configure.in (--enable-versioning): Remove configure option.
10554 (libc_cv_asm_symver_directive): Remove configure test.
10555 (libc_cv_ld_version_script_option): Likewise.
10556 (VERSIONING): Remove variable and AC_SUBST.
10557 (DO_VERSIONING): Remove AC_DEFINE.
10558 * configure: Regenerated.
10559 * config.h.in (DO_VERSIONING): Remove macro.
10560 * Makerules [$(versioning) = yes]: Change conditionals to
10561 [$(build-shared) = yes].
10562 * config.make.in (versioning): Remove variable.
10563 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10564 [$(build-shared) = yes].
10565 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10566 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10567 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10568 [$(build-shared) = yes].
10569 * extra-lib.mk [$(versioning) = yes]: Likewise.
10570 * hurd/Makefile [$(versioning) = yes]: Likewise.
10571 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10573 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10575 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10576 [SHARED && !NO_HIDDEN].
10577 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10579 [SHARED && DO_VERSIONING]: Likewise..
10580 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10581 [$(build-shared) = yes].
10582 * manual/install.texi (--disable-versioning): Remove
10584 * INSTALL: Regenerated.
10585 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10587 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10588 [$(build-shared) = yes].
10589 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10590 * sysdeps/i386/i686/multiarch/strstr-c.c
10591 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10592 [SHARED && !NO_HIDDEN].
10593 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10594 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10595 * sysdeps/powerpc/powerpc32/dl-machine.c
10596 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10597 * sysdeps/powerpc/powerpc32/sysdep.h
10598 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10599 to [SHARED && PIC && !NO_HIDDEN].
10600 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10601 conditional to [SHARED].
10603 2013-09-04 Will Newton <will.newton@linaro.org>
10605 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10606 * benchtests/bench-string.h: Include bench-timing.h instead
10607 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10608 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10609 call to HP_TIMING_DIFF_INIT.
10610 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10611 instead of hp-timing.h macros.
10612 * benchtests/bench-memchr.c: Likewise.
10613 * benchtests/bench-memcmp.c: Likewise.
10614 * benchtests/bench-memcpy.c: Likewise.
10615 * benchtests/bench-memmem.c: Likewise.
10616 * benchtests/bench-memmove.c: Likewise.
10617 * benchtests/bench-memset.c: Likewise.
10618 * benchtests/bench-rawmemchr.c: Likewise.
10619 * benchtests/bench-strcasecmp.c: Likewise.
10620 * benchtests/bench-strcasestr.c: Likewise.
10621 * benchtests/bench-strcat.c: Likewise.
10622 * benchtests/bench-strchr.c: Likewise.
10623 * benchtests/bench-strcmp.c: Likewise.
10624 * benchtests/bench-strcpy.c: Likewise.
10625 * benchtests/bench-strcpy_chk.c: Likewise.
10626 * benchtests/bench-strlen.c: Likewise.
10627 * benchtests/bench-strncasecmp.c: Likewise.
10628 * benchtests/bench-strncat.c: Likewise.
10629 * benchtests/bench-strncmp.c: Likewise.
10630 * benchtests/bench-strncpy.c: Likewise.
10631 * benchtests/bench-strnlen.c: Likewise.
10632 * benchtests/bench-strpbrk.c: Likewise.
10633 * benchtests/bench-strrchr.c: Likewise.
10634 * benchtests/bench-strspn.c: Likewise.
10635 * benchtests/bench-strstr.c: Likewise.
10637 2013-09-04 Will Newton <will.newton@linaro.org>
10639 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10641 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10644 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10645 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10646 * math/libm-test.inc (lgamma_test_data): Add more tests.
10647 * sysdeps/i386/fpu/libm-test-ulps: Update.
10648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10650 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10652 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10656 Add strcmp-sse2-unaligned
10657 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10659 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10661 * Versions.def (libc): Add GLIBC_2.19.
10663 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10665 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10666 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10668 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10671 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10672 intermediate calculations in recurrence.
10673 (__ieee754_ynf): Likewise.
10674 * math/libm-test.inc (jn_test_data): Do not allow spurious
10675 underflow exception. Add more tests.
10676 (yn_test_data): Add more tests.
10677 * sysdeps/i386/fpu/libm-test-ulps: Update.
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10680 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10682 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10684 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10686 * csu/init-first.c: Fix then/than typos.
10687 * locale/programs/ld-collate.c: Likewise.
10688 * locale/programs/linereader.h: Likewise.
10689 * manual/charset.texi: Likewise.
10690 * manual/filesys.texi: Likewise.
10691 * manual/stdio.texi: Likewise.
10692 * manual/string.texi: Likewise.
10693 * stdlib/fmtmsg.c: Likewise.
10694 * sysdeps/i386/stpncpy.S: Likewise.
10695 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10696 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10697 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10698 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10700 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10702 * elf/dl-open.c: Fix typos.
10703 * iconvdata/gbbig5.c: Likewise.
10704 * iconvdata/iso-2022-jp.c: Likewise.
10705 * iconv/gconv_int.h: Likewise.
10706 * iconv/loop.c: Likewise.
10707 * nis/rpcsvc/nis.h: Likewise.
10708 * resolv/ns_name.c: Likewise.
10709 * stdio-common/vfscanf.c: Likewise.
10710 * streams/stropts.h: Likewise.
10711 * sunrpc/rpc_thread.c: Likewise.
10712 * sysdeps/i386/strpbrk.S: Likewise.
10713 * sysdeps/ieee754/k_standard.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10716 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10717 * sysdeps/mach/hurd/profil.c: Likewise.
10718 * sysdeps/s390/dl-procinfo.h: Likewise.
10719 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10720 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10722 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10723 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10725 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10727 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10728 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10730 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10732 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10733 aix specific files.
10734 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10735 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10736 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10737 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10738 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10739 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10740 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10741 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10743 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10744 Roland McGrath <roland@hack.frob.com>
10746 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10747 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10749 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10751 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10752 __executable_start symbol instead of _start.
10754 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10756 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10757 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10759 * sysdeps/gnu/ldsodefs.h: ... this new file.
10761 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10762 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10763 instead of ELFOSABI_LINUX.
10765 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10766 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10767 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10768 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10770 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10771 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10774 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10775 (ibm_extended_long_double): Add ieee_nan member.
10776 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10777 (do_test): New function.
10779 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10781 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10782 functions, renamed from truncdfsf_test, trunctfsf_test,
10784 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10786 (do_test): Run all these.
10788 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10790 * argp/argp-help.c: Fix typos.
10791 * argp/argp-parse.c: Likewise.
10792 * debug/backtracesyms.c: Likewise.
10793 * elf/elf.h: Likewise.
10794 * malloc/malloc.c: Likewise.
10795 * nis/nis_print.c: Likewise.
10796 * resolv/res_comp.c: Likewise.
10797 * stdlib/stdlib.h: Likewise.
10798 * sunrpc/clnt_tcp.c: Likewise.
10799 * sunrpc/clnt_udp.c: Likewise.
10800 * sunrpc/clnt_unix.c: Likewise.
10801 * sysdeps/unix/bsd/ptsname.c: Likewise.
10802 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10803 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10810 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10812 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10814 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10817 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10820 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10821 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10822 ($(objpfx)bug-dl-leaf): New rule.
10823 ($(objpfx)bug-dl-leaf.so): Likewise.
10824 ($(objpfx)bug-dl-leaf.out): Likewise.
10825 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10826 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10827 * dlfcn/bug-dl-leaf.c: New test.
10828 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10829 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10830 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10831 (dlclose): Likewise.
10832 (dlmopen): Likewise.
10834 2013-08-27 Roland McGrath <roland@hack.frob.com>
10836 * include/netdb.h [!_ISOMAC]:
10837 Don't include <tls.h>.
10838 (h_errno, __libc_h_errno): Move declaration and macros out of
10841 * include/resolv.h [_RESOLV_H_]:
10842 Don't include <tls.h>.
10843 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10844 * resolv/res_libc.c: Don't include <tls.h>.
10845 (_res): Use __attribute__ ((nocommon)) in place of
10846 __attribute__ ((section (".bss"))).
10848 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10849 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10851 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10853 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10854 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10856 * resolv/res_mkquery.c: Include <sys/time.h>.
10858 * inet/ifreq.c: Moved to ...
10859 * sysdeps/unix/ifreq.c: ... here.
10860 * inet/ifreq.c: New file, true stub version.
10862 * socket/sa_len.c: New file.
10863 * socket/Makefile (aux): Add it.
10864 * sysdeps/unix/sysv/linux/Makefile
10865 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10866 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10867 and #include <socket/sa_len.c>.
10868 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10869 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10871 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10872 * bits/socket.h: ... here.
10874 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10875 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10876 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10878 2013-08-27 Andreas Schwab <schwab@suse.de>
10881 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10882 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10883 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10884 * string/test-strcasecmp.c (test_main): Run tests in several
10886 * string/test-strncasecmp.c (test_main): Likewise.
10888 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10889 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10890 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10892 (__strncasecmp_ssse3) [PIC]: Likewise.
10894 2013-08-26 Roland McGrath <roland@hack.frob.com>
10896 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10898 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10899 instead of explicitly declaring xdecrypt.
10900 * nis/nss_nis/nis-publickey.c: Likewise.
10902 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10905 * nscd/aicache.c: Include res_hconf.h.
10906 (addhstaiX): Initialize res_hconf.
10908 2013-08-26 Andreas Schwab <schwab@suse.de>
10910 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10911 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10913 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10915 * nscd/aicache.c (addhstaiX): Fix indentation.
10917 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10919 * configure.ac: Quote $build_pt_chown test.
10920 * configure: Regenerated.
10922 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10925 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10926 * math/s_cexpf.c (__cexpf): Likewise.
10927 * math/s_cexpl.c (__cexpl): Likewise.
10928 * math/libm-test.inc (cexp_test_data): Correct expected return
10929 value for NaN + i0. Add another test.
10931 2013-08-22 David S. Miller <davem@davemloft.net>
10933 * po/ca.po: Update Catalan translation from translation project.
10934 * po/uk.po: Add Ukrainian translations from translation project.
10936 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10939 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10940 is infinite, not alongside NaN test.
10941 * math/s_fdimf.c (__fdimf): Likewise.
10942 * math/s_fdiml.c (__fdiml): Likewise.
10943 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10944 errno is unchanged.
10946 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10948 * argp/argp-help.c: Fix typos.
10949 * crypt/speeds.c: Likewise.
10950 * csu/check_fds.c: Likewise.
10951 * elf/dl-load.c: Likewise.
10952 * elf/dl-open.c: Likewise.
10953 * elf/reldep3.c: Likewise.
10954 * elf/reldep.c: Likewise.
10955 * elf/sprof.c: Likewise.
10956 * iconv/iconv_charmap.c: Likewise.
10957 * iconv/skeleton.c: Likewise.
10958 * iconv/strtab.c: Likewise.
10959 * io/lockf64.c: Likewise.
10960 * libio/libioP.h: Likewise.
10961 * resolv/gai_notify.c: Likewise.
10962 * resolv/ns_name.c: Likewise.
10963 * resolv/ns_samedomain.c: Likewise.
10964 * resolv/res_send.c: Likewise.
10965 * stdlib/random.c: Likewise.
10966 * sunrpc/rpc/xdr.h: Likewise.
10967 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10968 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10969 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10970 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10971 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10974 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10975 * sysdeps/mach/hurd/check_fds.c: Likewise.
10976 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10977 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10978 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10979 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10980 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10981 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10982 * sysdeps/pthread/aio_notify.c: Likewise.
10983 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10984 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10985 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10987 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10989 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10991 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10992 version if bit_Slow_SSE4_2 is set.
10993 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10994 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10996 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10999 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11000 trampoline stack frame information.
11001 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11002 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11003 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11004 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11005 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11006 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11007 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11008 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11010 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11011 interrupting a syscall and set with option SA_SIGINFO.
11013 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11016 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11017 argument is infinite.
11018 * math/s_cprojf.c (__cprojf): Likewise.
11019 * math/s_cprojl.c (__cprojl): Likewise.
11020 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11021 * math/libm-test.inc (cproj_test_data): Add more tests.
11023 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11025 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11026 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11027 size. Use __ffs to determine corresponding shift.
11029 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11030 Roland McGrath <roland@hack.frob.com>
11032 * Makefile (INSTALL): Remove trailing blank lines from output of
11035 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11037 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11038 Align 32 bit compat elf_greg to 8 bytes.
11040 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11042 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11044 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11046 * string/strcoll_l.c (coll_seq): New structure.
11047 (get_next_seq_cached): New function.
11048 (get_next_seq): New function.
11049 (do_compare): New function.
11050 (STRCOLL): Use GNU style definition. Simplify implementation
11051 by using get_next_seq, get_next_seq_cached and do_compare.
11053 2013-08-16 Florian Weimer <fweimer@redhat.com>
11057 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11059 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11061 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11062 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11063 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11065 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11066 GETDENTS_64BIT_ALIGNED.
11067 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11068 * manual/filesys.texi (Reading/Closing Directory): Document
11069 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11071 * manual/conf.texi (Limits for Files): Add portability note to
11072 NAME_MAX, PATH_MAX.
11073 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11075 2013-08-13 Andreas Schwab <schwab@suse.de>
11078 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11080 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11081 LDBL_MAX_EXP >= 16384]: Add tests for it.
11083 2013-08-12 David S. Miller <davem@davemloft.net>
11085 * version.h (RELEASE): Set to "development".
11086 (VERSION): Set to "2.18.90".
11087 * NEWS: Add 2.19 section.
11089 2013-08-03 David S. Miller <davem@davemloft.net>
11091 * po/ko.po: Update Korean translation from translation project.
11093 2013-08-01 David S. Miller <davem@davemloft.net>
11095 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11096 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11099 2013-07-30 David S. Miller <davem@davemloft.net>
11101 * po/fr.po: Update French translation from translation project.
11103 2013-07-28 David S. Miller <davem@davemloft.net>
11105 * po/cs.po: Update Czech translation from translation project.
11107 * po/sv.po: Update Swedish translation from translation project.
11109 2013-07-27 David S. Miller <davem@davemloft.net>
11111 * po/eo.po: Update Esperanto translation from translation project.
11113 * po/vi.po: Update Vietnamese translation from translation project.
11115 * po/de.po: Update German translation from translation project.
11117 2013-07-26 David S. Miller <davem@davemloft.net>
11119 * po/bg.po: Update Bulgarian translation from translation project.
11121 * po/nl.po: Update Dutch translation from translation project.
11122 * po/pl.po: Update Polish translation from translation project.
11123 * po/ru.po: Update Russian translation from translation project.
11125 2013-07-24 David S. Miller <davem@davemloft.net>
11127 * po/libc.pot: Update.
11129 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11131 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11132 variable page size.
11133 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11134 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11135 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11137 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11139 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11141 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11142 Andreas Schwab <schwab@suse.de>
11143 Roland McGrath <roland@hack.frob.com>
11144 Joseph Myers <joseph@codesourcery.com>
11145 Carlos O'Donell <carlos@redhat.com>
11148 * config.h.in: Define HAVE_PT_CHOWN.
11149 * config.make.in (build-pt-chown): New variable.
11150 * configure.in (--enable-pt_chown): New configure option.
11151 * configure: Regenerate.
11152 * login/Makefile: Include Makeconfig. Build pt_chown only if
11153 build-pt-chown is enabled.
11154 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11155 pt_chown to fix pty ownership.
11156 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11158 * manual/install.texi (Configuring and compiling): Mention
11159 --enable-pt_chown. Add @findex for grantpt.
11160 * INSTALL: Regenerate.
11162 2013-07-20 David S. Miller <davem@davemloft.net>
11164 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11165 difference between 32-bit and 64-bit.
11167 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11170 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11171 Avoid system header dependency with -ffreestanding.
11172 ($(objpfx)bits/syscall%d): Likewise.
11174 2013-07-13 David S. Miller <davem@davemloft.net>
11176 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11177 underflows from atanl/atan2l due to bug 15319.
11178 (casinh_test_data): Likewise.
11180 2013-07-07 David S. Miller <davem@davemloft.net>
11182 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11184 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11186 * sysdeps/i386/fpu/libm-test-ulps: Update.
11187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11189 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11191 * configure.in (--enable-lock-elision): Fix message text.
11192 * INSTALL: Regenerate.
11193 * configure: Regenerate.
11195 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11199 2013-07-03 Andreas Jaeger <aj@suse.de>
11201 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11203 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11204 (ptrace_peeksiginfo_args): Add.
11205 (__ptrace_peeksiginfo_flags): Add.
11206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11210 2013-07-03 Allan McRae <allan@archlinux.org>
11212 * sysdeps/i386/fpu/libm-test-ulps: Update.
11214 2013-07-02 David S. Miller <davem@davemloft.net>
11216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11218 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11222 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11224 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11227 2013-07-02 Andi Kleen <ak@linux.intel.com>
11229 * config.h.in (ENABLE_LOCK_ELISION): Add.
11230 * configure.in (--enable-lock-elision): Add option.
11231 * manual/install.texi: Document --enable lock elision.
11232 * configure: Regenerate
11233 * INSTALL: Regenerate.
11235 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11237 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11238 SSE4.2 strcasecmp for libc.a.
11239 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11241 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11244 * soft-fp/op-common.h (_FP_FMA): New macro.
11245 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11246 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11247 (_FP_MUL_MEAT_1_imm): ... here.
11248 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11249 (_FP_MUL_MEAT_1_wide): ... here.
11250 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11251 (_FP_MUL_MEAT_1_hard): ... here.
11252 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11253 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11254 (_FP_MUL_MEAT_2_wide): ... here.
11255 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11256 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11257 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11258 (_FP_MUL_MEAT_2_gmp): ... here.
11259 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11260 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11261 (_FP_MUL_MEAT_4_wide): ... here.
11262 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11263 (_FP_MUL_MEAT_4_gmp): ... here.
11264 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11265 (_FP_WFRACBITS_DW_S): Likewise.
11266 (_FP_WFRACXBITS_DW_S): Likewise.
11267 (_FP_HIGHBIT_DW_S): Likewise.
11268 (FP_FMA_S): Likewise.
11269 (_FP_FRAC_HIGH_DW_S): Likewise.
11270 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11271 (_FP_WFRACBITS_DW_D): Likewise.
11272 (_FP_WFRACXBITS_DW_D): Likewise.
11273 (_FP_HIGHBIT_DW_D): Likewise.
11274 (FP_FMA_D): Likewise.
11275 (_FP_FRAC_HIGH_DW_D): Likewise.
11276 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11277 (_FP_WFRACBITS_DW_E): Likewise.
11278 (_FP_WFRACXBITS_DW_E): Likewise.
11279 (_FP_HIGHBIT_DW_E): Likewise.
11280 (FP_FMA_E): Likewise.
11281 (_FP_FRAC_HIGH_DW_E): Likewise.
11282 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11283 (_FP_WFRACBITS_DW_Q): Likewise.
11284 (_FP_WFRACXBITS_DW_Q): Likewise.
11285 (_FP_HIGHBIT_DW_Q): Likewise.
11286 (FP_FMA_Q): Likewise.
11287 (_FP_FRAC_HIGH_DW_Q): Likewise.
11288 * soft-fp/fmasf4.c: New file.
11289 * soft-fp/fmadf4.c: Likewise.
11290 * soft-fp/fmatf4.c: Likewise.
11292 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11295 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11297 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11299 (index_Slow_SSE4_2): Likewise.
11300 (index_Prefer_PMINUB_for_stringop): Likewise.
11301 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11302 bit_Slow_SSE4_2 is set.
11303 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11304 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11306 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11308 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11309 rtld_global._dl_hwcap2.
11310 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11312 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11313 POWER8 feature descriptions defined in _dl_hwcap2.
11314 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11315 string handling for POWER8 feature bits.
11316 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11317 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11318 _dl_powerpc_cap_flags.
11319 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11320 * sysdeps/powerpc/rtld-global-offsets.sym
11321 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11322 _dl_hwcap2 in the rtld_global_ro structure.
11324 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11326 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11327 hardware capabilities in support of AT_HWCAP2.
11328 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11329 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11331 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11332 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11333 explicitly the unknown a_type display mechanism is used.
11334 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11335 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11337 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11338 to macro prototype for AT_HWCAP2 support.
11339 * sysdeps/i386/dl-procinfo.h: Likewise.
11340 * sysdeps/s390/dl-procinfo.h: Likewise.
11341 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11342 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11343 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11344 return -1 for unknown a_type display fallback.
11345 * sysdeps/sparc/dl-procinfo.h: Likewise.
11346 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11347 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11349 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11351 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11352 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11354 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11357 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11358 mprotect making __stack_prot writable.
11360 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11361 Joseph Myers <joseph@codesourcery.com>
11363 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11364 as being properly aligned.
11366 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11368 * dlfcn/modstatic5.c: New file.
11369 * dlfcn/tststatic5.c: New file.
11370 * dlfcn/Makefile (tests): Add tststatic5.
11371 (tests-static): Likewise.
11372 (modules-names): Add modstatic5.
11373 (tststatic5-ENV): New variable.
11374 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11377 * elf/dl-support.c (_dl_main_map): New variable.
11378 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11379 (_dl_nns, _dl_load_adds): Set to 1.
11380 (_dl_initial_searchlist): Refer to _dl_main_map.
11381 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11382 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11383 call to _dl_get_origin.
11384 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11386 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11387 * dlfcn/modstatic3.c: New file.
11388 * dlfcn/tststatic3.c: New file.
11389 * dlfcn/tststatic4.c: New file.
11390 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11391 (tests-static): Likewise.
11392 (modules-names): Add modstatic3.
11393 (tststatic3-ENV, tststatic4-ENV): New variables.
11394 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11395 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11397 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11399 * configure.in (CC): Require GCC version 4.4 or later.
11400 * configure: Regenerated.
11401 * manual/install.texi (Tools for Compilation): Update GCC version
11403 * INSTALL: Regenerated.
11405 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11408 * string/test-memcmp.c (check2): New.
11409 (main): Call check2.
11411 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11413 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11416 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11418 (dl_open_worker) [!SHARED]: ... here.
11420 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11422 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11424 2013-06-25 Richard Henderson <rth@redhat.com>
11426 * locale/programs/locarchive.c: Include <libc-internal.h>
11428 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11430 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11431 trailing whitespace removed.
11433 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11436 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11437 * locale/programs/locarchive.c: Include libc-mmap.h.
11438 (prepare_address_space): Take two new outputs (the mmap base and len).
11439 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11441 (create_archive): Declare new mmap base and len values for
11442 prepare_address_space, and store the result in ah.
11443 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11444 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11445 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11446 Declare new mmap base and len values for
11447 prepare_address_space, and store the result in new_ah.
11448 (open_archive): Declare new mmap base and len values for
11449 prepare_address_space, and store the result in ah.
11450 (close_archive): If ah->mmap_base is not NULL, use that and
11451 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11452 * sysdeps/generic/libc-mmap.h: New file.
11454 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11456 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11457 (ALIGN_UP): Likewise.
11458 (PTR_ALIGN_DOWN): Likewise.
11459 (PTR_ALIGN_UP): Likewise.
11461 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11463 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11464 entry mapped to PPC_PLATFORM_POWER8.
11465 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11467 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11468 (_dl_string_platform): Add case for exporting platform position for
11470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11471 search path to sysdeps/powerpc/powerpc32/power8 directory.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11473 search path to sysdeps/powerpc/powerpc64/power8 directory.
11474 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11475 power7 directories.
11476 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11477 power7 directories.
11479 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11481 * INSTALL: Regenerate.
11483 * nscd/connections.c (nscd_init): Fix comment.
11485 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11487 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11490 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11491 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11493 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11495 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11497 (DL_DST_REQ_STATIC): Remove macro.
11499 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11502 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11503 with a shift of 0 bits.
11505 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11507 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11510 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11513 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11515 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11517 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11518 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11519 accepts -fno-tree-loop-distribute-patterns.
11520 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11521 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11523 * string/memset.c (memset): Likewise.
11524 * string/test-memmove.c (simple_memmove): Disable loop transformation
11526 * string/test-memset.c (simple_memset): Likewise.
11527 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11528 * benchtests/bench-memset.c (simple_memset): Likewise.
11529 * configure: Regenerated.
11531 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11533 * math/test-misc.c (main): Ignore fesetround failure when failures
11534 of subsequent rounding tests would be ignored.
11537 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11538 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11539 * math/fegetenv.c (__fegetenv): Return 0.
11540 * math/fegetexcept.c (fegetexcept): Return 0.
11541 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11543 * math/feholdexcpt.c (feholdexcept): Return 0.
11544 * math/fesetenv.c (__fesetenv): Return 0.
11545 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11546 argument FE_TONEAREST.
11547 * math/feupdateenv.c (__feupdateenv): Return 0.
11548 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11550 2013-06-18 Roland McGrath <roland@hack.frob.com>
11552 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11553 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11554 ($(objpfx)rtld-%.os rules): Use them.
11556 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11558 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11561 2013-06-17 Roland McGrath <roland@hack.frob.com>
11563 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11564 length of target pattern, then descending length of dependency pattern.
11565 * configure.in (AWK): Require gawk 3.1.2 or newer.
11566 * manual/install.texi (Tools for Compilation): Say that we do.
11567 * configure: Regenerated.
11569 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11570 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11571 * scripts/sysd-rules.awk: ... this new script.
11572 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11573 than a glob-style pattern.
11575 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11577 * math/test-misc.c (main): Do not treat incorrectly rounded
11578 conversions as failure unless ROUNDING_TESTS passes.
11580 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11583 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11584 restore exception state around main square root computation, then
11585 check for inexactness explicitly.
11587 * math/libm-test.inc (fma_test_data): Add another test.
11589 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11591 * manual/threads.texi (Non-POSIX Extensions): New document
11592 node. Document pthread_getattr_default_np and
11593 pthread_setattr_default_np.
11595 * Versions.def (libpthread): Add GLIBC_2.18.
11596 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11605 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11616 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11619 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11621 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11622 H.J. Lu <hjl.tools@gmail.com>
11625 * sysdeps/x86_64/rtld-memset.c: Remove file.
11626 * sysdeps/x86_64/rtld-memset.S: New file.
11628 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11630 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11631 (test_in_one_mode): Take arguments for whether the rounding mode
11632 is supported for each floating-point type.
11633 (do_test): Pass new arguments to test_in_one_mode using
11636 2013-06-13 Roland McGrath <roland@hack.frob.com>
11638 * posix/tst-waitid.c (do_test): Distinguish different instances of
11639 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11640 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11641 before entering the kernel for waitpid.
11643 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11645 * NEWS: Fix note on clock function precision. Text by Roland
11648 2013-06-13 Roland McGrath <roland@hack.frob.com>
11650 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11651 it into place only when and if the sanity check passes.
11653 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11655 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11656 output for whether conversion result is exact. Take argument
11657 indicating whether type is IBM long double.
11658 (round_for_all): Change need_exact field to ibm_ld.
11659 * stdlib/tst-strtod-round.c (struct exactness): New type.
11660 (struct test): Change bool ld_ok field to struct exactness exact.
11661 (TEST): Update all definitions for change to field.
11662 (tests): Regenerate array contents.
11663 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11664 field value. Check for IBM long double here.
11665 (do_test): Update calls to test_in_one_mode.
11667 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11670 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11671 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11673 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11676 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11677 generated by the compiler on loop optimizations.
11678 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11679 general definitions.
11681 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11683 * math/bug-nextafter.c: Include <math-tests.h>.
11684 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11686 * math/bug-nexttoward.c: Include <math-tests.h>.
11687 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11689 * math/test-misc.c: Include <math-tests.h>.
11690 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11693 2013-06-12 Andreas Jaeger <aj@suse.de>
11695 * po/ia.po: Update Interlingua translation from translation
11698 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11700 * include/fenv.h: Include stdbool.h.
11701 (struct rm_ctx): New structure.
11702 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11704 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11705 (SET_RESTORE_ROUNDF): Likewise.
11706 (SET_RESTORE_ROUNDL): Likewise.
11707 (SET_RESTORE_ROUND_NOEX): Likewise.
11708 (SET_RESTORE_ROUND_NOEXF): Likewise.
11709 (SET_RESTORE_ROUND_NOEXL): Likewise.
11710 (SET_RESTORE_ROUND_53BIT): Likewise.
11711 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11712 (libc_feresetround_noexf_ctx): Likewise.
11713 (libc_feresetround_noexl_ctx): Likewise.
11714 (libc_feholdsetround_53bit_ctx): Likewise.
11715 (libc_feresetround_53bit_ctx): Likewise.
11716 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11717 (libc_feholdexcept_setround_sse_ctx): New function.
11718 (libc_fesetenv_sse_ctx): Likewise.
11719 (libc_feupdateenv_sse_ctx): Likewise.
11720 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11721 (libc_feholdexcept_setround_387_ctx): Likewise.
11722 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11723 (libc_feholdsetround_387_prec_ctx): Likewise.
11724 (libc_feholdsetround_387_ctx): Likewise.
11725 (libc_feholdsetround_387_53bit_ctx): Likewise.
11726 (libc_feholdsetround_sse_ctx): Likewise.
11727 (libc_feresetround_sse_ctx): Likewise.
11728 (libc_feresetround_387_ctx): Likewise.
11729 (libc_feupdateenv_387_ctx): Likewise.
11730 (libc_feholdexcept_setroundf_ctx): Define macro.
11731 (libc_fesetenvf_ctx): Likewise.
11732 (libc_feupdateenvf_ctx): Likewise.
11733 (libc_feholdsetroundf_ctx): Likewise.
11734 (libc_feresetroundf_ctx): Likewise.
11735 (libc_feholdexcept_setround_ctx): Likewise.
11736 (libc_fesetenv_ctx): Likewise.
11737 (libc_feupdateenv_ctx): Likewise.
11738 (libc_feholdsetround_ctx): Likewise.
11739 (libc_feresetround_ctx): Likewise.
11740 (libc_feholdexcept_setroundl_ctx): Likewise.
11741 (libc_feupdateenvl_ctx): Likewise.
11742 (libc_feholdsetroundl_ctx): Likewise.
11743 (libc_feresetroundl_ctx): Likewise.
11744 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11745 (libc_feresetround_53bit_ctx): Likewise.
11747 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11749 * locale/iso-639.def: Convert to UTF-8.
11751 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11753 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11754 (EXCEPTION_TESTS_double): Likewise.
11755 (EXCEPTION_TESTS_long_double): Likewise.
11756 (EXCEPTION_TESTS): Likewise.
11757 * math/libm-test.inc (test_exceptions): Only test exceptions if
11758 EXCEPTION_TESTS (FLOAT).
11760 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11762 * benchtests/Makefile (string-bench): Add strcpy_chk and
11764 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11765 * benchtests/bench-stpcpy_chk.c: New file.
11766 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11767 * benchtests/bench-strcpy_chk.c: New file.
11768 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11770 (do_test): Likewise.
11772 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11774 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11775 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11776 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11777 with tabs where appropriate.
11778 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11780 [PPC_PLATFORM_PPC440]: Likewise.
11781 [PPC_PLATFORM_PPC464]: Likewise.
11782 [PPC_PLATFORM_PPC476]: Likewise.
11783 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11784 ppc464, and ppc476 platform strings merging from ports/
11787 2013-06-11 Andreas Schwab <schwab@suse.de>
11790 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11791 (from_ucs4_idx): Regenerate.
11792 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11793 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11794 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11795 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11796 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11797 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11798 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11799 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11800 from FROM_LOOP and TO_LOOP specific macros.
11801 (BODY): Handle combining characters.
11802 * iconvdata/BIG5HKSCS.irreversible: Update.
11803 * iconvdata/BIG5HKSCS.precomposed: New file.
11804 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11806 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11808 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11810 * include/sys/time.h: Fix indentation and add copyright header.
11812 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11813 (do_test): Likewise.
11814 * string/test-memchr.c (do_one_test): Likewise.
11815 (do_test): Likewise.
11816 * string/test-memcmp.c (do_one_test): Likewise.
11817 (do_test): Likewise.
11818 * string/test-memcpy.c (do_one_test): Likewise.
11819 (do_test): Likewise.
11820 * string/test-memmem.c (do_one_test): Likewise.
11821 (do_test): Likewise.
11822 (do_random_tests): Likewise.
11823 * string/test-memmove.c (do_one_test): Likewise.
11824 (do_test): Likewise.
11825 * string/test-memset.c (do_one_test): Likewise.
11826 (do_test): Likewise.
11827 * string/test-rawmemchr.c (do_one_test): Likewise.
11828 (do_test): Likewise.
11829 * string/test-strcasecmp.c (do_one_test): Likewise.
11830 (do_test): Likewise.
11831 * string/test-strcasestr.c (do_one_test): Likewise.
11832 (do_test): Likewise.
11833 * string/test-strcat.c (do_one_test): Likewise.
11834 (do_test): Likewise.
11835 * string/test-strchr.c (do_one_test): Likewise.
11836 (do_test): Likewise.
11837 * string/test-strcmp.c (do_one_test): Likewise.
11838 (do_test): Likewise.
11839 * string/test-strcpy.c (do_one_test): Likewise.
11840 (do_test): Likewise.
11841 * string/test-string.h: Likewise.
11842 (test_init): Likewise.
11843 * string/test-strlen.c (do_one_test): Likewise.
11844 (do_test): Likewise.
11845 * string/test-strncasecmp.c (do_one_test): Likewise.
11846 (do_test): Likewise.
11847 * string/test-strncat.c (do_one_test): Likewise.
11848 (do_test): Likewise.
11849 * string/test-strncmp.c (do_one_test): Likewise.
11850 (do_test_limit): Likewise.
11851 (do_test): Likewise.
11852 * string/test-strncpy.c (do_one_test): Likewise.
11853 (do_test): Likewise.
11854 * string/test-strnlen.c (do_one_test): Likewise.
11855 (do_test): Likewise.
11856 * string/test-strpbrk.c (do_one_test): Likewise.
11857 (do_test): Likewise.
11858 * string/test-strrchr.c (do_one_test): Likewise.
11859 (do_test): Likewise.
11860 * string/test-strspn.c (do_one_test): Likewise.
11861 (do_test): Likewise.
11862 * string/test-strstr.c (do_one_test): Likewise.
11863 (do_test): Likewise.
11865 * benchtests/Makefile (string-bench): Add string benchmarks.
11866 * benchtests/bench-bcopy-ifunc.c: New file.
11867 * benchtests/bench-bcopy.c: New file.
11868 * benchtests/bench-bzero-ifunc.c: New file.
11869 * benchtests/bench-bzero.c: New file.
11870 * benchtests/bench-memccpy-ifunc.c: New file.
11871 * benchtests/bench-memccpy.c: New file.
11872 * benchtests/bench-memchr-ifunc.c: New file.
11873 * benchtests/bench-memchr.c: New file.
11874 * benchtests/bench-memcmp-ifunc.c: New file.
11875 * benchtests/bench-memcmp.c: New file.
11876 * benchtests/bench-memmem-ifunc.c: New file.
11877 * benchtests/bench-memmem.c: New file.
11878 * benchtests/bench-memmove-ifunc.c: New file.
11879 * benchtests/bench-memmove.c: New file.
11880 * benchtests/bench-mempcpy-ifunc.c: New file.
11881 * benchtests/bench-mempcpy.c: New file.
11882 * benchtests/bench-memset-ifunc.c: New file.
11883 * benchtests/bench-memset.c: New file.
11884 * benchtests/bench-rawmemchr-ifunc.c: New file.
11885 * benchtests/bench-rawmemchr.c: New file.
11886 * benchtests/bench-stpcpy-ifunc.c: New file.
11887 * benchtests/bench-stpcpy.c: New file.
11888 * benchtests/bench-stpncpy-ifunc.c: New file.
11889 * benchtests/bench-stpncpy.c: New file.
11890 * benchtests/bench-strcasecmp-ifunc.c: New file.
11891 * benchtests/bench-strcasecmp.c: New file.
11892 * benchtests/bench-strcasestr-ifunc.c: New file.
11893 * benchtests/bench-strcasestr.c: New file.
11894 * benchtests/bench-strcat-ifunc.c: New file.
11895 * benchtests/bench-strcat.c: New file.
11896 * benchtests/bench-strchr-ifunc.c: New file.
11897 * benchtests/bench-strchr.c: New file.
11898 * benchtests/bench-strchrnul-ifunc.c: New file.
11899 * benchtests/bench-strchrnul.c: New file.
11900 * benchtests/bench-strcmp-ifunc.c: New file.
11901 * benchtests/bench-strcmp.c: New file.
11902 * benchtests/bench-strcpy-ifunc.c: New file.
11903 * benchtests/bench-strcpy.c: New file.
11904 * benchtests/bench-strcspn-ifunc.c: New file.
11905 * benchtests/bench-strcspn.c: New file.
11906 * benchtests/bench-strlen-ifunc.c: New file.
11907 * benchtests/bench-strlen.c: New file.
11908 * benchtests/bench-strncasecmp-ifunc.c: New file.
11909 * benchtests/bench-strncasecmp.c: New file.
11910 * benchtests/bench-strncat-ifunc.c: New file.
11911 * benchtests/bench-strncat.c: New file.
11912 * benchtests/bench-strncmp-ifunc.c: New file.
11913 * benchtests/bench-strncmp.c: New file.
11914 * benchtests/bench-strncpy-ifunc.c: New file.
11915 * benchtests/bench-strncpy.c: New file.
11916 * benchtests/bench-strnlen-ifunc.c: New file.
11917 * benchtests/bench-strnlen.c: New file.
11918 * benchtests/bench-strpbrk-ifunc.c: New file.
11919 * benchtests/bench-strpbrk.c: New file.
11920 * benchtests/bench-strrchr-ifunc.c: New file.
11921 * benchtests/bench-strrchr.c: New file.
11922 * benchtests/bench-strspn-ifunc.c: New file.
11923 * benchtests/bench-strspn.c: New file.
11924 * benchtests/bench-strstr-ifunc.c: New file.
11925 * benchtests/bench-strstr.c: New file.
11927 * benchtests/Makefile: Disable parallel execution of targets.
11928 (string-bench): Add memcpy.
11929 (benchset): New variable to store a list of benchmark sets.
11930 (bench-func): Renamed from bench.
11931 (bench-set): New target.
11932 (bench): Depend on bench-func and bench-set.
11933 * benchtests/README: Add section on benchmark sets.
11934 * benchtests/bench-memcpy-ifunc.c: New file.
11935 * benchtests/bench-memcpy.c: New file.
11936 * benchtests/bench-string.h: New file.
11938 2013-06-11 Andreas Schwab <schwab@suse.de>
11941 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11942 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11943 values in the triple.
11944 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11945 terminator in the group key.
11947 2013-06-11 Andreas Jaeger <aj@suse.de>
11949 * po/zh_TW.po: Update Chinese (traditional) translation from
11950 translation project.
11952 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11954 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11955 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11956 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11957 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11958 (clock_getcpuclockid): Likewise.
11959 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11960 Add weak_alias and libc_hidden_def.
11961 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11962 * rt/clock_gettime.c (clock_gettime): Rename to
11963 __clock_gettime. Add weak_alias and libc_hidden_def.
11964 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11965 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11966 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11967 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11968 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11970 * rt/clock_settime.c (clock_settime): Rename to
11971 __clock_settime. Add weak_alias and libc_hidden_def.
11972 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11974 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11976 * mach/err_boot.sub: Remove trailing whitespace.
11977 * mach/err_ipc.sub: Likewise.
11978 * mach/err_mach.sub: Likewise.
11980 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11981 (ROUNDING_TESTS_double): Likewise.
11982 (ROUNDING_TESTS_long_double): Likewise.
11983 (ROUNDING_TESTS): Likewise.
11984 * math/libm-test.inc: Include <math-tests.h>.
11985 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11986 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11987 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11988 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11990 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11992 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11995 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11997 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11998 otherwise empty TRANS lines.
11999 * sysdeps/gnu/errlist.c: Regenerated.
12001 * catgets/gencat.c (error_print): Use (void) in function
12003 * crypt/crypt_util.c (__init_des): Likewise.
12004 * crypt/speeds.c (Stop): Likewise.
12006 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12007 * inet/ruserpass.c (token): Likewise.
12008 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12009 * intl/localealias.c (extend_alias_table): Likewise.
12010 * intl/plural-exp.c (init_germanic_plural): Likewise.
12011 * libio/fcloseall.c (__fcloseall): Likewise.
12012 * libio/genops.c (_IO_flush_all): Likewise.
12013 (_IO_flush_all_linebuffered): Likewise.
12014 (_IO_cleanup): Likewise.
12015 (_IO_iter_begin): Likewise.
12016 (_IO_iter_end): Likewise.
12017 (_IO_list_lock): Likewise.
12018 (_IO_list_unlock): Likewise.
12019 (_IO_list_resetlock): Likewise.
12020 * libio/getchar.c (getchar): Likewise.
12021 * libio/getchar_u.c (getchar_unlocked): Likewise.
12022 * libio/getwchar.c (getwchar): Likewise.
12023 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12024 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12025 * login/getpt.c (__getpt): Likewise.
12026 * login/tst-utmp.c (main): Likewise.
12027 * malloc/hooks.c (__malloc_check_init): Likewise.
12028 * malloc/malloc.c (__malloc_stats): Likewise.
12029 * malloc/mtrace.c (tr_break): Likewise.
12030 (mtrace): Likewise.
12031 (muntrace): Likewise.
12032 * misc/fstab.c (endfsent): Likewise.
12033 * misc/getclktck.c (__getclktck): Likewise.
12034 * misc/getdtsz.c (__getdtablesize): Likewise.
12035 * misc/gethostid.c (gethostid): Likewise.
12036 * misc/getpagesize.c (__getpagesize): Likewise.
12037 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12038 (__get_nprocs): Likewise.
12039 (__get_phys_pages): Likewise.
12040 (__get_avphys_pages): Likewise.
12041 * misc/getttyent.c (getttyent): Likewise.
12042 (setttyent): Likewise.
12043 (endttyent): Likewise.
12044 * misc/getusershell.c (getusershell): Likewise.
12045 (endusershell): Likewise.
12046 (setusershell): Likewise.
12047 (initshells): Likewise.
12048 * misc/hsearch.c (__hdestroy): Likewise.
12049 * misc/sync.c (sync): Likewise.
12050 * misc/syslog.c (closelog_internal): Likewise.
12051 (closelog): Likewise.
12052 * misc/ttyslot.c (ttyslot): Likewise.
12053 * misc/vhangup.c (vhangup): Likewise.
12054 * posix/fork.c (__fork): Likewise.
12055 * posix/getegid.c (__getegid): Likewise.
12056 * posix/geteuid.c (__geteuid): Likewise.
12057 * posix/getgid.c (__getgid): Likewise.
12058 * posix/getpid.c (__getpid): Likewise.
12059 * posix/getppid.c (__getppid): Likewise.
12060 * posix/getuid.c (__getuid): Likewise.
12061 * posix/pause.c (pause): Likewise.
12062 * posix/setpgrp.c (setpgrp): Likewise.
12063 * posix/setsid.c (__setsid): Likewise.
12064 * posix/test-vfork.c (noop): Likewise.
12065 * resolv/gethnamaddr.c (_endhtent): Likewise.
12066 (_gethtent): Likewise.
12067 (ht_endhostent): Likewise.
12068 (gethostent): Likewise.
12069 (dns_service): Likewise.
12070 * stdlib/drand48.c (drand48): Likewise.
12071 * stdlib/lrand48.c (lrand48): Likewise.
12072 * stdlib/mrand48.c (mrand48): Likewise.
12073 * stdlib/rand.c (rand): Likewise.
12074 * stdlib/random.c (__random): Likewise.
12075 * stdlib/setenv.c (clearenv): Likewise.
12076 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12077 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12078 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12079 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12080 (__get_nprocs): Likewise.
12081 (__get_phys_pages): Likewise.
12082 (__get_avphys_pages): Likewise.
12083 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12084 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12085 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12086 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12087 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12088 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12089 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12090 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12091 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12092 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12093 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12094 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12095 * sysdeps/posix/clock.c (clock): Likewise.
12096 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12097 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12098 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12099 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12100 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12102 (__get_nprocs_conf): Likewise.
12103 (__get_phys_pages): Likewise.
12104 (__get_avphys_pages): Likewise.
12105 * time/clock.c (clock): Likewise.
12106 * time/tzset.c (__tzname_max): Likewise.
12108 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12110 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12111 (__bswap_32): Do not use "register".
12112 * crypt/crypt.c (_ufc_doit_r): Likewise.
12113 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12114 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12115 * gmon/gmon.c (__monstartup): Likewise.
12116 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12117 * hurd/hurdmalloc.c (more_memory): Likewise.
12118 (malloc): Likewise.
12120 (realloc): Likewise.
12121 (malloc_fork_prepare): Likewise.
12122 (malloc_fork_parent): Likewise.
12123 (malloc_fork_child): Likewise.
12124 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12125 (_svcauth_des): Likewise.
12126 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12127 * inet/inet_net.c (inet_network): Likewise.
12128 * inet/inet_netof.c (inet_netof): Likewise.
12129 * inet/rcmd.c (__validuser2_sa): Likewise.
12130 * io/fts.c (fts_open): Likewise.
12131 (fts_load): Likewise.
12132 (fts_close): Likewise.
12133 (fts_read): Likewise.
12134 (fts_children): Likewise.
12135 (fts_build): Likewise.
12136 (fts_stat): Likewise.
12137 (fts_sort): Likewise.
12138 (fts_alloc): Likewise.
12139 (fts_lfree): Likewise.
12140 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12141 (_IO_file_xsgetn): Likewise.
12142 (_IO_file_xsgetn_mmap): Likewise.
12143 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12144 (_IO_cookie_write): Likewise.
12145 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12146 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12147 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12148 * malloc/obstack.c (_obstack_begin): Likewise.
12149 (_obstack_begin_1): Likewise.
12150 (_obstack_newchunk): Likewise.
12151 (_obstack_allocated_p): Likewise.
12152 (obstack_free): Likewise.
12153 (_obstack_memory_used): Likewise.
12154 * misc/getttyent.c (getttynam): Likewise.
12155 (getttyent): Likewise.
12158 * misc/getusershell.c (initshells): Likewise.
12159 * misc/syslog.c (__vsyslog_chk): Likewise.
12160 * misc/ttyslot.c (ttyslot): Likewise.
12161 * nis/nis_hash.c (__nis_hash): Likewise.
12162 * posix/fnmatch_loop.c (FCT): Likewise.
12163 * posix/getconf.c (print_all): Likewise.
12165 * posix/getopt.c (exchange): Likewise.
12166 * posix/glob.c (globfree): Likewise.
12167 (prefix_array): Likewise.
12168 (__glob_pattern_type): Likewise.
12169 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12170 (NS_GET32): Likewise.
12171 (NS_PUT16): Likewise.
12172 (NS_PUT32): Likewise.
12173 * resolv/gethnamaddr.c (getanswer): Likewise.
12174 (gethostbyname2): Likewise.
12175 (gethostbyaddr): Likewise.
12176 (_gethtent): Likewise.
12177 (_gethtbyname2): Likewise.
12178 (_gethtbyaddr): Likewise.
12179 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12180 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12181 * resolv/res_init.c (__res_vinit): Likewise.
12182 (net_mask): Likewise.
12183 * resolv/res_mkquery.c (outchar): Likewise.
12185 * stdio-common/printf_fp.c (outchar): Likewise.
12187 * stdio-common/printf_fphex.c (outchar): Likewise.
12189 * stdio-common/printf_size.c (outchar): Likewise.
12191 * stdio-common/test_rdwr.c (main): Likewise.
12192 * stdio-common/tfformat.c (matches): Likewise.
12193 * stdio-common/vfprintf.c (outchar): Likewise.
12194 (printf_unknown): Likewise.
12195 (buffered_vfprintf): Likewise.
12196 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12197 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12198 (ReadFile): Likewise.
12199 * stdlib/qsort.c (SWAP): Likewise.
12200 (_quicksort): Likewise.
12201 * stdlib/setenv.c (__add_to_environ): Likewise.
12202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12203 * stdlib/strtol_l.c (__strtol_l): Likewise.
12204 * stdlib/tst-strtod.c (main): Likewise.
12205 * stdlib/tst-strtol.c (main): Likewise.
12206 * stdlib/tst-strtoll.c (main): Likewise.
12207 * string/bits/string2.h (__strcmp_cc): Likewise.
12208 (__strcmp_cg): Likewise.
12209 (__strcspn_c1): Likewise.
12210 (__strcspn_c2): Likewise.
12211 (__strcspn_c3): Likewise.
12212 (__strspn_c1): Likewise.
12213 (__strspn_c2): Likewise.
12214 (__strspn_c3): Likewise.
12215 (__strsep_1c): Likewise.
12216 (__strsep_2c): Likewise.
12217 (__strsep_3c): Likewise.
12218 * string/memccpy.c (__memccpy): Likewise.
12219 * string/stpcpy.c (__stpcpy): Likewise.
12220 * string/strcmp.c (strcmp): Likewise.
12221 * string/strrchr.c (strrchr): Likewise.
12222 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12224 * sysdeps/mach/hurd/getcwd.c
12225 (_hurd_canonicalize_directory_name_internal): Likewise.
12226 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12227 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12228 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12229 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12230 Likewise, in both definitions.
12231 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12233 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12234 64] (__bswap_64): Likewise.
12235 * time/test_time.c (main): Likewise.
12236 * time/tzfile.c (__tzfile_read): Likewise.
12237 (__tzfile_compute): Likewise.
12238 * time/tzset.c (__tzset_parse_tz): Likewise.
12239 (tzset_internal): Likewise.
12240 (compute_change): Likewise.
12241 * wcsmbs/wcscat.c (__wcscat): Likewise.
12242 * wcsmbs/wcschr.c (wcschr): Likewise.
12243 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12244 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12245 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12246 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12247 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12248 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12249 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12250 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12251 * wcsmbs/wmemset.c (wmemset): Likewise.
12253 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12255 * scripts/config.guess: Update to version 2013-05-16.
12256 * scripts/config.sub: Update to version 2013-04-24.
12257 * scripts/install-sh: Update to version 2011-11-20.07.
12258 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12259 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12261 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12263 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12264 * elf/sln.c: Likewise.
12265 * hurd/hurd/ioctl.h: Likewise.
12266 * hurd/hurdmalloc.c: Likewise.
12267 * hurd/xattr.c: Likewise.
12268 * include/shlib-compat.h: Likewise.
12269 * inet/ruserpass.c: Likewise.
12270 * libio/iofgets_u.c: Likewise.
12271 * libio/iofgetws_u.c: Likewise.
12272 * locale/programs/ld-identification.c: Likewise.
12273 * locale/programs/ld-time.c: Likewise.
12274 * mach/msg-destroy.c: Likewise.
12275 * nss/nss_files/files-netgrp.c: Likewise.
12276 * resolv/res_data.c: Likewise.
12277 * soft-fp/op-1.h: Likewise.
12278 * soft-fp/op-2.h: Likewise.
12279 * soft-fp/op-4.h: Likewise.
12280 * soft-fp/op-common.h: Likewise.
12281 * stdio-common/printf_fphex.c: Likewise.
12282 * stdlib/strtod_l.c: Likewise.
12283 * sunrpc/rpc/clnt.h: Likewise.
12284 * sysdeps/generic/framestate.c: Likewise.
12285 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12286 * sysdeps/i386/bsd-setjmp.S: Likewise.
12287 * sysdeps/i386/__longjmp.S: Likewise.
12288 * sysdeps/i386/setjmp.S: Likewise.
12289 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12291 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12307 * sysdeps/ieee754/support.c: Likewise.
12308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12309 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12310 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12311 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12312 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12313 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12314 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12315 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12316 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12317 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12318 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12319 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12320 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12321 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12322 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12323 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12324 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12327 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12329 * posix/transbug.c: Remove executable mode.
12331 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12333 * crypt/speeds.c: Remove trailing whitespace.
12334 * dlfcn/default.c: Likewise.
12335 * elf/ifuncdep2.c: Likewise.
12336 * elf/ifuncmain1.c: Likewise.
12337 * elf/ifuncmain1vis.c: Likewise.
12338 * elf/testobj.h: Likewise.
12339 * elf/tst-stackguard1.c: Likewise.
12340 * gmon/sys/gmon.h: Likewise.
12341 * hurd/hurdmsg.c: Likewise.
12342 * hurd/new-fd.c: Likewise.
12343 * hurd/ports-get.c: Likewise.
12344 * iconvdata/ibm1008_420.c: Likewise.
12345 * inet/tst-getni1.c: Likewise.
12346 * inet/tst-getni2.c: Likewise.
12347 * libio/ioungetc.c: Likewise.
12348 * libio/wfiledoalloc.c: Likewise.
12349 * manual/libm-err-tab.pl: Likewise.
12350 * math/w_dremf.c: Likewise.
12351 * misc/ftruncate.c: Likewise.
12352 * posix/bug-glob2.c: Likewise.
12353 * posix/tst-pcre.c: Likewise.
12354 * posix/wait4.c: Likewise.
12355 * resolv/README: Likewise.
12356 * resolv/res_debug.h: Likewise.
12357 * resolv/tst-inet_ntop.c: Likewise.
12358 * setjmp/bug269-setjmp.c: Likewise.
12359 * soft-fp/extended.h: Likewise.
12360 * soft-fp/op-1.h: Likewise.
12361 * soft-fp/op-2.h: Likewise.
12362 * soft-fp/op-4.h: Likewise.
12363 * soft-fp/op-8.h: Likewise.
12364 * soft-fp/testit.c: Likewise.
12365 * stdio-common/bug16.c: Likewise.
12366 * stdlib/random.c: Likewise.
12367 * sunrpc/rpcsvc/rquota.x: Likewise.
12368 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12369 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12371 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12372 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12373 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12374 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12375 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12376 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12377 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12378 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12384 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12385 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12395 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12396 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12397 * sysdeps/ieee754/s_lib_version.c: Likewise.
12398 * sysdeps/mach/hurd/check_fds.c: Likewise.
12399 * sysdeps/mach/hurd/getsockname.c: Likewise.
12400 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12401 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12402 * sysdeps/powerpc/bits/link.h: Likewise.
12403 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12404 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12405 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12406 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12407 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12408 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12409 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12410 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12411 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12412 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12413 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12414 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12416 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12417 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12418 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12420 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12421 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12422 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12423 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12424 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12426 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12427 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12435 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12436 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12437 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12439 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12441 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12443 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12444 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12445 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12446 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12447 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12448 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12449 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12451 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12452 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12453 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12455 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12456 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12457 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12458 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12459 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12460 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12461 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12462 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12464 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12465 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12466 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12467 * sysdeps/powerpc/sysdep.h: Likewise.
12468 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12469 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12470 * sysdeps/sh/dl-trampoline.S: Likewise.
12471 * sysdeps/sh/memset.S: Likewise.
12472 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12473 * sysdeps/sh/strlen.S: Likewise.
12474 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12475 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12476 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12477 * sysdeps/sparc/sparc32/rem.S: Likewise.
12478 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12479 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12480 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12481 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12482 * sysdeps/sparc/sparc32/urem.S: Likewise.
12483 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12484 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12485 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12486 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12487 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12488 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12489 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12490 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12491 * sysdeps/unix/bsd/times.c: Likewise.
12492 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12493 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12499 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12500 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12501 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12502 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12503 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12504 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12505 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12506 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12507 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12508 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12509 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12510 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12511 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12512 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12513 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12514 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12515 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12516 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12517 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12518 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12519 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12520 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12521 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12522 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12523 * sysdeps/x86_64/strcspn.S: Likewise.
12525 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12527 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12528 generated file. Regenerate properly from gen-translit.pl.
12529 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12530 locale/C-translit.h.
12532 2013-06-05 Andreas Schwab <schwab@suse.de>
12535 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12536 week as 6 instead of -1.
12537 * time/tst-strptime.c (day_tests): Add test case.
12539 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12541 * sysdeps/generic/math_private.h
12542 (libc_feholdexcept_setround_53bit): Replace with
12543 libc_feholdsetround_53bit.
12544 (libc_feupdateenv_53bit): Replace with
12545 libc_feresetround_53bit.
12546 (SET_RESTORE_ROUND_53BIT): Adjust.
12548 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12550 * string/test-strchrnul.c: Add copyright header.
12552 * posix/tst-getaddrinfo4.c: Increase test timeout.
12554 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12557 * math/libm-test.inc (MAX_EXP): Remove
12559 (ulp): Use MIN_EXP - MANT_DIG.
12560 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12562 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12564 * po/be.po: Revert last change.
12565 * po/zh_CN.po: Likewise.
12566 * po/header.pot: Likewise.
12568 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12570 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12571 link-libc-deps to empty as target-specific variable.
12572 * Makerules (link-libc-args): New variable.
12573 (libc-for-link): Likewise.
12574 (link-libc-deps): Likewise.
12575 (lib%.so): Depend on $(link-libc-deps). Link with
12577 (build-module): Link with $(link-libc-args).
12578 (build-module-asneeded): Likewise.
12579 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12581 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12582 target-specific variable.
12583 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12584 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12585 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12587 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12589 ($(objpfx)libpcprofile.so): Likewise.
12590 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12592 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12593 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12594 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12596 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12597 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12598 * login/Makefile ($(objpfx)libutil.so): Likewise.
12599 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12600 * math/Makefile ($(objpfx)libm.so): Likewise.
12601 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12602 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12603 variable instead of depending directly on libc.
12604 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12605 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12607 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12609 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12610 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12611 ($(objpfx)libanl.so): Likewise.
12612 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12614 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12616 * sysdeps/i386/fpu/Makefile: Remove file.
12617 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12618 ($(objpfx)libm.so): Remove dependency on ld.so.
12620 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12623 * nis/yp_xdr.c (XDRMAXNAME): Define.
12624 (XDRMAXRECORD): Define.
12625 (xdr_domainname): Use XDRMAXNAME.
12626 (xdr_mapname): Likewise.
12627 (xdr_peername): Likewise.
12628 (xdr_keydat): Use XDRMAXRECORD.
12629 (xdr_valdat): Likewise.
12631 2013-05-30 Jeff Law <law@redhat.com>
12634 * manual/errno.texi (ESTALE): Update to account for more than
12635 just NFS file systems.
12636 * sysdeps/gnu/errlist.c: Regenerated.
12638 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12641 * elf/Makefile (tests): Add tst-null-argv.
12642 (modules-names): Add tst-null-argv-lib.
12643 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12644 (tst-null-argv-ENV): Set environment for tst-null-argv.
12645 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12646 (RTLD_PROGNAME): New macro.
12647 * elf/tst-null-argv.c: New test case.
12648 * elf/tst-null-argv-lib.c: Library for test case.
12649 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12650 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12651 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12652 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12653 * elf/dl-init.c (call_init): Likewise.
12654 (_dl_init): Likewise.
12655 * elf/dl-load.c (print_search_path): Likewise.
12656 (_dl_map_object): Likewise.
12657 * elf/dl-lookup.c (do_lookup_x): Likewise.
12658 (add_dependency): Likewise.
12659 (_dl_lookup_symbol_x): Likewise.
12660 (_dl_debug_bindings): Likewise.
12661 * elf/dl-open.c (_dl_show_scope): Likewise.
12662 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12663 * elf/dl-version.c (match_symbol): Likewise.
12664 (_dl_check_map_versions): Likewise.
12665 * elf/rtld.c (dl_main): Likewise.
12666 (print_unresolved): Use RTLD_PROGNAME.
12667 (print_missing_version): Likewise.
12668 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12669 (elf_machine_rela): Likewise.
12670 * sysdeps/powerpc/powerpc32/dl-machine.c
12671 (__process_machine_rela): Likewise.
12672 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12674 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12676 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12678 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12685 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12687 * po/be.po: Add descriptive title.
12688 * po/zh_CN.po: Likewise.
12689 * po/header.pot: Likewise.
12691 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12693 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12695 (enlarge_archive): Likewise.
12697 2013-05-28 Ben North <ben@redfrontdoor.org>
12699 * manual/arith.texi (frexp): It is the magnitude of the return
12700 value which lies in [0.5, 1), not the return value itself.
12702 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12706 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12708 * stdio-common/bug26.c (main): Correct fscanf template.
12710 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12711 declare _dl_skip_args.
12713 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12716 * manual/platform.texi: Add missing @end deftypefun.
12718 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12721 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12722 bit of mantissa of 2^16382.
12723 * math/libm-test.inc (hypot_test_data): Add more tests.
12725 * math/libm-test.inc: Add drem and pow10 to list of tested
12727 (pow10_test): New function.
12728 (drem_test): Likewise.
12729 (drem_test_tonearest): Likewise.
12730 (drem_test_towardzero): Likewise.
12731 (drem_test_downward): Likewise.
12732 (drem_test_upward): Likewise.
12733 (main): Call the new functions.
12735 * math/libm-test.inc (finite_test_data): Remove.
12736 (finite_test): Run tests from isfinite_test_data.
12737 (gamma_test_data): Remove.
12738 (gamma_test): Run tests from lgamma_test_data.
12739 * sysdeps/i386/fpu/libm-test-ulps: Update.
12740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12742 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12744 * manual/platform.texi: Add PowerPC PPR function set documentation.
12745 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12748 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12750 * math/libm-test.inc (MAX_EXP): Define.
12752 (ulp): New function.
12753 (check_float_internal): Use ULPDIFF.
12754 (cpow_test): Disable failing test.
12755 (check_ulp): Test ulp() implemetnation.
12756 (main): Call check_ulp before starting tests.
12758 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12760 * math/gen-libm-test.pl (generate_testfile): Do not handle
12761 START_DATA and END_DATA.
12762 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12764 (acos_tonearest_test_data): Likewise.
12765 (acos_towardzero_test_data): Likewise.
12766 (acos_downward_test_data): Likewise.
12767 (acos_upward_test_data): Likewise.
12768 (acosh_test_data): Likewise.
12769 (asin_test_data): Likewise.
12770 (asin_tonearest_test_data): Likewise.
12771 (asin_towardzero_test_data): Likewise.
12772 (asin_downward_test_data): Likewise.
12773 (asin_upward_test_data): Likewise.
12774 (asinh_test_data): Likewise.
12775 (atan_test_data): Likewise.
12776 (atanh_test_data): Likewise.
12777 (atan2_test_data): Likewise.
12778 (cabs_test_data): Likewise.
12779 (cacos_test_data): Likewise.
12780 (cacosh_test_data): Likewise.
12781 (carg_test_data): Likewise.
12782 (casin_test_data): Likewise.
12783 (casinh_test_data): Likewise.
12784 (catan_test_data): Likewise.
12785 (catanh_test_data): Likewise.
12786 (cbrt_test_data): Likewise.
12787 (ccos_test_data): Likewise.
12788 (ccosh_test_data): Likewise.
12789 (ceil_test_data): Likewise.
12790 (cexp_test_data): Likewise.
12791 (cimag_test_data): Likewise.
12792 (clog_test_data): Likewise.
12793 (clog10_test_data): Likewise.
12794 (conj_test_data): Likewise.
12795 (copysign_test_data): Likewise.
12796 (cos_test_data): Likewise.
12797 (cos_tonearest_test_data): Likewise.
12798 (cos_towardzero_test_data): Likewise.
12799 (cos_downward_test_data): Likewise.
12800 (cos_upward_test_data): Likewise.
12801 (cosh_test_data): Likewise.
12802 (cosh_tonearest_test_data): Likewise.
12803 (cosh_towardzero_test_data): Likewise.
12804 (cosh_downward_test_data): Likewise.
12805 (cosh_upward_test_data): Likewise.
12806 (cpow_test_data): Likewise.
12807 (cproj_test_data): Likewise.
12808 (creal_test_data): Likewise.
12809 (csin_test_data): Likewise.
12810 (csinh_test_data): Likewise.
12811 (csqrt_test_data): Likewise.
12812 (ctan_test_data): Likewise.
12813 (ctan_tonearest_test_data): Likewise.
12814 (ctan_towardzero_test_data): Likewise.
12815 (ctan_downward_test_data): Likewise.
12816 (ctan_upward_test_data): Likewise.
12817 (ctanh_test_data): Likewise.
12818 (ctanh_tonearest_test_data): Likewise.
12819 (ctanh_towardzero_test_data): Likewise.
12820 (ctanh_downward_test_data): Likewise.
12821 (ctanh_upward_test_data): Likewise.
12822 (erf_test_data): Likewise.
12823 (erfc_test_data): Likewise.
12824 (exp_test_data): Likewise.
12825 (exp_tonearest_test_data): Likewise.
12826 (exp_towardzero_test_data): Likewise.
12827 (exp_downward_test_data): Likewise.
12828 (exp_upward_test_data): Likewise.
12829 (exp10_test_data): Likewise.
12830 (exp2_test_data): Likewise.
12831 (expm1_test_data): Likewise.
12832 (fabs_test_data): Likewise.
12833 (fdim_test_data): Likewise.
12834 (finite_test_data): Likewise.
12835 (floor_test_data): Likewise.
12836 (fma_test_data): Likewise.
12837 (fma_towardzero_test_data): Likewise.
12838 (fma_downward_test_data): Likewise.
12839 (fma_upward_test_data): Likewise.
12840 (fmax_test_data): Likewise.
12841 (fmin_test_data): Likewise.
12842 (fmod_test_data): Likewise.
12843 (fpclassify_test_data): Likewise.
12844 (frexp_test_data): Likewise.
12845 (gamma_test_data): Likewise.
12846 (hypot_test_data): Likewise.
12847 (ilogb_test_data): Likewise.
12848 (isfinite_test_data): Likewise.
12849 (isgreater_test_data): Likewise.
12850 (isgreaterequal_test_data): Likewise.
12851 (isinf_test_data): Likewise.
12852 (isless_test_data): Likewise.
12853 (islessequal_test_data): Likewise.
12854 (islessgreater_test_data): Likewise.
12855 (isnan_test_data): Likewise.
12856 (isnormal_test_data): Likewise.
12857 (issignaling_test_data): Likewise.
12858 (isunordered_test_data): Likewise.
12859 (j0_test_data): Likewise.
12860 (j1_test_data): Likewise.
12861 (jn_test_data): Likewise.
12862 (ldexp_test_data): Likewise.
12863 (lgamma_test_data): Likewise.
12864 (lrint_test_data): Likewise.
12865 (lrint_tonearest_test_data): Likewise.
12866 (lrint_towardzero_test_data): Likewise.
12867 (lrint_downward_test_data): Likewise.
12868 (lrint_upward_test_data): Likewise.
12869 (llrint_test_data): Likewise.
12870 (llrint_tonearest_test_data): Likewise.
12871 (llrint_towardzero_test_data): Likewise.
12872 (llrint_downward_test_data): Likewise.
12873 (llrint_upward_test_data): Likewise.
12874 (log_test_data): Likewise.
12875 (log10_test_data): Likewise.
12876 (log1p_test_data): Likewise.
12877 (log2_test_data): Likewise.
12878 (logb_test_data): Likewise.
12879 (logb_downward_test_data): Likewise.
12880 (lround_test_data): Likewise.
12881 (llround_test_data): Likewise.
12882 (modf_test_data): Likewise.
12883 (nearbyint_test_data): Likewise.
12884 (nextafter_test_data): Likewise.
12885 (nexttoward_test_data): Likewise.
12886 (pow_test_data): Likewise.
12887 (pow_tonearest_test_data): Likewise.
12888 (pow_towardzero_test_data): Likewise.
12889 (pow_downward_test_data): Likewise.
12890 (pow_upward_test_data): Likewise.
12891 (remainder_test_data): Likewise.
12892 (remainder_tonearest_test_data): Likewise.
12893 (remainder_towardzero_test_data): Likewise.
12894 (remainder_downward_test_data): Likewise.
12895 (remainder_upward_test_data): Likewise.
12896 (remquo_test_data): Likewise.
12897 (rint_test_data): Likewise.
12898 (rint_tonearest_test_data): Likewise.
12899 (rint_towardzero_test_data): Likewise.
12900 (rint_downward_test_data): Likewise.
12901 (rint_upward_test_data): Likewise.
12902 (round_test_data): Likewise.
12903 (scalb_test_data): Likewise.
12904 (scalbn_test_data): Likewise.
12905 (scalbln_test_data): Likewise.
12906 (signbit_test_data): Likewise.
12907 (sin_test_data): Likewise.
12908 (sin_tonearest_test_data): Likewise.
12909 (sin_towardzero_test_data): Likewise.
12910 (sin_downward_test_data): Likewise.
12911 (sin_upward_test_data): Likewise.
12912 (sincos_test_data): Likewise.
12913 (sinh_test_data): Likewise.
12914 (sinh_tonearest_test_data): Likewise.
12915 (sinh_towardzero_test_data): Likewise.
12916 (sinh_downward_test_data): Likewise.
12917 (sinh_upward_test_data): Likewise.
12918 (sqrt_test_data): Likewise.
12919 (tan_test_data): Likewise.
12920 (tan_tonearest_test_data): Likewise.
12921 (tan_towardzero_test_data): Likewise.
12922 (tan_downward_test_data): Likewise.
12923 (tan_upward_test_data): Likewise.
12924 (tanh_test_data): Likewise.
12925 (tgamma_test_data): Likewise.
12926 (trunc_test_data): Likewise.
12927 (y0_test_data): Likewise.
12928 (y1_test_data): Likewise.
12929 (yn_test_data): Likewise.
12930 (significand_test_data): Likewise.
12932 * math/gen-libm-test.pl (@functions): Remove variable.
12933 (generate_testfile): Don't handle START and END lines.
12934 * math/libm-test.inc (START): New macro.
12936 (END_COMPLEX): Likewise.
12937 (acos_test): Use END macro without arguments.
12938 (acos_test_tonearest): Likewise.
12939 (acos_test_towardzero): Likewise.
12940 (acos_test_downward): Likewise.
12941 (acos_test_upward): Likewise.
12942 (acosh_test): Likewise.
12943 (asin_test): Likewise.
12944 (asin_test_tonearest): Likewise.
12945 (asin_test_towardzero): Likewise.
12946 (asin_test_downward): Likewise.
12947 (asin_test_upward): Likewise.
12948 (asinh_test): Likewise.
12949 (atan_test): Likewise.
12950 (atanh_test): Likewise.
12951 (atan2_test): Likewise.
12952 (cabs_test): Likewise.
12953 (cacos_test): Use END_COMPLEX macro without arguments.
12954 (cacosh_test): Likewise.
12955 (carg_test): Use END macro without arguments.
12956 (casin_test): Use END_COMPLEX macro without arguments.
12957 (casinh_test): Likewise.
12958 (catan_test): Likewise.
12959 (catanh_test): Likewise.
12960 (cbrt_test): Use END macro without arguments.
12961 (ccos_test): Use END_COMPLEX macro without arguments.
12962 (ccosh_test): Likewise.
12963 (ceil_test): Use END macro without arguments.
12964 (cexp_test): Use END_COMPLEX macro without arguments.
12965 (cimag_test): Use END macro without arguments.
12966 (clog_test): Use END_COMPLEX macro without arguments.
12967 (clog10_test): Likewise.
12968 (conj_test): Likewise.
12969 (copysign_test): Use END macro without arguments.
12970 (cos_test): Likewise.
12971 (cos_test_tonearest): Likewise.
12972 (cos_test_towardzero): Likewise.
12973 (cos_test_downward): Likewise.
12974 (cos_test_upward): Likewise.
12975 (cosh_test): Likewise.
12976 (cosh_test_tonearest): Likewise.
12977 (cosh_test_towardzero): Likewise.
12978 (cosh_test_downward): Likewise.
12979 (cosh_test_upward): Likewise.
12980 (cpow_test): Use END_COMPLEX macro without arguments.
12981 (cproj_test): Likewise.
12982 (creal_test): Use END macro without arguments.
12983 (csin_test): Use END_COMPLEX macro without arguments.
12984 (csinh_test): Likewise.
12985 (csqrt_test): Likewise.
12986 (ctan_test): Likewise.
12987 (ctan_test_tonearest): Likewise.
12988 (ctan_test_towardzero): Likewise.
12989 (ctan_test_downward): Likewise.
12990 (ctan_test_upward): Likewise.
12991 (ctanh_test): Likewise.
12992 (ctanh_test_tonearest): Likewise.
12993 (ctanh_test_towardzero): Likewise.
12994 (ctanh_test_downward): Likewise.
12995 (ctanh_test_upward): Likewise.
12996 (erf_test): Use END macro without arguments.
12997 (erfc_test): Likewise.
12998 (exp_test): Likewise.
12999 (exp_test_tonearest): Likewise.
13000 (exp_test_towardzero): Likewise.
13001 (exp_test_downward): Likewise.
13002 (exp_test_upward): Likewise.
13003 (exp10_test): Likewise.
13004 (exp2_test): Likewise.
13005 (expm1_test): Likewise.
13006 (fabs_test): Likewise.
13007 (fdim_test): Likewise.
13008 (finite_test): Likewise.
13009 (floor_test): Likewise.
13010 (fma_test): Likewise.
13011 (fma_test_towardzero): Likewise.
13012 (fma_test_downward): Likewise.
13013 (fma_test_upward): Likewise.
13014 (fmax_test): Likewise.
13015 (fmin_test): Likewise.
13016 (fmod_test): Likewise.
13017 (fpclassify_test): Likewise.
13018 (frexp_test): Likewise.
13019 (gamma_test): Likewise.
13020 (hypot_test): Likewise.
13021 (ilogb_test): Likewise.
13022 (isfinite_test): Likewise.
13023 (isgreater_test): Likewise.
13024 (isgreaterequal_test): Likewise.
13025 (isinf_test): Likewise.
13026 (isless_test): Likewise.
13027 (islessequal_test): Likewise.
13028 (islessgreater_test): Likewise.
13029 (isnan_test): Likewise.
13030 (isnormal_test): Likewise.
13031 (issignaling_test): Likewise.
13032 (isunordered_test): Likewise.
13033 (j0_test): Likewise.
13034 (j1_test): Likewise.
13035 (jn_test): Likewise.
13036 (ldexp_test): Likewise.
13037 (lgamma_test): Likewise.
13038 (lrint_test): Likewise.
13039 (lrint_test_tonearest): Likewise.
13040 (lrint_test_towardzero): Likewise.
13041 (lrint_test_downward): Likewise.
13042 (lrint_test_upward): Likewise.
13043 (llrint_test): Likewise.
13044 (llrint_test_tonearest): Likewise.
13045 (llrint_test_towardzero): Likewise.
13046 (llrint_test_downward): Likewise.
13047 (llrint_test_upward): Likewise.
13048 (log_test): Likewise.
13049 (log10_test): Likewise.
13050 (log1p_test): Likewise.
13051 (log2_test): Likewise.
13052 (logb_test): Likewise.
13053 (logb_test_downward): Likewise.
13054 (lround_test): Likewise.
13055 (llround_test): Likewise.
13056 (modf_test): Likewise.
13057 (nearbyint_test): Likewise.
13058 (nextafter_test): Likewise.
13059 (nexttoward_test): Likewise.
13060 (pow_test): Likewise.
13061 (pow_test_tonearest): Likewise.
13062 (pow_test_towardzero): Likewise.
13063 (pow_test_downward): Likewise.
13064 (pow_test_upward): Likewise.
13065 (remainder_test): Likewise.
13066 (remainder_test_tonearest): Likewise.
13067 (remainder_test_towardzero): Likewise.
13068 (remainder_test_downward): Likewise.
13069 (remainder_test_upward): Likewise.
13070 (remquo_test): Likewise.
13071 (rint_test): Likewise.
13072 (rint_test_tonearest): Likewise.
13073 (rint_test_towardzero): Likewise.
13074 (rint_test_downward): Likewise.
13075 (rint_test_upward): Likewise.
13076 (round_test): Likewise.
13077 (scalb_test): Likewise.
13078 (scalbn_test): Likewise.
13079 (scalbln_test): Likewise.
13080 (signbit_test): Likewise.
13081 (sin_test): Likewise.
13082 (sin_test_tonearest): Likewise.
13083 (sin_test_towardzero): Likewise.
13084 (sin_test_downward): Likewise.
13085 (sin_test_upward): Likewise.
13086 (sincos_test): Likewise.
13087 (sinh_test): Likewise.
13088 (sinh_test_tonearest): Likewise.
13089 (sinh_test_towardzero): Likewise.
13090 (sinh_test_downward): Likewise.
13091 (sinh_test_upward): Likewise.
13092 (sqrt_test): Likewise.
13093 (tan_test): Likewise.
13094 (tan_test_tonearest): Likewise.
13095 (tan_test_towardzero): Likewise.
13096 (tan_test_downward): Likewise.
13097 (tan_test_upward): Likewise.
13098 (tanh_test): Likewise.
13099 (tgamma_test): Likewise.
13100 (trunc_test): Likewise.
13101 (y0_test): Likewise.
13102 (y1_test): Likewise.
13103 (yn_test): Likewise.
13104 (significand_test): Likewise.
13106 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13109 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13111 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13114 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13115 __ppc_mdoio and __ppc_mdoom.
13116 * manual/platform.texi: Document new functions __ppc_yield,
13117 __ppc_mdoio and __ppc_mdoom.
13119 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13121 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13122 (main): Mention "tls" pseudo-hwcap is legacy.
13123 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13125 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13127 * math/gen-libm-test.pl (parse_args): Output only string of
13128 arguments as text for test name, not full call or descriptions of
13129 tests for extra outputs.
13130 (generate_testfile): Do not pass function name to parse_args.
13131 Generate this_func variable from START.
13132 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13134 (struct test_ff_f_data): Likewise.
13135 (test_ff_f_data_nexttoward): Likewise.
13136 (struct test_fi_f_data): Likewise.
13137 (struct test_fl_f_data): Likewise.
13138 (struct test_if_f_data): Likewise.
13139 (struct test_fff_f_data): Likewise.
13140 (struct test_c_f_data): Likewise.
13141 (struct test_f_f1_data): Likewise. Remove field extra_name.
13142 (struct test_fF_f1_data): Likewise.
13143 (struct test_ffI_f1_data): Likewise.
13144 (struct test_c_c_data): Rename test_name field to arg_str.
13145 (struct test_cc_c_data): Likewise.
13146 (struct test_f_i_data): Likewise.
13147 (struct test_ff_i_data): Likewise.
13148 (struct test_f_l_data): Likewise.
13149 (struct test_f_L_data): Likewise.
13150 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13152 (COMMON_TEST_SETUP): New macro.
13153 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13154 (COMMON_TEST_CLEANUP): Likewise.
13155 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13156 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13158 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13159 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13161 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13162 (RUN_TEST_fff_f): Take argument string. Call new setup and
13164 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13165 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13167 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13168 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13170 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13171 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13173 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13174 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13176 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13177 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13179 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13180 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13182 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13183 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13185 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13186 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13188 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13189 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13191 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13192 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13194 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13195 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13197 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13198 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13200 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13201 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13203 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13204 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13206 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13207 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13209 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13211 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13213 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13214 to _sifields.sigfault.
13215 (si_addr_lsb): Define new macro.
13216 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13217 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13218 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13220 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13223 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13225 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13227 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13228 loading the domain.
13230 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13232 * math/gen-libm-test.pl (parse_args): Do not include expected
13233 result in test name.
13234 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13235 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13236 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13237 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13241 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13243 * benchtests/Makefile: Sort function entries.
13245 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13246 tanh, asinh, acosh, atanh.
13247 * benchtests/acos-inputs: New file.
13248 * benchtests/acosh-inputs: New file.
13249 * benchtests/asin-inputs: New file.
13250 * benchtests/asinh-inputs: New file.
13251 * benchtests/atanh-inputs: New file.
13252 * benchtests/cosh-inputs: New file.
13253 * benchtests/log-inputs: New file.
13254 * benchtests/sinh-inputs: New file.
13255 * benchtests/tanh-inputs: New file.
13257 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13260 * posix/tst-getaddrinfo4.c: New test.
13261 * posix/Makefile (tests): Add it.
13263 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13266 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13267 when no services were used.
13268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13269 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13271 2013-05-21 Andreas Schwab <schwab@suse.de>
13274 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13275 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13277 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13278 redundant variable declarations and reallocation of buffer when
13279 parsing as IPv6 address. Always set NSS status when called from
13280 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13281 buffer too small. Correct computation of needed size.
13282 * nss/Makefile (tests): Add test-digits-dots.
13283 * nss/test-digits-dots.c: New test.
13285 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13287 * benchtests/Makefile: Remove instructions for adding
13289 * benchtests/README: New file to explain how to execute and
13290 enhance the benchmark tests.
13292 2013-05-21 Andreas Schwab <schwab@suse.de>
13295 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13296 * setjmp/tst-sigsetjmp.c: New test.
13298 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13300 * sysdeps/x86_64/memset.S (memset): New implementation.
13301 (__bzero): Likewise.
13302 (__memset_tail): New function.
13304 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13306 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13307 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13308 __memcpy_sse2_unaligned ifunc selection.
13309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13310 Add memcpy-sse2-unaligned.S.
13311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13312 Add: __memcpy_sse2_unaligned.
13314 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13317 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13318 math_force_eval before restoring floating-point envrionment.
13319 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13322 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13324 (__nearbyintl): Use math_force_eval before restoring
13325 floating-point environment.
13326 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13328 * math/gen-libm-test.pl (special_functions): Remove.
13329 (parse_args): Don't handle TEST_extra. Handle functions with no
13331 * math/libm-test.inc (struct test_sincos_data): Replace with
13332 struct test_fFF_11_data.
13333 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13334 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13335 (sincos_test_data): Change element type to struct
13336 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13337 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13338 RUN_TEST_LOOP_sincos.
13339 * math/README.libm-test: Don't mention special handling of
13340 individual functions.
13341 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13342 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13343 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13344 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13345 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13348 * math/gen-libm-test.pl (get_variable): Remove function.
13349 (parse_args): Don't show pointer parameters to call in test
13350 names. Use "extra output N" in test names for extra outputs
13351 rather than naming variables.
13353 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13356 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13357 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13358 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13360 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13362 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13365 * math/gen-libm-test.pl (@tests): Remove variable.
13366 ($count): Likewise.
13367 (new_test): Remove function.
13368 (show_exceptions): New function.
13369 (special_functions): Use show_exceptions instead of new_test.
13370 (parse_args): Likewise.
13371 (generate_testfile): Pass only function name in generated call to
13372 print_max_error or print_complex_max_error.
13373 (get_ulps): Do not handle complex tests specially.
13374 (output_test): Rename to ...
13375 (get_all_ulps_for_test): ... this. Return a string rather than
13376 printing to a file. Require ulps to be present.
13377 (output_ulps): Generate arrays rather than #defines.
13378 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13379 (struct ulp_data): New type.
13380 (BUILD_COMPLEX_ULP): Remove macro.
13381 (compare_ulp_data): New function.
13382 (find_ulps): Likewise.
13383 (find_test_ulps): Likewise.
13384 (find_function_ulps): Likewise.
13385 (find_complex_function_ulps): Likewise.
13386 (print_max_error): Determine allowed ulps using
13387 find_function_ulps.
13388 (print_complex_max_error): Determine allowed ulps using
13389 find_complex_function_ulps.
13390 (check_float_internal): Determine max ulps using find_test_ulps.
13391 (check_float): Do not take max_ulp parameter. Update call to
13392 check_float_internal.
13393 (check_complex): Likewise.
13394 (check_int): Do not take max_ulp parameter.
13395 (check_long): Likewise.
13396 (check_bool): Likewise.
13397 (check_longlong): Likewise.
13398 (struct test_f_f_data): Remove max_ulp field.
13399 (struct test_ff_f_data): Likewise.
13400 (struct test_ff_f_data_nexttoward): Likewise.
13401 (struct test_fi_f_data): Likewise.
13402 (struct test_fl_f_data): Likewise.
13403 (struct test_if_f_data): Likewise.
13404 (struct test_fff_f_data): Likewise.
13405 (struct test_c_f_data): Likewise.
13406 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13407 (struct test_fF_f1_data): Likewise.
13408 (struct test_ffI_f1_data): Likewise.
13409 (struct test_c_c_data): Remove max_ulp field.
13410 (struct test_cc_c_data): Likewise.
13411 (struct test_f_i_data): Likewise.
13412 (struct test_ff_i_data): Likewise.
13413 (struct test_f_l_data): Likewise.
13414 (struct test_f_L_data): Likewise.
13415 (struct test_sincos_data): Likewise.
13416 (RUN_TEST_f_f): Do not handle ulps.
13417 (RUN_TEST_LOOP_f_f): Likewise.
13418 (RUN_TEST_2_f): Likewise.
13419 (RUN_TEST_LOOP_2_f): Likewise.
13420 (RUN_TEST_fff_f): Likewise.
13421 (RUN_TEST_LOOP_fff_f): Likewise.
13422 (RUN_TEST_c_f): Likewise.
13423 (RUN_TEST_LOOP_c_f): Likewise.
13424 (RUN_TEST_f_f1): Likewise.
13425 (RUN_TEST_LOOP_f_f1): Likewise.
13426 (RUN_TEST_fF_f1): Likewise.
13427 (RUN_TEST_LOOP_fF_f1): Likewise.
13428 (RUN_TEST_fI_f1): Likewise.
13429 (RUN_TEST_LOOP_fI_f1): Likewise.
13430 (RUN_TEST_ffI_f1): Likewise.
13431 (RUN_TEST_LOOP_ffI_f1): Likewise.
13432 (RUN_TEST_c_c): Likewise.
13433 (RUN_TEST_LOOP_c_c): Likewise.
13434 (RUN_TEST_cc_c): Likewise.
13435 (RUN_TEST_LOOP_cc_c): Likewise.
13436 (RUN_TEST_f_i): Likewise.
13437 (RUN_TEST_LOOP_f_i): Likewise.
13438 (RUN_TEST_f_i_tg): Likewise.
13439 (RUN_TEST_LOOP_f_i_tg): Likewise.
13440 (RUN_TEST_ff_i_tg): Likewise.
13441 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13442 (RUN_TEST_f_b): Likewise.
13443 (RUN_TEST_LOOP_f_b): Likewise.
13444 (RUN_TEST_f_b_tg): Likewise.
13445 (RUN_TEST_LOOP_f_b_tg): Likewise.
13446 (RUN_TEST_f_l): Likewise.
13447 (RUN_TEST_LOOP_f_l): Likewise.
13448 (RUN_TEST_f_L): Likewise.
13449 (RUN_TEST_LOOP_f_L): Likewise.
13450 (RUN_TEST_sincos): Likewise.
13451 (RUN_TEST_LOOP_sincos): Likewise.
13453 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13457 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13458 main case of finite arguments, set rounding mode to FE_TONEAREST
13459 and discard exceptions.
13460 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13462 (remainder_tonearest_test_data): New variable.
13463 (remainder_test_tonearest): New function.
13464 (remainder_towardzero_test_data): New variable.
13465 (remainder_test_towardzero): New function.
13466 (remainder_downward_test_data): New variable.
13467 (remainder_test_downward): New function.
13468 (remainder_upward_test_data): New variable.
13469 (remainder_test_upward): New function.
13470 (main): Call the new test functions.
13472 * math/libm-test.inc (struct test_f_f1_data): Remove field
13474 (struct test_fF_f1_data): Likewise.
13475 (struct test_ffI_f1_data): Likewise.
13476 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13477 based on value of EXTRA_EXPECTED.
13478 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13479 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13480 EXTRA_VAR based on value of EXTRA_EXPECTED.
13481 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13482 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13483 EXTRA_VAR based on value of EXTRA_EXPECTED.
13484 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13485 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13486 EXTRA_VAR based on value of EXTRA_EXPECTED.
13487 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13488 * math/gen-libm-test.pl (parse_args): Don't output initializers
13489 for extra output values.
13491 * math/libm-test.inc (check_int): Expect result to be exactly
13492 equal to expected value and do not handle ulps.
13493 (check_long): Likewise.
13494 (check_longlong): Likewise.
13496 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13498 (cimag_test_data): Likewise.
13499 (conj_test_data): Likewise.
13500 (copysign_test_data): Likewise.
13501 (cproj_test_data): Likewise.
13502 (creal_test_data): Likewise.
13503 (fabs_test_data): Likewise.
13504 (fdim_test_data): Likewise.
13505 (finite_test_data): Likewise.
13506 (floor_test_data): Likewise.
13507 (fmax_test_data): Likewise.
13508 (fmin_test_data): Likewise.
13509 (fmod_test_data): Likewise.
13510 (fpclassify_test_data): Likewise.
13511 (frexp_test_data): Likewise.
13512 (ilogb_test_data): Likewise.
13513 (isfinite_test_data): Likewise.
13514 (isgreater_test_data): Likewise.
13515 (isgreaterequal_test_data): Likewise.
13516 (isinf_test_data): Likewise.
13517 (isless_test_data): Likewise.
13518 (islessequal_test_data): Likewise.
13519 (islessgreater_test_data): Likewise.
13520 (isnan_test_data): Likewise.
13521 (isnormal_test_data): Likewise.
13522 (issignaling_test_data): Likewise.
13523 (isunordered_test_data): Likewise.
13524 (ldexp_test_data): Likewise.
13525 (lrint_test_data): Likewise.
13526 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13527 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13528 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13529 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13530 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13531 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13533 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13534 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13535 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13536 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13538 (lrint_downward_test_data): Test for "inexact" exceptions.
13539 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13540 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13541 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13543 (lrint_upward_test_data): Test for "inexact" exceptions.
13544 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13546 (llrint_test_data): Test for "inexact" exceptions.
13547 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13548 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13549 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13550 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13551 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13552 (llrint_downward_test_data): Test for "inexact" exceptions.
13553 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13554 (llrint_upward_test_data): Test for "inexact" exceptions.
13555 (logb_test_data): Likewise.
13556 (logb_downward_test_data): Likewise.
13557 (nextafter_test_data): Likewise.
13558 (nexttoward_test_data): Likewise.
13559 (remainder_test_data): Likewise.
13560 (remquo_test_data): Likewise.
13561 (scalbn_test_data): Likewise.
13562 (scalbln_test_data): Likewise.
13563 (signbit_test_data): Likewise.
13564 (sqrt_test_data): Likewise.
13565 (significand_test_data): Likewise.
13567 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13570 * benchtests/bench-modf.c (struct args): Mark arg0 as
13572 * scripts/bench.pl: Mark members of struct args as volatile.
13574 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13577 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13578 negative infinity on POWER6 or lower.
13579 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13581 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13584 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13585 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13586 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13587 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13588 (_FP_SETQNAN): New macro.
13589 (_FP_SETQNAN_SEMIRAW): Likewise.
13590 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13591 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13592 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13593 (FP_EXTEND): Use _FP_FRAC_SNANP.
13594 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13595 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13597 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13599 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13602 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13604 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13605 with DIVIDE_BY_ZERO_EXCEPTION.
13606 (gamma_test_data): Likewise.
13607 (lgamma_test_data): Likewise.
13608 (log_test_data): Likewise.
13609 (log10_test_data): Likewise.
13610 (log2_test_data): Likewise.
13611 (tgamma_test_data): Likewise.
13613 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13614 (acos_test_tonearest): Likewise.
13615 (acos_test_towardzero): Likewise.
13616 (acos_test_downward): Likewise.
13617 (acos_test_upward): Likewise.
13618 (acosh_test): Likewise.
13619 (asin_test): Likewise.
13620 (asin_test_tonearest): Likewise.
13621 (asin_test_towardzero): Likewise.
13622 (asin_test_downward): Likewise.
13623 (asin_test_upward): Likewise.
13624 (asinh_test): Likewise.
13625 (atan_test): Likewise.
13626 (atanh_test): Likewise.
13627 (atan2_test): Likewise.
13628 (cabs_test): Likewise.
13629 (cacos_test): Likewise.
13630 (cacosh_test): Likewise.
13631 (casin_test): Likewise.
13632 (casinh_test): Likewise.
13633 (catan_test): Likewise.
13634 (catanh_test): Likewise.
13635 (cbrt_test): Likewise.
13636 (ccos_test): Likewise.
13637 (ccosh_test): Likewise.
13638 (cexp_test): Likewise.
13639 (clog_test): Likewise.
13640 (clog10_test): Likewise.
13641 (cos_test): Likewise.
13642 (cos_test_tonearest): Likewise.
13643 (cos_test_towardzero): Likewise.
13644 (cos_test_downward): Likewise.
13645 (cos_test_upward): Likewise.
13646 (cosh_test): Likewise.
13647 (cosh_test_tonearest): Likewise.
13648 (cosh_test_towardzero): Likewise.
13649 (cosh_test_downward): Likewise.
13650 (cosh_test_upward): Likewise.
13651 (cpow_test): Likewise.
13652 (csin_test): Likewise.
13653 (csinh_test): Likewise.
13654 (csqrt_test): Likewise.
13655 (ctan_test): Likewise.
13656 (ctan_test_tonearest): Likewise.
13657 (ctan_test_towardzero): Likewise.
13658 (ctan_test_downward): Likewise.
13659 (ctan_test_upward): Likewise.
13660 (ctanh_test): Likewise.
13661 (ctanh_test_tonearest): Likewise.
13662 (ctanh_test_towardzero): Likewise.
13663 (ctanh_test_downward): Likewise.
13664 (ctanh_test_upward): Likewise.
13665 (erf_test): Likewise.
13666 (erfc_test): Likewise.
13667 (exp_test): Likewise.
13668 (exp_test_tonearest): Likewise.
13669 (exp_test_towardzero): Likewise.
13670 (exp_test_downward): Likewise.
13671 (exp_test_upward): Likewise.
13672 (exp10_test): Likewise.
13673 (exp2_test): Likewise.
13674 (expm1_test): Likewise.
13675 (fmod_test): Likewise.
13676 (gamma_test): Likewise.
13677 (hypot_test): Likewise.
13678 (j0_test): Likewise.
13679 (j1_test): Likewise.
13680 (jn_test): Likewise.
13681 (lgamma_test): Likewise.
13682 (log_test): Likewise.
13683 (log10_test): Likewise.
13684 (log1p_test): Likewise.
13685 (log2_test): Likewise.
13686 (logb_test_downward): Likewise.
13687 (pow_test): Likewise.
13688 (pow_test_tonearest): Likewise.
13689 (pow_test_towardzero): Likewise.
13690 (pow_test_downward): Likewise.
13691 (pow_test_upward): Likewise.
13692 (remainder_test): Likewise.
13693 (remquo_test): Likewise.
13694 (sin_test): Likewise.
13695 (sin_test_tonearest): Likewise.
13696 (sin_test_towardzero): Likewise.
13697 (sin_test_downward): Likewise.
13698 (sin_test_upward): Likewise.
13699 (sincos_test): Likewise.
13700 (sinh_test): Likewise.
13701 (sinh_test_tonearest): Likewise.
13702 (sinh_test_towardzero): Likewise.
13703 (sinh_test_downward): Likewise.
13704 (sinh_test_upward): Likewise.
13705 (sqrt_test): Likewise.
13706 (tan_test): Likewise.
13707 (tan_test_tonearest): Likewise.
13708 (tan_test_towardzero): Likewise.
13709 (tan_test_downward): Likewise.
13710 (tan_test_upward): Likewise.
13711 (tanh_test): Likewise.
13712 (tgamma_test): Likewise.
13713 (y0_test): Likewise.
13714 (y1_test): Likewise.
13715 (yn_test): Likewise.
13717 * math/gen-libm-test.pl (adjust_arg): Remove function.
13718 (special_function): Remove argument $in_func. Only handle
13719 generating output for tables of tests, not inside functions.
13720 (parse_args): Likewise.
13721 (generate_testfile): Remove variable $in_func. Update call to
13723 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13724 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13725 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13726 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13727 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13728 (MAX_VALUE_INIT): Rename macro to max_value.
13729 (MIN_VALUE_INIT): Rename macro to min_value.
13730 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13731 (plus_zero): Remove variable.
13732 (minus_zero): Likewise.
13733 (plus_infty): Likewise.
13734 (minus_infty): Likewise.
13735 (qnan_value): Likewise.
13736 (max_value): Likewise.
13737 (min_value): Likewise.
13738 (min_subnorm_value): Likewise.
13740 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13742 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13743 uint64_t or uint32_t usage.
13744 * crypt/sha256-block.c: Likewise.
13745 * crypt/sha256-crypt.c: Likewise.
13746 * crypt/sha256.c: Likewise.
13747 * crypt/sha512-block.c: Likewise.
13748 * crypt/sha512-crypt.c: Likewise.
13749 * crypt/sha512.c: Likewise.
13750 * debug/backtrace-tst.c: Likewise.
13751 * debug/pcprofiledump.c: Likewise.
13752 * elf/cache.c: Likewise.
13753 * elf/dl-cache.c: Likewise.
13754 * elf/dl-misc.c: Likewise.
13755 * elf/dl-profile.c: Likewise.
13756 * elf/dl-support.c: Likewise.
13757 * elf/ldconfig.c: Likewise.
13758 * elf/sprof.c: Likewise.
13759 * iconv/dummy-repertoire.c: Likewise.
13760 * iconv/iconv_charmap.c: Likewise.
13761 * iconv/skeleton.c: Likewise.
13762 * iconvdata/8bit-generic.c: Likewise.
13763 * iconvdata/cp737.h: Likewise.
13764 * iconvdata/cp775.h: Likewise.
13765 * iconvdata/ibm1008.h: Likewise.
13766 * iconvdata/ibm1025.h: Likewise.
13767 * iconvdata/ibm1046.h: Likewise.
13768 * iconvdata/ibm1097.h: Likewise.
13769 * iconvdata/ibm1112.h: Likewise.
13770 * iconvdata/ibm1122.h: Likewise.
13771 * iconvdata/ibm1123.h: Likewise.
13772 * iconvdata/ibm1124.h: Likewise.
13773 * iconvdata/ibm1129.h: Likewise.
13774 * iconvdata/ibm1130.h: Likewise.
13775 * iconvdata/ibm1132.h: Likewise.
13776 * iconvdata/ibm1133.h: Likewise.
13777 * iconvdata/ibm1137.h: Likewise.
13778 * iconvdata/ibm1140.h: Likewise.
13779 * iconvdata/ibm1141.h: Likewise.
13780 * iconvdata/ibm1142.h: Likewise.
13781 * iconvdata/ibm1143.h: Likewise.
13782 * iconvdata/ibm1144.h: Likewise.
13783 * iconvdata/ibm1145.h: Likewise.
13784 * iconvdata/ibm1146.h: Likewise.
13785 * iconvdata/ibm1147.h: Likewise.
13786 * iconvdata/ibm1148.h: Likewise.
13787 * iconvdata/ibm1149.h: Likewise.
13788 * iconvdata/ibm1153.h: Likewise.
13789 * iconvdata/ibm1154.h: Likewise.
13790 * iconvdata/ibm1155.h: Likewise.
13791 * iconvdata/ibm1156.h: Likewise.
13792 * iconvdata/ibm1157.h: Likewise.
13793 * iconvdata/ibm1158.h: Likewise.
13794 * iconvdata/ibm1160.h: Likewise.
13795 * iconvdata/ibm1161.h: Likewise.
13796 * iconvdata/ibm1162.h: Likewise.
13797 * iconvdata/ibm1163.h: Likewise.
13798 * iconvdata/ibm1164.h: Likewise.
13799 * iconvdata/ibm1166.h: Likewise.
13800 * iconvdata/ibm1167.h: Likewise.
13801 * iconvdata/ibm12712.h: Likewise.
13802 * iconvdata/ibm1390.h: Likewise.
13803 * iconvdata/ibm1399.h: Likewise.
13804 * iconvdata/ibm16804.h: Likewise.
13805 * iconvdata/ibm4517.h: Likewise.
13806 * iconvdata/ibm4899.h: Likewise.
13807 * iconvdata/ibm4909.h: Likewise.
13808 * iconvdata/ibm4971.h: Likewise.
13809 * iconvdata/ibm5347.h: Likewise.
13810 * iconvdata/ibm803.h: Likewise.
13811 * iconvdata/ibm856.h: Likewise.
13812 * iconvdata/ibm901.h: Likewise.
13813 * iconvdata/ibm902.h: Likewise.
13814 * iconvdata/ibm9030.h: Likewise.
13815 * iconvdata/ibm9066.h: Likewise.
13816 * iconvdata/ibm921.h: Likewise.
13817 * iconvdata/ibm922.h: Likewise.
13818 * iconvdata/ibm9448.h: Likewise.
13819 * iconvdata/isiri-3342.h: Likewise.
13820 * iconvdata/jis0201.h: Likewise.
13821 * include/link.h: Likewise.
13822 * include/netdb.h: Likewise.
13823 * inet/check_native.c: Likewise.
13824 * inet/check_pf.c: Likewise.
13825 * inet/getipv4sourcefilter.c: Likewise.
13826 * inet/getnameinfo.c: Likewise.
13827 * inet/getsourcefilter.c: Likewise.
13828 * inet/htonl.c: Likewise.
13829 * inet/setipv4sourcefilter.c: Likewise.
13830 * inet/setsourcefilter.c: Likewise.
13831 * inet/test-inet6_opt.c: Likewise.
13832 * inet/tst-network.c: Likewise.
13833 * locale/C-collate.c: Likewise.
13834 * locale/C-ctype.c: Likewise.
13835 * locale/C-time.c: Likewise.
13836 * locale/C-translit.h: Likewise.
13837 * locale/loadarchive.c: Likewise.
13838 * locale/programs/3level.h: Likewise.
13839 * locale/programs/charmap.c: Likewise.
13840 * locale/programs/charmap.h: Likewise.
13841 * locale/programs/ld-address.c: Likewise.
13842 * locale/programs/ld-collate.c: Likewise.
13843 * locale/programs/ld-ctype.c: Likewise.
13844 * locale/programs/ld-identification.c: Likewise.
13845 * locale/programs/ld-measurement.c: Likewise.
13846 * locale/programs/ld-messages.c: Likewise.
13847 * locale/programs/ld-monetary.c: Likewise.
13848 * locale/programs/ld-name.c: Likewise.
13849 * locale/programs/ld-numeric.c: Likewise.
13850 * locale/programs/ld-paper.c: Likewise.
13851 * locale/programs/ld-telephone.c: Likewise.
13852 * locale/programs/ld-time.c: Likewise.
13853 * locale/programs/linereader.c: Likewise.
13854 * locale/programs/locale.c: Likewise.
13855 * locale/programs/locarchive.c: Likewise.
13856 * locale/programs/locfile.h: Likewise.
13857 * locale/programs/repertoire.c: Likewise.
13858 * locale/programs/simple-hash.c: Likewise.
13859 * locale/programs/simple-hash.h: Likewise.
13860 * malloc/memusage.c: Likewise.
13861 * malloc/memusagestat.c: Likewise.
13862 * nis/nis_defaults.c: Likewise.
13863 * nis/nis_hash.c: Likewise.
13864 * nis/nis_print.c: Likewise.
13865 * nis/nis_xdr.c: Likewise.
13866 * nscd/connections.c: Likewise.
13867 * nscd/hstcache.c: Likewise.
13868 * nscd/nscd_gethst_r.c: Likewise.
13869 * nscd/nscd_getserv_r.c: Likewise.
13870 * nscd/nscd_helper.c: Likewise.
13871 * nscd/servicescache.c: Likewise.
13872 * nss/makedb.c: Likewise.
13873 * nss/nss_db/db-XXX.c: Likewise.
13874 * nss/nss_db/db-initgroups.c: Likewise.
13875 * nss/nss_db/db-netgrp.c: Likewise.
13876 * nss/nss_files/files-network.c: Likewise.
13877 * nss/nss_files/files-parse.c: Likewise.
13878 * posix/bug-regex5.c: Likewise.
13879 * posix/fnmatch_loop.c: Likewise.
13880 * posix/regcomp.c: Likewise.
13881 * posix/regexec.c: Likewise.
13882 * posix/tst-rfc3484-2.c: Likewise.
13883 * posix/tst-rfc3484-3.c: Likewise.
13884 * posix/tst-rfc3484.c: Likewise.
13885 * resolv/nss_dns/dns-canon.c: Likewise.
13886 * resolv/nss_dns/dns-network.c: Likewise.
13887 * resolv/res_init.c: Likewise.
13888 * resolv/res_mkquery.c: Likewise.
13889 * resolv/tst-aton.c: Likewise.
13890 * stdlib/cxa_atexit.c: Likewise.
13891 * stdlib/cxa_finalize.c: Likewise.
13892 * stdlib/gen-fpioconst.c: Likewise.
13893 * stdlib/strtol_l.c: Likewise.
13894 * string/tst-endian.c: Likewise.
13895 * sunrpc/auth_des.c: Likewise.
13896 * sunrpc/clnt_udp.c: Likewise.
13897 * sunrpc/rtime.c: Likewise.
13898 * sunrpc/svcauth_des.c: Likewise.
13899 * sunrpc/xdr.c: Likewise.
13900 * sunrpc/xdr_intXX_t.c: Likewise.
13901 * sunrpc/xdr_rec.c: Likewise.
13902 * sysdeps/generic/ldconfig.h: Likewise.
13903 * sysdeps/generic/ldsodefs.h: Likewise.
13904 * sysdeps/generic/memusage.h: Likewise.
13905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13908 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13915 * sysdeps/posix/getaddrinfo.c: Likewise.
13916 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13917 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13918 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13919 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13920 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13921 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13922 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13923 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13924 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13925 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13926 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13927 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13928 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13929 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13930 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13931 * sysdeps/x86_64/dl-tls.h: Likewise.
13932 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13933 * time/alt_digit.c: Likewise.
13934 * time/era.c: Likewise.
13935 * wcsmbs/tst-c16c32-1.c: Likewise.
13937 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13939 * math/libm-test.inc (struct test_sincos_data): New type.
13940 (RUN_TEST_LOOP_sincos): New macro.
13941 (sincos_test_data): New variable.
13942 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13944 2013-05-16 Richard Henderson <rth@redhat.com>
13946 * math/atest-exp2.c (LIMB64): New macro.
13947 (CONSTSZ): New macro.
13948 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13950 (print_mpn_fp): ... to function scope.
13951 (read_mpn_hex): Remove.
13952 (get_log2): Remove.
13953 (exp2_mpn): Use mp_log2.
13954 (main): Use mp_exp1.
13956 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13958 * math/libm-test.inc: Remove comment about not testing "inexact"
13960 (INEXACT_EXCEPTION): New macro.
13961 (NO_INEXACT_EXCEPTION): Likewise.
13962 (INVALID_EXCEPTION_OK): Update value.
13963 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13964 (OVERFLOW_EXCEPTION_OK): Likewise.
13965 (UNDERFLOW_EXCEPTION_OK): Likewise.
13966 (IGNORE_ZERO_INF_SIGN): Likewise.
13967 (ERRNO_UNCHANGED): Likewise.
13968 (ERRNO_EDOM): Likewise.
13969 (ERRNO_ERANGE): Likewise.
13970 (test_exceptions): Handle testing "inexact" exceptions.
13971 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13972 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13973 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13974 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13976 (rint_towardzero_test_data): Likewise.
13977 (rint_downward_test_data): Likewise.
13978 (rint_upward_test_data): Likewise.
13980 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13981 with OVERFLOW_EXCEPTION.
13982 (exp10_test_data): Likewise.
13983 (exp2_test_data): Likewise.
13984 (expm1_test_data): Likewise.
13985 (lgamma_test_data): Likewise.
13986 (pow_test_data): Likewise.
13987 (tgamma_test_data): Likewise.
13988 (yn_test_data): Remove duplicate test of overflow.
13990 * math/libm-test.inc (struct test_cc_c_data): New type.
13991 (RUN_TEST_LOOP_cc_c): New macro.
13992 (cpow_test_data): New variable.
13993 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13995 * math/libm-test.inc (struct test_f_L_data): New type.
13996 (RUN_TEST_LOOP_f_L): New macro.
13997 (llrint_test_data): New variable.
13998 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13999 (llrint_tonearest_test_data): New variable.
14000 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14001 (llrint_towardzero_test_data): New variable.
14002 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14003 (llrint_downward_test_data): New variable.
14004 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14005 (llrint_upward_test_data): New variable.
14006 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14007 (llround_test_data): New variable.
14008 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14010 2013-05-13 Peter Collingbourne <pcc@google.com>
14012 * math/atest-exp2.c (get_log2): Remove const attribute.
14014 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14016 * math/libm-test.inc (struct test_f_l_data): New type.
14017 (RUN_TEST_LOOP_f_l): New macro.
14018 (lrint_test_data): New variable.
14019 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14020 (lrint_tonearest_test_data): New variable.
14021 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14022 (lrint_towardzero_test_data): New variable.
14023 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14024 (lrint_downward_test_data): New variable.
14025 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14026 (lrint_upward_test_data): New variable.
14027 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14028 (lround_test_data): New variable.
14029 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14031 2013-05-15 Peter Collingbourne <pcc@google.com>
14033 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14034 (EXTRACT_WORDS64) Use where appropriate.
14035 (INSERT_WORDS64) Likewise.
14037 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14038 constraints with x constraints.
14039 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14041 * malloc/obstack.c (_obstack_compat): Add initializer.
14043 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14045 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14046 si_trapno and add si_addr_lsb to _sifields.sigfault.
14047 (si_trapno): Remove macro.
14048 (si_addr_lsb): Define new macro.
14049 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14051 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14053 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14054 instead of TEST_f_l.
14055 (llrint_test_tonearest): Likewise.
14056 (llrint_test_towardzero): Likewise.
14057 (llrint_test_downward): Likewise.
14058 (llrint_test_upward): Likewise.
14059 (llround_test): Likewise.
14061 * math/libm-test.inc (struct test_f_i_data): Add comment.
14062 (RUN_TEST_LOOP_f_b): New macro.
14063 (RUN_TEST_LOOP_f_b_tg): Likewise.
14064 (finite_test_data): New variable.
14065 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14066 (isfinite_test_data): New variable.
14067 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14068 (isinf_test_data): New variable.
14069 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14070 (isnan_test_data): New variable.
14071 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14072 (isnormal_test_data): New variable.
14073 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14074 (issignaling_test_data): New variable.
14075 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14076 (signbit_test_data): New variable.
14077 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14079 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14080 with INVALID_EXCEPTION.
14081 (acosh_test_data): Likewise.
14082 (asin_test_data): Likewise.
14083 (atanh_test_data): Likewise.
14084 (fmod_test_data): Likewise.
14085 (log_test_data): Likewise.
14086 (log10_test_data): Likewise.
14087 (log2_test_data): Likewise.
14088 (pow_test_data): Likewise.
14089 (sqrt_test_data): Likewise.
14090 (y0_test_data): Likewise.
14091 (y1_test_data): Likewise.
14092 (yn_test_data): Likewise.
14094 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14097 * math/libm-test.inc (struct test_ff_i_data): New type.
14098 (RUN_TEST_LOOP_ff_i_tg): New macro.
14099 (isgreater_test_data): New variable.
14100 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14101 (isgreaterequal_test_data): New variable.
14102 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14103 (isless_test_data): New variable.
14104 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14105 (islessequal_test_data): New variable.
14106 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14107 (islessgreater_test_data): New variable.
14108 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14109 (isunordered_test_data): New variable.
14110 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14112 2013-05-14 David S. Miller <davem@davemloft.net>
14114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14116 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14118 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14120 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14122 (struct test_f_i_data): Change type of max_ulp to int.
14124 * math/libm-test.inc (test_ffI_f1_data): New type.
14125 (RUN_TEST_LOOP_ffI_f1): New macro.
14126 (remquo_test_data): New variable.
14127 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14129 * setjmp/tst-setjmp-fp.c: New file.
14130 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14131 (link-libm): New variable.
14132 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14134 * math/libm-test.inc (struct test_f_i_data): New type.
14135 (RUN_TEST_LOOP_f_i): New macro.
14136 (RUN_TEST_LOOP_f_i_tg): Likewise.
14137 (fpclassify_test_data): New variable.
14138 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14139 (ilogb_test_data): New variable.
14140 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14142 * math/libm-test.inc (scalbln_test): Correct function name in END
14145 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14146 (RUN_TEST_LOOP_fI_f1): New macro.
14147 (frexp_test_data): New variable.
14148 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14150 * math/libm-test.inc (struct test_fF_f1_data): New type.
14151 (RUN_TEST_LOOP_fF_f1): New macro.
14152 (modf_test_data): New variable.
14153 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14155 * math/libm-test.inc (struct test_f_f1_data): New type.
14156 (RUN_TEST_LOOP_f_f1): New macro.
14157 (gamma_test_data): New variable.
14158 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14159 (lgamma_test_data): New variable.
14160 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14162 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14164 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14165 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14166 (main): Comment "tls" pseudo-hwcap.
14168 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14170 * math/libm-test.inc (struct test_fl_f_data): New type.
14171 (RUN_TEST_LOOP_fl_f): New variable.
14172 (scalbln_test_data): New variable.
14173 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14175 * math/libm-test.inc (struct test_fi_f_data): New type.
14176 (RUN_TEST_LOOP_fi_f): New macro.
14177 (ldexp_test_data): New variable.
14178 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14179 (scalbn_test_data): New variable.
14180 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14182 * math/libm-test.inc (struct test_c_f_data): New type.
14183 (RUN_TEST_LOOP_c_f): New macro.
14184 (cabs_test_data): New variable.
14185 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14186 (carg_test_data): New variable.
14187 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14188 (cimag_test_data): New variable.
14189 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14190 (creal_test_data): New variable.
14191 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14193 * math/libm-test.inc (struct test_if_f_data): New type.
14194 (RUN_TEST_LOOP_if_f): New macro.
14195 (jn_test_data): New variable.
14196 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14197 (yn_test_data): New variable.
14198 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14200 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14202 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14204 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14205 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14207 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14209 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14210 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14211 (bench-deps): Add bench-timing.h.
14212 * benchtests-bench-skeleton.c: Include bench-timing.h.
14213 (main): Use TIMING_* macros instead of clock_gettime.
14214 * benchtests/bench-timing.h: New file.
14217 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14218 Renamed from _LIB_VERSION.
14219 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14221 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14223 * math/libm-test.inc (struct test_fff_f_data): New type.
14224 (RUN_TEST_LOOP_fff_f): New macro.
14225 (fma_test_data): New variable.
14226 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14227 (fma_towardzero_test_data): New variable.
14228 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14229 (fma_downward_test_data): New variable.
14230 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14231 (fma_upward_test_data): New variable.
14232 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14234 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14235 (struct test_c_c_data): New type.
14236 (RUN_TEST_LOOP_c_c): New macro.
14237 (cacos_test_data): New variable.
14238 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14239 (cacosh_test_data): New variable.
14240 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14241 (casin_test_data): New variable.
14242 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14243 (casinh_test_data): New variable.
14244 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14245 (catan_test_data): New variable.
14246 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14247 (catanh_test_data): New variable.
14248 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14249 (ccos_test_data): New variable.
14250 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14251 (ccosh_test_data): New variable.
14252 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14253 (cexp_test_data): New variable.
14254 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14255 (clog_test_data): New variable.
14256 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14257 (clog10_test_data): New variable.
14258 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14259 (conj_test_data): New variable.
14260 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14261 (cproj_test_data): New variable.
14262 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14263 (csin_test_data): New variable.
14264 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14265 (csinh_test_data): New variable.
14266 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14267 (csqrt_test_data): New variable.
14268 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14269 (ctan_test_data): New variable.
14270 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14271 (ctan_tonearest_test_data): New variable.
14272 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14273 (ctan_towardzero_test_data): New variable.
14274 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14275 (ctan_downward_test_data): New variable.
14276 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14277 (ctan_upward_test_data): New variable.
14278 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14279 (ctanh_test_data): New variable.
14280 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14281 (ctanh_tonearest_test_data): New variable.
14282 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14283 (ctanh_towardzero_test_data): New variable.
14284 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14285 (ctanh_downward_test_data): New variable.
14286 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14287 (ctanh_upward_test_data): New variable.
14288 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14289 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14292 * math/libm-test.inc (struct test_ff_f_data): New type.
14293 (struct test_ff_f_data_nexttoward): Likewise.
14294 (RUN_TEST_LOOP_2_f): New macro.
14295 (RUN_TEST_LOOP_ff_f): Likewise.
14296 (atan2_test_data): New variable.
14297 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14298 (copysign_test_data): New variable.
14299 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14300 (fdim_test_data): New variable.
14301 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14302 (fmax_test_data): New variable.
14303 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14304 (fmin_test_data): New variable.
14305 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14306 (fmod_test_data): New variable.
14307 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14308 (hypot_test_data): New variable.
14309 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14310 (nextafter_test_data): New variable.
14311 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14312 (nexttoward_test_data): New variable.
14313 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14314 (pow_test_data): New variable.
14315 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14316 (pow_tonearest_test_data): New variable.
14317 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14318 (pow_towardzero_test_data): New variable.
14319 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14320 (pow_downward_test_data): New variable.
14321 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14322 (pow_upward_test_data): New variable.
14323 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14324 (remainder_test_data): New variable.
14325 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14326 (scalb_test_data): New variable.
14327 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14328 * sysdeps/i386/fpu/libm-test-ulps: Update.
14330 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14332 * math/libm-test.inc (fma_test): Use max_value instead of local
14334 (nextafter_test): Likewise.
14336 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14337 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14338 (acos_downward_test_data): New variable.
14339 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14340 (acos_upward_test_data): New variable.
14341 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14342 (acosh_test_data): New variable.
14343 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14344 (asin_test_data): New variable.
14345 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14346 (asin_tonearest_test_data): New variable.
14347 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14348 (asin_towardzero_test_data): New variable.
14349 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14350 (asin_downward_test_data): New variable.
14351 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14352 (asin_upward_test_data): New variable.
14353 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14354 (asinh_test_data): New variable.
14355 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14356 (atan_test_data): New variable.
14357 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14358 (atanh_test_data): New variable.
14359 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14360 (cbrt_test_data): New variable.
14361 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14362 (ceil_test_data): New variable.
14363 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14364 (cos_test_data): New variable.
14365 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14366 (cos_tonearest_test_data): New variable.
14367 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14368 (cos_towardzero_test_data): New variable.
14369 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14370 (cos_downward_test_data): New variable.
14371 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14372 (cos_upward_test_data): New variable.
14373 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14374 (cosh_test_data): New variable.
14375 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14376 (cosh_tonearest_test_data): New variable.
14377 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14378 (cosh_towardzero_test_data): New variable.
14379 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14380 (cosh_downward_test_data): New variable.
14381 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14382 (cosh_upward_test_data): New variable.
14383 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14384 (erf_test_data): New variable.
14385 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14386 (erfc_test_data): New variable.
14387 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14388 (exp_test_data): New variable.
14389 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14390 (exp_tonearest_test_data): New variable.
14391 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14392 (exp_towardzero_test_data): New variable.
14393 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14394 (exp_downward_test_data): New variable.
14395 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14396 (exp_upward_test_data): New variable.
14397 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14398 (exp10_test_data): New variable.
14399 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14400 (exp2_test_data): New variable.
14401 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14402 (expm1_test_data): New variable.
14403 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14404 (fabs_test_data): New variable.
14405 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14406 (floor_test_data): New variable.
14407 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14408 (j0_test_data): New variable.
14409 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14410 (j1_test_data): New variable.
14411 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14412 (log_test_data): New variable.
14413 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14414 (log10_test_data): New variable.
14415 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14416 (log1p_test_data): New variable.
14417 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14418 (log2_test_data): New variable.
14419 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14420 (logb_test_data): New variable.
14421 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14422 (logb_downward_test_data): New variable.
14423 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14424 (nearbyint_test_data): New variable.
14425 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14426 (rint_test_data): New variable.
14427 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14428 (rint_tonearest_test_data): New variable.
14429 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14430 (rint_towardzero_test_data): New variable.
14431 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14432 (rint_downward_test_data): New variable.
14433 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14434 (rint_upward_test_data): New variable.
14435 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14436 (round_test_data): New variable.
14437 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14438 (sin_test_data): New variable.
14439 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14440 (sin_tonearest_test_data): New variable.
14441 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14442 (sin_towardzero_test_data): New variable.
14443 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14444 (sin_downward_test_data): New variable.
14445 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14446 (sin_upward_test_data): New variable.
14447 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14448 (sinh_test_data): New variable.
14449 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14450 (sinh_tonearest_test_data): New variable.
14451 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14452 (sinh_towardzero_test_data): New variable.
14453 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14454 (sinh_downward_test_data): New variable.
14455 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14456 (sinh_upward_test_data): New variable.
14457 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14458 (sqrt_test_data): New variable.
14459 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14460 (tan_test_data): New variable.
14461 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14462 (tan_tonearest_test_data): New variable.
14463 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14464 (tan_towardzero_test_data): New variable.
14465 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14466 (tan_downward_test_data): New variable.
14467 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14468 (tan_upward_test_data): New variable.
14469 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14470 (tanh_test_data): New variable.
14471 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14472 (tgamma_test_data): New variable.
14473 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14474 (trunc_test_data): New variable.
14475 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14476 (y0_test_data): New variable.
14477 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14478 (y1_test_data): New variable.
14479 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14480 (significand_test_data): New variable.
14481 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14483 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14486 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14488 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14490 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14492 2013-05-10 Andreas Jaeger <aj@suse.de>
14495 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14496 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14498 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14500 * math/gen-libm-test.pl (adjust_arg): New function.
14501 (special_functions): Handle generating output in both functions
14503 (parse_args): Likewise.
14504 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14505 $in_func argument to parse_args.
14506 * math/libm-test.inc (struct test_f_f_data): New type.
14507 (IF_ROUND_INIT_): New macro.
14508 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14509 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14510 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14511 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14512 (ROUND_RESTORE_): Likewise.
14513 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14514 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14515 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14516 (ROUND_RESTORE_FE_UPWARD): Likewise.
14517 (RUN_TEST_LOOP_f_f): New macro.
14518 (acos_test_data): New variable.
14519 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14520 (acos_tonearest_test_data): New variable.
14521 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14523 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14525 * benchtests/bench-skeleton.c (startup): Fix coding style.
14527 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14530 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14531 negative infinity argument.
14532 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14533 negative infinity argument.
14534 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14535 negative infinity argument.
14536 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14539 2013-05-10 Florian Weimer <fweimer@redhat.com>
14541 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14542 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14543 * iconv/iconv_prog.c (main): Likewise.
14544 * locale/programs/charmap-dir.c (charmap_readdir)
14545 (fopen_uncompressed): Likewise.
14546 * locale/programs/locfile.c (siblings_uncached)
14547 (write_locale_data): Use lstat64 instead of lstat.
14548 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14551 2013-05-10 Andreas Jaeger <aj@suse.de>
14554 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14556 Include <locale.h>.
14558 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14560 * elf/dl-close.c (_dl_close_worker): Add comments.
14562 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14565 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14567 (__ieee754_rem_pio2l): Update comments.
14570 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14572 (__ieee754_rem_pio2l): Update comments.
14574 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14575 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14577 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14580 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14581 (M_PI_34_LOG10El): Likewise.
14582 (M_PI2_LOG10El): Likewise.
14583 (M_PI4_LOG10El): Likewise.
14584 (M_PI_LOG10El): Likewise.
14586 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14590 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14592 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14593 (MINUS_ZERO_INIT): Likewise.
14594 (PLUS_INFTY_INIT): Likewise.
14595 (MINUS_INFTY_INIT): Likewise.
14596 (QNAN_VALUE_INIT): Likewise.
14597 (MAX_VALUE_INIT): Likewise.
14598 (MIN_VALUE_INIT): Likewise.
14599 (MIN_SUBNORM_VALUE_INIT): Likewise.
14600 (plus_zero): Initialize with PLUS_ZERO_INIT.
14601 (minus_zero): Initialize with MINUS_ZERO_INIT.
14602 (plus_infty): Initialize with PLUS_INFTY_INIT.
14603 (minus_infty): Initialize with MINUS_INFTY_INIT.
14604 (qnan_value): Initialize with QNAN_VALUE_INIT.
14605 (max_value): Initialize with MAX_VALUE_INIT.
14606 (min_value): Initialize with MIN_VALUE_INIT.
14607 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14609 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14610 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14611 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14612 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14614 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14615 (RUN_TEST_2_f): Likewise.
14616 (RUN_TEST_ff_f): Likewise.
14617 (RUN_TEST_fi_f): Likewise.
14618 (RUN_TEST_fl_f): Likewise.
14619 (RUN_TEST_fff_f): Likewise.
14620 (RUN_TEST_c_f): Likewise.
14621 (RUN_TEST_f_f1): Likewise.
14622 (RUN_TEST_fF_f1): Likewise.
14623 (RUN_TEST_fI_f1): Likewise.
14624 (RUN_TEST_ffI_f1): Likewise.
14625 (RUN_TEST_c_c): Likewise.
14626 (RUN_TEST_cc_c): Likewise.
14627 (RUN_TEST_f_i): Likewise.
14628 (RUN_TEST_f_i_tg): Likewise.
14629 (RUN_TEST_ff_i_tg): Likewise.
14630 (RUN_TEST_f_b): Likewise.
14631 (RUN_TEST_f_b_tg): Likewise.
14632 (RUN_TEST_f_l): Likewise.
14633 (RUN_TEST_f_L): Likewise.
14634 (RUN_TEST_sincos): Likewise.
14635 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14636 whether to show exceptions. Do not include ");\n" in return
14638 (special_functions): Output call to RUN_TEST_sincos instead of
14639 check_float calls. Update calls to new_test.
14640 (parse_args): Output call to single RUN_TEST_* macro instead of
14641 check_* calls and other assignments. Update calls to new_test.
14647 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14648 input to result for tgamma overflow.
14649 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14650 (gamma_coeff): New variable.
14651 (NCOEFF): New macro.
14652 (gamma_positive): New function.
14653 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14654 underflow here. Use gamma_positive instead of exp (lgamma) for
14656 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14657 (gamma_coeff): New variable.
14658 (NCOEFF): New macro.
14659 (gammaf_positive): New function.
14660 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14661 underflow here. Use gamma_positive instead of exp (lgamma) for
14663 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14664 (gamma_coeff): New variable.
14665 (NCOEFF): New macro.
14666 (gammal_positive): New function.
14667 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14668 underflow here. Use gamma_positive instead of exp (lgamma) for
14670 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14671 (gamma_coeff): New variable.
14672 (NCOEFF): New macro.
14673 (gammal_positive): New function.
14674 (__ieee754_gammal_r): Handle positive infinity, overflow and
14675 underflow here. Handle NaN the same as positive infinity. Remove
14676 check x < 0xffffffff for negative integers. Use gamma_positive
14677 instead of exp (lgamma) for other arguments.
14678 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14679 (gamma_coeff): New variable.
14680 (NCOEFF): New macro.
14681 (gammal_positive): New function.
14682 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14683 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14687 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14688 * sysdeps/generic/math_private.h (__gamma_productf): New
14690 (__gamma_product): Likewise.
14691 (__gamma_productl): Likewise.
14692 * math/Makefile (libm-calls): Add gamma_product.
14693 * math/libm-test.inc (tgamma_test): Add more tests.
14694 * sysdeps/i386/fpu/libm-test-ulps: Update.
14695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14697 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14699 * benchtests/bench-skeleton.c (main): Preheat CPU.
14701 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14703 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14705 2013-05-07 Roland McGrath <roland@hack.frob.com>
14707 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14708 and _dl_skip_args_internal.
14710 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14712 * manual/message.texi (Message Translation): Talk about users.
14713 Message to key mapping impacts design.
14715 2013-05-06 Roland McGrath <roland@hack.frob.com>
14717 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14719 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14721 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14722 * sysdeps/wordsize-64/glob64.c: ... here.
14724 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14725 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14728 * debug/getlogin_r_chk.c: Moved to ...
14729 * login/getlogin_r_chk.c: ... here.
14730 * debug/Makefile (routines): Move getlogin_r_chk to ...
14731 * login/Makefile (routines): ... here.
14732 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14733 * login/Versions (libc: GLIBC_2.4): ... here.
14735 * io/poll.c (__poll): Renamed from poll.
14736 Add libc_hidden_def.
14737 (poll): Define as weak alias.
14739 * debug/ptsname_r_chk.c: Moved to ...
14740 * login/ptsname_r_chk.c: ... here.
14741 * debug/Makefile (routines): Move ptsname_r_chk to ...
14742 * login/Makefile (routines): ... here.
14743 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14744 * login/Versions (libc: GLIBC_2.4): ... here.
14746 * posix/getlogin.c: Moved to ...
14747 * login/getlogin.c: ... here.
14748 * posix/getlogin_r.c: Moved to ...
14749 * login/getlogin_r.c: ... here.
14750 * posix/getlogin_r.c: Moved to ...
14751 * login/getlogin_r.c: ... here.
14752 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14753 * login/Makefile (routines): ... here.
14754 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14755 * login/Versions (libc: GLIBC_2.0): ... here.
14757 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14758 (setrlimit): Define as weak alias.
14760 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14761 Call __ names for open, ftruncate, and close.
14762 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14763 (truncate): Define as weak alias.
14765 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14767 * math/gen-libm-test.pl (parse_args): Initialize x before each
14768 test of frexp, modf and remquo.
14770 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14771 test signgam value.
14773 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14777 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14779 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14781 2013-05-06 Roland McGrath <roland@hack.frob.com>
14783 * elf/dl-writev.h: New file.
14784 * elf/dl-misc.c: Include it.
14785 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14786 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14788 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14790 * math/libm-test.inc (noXFails): Remove variable.
14791 (noXPasses): Likewise.
14792 (BUILD_COMPLEX_INT): Remove macro.
14793 (print_screen): Remove xfail argument.
14794 (print_screen_max_error): Likewise.
14795 (update_stats): Likewise.
14796 (print_max_error): Likewise. Update calls to other affected
14798 (print_complex_max_error): Likewise.
14799 (test_single_exception): Update calls to print_screen.
14800 (test_single_errno): Likewise.
14801 (check_float_internal): Remove xfail argument. Update calls to
14802 other affected functions.
14803 (check_float): Likewise.
14804 (check_complex): Likewise.
14805 (check_int): Likewise.
14806 (check_long): Likewise.
14807 (check_bool): Likewise.
14808 (check_longlong): Likewise.
14809 (main): Don't print noXFails and noXPasses.
14810 * math/gen-libm-test.pl (top level): Don't mention expected
14811 failure handling in comment.
14812 (new_test): Don't handle expected failures.
14813 (parse_args): Don't mention expected failure handling in comment.
14814 (generate_testfile): Don't handle expected failures.
14815 (parse_ulps): Likewise.
14816 (print_ulps_file): Likewise.
14817 (get_failure): Remove function.
14818 (output_test): Don't handle expected failures.
14819 * make/README.libm-test: Don't mention expected failure handling.
14821 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14822 (minus_zero): Likewise.
14823 (plus_infty): Likewise.
14824 (minus_infty): Likewise.
14825 (qnan_value): Likewise.
14826 (max_value): Likewise.
14827 (min_value): Likewise.
14828 (min_subnorm_value): Likewise.
14829 (initialize): Do not initialize those variables dynamically.
14831 2013-05-03 Roland McGrath <roland@hack.frob.com>
14833 * io/open.c (__open_2): Moved to ...
14834 * io/open_2.c: ... this new file.
14835 * io/open64.c (__open64_2): Moved to ...
14836 * io/open64_2.c: ... this new file.
14837 * io/openat.c (__openat_2): Moved to ...
14838 * io/openat_2.c: ... this new file.
14839 * io/openat64.c (__openat64_2): Moved to ...
14840 * io/openat64_2.c: ... this new file.
14841 * io/Makefile (routines): Add them.
14842 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14843 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14844 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14845 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14846 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14847 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14848 (__openat64): Add hidden_ver.
14849 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14850 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14852 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14853 Separately conditionalize setting of GLRO(dl_sysinfo) so
14854 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14855 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14857 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14859 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14860 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14862 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14863 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14864 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14865 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14866 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14868 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14870 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14871 test signgam value.
14873 * math/libm-test.inc (hypot_test): Do not use
14874 IGNORE_ZERO_INF_SIGN.
14876 2013-05-03 Andreas Jaeger <aj@suse.de>
14878 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14880 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14881 (PF_MAX): Adjust for VSOCK change.
14883 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14887 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14890 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14891 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14892 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14894 2013-05-02 David S. Miller <davem@davemloft.net>
14896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14898 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14900 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14902 2013-05-01 Roland McGrath <roland@hack.frob.com>
14904 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14906 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14909 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14910 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14911 Use __attribute__ ((__gnu_inline__)).
14912 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14913 Don't use __attribute__ ((__gnu_inline__)).
14915 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14918 * math/s_catan.c (__catan): Handle small real or imaginary part of
14919 input specially to avoid spurious underflow.
14920 * math/s_catanf.c (__catanf): Likewise.
14921 * math/s_catanh.c (__catanh): Likewise.
14922 * math/s_catanhf.c (__catanhf): Likewise.
14923 * math/s_catanhl.c (__catanhl): Likewise.
14924 * math/s_catanl.c (__catanl): Likewise.
14925 * math/libm-test.inc (catan_test): Add more tests.
14926 (catanh_test): Likewise.
14927 * sysdeps/i386/fpu/libm-test-ulps: Update.
14928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14930 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14934 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14937 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14938 accurately for denominator in atan2.
14939 * math/s_catanf.c (__catanf): Likewise.
14940 * math/s_catanh.c (__catanh): Likewise.
14941 * math/s_catanhf.c (__catanhf): Likewise.
14942 * math/s_catanhl.c (__catanhl): Likewise.
14943 * math/s_catanl.c (__catanl): Likewise.
14944 * math/libm-test.inc (catan_test): Add more tests.
14945 (catanh_test): Likewise.
14946 * sysdeps/i386/fpu/libm-test-ulps: Update.
14947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14949 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14951 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14953 * benchtests/Makefile (bench): Remove slow benchmarks.
14954 * benchtests/atan-inputs: Add slow benchmark inputs.
14955 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14956 (BENCH_FUNC): Accept variant offset.
14958 * benchtests/bench-skeleton.c (main): Run benchmark for each
14960 * benchtests/cos-inputs: Add slow benchmark inputs.
14961 * benchtests/exp-inputs: Likewise.
14962 * benchtests/pow-inputs: Likewise.
14963 * benchtests/sin-inputs: Likewise.
14964 * benchtests/slowatan-inputs: Remove.
14965 * benchtests/slowatan.c: Remove.
14966 * benchtests/slowcos-inputs: Remove.
14967 * benchtests/slowcos.c: Remove.
14968 * benchtests/slowexp-inputs: Remove.
14969 * benchtests/slowexp.c: Remove.
14970 * benchtests/slowpow-inputs: Remove.
14971 * benchtests/slowpow.c: Remove.
14972 * benchtests/slowsin-inputs: Remove.
14973 * benchtests/slowsin.c: Remove.
14974 * benchtests/slowtan-inputs: Remove.
14975 * benchtests/slowtan.c: Remove.
14976 * benchtests/tan-inputs: Add slow benchmark inputs.
14977 * scripts/bench.pl: Parse comments and directives.
14979 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14981 ($(objpfx)bench-%.c): Remove *-ITER.
14982 * benchtests/bench-modf.c: Remove definition of ITER.
14983 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14984 (main): Loop for DURATION seconds instead of fixed number of
14986 * scripts/bench.pl: Don't expect iterations in parameters.
14988 2013-04-29 Roland McGrath <roland@hack.frob.com>
14990 * io/fchdir.c (__fchdir): Renamed from fchdir.
14991 (fchdir): Define as weak alias.
14993 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14995 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14996 (ERRNO_EDOM): Likewise.
14997 (ERRNO_ERANGE): Likewise.
14998 (noErrnoTests): New variable.
14999 (init_max_error): Set errno to 0.
15000 (test_single_errno): New function.
15001 (test_errno): Likewise.
15002 (check_float_internal): Call test_errno. Set errno to 0.
15003 (check_complex): Refer to errno tests in comment.
15004 (check_int): Call test_errno. Set errno to 0.
15005 (check_long): Likewise.
15006 (check_bool): Likewise.
15007 (check_longlong): Likewise.
15008 (cos_test): Use ERRNO_* flags for errno tests instead of
15010 (expm1_test): Likewise.
15011 (fmod_test): Likewise.
15012 (ilogb_test): Likewise.
15013 (lgamma_test): Likewise.
15014 (pow_test): Likewise.
15015 (remainder_test): Likewise.
15016 (sin_test): Likewise.
15017 (tan_test): Likewise.
15018 (yn_test): Likewise.
15019 (initialize): Set errno to 0.
15020 (main): Print number of errno tests.
15021 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15023 2013-04-29 Andreas Jaeger <aj@suse.de>
15026 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15030 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15031 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15035 * stdlib/random.c (__initstate): Return NULL if
15039 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15040 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15043 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15047 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15049 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15050 of individual tests.
15051 (casin_test): Likewise.
15052 (casinh_test): Likewise.
15054 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15057 * math/s_catan.c (__catan): Handle arguments with large real or
15058 imaginary part separately without squaring.
15059 * math/s_catanf.c (__catanf): Likewise.
15060 * math/s_catanh.c (__catanh): Likewise.
15061 * math/s_catanhf.c (__catanhf): Likewise.
15062 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15064 (__catanhl): Handle arguments with large real or imaginary part
15065 separately without squaring.
15066 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15068 (__catanl): Handle arguments with large real or imaginary part
15069 separately without squaring.
15070 * math/libm-test.inc (catan_test): Add more tests.
15071 (catanh_test): Likewise.
15072 * sysdeps/i386/fpu/libm-test-ulps: Update.
15073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15075 2013-04-27 Andreas Jaeger <aj@suse.de>
15078 * stdlib/stdlib.h: Update guards for qecvt.
15079 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15082 2013-04-27 Allan McRae <allan@archlinux.org>
15084 * sysdeps/i386/fpu/libm-test-ulps: Update.
15086 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15089 * math/s_catan.c: Include <float.h>.
15090 (__catan): Ensure underflow exception occurs for underflowed
15092 * math/s_catanf.c: Include <float.h>.
15093 (__catanf): Ensure underflow exception occurs for underflowed
15095 * math/s_catanh.c: Include <float.h>.
15096 (__catanh): Ensure underflow exception occurs for underflowed
15098 * math/s_catanhf.c: Include <float.h>.
15099 (__catanhf): Ensure underflow exception occurs for underflowed
15101 * math/s_catanhl.c: Include <float.h>.
15102 (__catanhl): Ensure underflow exception occurs for underflowed
15104 * math/s_catanl.c: Include <float.h>.
15105 (__catanl): Ensure underflow exception occurs for underflowed
15107 * math/libm-test.inc (catan_test): Add more tests.
15108 (catanh_test): Likewise.
15111 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15112 underflowed result.
15113 * math/s_ccoshf.c (__ccoshf): Likewise.
15114 * math/s_ccoshl.c (__ccoshl): Likewise.
15115 * math/s_csin.c (__csin): Likewise.
15116 * math/s_csinf.c (__csinf): Likewise.
15117 * math/s_csinh.c (__csinh): Likewise.
15118 * math/s_csinhf.c (__csinhf): Likewise.
15119 * math/s_csinhl.c (__csinhl): Likewise.
15120 * math/s_csinl.c (__csinl): Likewise.
15121 * math/libm-test.inc (ccos_test): Add more tests.
15122 (ccosh_test): Likewise.
15123 (csin_test): Likewise.
15124 (csinh_test): Likewise.
15126 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15128 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15129 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15130 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15131 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15132 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15133 powerpc/power5+/fpu folders.
15134 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15137 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15141 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15143 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15144 additions to variable.
15145 [$(config-machine) = x86_64] (modules-names): Likewise.
15146 ($(objpfx)tst-audit3): Remove dependency.
15147 ($(objpfx)tst-audit3.out): Likewise.
15148 ($(objpfx)tst-audit4): Likewise.
15149 ($(objpfx)tst-audit4.out): Likewise.
15150 ($(objpfx)tst-audit5): Likewise.
15151 ($(objpfx)tst-audit5.out): Likewise.
15152 ($(objpfx)tst-audit6): Likewise.
15153 ($(objpfx)tst-audit6.out): Likewise.
15154 ($(objpfx)tst-audit7): Likewise.
15155 ($(objpfx)tst-audit7.out): Likewise.
15156 (tst-audit3-ENV): Remove variable.
15157 (tst-audit4-ENV): Likewise.
15158 (tst-audit5-ENV): Likewise.
15159 (tst-audit6-ENV): Likewise.
15160 (tst-audit7-ENV): Likewise.
15161 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15162 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15163 addition to variable.
15164 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15165 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15166 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15167 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15168 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15169 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15170 tst-audit3, tst-audit4 and tst-audit5.
15171 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15172 tst-audit6 and tst-audit7.
15173 [$(subdir) = elf] (modules-names): Add audit modules for those
15175 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15176 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15177 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15178 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15179 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15180 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15181 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15182 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15183 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15184 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15185 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15186 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15187 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15188 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15189 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15190 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15192 [$(subdir) = elf && $(config-cflags-avx) = yes]
15193 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15194 [$(subdir) = elf && $(config-cflags-avx) = yes]
15195 (CFLAGS-tst-auditmod4a.c): Likewise.
15196 [$(subdir) = elf && $(config-cflags-avx) = yes]
15197 (CFLAGS-tst-auditmod4b.c): Likewise.
15198 [$(subdir) = elf && $(config-cflags-avx) = yes]
15199 (CFLAGS-tst-auditmod6b.c): Likewise.
15200 [$(subdir) = elf && $(config-cflags-avx) = yes]
15201 (CFLAGS-tst-auditmod6c.c): Likewise.
15202 [$(subdir) = elf && $(config-cflags-avx) = yes]
15203 (CFLAGS-tst-auditmod7b.c): Likewise.
15204 * elf/tst-audit3.c: Move to ...
15205 * sysdeps/x86_64/tst-audit3.c: ... here.
15206 * elf/tst-audit4.c: Move to ...
15207 * sysdeps/x86_64/tst-audit4.c: ... here.
15208 * elf/tst-audit5.c: Move to ...
15209 * sysdeps/x86_64/tst-audit5.c: ... here.
15210 * elf/tst-audit6.c: Move to ...
15211 * sysdeps/x86_64/tst-audit6.c: ... here.
15212 * elf/tst-audit7.c: Move to ...
15213 * sysdeps/x86_64/tst-audit7.c: ... here.
15214 * elf/tst-auditmod3a.c: Move to ...
15215 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15216 * elf/tst-auditmod3b.c: Move to ...
15217 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15218 * elf/tst-auditmod4a.c: Move to ...
15219 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15220 * elf/tst-auditmod4b.c: Move to ...
15221 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15222 * elf/tst-auditmod5a.c: Move to ...
15223 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15224 * elf/tst-auditmod5b.c: Move to ...
15225 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15226 * elf/tst-auditmod6a.c: Move to ...
15227 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15228 * elf/tst-auditmod6b.c: Move to ...
15229 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15230 * elf/tst-auditmod6c.c: Move to ...
15231 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15232 * elf/tst-auditmod7a.c: Move to ...
15233 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15234 * elf/tst-auditmod7b.c: Move to ...
15235 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15237 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15240 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15241 define unconditionally.
15242 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15243 define unconditionally.
15244 (INT8_C, INT16_C, etc.): Likewise.
15246 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15248 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15249 __ehdr_start with hidden visibility.
15251 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15253 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15255 * math/libm-test.inc (cos_test): Use accurate hex constants.
15256 (sincost_test): Likewise.
15258 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15260 * math/libm-test.inc (catan_test): Add more tests.
15261 (catanh_test): Likewise.
15263 * math/s_catanf.c (__catanf): Use suffixed floating-point
15265 * math/s_catanhf.c (__catanhf): Likewise.
15266 * math/s_catanhl.c (__catanhl): Likewise.
15267 * math/s_catanl.c (__catanl): Likewise.
15270 * math/s_catan.c (__catan): Calculate imaginary part of result
15271 with log1p not log unless computing log of number close to 0.
15272 * math/s_catanf.c (__catanf): Likewise.
15273 * math/s_catanl.c (__catanl): Likewise.
15274 * math/s_catanh.c (__catanh): Calculate real part of result with
15275 log1p not log unless computing log of number close to 0.
15276 * math/s_catanhf.c (__catanhf): Likewise.
15277 * math/s_catanhl.c (__catanhl): Likewise.
15278 * math/libm-test.inc (catan_test): Add more tests.
15279 (catanh_test): Likewise.
15280 * sysdeps/i386/fpu/libm-test-ulps: Update.
15281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15283 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15285 * benchtests/Makefile: Mention files in which fast and slow
15286 paths of math functions are implemented.
15288 2013-04-23 Roland McGrath <roland@hack.frob.com>
15290 * sysdeps/posix/timespec_get.c: New file.
15292 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15294 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15296 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15298 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15299 powerpc/power5/fpu folders.
15300 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15301 * benchtests/Makefile: Add modf testcase.
15302 * benchtests/bench-modf.c: New file: Benchmark test for mo
15304 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15307 * time/Makefile (tests): Add tst-strptime-whitespace.
15308 * time/strptime_l.c (get_number): Use ISSPACE.
15309 (__strptime_internal): Likewise.
15310 * time/tst-strptime-whitespace.c: New test case.
15312 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15314 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15316 (_nss_files_init): Set it here.
15318 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15320 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15321 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15324 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15326 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15328 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15330 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15333 2013-04-21 David S. Miller <davem@davemloft.net>
15335 * po/ru.po: Update Russion translation from translation project.
15337 2013-04-17 Adam Conrad <adconrad@0c3.net>
15339 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15342 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15344 * configure.in: Remove i386 configure warning. Remove i386 case.
15345 * configure: Regenerate.
15346 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15347 Add example to error message.
15348 * sysdeps/i386/configure: Regenerate.
15350 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15352 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15354 * benchtests/cos-inputs: New file.
15355 * benchtests/slowcos-inputs: New file.
15356 * benchtests/slowcos.c: New file.
15357 * benchtests/slowtan-inputs: New file.
15358 * benchtests/slowtan.c: New file.
15359 * benchtests/tan-inputs: New file.
15361 2013-04-16 Roland McGrath <roland@hack.frob.com>
15363 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15366 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15368 * benchtests/Makefile: Include cppflags-iterator.mk to add
15369 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15371 * Makefile.in (bench-clean): New target.
15372 * benchtests/Makefile (bench-clean): Likewise.
15374 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15376 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15378 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15380 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15382 2013-04-15 Andreas Schwab <schwab@suse.de>
15384 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15386 * nscd/pwdcache.c (cache_addpw): Likewise.
15387 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15390 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15392 * benchtests/Makefile (bench): Write all output to
15393 bench-out.tmp together.
15395 2013-04-15 Andreas Schwab <schwab@suse.de>
15397 * nscd/nscd.c (main): Don't fork again after closing files.
15399 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15401 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15403 * benchtests/Rules (bench-deps): Collect dependencies into a
15404 single variable. Add Makefile to dependencies.
15405 ($(objpfx)bench-%.c): Depend on bench-deps.
15407 2013-04-12 Roland McGrath <roland@hack.frob.com>
15408 Xavier Roche <roche+kml2@exalead.com>
15411 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15412 just that it's a file descriptor.
15413 * manual/llio.texi (Synchronizing AIO Operations): Update description
15414 for EBADF error from aio_fsync.
15416 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15418 * Rules (bench): Move target definition...
15419 * benchtests/Makefile: ... here.
15421 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15423 * math/libm-test.inc (cos_test): Fix PI/2 test.
15424 (sincos_test): Likewise.
15425 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15426 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15428 2013-04-11 Andreas Schwab <schwab@suse.de>
15431 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15432 accept exponent character only when digits were seen.
15433 * stdio-common/Makefile (tests): Add bug26.
15434 * stdio-common/bug26.c: New file.
15437 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15440 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15442 * Makeconfig (rtld-prefix): Define built linker prefix.
15443 * Rules (run-bench): Use it.
15444 * math/Makefile (run-regen-ulps): Likewise.
15446 * Rules (bench): Remove eval.
15448 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15449 Roland McGrath <roland@hack.frob.com>
15450 Ondrej Bilka <neleai@seznam.cz>
15453 * time/getdate.c: Include ctype.h and alloca.h.
15454 (__getdate_r): Trim leading and trailing spaces of input.
15455 * time/tst-getdate.c (tests): Add tests with leading and
15458 2013-04-08 Roland McGrath <roland@hack.frob.com>
15461 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15462 when computing value.
15464 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15466 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15467 Use testrun.sh to run libm tests.
15470 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15472 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15475 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15477 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15479 * Makefile.in (regen-ulps): New target.
15480 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15481 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15482 [ifneq (no,$(PERL)] (regen-ulps): New target.
15483 [ifeq (no,$(PERL)] (regen-ulps): New target.
15484 * math/libm-test.inc (ulps_file_name): Define.
15485 (output_dir): New variable.
15486 (options): Add "output-dir" option.
15487 (parse_opt): Handle 'o' case.
15488 (main): If output_dir is non-NULL use it as a prefix
15490 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15492 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15494 [BZ #10060, #10062]
15495 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15496 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15497 fail configure if __sync_val_compare_and_swap is not inlined.
15498 * sysdeps/i386/configure: Regenerate.
15499 * configure.in: Build for i686 when configured for i386.
15500 * configure: Regenerate.
15501 * README: Remove i386 reference.
15503 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15505 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15506 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15508 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15510 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15511 (lmsnanval): New variables.
15512 (F): Add conversion tests.
15513 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15514 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15516 * stdio-common/tstdiomisc.c (F): Properly collect individual
15519 [BZ #14686, #15336]
15520 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15521 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15522 Instead, use input NaN values or generate a qNaN by arithmetic
15523 operation. Also fix bugs to comply with the standard.
15524 * math/libm-test.inc (remainder_test): Add more tests.
15526 [BZ #15335, #15342]
15527 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15529 input NaN values or generate a qNaN by arithmetic operation.
15531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15534 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15537 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15540 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15541 underflowed result.
15542 * math/s_cexpf.c (__cexpf): Likewise.
15543 * math/s_cexpl.c (__cexpl): Likewise.
15544 * math/libm-test.inc (cexp_test): Add more tests.
15546 2013-04-03 Andreas Schwab <schwab@suse.de>
15549 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15550 order arrays from heap if bigger than alloca cutoff.
15552 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15554 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15555 (SNAN_TESTS_double): Refer to GCC PR56831.
15556 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15559 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15561 * Rules (bench): Move bench.out after the run is complete.
15563 * Rules (bench): Echo currently running benchmark.
15565 * benchtests/Makefile (bench): Add atan and slowatan.
15566 * benchtests/atan-inputs: New file.
15567 * benchtests/slowatan-inputs: New file.
15568 * benchtests/slowatan.c: New file.
15570 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15575 * sysdeps/unix/sysv/linux/kernel-features.h
15576 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15577 __ASSUME_XFS_RESTRICTED_CHOWN.
15578 * sysdeps/unix/sysv/linux/pathconf.c
15579 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15580 Save and restore errno.
15582 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15585 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15586 arguments using __kernel_casinh.
15587 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15588 arguments using __kernel_casinhf.
15589 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15590 arguments using __kernel_casinhl.
15591 * math/libm-test.inc (cacosh_test): Add more tests.
15592 * sysdeps/i386/fpu/libm-test-ulps: Update.
15593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15595 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15597 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15600 * bench/Makefile (bench): Add sin and slowsin.
15601 * benchtests/sin-inputs: New file.
15602 * benchtests/slowsin-inputs: New file.
15603 * benchtests/slowsin.c: New file.
15605 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15606 (bench): Add slowexp and slowpow.
15607 (exp-ITER): Increase iterations.
15608 (pow-ITER): Likewise.
15609 * benchtests/exp-inputs: Change input.
15610 * benchtests/pow-inputs: Likewise.
15611 * benchtests/slowexp-inputs: New file.
15612 * benchtests/slowexp.c: New file.
15613 * benchtests/slowpow-inputs: New file.
15614 * benchtests/slowpow.c: New file.
15616 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15618 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15620 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15621 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15622 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15623 * benchtests/Makefile: Add rint benchtest.
15624 * benchtests/rint-inputs: Input for rint benchtest.
15626 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15628 * Versions.def (libm): Add GLIBC_2.18.
15629 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15630 hidden libm prototypes.
15631 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15632 * math/Makefile (libm-calls): Add s_issignaling.
15633 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15634 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15635 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15637 * math/math.h [__USE_GNU] (issignaling): New macro.
15638 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15639 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15641 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15644 * manual/arith.texi (issignaling): New section.
15645 * manual/libm-err-tab.pl (@all_functions): Update comment.
15646 * math/gen-libm-test.pl (parse_args): Apply special handling for
15648 * math/libm-test.inc (print_float, issignaling_test): New
15650 (check_float_internal): Add issignaling checks.
15651 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15652 default definition.
15653 * sysdeps/powerpc/math-tests.h: New file.
15654 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15656 * math/test-snan.c (TEST_FUNC): Likewise.
15658 2013-03-30 David S. Miller <davem@davemloft.net>
15660 * po/de.po: Update from translation team.
15662 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15665 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15666 imaginary part less than 1.0 and real part less than 0.5
15668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15670 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15671 (cacos_test): Add more tests.
15672 (casin_test): Likewise.
15673 (casinh_test): Likewise.
15674 * sysdeps/i386/fpu/libm-test-ulps: Update.
15675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15677 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15679 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15680 ONE with its value.
15682 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15683 (__pow_mp): Replace ONE and MONE with their values.
15684 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15685 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15686 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15687 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15688 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15689 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15691 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15693 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15694 (__pow_mp): Replace ZERO and MZERO with their values.
15695 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15697 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15699 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15700 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15703 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15705 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15707 2013-03-28 Roland McGrath <roland@hack.frob.com>
15709 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15710 Declare with __attribute__ ((weak)).
15711 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15712 Call __call_tls_dtors only if it's not NULL.
15714 2013-03-28 Roland McGrath <roland@hack.frob.com>
15716 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15717 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15718 magic __ehdr_start linker symbol if it's defined.
15719 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15720 them up here if it was already done.
15722 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15723 (_dl_aux_init): Use const in cast when setting it.
15724 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15725 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15726 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15728 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15730 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15731 * csu/libc-tls.c: Nor here.
15732 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15734 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15735 (__libc_message): Never call vsyslog.
15737 2013-03-28 Alan Modra <amodra@gmail.com>
15739 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15741 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15744 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15747 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15751 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15754 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15755 Don't add gid passed as argument.
15757 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15759 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15762 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15763 imaginary part between 1.0 and 1.5 and real part less than 0.5
15765 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15766 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15767 * math/libm-test.inc (cacos_test): Add more tests.
15768 (casin_test): Likewise.
15769 (casinh_test): Likewise.
15770 * sysdeps/i386/fpu/libm-test-ulps: Update.
15771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15773 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15775 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15778 (denorm): Likewise.
15779 (__dbl_mp): Likewise.
15780 (add_magnitudes): Likewise.
15781 (sub_magnitudes): Likewise.
15789 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15791 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15792 (__dubcos): Likewise.
15793 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15794 (__ieee754_acos): Likewise.
15795 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15796 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15797 (__exp1): Likewise.
15798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15801 (my_log2): Likewise.
15802 (checkint): Likewise.
15803 * sysdeps/ieee754/dbl-64/e_remainder.c
15804 (__ieee754_remainder): Likewise.
15805 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15807 (bsloww): Likewise.
15808 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15810 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15811 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15812 MANTISSA_STORE_T to store computations on mantissa. Use
15813 macros for rounding and division.
15814 (denorm): Likewise.
15815 (__dbl_mp): Likewise.
15816 (add_magnitudes): Likewise.
15817 (sub_magnitudes): Likewise.
15820 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15821 powers of two in terms of TWOPOW macro.
15822 (mp_no): Make type of mantissa as MANTISSA_T.
15823 [!RADIXI]: Define RADIXI.
15824 [!TWO52]: Define TWO52.
15825 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15827 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15829 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15830 llroundl symbol when building for PPC32.
15832 2013-03-24 Mark H Weaver <mhw@netris.org>
15834 * manual/arith.texi (Normalization Functions): Fix prototypes for
15835 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15837 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15841 high value to check if expl overflow.
15842 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15843 to check for underflow and overflow.
15844 * math/libm-test.inc: Add exp test.
15846 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15849 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15852 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15854 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15857 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15859 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15860 wrap blocks consisting of several statements.
15862 * sysdeps/generic/math-tests.h: New file.
15863 * sysdeps/i386/fpu/math-tests.h: Likewise.
15864 * math/test-snan.c: Include it.
15865 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15867 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15870 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15871 (__ieee754_j0l): Do not improve calculations using cos of twice
15872 input for inputs above LDBL_MAX / 2.0L.
15873 (__ieee754_y0l): Likewise.
15874 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15875 (__ieee754_j1l): Do not improve calculations using cos of twice
15876 input for inputs above LDBL_MAX / 2.0L.
15877 (__ieee754_y1l): Likewise.
15878 * math/libm-test.inc (j0_test): Add another test.
15879 (j1_test): Likewise.
15880 (y0_test): Likewise.
15881 (y1_test): Likewise.
15882 * sysdeps/i386/fpu/libm-test-ulps: Update.
15884 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15886 * Rules ($(objpfx)bench-%.c): Include code from a C source
15889 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15892 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15893 imaginary part 1.0 and real part less than 0.5 specially.
15894 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15895 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15896 * math/libm-test.inc (cacos_test): Add more tests.
15897 (casin_test): Likewise.
15898 (casinh_test): Likewise.
15899 * sysdeps/i386/fpu/libm-test-ulps: Update.
15900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15902 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15904 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15905 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15907 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15909 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15910 * config.make.in (config-cflags-sse4): Remove variable.
15911 (config-cflags-avx): Likewise.
15912 (config-cflags-sse2avx): Likewise.
15913 (config-cflags-novzeroupper): Likewise.
15914 (config-asflags-i686): Likewise.
15915 (have-mfma4): Likewise.
15916 (have-as-vis3): Likewise.
15918 * configure.in (MIG): Do not AC_SUBST.
15919 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15920 (libc_cv_cc_sse4): Do not AC_SUBST.
15921 (libc_cv_cc_avx): Likewise.
15922 (libc_cv_cc_sse2avx): Likewise.
15923 (libc_cv_cc_novzeroupper): Likewise.
15924 (libc_cv_cc_fma4): Likewise.
15925 (libc_cv_as_i686): Likewise.
15926 (libc_cv_sparc_as_vis3): Likewise.
15927 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15929 (config-asflags-i686): Likewise.
15930 (config-cflags-avx): Likewise.
15931 (config-cflags-sse2avx): Likewise.
15932 (have-mfma4): Likewise.
15933 (config-cflags-novzeroupper): Likewise.
15934 * sysdeps/mach/configure.in (MIG): Likewise.
15935 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15936 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15938 (config-cflags-avx): Likewise.
15939 (config-cflags-sse2avx): Likewise.
15940 (have-mfma4): Likewise.
15941 (config-cflags-novzeroupper): Likewise.
15942 * configure: Regenerated.
15943 * sysdeps/i386/configure: Likewise.
15944 * sysdeps/mach/configure: Likewise.
15945 * sysdeps/sparc/configure: Likewise.
15946 * sysdeps/x86_64/configure: Likewise.
15948 2013-03-20 Roland McGrath <roland@hack.frob.com>
15951 * locale/programs/localedef.c (options): Put N_ translation marker
15952 on argument names, not just descriptions.
15954 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15956 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15958 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15961 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15963 2013-03-19 Roland McGrath <roland@hack.frob.com>
15965 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15966 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15967 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15968 [!BEFORE_ABORT] (before_abort): New function.
15969 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15970 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15971 (writev_for_fatal): New function.
15972 (WRITEV_FOR_FATAL): New macro; call that.
15973 (backtrace_and_maps): New function.
15974 (BEFORE_ABORT): New macro; call that.
15975 (struct str_list): Type removed.
15976 (__libc_message, __libc_fatal): Functions removed.
15977 Include <sysdeps/posix/libc_fatal.c> instead.
15979 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15981 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15983 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15986 2013-03-19 Andreas Schwab <schwab@suse.de>
15988 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15989 * sysdeps/gnu/configure: Regenerate.
15991 * configure.in: Substitute libc_cv_rtlddir.
15992 * configure: Regenerate.
15993 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15994 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15995 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15996 * elf/Makefile (install-others, CFLAGS-interp.c)
15997 (ldso_install, common-ldd-rewrite): Likewise.
15998 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15999 $(inst_slibdir)/$(rtld-installed-name).
16000 * scripts/rellns-sh: Add -p option.
16001 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16004 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16006 * manual/nptl.texi: Renamed to ...
16007 * manual/threads.texi: ... this.
16008 * manual/Makefile (chapters): Update.
16010 2013-03-18 Roland McGrath <roland@hack.frob.com>
16013 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16014 on argument names, not just descriptions.
16015 * malloc/memusagestat.c (options): Likewise.
16016 * nss/getent.c (options): Likewise.
16018 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16021 * iconv/iconv_prog.c (options): Put N_ translation marker
16022 on argument names, not just descriptions.
16023 * iconv/iconvconfig.c (options): Likewise.
16025 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16027 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16028 implementation which is faster on all x86_64 architectures.
16029 Tested on AMD, Intel Nehalem, SNB, IVB.
16030 * sysdeps/x86_64/strnlen.S: Likewise.
16032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16033 Remove all multiarch strlen and strnlen versions.
16034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16035 Remove strlen and strnlen related parts.
16037 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16038 Inline strlen part.
16039 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16041 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16042 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16043 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16044 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16045 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16046 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16048 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16050 * manual/memory.texi (Malloc Tunable Parameters):
16051 Sort parameters alphabetically. Add comments for missing entries.
16053 2013-03-17 David S. Miller <davem@davemloft.net>
16055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16057 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16060 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16061 for arguments at most half maximum finite value.
16062 * math/libm-test.inc (j0_test): Add more tests.
16063 (j1_test): Likewise.
16064 (y0_test): Likewise.
16065 (y1_test): Likewise.
16066 * sysdeps/i386/fpu/libm-test-ulps: Update.
16067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16070 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16071 1 / x and functions P and Q for arguments above 0x1p256L.
16072 (__ieee754_y0l): Likewise.
16073 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16074 (__ieee754_y1l): Likewise.
16075 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16076 (j1_test): Likewise.
16077 (y0_test): Likewise.
16078 (y1_test): Likewise.
16080 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16082 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16085 2013-03-15 Roland McGrath <roland@hack.frob.com>
16087 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16088 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16089 zero since it's initialized to EXEC_PAGESIZE.
16091 * sysdeps/unix/sysv/linux/ldsodefs.h
16092 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16093 * sysdeps/generic/ldsodefs.h: ... here.
16095 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16097 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16099 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16101 * math/test-snan.c: Renamed from
16102 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16103 * math/Makefile (tests): Add test-snan.
16104 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16107 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16108 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16110 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16111 __builtin_nan family of functions.
16112 * math/libm-test.inc (initialize): Initialize qnan_value with
16113 __builtin_nan family of functions.
16114 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16116 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16118 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16119 storage class. Initialize qNaN_var and sNaN_var with
16120 __builtin_nan and __builtin_nans families of functions,
16123 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16124 (sqrt_test): Remove duplicate test with qNaN input.
16125 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16126 (round_test, signbit_test, significand_test): Note missing +/-Inf
16127 as well as qNaN tests.
16129 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16130 qNaN_var. Fix a few strings, too.
16131 * math/libm-test.inc (nan_value): Rename to qnan_value.
16132 * math/gen-libm-test.pl (%beautify): Adjust to that.
16133 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16134 * math/test-misc.c (main): Likewise.
16135 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16136 to __qnan_bytes, and __qnan_union, respectively.
16137 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16139 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16140 and lqnanval, respectively.
16141 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16142 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16143 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16144 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16146 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16147 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16150 * math/test-misc.c (main): Fix copy'n'pastos.
16151 * misc/tst-efgcvt.c (special): Likewise.
16153 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16154 Remove declarations.
16156 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16158 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16159 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16160 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16161 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16163 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16166 macro to return vdso values correctly in IFUNC implementations.
16167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16168 Optimization by using IFUNC.
16170 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16171 Richard Henderson <rth@redhat.com>
16172 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16174 * Makefile.in (bench): New target.
16175 * NEWS: Mention the benchmark framework.
16176 * Rules (bench): Likewise.
16177 (binaries-bench): Generate binaries for functions to
16179 * benchtests/Makefile: New makefile for benchmark tests.
16180 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16182 * benchtests/exp-inputs: New input file for EXP function.
16183 * benchtests/pow-inputs: New input file for POW function.
16184 * scripts/bench.pl: New script to generate source files for
16185 benchmark programs.
16187 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16189 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16191 computations on mantissa. Use macros for rounding and
16193 (denorm): Likewise.
16194 (__dbl_mp): Likewise.
16195 (add_magnitudes): Likewise.
16196 (sub_magnitudes): Likewise.
16199 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16200 powers of two in terms of TWOPOW macro.
16201 (mp_no): Make type of mantissa as MANTISSA_T.
16202 [!RADIXI]: Define RADIXI.
16203 [!TWO52]: Define TWO52.
16204 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16206 * manual/nptl.texi (cindex): Modify threads to pthreads.
16208 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16210 * sysdeps/x86_64/preconfigure: Regenerated.
16212 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16215 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16217 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16218 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16220 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16221 * math/libm-test.inc (j0_test): Do not allow one spurious
16222 underflow exception.
16223 (y1_test): Likewise.
16225 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16227 * manual/Makefile (chapters): Add nptl.
16228 * manual/debug.texi (Debugging Support): Add link to Threads
16230 * manual/nptl.texi: New file.
16232 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16234 2013-03-14 Petr Baudis <pasky@ucw.cz>
16236 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16237 for non-NULL pointer before the memory validity test. Pointed
16238 out by Holger Brunck <holger.brunck@keymile.com>.
16240 2013-03-13 Andreas Schwab <schwab@suse.de>
16242 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16245 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16247 * timezone/zic.c: Update from tzcode 2013b.
16249 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16251 * manual/install.texi (Configuring and compiling):
16252 Mention i686 and i586.
16253 * INSTALL: Regenerate.
16255 2013-03-12 Roland McGrath <roland@hack.frob.com>
16257 * sysdeps/init_array/elf-init.c: New file.
16259 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16260 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16262 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16263 __gmon_start__ as global, but as static with a .preinit_array pointer.
16264 * sysdeps/init_array/gmon-start.c: New file. Use that.
16265 * sysdeps/init_array/crti.S: New file, empty except for comments.
16266 * sysdeps/init_array/crtn.S: Likewise.
16268 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16270 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16273 Remove Prefer_SSE_for_memop.
16274 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16275 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16276 HAS_PREFER_SSE_FOR_MEMOP.
16277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16280 Remove bzero, memset ifunc support.
16281 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16282 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16283 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16284 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16286 2013-03-11 Andreas Schwab <schwab@suse.de>
16289 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16292 (GLIBC_2.16): Remove pthread_atfork.
16294 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16296 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16297 (ptestcases.h): Likewise.
16299 2013-03-08 Roland McGrath <roland@hack.frob.com>
16301 * Makeconfig ($(common-objpfx)config.status): Depend on
16302 sysdeps/*/preconfigure{,.in} too.
16304 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16306 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16307 (__free_hook): Use void * instead of __malloc_ptr_t.
16308 (__malloc_hook): Likewise.
16309 (__realloc_hook): Likewise.
16310 (__memalign_hook): Likewise.
16311 (__after_morecore_hook): Likewise.
16312 * malloc/arena.c (save_malloc_hook): Likewise.
16313 (save_free_hook): Likewise.
16314 * malloc/hooks.c (malloc_hook_ini): Likewise.
16315 (realloc_hook_ini): Likewise.
16316 (memalign_hook_ini): Likewise.
16317 * malloc/malloc.c (malloc_hook_ini): Likewise.
16318 (realloc_hook_ini): Likewise.
16319 (memalign_hook_ini): Likewise.
16320 (__free_hook): Likewise.
16321 (__malloc_hook): Likewise.
16322 (__realloc_hook): Likewise.
16323 (__memalign_hook): Likewise.
16324 (__libc_malloc): Likewise.
16325 (__libc_free): Likewise.
16326 (__libc_realloc): Likewise.
16327 (__libc_memalign): Likewise.
16328 (__libc_valloc): Likewise.
16329 (__libc_pvalloc): Likewise.
16330 (__libc_calloc): Likewise.
16331 (__posix_memalign): Likewise.
16332 * malloc/morecore.c (__sbrk): Likewise.
16333 (__default_morecore): Likewise.
16335 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16337 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16338 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16339 __malloc_ptrdiff_t.
16341 * malloc/malloc.h (__malloc_size_t): Remove macro.
16342 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16344 (old_memalign_hook): Likewise.
16345 (old_realloc_hook): Likewise.
16346 (struct hdr): Likewise.
16348 (mallochook): Likewise.
16349 (memalignhook): Likewise.
16350 (reallochook): Likewise.
16351 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16352 (tr_old_realloc_hook): Likewise.
16353 (tr_old_memalign_hook): Likewise.
16354 (tr_mallochook): Likewise.
16355 (tr_reallochook): Likewise.
16356 (tr_memalignhook): Likewise.
16358 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16361 default_ldbl_pack and using as default implementation.
16362 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16364 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16365 redundant definition.
16366 (ldbl_insert_mantissa): Likewise.
16367 (ldbl_canonicalize): Likewise.
16368 (ldbl_nearbyint): Likewise.
16369 (ldbl_pack): Rename to ldbl_pack_ppc.
16370 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16371 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16372 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16374 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16377 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16378 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16379 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16381 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16382 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16383 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16385 2013-03-07 Andreas Jaeger <aj@suse.de>
16387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16390 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16392 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16393 Include mpa.h and declare __MPEXP.
16394 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16395 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16396 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16397 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16398 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16399 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16400 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16402 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16403 (__slowpow): Use long double EXPL and LOGL functions to
16405 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16406 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16407 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16408 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16409 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16410 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16413 intermediate variable to calculate exponent.
16415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16419 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16420 [!NO__SQR]: Define __sqr.
16421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16422 and NO__SQR. Remove all code except __mul and __sqr. Include
16423 sysdeps/ieee754/dbl-64/mpa.c.
16424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16427 * posix/Makefile (tests): Add tst-pathconf.
16428 * posix/tst-pathconf.c: New test case.
16429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16431 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16433 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16435 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16437 2013-03-06 Andreas Jaeger <aj@suse.de>
16439 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16440 definition via __MAP_ANONYMOUS.
16442 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16443 it's not part of Linux headers.
16445 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16446 (MAP_HUGE_MASK): Define.
16448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16450 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16453 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16454 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16457 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16459 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16461 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16462 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16463 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16464 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16465 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16466 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16468 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16471 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16472 Handle f2fs and efivarfs.
16474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16477 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16478 (EFIVARFS_MAGIC): Add.
16479 (F2FS_LINK_MAX): Add.
16481 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16483 * stdio-common/vfprintf.c: Replace __builtin_expect with
16486 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16489 * sysdeps/generic/bp-sym.h: Remove file.
16490 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16491 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16492 <bp-sym.h> and <bp-asm.h>.
16493 (__longjmp): Don't use BP_SYM.
16494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16496 (memcpy): Don't use BP_SYM.
16497 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16498 <bp-sym.h> and <bp-asm.h>.
16499 (memcpy): Don't use BP_SYM.
16500 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16502 (memcpy): Don't use BP_SYM.
16503 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16505 (memset): Don't use BP_SYM.
16506 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16507 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16508 (__bzero): Don't use BP_SYM.
16509 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16510 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16511 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16512 <bp-sym.h> and <bp-asm.h>.
16513 (memcmp): Don't use BP_SYM. Remove comment about bounded
16515 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16516 <bp-sym.h> and <bp-asm.h>.
16517 (memcpy): Don't use BP_SYM.
16518 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16519 <bp-sym.h> and <bp-asm.h>.
16520 (memset): Don't use BP_SYM.
16521 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16522 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16523 (__bzero): Don't use BP_SYM.
16524 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16525 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16526 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16527 <bp-sym.h> and <bp-asm.h>.
16528 (strncmp): Don't use BP_SYM. Remove comment about bounded
16530 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16531 <bp-sym.h> and <bp-asm.h>.
16532 (memcpy): Don't use BP_SYM.
16533 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16534 <bp-sym.h> and <bp-asm.h>.
16535 (memset): Don't use BP_SYM.
16536 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16537 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16538 (__bzero): Don't use BP_SYM.
16539 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16540 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16541 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16542 <bp-sym.h> and <bp-asm.h>.
16543 (__memchr): Don't use BP_SYM.
16544 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16545 <bp-sym.h> and <bp-asm.h>.
16546 (memcmp): Don't use BP_SYM. Remove comment about bounded
16548 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16549 <bp-sym.h> and <bp-asm.h>.
16550 (memcpy): Don't use BP_SYM.
16551 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16552 <bp-sym.h> and <bp-asm.h>.
16553 (__mempcpy): Don't use BP_SYM.
16554 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16555 <bp-sym.h> and <bp-asm.h>.
16556 (__memrchr): Don't use BP_SYM.
16557 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16558 <bp-sym.h> and <bp-asm.h>.
16559 (memset): Don't use BP_SYM.
16560 (__bzero): Likewise.
16561 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16562 <bp-sym.h> and <bp-asm.h>.
16563 (__rawmemchr): Don't use BP_SYM.
16564 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16565 <bp-sym.h> and <bp-asm.h>.
16566 (__STRCMP): Don't use BP_SYM.
16567 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16568 <bp-sym.h> and <bp-asm.h>.
16569 (strchr): Don't use BP_SYM.
16570 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16571 <bp-sym.h> and <bp-asm.h>.
16572 (__strchrnul): Don't use BP_SYM.
16573 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16574 <bp-sym.h> and <bp-asm.h>.
16575 (strlen): Don't use BP_SYM.
16576 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16577 <bp-sym.h> and <bp-asm.h>.
16578 (strncmp): Don't use BP_SYM. Remove comment about bounded
16580 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16581 <bp-sym.h> and <bp-asm.h>.
16582 (__strnlen): Don't use BP_SYM.
16583 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16584 <bp-sym.h> and <bp-asm.h>.
16585 (__GI__setjmp): Don't use BP_SYM.
16586 (_setjmp): Likewise.
16587 (__sigsetjmp): Likewise.
16588 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16589 (L(start_addresses)): Don't use BP_SYM.
16590 (_start): Likewise.
16591 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16593 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16594 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16595 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16596 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16597 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16599 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16600 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16601 about bounded pointers.
16602 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16603 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16604 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16606 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16607 about bounded pointers. Remove GKM FIXME comments.
16608 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16609 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16611 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16612 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16613 Remove GKM FIXME comments.
16614 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16615 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16616 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16618 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16619 about bounded pointers. Remove GKM FIXME comment.
16620 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16622 (strncmp): Don't use BP_SYM. Remove comment about bounded
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16625 <bp-sym.h> and <bp-asm.h>.
16626 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16628 <bp-sym.h> and <bp-asm.h>.
16629 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16632 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16634 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16637 2013-03-05 David S. Miller <davem@davemloft.net>
16639 * po/es.po: Update from translation team.
16641 2013-03-05 Andreas Jaeger <aj@suse.de>
16643 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16644 <bits/mman-linux.h>.
16645 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16647 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16648 <bits/mman-linux.h> to end of file.
16649 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16651 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16652 <bits/mman-linux.h> to end of file.
16653 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16655 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16656 <bits/mman-linux.h> to end of file.
16658 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16659 (MCL_CURRENT, MCL_FUTURE): Define here.
16661 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16664 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16666 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16668 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16670 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16671 fourth parameter needed for rt_sigprocmask syscall.
16672 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16673 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16674 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16675 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16676 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16677 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16679 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16682 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16683 comment about bounded pointers.
16684 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16685 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16687 2013-03-04 Andreas Jaeger <aj@suse.de>
16689 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16690 common definitions.
16692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16693 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16694 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16696 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16697 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16699 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16703 __ieee754_sqrl instead of __sqrl.
16705 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16707 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16708 * sysdeps/powerpc/fpu_control.h: ... here.
16709 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16710 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16711 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16712 * sysdeps/powerpc/bits/mathinline.h: ... here.
16714 2013-03-01 Roland McGrath <roland@hack.frob.com>
16716 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16717 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16718 to just [NEED_DL_SYSINFO_DSO].
16719 * elf/dl-support.c: Likewise.
16720 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16721 * elf/rtld.c (dl_main): Likewise.
16722 * elf/setup-vdso.h (setup_vdso): Likewise.
16723 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16724 * sysdeps/unix/sysv/linux/dl-sysdep.c
16725 (_dl_discover_osversion): Likewise.
16727 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16729 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16730 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16732 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16734 * NEWS: Mention libm performance improvements and non-x86 PI
16737 * csu/libc-start.c (__pthread_initialize_minimal): Change
16738 function arguments.
16739 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16741 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16744 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16745 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16746 <bp-sym.h> and <bp-asm.h>.
16747 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16748 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16750 (memcpy): Don't use BP_SYM.
16751 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16753 (__mpn_add_n): Don't use BP_SYM.
16754 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16755 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16757 (__mpn_addmul_1): Don't use BP_SYM.
16758 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16759 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16761 (_setjmp): Don't use BP_SYM.
16762 (__novmx_setjmp): Likewise.
16763 (__GI__setjmp): Likewise.
16764 (__vmx_setjmp): Likewise.
16765 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16767 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16768 (__bzero): Don't use BP_SYM.
16769 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16770 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16771 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16772 <bp-sym.h> and <bp-asm.h>.
16773 (memcpy): Don't use BP_SYM.
16774 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16775 <bp-sym.h> and <bp-asm.h>.
16776 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16777 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16778 <bp-sym.h> and <bp-asm.h>.
16779 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16780 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16782 (__mpn_lshift): Don't use BP_SYM.
16783 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16784 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16786 (memset): Don't use BP_SYM.
16787 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16788 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16789 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16791 (__mpn_mul_1): Don't use BP_SYM.
16792 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16793 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16794 <bp-sym.h> and <bp-asm.h>.
16795 (memcmp): Don't use BP_SYM.
16796 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16797 <bp-sym.h> and <bp-asm.h>.
16798 (memcpy): Don't use BP_SYM.
16799 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16800 <bp-sym.h> and <bp-asm.h>.
16801 (memset): Don't use BP_SYM.
16802 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16803 <bp-sym.h> and <bp-asm.h>.
16804 (strncmp): Don't use BP_SYM.
16805 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16806 <bp-sym.h> and <bp-asm.h>.
16807 (memcpy): Don't use BP_SYM.
16808 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (memset): Don't use BP_SYM.
16811 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16812 <bp-sym.h> and <bp-asm.h>.
16813 (__memchr): Don't use BP_SYM.
16814 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16815 <bp-sym.h> and <bp-asm.h>.
16816 (memcmp): Don't use BP_SYM.
16817 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16818 <bp-sym.h> and <bp-asm.h>.
16819 (memcpy): Don't use BP_SYM.
16820 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16821 <bp-sym.h> and <bp-asm.h>.
16822 (__mempcpy): Don't use BP_SYM.
16823 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (__memrchr): Don't use BP_SYM.
16826 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16827 <bp-sym.h> and <bp-asm.h>.
16828 (memset): Don't use BP_SYM.
16829 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16830 <bp-sym.h> and <bp-asm.h>.
16831 (__rawmemchr): Don't use BP_SYM.
16832 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16833 <bp-sym.h> and <bp-asm.h>.
16834 (__STRCMP): Don't use BP_SYM.
16835 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16836 <bp-sym.h> and <bp-asm.h>.
16837 (strchr): Don't use BP_SYM.
16838 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16839 <bp-sym.h> and <bp-asm.h>.
16840 (__strchrnul): Don't use BP_SYM.
16841 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16842 <bp-sym.h> and <bp-asm.h>.
16843 (strlen): Don't use BP_SYM.
16844 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16845 <bp-sym.h> and <bp-asm.h>.
16846 (strncmp): Don't use BP_SYM.
16847 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16848 <bp-sym.h> and <bp-asm.h>.
16849 (__strnlen): Don't use BP_SYM.
16850 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16852 (__mpn_rshift): Don't use BP_SYM.
16853 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16854 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__sigsetjmp): Don't use BP_SYM.
16857 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16858 (L(start_addresses)): Don't use BP_SYM.
16859 (_start): Likewise.
16860 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16862 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16863 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16864 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16865 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16867 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16868 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16869 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16870 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16872 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16874 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16875 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16877 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16879 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16880 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16881 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16883 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16885 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16887 (strncmp): Don't use BP_SYM,
16888 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16890 (__mpn_sub_n): Don't use BP_SYM.
16891 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16892 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16894 (__mpn_submul_1): Don't use BP_SYM.
16895 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16897 <bp-sym.h> and <bp-asm.h>.
16898 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16900 <bp-sym.h> and <bp-asm.h>.
16901 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16904 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16907 Use ZK to minimize writes to Z.
16908 (sub_magnitudes): Simplify code a bit.
16909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16910 Use ZK to minimize writes to Z.
16911 (sub_magnitudes): Simplify code a bit.
16913 2013-02-27 Roland McGrath <roland@hack.frob.com>
16915 * csu/gmon-start.c: Add special exception to license text.
16917 2013-02-27 Richard Henderson <rth@redhat.com>
16919 * scripts/config.guess: Update from config.git.
16920 * scripts/config.sub: Likewise.
16922 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16924 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16926 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16928 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16930 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16932 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16934 2013-02-26 Roland McGrath <roland@hack.frob.com>
16936 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16937 [$(build-shared = yes].
16939 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16941 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16942 (__mul): Reduce iterations for calculating mantissa.
16944 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16946 (__mpranred): Likewise.
16949 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16950 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16952 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16954 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16955 Define __attribute__.
16957 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16959 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16961 * posix/regex_internal.h (__attribute): Remove.
16962 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16963 (re_string_context_at): Likewise.
16964 (bitset_not): Use __attribute__ and mark function as possibly
16966 (bitset_merge): Likewise.
16967 (bitset_mask): Likewise.
16968 (re_string_char_size_at): Likewise.
16969 (re_string_wchar_at): Likewise.
16970 (re_string_elem_size_at): Likewise.
16972 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16974 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16978 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16982 (denorm): Likewise.
16983 (__dbl_mp): Likewise.
16984 (add_magnitudes): Likewise.
16985 (sub_magnitudes): Likewise.
16989 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16992 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16995 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16999 up changes with default code.
17000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17003 2013-02-24 Allan McRae <allan@archlinux.org>
17005 * manual/socket.texi (The Internet Namespace): Order menu items
17006 to match that in the file.
17008 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17009 node listing of the info page menu.
17011 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17014 * sysdeps/i386/bp-asm.h: Remove file.
17015 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17016 (PARMS): Do not use macros from bp-asm.h.
17020 (__mpn_add_n): Do not use BP_SYM
17021 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17023 (PARMS): Do not use macros from bp-asm.h.
17026 (__mpn_addmul_1): Do not use BP_SYM
17027 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17029 (PARMS): Do not use macros from bp-asm.h.
17030 (SIGMSK): Likewise.
17031 (_setjmp): Likewise. Do not use BP_SYM.
17032 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17034 (PARMS): Do not use macros from bp-asm.h.
17035 (SIGMSK): Likewise.
17036 (setjmp): Likewise. Do not use BP_SYM.
17037 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17039 (PARMS): Do not use macros from bp-asm.h.
17040 (__frexp): Do not use BP_SYM.
17042 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17044 (PARMS): Do not use macros from bp-asm.h.
17045 (__frexpf): Do not use BP_SYM.
17046 (frexpf): Likewise.
17047 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17049 (PARMS): Do not use macros from bp-asm.h.
17050 (__frexpl): Do not use BP_SYM.
17051 (frexpl): Likewise.
17052 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17054 (PARMS): Do not use macros from bp-asm.h.
17055 (__remquo): Do not use BP_SYM.
17056 (remquo): Likewise.
17057 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17059 (PARMS): Do not use macros from bp-asm.h.
17060 (__remquof): Do not use BP_SYM.
17061 (remquof): Likewise.
17062 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17064 (PARMS): Do not use macros from bp-asm.h.
17065 (__remquol): Do not use BP_SYM.
17066 (remquol): Likewise.
17067 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17069 (PARMS): Do not use macros from bp-asm.h.
17072 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17073 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17075 (PARMS): Do not use macros from bp-asm.h.
17076 (strlen): Do not use BP_SYM.
17077 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17079 (PARMS): Do not use macros from bp-asm.h.
17083 (__mpn_add_n): Do not use BP_SYM.
17084 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17086 (PARMS): Do not use macros from bp-asm.h.
17089 (__mpn_addmul_1): Do not use BP_SYM.
17090 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17093 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17095 (PARMS): Do not use macros from bp-asm.h.
17098 (__mpn_lshift): Do not use BP_SYM.
17099 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17101 (PARMS): Do not use macros from bp-asm.h.
17105 (memcpy): Likewise. Do not use BP_SYM.
17106 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17107 libc_hidden_def and weak_alias.
17108 (mempcpy): Do not use BP_SYM in weak_alias.
17109 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17111 (PARMS): Do not use macros from bp-asm.h.
17114 [!BZERO_P] (CHR): Likewise.
17115 (memset): Likewise. Do not use BP_SYM.
17116 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17118 (PARMS): Do not use macros from bp-asm.h.
17121 (__mpn_mul_1): Do not use BP_SYM.
17122 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17124 (PARMS): Do not use macros from bp-asm.h.
17127 (__mpn_rshift): Do not use BP_SYM.
17128 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17130 (PARMS): Do not use macros from bp-asm.h.
17133 (strchr): Likewise. Do not use BP_SYM.
17134 (index): Do not use BP_SYM in weak_alias.
17135 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17137 (PARMS): Do not use macros from bp-asm.h.
17140 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17141 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17143 (PARMS): Do not use macros from bp-asm.h.
17144 (strlen): Do not use BP_SYM.
17145 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17147 (PARMS): Do not use macros from bp-asm.h.
17151 (__mpn_sub_n): Do not use BP_SYM.
17152 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17154 (PARMS): Do not use macros from bp-asm.h.
17157 (__mpn_submul_1): Do not use BP_SYM.
17158 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17160 (PARMS): Do not use macros from bp-asm.h.
17164 (__mpn_add_n): Do not use BP_SYM.
17165 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17168 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17170 (PARMS): Do not use macros from bp-asm.h.
17173 (memcmp): Do not use BP_SYM.
17174 (bcmp): Do not use BP_SYM in weak_alias.
17175 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17177 (PARMS): Do not use macros from bp-asm.h.
17181 (memcpy): Likewise. Do not use BP_SYM.
17182 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17184 (PARMS): Do not use macros from bp-asm.h.
17188 (memmove): Likewise. Do not use BP_SYM.
17189 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17191 (PARMS): Do not use macros from bp-asm.h.
17195 (__mempcpy): Likewise. Do not use BP_SYM.
17196 (mempcpy): Do not use BP_SYM in weak_alias.
17197 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17199 (PARMS): Do not use macros from bp-asm.h.
17202 [!BZERO_P] (CHR): Likewise.
17203 (memset): Likewise. Do not use BP_SYM.
17204 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17206 (PARMS): Do not use macros from bp-asm.h.
17208 (strcmp): Do not use BP_SYM.
17209 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17211 (PARMS): Do not use macros from bp-asm.h.
17214 [USE_AS_STRTOK_R] (SAVE): Likewise.
17215 (FUNCTION): Likewise. Do not use BP_SYM.
17216 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17218 (strtok_r): Likewise.
17219 (__GI___strtok_r): Likewise.
17220 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17221 (PARMS): Do not use macros from bp-asm.h.
17224 (__mpn_lshift): Do not use BP_SYM.
17225 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17226 (PARMS): Do not use macros from bp-asm.h.
17229 (__memchr): Do not use BP_SYM.
17230 (memchr): Do not use BP_SYM in weak_alias.
17231 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17232 (PARMS): Do not use macros from bp-asm.h.
17235 (memcmp): Do not use BP_SYM.
17236 (bcmp): Do not use BP_SYM in weak_alias.
17237 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17238 (PARMS): Do not use macros from bp-asm.h.
17241 (__mpn_mul_1): Do not use BP_SYM.
17242 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17244 (PARMS): Do not use macros from bp-asm.h.
17247 (__rawmemchr): Do not use BP_SYM.
17248 (rawmemchr): Do not use BP_SYM in weak_alias.
17249 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17250 (PARMS): Do not use macros from bp-asm.h.
17253 (__mpn_rshift): Do not use BP_SYM.
17254 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17255 (PARMS): Do not use macros from bp-asm.h.
17256 (SIGMSK): Likewise.
17257 (__sigsetjmp): Likewise. Do not use BP_SYM.
17258 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17259 (_start): Do not use BP_SYM.
17260 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17261 (PARMS): Do not use macros from bp-asm.h.
17264 (__stpcpy): Likewise. Do not use BP_SYM.
17265 (stpcpy): Do not use BP_SYM in weak_alias.
17266 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17268 (PARMS): Do not use macros from bp-asm.h.
17272 (__stpncpy): Likewise. Do not use BP_SYM.
17273 (stpncpy): Do not use BP_SYM in weak_alias.
17274 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17275 (PARMS): Do not use macros from bp-asm.h.
17278 (strchr): Likewise. Do not use BP_SYM.
17279 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17281 (PARMS): Do not use macros from bp-asm.h.
17284 (__strchrnul): Likewise. Do not use BP_SYM.
17285 (strchrnul): Do not use BP_SYM in weak_alias.
17286 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17288 (PARMS): Do not use macros from bp-asm.h.
17290 (strcspn): Do not use BP_SYM.
17291 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17293 (PARMS): Do not use macros from bp-asm.h.
17296 (strpbrk): Likewise. Do not use BP_SYM.
17297 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17299 (PARMS): Do not use macros from bp-asm.h.
17302 (strrchr): Likewise. Do not use BP_SYM.
17303 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17304 (PARMS): Do not use macros from bp-asm.h.
17306 (strspn): Do not use BP_SYM.
17307 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17308 (PARMS): Do not use macros from bp-asm.h.
17312 (FUNCTION): Likewise. Do not use BP_SYM.
17313 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17315 (strtok_r): Likewise.
17316 (__GI___strtok_r): Likewise.
17317 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17318 (PARMS): Do not use macros from bp-asm.h.
17322 (__mpn_sub_n): Do not use BP_SYM.
17323 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17325 (PARMS): Do not use macros from bp-asm.h.
17328 (__mpn_submul_1): Do not use BP_SYM.
17329 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17331 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17333 (PARMS): Do not use macros from bp-asm.h.
17338 (__clone): Do not use BP_SYM.
17339 (clone): Do not use BP_SYM in weak_alias.
17340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17342 (PARMS): Do not use macros from bp-asm.h.
17344 (__mmap64): Do not use BP_SYM.
17345 (mmap64): Do not use BP_SYM in weak_alias.
17346 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17347 <bp-sym.h> and <bp-asm.h>.
17348 (PARMS): Do not use macros from bp-asm.h.
17349 (__posix_fadvise64_l64): Do not use BP_SYM.
17350 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17351 (PARMS): Do not use macros from bp-asm.h.
17353 (semtimedop): Do not use BP_SYM.
17354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17357 2013-02-21 Allan McRae <allan@archlinux.org>
17359 * manual/message.texi (Charset conversion in gettext):
17360 Move @end statement to beginning of line.
17362 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17369 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17370 (denorm): Likewise.
17371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17374 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17376 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17377 tail-call to the resolved function if pltexit isn't needed.
17379 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17382 or Y being zero as being unlikely.
17383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17386 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17388 * manual/nss.texi (System Databases and Name Service Switch):
17389 Remove frobnicate @pxref.
17391 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17393 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17394 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17396 2013-02-20 Petr Machata <pmachata@redhat.com>
17398 * elf/elf.h (R_ARM_TARGET1): New macro.
17399 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17400 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17401 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17402 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17403 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17404 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17405 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17406 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17407 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17408 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17409 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17410 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17411 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17412 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17413 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17414 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17415 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17416 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17417 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17418 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17419 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17420 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17421 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17422 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17423 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17424 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17425 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17426 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17427 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17428 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17429 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17430 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17431 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17432 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17433 (R_ARM_THM_GOT_BREL12): Likewise.
17434 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17435 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17436 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17437 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17438 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17439 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17440 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17441 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17442 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17444 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17446 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17447 __attribute_used__ to __attribute__ ((unused)).
17449 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17451 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17454 comment formatting.
17455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17457 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17460 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17462 (ENTER): Remove both macro definitions.
17464 (CHECK_BOUNDS_LOW): Likewise.
17465 (CHECK_BOUNDS_HIGH): Likewise.
17466 (CHECK_BOUNDS_BOTH): Likewise.
17467 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17468 (RETURN_BOUNDED_POINTER): Likewise.
17469 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17470 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17471 (POP_ERRNO_LOCATION_RETURN): Likewise.
17472 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17473 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17474 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17476 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17477 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17478 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17479 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17480 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17481 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17482 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17483 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17484 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17485 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17486 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17487 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17488 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17489 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17491 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17492 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17494 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17495 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17496 * sysdeps/i386/i586/memset.S (memset): Likewise.
17497 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17498 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17499 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17501 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17502 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17503 Change uses of L(2) to L(out).
17504 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17505 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17506 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17507 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17508 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17510 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17511 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17513 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17514 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17515 (RETURN): Do not use macro LEAVE.
17516 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17517 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17518 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17519 * sysdeps/i386/i686/memset.S (memset): Likewise.
17520 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17521 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17522 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17523 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17525 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17526 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17527 L(1_2) and L(1_3) into L(1).
17528 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17529 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17530 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17531 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17532 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17533 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17534 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17535 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17536 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17538 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17539 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17540 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17541 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17542 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17543 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17544 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17545 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17546 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17547 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17548 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17549 * sysdeps/i386/strspn.S (strspn): Likewise.
17550 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17552 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17553 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17554 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17555 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17556 L(1_3) into L(1_1).
17557 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17558 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17559 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17561 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17563 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17565 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17568 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17570 * math/atest-exp.c (exp_mpn): Remove ROUND.
17571 * math/atest-exp2.c (exp_mpn): Likewise.
17572 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17574 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17575 * stdlib/tst-tls-atexit-lib.c: Likewise.
17576 * stdlib/tst-tls-atexit.c: Likewise.
17578 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17580 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17581 and __attribute_alloc_size__.
17583 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17585 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17586 __attribute_alloc_size__.
17587 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17588 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17590 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17592 * include/programs/xmalloc.h: New file.
17593 * catgets/gencat.c: Include it.
17594 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17595 * elf/pldd.c: Likewise.
17596 * iconv/iconv_charmap.c: Likewise.
17597 * iconv/iconvconfig.c: Likewise.
17598 * iconv/strtab.c: Likewise.
17599 * locale/programs/locale.c: Likewise.
17600 * locale/programs/localedef.h: Likewise.
17601 * locale/programs/simple-hash.c: Likewise.
17602 * nscd/nscd.h: Likewise.
17603 * nss/makedb.c: Likewise.
17604 * sysdeps/generic/ldconfig.h: Likewise.
17606 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17608 * Versions.def: Add GLIBC_2.18.
17609 * include/link.h (struct link_map): New member l_tls_dtor_count.
17610 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17611 (__call_tls_dtors): Likewise.
17612 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17613 __cxa_thread_atexit_impl.
17614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17630 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17631 (tests): Add test case tst-tls-atexit.
17632 (modules-names): Add shared library for tst-tls-atexit.
17633 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17634 (GLIBC_PRIVATE): Add __call_tls_dtors.
17635 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17637 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17638 * stdlib/tst-tls-atexit.c: New test case.
17639 * stdlib/tst-tls-atexit-lib.c: New test case.
17641 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17643 * elf/Versions (ld): Add _dl_find_dso_for_object.
17644 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17645 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17646 (dl_open_worker): Use _dl_find_dso_for_object.
17647 * elf/dl-sym.c (do_sym): Likewise.
17648 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17650 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17652 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17653 Syntactic changes only.
17654 (_dl_runtime_profile): Do a tail-call to the resolved function.
17656 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17659 * sysdeps/x86_64/bp-asm.h: Remove file.
17660 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17661 <bp-sym.h> and <bp-asm.h>.
17662 (__clone): Do not use BP_SYM.
17663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17664 <bp-sym.h> and <bp-asm.h>.
17665 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17666 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17668 (_setjmp): Do not use BP_SYM.
17669 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17671 (setjmp): Do not use BP_SYM.
17672 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17674 (mempcpy): Do not use BP_SYM in weak_alias.
17675 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17677 (strchr): Do not use BP_SYM.
17678 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17680 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17681 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17682 (_start): Do not use BP_SYM.
17683 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17685 (strcat): Do not use BP_SYM.
17686 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17688 (STRCMP): Do not use BP_SYM.
17689 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17691 (STRCPY): Do not use BP_SYM.
17692 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17694 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17696 (FUNCTION): Do not use BP_SYM.
17697 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17699 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17701 2013-02-17 Andreas Jaeger <aj@suse.de>
17703 * time/Versions: Sort entries.
17704 * string/Versions: Likewise.
17705 * resolv/Versions: Likewise.
17706 * posix/Versions: Likewise.
17707 * iconv/Versions: Likewise.
17708 * elf/Versions: Likewise.
17709 * wcsmbs/Versions: Likewise.
17711 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17713 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17714 loop termination condition.
17716 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17717 variable to calculate EZ.
17720 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17721 the lower precision input.
17723 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17726 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17727 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17728 (run-via-rtld-prefix): Do not handle %-bp tests.
17729 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17730 (all-object-suffixes): Remove .ob.
17731 (bppfx): Remove variable.
17732 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17733 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17734 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17735 [$(build-bounded) = yes] (libtype.ob): Likewise.
17736 * Makerules (elide-routines.ob): Remove variable.
17737 (do-tests-clean): Do not handle *-bp.out.
17738 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17739 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17740 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17741 (tests): Do not include $(tests-bp.out).
17742 (xtests): Do not include $(xtests-bp.out).
17743 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17744 [$(build-bounded) = yes] ($(addprefix
17745 $(objpfx),$(binaries-bounded))): Remove rule.
17746 ($(objpfx)%-bp.out): Remove rule.
17747 * config.make.in (build-bounded): Remove variable.
17748 * crypt/Makefile [$(build-bounded) = yes]
17749 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17750 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17751 append to variable.
17752 [$(build-bounded) = yes] (install-lib): Likewise.
17753 [$(build-bounded) = yes] (generated): Likewise.
17754 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17756 * intl/Makefile [$(build-bounded) = yes]
17757 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17758 * math/Makefile [$(build-bounded) = yes]
17759 ($(tests:%=$(objpfx)%-bp): Likewise.
17760 * misc/Makefile [$(build-bounded) = yes]
17761 ($(objpfx)tst-tsearch-bp): Likewise.
17762 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17763 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17765 * string/Makefile (o-objects.ob): Remove variable.
17766 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17767 (CFLAGS-.ob): Remove variable.
17768 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17769 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17770 both definitions of variable.
17771 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17772 (ASFLAGS-.ob): Remove variable.
17774 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17777 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17778 Remove __BOUNDED_POINTERS__ from condition.
17779 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17780 * string/bits/string2.h [!__NO_STRING_INLINES &&
17781 !__BOUNDED_POINTERS__]: Likewise.
17782 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17784 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17785 Remove conditional code.
17786 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17787 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17788 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17792 * csu/libc-start.c: Do not include <bp-sym.h>.
17793 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17794 * elf/dl-open.c: Do not include <bp-sym.h>.
17795 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17796 * math/fegetenv.c: Do not include <bp-sym.h>.
17797 (fegetenv): Do not use BP_SYM in versioned symbols.
17798 * nptl/sysdeps/pthread/bits/libc-lockP.h
17799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17802 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17804 (__pthread_mutex_destroy): Likewise.
17805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17806 (__pthread_mutex_lock): Likewise.
17807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17808 (__pthread_mutex_trylock): Likewise.
17809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17810 (__pthread_mutex_unlock): Likewise.
17811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17812 (__pthread_mutexattr_init): Likewise.
17813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17814 (__pthread_mutexattr_destroy): Likewise.
17815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17816 (__pthread_mutexattr_settype): Likewise.
17817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17818 (__pthread_rwlock_init): Likewise.
17819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17820 (__pthread_rwlock_destroy): Likewise.
17821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17822 (__pthread_rwlock_rdlock): Likewise.
17823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17824 (__pthread_rwlock_tryrdlock): Likewise.
17825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17826 (__pthread_rwlock_wrlock): Likewise.
17827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17828 (__pthread_rwlock_trywrlock): Likewise.
17829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17830 (__pthread_rwlock_unlock): Likewise.
17831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17832 (__pthread_key_create): Likewise.
17833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17834 (__pthread_setspecific): Likewise.
17835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17836 (__pthread_getspecific): Likewise.
17837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17840 (_pthread_cleanup_push_defer): Likewise.
17841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17842 (_pthread_cleanup_pop_restore): Likewise.
17843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17844 (pthread_setcancelstate): Likewise.
17845 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17847 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17848 (memchr): Do not use BP_SYM in weak_alias.
17849 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17850 (fegetenv): Do not use BP_SYM in versioned symbols.
17851 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17852 (fesetenv): Do not use BP_SYM in versioned symbols.
17853 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17854 (feupdateenv): Do not use BP_SYM in versioned symbols.
17855 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17856 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17857 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17858 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17859 (open64): Do not use BP_SYM in weak_alias.
17860 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17861 (fegetenv): Do not use BP_SYM in versioned symbols.
17862 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17863 (fesetenv): Do not use BP_SYM in versioned symbols.
17864 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17865 (feupdateenv): Do not use BP_SYM in versioned symbols.
17866 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17867 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17868 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17869 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17870 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17871 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17872 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17874 (__libc_start_main): Do not use BP_SYM.
17876 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17879 redundant return line.
17881 (denorm): Likewise.
17882 (dbl_mp): Likewise.
17883 (sub_magnitudes): Likewise.
17889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17891 (denorm): Likewise.
17892 (dbl_mp): Likewise.
17893 (sub_magnitudes): Likewise.
17900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17902 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17903 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17906 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17907 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17909 of __mul for squares.
17910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17914 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17915 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17917 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17920 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17922 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17923 prototype or function definition. Rename ubp_* variables and
17924 parameters. Remove argv definitions conditional on
17925 [__BOUNDED_POINTERS__].
17926 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17927 * elf/dl-runtime.c (_dl_fixup): Likewise.
17928 * include/set-hooks.h (RUN_HOOK): Likewise.
17929 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17931 * string/strcpy.c (strcpy): Do not use __unbounded.
17932 * sysdeps/generic/frame.h (struct layout): Likewise.
17933 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17934 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17935 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17936 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17937 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17938 (__backtrace): Likewise.
17939 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17941 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17942 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17943 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17945 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17946 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17947 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17948 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17949 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17950 Do not use __unbounded.
17951 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17952 Rename __unboundedrlimits parameter to rlimits in prototype.
17953 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17954 Do not use __unbounded.
17955 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17956 not use __ptrvalue.
17957 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17958 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17959 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17960 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17961 __ptrvalue or __unbounded.
17962 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17963 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17965 (__new_msgctl): Do not use __ptrvalue.
17966 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17968 (__libc_msgrcv): Do not use __ptrvalue.
17969 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17970 startup_info): Do not use __unbounded.
17971 (__libc_start_main): Likewise. Rename ubp_* variables and
17972 parameters. Remove argv definitions conditional on
17973 [__BOUNDED_POINTERS__].
17974 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17976 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17978 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17980 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17982 (__new_shmctl): Do not use __ptrvalue.
17983 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17984 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17986 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17987 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17988 (__libc_sigaction): Likewise.
17989 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17990 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17992 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17994 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17996 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17998 * string/mempcpy.c: Implement by calling memcpy.
18000 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18008 values in the mantissa.
18010 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18011 minimize writes to Z.
18012 (sub_magnitudes): Simplify code a bit.
18014 2013-02-12 Roland McGrath <roland@hack.frob.com>
18016 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18017 from the message. The linker prefixes all warnings with that already.
18019 2013-02-12 Andreas Schwab <schwab@suse.de>
18022 * posix/regexec.c (extend_buffers): Add parameter min_len.
18023 (check_matching): Pass minimum needed length.
18024 (clean_state_log_if_needed): Likewise.
18025 (get_subexp): Likewise.
18026 * posix/Makefile (tests): Add bug-regex34.
18027 (bug-regex34-ENV): Define.
18028 * posix/bug-regex34.c: New file.
18031 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18032 elements compare against the byte sequence of it, not its name.
18033 * posix/Makefile (tests): Add bug-regex35.
18034 (bug-regex35-ENV): Define.
18035 * posix/bug-regex35.c: New file.
18037 2013-02-11 Tom de Vries <tom@codesourcery.com>
18039 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18041 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18042 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18043 (CHECK_EOL): Add undef.
18045 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18047 * bits/stdlib-bsearch.h: New file.
18048 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18049 * stdlib/stdlib.h: Likewise.
18051 2013-02-11 Roland McGrath <roland@hack.frob.com>
18053 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18054 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18056 * manual/search.texi (Array Search Function): Add missing const in
18058 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18059 declaration to use rlim_t.
18060 (Basic Scheduling Functions): Remove erroneous const from
18061 sched_getparam prototype. Remove erroneous * from
18062 sched_get_priority_max and sched_get_priority_min prototypes.
18063 (Resource Usage): Fix summary @comment on vtimes to refer to
18064 sys/vtimes.h rather than vtimes.h.
18065 Add missing *s in vtimes prototype.
18066 (Limits on Resources): Fix ulimit prototype to return long int.
18067 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18068 prototypes to use long int rather than double.
18069 (BSD Random): Fix initstate and setstate to use char *, not void *.
18070 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18071 prototype to make second argument 'struct aiocb64 *const[]'.
18072 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18073 (Status of AIO Operations): Remove erroneous const in aio_return and
18074 aio_return64 prototypes.
18075 (Synchronizing I/O): Fix sync prototype to return void.
18076 * manual/startup.texi (Suboptions): Remove an erroneous const in
18077 getsubopt prototype.
18078 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18079 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18080 use size_t rather than int.
18081 (Scanning All Users): Likewise for getpwent_r.
18082 (Setting Groups): Add missing const to setgroups prototype.
18083 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18084 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18085 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18086 'const void *' rather than 'const char *'.
18087 (Host Address Functions): Likewise for inet_ntop.
18088 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18089 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18090 ssize_t for return value.
18091 (Sending Data): Likewise for send, sendto, sendmsg.
18092 (Socket Option Functions): Add a missing const in setsockopt prototype.
18093 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18094 use wchar_t for the argument.
18095 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18096 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18098 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18099 double/float/long double for second argument.
18100 Fix return types of significand, significandf, significandl.
18101 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18102 argument in fchmod prototype.
18103 (File Owner): Use uid_t and gid_t in fchown prototype.
18104 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18105 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18106 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18107 use 'const struct dirent **' as argument types to CMP function pointer
18109 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18110 (File Times): Fix summary magic @comment for struct utimbuf and utime
18111 to refer to utime.h, not time.h.
18112 * manual/string.texi (Argz Functions): Add missing const in
18113 argz_extract and argz_next prototypes.
18114 (Finding Tokens in a String): Likewise for basename.
18115 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18116 (Copying and Concatenation): Fix typo in wmemmove prototype.
18117 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18118 (Signal Stack): Remove erroneous const in sigstack prototype.
18119 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18121 (Simple Calendar Time): Likewise for stime.
18122 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18124 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18125 say sys/sysctl.h instead.
18126 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18127 and vsyslog prototypes.
18129 2013-02-11 Tom de Vries <tom@codesourcery.com>
18131 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18134 2013-02-11 Roland McGrath <roland@hack.frob.com>
18136 * misc/sys/mman.h: Fix typo in mremap comment.
18138 2013-02-08 Roland McGrath <roland@hack.frob.com>
18140 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18141 the '\0' terminator.
18143 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18146 * debug/segfault.c: Don't include <bp-checks.h>.
18147 * sysdeps/generic/bp-checks.h: Remove file.
18148 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18149 (__GETDENTS): Don't use CHECK_N.
18150 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18151 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18152 (__getgroups): Don't use CHECK_N.
18153 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18154 (setgroups): Don't use CHECK_N.
18155 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18156 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18157 (__libc_msgrcv): Don't use CHECK_N.
18158 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18159 (__libc_msgsnd): Don't use CHECK_N.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18162 (__libc_pread): Don't use CHECK_N.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18164 include <bp-checks.h>.
18165 (__libc_pread64): Don't use CHECK_N.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18167 include <bp-checks.h>.
18168 (__libc_pwrite): Don't use CHECK_N.
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18170 include <bp-checks.h>.
18171 (__libc_pwrite64): Don't use CHECK_N.
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18174 (__libc_pread): Don't use CHECK_N.
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18176 include <bp-checks.h>.
18177 (__libc_pread64): Don't use CHECK_N.
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18179 include <bp-checks.h>.
18180 (__libc_pwrite): Don't use CHECK_N.
18181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18182 include <bp-checks.h>.
18183 (__libc_pwrite64): Don't use CHECK_N.
18184 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18185 (do_pread): Don't use CHECK_N.
18186 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18187 (do_pread64): Don't use CHECK_N.
18188 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18189 (do_pwrite): Don't use CHECK_N.
18190 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18191 (do_pwrite64): Don't use CHECK_N.
18192 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18193 (__libc_readv): Don't use CHECK_N.
18194 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18195 (semop): Don't use CHECK_N.
18196 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18198 (semtimedop): Don't use CHECK_N.
18199 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18200 (__libc_pread): Don't use CHECK_N.
18201 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18203 (__libc_pread64): Don't use CHECK_N.
18204 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18206 (__libc_pwrite): Don't use CHECK_N.
18207 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18209 (__libc_pwrite64): Don't use CHECK_N.
18210 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18212 (__libc_msgrcv): Don't use CHECK_N.
18213 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18214 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18215 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18216 (__libc_writev): Don't use CHECK_N.
18218 2013-02-08 Roland McGrath <roland@hack.frob.com>
18220 * string/strcpy.c: Removed unused variable.
18222 * Makeconfig (+sysdep-includes): Define with := rather than =.
18223 Use an existing include/ subdir of each sysdeps dir before it.
18225 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18227 * nscd/connection.c (register_traced_file): Comment function.
18228 [HAVE_INOTIFY] (union __inev): Define.
18229 [HAVE_INOTIFY] (inotify_check_files): New function.
18230 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18231 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18233 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18235 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18237 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18238 loaded if not already and that a failure is permanent.
18240 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18243 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18244 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18246 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18249 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18250 (CHECK_1_NULL_OK): Likewise.
18251 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18252 (__fxstat): Do not use CHECK_1.
18253 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18255 (___fxstat64): Do not use CHECK_1.
18256 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18258 (__fxstatat): Do not use CHECK_1.
18259 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18261 (__fxstatat64): Do not use CHECK_1.
18262 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18264 (__fxstat): Do not use CHECK_1.
18265 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18267 (__fxstatat): Do not use CHECK_1.
18268 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18270 (__getresgid): Do not use CHECK_1.
18271 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18273 (__getresuid): Do not use CHECK_1.
18274 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18276 (__lxstat): Do not use CHECK_1.
18277 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18279 (__old_msgctl): Do not use CHECK_1.
18280 (__new_msgctl): Likewise.
18281 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18283 (__new_setrlimit): Do not use CHECK_1.
18284 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18286 (__old_shmctl): Do not use CHECK_1.
18287 (__new_shmctl): Likewise.
18288 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18290 (__xstat): Do not use CHECK_1.
18291 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18292 (__lxstat): Do not use CHECK_1.
18293 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18295 (___lxstat64): Do not use CHECK_1.
18296 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18297 (__old_msgctl): Do not use CHECK_1.
18298 (__new_msgctl): Likewise.
18299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18301 (__gettimeofday): Do not use CHECK_1.
18302 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18303 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18304 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18306 (__gettimeofday): Do not use CHECK_1.
18307 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18308 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18309 (__new_shmctl): Do not use CHECK_1.
18310 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18312 (do_sigtimedwait): Do not use CHECK_1.
18313 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18315 (do_sigwaitinfo): Do not use CHECK_1.
18316 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18318 (msgctl): Do not use CHECK_1.
18319 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18321 (shmctl): Do not use CHECK_1.
18322 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18323 (ustat): Do not use CHECK_1.
18324 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18326 (__fxstat): Do not use CHECK_1.
18327 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18329 (__fxstatat): Do not use CHECK_1.
18330 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18332 (__lxstat): Do not use CHECK_1.
18333 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18335 (__xstat): Do not use CHECK_1.
18336 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18337 (__xstat): Do not use CHECK_1.
18338 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18339 (___xstat64): Do not use CHECK_1.
18342 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18344 (CHECK_BOUNDS_HIGH): Likewise.
18345 * string/strcpy.c: Do not include <bp-checks.h>.
18346 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18348 2013-02-07 Roland McGrath <roland@hack.frob.com>
18350 * nscd/nscd-client.h (__nscd_drop_map_ref):
18351 Add __attribute__ ((unused)).
18352 * nis/nss-nisplus.h (niserr2nss): Likewise.
18354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18355 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18357 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18358 Remove inline keyword.
18359 * include/rounding-mode.h (round_away): Likewise.
18360 * libio/wfileops.c (adjust_wide_data): Likewise.
18361 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18362 (__m128i_strloadu_tolower): Likewise.
18363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18364 (__m128i_strloadu_tolower): Likewise.
18365 * time/mktime.c (ydhms_diff): Likewise.
18366 * locale/elem-hash.h (elem_hash): Likewise.
18367 * locale/setlocale.c (setdata): Likewise.
18368 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18369 (re_string_wchar_at): Likewise.
18370 (bitset_not, bitset_merge, bitset_mask): Likewise.
18371 [!(__GNUC__ > 3)] (inline): Remove macro.
18372 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18373 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18374 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18375 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18376 * string/memcmp.c (memcmp_bytes): Likewise.
18377 * locale/programs/locarchive.c (compute_hashval): Likewise.
18378 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18379 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18380 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18381 * nss/getent.c (print_rpc, print_protocols): Likewise.
18382 (print_passwd, print_group, print_aliases): Likewise.
18383 * nis/nss-nisplus.h (niserr2nss): Likewise.
18384 * nscd/connections.c (restart_p): Likewise.
18385 Change return type to bool.
18387 2013-02-05 Roland McGrath <roland@hack.frob.com>
18389 * Makeconfig (all-Depend-files): Add existing
18390 $(sorted-subdirs:=/Depend) files.
18391 (all-subdirs): Remove nss.
18392 * sysdeps/unix/inet/Subdirs: Add it here instead.
18393 * hesiod/Depend: New file.
18395 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18396 instead of calling alloca.
18398 * io/lseek.c (__lseek): Rename to __libc_lseek.
18399 Define __lseek as an alias.
18401 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18403 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18405 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18406 else clause and remove check for non-standard endianness.
18408 2013-02-04 David S. Miller <davem@davemloft.net>
18410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18412 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18415 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18416 (__ubp_memchr): Remove prototype.
18417 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18418 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18419 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18420 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18421 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18423 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18424 (__ubp_memchr): Likewise.
18425 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18426 (__ubp_memchr): Likewise.
18427 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18428 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18429 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18430 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18432 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18433 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18434 (__getcwd): Do not use CHECK_STRING.
18435 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18437 (__real_chown): Do not use CHECK_STRING.
18438 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18440 (fchownat): Do not use CHECK_STRING.
18441 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18443 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18445 (__lchown): Do not use CHECK_STRING.
18446 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18447 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18448 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18449 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18451 include <bp-checks.h>.
18452 (truncate64): Do not use CHECK_STRING.
18453 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18455 (__real_chown): Do not use CHECK_STRING.
18456 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18458 (__lchown): Do not use CHECK_STRING.
18459 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18461 (__chown): Do not use CHECK_STRING.
18462 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18464 (truncate64): Do not use CHECK_STRING.
18465 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18467 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18468 (__xmknod): Do not use CHECK_STRING.
18469 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18471 (__xmknodat): Do not use CHECK_STRING.
18472 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18473 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18475 2013-02-04 Andreas Schwab <schwab@suse.de>
18478 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18479 * include/netdb.h: Likewise for h_errno.
18480 * elf/tst-stackguard1.c: Include <tls.h>.
18482 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18484 * elf/link.h (struct link_map): Extend the l_addr comment.
18485 * include/link.h (struct link_map): Likewise.
18487 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18490 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18491 (BOUNDED_1): Remove macro.
18492 * debug/backtrace.c: Don't include <bp-checks.h>.
18493 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18494 (__backtrace): Likewise.
18495 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18497 (__backtrace): Don't use BOUNDED_1.
18498 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18500 (__backtrace): Don't use BOUNDED_1.
18501 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18502 (__backtrace): Don't use BOUNDED_1.
18503 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18504 (shmat): Don't use BOUNDED_N.
18506 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18509 * sysdeps/generic/bp-start.h: Remove file.
18510 * csu/libc-start.c: Don't include <bp-start.h>.
18511 (LIBC_START_MAIN): Set up __environ directly instead of using
18512 INIT_ARGV_and_ENVIRON.
18513 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18517 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18519 (CHECK_FCNTL): Likewise.
18520 (CHECK_N_PAGES): Likewise.
18523 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18525 (CHECK_SIGSET_NULL_OK): Likewise.
18526 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18528 (sigpending): Don't use CHECK_SIGSET.
18529 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18531 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18532 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18534 (do_sigsuspend): Don't use CHECK_SIGSET.
18535 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18537 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18538 (do_sigwait): Don't use CHECK_SIGSET.
18539 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18542 include <bp-checks.h>.
18543 (sigpending): Don't use CHECK_SIGSET.
18544 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18545 include <bp-checks.h>.
18546 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18547 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18549 (sigpending): Don't use CHECK_SIGSET.
18550 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18555 * sysdeps/generic/bp-semctl.h: Remove file.
18556 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18557 <bp-checks.h> and <bp-semctl.h>.
18558 (__old_semctl): Don't use CHECK_SEMCTL.
18559 (__new_semctl): Likewise.
18560 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18562 (__old_semctl): Don't use CHECK_SEMCTL.
18563 (__new_semctl): Likewise.
18564 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18565 <bp-checks.h> and <bp-semctl.h>.
18566 (__old_semctl): Don't use CHECK_SEMCTL.
18567 (__new_semctl): Likewise.
18568 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18569 <bp-checks.h> and <bp-semctl.h>.
18570 (semctl): Don't use CHECK_SEMCTL.
18573 * Makerules (elide-bp-thunks): Remove variable.
18574 (elide-routines.oS): Don't use $(elide-bp-thunks).
18575 (elide-routines.os): Likewise.
18576 (elide-routines.o): Likewise.
18577 (elide-routines.op): Likewise.
18578 (elide-routines.og): Likewise.
18579 (objects): Don't use $(bp-thunks).
18580 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18582 (common-generated): Do not add s-proto-bp.d.
18583 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18586 Do not generate makefile rules for bounded-pointer thunks.
18587 * sysdeps/generic/bp-thunks.h: Remove file.
18588 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18589 * sysdeps/unix/s-proto-bp.S: Likewise.
18592 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18593 parts of result separately when argument is not close to line from
18594 -i to i and one part of argument is small.
18595 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18596 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18597 * math/libm-test.inc (cacos_test): Add more tests.
18598 (casin_test): Likewise.
18599 (casinh_test): Likewise.
18600 * sysdeps/i386/fpu/libm-test-ulps: Update.
18601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18603 2013-01-31 David S. Miller <davem@davemloft.net>
18605 * po/de.po: Update from translation team.
18607 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18609 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18611 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18613 * configure.in (_AC_PROG_CC_C89): New definition.
18614 * configure: Regenerate.
18616 * configure.in (AC_PROG_CPP): New definition.
18617 * configure: Regenerate.
18619 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18621 * debug/tst-backtrace.h: New file.
18622 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18623 (ret): Remove variable.
18625 (FAIL): Remove macro.
18626 (NO_INLINE): Likewise.
18627 (fn1): Use match function instead of strstr.
18628 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18629 (ret): Remove variable.
18631 (FAIL): Remove macro.
18632 (NO_INLINE): Likewise.
18633 (fn): Use match function instead of strstr.
18634 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18635 (ret): Remove variable.
18637 (FAIL): Remove macro.
18638 (NO_INLINE): Likewise.
18639 (handle_signal): Use match function instead of strstr.
18640 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18641 (ret): Remove variable.
18643 (FAIL): Remove macro.
18644 (NO_INLINE): Likewise.
18645 (handle_signal): Use match function instead of strstr.
18647 2013-01-23 Roland McGrath <roland@hack.frob.com>
18649 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18651 2013-01-23 David S. Miller <davem@davemloft.net>
18653 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18654 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18655 argument of CAS if possible.
18656 * sysdeps/sparc/sparc64/bits/atomic.h
18657 (__arch_compare_and_exchange_val_32_acq): Likewise.
18658 (__arch_compare_and_exchange_val_64_acq): Likewise.
18660 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18662 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18663 * sysdeps/posix/ulimit.c: ... this.
18664 Include <limits.h>.
18665 * sysdeps/unix/bsd/ulimit.c: Remove file.
18667 2013-01-23 Adam Conrad <adconrad@0c3.net>
18669 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18670 (LDFLAGS-tst-array5): Likewise.
18672 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18675 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18676 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18677 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18678 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18680 2013-01-21 David S. Miller <davem@davemloft.net>
18682 * sysdeps/sparc/backtrace.c: New file.
18683 * sysdeps/sparc/sparc32/backtrace.h: New file.
18684 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18685 * sysdeps/sparc/sparc64/backtrace.h: New file.
18686 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18687 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18690 2013-01-21 Andreas Schwab <schwab@suse.de>
18693 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18696 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18702 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18703 Mark Mitchell <mark@codesourcery.com>
18704 Tom de Vries <tom@codesourcery.com>
18705 Paul Pluzhnikov <ppluzhnikov@google.com>
18707 * debug/tst-backtrace2.c: New file.
18708 * debug/tst-backtrace3.c: Likewise.
18709 * debug/tst-backtrace4.c: Likewise.
18710 * debug/tst-backtrace5.c: Likewise.
18711 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18712 (CFLAGS-tst-backtrace3.c): Likewise.
18713 (CFLAGS-tst-backtrace4.c): Likewise.
18714 (CFLAGS-tst-backtrace5.c): Likewise.
18715 (LDFLAGS-tst-backtrace2): Likewise.
18716 (LDFLAGS-tst-backtrace3): Likewise.
18717 (LDFLAGS-tst-backtrace4): Likewise.
18718 (LDFLAGS-tst-backtrace5): Likewise.
18719 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18720 tst-backtrace4 and tst-backtrace5.
18722 2013-01-18 Anton Blanchard <anton@samba.org>
18723 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18725 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18726 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18727 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18728 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18730 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18731 "+r" and remove output regs list as redundant. Add explicit inline
18732 asm to specify register of return val to work around compiler codegen
18733 bug. Remove (int) cast on return value. Add return type parameter to
18734 use in macro so that this macro does not truncate return value for
18736 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18737 pass to INTERNAL_VSYSCALL_NCS.
18738 (INLINE_VSYSCALL): Add 'long int' as return type to
18739 INTERNAL_VSYSCALL_NCS macro invocation.
18740 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18741 INTERNAL_VSYSCALL_NCS macro invocation.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18744 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18747 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18748 Fix application of SIMD FP exception mask.
18750 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18751 mp_no from a power of two.
18752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18753 __mpexp_twomm1. Use __pow_mp.
18755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18758 2013-01-17 David S. Miller <davem@davemloft.net>
18760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18762 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18765 * include/complex.h: Condition contents on [!_COMPLEX_H].
18766 (__kernel_casinhf): New prototype.
18767 (__kernel_casinh): Likewise.
18768 (__kernel_casinhl): Likewise.
18769 * math/Makefile (libm_calls): Add k_casinh.
18770 * math/k_casinh.c: New file.
18771 * math/k_casinhf.c: Likewise.
18772 * math/k_casinhl.c: Likewise.
18773 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18774 finite nonzero arguments.
18775 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18776 finite nonzero arguments.
18777 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18778 finite nonzero arguments.
18779 * math/s_casinh.c: Do not include <float.h>.
18780 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18781 * math/s_casinhf.c: Do not include <float.h>.
18782 (__casinhf): Move code for finite nonzero arguments to
18784 * math/s_casinhl.c: Do not include <float.h>.
18785 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18787 (__casinhl): Move code for finite nonzero arguments to
18789 * math/libm-test.inc (cacos_test): Add more tests.
18790 * sysdeps/i386/fpu/libm-test-ulps: Update.
18791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18793 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18795 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18796 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18797 [!HAVE_MREMAP]: Remove [defined linux] case.
18798 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18800 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18802 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18804 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18806 * elf/elf.h (R_386_SIZE32): New relocation.
18807 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18809 (elf_machine_rela): Likewise.
18810 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18811 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18813 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18815 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18816 (FP_FAST_FMA): Do not define.
18817 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18818 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18819 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18820 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18821 !_SOFT_FLOAT]: Likewise.
18822 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18823 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18825 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18826 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18827 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18829 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18830 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18833 2013-01-16 Andreas Schwab <schwab@suse.de>
18836 * include/stdlib.h (__mktemp): Add declaration.
18837 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18838 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18840 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18842 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18844 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18845 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18846 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18848 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18849 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18851 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18853 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18854 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18855 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18857 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18858 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18860 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18862 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18864 2013-01-15 David S. Miller <davem@davemloft.net>
18866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18867 trunc{,f} to libm-sysdep_routes.
18868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18878 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18879 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18880 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18881 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18882 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18883 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18886 nearbyint{,f} to libm-sysdep_routes.
18887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18898 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18900 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18901 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18904 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18905 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18907 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18908 libc_feholdexcept and libc_fesetenv.
18910 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18912 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18914 2013-01-14 David S. Miller <davem@davemloft.net>
18916 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18917 (SPARC_ASM_VIS2_IFUNC): Likewise.
18918 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18920 use of 'siam' instruction.
18921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18954 routines to libm-sysdep_routines.
18955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18958 fdim/fdimf to libm-sysdep_routines.
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18967 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18968 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18969 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18970 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18972 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18974 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18975 to optimize copies.
18977 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18982 local variable MPTWO.
18983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18986 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18988 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18991 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18993 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18995 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18997 * manual/pattern.texi (glob_t): Document gl_flags.
18998 (glob64_t): Likewise.
19000 2013-01-11 David S. Miller <davem@davemloft.net>
19002 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19003 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19004 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19005 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19006 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19007 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19008 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19009 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19010 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19011 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19012 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19013 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19014 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19016 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19017 sparc V9 rather than using V8 code.
19018 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19019 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19023 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19026 2013-01-11 Roland McGrath <roland@hack.frob.com>
19028 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19029 not in the main loop.
19030 * configure: Regenerated.
19032 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19034 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19035 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19037 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19038 [!__GLIBC_HAVE_LONG_LONG] case.
19039 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19040 condition to just #else.
19041 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19042 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19043 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19044 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19046 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19047 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19048 #elif condition to just #else.
19049 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19050 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19051 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19052 #elif condition to just #else.
19054 2013-01-11 Steve Ellcey <sellcey@mips.com>
19056 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19057 (EF_MIPS_ARCH_64): Fix value.
19058 (EF_MIPS_ARCH_32R2): New.
19059 (EF_MIPS_ARCH_64R2): New.
19061 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19063 * Makeconfig (+link-pie-before-libc): New.
19064 (+link-pie-after-libc): Likewise.
19065 (+link-pie-tests): Likewise.
19066 (+link-pie): Rewritten.
19067 (link-before-libc): Remove $(config-LDFLAGS).
19068 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19069 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19070 (config-LDFLAGS): Renamed to ...
19071 (rtld-LDFLAGS): This.
19072 (rtld-tests-LDFLAGS): New macro.
19073 (link-libc-rpath-link): Likewise.
19074 (link-libc-tests-rpath-link): Likewise.
19075 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19076 (link-libc): Prepand $(link-libc-rpath-link).
19077 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19078 (test-program-prefix): New macro.
19079 (test-via-rtld-prefix): Likewise.
19080 (test-program-cmd): Likewise.
19081 (host-test-program-cmd): Likewise.
19082 * Makefile ($(common-objpfx)testrun.sh): Replace
19083 $(run-program-prefix) with $(test-program-prefix).
19084 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19086 ($(common-objpfx)shlib.lds): Likewise.
19087 (build-module-helper): Likewise.
19088 ($(common-objpfx)format.lds): Likewise.
19089 * Rules (binaries-pie-tests): New.
19090 (binaries-pie-notests): Likewise.
19091 (binaries-pie): Rewritten.
19092 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19093 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19094 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19095 (make-test-out): Replace $(host-built-program-cmd) with
19096 $(host-test-program-cmd).
19097 * config.make.in (build-hardcoded-path-in-tests): New variable.
19098 * configure.in (--enable-hardcoded-path-in-tests): New configure
19100 (hardcoded_path_in_tests): New AC_SUBST.
19101 * configure: Regenerated.
19102 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19103 $(built-program-cmd) with $(test-program-cmd).
19104 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19105 (test_program_cmd): This.
19106 * elf/Makefile ($(objpfx)order.out): Run test with
19107 $(test-program-prefix).
19108 ($(objpfx)order2.out): Likewise.
19109 ($(objpfx)tst-initorder.out): Likewise.
19110 ($(objpfx)tst-initorder2.out): Likewise.
19111 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19112 $(test-program-cmd).
19113 ($(objpfx)tst-array1-static.out): Likewise.
19114 ($(objpfx)tst-array2.out): Likewise.
19115 ($(objpfx)tst-array3.out): Likewise.
19116 ($(objpfx)tst-array4.out): Likewise.
19117 ($(objpfx)tst-array5.out): Likewise.
19118 ($(objpfx)tst-array5-static.out): Likewise.
19119 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19120 $(test-program-cmd).
19121 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19122 $(run-program-prefix) with $(test-program-prefix).
19123 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19124 (test_program_prefix): This.
19125 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19126 $(run-program-prefix) with $(test-program-prefix).
19127 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19128 (test_program_prefix): This.
19129 * iconvdata/tst-tables.sh: Likewise.
19130 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19131 $(run-program-prefix) with $(test-program-prefix).
19132 ($(objpfx)tst-translit.out): Likewise.
19133 ($(objpfx)tst-gettext2.out): Likewise.
19134 ($(objpfx)tst-gettext4.out): Likewise.
19135 ($(objpfx)tst-gettext6.out): Likewise.
19136 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19137 (test_program_prefix): This.
19138 * intl/tst-gettext2.sh: Likewise.
19139 * intl/tst-gettext4.sh Likewise.
19140 * intl/tst-gettext6.sh: Likewise.
19141 * intl/tst-translit.sh: Likewise.
19142 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19143 with $(test-program-cmd).
19144 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19145 $(run-program-prefix) with $(test-program-prefix).
19146 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19147 (test_program_prefix): This.
19148 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19149 $(run-program-prefix) with $(test-program-prefix).
19150 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19151 (test_program_prefix): This.
19152 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19153 * posix/Makefile ($(objpfx)globtest.out): Replace
19154 $(run-via-rtld-prefix) and $(test-wrapper) with
19155 $(test-program-prefix) and $(test-via-rtld-prefix).
19156 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19157 $(test-program-prefix).
19158 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19159 $(host-test-program-cmd).
19160 (tst-spawn-ARGS): Likewise.
19161 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19162 $(test-program-prefix).
19163 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19164 (test_via_rtld_prefix): This.
19165 (test_wrapper): Renamed to ...
19166 (test_program_prefix): This.
19167 (run_program_prefix): Replaced by test_program_prefix.
19168 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19169 (test_program_prefix): This.
19170 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19171 with $(host-test-program-cmd).
19172 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19173 $(run-program-prefix) with $(test-program-prefix).
19174 ($(objpfx)tst-printf.out): Likewise.
19175 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19176 $(test-program-cmd).
19177 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19178 (test_program_prefix): This.
19179 * stdio-common/tst-unbputc.sh: Likewise.
19180 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19181 $(run-program-prefix) with $(test-program-prefix).
19182 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19183 (test_program_prefix): This.
19184 * string/Makefile ($(objpfx)tst-svc.out): Replace
19185 $(built-program-cmd) with $(test-program-cmd).
19187 2013-01-11 Andreas Jaeger <aj@suse.de>
19190 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19191 value. Sync with Linux 3.7.
19193 2013-01-10 David S. Miller <davem@davemloft.net>
19195 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19196 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19197 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19199 2013-01-10 Roland McGrath <roland@hack.frob.com>
19201 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19203 * configure: Regenerated.
19205 2013-01-10 David S. Miller <davem@davemloft.net>
19207 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19208 sparc V9 rather than using V8 code.
19209 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19210 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19212 2013-01-10 Roland McGrath <roland@hack.frob.com>
19214 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19215 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19216 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19217 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19218 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19219 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19220 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19221 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19222 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19223 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19224 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19225 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19226 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19227 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19228 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19229 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19230 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19231 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19232 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19233 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19234 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19235 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19236 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19237 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19238 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19239 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19240 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19242 2013-01-10 David S. Miller <davem@davemloft.net>
19244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19246 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19248 * posix/Makefile (tests-static): New variable.
19249 (tests): Add $(tests-static).
19250 (tst-exec-static-ARGS): New variable.
19251 (tst-spawn-static-ARGS): Likewise.
19252 * posix/tst-exec-static.c: New file.
19253 * posix/tst-spawn-static.c: Likewise.
19254 * posix/tst-exec.c: Support run directly.
19255 * posix/tst-spawn.c: Likewise.
19257 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19259 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19261 * math/bits/mathcalls.h (llrint): Likewise.
19262 (llround): Likewise.
19263 * stdlib/stdlib.h (struct drand48_data): Likewise.
19264 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19265 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19266 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19268 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19270 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19271 (elf_greg_t): Likewise.
19272 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19273 (__jmp_buf): Likewise.
19274 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19276 (llrint): Likewise, for all definitions.
19277 (llrintl): Likewise.
19279 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19280 Remove [__GNUC__] condition.
19281 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19282 condition to just [__USE_ISOC99].
19283 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19285 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19288 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19289 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19291 (_POSIX_V6_ILP32_OFF32): Likewise.
19292 (_XBS5_ILP32_OFF32): Likewise.
19293 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19294 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19296 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19298 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19301 doubles __mpexp_twomm1. Adjust usage.
19302 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19305 2013-01-10 Andreas Schwab <schwab@suse.de>
19308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19309 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19311 2013-01-09 David S. Miller <davem@davemloft.net>
19314 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19315 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19316 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19317 TCP_FASTOPEN): Define.
19318 (tcp_repair_opt): New structure.
19319 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19321 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19322 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19323 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19324 (tcp_cookie_transactions): New structure.
19326 2013-01-09 Anton Blanchard <anton@samba.org>
19328 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19329 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19330 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19331 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19333 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19335 * include/features.h (__USE_ANSI): Remove.
19337 2013-01-09 Roland McGrath <roland@hack.frob.com>
19339 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19341 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19343 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19345 * sysdeps/s390/fpu/libm-test-ulps: Update.
19347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19349 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19353 (denorm): Likewise.
19354 (__mp_dbl): Likewise.
19355 (__dbl_mp): Likewise.
19356 (add_magnitudes): Likewise.
19357 (sub_magnitudes): Likewise.
19363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19367 (denorm): Likewise.
19368 (__mp_dbl): Likewise.
19369 (__dbl_mp): Likewise.
19370 (add_magnitudes): Likewise.
19371 (sub_magnitudes): Likewise.
19377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19381 (denorm): Likewise.
19382 (__mp_dbl): Likewise.
19383 (__dbl_mp): Likewise.
19384 (add_magnitudes): Likewise.
19385 (sub_magnitudes): Likewise.
19392 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19394 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19395 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19396 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19397 2 && __USE_EXTERN_INLINES]: Likewise.
19399 2013-01-08 Andreas Jaeger <aj@suse.de>
19402 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19404 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19405 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19407 2013-01-07 Anton Blanchard <anton@samba.org>
19409 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19410 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19411 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19412 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19413 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19414 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19415 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19416 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19418 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19419 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19420 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19421 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19422 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19423 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19424 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19425 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19426 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19427 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19429 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19430 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19432 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19433 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19434 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19435 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19436 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19438 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19439 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19441 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19442 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19443 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19444 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19445 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19446 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19447 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19449 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19451 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19453 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19455 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19456 (__MALLOC_PMT): Likewise.
19457 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19458 [__GNUC__], only on [_LIBC].
19459 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19460 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19461 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19462 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19463 forward declaration.
19464 (realloc_hook_ini): Likewise.
19465 (memalign_hook_ini): Likewise.
19466 (__libc_memalign): Do not use __MALLOC_PMT in variable
19468 (__libc_valloc): Likewise.
19469 (__libc_pvalloc): Likewise.
19470 (__libc_calloc): Likewise.
19471 (__posix_memalign): Likewise.
19474 * math/s_casinh.c: Include <float.h>.
19475 (__casinh): Do not do computation with squaring and square root
19476 for large arguments.
19477 * math/s_casinhf.c: Include <float.h>.
19478 (__casinhf): Do not do computation with squaring and square root
19479 for large arguments.
19480 * math/s_casinhl.c: Include <float.h>.
19481 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19482 (__casinhl): Do not do computation with squaring and square root
19483 for large arguments.
19484 * math/libm-test.inc (casin_test): Add more tests.
19485 (casinh_test): Likewise.
19486 * sysdeps/i386/fpu/libm-test-ulps: Update.
19487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19489 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19491 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19492 (__x86_64_raw_data_cache_size): Likewise.
19493 (__x86_64_data_cache_size_half): Likewise.
19494 (__x86_64_raw_data_cache_size_half): Likewise.
19495 (__x86_64_shared_cache_size): Likewise.
19496 (__x86_64_raw_shared_cache_size): Likewise.
19497 (__x86_64_shared_cache_size_half): Likewise.
19498 (__x86_64_raw_shared_cache_size_half): Likewise.
19499 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19501 (__x86_data_cache_size): This.
19502 (__x86_64_raw_data_cache_size): Renamed to ...
19503 (__x86_raw_data_cache_size): This.
19504 (__x86_64_data_cache_size_half): Renamed to ...
19505 (__x86_data_cache_size_half): This.
19506 (__x86_64_raw_data_cache_size_half): Renamed to ...
19507 (__x86_raw_data_cache_size_half): This.
19508 (__x86_64_shared_cache_size): Renamed to ...
19509 (__x86_shared_cache_size): This.
19510 (__x86_64_raw_shared_cache_size): Renamed to ...
19511 (__x86_raw_shared_cache_size): This.
19512 (__x86_64_shared_cache_size_half): Renamed to ...
19513 (__x86_shared_cache_size_half): This.
19514 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19515 (__x86_raw_shared_cache_size_half): This.
19516 * sysdeps/x86_64/memcpy.S: Updated.
19517 * sysdeps/x86_64/memset.S: Likewise.
19518 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19522 2013-01-04 David S. Miller <davem@davemloft.net>
19524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19526 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19528 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19529 1 to avoid redefinition warning.
19530 (__USE_GNU): Don't define.
19531 (init_signaling_nan): Protoize.
19533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19535 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19537 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19539 (__cpymn): Likewise.
19540 (norm): Remove commented code.
19541 (denorm): Likewise.
19542 (__mp_dbl): Likewise.
19544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19545 (__cpymn): Likewise.
19546 (norm): Remove commented code.
19547 (denorm): Likewise.
19548 (__mp_dbl): Likewise.
19551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19552 mp_no value for 1.0 and 2.0.
19553 (norm): Use RADIXI instead of radixi.d.
19554 (denorm): Likewise.
19555 (__mul): Use 0.0 instead of zero.d.
19556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19557 mp_no value for 1.0 and 2.0.
19558 (norm): Use RADIXI instead of radixi.d.
19559 (denorm): Likewise.
19560 (__mul): Use 0.0 instead of zero.d.
19562 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19565 * math/s_casinh.c (__casinh): Reduce finite argument to first
19566 quadrant then set signs of results at the end.
19567 * math/s_casinhf.c (__casinhf): Likewise.
19568 * math/s_casinhl.c (__casinhl): Likewise.
19569 * math/libm-test.inc (casin_test): Add more tests.
19570 (casinh_test): Likewise.
19571 * sysdeps/i386/fpu/libm-test-ulps: Update.
19572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19574 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19576 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19578 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19580 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19582 (denorm): Likewise.
19583 (__mp_dbl): Likewise.
19586 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19587 and adjust the header comment.
19589 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19590 variable name from declaration.
19592 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19595 Initialize COMMON_CPUID_INDEX_7 element.
19596 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19597 (CPUID_RTM): Likewise.
19598 (HAS_RTM): Likewise.
19599 (COMMON_CPUID_INDEX_7): New enum.
19601 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19604 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19605 size is zero, record memory as freed.
19607 2013-01-03 Andreas Jaeger <aj@suse.de>
19609 * po/ia.po: Add new Interlingua translation.
19611 2012-01-03 Allan McRae <allan@archlinux.org>
19613 * locale/programs/localedef.c: Fix description of '--posix' flag.
19615 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19617 * NEWS: Update dates in second copyright notice.
19618 * README: Update copyright dates in example.
19619 * manual/libc.texinfo: Update copyright dates.
19620 * scripts/test-installation.pl: Update copyright date in --version
19623 * hurd/ctty-input.c: Fix copyright notice formatting.
19624 * hurd/ctty-output.c: Likewise.
19625 * hurd/dtable.c: Likewise.
19626 * hurd/hurd-raise.c: Likewise.
19627 * hurd/hurdprio.c: Likewise.
19628 * hurd/msgportdemux.c: Likewise.
19629 * misc/sys/file.h: Likewise.
19630 * misc/sys/ioctl.h: Likewise.
19631 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19632 * sysdeps/mach/hurd/chdir.c: Likewise.
19633 * sysdeps/mach/hurd/fchdir.c: Likewise.
19634 * sysdeps/mach/hurd/rename.c: Likewise.
19635 * sysdeps/mach/hurd/rmdir.c: Likewise.
19636 * sysdeps/mach/hurd/seekdir.c: Likewise.
19637 * sysdeps/mach/hurd/setsid.c: Likewise.
19638 * sysdeps/posix/wait3.c: Likewise.
19640 * All files with FSF copyright notices: Update copyright dates
19641 using scripts/update-copyrights.
19642 * intl/plural.c: Regenerated.
19643 * locale/programs/charmap-kw.h: Likewise.
19644 * locale/programs/locfile-kw.h: Likewise.
19646 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19648 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19652 calculation loop and add branch prediction.
19654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19655 check access beyond bounds of m1np.
19657 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19659 (__inv): Remove local variable MPTWO to use the global
19661 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19662 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19664 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19665 MP3HALFS static const.
19667 2013-01-01 David S. Miller <davem@davemloft.net>
19669 * po/ca.po: Update from translation team.
19671 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19673 * scripts/update-copyrights: New file.
19674 * Makeconfig: Reformat copyright notice.
19675 * ctype/ctype.h: Likewise.
19676 * debug/swprintf_chk.c: Likewise.
19677 * elf/dl-cache.c: Likewise.
19678 * elf/dl-debug.c: Likewise.
19679 * elf/dl-object.c: Likewise.
19680 * grp/initgroups.c: Likewise.
19681 * hurd/Makefile: Likewise.
19682 * hurd/hurd/signal.h: Likewise.
19683 * hurd/hurdfault.c: Likewise.
19684 * hurd/hurdioctl.c: Likewise.
19685 * hurd/hurdlookup.c: Likewise.
19686 * hurd/intr-msg.c: Likewise.
19687 * iconv/gconv_open.c: Likewise.
19688 * libio/swprintf.c: Likewise.
19689 * locale/lc-ctype.c: Likewise.
19690 * locale/nl_langinfo.c: Likewise.
19691 * mach/Machrules: Likewise.
19692 * mach/Makefile: Likewise.
19693 * malloc/obstack.h: Likewise.
19694 * manual/Makefile: Likewise.
19695 * manual/tsort.awk: Likewise.
19696 * misc/bits/stab.def: Likewise.
19697 * nis/nis_print_group_entry.c: Likewise.
19698 * nis/nis_table.c: Likewise.
19699 * nis/nss_compat/compat-pwd.c: Likewise.
19700 * nis/nss_compat/compat-spwd.c: Likewise.
19701 * po/Makefile: Likewise.
19702 * posix/fnmatch.c: Likewise.
19703 * posix/regex.h: Likewise.
19704 * resolv/Makefile: Likewise.
19705 * resolv/nss_dns/dns-network.c: Likewise.
19706 * resolv/res_hconf.c: Likewise.
19707 * scripts/gen-sorted.awk: Likewise.
19708 * soft-fp/soft-fp.h: Likewise.
19709 * stdio-common/printf.h: Likewise.
19710 * stdlib/monetary.h: Likewise.
19711 * stdlib/random.c: Likewise.
19712 * stdlib/random_r.c: Likewise.
19713 * sysdeps/generic/Makefile: Likewise.
19714 * sysdeps/gnu/Makefile: Likewise.
19715 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19722 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19728 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19729 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19730 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19731 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19733 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19739 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19742 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19743 * sysdeps/mach/hurd/errnos.awk: Likewise.
19744 * sysdeps/mach/hurd/fork.c: Likewise.
19745 * sysdeps/mach/hurd/getcwd.c: Likewise.
19746 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19747 * sysdeps/mach/hurd/mmap.c: Likewise.
19748 * sysdeps/mach/hurd/utimes.c: Likewise.
19749 * sysdeps/mach/hurd/xmknod.c: Likewise.
19750 * sysdeps/posix/profil.c: Likewise.
19751 * sysdeps/posix/readdir_r.c: Likewise.
19752 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19753 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19754 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19755 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19757 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19758 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19759 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19761 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19762 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19763 * sysdeps/pthread/lio_listio.c: Likewise.
19764 * sysdeps/sparc/dl-procinfo.h: Likewise.
19765 * sysdeps/unix/i386/sysdep.S: Likewise.
19766 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19767 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19768 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19769 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19771 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19772 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19773 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19774 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19775 * sysdeps/wordsize-32/divdi3.c: Likewise.
19776 * time/sys/time.h: Likewise.
19777 * wcsmbs/Makefile: Likewise.
19779 2013-01-01 David S. Miller <davem@davemloft.net>
19781 * po/fr.po: Update from translation team.
19783 * catgets/gencat.c: Update copyright year.
19784 * csu/version.c: Likewise.
19785 * debug/catchsegv.sh: Likewise.
19786 * debug/pcprofiledump.c: Likewise.
19787 * debug/xtrace.sh: Likewise.
19788 * elf/ldconfig.c: Likewise.
19789 * elf/ldd.bash.in: Likewise.
19790 * elf/pldd.c: Likewise.
19791 * elf/sotruss.ksh: Likewise.
19792 * elf/sprof.c: Likewise.
19793 * iconv/iconv_prog.c: Likewise.
19794 * iconv/iconvconfig.c: Likewise.
19795 * locale/programs/locale.c: Likewise.
19796 * locale/programs/localedef.c: Likewise.
19797 * login/programs/pt_chown.c: Likewise.
19798 * malloc/memusage.sh: Likewise.
19799 * malloc/memusagestat.c: Likewise.
19800 * malloc/mtrace.pl: Likewise.
19801 * nscd/nscd.c: Likewise.
19802 * nss/getent.c: Likewise.
19803 * nss/makedb.c: Likewise.
19804 * posix/getconf.c: Likewise.
19806 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19808 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19811 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19813 * math/bits/mathcalls.h (modf): Use __nonnull.
19815 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19817 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19818 (split): Use macro CN instead of the bare value.
19819 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19822 instead of the bare value.
19823 (power1): Likewise.
19825 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19827 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19829 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19831 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19833 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19834 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19835 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19836 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19838 2012-12-28 Andreas Jaeger <aj@suse.de>
19840 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19841 values are from Linux 3.7.
19843 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19844 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19846 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19848 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19851 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19853 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19854 variables with preprocessor constants.
19855 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19856 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19857 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19859 2012-12-27 Bruno Haible <bruno@clisp.org>
19862 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19865 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19868 and use variable directly.
19869 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19871 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19873 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19876 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19878 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19879 include directive. Remove local variable MPONE.
19880 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19881 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19882 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19884 2012-12-25 David S. Miller <davem@davemloft.net>
19886 * version.h (RELEASE): Set to "development".
19887 (VERSION): Set to "2.17.90".
19888 * NEWS: Add 2.18 section.
19890 2012-12-21 David S. Miller <davem@davemloft.net>
19892 * po/hr.po: Update from translation team.
19894 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19896 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19898 2012-12-19 Steve Ellcey <sellcey@mips.com>
19900 * NEWS: Mention new memcpy for MIPS.
19902 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19904 * manual/contrib.texi (Contributors): Spelling correction.
19906 2012-12-15 David S. Miller <davem@davemloft.net>
19908 * po/ru.po: Update from translation team.
19910 2012-12-13 David S. Miller <davem@davemloft.net>
19912 * NEWS: Mention IFUNC testsuite enhancements.
19914 * po/pl.po: Update from translation team.
19915 * po/bg.po: Likewise.
19917 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19918 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19920 2012-12-11 David S. Miller <davem@davemloft.net>
19922 * po/sv.po: Update from translation team.
19924 * po/vi.po: Update from translation team.
19926 * po/cs.po: Update from translation team.
19928 * po/de.po: Update from translation team.
19929 * po/eo.po: Likewise.
19930 * po/nl.po: Likewise.
19932 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19935 * manual/argp.texi (Argp Helper Functions): Move node to follow
19936 Argp Parsing State.
19939 * manual/conf.texi (Limits on File System Capacity): Mention if
19940 terminating null is included in the max size.
19942 2012-12-10 Andreas Jaeger <aj@suse.de>
19944 * po/cs.po: Update from translation team.
19946 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19948 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19949 void pointer and cast to uintptr_t.
19950 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19952 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19953 * sysdeps/s390/s390-64/memset.S: Likewise.
19955 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19958 * menual/message.texi (Message Translation): Fix typos.
19959 (Helper programs for gettext): Likewise.
19961 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19964 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19967 2012-12-07 David S. Miller <davem@davemloft.net>
19969 * po/libc.pot: Update.
19971 2012-12-07 Richard Henderson <rth@redhat.com>
19974 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19975 normal/normal case to before the switch.
19976 (_FP_DIV): Likewise.
19978 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19979 Mike Frysinger <vapier@gentoo.org>
19981 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19982 check for __NR_fadvise64_64.
19984 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19986 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19987 0, not just to plain "0" as a statement.
19988 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19991 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19993 * NEWS: Use sourceware.org in Bugzilla URL.
19995 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19998 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20000 * stdio-common/tst-put-error.c (do_test): Add newline to the
20001 padded test to ensure flush.
20003 2012-12-05 Jeff Law <law@redhat.com>
20005 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20007 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20009 * README: Don't refer to ports add-on as distributed separately.
20010 Mention AArch64 in list of systems supported in the ports add-on.
20012 * LICENSES: Add more non-FSF copyright and license notices.
20014 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20017 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20019 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20020 10000 as width of padded output.
20022 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20024 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20026 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20027 variable LX with __attribute__ ((unused)).
20028 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20030 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20031 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20032 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20033 with __attribute__ ((unused)).
20035 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20037 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20039 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20041 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20042 (CFLAGS-nldbl-acos.c): New variable.
20043 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20044 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20045 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20046 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20047 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20048 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20049 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20050 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20051 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20052 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20053 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20054 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20055 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20056 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20057 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20058 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20059 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20060 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20061 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20062 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20063 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20064 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20065 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20066 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20142 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20145 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20146 whole low double instead of just low 47 bits when splitting values
20149 2012-12-03 Allan McRae <allan@archlinux.org>
20151 * manual/stdio.texi (Predefined Printf Handlers): Remove
20152 @hsep and @vsep usage.
20154 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20156 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20157 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20159 2012-12-03 Jeff Law <law@redhat.com>
20161 * time/sys/time.h (settimeofday): Do not mark TV argument
20164 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20166 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20167 when currently writing and seek to current position when not.
20168 * libio/Makefile (tests): Remove bug-fclose1.
20169 * libio/bug-fclose1.c: Delete.
20171 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20173 * manual/arith.texi (feenableexcept): Fix typo.
20174 (fedisableexcept): Likewise.
20176 2012-11-30 Roland McGrath <roland@hack.frob.com>
20178 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20179 second, differently-typed declaration, rather than a cast.
20181 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20183 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20184 * include/rpc/svc.h: ... here.
20186 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20189 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20190 depending n and resplen2 to catch cases where answer
20193 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20195 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20196 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20198 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20202 2012-11-29 Roland McGrath <roland@hack.frob.com>
20204 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20206 2012-11-28 Jeff Law <law@redhat.com>
20209 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20210 dataset_temporary. Track alloca usage into alloca_used.
20211 If dataset is large allocate and release it via malloc/free.
20213 2012-06-04 Florian Weimer <fweimer@redhat.com>
20216 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20218 2012-11-28 David S. Miller <davem@davemloft.net>
20220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20222 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20225 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20226 of pi/2 rounded to nearest to 64 bits.
20227 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20228 nearest to 64 bits.
20229 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20232 2012-11-28 Jeff Law <law@redhat.com>
20233 Martin Osvald <mosvald@redhat.com>
20236 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20237 * sunrpc/svc.c: Include time.h.
20238 (__svc_accept_failed): New function.
20239 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20240 any reason other than EINTR, call __svc_accept_failed.
20241 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20242 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20244 2012-11-28 Andreas Schwab <schwab@suse.de>
20246 * scripts/abilist.awk: Also handle indirect functions in .opd
20249 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20252 * sysdeps/x86/fpu/powl_helper.c: New file.
20253 * sysdeps/x86/fpu/Makefile: Likewise.
20254 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20256 (__ieee754_powl): Use __powl_helper for finite arguments except
20257 integer exponents below 8.
20258 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20260 (__ieee754_powl): Use __powl_helper for finite arguments except
20261 integer exponents below 8.
20262 * math/libm-test.inc (pow_test): Add more tests and enable some
20263 previously disabled tests.
20264 * sysdeps/i386/fpu/libm-test-ulps: Update.
20265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20267 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20268 Carlos O'Donell <carlos_odonell@mentor.com>
20270 * nss/makedb.c (is_prime): Assert that input is odd and greater
20271 than 4. Note that fact in a comment too.
20272 (next_prime): Add 4 to input.
20274 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20277 * libio/Makefile (tests): Add test case tst-fwrite-error.
20278 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20279 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20280 * libio/tst-fwrite-error.c: New test case.
20282 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20284 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20285 before casting to void *.
20286 * include/libc-internal.h (__pointer_type): New macro.
20287 (__integer_if_pointer_type_sub): Likewise.
20288 (__integer_if_pointer_type): Likewise.
20289 (cast_to_integer): Likewise.
20290 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20291 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20292 before casting to atomic64_t.
20293 (atomic_exchange_acq): Likewise.
20294 (__arch_exchange_and_add_body): Likewise.
20295 (__arch_add_body): Likewise.
20296 (atomic_add_negative): Likewise.
20297 (atomic_add_zero): Likewise.
20299 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20301 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20302 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20303 (add_fdes): Likewise.
20304 (linear_search_fdes): Likewise.
20305 (binary_search_unencoded_fdes): Likewise.
20307 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20309 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20311 2012-11-24 Adam Conrad <adconrad@0c3.net>
20313 * configure.in: Autodetect C++ header directories.
20314 * configure: Regenerated.
20316 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20318 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20320 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20324 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20326 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20327 LDBL_MANT_DIG == 106]: Disable some tests.
20328 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20330 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20334 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20335 input for small inputs. Return +/- pi/2 for large inputs.
20336 * math/libm-test.inc (atan_test): Add more tests.
20338 * sysdeps/generic/unwind-dw2-fde-glibc.c
20339 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20340 __attribute__ ((unused)).
20343 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20344 x * y if x and y are nonzero and z is zero.
20347 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20348 nonzero exponents with absolute value below 0x1p-117 to +/-
20352 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20353 up arguments below 2**-450, not just those below 2**-500.
20354 * math/libm-test.inc (hypot_test): Add another test.
20357 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20358 Return a+b for ratio over 2**120, not 2**60.
20359 * math/libm-test.inc (hypot_test): Add another test.
20361 * math/libm-test.inc (clog_test): Use
20362 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20363 (clog10_test): Likewise.
20366 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20368 2012-11-22 Andreas Schwab <schwab@suse.de>
20370 * sysdeps/i386/fpu/libm-test-ulps: Update.
20372 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20374 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20375 printf output with newline.
20377 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20380 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20381 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20382 -z nodlopen, -z initfirst and -z execstack support.
20383 * configure: Regenerated.
20385 * elf/elf.h (DF_1_NODIRECT): New macro.
20386 (DF_1_IGNMULDEF): Likewise.
20387 (DF_1_NOKSYMS): Likewise.
20388 (DF_1_NOHDR): Likewise.
20389 (DF_1_EDITED): Likewise.
20390 (DF_1_NORELOC): Likewise.
20391 (DF_1_SYMINTPOSE): Likewise.
20392 (DF_1_GLOBAUDIT): Likewise.
20393 (DF_1_SINGLETON): Likewise.
20394 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20395 DT_1_SUPPORTED_MASK bits.
20396 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20398 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20400 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20402 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20404 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20407 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20408 (sendmmsg): Move declarations...
20409 * socket/sys/socket.h: ... here.
20410 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20411 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20413 * socket/recvmmsg.c: ... this new file.
20414 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20415 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20416 definition of __sendmmsg hidden.
20417 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20418 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20419 Move ENOSYS stub into and include it from...
20420 * socket/sendmmsg.c: ... this new file.
20421 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20422 (sysdep_routines): Move recvmmsg and sendmmsg...
20423 * socket/Makefile (routines): ... here.
20424 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20425 (GLIBC_PRIVATE): Add __sendmmsg.
20426 * include/sys/socket.h (__sendmmsg): Add declarations.
20427 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20430 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20432 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20433 variable I1 with __attribute__ ((unused)).
20434 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20436 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20438 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20439 DUMMY variables with __attribute__ ((unused)).
20441 * bits/byteswap.h: Include <bits/types.h>.
20442 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20444 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20446 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20447 string_t. Do not manually set errno.
20448 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20449 length with __strnlen. Make sure to both set errno and return it on
20452 2012-11-19 David S. Miller <davem@davemloft.net>
20454 With help from Joseph Myers.
20455 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20456 very large arguments properly.
20457 * math/libm-test.inc (atan_test): New tests.
20458 (atan2_test): New tests.
20459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20462 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20465 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20468 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20469 [POSIX] (EADDRNOTAVAIL): Likewise.
20470 [POSIX] (EAFNOSUPPORT): Likewise.
20471 [POSIX] (EALREADY): Likewise.
20472 [POSIX] (ECONNABORTED): Likewise.
20473 [POSIX] (ECONNREFUSED): Likewise.
20474 [POSIX] (ECONNRESET): Likewise.
20475 [POSIX] (EDESTADDRREQ): Likewise.
20476 [POSIX] (EDQUOT): Likewise.
20477 [POSIX] (EHOSTUNREACH): Likewise.
20478 [POSIX] (EIDRM): Likewise.
20479 [POSIX] (EISCONN): Likewise.
20480 [POSIX] (ELOOP): Likewise.
20481 [POSIX] (EMULTIHOP): Likewise.
20482 [POSIX] (ENETDOWN): Likewise.
20483 [POSIX] (ENETUNREACH): Likewise.
20484 [POSIX] (ENOBUFS): Likewise.
20485 [POSIX] (ENODATA): Likewise.
20486 [POSIX] (ENOLINK): Likewise.
20487 [POSIX] (ENOMSG): Likewise.
20488 [POSIX] (ENOPROTOOPT): Likewise.
20489 [POSIX] (ENOSR): Likewise.
20490 [POSIX] (ENOSTR): Likewise.
20491 [POSIX] (ENOTCONN): Likewise.
20492 [POSIX] (ENOTSOCK): Likewise.
20493 [POSIX] (EOPNOTSUPP): Likewise.
20494 [POSIX] (EOVERFLOW): Likewise.
20495 [POSIX] (EPROTO): Likewise.
20496 [POSIX] (EPROTONOSUPPORT): Likewise.
20497 [POSIX] (EPROTOTYPE): Likewise.
20498 [POSIX] (ESTALE): Likewise.
20499 [POSIX] (ETIME): Likewise.
20500 [POSIX] (ETXTBSY): Likewise.
20501 [POSIX] (EWOULDBLOCK): Likewise.
20502 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20503 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20504 [POSIX] (SEEK_CUR): Likewise.
20505 [POSIX] (SEEK_END): Likewise.
20506 [POSIX || UNIX98] (mode_t): Do not require.
20507 [POSIX] (off_t): Likewise.
20508 [POSIX] (pid_t): Likewise.
20509 [POSIX] (sys/stat.h): Do not allow header.
20510 [POSIX] (unistd.h): Likewise.
20511 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20512 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20513 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20514 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20516 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20517 sigevent): Specify elements.
20518 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20520 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20521 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20523 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20524 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20525 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20526 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20527 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20528 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20529 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20530 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20531 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20532 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20533 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20534 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20535 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20536 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20538 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20540 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20542 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20544 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20545 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20546 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20547 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20549 Specify lower bound on value.
20550 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20556 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20557 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20559 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20561 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20566 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20578 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20580 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20587 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20592 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20593 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20595 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20599 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20600 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20601 specify as optional.
20602 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20605 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20606 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20607 [XPG3] (NL_LANGMAX): Likewise.
20608 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20609 [POSIX || XPG3] (NL_NMAX): Likewise.
20610 [POSIX || XPG3] (NL_SETMAX): Likewise.
20611 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20612 [XPG3] (NZERO): Likewise.
20613 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20614 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20615 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20616 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20617 (REG_ERANGE): Expect.
20618 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20620 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20621 Use (void) in prototype.
20622 [POSIX] (*_t): Allow.
20623 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20624 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20625 (WRDE_BADVAL): Expect.
20627 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20629 [XPG3 || XPG4] (O_RSYNC): Likewise.
20630 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20632 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20633 [XPG3 || XPG4] (sigqueue): Likewise.
20634 [XPG3 || XPG4] (sigtimedwait): Likewise.
20635 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20636 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20637 [XPG3 || XPG4] (vsnprintf): Likewise.
20638 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20640 [XPG3 || XPG4] (blksize_t): Likewise.
20641 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20643 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20644 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20645 [XPG3 || XPG4] (struct itimerspec): Likewise.
20646 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20647 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20648 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20649 [XPG3 || XPG4] (clockid_t): Likewise.
20650 [XPG3 || XPG4] (timer_t): Likewise.
20651 [XPG3 || XPG4] (clock_getres): Likewise.
20652 [XPG3 || XPG4] (clock_gettime): Likewise.
20653 [XPG3 || XPG4] (clock_settime): Likewise.
20654 [XPG3 || XPG4] (nanosleep): Likewise.
20655 [XPG3 || XPG4] (timer_create): Likewise.
20656 [XPG3 || XPG4] (timer_delete): Likewise.
20657 [XPG3 || XPG4] (timer_gettime): Likewise.
20658 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20659 [XPG3 || XPG4] (timer_settime): Likewise.
20660 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20661 [XPG3 || XPG4] (getlogin_r): Likewise.
20662 [XPG3 || XPG4] (pread): Likewise.
20663 [XPG3 || XPG4] (pthread_atfork): Likewise.
20664 [XPG3 || XPG4] (pwrite): Likewise.
20667 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20670 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20672 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20673 finalizing MALLSTREAM.
20675 * sysdeps/mach/hurd/syncfs.c: New file.
20677 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20680 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20681 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20682 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20683 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20684 (_nss_dns_gethostbyname4_r): Likewise.
20685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20686 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20688 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20691 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20693 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20695 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20696 * elf/cache.c (print_entry): Print ",AArch64" for
20699 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20700 * elf/cache.c (print_entry): Print ",hard-float" for
20703 2012-11-18 David S. Miller <davem@davemloft.net>
20705 With help from Joseph Myers.
20706 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20708 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20710 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20711 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20713 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20714 * math/libm-test.inc (y0_test): New tests.
20715 (y1_test): New tests.
20716 * sysdeps/i386/fpu/libm-test-ulps: Update.
20717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20720 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20722 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20724 * configure: Regenerated.
20726 2012-11-17 David S. Miller <davem@davemloft.net>
20729 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20730 nonzero exponents with absolute value below 0x1p-128 to +/-
20733 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20735 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20737 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20739 * posix/getconf-speclist.c: New file.
20740 * posix/posix-envs.def: Likewise.
20741 * posix/confstr.c (START_ENV_GROUP): New macro.
20742 (END_ENV_GROUP): Likewise.
20743 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20744 (KNOWN_PRESENT_ENV_STRING): Likewise.
20745 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20746 (UNKNOWN_ENVIRONMENT): Likewise.
20747 (confstr): Include posix-envs.def instead of handling
20748 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20749 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20750 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20751 (END_ENV_GROUP): Likewise.
20752 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20753 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20754 (UNKNOWN_ENVIRONMENT): Likewise.
20755 (__sysconf): Include posix-envs.def instead of handling associated
20756 cases directly here.
20757 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20758 preprocessing getconf-speclist.c rather than running getconf or
20759 generating empty file.
20761 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20763 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20765 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20768 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20770 2012-11-16 David S. Miller <davem@davemloft.net>
20772 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20773 smaller than LDBL_EPSILON/2.0L, just return xm1.
20775 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20777 * elf/tst-array1.c (init): Set constructor priority to 1000.
20778 (fini): Set destructor priority to 1000.
20779 * elf/tst-array2dep.c: Likewise.
20781 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20784 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20785 (_IO_new_file_xsputn): Also return EOF if none of the input
20786 data was written when overflow failed.
20787 * libio/iopadn.c (_IO_padn): Likewise.
20788 * libio/iowpadn.c (_IO_wpadn): Likewise.
20789 * stdio-common/tst-put-error.c: Add copyright notice.
20790 (do_test): Add case for printing padded string.
20791 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20792 _IO_padn returned error.
20793 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20794 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20797 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20799 * libio/libioP.h: Add comment note that the references to C++
20800 bits are now obsolete.
20802 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20804 * math/libm-test.inc (check_complex): Use asprintf.
20806 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20808 * debug/pcprofiledump.c (print_version): Update copyright year.
20809 * malloc/memusagestat.c (print_version): Likewise.
20811 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20814 * elf/Makefile (tests): Add tst-audit8.
20815 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20816 ($(objpfx)tst-audit8.out): New target.
20817 (tst-audit8-ENV): New variable.
20818 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20819 audit if l_reloc_result is NULL.
20820 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20821 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20822 * elf/tst-audit8.c: New file.
20824 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20826 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20827 * misc/Makefile (CFLAGS-select.c): Define.
20828 * posix/Makefile (CFLAGS-pause.c): Define.
20830 2012-11-13 David S. Miller <davem@davemloft.net>
20832 * crypt/Makefile: Move test targets after toplevel Rules
20833 inclusion. Grab any necessary sysdep routines when linking.
20834 * crypt/md5.c (md5_process_block): Remove define, we will always
20835 name it __md5_process_block.
20836 (md5_finish_ctx): Update md5_process_block call.
20837 (md5_stream): Likewise.
20838 (md5_process_bytes): Likewise.
20839 (md5_process_block): Rename to __md5_process_block and move to ...
20840 * crypt/md5-block.c: ... here.
20841 * crypt/sha256.c (sha256_process_block): Move to ...
20842 * crypt/sha256-block.c: ... here.
20843 * crypt/sha512.c (sha512_process_block): Move to ...
20844 * crypt/sha512-block.c: ... here.
20845 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20847 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20848 * sysdeps/sparc/sparc64/multiarch/Makefile
20849 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20851 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20852 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20854 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20855 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20856 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20857 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20858 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20859 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20860 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20861 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20862 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20864 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20865 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20867 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20869 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20871 * timezone/tzselect.ksh: Update from tzcode git revision
20872 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20873 * timezone/zdump.c: Likewise.
20874 * timezone/zic.c: Likewise.
20875 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20876 in TZVERSION setting, not $(PKGVERSION).
20877 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20878 REPORT_BUGS_TO settings.
20881 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20884 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20886 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20887 detection to immediately after _FP_ROUND().
20888 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20891 2012-11-11 David S. Miller <davem@davemloft.net>
20893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20895 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20896 __close rather than their public counterparts.
20898 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20900 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20902 [UNIX98] (sem_timedwait): Do not expect.
20903 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20904 [XPG4 || UNIX98] (sockatmark): Do not expect.
20905 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20906 (clock_getcpuclockid): Do not expect.
20907 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20908 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20910 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20911 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20912 [UNIX98] (vwscanf): Likewise.
20913 [UNIX98] (vswscanf): Likewise.
20915 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20917 * timezone/version.h: Remove file.
20918 * timezone/README: Do not refer to version.h.
20919 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20920 $(objpfx)version.h.
20921 ($(objpfx)zdump.o): Likewise.
20922 ($(objpfx)version.h): New target.
20924 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20926 * timezone/README: Don't mention modification to tzselect.ksh.
20927 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20928 work on unmodified tzselect.ksh. Substitute version numbers in
20931 * Makefile (format-me): Remove.
20932 (INSTALL): Adjust indentation. Use commands directly instead of
20933 using $(format-me).
20935 * aclocal.m4 (ACX_PKGVERSION): New macro.
20936 (ACX_BUGURL): Likewise.
20937 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20938 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20939 (REPORT_BUGS_TO): Likewise.
20940 * configure: Regenerated.
20941 * config.h.in (PKGVERSION): New macro.
20942 (REPORT_BUGS_TO): Likewise.
20943 * config.make.in (PKGVERSION): New variable.
20944 (PKGVERSION_TEXI): Likewise.
20945 (REPORT_BUGS_TO): Likewise.
20946 (REPORT_BUGS_TEXI): Likewise.
20947 * Makefile (format-me): Use -I$(common-objpfx)manual.
20948 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20949 ($(common-objpfx)manual/%): New target.
20950 (manual/%): Remove target.
20951 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20952 (print_version): Use PKGVERSION.
20953 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20954 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20955 and REPORT_BUGS_TO.
20956 ($(objpfx)xtrace): Likewise.
20957 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20958 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20959 (print_version): Use PKGVERSION.
20960 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20961 (do_version): Use PKGVERSION.
20962 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20964 (common-ldd-rewrite): Likewise.
20965 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20966 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20967 (print_version): Use PKGVERSION.
20968 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20969 * elf/pldd.c (argp_program_bug_address): Remove variable.
20970 (more_help): New function.
20971 (argp): Use more_help.
20972 (print_version): Use PKGVERSION.
20973 * elf/sln.c (main): Use PKGVERSION.
20974 (usage): Use REPORT_BUGS_TO.
20975 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20976 (top level): Use PKGVERSION.
20977 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20978 (print_version): Use PKGVERSION.
20979 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20980 (print_version): Use PKGVERSION.
20981 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20982 (print_version): Use PKGVERSION.
20983 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20984 (print_version): Use PKGVERSION.
20985 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20986 (print_version): Use PKGVERSION.
20987 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20988 (print_version): Use PKGVERSION.
20989 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20991 ($(objpfx)memusage): Likewise.
20992 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20993 (do_version): Use PKGVERSION.
20994 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20995 (print_version): Use PKGVERSION.
20996 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20997 ($PKGVERSION): New variable.
20998 ($REPORT_BUGS_TO): Likewise.
20999 (usage): Use $REPORT_BUGS_TO.
21000 (top level): Use $PKGVERSION.
21001 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21002 ($(objpfx)pkgvers.texi): New rule.
21003 ($(objpfx)stamp-pkgvers): Likewise.
21004 * manual/install.texi: Include pkgvers.texi.
21005 (--with-pkgversion): Document new configure option.
21006 (--with-bugurl): Likewise.
21007 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21008 than necessarily for this particular distribution. Use
21009 REPORT_BUGS_TO for where to report bugs.
21010 * INSTALL: Regenerated.
21011 * manual/libc.texinfo: Include pkgvers.texi.
21012 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21013 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21014 (print_version): Use PKGVERSION.
21015 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21016 (print_version): Use PKGVERSION.
21017 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21018 (print_version): Use PKGVERSION.
21019 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21020 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21022 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21023 (print_version): Use PKGVERSION.
21024 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21025 (print_version): Use PKGVERSION.
21026 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21029 * timezone/checktab.awk: Update from tzcode 2012i.
21030 * timezone/ialloc.c: Likewise.
21031 * timezone/private.h: Likewise.
21032 * timezone/scheck.c: Likewise.
21033 * timezone/tzfile.h: Likewise.
21034 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21035 (TZVERSION): Hardcode tzcode version number.
21036 * timezone/zdump.c: Update from tzcode 2012i.
21037 * timezone/zic.c: Likewise.
21038 * timezone/version.h: New file.
21039 * timezone/README: Describe version.h. Update upstream location.
21042 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21043 (mktemp): Enable declaration.
21044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21061 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21062 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21063 for copies of such integer values.
21064 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21065 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21067 2012-11-09 Andreas Jaeger <aj@suse.de>
21069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21070 definitions and declarations that are provided by
21071 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21073 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21075 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21076 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21077 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21080 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21082 * elf/elf.h: Update comment before AArch64 relocations.
21084 2012-11-07 David S. Miller <davem@davemloft.net>
21086 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21087 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21088 (__start_context): Declare.
21089 (__makecontext_ret): Delete.
21090 (__makecontext): Hook up __start_context instead of
21092 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21093 (sysdep_routines): Add __start_context when in stdlib.
21095 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21097 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21098 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21099 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21101 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21102 (READELF): New variable. Use it instead of hardcoded "readelf".
21104 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21106 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21107 * sysdeps/x86/Makefile: Here.
21108 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21109 * sysdeps/x86/tst-xmmymm.sh: This.
21111 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21113 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21115 [UNIX98] (pthread_barrier_t): Do not expect.
21116 [UNIX98] (pthread_barrierattr_t): Likewise.
21117 [UNIX98] (pthread_spinlock_t): Likewise.
21118 [UNIX98] (pthread_barrier_destroy): Likewise.
21119 [UNIX98] (pthread_barrier_init): Likewise.
21120 [UNIX98] (pthread_barrier_wait): Likewise.
21121 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21122 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21123 [UNIX98] (pthread_barrierattr_init): Likewise.
21124 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21125 [UNIX98] (pthread_getcpuclockid): Likewise.
21126 [UNIX98] (pthread_mutex_timedlock): Likewise.
21127 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21128 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21129 [UNIX98] (pthread_sigmask): Likewise.
21130 [UNIX98] (pthread_spin_destroy): Likewise.
21131 [UNIX98] (pthread_spin_init): Likewise.
21132 [UNIX98] (pthread_spin_lock): Likewise.
21133 [UNIX98] (pthread_spin_trylock): Likewise.
21134 [UNIX98] (pthread_spin_unlock): Likewise.
21135 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21137 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21139 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21140 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21141 [XPG3 || XPG4] (pthread_key_t): Likewise.
21142 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21143 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21144 [XPG3 || XPG4] (pthread_once_t): Likewise.
21145 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21146 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21148 [XPG3 || XPG4] (pthread_t): Likewise.
21150 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21152 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21154 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21155 Change function return type to int.
21157 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21158 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21159 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21160 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21161 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21162 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21163 [!POSIX] (posix_madvise): Likewise.
21164 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21166 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21167 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21168 (mode_t): Likewise.
21169 (posix_mem_offset): Likewise.
21170 (posix_typed_mem_get_info): Likewise.
21171 (posix_typed_mem_open): Likewise.
21173 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21174 Change condition to [XOPEN2K8].
21176 * conform/conformtest.pl: Preprocess allow-header data with -x c
21177 instead of from stdin.
21178 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21179 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21180 [C99-based standards] (cerfc): Likewise.
21181 [C99-based standards] (cexp2): Likewise.
21182 [C99-based standards] (cexpm1): Likewise.
21183 [C99-based standards] (clog10): Likewise.
21184 [C99-based standards] (clog1p): Likewise.
21185 [C99-based standards] (clog2): Likewise.
21186 [C99-based standards] (clgamma): Likewise.
21187 [C99-based standards] (ctgamma): Likewise.
21188 [C99-based standards] (cerff): Likewise.
21189 [C99-based standards] (cerfcf): Likewise.
21190 [C99-based standards] (cexp2f): Likewise.
21191 [C99-based standards] (cexpm1f): Likewise.
21192 [C99-based standards] (clog10f): Likewise.
21193 [C99-based standards] (clog1pf): Likewise.
21194 [C99-based standards] (clog2f): Likewise.
21195 [C99-based standards] (clgammaf): Likewise.
21196 [C99-based standards] (ctgammaf): Likewise.
21197 [C99-based standards] (cerfl): Likewise.
21198 [C99-based standards] (cerfcl): Likewise.
21199 [C99-based standards] (cexp2l): Likewise.
21200 [C99-based standards] (cexpm1l): Likewise.
21201 [C99-based standards] (clog10l): Likewise.
21202 [C99-based standards] (clog1pl): Likewise.
21203 [C99-based standards] (clog2l): Likewise.
21204 [C99-based standards] (clgammal): Likewise.
21205 [C99-based standards] (ctgammal): Likewise.
21206 * conform/data/inttypes.h-data [C99-based standards]: Include
21207 stdint.h-data. Remove all expectations for stdint.h contents.
21208 [C99-based standards] (PRI*): Do not allow.
21209 [C99-based standards] (SCN*): Likewise.
21210 [C99-based standards] (*_t): Likewise.
21211 [C99-based-standards] (PRId8): Expect macro.
21212 [C99-based-standards] (PRIi8): Likewise.
21213 [C99-based-standards] (PRIo8): Likewise.
21214 [C99-based-standards] (PRIu8): Likewise.
21215 [C99-based-standards] (PRIx8): Likewise.
21216 [C99-based-standards] (PRIX8): Likewise.
21217 [C99-based-standards] (SCNd8): Likewise.
21218 [C99-based-standards] (SCNi8): Likewise.
21219 [C99-based-standards] (SCNo8): Likewise.
21220 [C99-based-standards] (SCNu8): Likewise.
21221 [C99-based-standards] (SCNx8): Likewise.
21222 [C99-based-standards] (PRIdLEAST8): Likewise.
21223 [C99-based-standards] (PRIiLEAST8): Likewise.
21224 [C99-based-standards] (PRIoLEAST8): Likewise.
21225 [C99-based-standards] (PRIuLEAST8): Likewise.
21226 [C99-based-standards] (PRIxLEAST8): Likewise.
21227 [C99-based-standards] (PRIXLEAST8): Likewise.
21228 [C99-based-standards] (SCNdLEAST8): Likewise.
21229 [C99-based-standards] (SCNiLEAST8): Likewise.
21230 [C99-based-standards] (SCNoLEAST8): Likewise.
21231 [C99-based-standards] (SCNuLEAST8): Likewise.
21232 [C99-based-standards] (SCNxLEAST8): Likewise.
21233 [C99-based-standards] (PRIdFAST8): Likewise.
21234 [C99-based-standards] (PRIiFAST8): Likewise.
21235 [C99-based-standards] (PRIoFAST8): Likewise.
21236 [C99-based-standards] (PRIuFAST8): Likewise.
21237 [C99-based-standards] (PRIxFAST8): Likewise.
21238 [C99-based-standards] (PRIXFAST8): Likewise.
21239 [C99-based-standards] (SCNdFAST8): Likewise.
21240 [C99-based-standards] (SCNiFAST8): Likewise.
21241 [C99-based-standards] (SCNoFAST8): Likewise.
21242 [C99-based-standards] (SCNuFAST8): Likewise.
21243 [C99-based-standards] (SCNxFAST8): Likewise.
21244 [C99-based-standards] (PRId16): Likewise.
21245 [C99-based-standards] (PRIi16): Likewise.
21246 [C99-based-standards] (PRIo16): Likewise.
21247 [C99-based-standards] (PRIu16): Likewise.
21248 [C99-based-standards] (PRIx16): Likewise.
21249 [C99-based-standards] (PRIX16): Likewise.
21250 [C99-based-standards] (SCNd16): Likewise.
21251 [C99-based-standards] (SCNi16): Likewise.
21252 [C99-based-standards] (SCNo16): Likewise.
21253 [C99-based-standards] (SCNu16): Likewise.
21254 [C99-based-standards] (SCNx16): Likewise.
21255 [C99-based-standards] (PRIdLEAST16): Likewise.
21256 [C99-based-standards] (PRIiLEAST16): Likewise.
21257 [C99-based-standards] (PRIoLEAST16): Likewise.
21258 [C99-based-standards] (PRIuLEAST16): Likewise.
21259 [C99-based-standards] (PRIxLEAST16): Likewise.
21260 [C99-based-standards] (PRIXLEAST16): Likewise.
21261 [C99-based-standards] (SCNdLEAST16): Likewise.
21262 [C99-based-standards] (SCNiLEAST16): Likewise.
21263 [C99-based-standards] (SCNoLEAST16): Likewise.
21264 [C99-based-standards] (SCNuLEAST16): Likewise.
21265 [C99-based-standards] (SCNxLEAST16): Likewise.
21266 [C99-based-standards] (PRIdFAST16): Likewise.
21267 [C99-based-standards] (PRIiFAST16): Likewise.
21268 [C99-based-standards] (PRIoFAST16): Likewise.
21269 [C99-based-standards] (PRIuFAST16): Likewise.
21270 [C99-based-standards] (PRIxFAST16): Likewise.
21271 [C99-based-standards] (PRIXFAST16): Likewise.
21272 [C99-based-standards] (SCNdFAST16): Likewise.
21273 [C99-based-standards] (SCNiFAST16): Likewise.
21274 [C99-based-standards] (SCNoFAST16): Likewise.
21275 [C99-based-standards] (SCNuFAST16): Likewise.
21276 [C99-based-standards] (SCNxFAST16): Likewise.
21277 [C99-based-standards] (PRId32): Likewise.
21278 [C99-based-standards] (PRIi32): Likewise.
21279 [C99-based-standards] (PRIo32): Likewise.
21280 [C99-based-standards] (PRIu32): Likewise.
21281 [C99-based-standards] (PRIx32): Likewise.
21282 [C99-based-standards] (PRIX32): Likewise.
21283 [C99-based-standards] (SCNd32): Likewise.
21284 [C99-based-standards] (SCNi32): Likewise.
21285 [C99-based-standards] (SCNo32): Likewise.
21286 [C99-based-standards] (SCNu32): Likewise.
21287 [C99-based-standards] (SCNx32): Likewise.
21288 [C99-based-standards] (PRIdLEAST32): Likewise.
21289 [C99-based-standards] (PRIiLEAST32): Likewise.
21290 [C99-based-standards] (PRIoLEAST32): Likewise.
21291 [C99-based-standards] (PRIuLEAST32): Likewise.
21292 [C99-based-standards] (PRIxLEAST32): Likewise.
21293 [C99-based-standards] (PRIXLEAST32): Likewise.
21294 [C99-based-standards] (SCNdLEAST32): Likewise.
21295 [C99-based-standards] (SCNiLEAST32): Likewise.
21296 [C99-based-standards] (SCNoLEAST32): Likewise.
21297 [C99-based-standards] (SCNuLEAST32): Likewise.
21298 [C99-based-standards] (SCNxLEAST32): Likewise.
21299 [C99-based-standards] (PRIdFAST32): Likewise.
21300 [C99-based-standards] (PRIiFAST32): Likewise.
21301 [C99-based-standards] (PRIoFAST32): Likewise.
21302 [C99-based-standards] (PRIuFAST32): Likewise.
21303 [C99-based-standards] (PRIxFAST32): Likewise.
21304 [C99-based-standards] (PRIXFAST32): Likewise.
21305 [C99-based-standards] (SCNdFAST32): Likewise.
21306 [C99-based-standards] (SCNiFAST32): Likewise.
21307 [C99-based-standards] (SCNoFAST32): Likewise.
21308 [C99-based-standards] (SCNuFAST32): Likewise.
21309 [C99-based-standards] (SCNxFAST32): Likewise.
21310 [C99-based-standards] (PRId64): Likewise.
21311 [C99-based-standards] (PRIi64): Likewise.
21312 [C99-based-standards] (PRIo64): Likewise.
21313 [C99-based-standards] (PRIu64): Likewise.
21314 [C99-based-standards] (PRIx64): Likewise.
21315 [C99-based-standards] (PRIX64): Likewise.
21316 [C99-based-standards] (SCNd64): Likewise.
21317 [C99-based-standards] (SCNi64): Likewise.
21318 [C99-based-standards] (SCNo64): Likewise.
21319 [C99-based-standards] (SCNu64): Likewise.
21320 [C99-based-standards] (SCNx64): Likewise.
21321 [C99-based-standards] (PRIdLEAST64): Likewise.
21322 [C99-based-standards] (PRIiLEAST64): Likewise.
21323 [C99-based-standards] (PRIoLEAST64): Likewise.
21324 [C99-based-standards] (PRIuLEAST64): Likewise.
21325 [C99-based-standards] (PRIxLEAST64): Likewise.
21326 [C99-based-standards] (PRIXLEAST64): Likewise.
21327 [C99-based-standards] (SCNdLEAST64): Likewise.
21328 [C99-based-standards] (SCNiLEAST64): Likewise.
21329 [C99-based-standards] (SCNoLEAST64): Likewise.
21330 [C99-based-standards] (SCNuLEAST64): Likewise.
21331 [C99-based-standards] (SCNxLEAST64): Likewise.
21332 [C99-based-standards] (PRIdFAST64): Likewise.
21333 [C99-based-standards] (PRIiFAST64): Likewise.
21334 [C99-based-standards] (PRIoFAST64): Likewise.
21335 [C99-based-standards] (PRIuFAST64): Likewise.
21336 [C99-based-standards] (PRIxFAST64): Likewise.
21337 [C99-based-standards] (PRIXFAST64): Likewise.
21338 [C99-based-standards] (SCNdFAST64): Likewise.
21339 [C99-based-standards] (SCNiFAST64): Likewise.
21340 [C99-based-standards] (SCNoFAST64): Likewise.
21341 [C99-based-standards] (SCNuFAST64): Likewise.
21342 [C99-based-standards] (SCNxFAST64): Likewise.
21343 [C99-based-standards] (PRIdMAX): Likewise.
21344 [C99-based-standards] (PRIiMAX): Likewise.
21345 [C99-based-standards] (PRIoMAX): Likewise.
21346 [C99-based-standards] (PRIuMAX): Likewise.
21347 [C99-based-standards] (PRIxMAX): Likewise.
21348 [C99-based-standards] (PRIXMAX): Likewise.
21349 [C99-based-standards] (SCNdMAX): Likewise.
21350 [C99-based-standards] (SCNiMAX): Likewise.
21351 [C99-based-standards] (SCNoMAX): Likewise.
21352 [C99-based-standards] (SCNuMAX): Likewise.
21353 [C99-based-standards] (SCNxMAX): Likewise.
21354 [C99-based-standards] (PRIdPTR): Likewise.
21355 [C99-based-standards] (PRIiPTR): Likewise.
21356 [C99-based-standards] (PRIoPTR): Likewise.
21357 [C99-based-standards] (PRIuPTR): Likewise.
21358 [C99-based-standards] (PRIxPTR): Likewise.
21359 [C99-based-standards] (PRIXPTR): Likewise.
21360 [C99-based-standards] (SCNdPTR): Likewise.
21361 [C99-based-standards] (SCNiPTR): Likewise.
21362 [C99-based-standards] (SCNoPTR): Likewise.
21363 [C99-based-standards] (SCNuPTR): Likewise.
21364 [C99-based-standards] (SCNxPTR): Likewise.
21365 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21367 * conform/data/stdint.h-data: Update comments to clarify
21369 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21371 [C99-based standards] (INT8_MAX): Likewise.
21372 [C99-based standards] (INT16_MIN): Likewise.
21373 [C99-based standards] (INT16_MAX): Likewise.
21374 [C99-based standards] (INT32_MIN): Likewise.
21375 [C99-based standards] (INT32_MAX): Likewise.
21376 [C99-based standards] (INT64_MIN): Likewise.
21377 [C99-based standards] (INT64_MAX): Likewise.
21378 [C99-based standards] (UINT8_MAX): Likewise.
21379 [C99-based standards] (UINT16_MAX): Likewise.
21380 [C99-based standards] (UINT32_MAX): Likewise.
21381 [C99-based standards] (UINT64_MAX): Likewise.
21382 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21383 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21384 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21385 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21386 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21387 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21388 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21389 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21390 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21391 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21392 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21393 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21394 [C99-based standards] (INT_FAST8_MIN): Likewise.
21395 [C99-based standards] (INT_FAST8_MAX): Likewise.
21396 [C99-based standards] (INT_FAST16_MIN): Likewise.
21397 [C99-based standards] (INT_FAST16_MAX): Likewise.
21398 [C99-based standards] (INT_FAST32_MIN): Likewise.
21399 [C99-based standards] (INT_FAST32_MAX): Likewise.
21400 [C99-based standards] (INT_FAST64_MIN): Likewise.
21401 [C99-based standards] (INT_FAST64_MAX): Likewise.
21402 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21403 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21404 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21405 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21406 [C99-based standards] (INTPTR_MIN): Likewise.
21407 [C99-based standards] (INTPTR_MAX): Likewise.
21408 [C99-based standards] (UINTPTR_MAX): Likewise.
21409 [C99-based standards] (INTMAX_MIN): Likewise.
21410 [C99-based standards] (INTMAX_MAX): Likewise.
21411 [C99-based standards] (UINTMAX_MAX): Likewise.
21412 [C99-based standards] (PTRDIFF_MIN): Likewise.
21413 [C99-based standards] (PTRDIFF_MAX): Likewise.
21414 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21415 [C99-based standards] (SIZE_MAX): Likewise.
21416 [C99-based standards] (WCHAR_MAX): Likewise.
21417 [C99-based standards] (WINT_MAX): Likewise.
21418 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21419 constraint on value.
21420 [C99-based standards] (WCHAR_MIN): Likewise.
21421 [C99-based standards] (WINT_MIN): Likewise.
21422 [C99-based standards] (*_t): Allow.
21423 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21424 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21425 Include math.h-data and complex.h-data. Remove all expectations
21426 of math.h and complex.h contents.
21427 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21429 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21430 (struct tm): Expect tag.
21431 [C99-based-standards] (wcstof): Expect function.
21432 [C99-based-standards] (wcstold): Likewise.
21433 [C99-based-standards] (wcstoll): Likewise.
21434 [C99-based-standards] (wcstoull): Likewise.
21435 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21436 macro-int-constant. Specify type.
21437 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21438 constraint on value.
21439 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21441 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21443 [ISO C standards]: Do not allow headers.
21444 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21445 wcs[abcdefghijklmnopqrstuvwxyz]*.
21446 [ISO C standards] (*_t): Do not allow.
21447 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21449 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21450 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21452 [ISO C standards]: Do not allow headers.
21453 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21454 is[abcdefghijklmnopqrstuvwxyz]*.
21455 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21456 to[abcdefghijklmnopqrstuvwxyz]*.
21457 [ISO C standards] (*_t): Do not allow.
21458 * conform/data/stdalign.h-data: New file.
21459 * conform/data/stdbool.h-data: Likewise.
21460 * conform/data/stdnoreturn.h-data: Likewise.
21462 2012-11-07 Roland McGrath <roland@hack.frob.com>
21465 * manual/filesys.texi (Directory Entries): Typo fix.
21466 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21468 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21470 * elf/elf.h (EM_AARCH64): New macro.
21471 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21472 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21473 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21474 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21475 (R_AARCH64_TLSDESC): Likewise.
21476 (NT_ARM_TLS): Likewise.
21477 (NT_ARM_HW_BREAK): Likewise.
21478 (NT_ARM_HW_WATCH): Likewise.
21480 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21483 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21484 (__ieee754_powl): Saturate nonzero exponents with absolute value
21485 below 0x1p-79 to +/- 0x1p-79.
21486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21487 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21488 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21489 nonzero exponents with absolute value below 0x1p-32 to +/-
21491 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21492 (__ieee754_powl): Saturate nonzero exponents with absolute value
21493 below 0x1p-79 to +/- 0x1p-79.
21494 * math/libm-test.inc (pow_test): Add more tests.
21496 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21498 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21499 _dl_s390_cap_flags with kernel. Increase string length.
21500 (_dl_s390_platforms): Add z196 and zEC12.
21502 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21504 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21505 Change XOPEN21K to XOPEN2K.
21507 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21509 * string/memmove.c: Use memcpy when possible.
21511 2012-11-06 Andreas Jaeger <aj@suse.de>
21513 * po/eo.po: Update from translation team.
21515 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21519 exponent and small x and y exponents, scale x or y up. Increase
21520 by 2 the exponent used in scaling up.
21521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21522 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21523 * math/libm-test.inc (fma_test): Add more tests.
21524 (fma_test_towardzero): Likewise.
21525 (fma_test_downward): Likewise.
21526 (fma_test_upward): Likewise.
21528 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21531 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21535 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21536 namespace for names of struct fields.
21537 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21539 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21540 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21542 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21545 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21547 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21549 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21553 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21556 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21560 definitely overflow as x * y not x * y + z.
21561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21562 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21563 * math/libm-test.inc (fma_test): Add more tests.
21564 (fma_test_towardzero): Likewise.
21565 (fma_test_downward): Likewise.
21566 (fma_test_upward): Likewise.
21568 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21572 * include/stub-tag.h: Remove file.
21573 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21575 * manual/maint.texi (Porting): Don't reference it.
21576 * Makerules ($(objpfx)stubs): Likewise.
21577 * dirent/closedir.c: Don't include <stub-tag.h>.
21578 * dirent/dirfd.c: Likewise.
21579 * dirent/fdopendir.c: Likewise.
21580 * dirent/getdents.c: Likewise.
21581 * dirent/getdents64.c: Likewise.
21582 * dirent/opendir.c: Likewise.
21583 * dirent/readdir.c: Likewise.
21584 * dirent/readdir64.c: Likewise.
21585 * dirent/readdir64_r.c: Likewise.
21586 * dirent/readdir_r.c: Likewise.
21587 * dirent/rewinddir.c: Likewise.
21588 * dirent/seekdir.c: Likewise.
21589 * dirent/telldir.c: Likewise.
21590 * gmon/profil.c: Likewise.
21591 * grp/setgroups.c: Likewise.
21592 * inet/if_index.c: Likewise.
21593 * io/access.c: Likewise.
21594 * io/chdir.c: Likewise.
21595 * io/chmod.c: Likewise.
21596 * io/chown.c: Likewise.
21597 * io/close.c: Likewise.
21598 * io/dup.c: Likewise.
21599 * io/dup2.c: Likewise.
21600 * io/dup3.c: Likewise.
21601 * io/euidaccess.c: Likewise.
21602 * io/faccessat.c: Likewise.
21603 * io/fchdir.c: Likewise.
21604 * io/fchmod.c: Likewise.
21605 * io/fchmodat.c: Likewise.
21606 * io/fchown.c: Likewise.
21607 * io/fchownat.c: Likewise.
21608 * io/fcntl.c: Likewise.
21609 * io/flock.c: Likewise.
21610 * io/fstatfs.c: Likewise.
21611 * io/fstatfs64.c: Likewise.
21612 * io/fstatvfs.c: Likewise.
21613 * io/fstatvfs64.c: Likewise.
21614 * io/futimens.c: Likewise.
21615 * io/fxstat.c: Likewise.
21616 * io/fxstat64.c: Likewise.
21617 * io/fxstatat.c: Likewise.
21618 * io/fxstatat64.c: Likewise.
21619 * io/getcwd.c: Likewise.
21620 * io/isatty.c: Likewise.
21621 * io/lchmod.c: Likewise.
21622 * io/lchown.c: Likewise.
21623 * io/link.c: Likewise.
21624 * io/linkat.c: Likewise.
21625 * io/lseek.c: Likewise.
21626 * io/lseek64.c: Likewise.
21627 * io/lxstat64.c: Likewise.
21628 * io/mkdir.c: Likewise.
21629 * io/mkdirat.c: Likewise.
21630 * io/mkfifo.c: Likewise.
21631 * io/mkfifoat.c: Likewise.
21632 * io/open.c: Likewise.
21633 * io/open64.c: Likewise.
21634 * io/openat.c: Likewise.
21635 * io/openat64.c: Likewise.
21636 * io/pipe.c: Likewise.
21637 * io/pipe2.c: Likewise.
21638 * io/poll.c: Likewise.
21639 * io/posix_fadvise.c: Likewise.
21640 * io/posix_fadvise64.c: Likewise.
21641 * io/posix_fallocate.c: Likewise.
21642 * io/posix_fallocate64.c: Likewise.
21643 * io/read.c: Likewise.
21644 * io/readlink.c: Likewise.
21645 * io/readlinkat.c: Likewise.
21646 * io/rmdir.c: Likewise.
21647 * io/sendfile.c: Likewise.
21648 * io/sendfile64.c: Likewise.
21649 * io/statfs.c: Likewise.
21650 * io/statfs64.c: Likewise.
21651 * io/statvfs.c: Likewise.
21652 * io/statvfs64.c: Likewise.
21653 * io/symlink.c: Likewise.
21654 * io/symlinkat.c: Likewise.
21655 * io/ttyname.c: Likewise.
21656 * io/ttyname_r.c: Likewise.
21657 * io/umask.c: Likewise.
21658 * io/unlink.c: Likewise.
21659 * io/unlinkat.c: Likewise.
21660 * io/utime.c: Likewise.
21661 * io/utimensat.c: Likewise.
21662 * io/write.c: Likewise.
21663 * io/xmknod.c: Likewise.
21664 * io/xmknodat.c: Likewise.
21665 * io/xstat.c: Likewise.
21666 * io/xstat64.c: Likewise.
21667 * login/getpt.c: Likewise.
21668 * login/grantpt.c: Likewise.
21669 * login/unlockpt.c: Likewise.
21670 * math/e_acoshl.c: Likewise.
21671 * math/e_acosl.c: Likewise.
21672 * math/e_asinl.c: Likewise.
21673 * math/e_atan2l.c: Likewise.
21674 * math/e_atanhl.c: Likewise.
21675 * math/e_coshl.c: Likewise.
21676 * math/e_expl.c: Likewise.
21677 * math/e_fmodl.c: Likewise.
21678 * math/e_gammal_r.c: Likewise.
21679 * math/e_hypotl.c: Likewise.
21680 * math/e_j0l.c: Likewise.
21681 * math/e_j1l.c: Likewise.
21682 * math/e_jnl.c: Likewise.
21683 * math/e_lgammal_r.c: Likewise.
21684 * math/e_log10l.c: Likewise.
21685 * math/e_log2l.c: Likewise.
21686 * math/e_logl.c: Likewise.
21687 * math/e_powl.c: Likewise.
21688 * math/e_rem_pio2l.c: Likewise.
21689 * math/e_sinhl.c: Likewise.
21690 * math/e_sqrtl.c: Likewise.
21691 * math/fclrexcpt.c: Likewise.
21692 * math/fedisblxcpt.c: Likewise.
21693 * math/feenablxcpt.c: Likewise.
21694 * math/fegetenv.c: Likewise.
21695 * math/fegetexcept.c: Likewise.
21696 * math/fegetround.c: Likewise.
21697 * math/feholdexcpt.c: Likewise.
21698 * math/fesetenv.c: Likewise.
21699 * math/fesetround.c: Likewise.
21700 * math/feupdateenv.c: Likewise.
21701 * math/fgetexcptflg.c: Likewise.
21702 * math/fraiseexcpt.c: Likewise.
21703 * math/fsetexcptflg.c: Likewise.
21704 * math/ftestexcept.c: Likewise.
21705 * math/k_cosl.c: Likewise.
21706 * math/k_rem_pio2l.c: Likewise.
21707 * math/k_sinl.c: Likewise.
21708 * math/k_tanl.c: Likewise.
21709 * math/s_asinhl.c: Likewise.
21710 * math/s_atanl.c: Likewise.
21711 * math/s_cbrtl.c: Likewise.
21712 * math/s_erfl.c: Likewise.
21713 * math/s_expm1l.c: Likewise.
21714 * math/s_log1pl.c: Likewise.
21715 * math/s_tanhl.c: Likewise.
21716 * misc/acct.c: Likewise.
21717 * misc/brk.c: Likewise.
21718 * misc/chflags.c: Likewise.
21719 * misc/chroot.c: Likewise.
21720 * misc/fchflags.c: Likewise.
21721 * misc/fgetxattr.c: Likewise.
21722 * misc/flistxattr.c: Likewise.
21723 * misc/fremovexattr.c: Likewise.
21724 * misc/fsetxattr.c: Likewise.
21725 * misc/fsync.c: Likewise.
21726 * misc/ftruncate.c: Likewise.
21727 * misc/futimes.c: Likewise.
21728 * misc/futimesat.c: Likewise.
21729 * misc/getdomain.c: Likewise.
21730 * misc/getdtsz.c: Likewise.
21731 * misc/gethostid.c: Likewise.
21732 * misc/gethostname.c: Likewise.
21733 * misc/getloadavg.c: Likewise.
21734 * misc/getpagesize.c: Likewise.
21735 * misc/getsysstats.c: Likewise.
21736 * misc/getxattr.c: Likewise.
21737 * misc/gtty.c: Likewise.
21738 * misc/ioctl.c: Likewise.
21739 * misc/lgetxattr.c: Likewise.
21740 * misc/listxattr.c: Likewise.
21741 * misc/llistxattr.c: Likewise.
21742 * misc/lremovexattr.c: Likewise.
21743 * misc/lsetxattr.c: Likewise.
21744 * misc/lutimes.c: Likewise.
21745 * misc/madvise.c: Likewise.
21746 * misc/mincore.c: Likewise.
21747 * misc/mlock.c: Likewise.
21748 * misc/mlockall.c: Likewise.
21749 * misc/mmap.c: Likewise.
21750 * misc/mprotect.c: Likewise.
21751 * misc/msync.c: Likewise.
21752 * misc/munlock.c: Likewise.
21753 * misc/munlockall.c: Likewise.
21754 * misc/munmap.c: Likewise.
21755 * misc/preadv.c: Likewise.
21756 * misc/preadv64.c: Likewise.
21757 * misc/ptrace.c: Likewise.
21758 * misc/pwritev.c: Likewise.
21759 * misc/pwritev64.c: Likewise.
21760 * misc/readv.c: Likewise.
21761 * misc/reboot.c: Likewise.
21762 * misc/remap_file_pages.c: Likewise.
21763 * misc/removexattr.c: Likewise.
21764 * misc/revoke.c: Likewise.
21765 * misc/select.c: Likewise.
21766 * misc/setdomain.c: Likewise.
21767 * misc/setegid.c: Likewise.
21768 * misc/seteuid.c: Likewise.
21769 * misc/sethostid.c: Likewise.
21770 * misc/sethostname.c: Likewise.
21771 * misc/setregid.c: Likewise.
21772 * misc/setreuid.c: Likewise.
21773 * misc/setxattr.c: Likewise.
21774 * misc/sstk.c: Likewise.
21775 * misc/stty.c: Likewise.
21776 * misc/swapoff.c: Likewise.
21777 * misc/swapon.c: Likewise.
21778 * misc/sync.c: Likewise.
21779 * misc/syncfs.c: Likewise.
21780 * misc/syscall.c: Likewise.
21781 * misc/truncate.c: Likewise.
21782 * misc/ualarm.c: Likewise.
21783 * misc/usleep.c: Likewise.
21784 * misc/ustat.c: Likewise.
21785 * misc/utimes.c: Likewise.
21786 * misc/vhangup.c: Likewise.
21787 * misc/writev.c: Likewise.
21788 * posix/_exit.c: Likewise.
21789 * posix/alarm.c: Likewise.
21790 * posix/execve.c: Likewise.
21791 * posix/fexecve.c: Likewise.
21792 * posix/fork.c: Likewise.
21793 * posix/fpathconf.c: Likewise.
21794 * posix/getaddrinfo.c: Likewise.
21795 * posix/getegid.c: Likewise.
21796 * posix/geteuid.c: Likewise.
21797 * posix/getgid.c: Likewise.
21798 * posix/getgroups.c: Likewise.
21799 * posix/getlogin.c: Likewise.
21800 * posix/getlogin_r.c: Likewise.
21801 * posix/getpgid.c: Likewise.
21802 * posix/getpid.c: Likewise.
21803 * posix/getppid.c: Likewise.
21804 * posix/getresgid.c: Likewise.
21805 * posix/getresuid.c: Likewise.
21806 * posix/getsid.c: Likewise.
21807 * posix/getuid.c: Likewise.
21808 * posix/glob64.c: Likewise.
21809 * posix/nanosleep.c: Likewise.
21810 * posix/pathconf.c: Likewise.
21811 * posix/pause.c: Likewise.
21812 * posix/posix_madvise.c: Likewise.
21813 * posix/pread.c: Likewise.
21814 * posix/pread64.c: Likewise.
21815 * posix/pwrite.c: Likewise.
21816 * posix/pwrite64.c: Likewise.
21817 * posix/sched_getaffinity.c: Likewise.
21818 * posix/sched_getp.c: Likewise.
21819 * posix/sched_gets.c: Likewise.
21820 * posix/sched_primax.c: Likewise.
21821 * posix/sched_primin.c: Likewise.
21822 * posix/sched_rr_gi.c: Likewise.
21823 * posix/sched_setaffinity.c: Likewise.
21824 * posix/sched_setp.c: Likewise.
21825 * posix/sched_sets.c: Likewise.
21826 * posix/sched_yield.c: Likewise.
21827 * posix/setgid.c: Likewise.
21828 * posix/setlogin.c: Likewise.
21829 * posix/setpgid.c: Likewise.
21830 * posix/setresgid.c: Likewise.
21831 * posix/setresuid.c: Likewise.
21832 * posix/setsid.c: Likewise.
21833 * posix/setuid.c: Likewise.
21834 * posix/sleep.c: Likewise.
21835 * posix/spawni.c: Likewise.
21836 * posix/sysconf.c: Likewise.
21837 * posix/times.c: Likewise.
21838 * posix/wait.c: Likewise.
21839 * posix/wait3.c: Likewise.
21840 * posix/wait4.c: Likewise.
21841 * posix/waitpid.c: Likewise.
21842 * resolv/gai_sigqueue.c: Likewise.
21843 * resource/getpriority.c: Likewise.
21844 * resource/getrlimit.c: Likewise.
21845 * resource/getrusage.c: Likewise.
21846 * resource/nice.c: Likewise.
21847 * resource/setpriority.c: Likewise.
21848 * resource/setrlimit.c: Likewise.
21849 * resource/ulimit.c: Likewise.
21850 * rt/aio_cancel.c: Likewise.
21851 * rt/aio_fsync.c: Likewise.
21852 * rt/aio_read.c: Likewise.
21853 * rt/aio_sigqueue.c: Likewise.
21854 * rt/aio_suspend.c: Likewise.
21855 * rt/aio_write.c: Likewise.
21856 * rt/clock_getres.c: Likewise.
21857 * rt/clock_gettime.c: Likewise.
21858 * rt/clock_nanosleep.c: Likewise.
21859 * rt/clock_settime.c: Likewise.
21860 * rt/lio_listio.c: Likewise.
21861 * rt/mq_close.c: Likewise.
21862 * rt/mq_getattr.c: Likewise.
21863 * rt/mq_notify.c: Likewise.
21864 * rt/mq_open.c: Likewise.
21865 * rt/mq_receive.c: Likewise.
21866 * rt/mq_send.c: Likewise.
21867 * rt/mq_setattr.c: Likewise.
21868 * rt/mq_timedreceive.c: Likewise.
21869 * rt/mq_timedsend.c: Likewise.
21870 * rt/mq_unlink.c: Likewise.
21871 * rt/shm_open.c: Likewise.
21872 * rt/shm_unlink.c: Likewise.
21873 * rt/timer_create.c: Likewise.
21874 * rt/timer_delete.c: Likewise.
21875 * rt/timer_getoverr.c: Likewise.
21876 * rt/timer_gettime.c: Likewise.
21877 * rt/timer_settime.c: Likewise.
21878 * setjmp/__longjmp.c: Likewise.
21879 * setjmp/setjmp.c: Likewise.
21880 * signal/kill.c: Likewise.
21881 * signal/killpg.c: Likewise.
21882 * signal/raise.c: Likewise.
21883 * signal/sigaction.c: Likewise.
21884 * signal/sigaltstack.c: Likewise.
21885 * signal/sigblock.c: Likewise.
21886 * signal/sigignore.c: Likewise.
21887 * signal/sigintr.c: Likewise.
21888 * signal/signal.c: Likewise.
21889 * signal/sigpause.c: Likewise.
21890 * signal/sigpending.c: Likewise.
21891 * signal/sigqueue.c: Likewise.
21892 * signal/sigreturn.c: Likewise.
21893 * signal/sigset.c: Likewise.
21894 * signal/sigsetmask.c: Likewise.
21895 * signal/sigstack.c: Likewise.
21896 * signal/sigsuspend.c: Likewise.
21897 * signal/sigtimedwait.c: Likewise.
21898 * signal/sigvec.c: Likewise.
21899 * signal/sigwait.c: Likewise.
21900 * signal/sigwaitinfo.c: Likewise.
21901 * signal/sysv_signal.c: Likewise.
21902 * socket/accept.c: Likewise.
21903 * socket/accept4.c: Likewise.
21904 * socket/bind.c: Likewise.
21905 * socket/connect.c: Likewise.
21906 * socket/getpeername.c: Likewise.
21907 * socket/getsockname.c: Likewise.
21908 * socket/getsockopt.c: Likewise.
21909 * socket/isfdtype.c: Likewise.
21910 * socket/listen.c: Likewise.
21911 * socket/recv.c: Likewise.
21912 * socket/recvfrom.c: Likewise.
21913 * socket/recvmsg.c: Likewise.
21914 * socket/send.c: Likewise.
21915 * socket/sendmsg.c: Likewise.
21916 * socket/sendto.c: Likewise.
21917 * socket/setsockopt.c: Likewise.
21918 * socket/shutdown.c: Likewise.
21919 * socket/sockatmark.c: Likewise.
21920 * socket/socket.c: Likewise.
21921 * socket/socketpair.c: Likewise.
21922 * stdio-common/ctermid.c: Likewise.
21923 * stdio-common/cuserid.c: Likewise.
21924 * stdio-common/remove.c: Likewise.
21925 * stdio-common/rename.c: Likewise.
21926 * stdio-common/renameat.c: Likewise.
21927 * stdio-common/tempname.c: Likewise.
21928 * stdlib/getcontext.c: Likewise.
21929 * stdlib/makecontext.c: Likewise.
21930 * stdlib/setcontext.c: Likewise.
21931 * stdlib/swapcontext.c: Likewise.
21932 * stdlib/system.c: Likewise.
21933 * streams/fattach.c: Likewise.
21934 * streams/fdetach.c: Likewise.
21935 * streams/getmsg.c: Likewise.
21936 * streams/getpmsg.c: Likewise.
21937 * streams/putmsg.c: Likewise.
21938 * streams/putpmsg.c: Likewise.
21939 * sysdeps/unix/bsd/getpt.c: Likewise.
21940 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21941 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21942 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21945 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21946 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21947 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21948 * sysvipc/msgctl.c: Likewise.
21949 * sysvipc/msgget.c: Likewise.
21950 * sysvipc/msgrcv.c: Likewise.
21951 * sysvipc/msgsnd.c: Likewise.
21952 * sysvipc/semctl.c: Likewise.
21953 * sysvipc/semget.c: Likewise.
21954 * sysvipc/semop.c: Likewise.
21955 * sysvipc/semtimedop.c: Likewise.
21956 * sysvipc/shmat.c: Likewise.
21957 * sysvipc/shmctl.c: Likewise.
21958 * sysvipc/shmdt.c: Likewise.
21959 * sysvipc/shmget.c: Likewise.
21960 * termios/tcdrain.c: Likewise.
21961 * termios/tcflow.c: Likewise.
21962 * termios/tcflush.c: Likewise.
21963 * termios/tcgetattr.c: Likewise.
21964 * termios/tcgetpgrp.c: Likewise.
21965 * termios/tcsendbrk.c: Likewise.
21966 * termios/tcsetattr.c: Likewise.
21967 * termios/tcsetpgrp.c: Likewise.
21968 * time/adjtime.c: Likewise.
21969 * time/clock.c: Likewise.
21970 * time/getitimer.c: Likewise.
21971 * time/gettimeofday.c: Likewise.
21972 * time/setitimer.c: Likewise.
21973 * time/settimeofday.c: Likewise.
21974 * time/stime.c: Likewise.
21975 * time/time.c: Likewise.
21977 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21979 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21982 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21984 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21986 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21990 FE_TONEAREST before applying Dekker multiplication and Knuth
21991 addition. Clear inexact exceptions and check for exact zero
21992 results afterwards.
21993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21994 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21996 * math/libm-test.inc (fma_test): Add more tests.
21997 (fma_test_towardzero): Likewise.
21998 (fma_test_downward): Likewise.
21999 (fma_test_upward): Likewise.
22000 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22002 (libc_fesetround): New macro.
22003 (libc_fesetroundf): Likewise.
22004 (libc_fesetroundl): Likewise.
22005 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22007 (libc_fesetround_387): Likewise.
22008 (libc_fesetroundf): New macro.
22009 (libc_fesetround): Likewise.
22010 (libc_fesetroundl): Likewise.
22011 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22013 (libc_fesetroundf): New macro.
22014 (libc_fesetround): Likewise.
22015 (libc_fesetroundl): Likewise.
22016 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22017 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22018 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22020 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22021 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22023 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22024 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22026 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22030 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22031 integer constant usable in #if and use that to give value to enum
22033 (FE_DIVBYZERO): Likewise.
22034 (FE_UNDERFLOW): Likewise.
22035 (FE_OVERFLOW): Likewise.
22036 (FE_INVALID): Likewise.
22037 (FE_INVALID_SNAN): Likewise.
22038 (FE_INVALID_ISI): Likewise.
22039 (FE_INVALID_IDI): Likewise.
22040 (FE_INVALID_ZDZ): Likewise.
22041 (FE_INVALID_IMZ): Likewise.
22042 (FE_INVALID_COMPARE): Likewise.
22043 (FE_INVALID_SOFTWARE): Likewise.
22044 (FE_INVALID_SQRT): Likewise.
22045 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22046 (FE_TONEAREST): Likewise.
22047 (FE_TOWARDZERO): Likewise.
22048 (FE_UPWARD): Likewise.
22049 (FE_DOWNWARD): Likewise.
22050 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22051 (FE_DIVBYZERO): Likewise.
22052 (FE_OVERFLOW): Likewise.
22053 (FE_UNDERFLOW): Likewise.
22054 (FE_INEXACT): Likewise.
22055 (FE_TONEAREST): Likewise.
22056 (FE_DOWNWARD): Likewise.
22057 (FE_UPWARD): Likewise.
22058 (FE_TOWARDZERO): Likewise.
22059 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22060 (FE_UNDERFLOW): Likewise.
22061 (FE_OVERFLOW): Likewise.
22062 (FE_DIVBYZERO): Likewise.
22063 (FE_INVALID): Likewise.
22064 (FE_TONEAREST): Likewise.
22065 (FE_TOWARDZERO): Likewise.
22066 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22067 (FE_OVERFLOW): Likewise.
22068 (FE_UNDERFLOW): Likewise.
22069 (FE_DIVBYZERO): Likewise.
22070 (FE_INEXACT): Likewise.
22071 (FE_TONEAREST): Likewise.
22072 (FE_TOWARDZERO): Likewise.
22073 (FE_UPWARD): Likewise.
22074 (FE_DOWNWARD): Likewise.
22075 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22076 (FE_DIVBYZERO): Likewise.
22077 (FE_OVERFLOW): Likewise.
22078 (FE_UNDERFLOW): Likewise.
22079 (FE_INEXACT): Likewise.
22080 (FE_TONEAREST): Likewise.
22081 (FE_DOWNWARD): Likewise.
22082 (FE_UPWARD): Likewise.
22083 (FE_TOWARDZERO): Likewise.
22085 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22087 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22089 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22091 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22092 commands. Quote $PWD.
22093 (blacklist_exports): Don't use remove_newlines. Replace "declare
22095 (remove_newlines): Remove.
22097 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22099 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22100 * stdlib/stdlib.h (atof): Moved to ...
22101 * include/bits/stdlib-float.h: Here. New file.
22102 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22103 * stdlib/bits/stdlib-float.h: New file.
22104 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22106 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22109 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22111 * conform/conformtest.pl (@headers): Add fenv.h.
22112 * conform/data/fenv.h-data: New file.
22113 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22114 include of <math/fenv.h>.
22116 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22117 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22118 && !UNIX98]. Enables tests for XOPEN2K8.
22119 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22120 POSIX2008]: Likewise.
22122 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22123 (struct rusage): Do not expect type or its members.
22126 * math/math.h (FP_NAN): Define macro to integer constant usable in
22127 #if and use that to give value to enum constant.
22128 (FP_INFINITE): Likewise.
22129 (FP_ZERO): Likewise.
22130 (FP_SUBNORMAL): Likewise.
22131 (FP_NORMAL): Likewise.
22133 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22135 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22136 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22139 2012-11-02 Roland McGrath <roland@hack.frob.com>
22141 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22142 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22143 autoconf-time if not.
22144 * configure.in: Remove AC_PREREQ.
22146 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22148 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22149 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22150 of the internal implementation.
22152 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22154 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22155 except include of <misc/sys/syslog.h>.
22157 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22160 function returns with a NULL context exit with zero.
22162 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22164 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22166 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22168 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22169 (run_program_cmd): This.
22170 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22171 (tst_langinfo): New variable. Use it.
22173 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22175 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22176 floating point opcodes.
22178 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22180 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22183 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22185 * sysdeps/mach/hurd/powerpc: Remove directory.
22186 * sysdeps/mach/powerpc: Likewise.
22188 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22190 * scripts/check-local-headers.sh: Ignore c++ headers.
22192 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22194 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22195 __libc_cleanup_region_start argument.
22197 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22202 x * y using scaling, not as x * y + z.
22203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22204 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22205 * math/libm-test.inc (fma_test): Add more tests.
22206 (fma_test_towardzero): Likewise.
22207 (fma_test_downward): Likewise.
22208 (fma_test_upward): Likewise.
22210 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22212 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22214 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22216 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22219 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22221 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22223 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22230 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22233 Fix the order of the list for glibc 2.17.
22234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22237 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22241 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22244 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22245 for low part of x being zero before using __atanl (y).
22246 * math/libm-test.inc (atan2_test): Add another test.
22248 * manual/install.texi (Configuring and compiling): Document
22249 general use of test-wrapper and test-wrapper-env.
22250 * INSTALL: Regenerated.
22252 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22253 (__fma): Do not extract and scale down low bits on after-rounding
22254 systems when result rounded to normal precision would have normal
22256 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22257 (__fmal): Do not extract and scale down low bits on after-rounding
22258 systems when result rounded to normal precision would have normal
22260 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22261 (__fmal): Do not extract and scale down low bits on after-rounding
22262 systems when result rounded to normal precision would have normal
22264 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22266 (fma_test): Add more tests.
22267 (fma_test_towardzero): Likewise.
22268 (fma_test_downward): Likewise.
22269 (fma_test_upward): Likewise.
22271 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22273 * sysdeps/i386/tininess.h: Renamed to ...
22274 * sysdeps/x86/tininess.h: This.
22275 * sysdeps/x86_64/tininess.h: Removed.
22277 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22279 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22280 input. Use $(build-program-cmd).
22281 ($(objpfx)tst-array1-static.out): Likewise.
22282 ($(objpfx)tst-array2.out): Likewise.
22283 ($(objpfx)tst-array3.out): Likewise.
22284 ($(objpfx)tst-array4.out): Likewise.
22285 ($(objpfx)tst-array5.out): Likewise.
22286 ($(objpfx)tst-array5-static.out): Likewise.
22288 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22290 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22293 * nss/nsswitch.h (nss_interface_function): Provide new
22294 macro for use with NSS functions.
22295 * grp/initgroups.c: Use new macro.
22296 * nss/getXXbyYY.c: Likewise.
22297 * nss/getXXbyYY_r.c: Likewise.
22298 * nss/getXXent.c: Likewise.
22299 * nss/getXXent_r.c: Likewise.
22300 * sysdeps/posix/getaddrinfo.c: Likewise.
22302 2012-10-30 Andreas Jaeger <aj@suse.de>
22304 * po/ru.po: Update Russion translation from translation project.
22306 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22311 result and shift together with sticky bit instead of replicating
22312 round-to-nearest rounding.
22313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22315 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22316 missing underflow exceptions.
22317 (fma_test_towardzero): Add more tests.
22318 (fma_test_downward): Likewise.
22319 (fma_test_upward): Likewise.
22322 * sysdeps/generic/tininess.h: New file.
22323 * sysdeps/i386/tininess.h: Likewise.
22324 * sysdeps/sh/tininess.h: Likewise.
22325 * sysdeps/x86_64/tininess.h: Likewise.
22326 * stdlib/tst-strtod-underflow.c: Likewise.
22327 * stdlib/tst-tininess.c: Likewise.
22328 * stdlib/strtod_l.c: Include <tininess.h>.
22329 (round_and_return): Do not set errno for exact underflow cases.
22330 Force an underflow exception when setting errno for underflow.
22331 Determine underflow based on rounding to normal precision if
22332 TININESS_AFTER_ROUNDING.
22333 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22334 ERANGE for exact underflow cases.
22335 * stdlib/Makefile (tests): Add tst-tininess and
22336 tst-strtod-underflow.
22337 ($(objpfx)tst-tininess): Use $(link-libm).
22338 ($(objpfx)tst-strtod-underflow): Likewise.
22340 2012-10-30 Andreas Jaeger <aj@suse.de>
22343 * elf/Makefile (tests): Remove conditional for have-initfini-array
22344 since this is now always required and the variable does not exist
22346 (tests-static): Likewise.
22347 (modules-names): Likewise.
22349 * po/eo.po: Add Esperanto translation from translation project.
22351 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22352 merged with constructor/destructor.
22353 (init_array): Likewise.
22354 * elf/tst-array2dep.c (fini_array): Likewise.
22355 (init_array): Likewise.
22357 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22359 * manual/message.texi: Delete @cartouche tags.
22361 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22363 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22365 * sysdeps/mach/hurd/fsync.c: Likewise.
22367 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22368 [_POSIX_REALTIME_SIGNALS]: Change condition to
22369 [_POSIX_REALTIME_SIGNALS > 0].
22371 2012-10-27 Andreas Jaeger <aj@suse.de>
22373 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22374 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22376 [__WORDSIZE != 64]: Likewise.
22378 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22380 * iconvdata/tst-table.sh: Remove ${SHELL}.
22381 * iconvdata/tst-tables.sh: Likewise.
22383 2012-10-25 David S. Miller <davem@davemloft.net>
22385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22386 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22392 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22393 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22396 2012-10-25 Roland McGrath <roland@hack.frob.com>
22398 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22399 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22402 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22403 Jim Blandy <jimb@codesourcery.com>
22405 * scripts/cross-test-ssh.sh: New file.
22406 * manual/install.texi (Configuring and compiling): Document use of
22408 * INSTALL: Regenerated.
22410 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22412 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22415 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22417 * Makeconfig (run-program-prefix): Fix comment.
22419 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22420 Jim Blandy <jimb@codesourcery.com>
22422 * Makeconfig (test-wrapper): New variable,
22423 (test-wrapper-env): Likewise.
22424 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22425 (run-built-tests): Define to yes.
22426 (run-program-prefix): Use $(test-wrapper).
22427 (built-program-cmd): Likewise.
22428 * Rules (make-test-out): Use $(test-wrapper-env) and
22429 $(host-built-program-cmd).
22430 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22431 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22433 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22434 $(test-wrapper-env) to tst-rtld-load-self.sh.
22435 ($(objpfx)order2.out): Use $(test-wrapper).
22436 ($(objpfx)tst-initorder.out): Likewise.
22437 ($(objpfx)tst-initorder2.out): Likewise.
22438 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22439 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22440 (test_wrapper_env): New variable. Use it to run ld.so.
22441 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22442 Use it to run ld.so.
22443 (test_wrapper_env): Likewise.
22444 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22445 $(test-wrapper) to run-iconv-test.sh.
22446 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22447 (ICONV): Use $test_wrapper.
22448 * posix/Makefile ($(objpfx)globtest.out): Pass
22449 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22450 globtest.sh, not $(run-program-prefix).
22451 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22452 (test_wrapper): Likewise.
22453 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22454 set together with run_via_rtld_prefix.
22455 (run_program_prefix): Define in terms of test_wrapper and
22456 run_via_rtld_prefix.
22458 2012-10-24 Roland McGrath <roland@hack.frob.com>
22460 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22461 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22465 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22466 Declare __clock_getres, __clock_gettime, __clock_settime,
22467 __clock_nanosleep, and __clock_getcpuclockid.
22468 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22469 Remove librt_hidden_def (clock_gettime).
22470 * sysdeps/unix/clock_gettime.c: Likewise.
22471 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22472 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22473 * rt/clock_getres.c: Define __clock_getres as an alias.
22474 * sysdeps/posix/clock_getres.c: Likewise.
22475 * rt/clock_settime.c: Define __clock_settime as an alias.
22476 * sysdeps/unix/clock_settime.c: Likewise.
22477 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22478 * sysdeps/unix/clock_nanosleep.c: Likewise.
22479 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22480 * rt/clock-compat.c: New file.
22481 * rt/Makefile (librt-routines): Add clock-compat and move
22482 $(clock-routines) to ...
22483 (routines): ... here, new variable.
22484 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22485 Don't add get_clockfreq here.
22486 * rt/Versions (libc: GLIBC_2.17): New version set.
22487 Add clock_* symbols here.
22488 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22489 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22490 (GLIBC_2.17): Add clock_* symbols.
22491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22502 * NEWS: Mention the move.
22504 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22505 Use __open, __read, __close rather than their public counterparts.
22506 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22507 (__get_clockfreq_via_cpuinfo): Likewise.
22508 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22509 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22511 * config.h.in (HAVE_IFUNC): New #undef.
22512 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22514 * configure: Regenerated.
22516 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22518 * configure.in: Move READELF check to start of file.
22519 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22520 libc_cv_asm_gnu_indirect_function in the process.
22521 * configure: Regenerated.
22523 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22525 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22526 send the output to /dev/null.
22527 (libc_cv_cc_with_libunwind): Likewise.
22528 (libc_cv_as_noexecstack): Likewise.
22529 * configure: Regenerate.
22531 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22533 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22535 * posix/globtest.sh (TMPDIR): Do not set.
22536 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22537 (testout): Likewise.
22539 2012-10-24 Andreas Jaeger <aj@suse.de>
22541 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22542 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22543 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22544 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22545 posix_fadvise64, posix_fallocate64.
22547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22548 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22549 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22551 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22553 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22556 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22557 <bits/fcntl-linux.h>.
22558 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22561 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22562 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22563 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22564 [__WORDSIZE != 64]: Likewise.
22566 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22568 * Makeconfig (run-built-tests): New variable.
22569 * Rules [$(cross-compiling) = yes]: Change condition to
22570 [$(run-built-tests) = no].
22571 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22572 to [$(run-built-tests) = yes].
22573 * elf/Makefile [$(cross-compiling) = no]: Likewise
22574 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22575 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22576 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22577 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22578 * io/Makefile [$(cross-compiling) = no]: Likewise.
22579 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22580 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22581 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22582 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22583 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22584 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22585 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22586 * string/Makefile [$(cross-compiling) = no]: Likewise.
22588 * posix/Makefile ($(objpfx)globtest.out): Pass
22589 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22590 $(rtld-installed-name).
22591 * posix/globtest.sh (elf_objpfx): Remove variable.
22592 (rtld_installed_name): Likewise.
22593 (library_path): Likewise.
22594 (run_program_prefix): New variable. Use for running globtest
22597 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22598 Joseph Myers <joseph@codesourcery.com>
22600 * Makeconfig (host-built-program-cmd): New variable.
22601 * elf/Makefile (tst-stackguard1-ARGS): Use
22602 $(host-built-program-cmd).
22603 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22604 (tst-spawn-ARGS): Likewise.
22605 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22607 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22608 Jim Blandy <jimb@codesourcery.com>
22610 * Makeconfig (run-via-rtld-prefix): New variable.
22611 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22612 (built-program-cmd): Likewise.
22614 2012-10-22 Andreas Jaeger <aj@suse.de>
22616 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22617 __O_RSYNC if it exists, otherwise to O_SYNC.
22619 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22620 Joseph Myers <joseph@codesourcery.com>
22622 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22624 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22626 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22629 2012-10-22 Andreas Jaeger <aj@suse.de>
22631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22636 bits/fcntl-linux.h.
22638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22639 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22646 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22647 Joseph Myers <joseph@codesourcery.com>
22649 * config.make.in (NM): New variable.
22651 2012-10-21 Andreas Jaeger <aj@suse.de>
22653 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22654 definitions and declarations that are provided by
22655 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22657 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22660 * elf/Makefile (tests-static): Add tst-leaks1-static.
22661 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22662 ($(objpfx)tst-leaks1-static): New rule.
22663 ($(objpfx)tst-leaks1-static-mem): Likewise.
22664 (tst-leaks1-static-ENV): New macro.
22665 * elf/dl-open.c (dl_open_worker): Check the main application
22666 only if SHARED is defined.
22667 * elf/tst-leaks1-static.c: New file.
22669 2012-10-20 Andreas Jaeger <aj@suse.de>
22671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22672 generic values for Linux.
22673 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22674 and declarations that are provided by <bits/fcntl-linux.h> and
22675 include <bits/fcntl-linux.h>.
22676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22679 2012-10-20 Roland McGrath <roland@hack.frob.com>
22681 * io/fcntl.h: Move include of <bits/types.h> to the top and
22682 include it unconditionally.
22684 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22686 * wcsmbs/Makefile (tests-ifunc): New variable.
22687 (tests): Add $(tests-ifunc).
22688 * wcsmbs/test-wcschr-ifunc.c: New file.
22689 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22690 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22691 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22692 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22693 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22695 * string/Makefile (tests-ifunc): New variable.
22696 (tests): Add $(tests-ifunc).
22697 * string/test-memccpy.c (TEST_NAME): New macro.
22698 * string/test-memchr.c (TEST_NAME): Likewise.
22699 * string/test-memcmp.c (TEST_NAME): Likewise.
22700 * string/test-memcpy.c (TEST_NAME): Likewise.
22701 * string/test-memmem.c (TEST_NAME): Likewise.
22702 * string/test-memmove.c (TEST_NAME): Likewise.
22703 * string/test-memset.c (TEST_NAME): Likewise.
22704 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22705 * string/test-stpcpy.c (TEST_NAME): Likewise.
22706 * string/test-stpncpy.c (TEST_NAME): Likewise.
22707 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22708 * string/test-strcasestr.c (TEST_NAME): Likewise.
22709 * string/test-strcat.c (TEST_NAME): Likewise.
22710 * string/test-strchr.c (TEST_NAME): Likewise.
22711 * string/test-strcmp.c(TEST_NAME): Likewise.
22712 * string/test-strcpy.c (TEST_NAME): Likewise.
22713 * string/test-strcspn.c (TEST_NAME): Likewise.
22714 * string/test-strlen.c (TEST_NAME): Likewise.
22715 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22716 * string/test-strncmp.c (TEST_NAME): Likewise.
22717 * string/test-strncpy.c (TEST_NAME): Likewise.
22718 * string/test-strnlen.c (TEST_NAME): Likewise.
22719 * string/test-strpbrk.c (TEST_NAME): Likewise.
22720 * string/test-strrchr.c (TEST_NAME): Likewise.
22721 * string/test-strspn.c (TEST_NAME): Likewise.
22722 * string/test-strstr.c (TEST_NAME): Likewise.
22723 * string/test-bcopy-ifunc.c: New file.
22724 * string/test-bzero-ifunc.c: Likewise.
22725 * string/test-memccpy-ifunc.c: Likewise.
22726 * string/test-memchr-ifunc.c: Likewise.
22727 * string/test-memcmp-ifunc.c: Likewise.
22728 * string/test-memcpy-ifunc.c: Likewise.
22729 * string/test-memmem-ifunc.c: Likewise.
22730 * string/test-memmove-ifunc.c: Likewise.
22731 * string/test-mempcpy-ifunc.c: Likewise.
22732 * string/test-memset-ifunc.c: Likewise.
22733 * string/test-rawmemchr-ifunc.c: Likewise.
22734 * string/test-stpcpy-ifunc.c: Likewise.
22735 * string/test-stpncpy-ifunc.c: Likewise.
22736 * string/test-strcasecmp-ifunc.c: Likewise.
22737 * string/test-strcasestr-ifunc.c: Likewise.
22738 * string/test-strcat-ifunc.c: Likewise.
22739 * string/test-strchr-ifunc.c: Likewise.
22740 * string/test-strchrnul-ifunc.c: Likewise.
22741 * string/test-strcmp-ifunc.c: Likewise.
22742 * string/test-strcpy-ifunc.c: Likewise.
22743 * string/test-strcspn-ifunc.c: Likewise.
22744 * string/test-strlen-ifunc.c: Likewise.
22745 * string/test-strncasecmp-ifunc.c: Likewise.
22746 * string/test-strncat-ifunc.c: Likewise.
22747 * string/test-strncmp-ifunc.c: Likewise.
22748 * string/test-strncpy-ifunc.c: Likewise.
22749 * string/test-strnlen-ifunc.c: Likewise.
22750 * string/test-strpbrk-ifunc.c: Likewise.
22751 * string/test-strrchr-ifunc.c: Likewise.
22752 * string/test-strspn-ifunc.c: Likewise.
22753 * string/test-strstr-ifunc.c: Likewise.
22755 * debug/Makefile (tests-ifunc): New variable.
22756 (tests): Add $(tests-ifunc).
22757 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22758 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22759 * debug/test-stpcpy_chk-ifunc.c: New file.
22760 * debug/test-strcpy_chk-ifunc.c: Likewise.
22762 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22765 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22766 header is not read in.
22768 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22770 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22771 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22772 directly. Pass built executable to script as
22773 $(built-program-cmd).
22774 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22775 $testprogram without using LD_LIBRARY_PATH and $ldso.
22777 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22778 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22779 $(rtld-installed-name).
22780 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22781 (rtld_installed_name): Likewise.
22782 (library_path): Likewise.
22783 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22784 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22785 $(run-program-prefix) to tst-tables.sh.
22786 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22787 it to run tst-table-from and tst-table-to.
22788 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22789 Pass it to tst-table.sh.
22790 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22791 $(run-program-prefix) to tst-gettext.sh.
22792 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22794 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22796 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22797 to run tst-gettext.
22798 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22799 to run tst-gettext2.
22800 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22801 to run tst-translit.
22802 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22803 $(run-program-prefix) to tst-mtrace.sh.
22804 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22806 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22807 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22808 $(rtld-installed-name).
22809 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22810 (rtld_installed_name): Likewise.
22811 (run_program_prefix): New variable. Use it to run wordexp-test.
22813 * Makeconfig (ARCH): Remove all definitions.
22814 (machine): Likewise.
22815 [ARCH]: Remove conditional code.
22816 [!objdir]: Give error.
22817 [!objdir] (objpfx): Remove.
22818 [!objdir] (common-objpfx): Likewise.
22819 [!objdir] (common-objdir): Likewise.
22820 * configure.in (config_makefile): Remove. Hardcode Makefile in
22821 AC_CONFIG_FILES call.
22822 * configure: Regenerated.
22825 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22827 (testout): Likewise.
22829 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22830 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22831 $(rtld-installed-name).
22832 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22833 (rtld_installed_name): Likwise.
22834 (runit): Remove function.
22835 (run_getconf): New variable, Use it for running getconf binary.
22837 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22840 * string/test-memmem.c (check_result): New function.
22841 (do_one_test): Use it.
22842 (check1): New function.
22843 (test_main): Use it.
22845 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22847 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22849 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22851 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22852 (_G_LSEEK64): Likewise.
22853 (_G_MMAP64): Likewise.
22854 (_G_FSTAT64): Likewise.
22855 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22856 (_G_LSEEK64): Likewise.
22857 (_G_MMAP64): Likewise.
22858 (_G_FSTAT64): Likewise.
22859 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22860 unconditional. Call __mmap64 directly.
22861 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22862 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22863 __lseek64 directly.
22864 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22865 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22867 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22868 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22869 __lseek64 directly.
22870 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22871 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22872 __lseek64 directly.
22873 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22874 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22875 __lseek64 directly.
22876 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22877 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22878 __fxstat64 directly.
22879 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22880 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22882 (freopen64) [!_G_OPEN64]: Remove conditional code.
22883 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22885 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22886 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22888 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22889 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22891 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22892 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22894 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22895 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22897 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22898 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22900 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22901 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22903 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22905 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22908 * manual/memory.texi (Malloc Tunable Parameters): Add note
22909 about free list pointers overwriting some perturb bytes.
22910 Wording suggested by Roland McGrath.
22912 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22914 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22915 (lgamma_test): Likewise.
22916 (tgamma_test): Likewise.
22918 2012-10-16 Florian Weimer <fweimer@redhat.com>
22921 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22922 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22924 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22926 * NEWS: Mention BZ #14716.
22927 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22928 when removing AVAILABLE1_USES_J macro.
22930 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22932 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22933 (__bswap_64): __uint64_t for unsigned 64-bit int.
22935 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22937 * include/string.h (memmem): Declare libc hidden alias.
22938 * string/memmem.c (memmem): Define libc hidden alias.
22939 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22940 __read, __close instead of open, read, close.
22942 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22945 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22947 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22948 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22949 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22951 (__rawmemchr_sse2): Likewise.
22952 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22953 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22954 (__strchr_sse2): Likewise.
22955 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22956 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22957 (__strcasecmp_sse2): Likewise.
22958 (__strncasecmp_sse2): Likewise.
22959 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22960 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22961 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22962 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22963 (__strrchr_sse2): Likewise.
22964 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22966 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22967 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22968 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22969 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22970 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22971 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22972 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22973 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22974 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22975 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22976 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22977 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22978 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22979 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22980 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22981 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22982 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22983 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22984 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22985 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22986 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22987 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22988 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22989 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22990 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22991 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22992 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22993 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22994 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22995 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22997 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22999 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23000 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23001 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23002 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23004 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23006 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23007 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23008 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23009 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23011 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23012 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23013 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23014 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23015 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23016 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23017 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23018 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23019 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23020 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23021 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23022 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23023 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23024 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23025 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23026 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23027 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23028 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23029 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23030 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23031 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23032 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23033 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23034 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23035 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23036 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23037 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23038 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23039 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23040 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23041 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23042 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23043 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23044 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23045 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23046 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23047 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23048 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23049 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23050 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23051 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23053 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23054 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23055 * include/ifunc-impl-list.h: New file.
23056 * misc/ifunc-impl-list.c: Likewise.
23057 * misc/Makefile (routines): Add ifunc-impl-list.
23058 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23059 * string/test-string.h: Include <ifunc-impl-list.h>.
23060 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23061 impl_array): New variables.
23062 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23064 (test_init): Call __libc_ifunc_impl_list to initialize
23065 func_list if TEST_IFUNC and TEST_NAME are defined.
23067 * string/Makefile (strop-tests): Add bcopy and bzero.
23068 * string/test-bcopy.c: New file.
23069 * string/test-bzero.c: Likewise.
23070 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23072 * string/test-memset.c: Support bzero test if TEST_BZERO is
23074 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23076 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23078 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23081 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23083 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23084 * configure: Regenerated.
23086 * Makeconfig (+link-static-before-libc): Don't include
23087 $(link-static-libc).
23089 * libio/libio.h (_IO_pos_t): Remove.
23091 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23093 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23096 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23098 * crypt/crypt-entry.c: Include fips-private.h.
23099 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23100 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23101 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23102 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23104 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23106 * crypt/crypt-private.h: Include stdbool.h.
23107 (_ufc_setup_salt_r): Return bool.
23108 * crypt/crypt-entry.c: Include errno.h.
23109 (__crypt_r): Return NULL with EINVAL for bad salt.
23110 * crypt/crypt_util.c (bad_for_salt): New.
23111 (_ufc_setup_salt_r): Check that salt is long enough and within
23112 the specified alphabet.
23113 * crypt/badsalttest.c: New file.
23114 * crypt/Makefile (tests): Add it.
23115 ($(objpfx)badsalttest): New.
23117 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23119 * NEWS: Add entry for BZ #14602.
23121 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23123 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23125 * math/libm-test.inc: Update comment listing what functions and
23127 (isgreater_test): New function.
23128 (isgreaterequal_test): Likewise.
23129 (isless_test): Likewise.
23130 (islessequal_test): Likewise.
23131 (islessgreater_test): Likewise.
23132 (isunordered_test): Likewise.
23133 (main): Call the new functions.
23135 2012-10-09 Roland McGrath <roland@hack.frob.com>
23137 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23138 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23139 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23140 * sysdeps/i386/configure: Regenerated.
23141 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23142 * sysdeps/mach/configure: Regenerated.
23143 * sysdeps/mach/hurd/configure: Regenerated.
23144 * sysdeps/powerpc/configure: Regenerated.
23145 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23146 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23147 * sysdeps/s390/s390-32/configure: Regenerated.
23148 * sysdeps/s390/s390-64/configure: Regenerated.
23149 * sysdeps/sh/configure: Regenerated.
23150 * sysdeps/sparc/configure: Regenerated.
23151 * sysdeps/unix/sysv/linux/configure: Regenerated.
23152 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23153 * sysdeps/x86_64/configure: Regenerated.
23155 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23156 defined. Don't check if MAP is NULL.
23158 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23160 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23161 (_G_stat64): Likewise.
23162 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23163 (_G_stat64): Likewise.
23164 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23165 instead of struct _G_stat64.
23166 * libio/fileops.c (mmap_remap_check): Likewise.
23167 (decide_maybe_mmap): Likewise.
23168 (_IO_new_file_seekoff): Likewise.
23169 (_IO_file_stat): Likewise.
23170 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23172 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23173 instead of struct _G_stat64.
23174 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23176 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23179 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23181 (CHECK_EOL): New macro.
23182 (two_way_short_needle): Check beginning of haystack for EOL. Use
23184 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23185 Replace with CHECK_EOL.
23186 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23187 Replace with CHECK_EOL.
23189 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23191 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23193 * math/libm-test.inc: Update comment listing what functions and
23195 (finite_test): New function.
23196 (isinf_test): Likewise.
23197 (isnan_test): Likewise.
23198 (fpclassify_test): Test subnormal input.
23199 (isfinite_test): Likewise.
23200 (isnormal_test): Likewise.
23201 (main): Call the new functions.
23203 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23206 * Makerules (%.dynsym): Force C locale when running
23207 $(OBJDUMP) --dynamic-syms.
23209 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23211 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23214 2012-10-06 David S. Miller <davem@davemloft.net>
23216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23217 upper 32-bits of the length value in %o2 since we use branch-on-register
23218 tests which consider the entire 64-bit register.
23220 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23222 * string/test-strstr.c (check2): Add a test for page boundary.
23224 2012-10-05 David S. Miller <davem@davemloft.net>
23226 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23227 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23229 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23231 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23232 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23233 and bzero when HWCAP_SPARC_CRYPTO is present.
23235 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23238 * string/test-strstr.c (check2): New function.
23239 (test_main): Call check2.
23241 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23243 * string/bug-strcasestr1.c (do_test): Moved to ...
23244 * string/test-strcasestr.c (check1): Here. New function.
23245 (do_one_test): Break out result checking code into ...
23246 (check_result): This. New function.
23247 (do_one_test): Call check_result.
23248 (test_main): Call check1.
23249 * string/bug-strchr1.c (do_test): Moved to ...
23250 * string/test-strchr.c (check1): Here. New function.
23251 (do_one_test): Break out result checking code into ...
23252 (check_result): This. New function.
23253 (do_one_test): Call check_result.
23254 (test_main): Call check1.
23255 * string/bug-strstr1.c (main): Moved to ...
23256 * string/test-strstr.c (check1): Here. New function.
23257 (do_one_test): Break out result checking code into ...
23258 (check_result): This. New function.
23259 (do_one_test): Call check_result.
23260 (test_main): Call check1.
23261 * string/bug-strcasestr1.c: Removed.
23262 * string/bug-strchr1.c: Likewise.
23263 * string/bug-strstr1.c: Likewise.
23265 * elf/Makefile (dl-routines): Add hwcaps.
23266 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23267 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23268 (_dl_important_hwcaps): Moved to ...
23269 * elf/dl-hwcaps.c: Here. New file.
23270 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23273 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23274 if IS_IN_rtld isn't defined.
23276 * elf/dl-support.c (_dl_sysinfo_map): New.
23277 Include "get-dynamic-info.h" and "setup-vdso.h".
23278 (_dl_non_dynamic_init): Call setup_vdso.
23279 * elf/dynamic-link.h: Don't include <assert.h>.
23280 (elf_get_dynamic_info): Moved to ...
23281 * elf/get-dynamic-info.h: Here. New file.
23282 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23283 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23284 * elf/setup-vdso.h: Here. New file.
23285 * elf/rtld.c: Include "setup-vdso.h".
23286 (dl_main): Call setup_vdso.
23288 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23290 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23291 creal in comment listing functions tested. List finite, isinf,
23292 isnan, isless, islessequal, isgreater, isgreaterequal,
23293 islessgreater, isunordered, lgamma_r and pow10 as functions and
23294 macros not tested. Mention which functions not tested are aliases
23295 for other functions. Fix typo. Note that signs of NaNs are not
23298 * scripts/config.guess: Update from config.git.
23299 * scripts/config.sub: Likewise.
23301 2012-10-04 Roland McGrath <roland@hack.frob.com>
23303 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23304 * misc/madvise.c (madvise): Renamed to __madvise.
23305 Make madvise a weak alias.
23306 * include/sys/mman.h: Declare __madvise.
23307 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23308 * sysdeps/unix/syscalls.list
23309 (madvise): Make __madvise the strong name, and madvise a weak alias.
23310 * sysdeps/unix/sysv/linux/syscalls.list
23311 (madvise, mmap): Remove redundant entries.
23312 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23313 * malloc/malloc.c (mtrim): Likewise.
23314 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23316 2012-10-03 Roland McGrath <roland@hack.frob.com>
23318 * sysdeps/mach/hurd/dl-cache.c: File removed.
23319 * config.h.in (USE_LDCONFIG): New #undef.
23320 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23321 * configure: Regenerated.
23322 * elf/Makefile (dl-routines): Add dl-cache only under
23323 [$(use-ldconfig) = yes].
23324 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23325 cache on [USE_LDCONFIG].
23326 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23328 * elf/rtld.c (dl_main): Likewise.
23330 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23332 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23333 _SC_LEVEL4_CACHE_LINESIZE.
23335 2012-10-03 Roland McGrath <roland@hack.frob.com>
23337 * sysdeps/unix/bsd/confstr.h: File removed.
23339 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23341 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23344 2012-10-02 Roland McGrath <roland@hack.frob.com>
23346 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23347 Make 'mapoff' field ElfW(Off) rather than off_t.
23349 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23351 * nscd/Makefile: Remove nscd-cflags and all its users.
23352 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23353 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23356 * malloc.c (malloc_printerr): Clarify error message.
23358 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23362 Set bit_FMA_Usable if FMA is supported.
23363 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23365 (bit_FMA4_Usable): Updated.
23366 (index_FMA_Usable): New macro.
23367 (CPUID_FMA): Likewise
23368 (HAS_FMA): Defined with bit_FMA_Usable.
23370 2012-10-01 Roland McGrath <roland@hack.frob.com>
23372 * bits/types.h (__swblk_t): Type removed.
23373 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23374 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23376 (__SWBLK_T_TYPE): Likewise.
23377 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23378 (__SWBLK_T_TYPE): Likewise.
23379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23380 (__SWBLK_T_TYPE): Likewise.
23381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23382 (__SWBLK_T_TYPE): Likewise.
23384 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23385 Honza Horak <hhorak@redhat.com>
23387 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23388 (xdr_mapname): Use YPMAXMAP as maxsize.
23389 (xdr_peername): Use YPMAXPEER as maxsize.
23390 (xdr_keydat): Use YPAXRECORD as maxsize.
23391 (xdr_valdat): Use YPMAXRECORD as maxsize.
23393 2012-10-01 Roland McGrath <roland@hack.frob.com>
23395 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23397 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23398 * csu/init-first.c: ... here.
23399 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23400 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23401 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23402 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23403 * sysdeps/i386/init-first.c: File removed.
23404 * sysdeps/sh/init-first.c: File removed.
23406 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23410 if x * y might underflow to zero and z is zero.
23411 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23412 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23413 * math/libm-test.inc (min_subnorm_value): New variable.
23414 (fma_test): Add more tests.
23415 (fma_test_towardzero): Likewise.
23416 (fma_test_downward): Likewise
23417 (fma_test_upward): Likewise.
23418 (initialize): Set min_subnorm_value.
23420 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23425 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23426 mode for addition resulting in exact zero.
23427 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23430 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23432 * math/libm-test.inc (fma_test): Add more tests.
23433 (fma_test_towardzero): New function.
23434 (fma_test_downward): Likewise.
23435 (fma_test_upward): Likewise.
23436 (main): Call the new functions.
23438 2012-09-28 David S. Miller <davem@davemloft.net>
23440 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23442 2012-09-28 Roland McGrath <roland@hack.frob.com>
23444 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23445 instead of SIGALRM.
23447 * sysdeps/gnu/_G_config.h: Moved to ...
23448 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23449 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23450 * sysdeps/generic/_G_config.h: ... here.
23452 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23454 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23456 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23457 Conditionalize target on [libnss_test1.so-version].
23459 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23461 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23462 (elfobjdir): Move out of conditionals.
23464 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23465 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23466 (__nss_lookup_function): Conditionalize label remove_from_tree on
23467 [!DO_STATIC_NSS || SHARED], matching its only use.
23469 2012-09-28 David S. Miller <davem@davemloft.net>
23471 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23472 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23474 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23476 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23478 when HWCAP_SPARC_CRYPTO is present.
23480 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23482 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23484 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23487 * stdio-common/vfprintf.c (process_string_arg): Revert
23490 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23492 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23494 * stdio-common/tst-sprintf.c: Include <locale.h>
23495 (main): Test sprintf's handling of incomplete multibyte
23498 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23500 * elf/dl-runtime.c (VERSYMIDX): Removed.
23501 * elf/dl-version.c (VERSYMIDX): Likewise.
23502 * elf/do-rel.h (VERSYMIDX): Likewise.
23503 (VALIDX): Likewise.
23504 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23505 * elf/rtld.c (VALIDX): Likewise.
23506 (ADDRIDX): Likewise.
23507 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23508 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23509 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23510 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23511 (VALIDX): Likewise.
23512 (ADDRIDX): Likewise.
23514 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23516 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23518 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23521 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23523 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23524 addresses are in the same scope as 192.0.2/24.
23525 * posix/gai.conf: Document new scope table defaults.
23527 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23530 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23531 for ftell. Compute offsets from write pointers instead.
23532 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23534 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23537 * libio/Makefile (tests): New test case tst-fseek.
23538 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23539 combination works in wide mode.
23540 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23541 state when the external buffer state changes.
23543 2012-09-27 David S. Miller <davem@davemloft.net>
23546 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23547 pass reloc->r_addend in as the 'high' argument to
23548 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23552 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23554 * rt/tst-aio2.c: Include <pthread.h>.
23555 * rt/tst-aio3.c: Likewise.
23557 2012-09-27 Steve Ellcey <sellcey@mips.com>
23559 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23561 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23563 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23564 contents on [SHARED].
23566 2012-09-26 Marek Polacek <polacek@redhat.com>
23570 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23571 for C++ and GCC <4.3 as well as for non GCC compilers.
23573 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23577 2012-09-25 Roland McGrath <roland@hack.frob.com>
23579 * Makefile.in (all, install): Declare with .PHONY.
23580 Reported by Michael Hope <michael.hope@linaro.org>.
23582 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23584 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23585 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23587 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23589 (sydep_routines): Add the new and the internal functions.
23590 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23591 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23593 (GLIBC_2.17): Add the new function.
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23595 (GLIBC_2.17): Likewise.
23596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23597 (GLIBC_2.17): Likewise.
23598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23599 (GLIBC_2.17): Likewise.
23600 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23602 2012-09-25 Alan Modra <amodra@gmail.com>
23604 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23605 Add release barrier before setting once_control to say
23606 initialisation is done. Add hints on lwarx. Use macro in
23608 (clear_once_control): Add release barrier.
23610 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23613 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23615 * math/s_clog10.c (__clog10): Likewise.
23616 * math/s_clog10f.c (__clog10f): Likewise.
23617 * math/s_clog10l.c (__clog10l): Likewise.
23618 * math/s_clogf.c (__clogf): Likewise.
23619 * math/s_clogl.c (__clogl): Likewise.
23620 * math/Makefile (libm-calls): Add x2y2m1.
23621 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23622 (__x2y2m1): Likewise.
23623 (__x2y2m1l): Likewise.
23624 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23625 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23628 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23629 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23630 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23631 * sysdeps/i386/fpu/libm-test-ulps: Update.
23632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23635 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23636 int as type of variable DEPTH.
23637 (glob): Use size_t instead of int as type of variables NEWCOUNT
23640 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23642 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23643 Add s_sincosf-sse2.
23644 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23645 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23646 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23647 macros for using routine as __sincosf_ia32.
23648 Use macro for function declaration and weak_alias.
23649 * sysdeps/i386/fpu/libm-test-ulps: Update.
23651 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23654 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23655 subnormal argument.
23656 * math/s_cexpf.c (__cexpf): Likewise.
23657 * math/s_csinf.c (__csinf): Likewise.
23658 * math/s_csinhf.c (__csinhf): Likewise.
23659 * math/s_ctanf.c (__ctanf): Likewise.
23660 * math/s_ctanhf.c (__ctanhf): Likewise.
23661 * math/s_ccosh.c (__ccoshf): Likewise.
23662 * math/s_cexp.c (__cexpl): Likewise.
23663 * math/s_csin.c (__csin): Likewise.
23664 * math/s_csinh.c (__csinh): Likewise.
23665 * math/s_ctan.c (__ctan): Likewise.
23666 * math/s_ctanh.c (ctanh): Likewise.
23667 * math/s_ccoshl.c (__ccoshl): Likewise.
23668 * math/s_cexpl.c (__cexpl): Likewise.
23669 * math/s_csinl.c (__csinl): Likewise.
23670 * math/s_csinhl.c (__csinhl): Likewise.
23671 * math/s_ctanl.c (__ctanl): Likewise.
23672 * math/s_ctanhl.c (__ctanhl): Likewise.
23674 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23676 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23677 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23678 (_IO_off_t): Define to __off_t, not _G_off_t.
23679 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23680 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23681 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23682 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23683 type of __dummy and __dummy2 fields.
23684 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23685 (_G_ssize_t): Likewise.
23686 (_G_off_t): Likewise.
23687 (_G_pid_t): Likewise.
23688 (_G_uid_t): Likewise.
23689 (_G_wchar_t): Likewise.
23690 (_G_wint_t): Likewise.
23691 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23692 (_G_ssize_t): Likewise.
23693 (_G_off_t): Likewise.
23694 (_G_pid_t): Likewise.
23695 (_G_uid_t): Likewise.
23696 (_G_wchar_t): Likewise.
23697 (_G_wint_t): Likewise.
23698 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23699 (_G_ssize_t): Likewise.
23700 (_G_off_t): Likewise.
23701 (_G_pid_t): Likewise.
23702 (_G_uid_t): Likewise.
23703 (_G_wchar_t): Likewise.
23704 (_G_wint_t): Likewise.
23706 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23708 * malloc/arena.c: Include malloc-sysdep.h.
23709 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23710 is sufficient to shrink the heap or an unmap is needed.
23711 * sysdeps/generic/malloc-sysdep.h: New file. Define
23712 new function check_may_shrink_heap.
23713 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23714 new function check_may_shrink_heap.
23716 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23718 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23721 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23723 * catgets/test-gencat.sh: Add "set -e".
23724 * elf/tst-pathopt.sh: Likewise.
23725 * grp/tst_fgetgrent.sh: Likewise.
23726 * iconvdata/run-iconv-test.sh: Likewise.
23727 * intl/tst-gettext.sh: Likewise.
23728 * intl/tst-gettext2.sh: Likewise.
23729 * intl/tst-gettext4.sh: Likewise.
23730 * intl/tst-gettext6.sh: Likewise.
23731 * intl/tst-translit.sh: Likewise.
23732 * io/ftwtest-sh: Likewise.
23733 * libio/test-freopen.sh: Likewise.
23734 * malloc/tst-mtrace.sh: Likewise.
23735 * posix/globtest.sh: Likewise.
23736 * posix/tst-getconf.sh: Likewise.
23737 * posix/wordexp-tst.sh: Likewise.
23738 * stdio-common/tst-printf.sh: Likewise.
23739 * stdio-common/tst-unbputc.sh: Likewise.
23740 * stdlib/tst-fmtmsg.sh: Likewise.
23741 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23742 * catgets/Makefile: Do not specify -e option when running
23743 testsuite shell scripts.
23744 * elf/Makefile: Likewise.
23745 * grp/Makefile: Likewise.
23746 * iconvdata/Makefile: Likewise.
23747 * intl/Makefile: Likewise.
23748 * io/Makefile: Likewise.
23749 * libio/Makefile: Likewise.
23750 * malloc/Makefile: Likewise.
23751 * posix/Makefile: Likewise.
23752 * stdio-common/Makefile: Likewise.
23753 * stdlib/Makefile: Likewise.
23754 * sysdeps/x86_64/Makefile: Likewise.
23756 * io/ftwtest-sh: Add copyright header.
23757 * posix/globtest.sh: Likewise.
23758 * posix/tst-getconf.sh: Likewise.
23759 * posix/wordexp-tst.sh: Likewise.
23760 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23762 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23765 * Makeconfig (+link): Defined as $(+link-static) if
23766 $(build-shared) isn't yes.
23767 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23769 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23771 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23774 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23775 new chunk size with MALLOC_ALIGN_MASK.
23777 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23780 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23782 (__printf_fphex): Determine rounding using get_rounding_mode and
23784 * stdio-common/tst-printf-round.c (struct hex_test): New
23786 (hex_tests): New variable.
23787 (test_hex_in_one_mode): New function.
23788 (do_test): Also run tests for hex float output.
23790 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23792 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23793 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23794 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23795 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23796 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23797 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23798 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23799 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23801 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23803 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23804 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23805 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23806 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23808 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23811 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23813 * elf/tst-rtld-load-self.sh: New test.
23814 * elf/Makefile: Run it.
23816 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23818 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23819 (tst-writev-ENV): Remove.
23820 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23822 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23824 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23826 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23828 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23830 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23832 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23833 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23834 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23837 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23840 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23841 * config.make.in (have-cpp-asm-debuginfo): Removed.
23842 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23843 * configure: Regenerated.
23845 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23848 * stdio-common/printf_fp.c: Include <stdbool.h> and
23850 (___printf_fp): Determine rounding using get_rounding_mode and
23852 * stdio-common/tst-printf-round.c: New file.
23853 * stdio-common/Makefile (tests): Add tst-printf-round.
23854 (link-libm): New variable.
23855 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23857 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23860 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23861 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23863 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23866 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23868 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23869 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23870 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23871 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23873 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23876 * include/rounding-mode.h: New file.
23877 * sysdeps/generic/get-rounding-mode.h: Likewise.
23878 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23879 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23880 (MAX_VALUE): New macro.
23881 (MIN_VALUE): Likewise.
23882 (overflow_value): New function.
23883 (underflow_value): Likewise.
23884 (round_and_return): Use overflow_value and underflow_value to
23885 determine return values in overflow and underflow cases. Use
23886 round_away to determine rounding depending on rounding mode.
23887 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23888 determine return values in overflow and underflow cases.
23889 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23890 (struct test_results): New structure.
23891 (struct test): Use struct test_results to store expected results
23892 for all rounding modes.
23893 (TEST): Include expected results for all rounding modes.
23894 (test_in_one_mode): New function.
23895 (do_test): Use test_in_one_mode to compute and check results.
23896 Check results for all rounding modes.
23897 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23900 2012-12-09 Allan McRae <allan@archlinux.org>
23902 * sysdeps/i386/fpu/libm-test-ulps: Update
23904 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23906 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23907 (_G_int32_t): Likewise.
23908 (_G_uint16_t): Likewise.
23909 (_G_uint32_t): Likewise.
23910 (_G_HAVE_BOOL): Likewise.
23911 (_G_HAVE_ATEXIT): Likewise.
23912 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23913 (_G_HAVE_IO_FILE_OPEN): Likewise.
23914 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23915 (_G_int32_t): Likewise.
23916 (_G_uint16_t): Likewise.
23917 (_G_uint32_t): Likewise.
23918 (_G_HAVE_BOOL): Likewise.
23919 (_G_HAVE_ATEXIT): Likewise.
23920 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23921 (_G_HAVE_IO_FILE_OPEN): Likewise.
23922 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23923 (_G_int32_t): Likewise.
23924 (_G_uint16_t): Likewise.
23925 (_G_uint32_t): Likewise.
23926 (_G_HAVE_BOOL): Likewise.
23927 (_G_HAVE_ATEXIT): Likewise.
23928 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23929 (_G_HAVE_IO_FILE_OPEN): Likewise.
23931 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23933 * csu/libc-tls.c: Update copyright years.
23935 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23937 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23938 [!_G_USING_THUNKS]: Remove conditional code.
23939 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23940 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23942 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23943 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23944 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23945 (_G_VTABLE_LABEL_PREFIX): Likewise.
23946 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23947 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23948 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23949 (_G_VTABLE_LABEL_PREFIX): Likewise.
23950 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23951 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23952 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23953 (_G_VTABLE_LABEL_PREFIX): Likewise.
23954 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23956 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23958 * libio/Makefile: Include ../Makeconfig before tests.
23959 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23960 only if $(build-shared) is yes.
23962 * iconv/gconv_db.c: Update copyright years.
23964 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23966 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23967 unwind info if defined PIC. Fix special cases description.
23968 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23970 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23972 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23974 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23976 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23978 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23981 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23982 (LDLIBS-tst-chk4): This.
23983 (LDFLAGS-tst-chk5): Renamed to ...
23984 (LDLIBS-tst-chk5): This.
23985 (LDFLAGS-tst-chk6): Renamed to ...
23986 (LDLIBS-tst-chk6): This.
23987 (LDFLAGS-tst-lfschk4): Renamed to ...
23988 (LDLIBS-tst-lfschk4): This.
23989 (LDFLAGS-tst-lfschk5): Renamed to ...
23990 (LDLIBS-tst-lfschk5): This.
23991 (LDFLAGS-tst-lfschk6): Renamed to ...
23992 (LDLIBS-tst-lfschk6): This.
23994 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23995 on $(common-objpfx)soversions.mk.
23997 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24000 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24003 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24005 * malloc/arena.c (arena_get_retry): New function that gets
24006 another arena for the caller to try its request on.
24007 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24008 current arena cannot fulfill the request.
24009 (__libc_memalign): Likewise.
24010 (__libc_memalign): Likewise.
24011 (__libc_pvalloc): Likewise.
24012 (__libc_calloc): Likewise.
24014 2012-09-05 John Tobey <john.tobey@gmail.com>
24017 * manual/arith.texi (Operations on Complex): Fix description
24018 of carg branch cut.
24020 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24023 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24027 * manual/memory.texi (Memory): Make order of menu items match
24030 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24032 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24033 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24034 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24036 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24038 * csu/libc-tls.c (static_dtv): Renamed to ...
24039 (_dl_static_dtv): This. Make it global.
24040 (_dl_initial_dtv): Removed.
24041 (__libc_setup_tls): Updated.
24042 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24043 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24046 2012-09-06 Petr Machata <pmachata@redhat.com>
24048 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24049 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24050 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24051 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24053 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24056 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24057 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24060 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24063 * Makeconfig (link-static-before-libc): Replace $(+prector)
24065 (link-static-after-libc): Replace $(+postctor) with
24067 (link-bounded): Replace $(+prector)/$(+postctor) with
24068 $(+prectorT)/$(+postctorT).
24069 (+prectorT): New macro.
24070 (+postctorT): Likewise.
24072 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24074 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24075 (round_str): Handle values above the maximum for IBM long double
24077 * stdlib/tst-strtod-round.c (tests): Regenerated.
24079 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24081 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24083 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24084 zarch_nohighgprs around the zarch optimized routines.
24085 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24086 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24087 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24090 2012-09-05 David S. Miller <davem@davemloft.net>
24092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24094 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24095 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24096 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24097 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24100 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24102 * malloc/arena.c: Fold copyright years.
24103 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24105 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24107 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24109 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24111 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24113 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24115 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24116 change internal state upon failure.
24118 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24120 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24121 * malloc/memusage.c (mmap): Likewise.
24122 (mmap64, mremap): Likewise. Adjust name in comment.
24124 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24126 * libio/fileops.c: Fix typos in comments.
24127 * libio/oldfileops.c: Likewise.
24128 * libio/wfileops.c: Likewise.
24130 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24133 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24134 (tst-malloc-usable-ENV): Set environment for test case.
24135 * malloc/hooks.c (malloc_check_get_size): New function to get
24137 * malloc/malloc.c (musable): Use malloc_check_get_size.
24138 * malloc/tst-malloc-usable.c: New test case.
24140 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24142 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24144 2012-09-05 Allan McRae <allan@archlinux.org>
24147 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24148 determine header location.
24149 * configure: Regenerated.
24151 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24153 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24155 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24156 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24158 (test): Regenerate.
24160 2012-09-04 David S. Miller <davem@davemloft.net>
24162 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24163 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24164 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24166 2012-09-04 Florian Weimer <fweimer@redhat.com>
24168 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24171 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24173 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24176 * libio/iogetdelim.c: Include <limits.h>.
24177 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24178 + len + 1 would overflow.
24180 2012-09-03 Andreas Jaeger <aj@suse.de>
24182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24183 * sysdeps/i386/fpu/libm-test-ulps: Update.
24185 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24187 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24188 Add s_sinf-sse2, s_conf-sse2.
24190 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24191 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24192 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24193 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24195 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24196 for using routine as __sinf_ia32.
24197 Use macro for function declaration and weak_alias.
24198 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24199 for using routine as __cosf_ia32.
24200 Use macro for function declaration and weak_alias.
24202 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24203 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24205 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24206 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24209 * math/libm-test.inc (cos_test): Add more test cases.
24210 (sin_test): Likewise.
24211 (sincos_test): Likewise.
24213 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24215 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24216 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24220 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24223 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24224 first element of the GOT.
24225 (elf_machine_load_address): Return the difference between
24226 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24228 2012-09-01 Allan McRae <allan@archlinux.org>
24231 * configure.in (AWK): Require gawk version 3.0 or later.
24232 * configure: Regenerated.
24234 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24236 * sysdeps/unix/sysv/linux/kernel-features.h
24237 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24239 [__NR_clock_getres]: Make code unconditional.
24240 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24241 (clock_getcpuclockid): Remove code left unreachable by removal of
24243 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24244 code unconditional.
24245 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24246 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24247 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24248 Make code unconditional.
24249 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24250 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24251 * sysdeps/unix/sysv/linux/clock_settime.c
24252 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24254 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24257 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24260 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24261 scripts/test-installation.pl.
24263 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24264 and $ld_so_version if it is set.
24266 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24269 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24270 failure if reading from procfs failed.
24271 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24273 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24275 * sysdeps/unix/sysv/linux/kernel-features.h
24276 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24277 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24278 Remove conditional code.
24279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24280 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24281 Remove conditional code.
24282 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24283 * sysdeps/unix/sysv/linux/i386/fxstat.c
24284 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24286 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24287 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24289 * sysdeps/unix/sysv/linux/i386/lxstat.c
24290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24292 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24293 Remove conditional code.
24294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24295 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24296 Remove conditional code.
24297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24298 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24299 <kernel-features.h>.
24300 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24302 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24303 Remove conditional code.
24304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24305 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24306 Remove conditional.
24308 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24311 * NEWS: Add fixed bug number.
24313 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24316 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24317 underflowing exponent in case of negative sign.
24318 * stdlib/tst-strtod-round-data: Add more tests.
24319 * stdlib/tst-strtod-round.c (tests): Regenerated.
24322 * stdlib/strtod_l.c (NDIG): Remove.
24323 (HEXNDIG): Likewise.
24324 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24325 smallest representable value.
24326 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24327 lie within an exact representation of 1/2 ulp of the result.
24328 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24330 (TENS_P9_IDX): Define unconditionally.
24331 (TENS_P9_SIZE): Likewise.
24332 (TENS_P10_IDX): Likewise.
24333 (TENS_P10_SIZE): Likewise.
24334 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24335 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24336 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24337 entries for 10^2^13 and 10^2^14.
24338 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24339 (TENS_P13_IDX): Define.
24340 (TENS_P13_SIZE): Likewise.
24341 (TENS_P14_IDX): Likewise.
24342 (TENS_P14_SIZE): Likewise.
24343 (_fpioconst_pow10): Change array size to
24344 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24346 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24347 1024]: Add entries for 10^2^13 and 10^2^14.
24348 [LAST_POW10 > _LAST_POW10]: Remove #error.
24349 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24350 (_fpioconst_pow10): Change array size to
24351 FPIOCONST_POW10_ARRAY_SIZE.
24352 * stdlib/gen-fpioconst.c: New file.
24353 * stdlib/gen-tst-strtod-round.c: Likewise.
24354 * stdlib/tst-strtod-round-data: Likewise.
24355 * stdlib/tst-strtod-round.c: Likewise.
24356 * stdlib/Makefile (tests): Add tst-strtod-round.
24359 * stdlib/strtod_l.c: Include <stdint.h>.
24360 (NDEBUG): Do not define.
24361 (round_and_return): Change EXPONENT parameter to type intmax_t.
24362 Rearrange calculations to avoid internal overflow possibilities.
24363 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24364 Rearrange calculations to avoid internal overflow possibilities.
24365 Assert that number fits inside MPNSIZE limbs.
24366 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24367 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24368 calculations and add assertions to avoid internal overflow
24369 possibilities. Add casts to avoid signed/unsigned operations.
24370 * stdlib/tst-strtod-overflow.c: New file.
24371 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24373 2012-08-25 Marek Polacek <polacek@redhat.com>
24375 * time/time.h: Fix some typos in comments.
24377 2012-08-23 Roland McGrath <roland@hack.frob.com>
24379 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24380 * posix/tst-rfc3484-2.c: Likewise.
24381 * posix/tst-rfc3484-3.c: Likewise.
24383 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24385 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24386 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24388 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24390 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24391 #include of fxstatat64.c.
24393 2012-08-22 Roland McGrath <roland@hack.frob.com>
24395 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24396 * shadow/getspent_r.c: Likewise.
24397 * shadow/getspnam.c: Likewise.
24398 * shadow/getspnam_r.c: Likewise.
24399 * gshadow/getsgent.c: Likewise.
24400 * gshadow/getsgent_r.c: Likewise.
24401 * gshadow/getsgnam.c: Likewise.
24402 * gshadow/getsgnam_r.c: Likewise.
24403 * inet/getnetbyad.c: Likewise.
24404 * inet/getnetbyad_r.c: Likewise.
24405 * inet/getnetbynm.c: Likewise.
24406 * inet/getnetbynm_r.c: Likewise.
24407 * inet/getnetent.c: Likewise.
24408 * inet/getnetent_r.c: Likewise.
24409 * inet/getproto.c: Likewise.
24410 * inet/getproto_r.c: Likewise.
24411 * inet/getprtent.c: Likewise.
24412 * inet/getprtent_r.c: Likewise.
24413 * inet/getprtname.c: Likewise.
24414 * inet/getprtname_r.c: Likewise.
24415 * inet/getrpcbyname.c: Likewise.
24416 * inet/getrpcbyname_r.c: Likewise.
24417 * inet/getrpcbynumber.c: Likewise.
24418 * inet/getrpcbynumber_r.c: Likewise.
24419 * inet/getrpcent.c: Likewise.
24420 * inet/getrpcent_r.c: Likewise.
24421 * inet/getaliasent.c: Likewise.
24422 * inet/getaliasent_r.c: Likewise.
24423 * inet/getaliasname.c: Likewise.
24424 * inet/getaliasname_r.c: Likewise.
24425 * nscd/getgrgid_r.c: Likewise.
24426 * nscd/getgrnam_r.c: Likewise.
24427 * nscd/gethstbyad_r.c: Likewise.
24428 * nscd/gethstbynm3_r.c: Likewise.
24429 * nscd/getpwnam_r.c: Likewise.
24430 * nscd/getpwuid_r.c: Likewise.
24431 * nscd/getsrvbynm_r.c: Likewise.
24432 * nscd/getsrvbypt_r.c: Likewise.
24433 * nscd/gai.c: Likewise.
24435 * configure.in (build_nscd): New substituted variable, set
24436 by --disable-build-nscd and defaults to $use_nscd.
24437 * configure: Regenerated.
24438 * config.make.in (build-nscd): New substituted variable.
24439 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24440 Change conditional to require [$(build-nscd) = yes] as well.
24441 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24444 * configure.in (use_nscd): New substituted variable, set by
24445 --disable-nscd. If enabled, define USE_NSCD.
24446 * configure: Regenerated.
24447 * config.h.in: Add USE_NSCD.
24448 * config.make.in (use-nscd): New substituted variable.
24449 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24450 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24451 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24452 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24453 (CFLAGS-getgrnam_r.c): Likewise.
24454 (CFLAGS-initgroups.c): Likewise.
24455 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24456 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24458 * inet/getnetgrent_r.c
24459 (nscd_setnetgrent): New function, broken out of ...
24460 (setnetgrent): ... here. Call it.
24461 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24462 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24463 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24464 * nscd/Makefile (routines, aux): Move definitions after include of
24465 Makeconfig. Conditionalize on [$(use-nscd) != no].
24466 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24467 Conditionalize on [USE_NSCD].
24468 (is_nscd, nscd_init_cb): Likewise.
24469 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24470 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24471 * nss/nss_db/db-init.c: Likewise.
24472 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24474 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24475 (make_request): Use it.
24476 (cache_valid_p): New function.
24477 (__check_pf): Use it.
24478 * NEWS: Add item for --disable-nscd.
24480 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24482 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24483 to support sed >= 4.2.1-20-ga9bf076.
24484 * configure: Regenerated.
24486 2012-08-22 Roland McGrath <roland@hack.frob.com>
24488 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24489 Conditionalize whole body on [IREL].
24491 2012-08-22 Jeff Law <law@redhat.com>
24494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24495 if the family is PF_UNSPEC.
24497 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24499 * Makerules (lib-version): Rename from V.
24500 (install-lib-nosubdir): Change V to lib-version.
24502 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24505 * powerpc32/power6/wcschr.c: New file.
24506 * powerpc32/power6/wcscpy.c: New file.
24507 * powerpc32/power6/wcsrchr.c: New file.
24508 * powerpc64/power6/wcschr.c: New file.
24509 * powerpc64/power6/wcscpy.c: New file.
24510 * powerpc64/power6/wcsrchr.c: New file.
24512 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24514 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24515 (two_way_short_needle): Use it.
24516 * string/strstr.c (AVAILABLE1_USES_J): Define.
24517 * string/strcasestr.c: Likewise.
24519 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24521 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24524 * NEWS: Add an entry.
24525 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24526 define their defaults.
24527 (two_way_short_needle): Detect end-of-string on-the-fly.
24528 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24529 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24530 * string/bug-strcasestr1.c: New test.
24531 * string/Makefile: Run it.
24533 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24536 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24537 the first character.
24539 2012-08-21 Roland McGrath <roland@hack.frob.com>
24541 * csu/elf-init.c (__libc_csu_irel): Function removed.
24542 * csu/libc-start.c (apply_irel): New function.
24543 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24545 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24547 * sysdeps/unix/sysv/linux/kernel-features.h
24548 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24549 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24550 <kernel-features.h>.
24551 [__NR_fadvise64_64]: Make code unconditional.
24552 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24553 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24554 !__NR_fadvise64_64)]: Likewise.
24555 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24556 !__NR_fadvise64_64))]: Likewise.
24557 [__NR_fadvise64]: Make code unconditional.
24558 [!__NR_fadvise64]: Remove conditional code.
24559 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24560 <kernel-features.h>.
24561 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24563 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24566 not include <kernel-features.h>.
24567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24571 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24572 include <kernel-features.h>.
24573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24578 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24580 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24581 slight instruction rearrangements per scrollpipe analysis.
24582 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24584 2012-08-20 Roland McGrath <roland@hack.frob.com>
24586 * manual/syslog.texi (syslog; vsyslog, closelog):
24587 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24588 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24590 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24591 DSOCAPS to match condition on defining it.
24593 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24595 * sysdeps/unix/sysv/linux/kernel-features.h
24596 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24598 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24599 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24601 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24602 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24607 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24608 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24610 * sysdeps/unix/sysv/linux/kernel-features.h
24611 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24612 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24614 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24615 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24616 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24617 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24618 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24619 Make code unconditional.
24620 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24621 (__mmap64) [!__NR_mmap2]: Likewise.
24622 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24623 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24624 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24625 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24626 [__NR_mmap2]: Make code unconditional.
24627 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24628 (__mmap64) [!__NR_mmap2]: Likewise.
24630 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24632 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24634 2012-08-18 Andreas Jaeger <aj@suse.de>
24636 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24638 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24640 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24641 * include/unistd.h (__have_sock_cloexec): Likewise.
24642 (__have_pipe2): Likewise.
24643 (__have_dup3): Likewise.
24645 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24648 * include/unistd.h (__have_pipe2): Change define into an extern int.
24649 (__have_dup3): Likewise.
24650 * socket/have_sock_cloexec.c: Include fcntl.h.
24651 (__have_pipe2): New variable.
24652 (__have_dup3): Likewise.
24654 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24656 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24658 2012-08-17 Marek Polacek <polacek@redhat.com>
24660 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24661 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24663 2012-08-17 Roland McGrath <roland@hack.frob.com>
24665 * configure.in: Add AC_SUBST for sysheaders.
24666 * configure: Regenerated.
24667 * config.make.in (sysheaders): New substituted variable.
24669 * sysdeps/unix/mkfifo.c: Moved ...
24670 * sysdeps/posix/mkfifo.c: ... here.
24671 * sysdeps/unix/mkfifoat.c: Moved ...
24672 * sysdeps/posix/mkfifoat.c: ... here.
24674 * sysdeps/unix/utime.c: Moved ...
24675 * sysdeps/posix/utime.c: ... here.
24677 * sysdeps/unix/time.c: Moved ...
24678 * sysdeps/posix/time.c: ... here.
24679 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24680 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24682 * sysdeps/unix/nice.c: Moved ...
24683 * sysdeps/posix/nice.c: ... here.
24685 * sysdeps/unix/alarm.c: Moved ...
24686 * sysdeps/posix/alarm.c: ... here.
24688 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24690 2012-08-17 Jeff Law <law@redhat.com>
24692 * intl/Makefile (codeset_mo): New variable.
24693 ($(codeset_mo)): New target.
24694 (tst-codeset.out): Depend on that. Remove explicit rule.
24695 (tst-gettext3.out, tst-gettext5.out): Likewise.
24696 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24697 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24698 * intl/tst-codeset.sh: Remove.
24699 * intl/tst-gettext3.sh: Likewise.
24700 * intl/tst-gettext5.sh: Likewise.
24702 2012-08-17 Roland McGrath <roland@hack.frob.com>
24704 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24705 * sysdeps/unix/syscalls.list: ... here.
24707 * sysdeps/posix/getaddrinfo.c
24708 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24709 (gaiconf_init, gaiconf_reload): Use them.
24710 [!_STATBUF_ST_NSEC]
24711 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24712 Define using time_t rather than struct timespec.
24714 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24715 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24717 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24719 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24720 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24723 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24724 __libc_cleanup_push argument.
24726 * bits/param.h: New file.
24727 * misc/sys/param.h: New file.
24728 * include/sys/param.h: New file.
24729 * misc/Makefile (headers): Add bits/param.h.
24730 * sysdeps/generic/sys/param.h: File removed.
24731 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24732 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24733 * sysdeps/mach/hurd/bits/param.h: New file.
24734 * sysdeps/mach/hurd/sys/param.h: File removed.
24736 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24739 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24741 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24742 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24745 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24746 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24747 rather than -D_IO_MTSAFE_IO conditionally.
24748 * stdio-common/Makefile (CPPFLAGS): Likewise.
24749 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24750 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24751 Use $(libio-mtsafe).
24752 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24753 of -D_IO_MTSAFE_IO.
24754 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24755 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24756 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24757 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24758 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24759 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24760 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24761 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24762 (CFLAGS-fread_u_chk.c): Likewise.
24763 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24764 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24765 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24766 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24767 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24768 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24769 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24770 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24771 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24773 * libio/Makefile: Test [$(libc-reentrant) = yes]
24774 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24777 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24778 * sysdeps/pthread/configure: File removed.
24779 * sysdeps/pthread/Makeconfig: New file.
24780 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24781 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24783 2012-08-16 Gary Benson <gbenson@redhat.com>
24785 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24786 unmapping the first object in a namespace.
24788 2012-08-16 Roland McGrath <roland@hack.frob.com>
24790 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24791 (__internal_setnetgrent): ... this. Add internal_function to
24792 definition. Add libc_hidden_def.
24793 (setnetgrent): Update caller.
24794 (internal_endnetgrent): Renamed to ...
24795 (__internal_endnetgrent): ... this. Add internal_function to
24796 definition. Add libc_hidden_def.
24797 (endnetgrent): Update caller.
24798 (internal_getnetgrent_r): Renamed to ...
24799 (__internal_getnetgrent_r): ... this. Add internal_function to
24800 definition. Add libc_hidden_def.
24801 (__getnetgrent_r): Update caller.
24802 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24804 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24806 * stdlib/longlong.h: Update from GCC.
24808 2012-08-16 Roland McGrath <roland@hack.frob.com>
24810 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24811 on _QL, which is set by umul_ppmm but never used.
24812 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24813 variables, which are set by GMP macros but never used.
24814 * stdio-common/_itowa.c (_itowa): Likewise.
24815 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24816 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24818 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24820 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24821 struct La_sh_regs is not constant.
24822 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24823 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24824 and struct La_sparc64_regs are not constant.
24826 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24828 * sysdeps/unix/sysv/linux/kernel-features.h
24829 (__ASSUME_POSIX_TIMERS): Remove.
24830 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24831 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24832 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24833 Make code unconditional.
24834 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24835 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24836 Make code unconditional.
24837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24838 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24839 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24841 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24842 Make code unconditional.
24843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24844 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24845 (__libc_missing_posix_timers): Remove.
24847 2012-08-15 Roland McGrath <roland@hack.frob.com>
24849 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24850 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24852 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24854 * elf/dl-sym.c: Include <stdlib.h>.
24856 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24857 constants, which avoids warnings in 32-bit builds.
24859 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24860 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24862 * misc/lseek.c: File moved to ...
24863 * io/lseek.c: ... here.
24865 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24867 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24868 shifting LEN more than 31 bits at once.
24870 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24873 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24874 segmentation fault for a case of two empty input strings.
24875 * string/test-strncasecmp.c (check1): Renamed to...
24876 (bz12205): ...this.
24877 (bz14195): Add new testcase for two empty input strings and N > 0.
24878 (test_main): Call new testcase, adapt for renamed function.
24880 2012-08-15 Andreas Jaeger <aj@suse.de>
24883 * crypt/md5test2.c: New test, based on test supplied by Serge
24884 Belyshev <belyshev@depni.sinp.msu.ru>.
24885 * crypt/Makefile (xtests): Add md5test-giant..
24886 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24888 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24891 * crypt/md5.c (md5_process_block): Don't assume the buffer
24892 length is less than 2**32.
24893 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24894 length is less than 2**64.
24896 2012-08-15 Roland McGrath <roland@hack.frob.com>
24898 * string/str-two-way.h: Include <sys/param.h>.
24899 (MAX): Macro removed.
24901 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24902 Move #define and #undef of memmove to just before and after
24903 including <string.h>.
24905 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24906 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24907 and after including <string.h>. Move declarations of
24908 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24909 to before #include "string/memmove.c".
24911 * include/dirent.h: Declare __getdirentries.
24913 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24914 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24916 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24918 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24919 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24920 * sysdeps/i386/configure: Regenerated.
24921 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24922 STABS_CURRENT_FILE, and STABS_FUN.
24923 (END): Remove call to STABS_FUN_END.
24924 (STABS_CURRENT_FILE1): Delete.
24925 (STABS_CURRENT_FILE): Likewise.
24926 (STABS_FUN): Likewise.
24927 (STABS_FUN_END): Likewise.
24928 (STABS_FUN2): Likewise.
24929 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24930 * sysdeps/x86_64/configure: Regenerated.
24932 2012-08-14 Roland McGrath <roland@hack.frob.com>
24934 * elf/dl-open.c: Include <atomic.h>.
24935 * elf/dl-lookup.c: Likewise.
24937 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24939 * sysdeps/unix/sysv/linux/kernel-features.h
24940 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24941 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24943 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24945 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24946 condition on __ASSUME_CLONE_THREAD_FLAGS.
24948 2012-08-14 Andreas Jaeger <aj@suse.de>
24950 * sysdeps/i386/fpu/libm-test-ulps: Update.
24952 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24954 * include/atomic.h (atomic_exchange_and_add): Split into ...
24955 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24958 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24962 2012-08-13 Jeff Law <law@redhat.com>
24964 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24965 null byte in the output string.
24967 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24969 * sysdeps/unix/sysv/linux/kernel-features.h
24970 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24971 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24972 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24973 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24974 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24975 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24976 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24978 2012-08-09 Jeff Law <law@redhat.com>
24981 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24982 When avoid_arena is set, don't retry in the that arena. Pick the
24983 next one, whatever it might be.
24984 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24985 (arena_lock): Pass in new parameter to arena_get2.
24986 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24988 (__libc_malloc): Unify retrying after main arena failure with
24989 __libc_memalign version.
24990 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24992 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24995 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24996 to __redirect_strstr.
24997 (__strstr_sse42): Use typeof __redirect_strstr.
24998 (__strstr_ia32): Likewise.
24999 (__libc_strstr): New prototype.
25000 (strstr): Renamed to ...
25001 (__libc_strstr): This.
25002 (strstr): New strong alias of __libc_strstr.
25003 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25004 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25007 (__libc_time): New prototype.
25008 (time_ifunc): Replace time with __libc_time.
25009 (time): New strong alias and hidden definition of __libc_time.
25010 (__GI_time): Remove strong alias.
25011 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25012 Include <stddef.h>.
25013 (memmove): Redefined to __redirect_memmove.
25014 (__memmove_sse2): Use typeof __redirect_memmove.
25015 (__memmove_ssse3): Likewise.
25016 (__memmove_ssse3_back): Likewise.
25017 (__libc_memmove): New prototype.
25018 (memmove): Renamed to ...
25019 (__libc_memmove): This.
25020 (memmove): New strong alias of __libc_memmove.
25022 2012-08-08 Mark Salter <msalter@redhat.com>
25025 (R_MN10300_TLS_GD): Define.
25026 (R_MN10300_TLS_LD): Likewise.
25027 (R_MN10300_TLS_LDO): Likewise.
25028 (R_MN10300_TLS_GOTIE): Likewise.
25029 (R_MN10300_TLS_IE): Likewise.
25030 (R_MN10300_TLS_LE): Likewise.
25031 (R_MN10300_TLS_DTPMOD): Likewise.
25032 (R_MN10300_TLS_DTPOFF): Likewise.
25033 (R_MN10300_TLS_TPOFF): Likewise.
25034 (R_MN10300_SYM_DIFF): Likewise.
25035 (R_MN10300_ALIGN): Likewise.
25036 (R_MN10300_NUM): Update.
25038 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25040 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25043 2012-08-08 Roland McGrath <roland@hack.frob.com>
25045 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25047 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25048 sysdeps/unix -> sysdeps/posix move.
25049 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25051 2012-08-07 Allan McRae <allan@archlinux.org>
25054 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25055 (SUNOS_CPP): Likewise.
25056 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25058 (open_input): Call CPP using execvp.
25060 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25062 * sysdeps/unix/sysv/linux/kernel-features.h
25063 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25064 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25065 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25066 (__ASSUME_WAITID_SYSCALL): Likewise.
25067 * sysdeps/unix/sysv/linux/dl-execstack.c
25068 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25069 code unconditional.
25070 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25072 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25073 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25074 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25076 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25078 [__ASSUME_WAITID_SYSCALL]: Likewise.
25079 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25081 2012-08-07 Roland McGrath <roland@hack.frob.com>
25083 * sysdeps/unix/closedir.c: Renamed to ...
25084 * sysdeps/posix/closedir.c: ... here.
25085 * sysdeps/unix/dirfd.c: Renamed to ...
25086 * sysdeps/posix/dirfd.c: ... here.
25087 * sysdeps/unix/dirstream.h: Renamed to ...
25088 * sysdeps/posix/dirstream.h: ... here.
25089 * sysdeps/unix/fdopendir.c: Renamed to ...
25090 * sysdeps/posix/fdopendir.c: ... here.
25091 * sysdeps/unix/opendir.c: Renamed to ...
25092 * sysdeps/posix/opendir.c: ... here.
25093 * sysdeps/unix/readdir.c: Renamed to ...
25094 * sysdeps/posix/readdir.c: ... here.
25095 * sysdeps/unix/readdir_r.c: Renamed to ...
25096 * sysdeps/posix/readdir_r.c: ... here.
25097 * sysdeps/unix/rewinddir.c: Renamed to ...
25098 * sysdeps/posix/rewinddir.c: ... here.
25099 * sysdeps/unix/seekdir.c: Renamed to ...
25100 * sysdeps/posix/seekdir.c: ... here.
25101 * sysdeps/unix/telldir.c: Renamed to ...
25102 * sysdeps/posix/telldir.c: ... here.
25103 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25104 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25105 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25106 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25108 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25109 * bits/fcntl.h: ... here.
25111 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25113 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25114 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25115 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25116 (struct flock): Move l_start, l_len to the beginning.
25117 Use __pid_t for l_pid.
25118 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25119 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25120 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25121 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25122 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25123 [__USE_LARGEFILE64] (struct flock64): New type.
25124 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25126 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25127 * bits/dirent.h: ... here.
25129 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25130 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25132 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25135 Change from 2.6.0 to 2.6.16.
25136 * sysdeps/unix/sysv/linux/configure: Regenerated.
25137 * sysdeps/unix/sysv/linux/kernel-features.h
25138 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25139 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25141 (__ASSUME_UTIMES): Likewise.
25142 (__ASSUME_CLONE_STOPPED): Remove.
25143 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25144 architectures, not kernel version.
25145 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25146 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25147 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25148 (__ASSUME_WAITID_SYSCALL): Likewise.
25149 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25150 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25151 * README: State 2.6.16 as minimum Linux kernel version. Do not
25152 refer to older versions.
25154 2012-08-06 Roland McGrath <roland@hack.frob.com>
25156 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25157 Define alphasort64 as an alias.
25158 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25159 Define versionsort64 as an alias.
25160 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25161 Define scandir64 as an alias.
25162 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25163 Define scandirat64 as an alias.
25164 * dirent/alphasort64.c (alphasort64):
25165 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25166 * dirent/versionsort64.c: Likewise.
25167 * dirent/scandir64.c: Likewise.
25168 * dirent/scandirat64.c: Likewise.
25169 * sysdeps/wordsize-64/alphasort.c: File removed.
25170 * sysdeps/wordsize-64/alphasort64.c: File removed.
25171 * sysdeps/wordsize-64/scandir.c: File removed.
25172 * sysdeps/wordsize-64/scandir64.c: File removed.
25173 * sysdeps/wordsize-64/scandirat.c: File removed.
25174 * sysdeps/wordsize-64/scandirat64.c: File removed.
25175 * sysdeps/wordsize-64/versionsort.c: File removed.
25176 * sysdeps/wordsize-64/versionsort64.c: File removed.
25177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25179 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25180 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25181 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25182 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25183 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25184 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25186 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25188 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25190 [defined __arch64__ || defined __sparcv9]
25191 (__INO_T_MATCHES_INO64_T): New macro.
25192 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25193 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25194 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25195 * sysdeps/unix/sysv/linux/bits/dirent.h
25196 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25197 (_DIRENT_MATCHES_DIRENT64): New macro.
25199 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25200 Define lockf64 as an alias.
25201 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25202 Define fseeko64 as an alias.
25203 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25204 Define ftello64 as an alias.
25205 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25206 Define _IO_fgetpos64 and fgetpos64 as aliases.
25207 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25208 Define _IO_fsetpos64 and fsetpos64 as aliases.
25209 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25210 Conditionalize body on this.
25211 * libio/fseeko64.c: Likewise.
25212 * libio/ftello64.c: Likewise.
25213 * libio/iofgetpos64.c: Likewise.
25214 * libio/iofsetpos64.c: Likewise.
25215 * sysdeps/wordsize-64/lockf.c: File removed.
25216 * sysdeps/wordsize-64/lockf64.c: File removed.
25217 * sysdeps/wordsize-64/fseeko.c: File removed.
25218 * sysdeps/wordsize-64/fseeko64.c: File removed.
25219 * sysdeps/wordsize-64/ftello.c: File removed.
25220 * sysdeps/wordsize-64/ftello64.c: File removed.
25221 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25222 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25223 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25224 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25225 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25227 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25228 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25229 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25230 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25233 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25234 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25236 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25237 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25238 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25239 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25240 [defined __arch64__ || defined __sparcv9]
25241 (__OFF_T_MATCHES_OFF64_T): New macro.
25242 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25243 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25245 (__OFF_T_MATCHES_OFF64_T): New macro.
25247 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25249 * stdlib/secure-getenv.c (__secure_getenv): Replace
25250 GLIBC_2_16 with GLIBC_2_17.
25252 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25254 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25255 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25257 2012-08-03 David S. Miller <davem@davemloft.net>
25259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25261 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25265 (__ASSUME_CORRECT_SI_PID): Likewise.
25266 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25267 (__ASSUME_TMPFS_NAME): Likewise.
25268 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25269 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25270 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25271 (HAVE_AUX_SECURE): Make definition unconditional.
25272 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25273 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25275 2012-08-03 Roland McGrath <roland@hack.frob.com>
25277 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25278 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25279 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25280 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25281 __eloop_threshold instead of SYMLOOP_MAX.
25283 * sysdeps/generic/eloop-threshold.h: New file.
25284 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25286 * elf/chroot_canon.c (chroot_canon): Likewise.
25288 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25291 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25292 Change to 2.6.0 everywhere.
25293 * sysdeps/unix/sysv/linux/configure: Regenerated.
25294 * sysdeps/unix/sysv/linux/kernel-features.h
25295 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25296 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25298 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25299 (__ASSUME_FUTEX_REQUEUE): Remove.
25300 (__ASSUME_STATFS64): Define unconditionally.
25301 (__ASSUME_AT_SECURE): Likewise.
25302 (__ASSUME_CORRECT_SI_PID): Likewise.
25303 (__ASSUME_TGKILL): Define without depending on kernel version for
25305 (__ASSUME_UTIMES): Likewise.
25306 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25308 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25309 (__ASSUME_TMPFS_NAME): Likewise.
25310 * README: Update reference to Linux kernel versions.
25312 2012-08-02 Marek Polacek <polacek@redhat.com>
25315 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25316 libc_cv_asm_type_prefix with %.
25317 * configure: Regenerated.
25318 * include/libc-symbols.h: Remove comment about
25319 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25320 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25321 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25322 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25323 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25324 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25325 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25326 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25327 * elf/tst-unique2mod1.c: Likewise.
25328 * elf/tst-unique1mod2.c: Likewise.
25329 * elf/tst-unique1mod1.c: Likewise.
25330 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25331 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25332 Replace ASM_TYPE_DIRECTIVE with .type.
25333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25334 * sysdeps/i386/sysdep.h: Likewise.
25335 * sysdeps/x86_64/sysdep.h: Likewise.
25336 * sysdeps/sh/sysdep.h: Likewise.
25337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25338 Do not define ASM_TYPE_DIRECTIVE.
25339 * sysdeps/powerpc/sysdep.h: Likewise.
25340 * sysdeps/powerpc/powerpc32/sysdep.h:
25341 Replace ASM_TYPE_DIRECTIVE with .type.
25342 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25343 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25344 * sysdeps/i386/fpu/e_powf.S: Likewise.
25345 * sysdeps/i386/fpu/e_expl.S: Likewise.
25346 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25348 * sysdeps/i386/fpu/e_pow.S: Likewise.
25349 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25350 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25351 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25352 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25353 * sysdeps/i386/fpu/e_log2.S: Likewise.
25354 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25355 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25356 * sysdeps/i386/fpu/e_powl.S: Likewise.
25357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25358 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25359 * sysdeps/i386/fpu/e_logl.S: Likewise.
25360 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25361 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25362 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25363 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25364 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25365 * sysdeps/i386/fpu/e_log.S: Likewise.
25366 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25367 * sysdeps/i386/fpu/e_logf.S: Likewise.
25368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25369 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25370 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25371 * sysdeps/i386/fpu/e_log10.S: Likewise.
25372 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25373 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25374 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25375 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25377 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25378 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25379 * sysdeps/i386/i686/strtok.S: Likewise.
25380 * sysdeps/i386/i386-mcount.S: Likewise.
25381 * sysdeps/i386/strtok.S: Likewise.
25382 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25383 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25384 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25385 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25386 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25387 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25388 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25389 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25390 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25391 * sysdeps/x86_64/_mcount.S: Likewise.
25392 * sysdeps/x86_64/strtok.S: Likewise.
25393 * sysdeps/sh/_mcount.S: Likewise.
25395 2012-08-01 Roland McGrath <roland@hack.frob.com>
25397 * libio/iofopen.c: Include <fcntl.h>.
25398 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25399 (_IO_fopen64, fopen64): Define as aliases.
25400 * libio/iofopen64.c: Include <fcntl.h>.
25401 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25402 Conditionalize body on this.
25403 * sysdeps/wordsize-64/iofopen.c: File removed.
25404 * sysdeps/wordsize-64/iofopen64.c: File removed.
25406 2012-08-01 Marek Polacek <polacek@redhat.com>
25408 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25409 Use dlfcn directly instead of a variable.
25410 (binfmt-subdir): Do not define.
25413 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25416 Remove all definitions.
25417 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25418 <kernel-features.h>.
25419 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25420 (miss_F_GETOWN_EX): Remove all definitions.
25421 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25423 [!__ASSUME_FCNTL64]: Remove conditional code.
25424 [__ASSUME_FCNTL64]: Make code unconditional.
25425 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25426 <kernel-features.h>.
25427 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25428 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25429 (lockf64) [__NR_fcntl64]: Make code unconditional.
25430 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25432 * sysdeps/unix/sysv/linux/kernel-features.h
25433 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25434 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25435 Make code unconditional.
25436 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25437 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25439 [__NR_vfork]: Make code unconditional.
25440 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25441 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25443 [__NR_vfork]: Make code unconditional.
25444 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25445 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25447 2012-08-01 Roland McGrath <roland@hack.frob.com>
25449 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25450 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25452 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25453 Define mkstemp64 as an alias.
25454 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25455 Define mkstemps64 as an alias.
25456 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25457 Define mkostemp64 as an alias.
25458 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25459 Define mkostemps64 as an alias.
25460 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25461 Conditionalize body on this.
25462 * misc/mkostemp64.c: Likewise.
25463 * misc/mkostemps64.c: Likewise.
25464 * misc/mkstemps64.c: Likewise.
25465 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25466 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25467 * sysdeps/wordsize-64/mkostemp.c: File removed.
25468 * sysdeps/wordsize-64/mkstemp.c: File removed.
25469 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25470 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25472 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25475 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25476 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25477 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25478 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25480 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25481 compat_symbol macros from <shlib-compat.h> rather than the underlying
25482 default_symbol_version and symbol_version macros, so that DEFAULT
25483 lines in shlib-versions are respected.
25484 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25486 2012-08-01 Florian Weimer <fweimer@redhat.com>
25488 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25489 Declare with warn_unused_result.
25490 (setgid, setregid, setegid, setresgid): Likewise.
25491 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25493 * WUR-REPORT: Remove set*id functions.
25495 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25497 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25499 2012-07-31 Roland McGrath <roland@hack.frob.com>
25502 * include/sys/socket.h (__libc_accept, __libc_accept4):
25503 Add attribute_hidden.
25504 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25506 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25508 * inet/getnetgrent_r.c (setup): Likewise.
25510 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25512 2012-07-31 David S. Miller <davem@davemloft.net>
25514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25516 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25519 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25520 value between 1.0 and 2.0 and smaller part has absolute value less
25522 * math/s_clog10.c (__clog10): Likewise.
25523 * math/s_clog10f.c (__clog10f): Likewise.
25524 * math/s_clog10l.c (__clog10l): Likewise.
25525 * math/s_clogf.c (__clogf): Likewise.
25526 * math/s_clogl.c (__clogl): Likewise.
25527 * math/libm-test.inc (clog_test): Add more tests.
25528 (clog10_test): Likewise.
25529 * sysdeps/i386/fpu/libm-test-ulps: Update.
25530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25532 2012-07-31 Florian Weimer <fweimer@redhat.com>
25534 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25535 Exit with zero in case no suitable GID is found, and write a
25536 message to standard error.
25538 2012-07-30 Roland McGrath <roland@hack.frob.com>
25540 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25542 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25543 (MAXPATHLEN): Removed.
25544 (NOGROUP, NODEV): New macros.
25545 (setbit, clrbit, isset, isclr): New macros.
25546 (howmany, roundup, powerof2): New macros.
25547 (DEV_BSIZE): New macro.
25549 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25550 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25552 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25553 definition on [!__NO_LONG_DOUBLE_MATH].
25555 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25556 PTR_MANGLE and PTR_DEMANGLE.
25558 * socket/accept4.c (accept4): Rename to __libc_accept4.
25559 Define accept4 as a weak alias.
25561 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25562 on [_DIRENT_HAVE_D_TYPE].
25563 * io/ftw.c (ftw_dir): Likewise.
25565 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25567 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25569 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25570 Use the BSD numbers rather than the arbitrary ones we had.
25571 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25572 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25573 (SIGXCPU, SIGXFSZ): New macros.
25576 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25577 initializer on [_LIBC_REENTRANT].
25579 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25580 definitions inside [_POSIX_MAPPED_FILES].
25582 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25584 * dirent/opendir.c: Include <fcntl.h>.
25586 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25587 (__libc_getspecific): Likewise.
25588 (__libc_key_create): Likewise.
25590 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25591 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25592 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25593 (tmpfile64): Define as alias.
25594 * sysdeps/wordsize-64/tmpfile.c: File removed.
25595 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25599 * stdio-common/vfscanf.c: Include <stdbool.h>.
25600 * nss/makedb.c: Likewise.
25601 * stdio-common/_i18n_number.h: Likewise.
25602 * argp/argp-help.c: Likewise.
25603 * posix/wordexp.c: Likewise.
25604 * sysdeps/posix/spawni.c: Likewise.
25605 * nss/nss_files/files-initgroups.c: Likewise.
25606 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25607 * nss/nss_files/files-initgroups.c: Likewise.
25608 * nss/nss_db/db-netgrp.c: Likewise.
25609 * nss/nss_db/db-initgroups.c: Likewise.
25610 * io/fchmodat.c: Include <sys/stat.h>.
25612 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25613 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25615 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25618 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25619 Add multiple inclusion protection.
25621 2012-07-27 David S. Miller <davem@davemloft.net>
25623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25625 2012-07-27 Gary Benson <gbenson@redhat.com>
25628 * elf/rtld.c: Include <stap-probe.h>.
25629 (dl_main): Added static probes "init_start" and "init_complete".
25630 * elf/dl-load.c: Include <stap-probe.h>.
25631 (lose): Take new parameter "nsid".
25632 Added static probe "map_failed".
25633 (_dl_map_object_from_fd): Pass namespace id to lose.
25634 Added static probe "map_start".
25635 (open_verify): Pass namespace id to lose.
25636 * elf/dl-open.c: Include <stap-probe.h>.
25637 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25638 and "reloc_complete".
25639 * elf/dl-close.c: Include <stap-probe.h>.
25640 (_dl_close_worker): Added static probes "unmap_start" and
25642 * elf/rtld-debugger-interface.txt: New file documenting the above.
25644 2012-07-26 Roland McGrath <roland@hack.frob.com>
25646 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25647 rather than a string variable.
25648 * sunrpc/rpc_main.c (h_output): Likewise.
25649 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25651 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25653 * inet/check_native.c: New file.
25655 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25658 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25659 if larger part has absolute value 1.0.
25660 * math/s_clog10.c (__clog10): Likewise.
25661 * math/s_clog10f.c (__clog10f): Likewise.
25662 * math/s_clog10l.c (__clog10l): Likewise.
25663 * math/s_clogf.c (__clogf): Likewise.
25664 * math/s_clogl.c (__clogl): Likewise.
25665 * math/libm-test.inc (clog_test): Add more tests.
25666 (clog10_test): Likewise.
25667 * sysdeps/i386/fpu/libm-test-ulps: Update.
25668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25670 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25671 (pltexit): Likewise.
25672 (La_regs): Likewise.
25673 (La_retval): Likewise.
25674 (int_retval): Likewise.
25675 Update #error for removed macros to refer only to definitions in
25677 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25679 (pltexit): Likewise.
25680 (La_regs): Likewise.
25681 (La_retval): Likewise.
25682 (int_retval): Likewise.
25683 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25685 (pltexit): Likewise.
25686 (La_regs): Likewise.
25687 (La_retval): Likewise.
25688 (int_retval): Likewise.
25689 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25691 (pltexit): Likewise.
25692 (La_regs): Likewise.
25693 (La_retval): Likewise.
25694 (int_retval): Likewise.
25695 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25697 (pltexit): Likewise.
25698 (La_regs): Likewise.
25699 (La_retval): Likewise.
25700 (int_retval): Likewise.
25701 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25703 (pltexit): Likewise.
25704 (La_regs): Likewise.
25705 (La_retval): Likewise.
25706 (int_retval): Likewise.
25707 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25709 (pltexit): Likewise.
25710 (La_regs): Likewise.
25711 (La_retval): Likewise.
25712 (int_retval): Likewise.
25713 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25714 macro definitions in tst-audit.h.
25715 * sysdeps/i386/tst-audit.h: New file.
25716 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25717 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25718 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25719 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25720 * sysdeps/sh/tst-audit.h: Likewise.
25721 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25722 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25723 * sysdeps/x86_64/tst-audit.h: Likewise.
25725 2012-07-26 Andreas Jaeger <aj@suse.de>
25727 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25730 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25731 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25732 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25734 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25735 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25736 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25738 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25741 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25743 (si_call_addr, si_syscall, si_arch): Define new macro.
25744 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25746 (si_call_addr, si_syscall, si_arch): Define new marcro.
25747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25749 (si_call_addr, si_syscall, si_arch): Define new macro.
25750 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25752 (si_call_addr, si_syscall, si_arch): Define new macro.
25754 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25758 Change to 2.4.21 where previously 2.4.1.
25759 * sysdeps/unix/sysv/linux/configure: Regenerated.
25760 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25761 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25762 Linux kernel version.
25763 (__ASSUME_STD_AUXV): Remove.
25764 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25766 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25767 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25768 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25769 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25770 (__ASSUME_NETLINK_SUPPORT): Likewise.
25771 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25772 (__no_netlink_support): Remove conditional definition.
25773 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25775 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25776 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25777 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25778 (if_nameindex_ioctl): Remove.
25779 (if_nameindex_netlink): Do not handle __no_netlink_support.
25780 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25782 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25783 Remove conditional code.
25784 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25786 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25788 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25789 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25790 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25792 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25793 [!__ASSUME_STD_AUXV]: Remove conditional code.
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25795 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25796 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25798 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25799 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25801 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25804 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25808 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25811 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25814 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25815 code unconditional.
25816 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25818 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25820 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25823 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25825 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25828 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25829 code unconditional.
25830 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25832 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25834 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25837 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25838 code unconditional.
25839 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25841 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25843 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25846 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25848 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25849 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25850 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25851 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25852 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25853 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25854 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25855 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25856 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25857 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25858 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25859 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25860 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25861 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25862 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25863 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25864 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25865 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25866 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25868 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25869 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25870 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25872 2012-07-25 Florian Weimer <fweimer@redhat.com>
25874 * Versions.def: Add GLIBC_2.17.
25875 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25876 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25877 Introduce __libc_secure_getenv.
25878 * stdlib/Versions (2.17): Add secure_getenv
25879 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25880 * stdlib/secure-getenv.c: Rename __secure_getenv to
25881 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25882 symbol __secure_getenv for GLIBC_2.0.
25883 * stdlib/tst-secure-getenv.c: New.
25884 * stdlib/Makefile (tests): Add testcase.
25885 * manual/startup.texi (Environment Access): Document
25887 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25888 __libc_secure_getenv.
25889 * inet/ruserpass.c (ruserpass): Likewise.
25890 * malloc/mtrace.c (mtrace): Likewise.
25891 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25892 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25893 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25894 * sysdeps/posix/tempname.c: Likewise. Evaluate
25895 HAVE_SECURE_GETENV.
25896 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25897 __secure_getenv to __libc_secure_getenv.
25898 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25911 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25913 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25914 (struct La_i86_retval): Likewise.
25915 (struct La_x86_64_regs): Likewise.
25916 (struct La_x86_64_retval): Likewise.
25917 (struct La_x32_regs): Likewise.
25918 (struct La_x32_retval): Likewise.
25919 (struct La_ppc32_regs): Likewise.
25920 (struct La_ppc32_retval): Likewise.
25921 (struct La_ppc64_regs): Likewise.
25922 (struct La_ppc64_retval): Likewise.
25923 (struct La_sh_regs): Likewise.
25924 (struct La_sh_retval): Likewise.
25925 (struct La_s390_32_regs): Likewise.
25926 (struct La_s390_32_retval): Likewise.
25927 (struct La_s390_64_regs): Likewise.
25928 (struct La_s390_64_retval): Likewise.
25929 (struct La_sparc32_regs): Likewise.
25930 (struct La_sparc32_retval): Likewise.
25931 (struct La_sparc64_regs): Likewise.
25932 (struct La_sparc64_retval): Likewise.
25933 (struct audit_ifaces): Remove architecture-specific pltenter and
25935 * sysdeps/i386/ldsodefs.h: New file.
25936 * sysdeps/powerpc/ldsodefs.h: Likewise.
25937 * sysdeps/s390/ldsodefs.h: Likewise.
25938 * sysdeps/sh/ldsodefs.h: Likewise.
25939 * sysdeps/sparc/ldsodefs.h: Likewise.
25940 * sysdeps/x86_64/ldsodefs.h: Likewise.
25942 2012-07-25 Marek Polacek <polacek@redhat.com>
25945 * math/libm-test.inc (yn_test): Add another test.
25946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25947 to ERANGE when the result is +-Inf.
25948 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25949 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25950 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25951 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25953 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25955 * conform/data/time.h-data (NULL): Use macro-constant. Require
25957 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25959 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25961 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25963 * configure.in <sysdeps resolving>: Correct printing
25965 * configure: Regenerate.
25967 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25969 * math/w_ilogb.c: Include <limits.h>.
25970 * math/w_ilogbl.c: Likewise.
25972 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25974 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25975 va_copy. Document allowing for unavailable va_copy only as
25976 pre-C99 compatibility.
25977 * manual/string.texi (Copying and Concatenation): Use va_copy
25978 instead of __va_copy in concat example.
25980 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25982 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25983 (__sendto): Use create_address_port. Initialize APORT and deallocate
25986 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25987 with O_NOLINK passed to __file_name_lookup.
25989 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25990 with O_NOLINK passed to __file_name_lookup.
25992 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25993 negative N or less than NGIDS.
25995 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25996 type to string_t. Set ERANGE as errno and return it if NAME is not big
25997 enough. Use memcpy instead of strncpy.
25999 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26001 * elf/Makefile (check-data): Remove.
26002 (localplt.data): New vpath directive.
26003 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26004 instead of $(check-data).
26005 * scripts/data/localplt-generic.data: Move to ...
26006 * sysdeps/generic/localplt.data: ... here.
26007 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26008 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26009 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26012 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26015 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26018 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26021 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26024 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26028 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26030 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26031 PPC32 and PPC64 files.
26032 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26033 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26035 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26037 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26038 __makecontext_ret to ...
26039 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26040 ... here and call exit if uc_link is NULL. New file.
26041 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26042 __makecontext_ret.S.
26043 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26044 __makecontext_ret to ...
26045 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26046 ... here and call exit if uc_link is NULL. New file.
26047 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26048 __makecontext_ret.S.
26050 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26052 * elf/elf.h (R_390_IRELATIVE): New definition.
26053 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26054 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26055 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26056 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26057 (elf_machine_lazy_rel): Likewise.
26058 * sysdeps/s390/dl-irel.h: New file.
26059 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26060 * sysdeps/s390/s390-64/memset.S: New asm code.
26061 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26062 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26063 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26064 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26065 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26066 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26067 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26068 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26069 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26070 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26071 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26072 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26073 * sysdeps/s390/s390-32/memset.S: New asm code.
26074 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26076 2012-07-17 Marek Polacek <polacek@redhat.com>
26079 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26080 * sysdeps/s390/s390-64/configure.in: Likewise.
26081 * sysdeps/sparc/configure.in: Likewise.
26082 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26083 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26084 * sysdeps/i386/configure.in: Likewise.
26085 * sysdeps/x86_64/configure.in: Likewise.
26086 * sysdeps/sh/configure.in: Likewise.
26087 * sysdeps/s390/s390-32/configure: Regenerated.
26088 * sysdeps/s390/s390-64/configure: Likewise.
26089 * sysdeps/x86_64/configure: Likewise.
26090 * sysdeps/sh/configure: Likewise.
26091 * sysdeps/powerpc/powerpc64/configure: Likewise.
26092 * sysdeps/powerpc/powerpc32/configure: Likewise.
26093 * sysdeps/sparc/configure: Likwise.
26094 * sysdeps/i386/configure: Likewise.
26096 * elf/dl-open.c: Comment fixes.
26098 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26100 * Makefile [CXX] (check-data): Remove.
26101 [CXX] (c++-types.data): New vpath directive.
26102 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26103 vpath. Do not allow for C++ type data being missing.
26104 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26105 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26106 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26107 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26108 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26109 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26110 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26113 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26116 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26119 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26122 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26125 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26128 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26131 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26134 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26135 definitions to architecture-specific files.
26136 (TLS_IE): Likewise.
26137 (TLS_LD): Likewise.
26138 (TLS_GD): Likewise.
26139 * sysdeps/i386/tls-macros.h: New file.
26140 * sysdeps/powerpc/tls-macros.h: Likewise.
26141 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26142 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26143 * sysdeps/sh/tls-macros.h: Likewise.
26144 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26145 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26146 * sysdeps/x86_64/tls-macros.h: Likewise.
26148 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26151 zero value for regular exit case.
26153 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26154 (__start_context): Preserve zero value for regular exit case.
26156 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26157 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26159 * manual/setjmp.texi (setcontext): Clarify normal process
26160 termination when uc_link is the null pointer.
26161 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26164 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26166 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26167 preprocessor. Test for each exception mask separately.
26169 2012-07-16 Andreas Jaeger <aj@suse.de>
26171 * po/ru.po: Update from translation team.
26173 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26175 * conform/data/string.h-data (NULL): Use macro-constant. Require
26177 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26178 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26179 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26180 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26183 2012-07-13 Andreas Jaeger <aj@suse.de>
26185 * po/fr.po: Update from translation team.
26187 2012-07-12 Marek Polacek <polacek@redhat.com>
26190 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26191 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26194 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26198 Change to 2.4.1 where previously 2.4.0.
26199 * sysdeps/unix/sysv/linux/configure: Regenerated.
26200 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26201 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26203 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26204 (__ASSUME_AT_CLKTCK): Remove.
26205 (__ASSUME_AT_PAGESIZE): Likewise.
26206 (__ASSUME_AT_XID): Likewise.
26207 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26208 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26209 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26211 (HAVE_AUX_PAGESIZE): Likewise.
26212 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26213 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26214 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26216 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26220 the temporary buffer used to invoke __gethostbyname2_r,
26221 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26222 host_data / struct gaih_addrtuple.
26223 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26224 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26225 header file nss/nsswitch.h.
26226 * nss/nsswitch.h (global scope): Add definition of implementation
26227 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26228 resolv/nss_dns/dns-host.c).
26230 2012-07-11 Andreas Jaeger <aj@suse.de>
26232 * po/fr.po: Update from translation team.
26234 * po/sv.po: Update from translation team
26235 * po/fr.po: Another update from translation team.
26237 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26240 for subnormals or multiply small sinh result by itself.
26241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26244 2012-07-11 David S. Miller <davem@davemloft.net>
26246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26248 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26251 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26252 (INTERNAL_MARK): Shift it here.
26254 2012-07-10 Marek Polacek <polacek@redhat.com>
26257 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26258 libc_cv_asm_global_directive with .globl.
26259 * configure: Regenerated.
26260 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26262 * sysdeps/i386/configure: Regenerated.
26263 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26265 * sysdeps/x86_64/configure: Regenerated.
26266 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26267 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26268 * elf/tst-unique2mod2.c: Likewise.
26269 * elf/tst-unique2mod1.c: Likewise.
26270 * elf/tst-unique1mod2.c: Likewise.
26271 * elf/tst-unique1mod1.c: Likewise.
26272 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26273 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26275 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26276 * sysdeps/mach/sysdep.h: Likewise.
26277 * sysdeps/i386/sysdep.h: Likewise.
26278 * sysdeps/i386/i386-mcount.S: Likewise.
26279 * sysdeps/x86_64/_mcount.S: Likewise.
26280 * sysdeps/x86_64/sysdep.h: Likewise.
26281 * sysdeps/sh/_mcount.S: Likewise.
26282 * sysdeps/sh/sysdep.h: Likewise.
26283 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26284 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26285 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26286 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26287 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26288 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26289 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26290 * locale/localeinfo.h: Likewise.
26291 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26292 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26294 2012-07-09 Roland McGrath <roland@hack.frob.com>
26297 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26299 * manual/message.texi (The Uniforum approach): Likewise.
26300 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26301 (glibc iconv Implementation): Likewise.
26303 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26306 * math/s_clog.c (__clog): Avoid scaling a value down where that
26307 could result in underflow.
26308 * math/s_clog10.c (__clog10): Likewise.
26309 * math/s_clog10f.c (__clog10f): Likewise.
26310 * math/s_clog10l.c (__clog10l): Likewise.
26311 * math/s_clogf.c (__clogf): Likewise.
26312 * math/s_clogl.c (__clogl): Likewise.
26313 * math/libm-test.inc (clog_test): Add more tests.
26314 (clog10_test): Likewise.
26315 * sysdeps/i386/fpu/libm-test-ulps: Update.
26316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26318 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26321 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26322 by 7 not 8 to examine high bit of fractional part.
26325 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26326 for call to __mcount_internal.
26327 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26328 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26329 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26331 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26334 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26335 approximation for values within 0x1p-13f of an odd multiple of
26337 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26338 exception. Add more tests.
26339 * sysdeps/i386/fpu/libm-test-ulps: Update.
26342 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26343 inputs and return -1 for them. Do not check for +Inf in case not
26344 reachable for +Inf.
26345 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26346 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26347 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26348 and return -1 for them. Do not check for +Inf in case not
26349 reachable for +Inf.
26350 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26353 and return -1 for them. Do not check for +Inf in case not
26354 reachable for +Inf.
26355 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26356 spurious underflow.
26357 * sysdeps/i386/fpu/libm-test-ulps: Update.
26358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26360 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26362 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26364 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26368 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26369 could result in spurious underflow. Scale down values above
26370 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26371 * math/s_csqrtf.c (__csqrtf): Likewise.
26372 * math/s_csqrtl.c (__csqrtl): Likewise.
26373 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26374 spurious underflow.
26375 * sysdeps/i386/fpu/libm-test-ulps: Update.
26376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26378 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26380 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26382 * catgets/xopen-msg.awk: New file.
26383 * catgets/xopen-msg.sed: Removed.
26385 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26387 * intl/po2test.awk: New file.
26388 * intl/po2test.sed: Removed.
26390 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26393 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26394 or multiply small sinh result by itself.
26395 * math/s_ctanf.c (__ctanf): Likewise.
26396 * math/s_ctanh.c (__ctanh): Likewise.
26397 * math/s_ctanhf.c (__ctanhf): Likewise.
26398 * math/s_ctanhl.c (__ctanhl): Likewise.
26399 * math/s_ctanl.c (__ctanl): Likewise.
26400 * math/libm-test.inc (ctan_test_tonearest): New function.
26401 (ctan_test_towardzero): Likewise.
26402 (ctan_test_downward): Likewise.
26403 (ctan_test_upward): Likewise.
26404 (ctanh_test_tonearest): Likewise.
26405 (ctanh_test_towardzero): Likewise.
26406 (ctanh_test_downward): Likewise.
26407 (ctanh_test_upward): Likewise.
26408 (main): Call these new functions.
26409 * sysdeps/i386/fpu/libm-test-ulps: Update.
26410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26412 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26414 * .gitignore: Delete /ports entry.
26416 2012-07-03 Andreas Jaeger <aj@suse.de>
26418 * po/bg.po: Update from translation team.
26419 * po/cs.po: Likewise.
26420 * po/de.po: Likewise.
26421 * po/hr.po: Likewise.
26422 * po/nl.pl: Likewise.
26423 * po/pl.po: Likewise.
26424 * po/vi.po: Likewise.
26426 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26428 * Makeconfig [!+link] (+link-before-libc): New variable.
26429 [!+link] (+link-after-libc): Likewise.
26430 [!+link] (+link-tests): Likewise.
26431 [!+link] (+link): Define in terms of $(+link-before-libc) and
26432 $(+link-after-libc).
26433 [!+link-static] (+link-static-before-libc): New variable.
26434 [!+link-static] (+link-static-after-libc): Likewise.
26435 [!+link-static] (+link-static-tests): Likewise.
26436 [!+link-static] (+link-static): Define in terms of
26437 $(+link-static-before-libc) and $(+link-static-after-libc).
26438 [build-shared] (link-libc-before-gnulib): New variable.
26439 [build-shared] (link-libc-tests): Likewise.
26440 [build-shared] (link-libc): Define in terms of
26441 $(link-libc-before-gnulib).
26442 [!build-shared] (link-libc-tests): New variable.
26443 (link-libc-static-tests): New variable.
26444 [!gnulib] (gnulib-arch): New variable.
26445 [!gnulib] (gnulib-tests): Likewise.
26446 [!gnulib] (static-gnulib-arch): Likewise.
26447 [!gnulib] (static-gnulib-tests): Likewise.
26448 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26449 Define with "=" instead of ":=".
26450 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26451 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26452 * Rules (binaries-all-notests): New variable.
26453 (binaries-all-tests): Likewise.
26454 (binaries-static-notests): Likewise.
26455 (binaries-static-tests): Likewise.
26456 (binaries-all): Define using $(binaries-all-notests) and
26457 $(binaries-all-tests).
26458 (binaries-static): Define using $(binaries-static-notests) and
26459 $(binaries-static-tests).
26460 (binaries-shared-tests): New variable.
26461 (binaries-shared-notests): Likewise.
26462 (binaries-shared): Remove variable.
26463 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26464 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26465 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26466 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26467 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26468 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26469 * elf/Makefile (sln-modules): New variable.
26470 (extra-objs): Add $(sln-modules:=.o).
26471 (ldconfig-modules): Add static-stubs.
26472 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26473 * elf/static-stubs.c: New file.
26476 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26477 by 7 not 8 to examine high bit of fractional part. Use volatile
26478 variables when splitting into final array of floats if
26479 __FLT_EVAL_METHOD__ != 0.
26480 * math/libm-test.inc (cos_test): Add another test.
26481 (sin_test): Likewise.
26482 * sysdeps/i386/fpu/libm-test-ulps: Update.
26485 * math/libm-test.inc (cosh_test): Add more tests.
26487 * version.h (RELEASE): Set to "development".
26488 (VERSION): Set to "2.16.90".
26490 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26492 * NEWS: Update copyright. Remove last-updated date.
26493 Mention math library bug fixes and timezone data changes.
26494 * README: Mention GNU/Hurd, x32, and HPPA support status.
26496 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26498 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26500 2012-06-27 Andreas Jaeger <aj@suse.de>
26502 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26504 2012-06-25 Andreas Jaeger <aj@suse.de>
26506 * sysdeps/s390/fpu/libm-test-ulps: Update.
26508 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26509 Thomas Schwinge <thomas@codesourcery.com>
26511 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26512 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26516 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26518 * sysdeps/mach/start.c: Remove file.
26519 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26520 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26521 * sysdeps/sh/init-first.c: Likewise.
26523 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26524 registers for frame unwinding purposes, add CFI directives.
26525 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26526 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26527 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26530 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26531 __fortify_fail returning.
26532 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26534 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26535 sysdeps/sh/____longjmp_chk.S.
26536 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26537 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26538 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26539 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26541 * sysdeps/sh/abort-instr.h: New file.
26542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26543 process in case exit returns.
26545 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26546 initialize the GOT register before use.
26548 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26549 calculation of ARGC > 4.
26551 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26552 meaningful names to some local labels.
26554 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26555 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26557 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26558 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26559 (__arch_compare_and_exchange_val_16_acq): Likewise.
26560 (__arch_compare_and_exchange_val_32_acq): Likewise.
26561 (atomic_exchange_and_add): Fix gUSA sequence.
26562 (atomic_add): Likewise.
26563 (atomic_add_negative): Likewise.
26564 (atomic_add_zero): Likewise.
26565 (atomic_bit_test_set): Likewise.
26567 2012-06-22 Andreas Schwab <schwab@redhat.com>
26570 * include/link.h (struct link_map): Add l_free_initfini.
26571 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26573 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26574 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26575 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26578 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26580 * configure.in: Use AC_LANG_SOURCE.
26581 * configure: Regenerate.
26583 2012-06-22 Roland McGrath <roland@hack.frob.com>
26585 * configure.in (libc_cv_localstatedir): New substituted variable.
26586 * configure: Regenerated.
26587 * config.make.in (localstatedir): New variable, substituted from
26588 libc_cv_localstatedir.
26589 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26590 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26591 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26592 * sysdeps/gnu/configure: Regenerated.
26594 2012-06-21 Jeff Law <law@redhat.com>
26597 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26598 free. Simplify list management for _LIBC case.
26600 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26603 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26604 Clear sign bit of 64-bit integer value before comparing against
26607 * sysdeps/mach/configure: Regenerated.
26609 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26612 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26614 2012-06-21 Jeff Law <law@redhat.com>
26617 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26618 uint16_t for elements in the "seen" array to avoid char overflows.
26619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26620 * elf/dl-open.c (dl_open_worker): Likewise.
26622 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26624 * scripts/list-sources.sh: Scan PORTS for translations.
26625 * po/libc.pot: Regenerated.
26627 2012-06-21 Andreas Jaeger <aj@suse.de>
26630 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26632 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26633 * bits/byteswap-16.h (__bswap_16): Likewise.
26634 * bits/byteswap.h (__bswap_constant_16): Likewise.
26636 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26639 * sysdeps/i386/fpu_control.h: Removed.
26640 * sysdeps/x86_64/fpu_control.h: Moved to ...
26641 * sysdeps/x86/fpu_control.h: Here.
26643 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26644 (_FPU_SETCW): Likewise.
26646 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26649 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26650 * sysdeps/x86/fpu/bits/mathinline.h: This.
26651 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26655 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26656 functions if __x86_64__ is defined.
26658 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26660 * string/endian.h: Add !__ASSEMBLER__ condition for including
26661 conversion interfaces.
26663 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26667 of ABS(x) in calculating zero to negative powers other than odd
26669 * math/libm-test.inc (pow_test): Add more tests.
26671 2012-06-15 Andreas Jaeger <aj@suse.de>
26673 * manual/contrib.texi (Contributors): Update entry of Liubov
26674 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26677 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26679 * string/string.h: Add __wur to GNU version of strerror_r.
26681 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26684 * string/Makefile (tests): Add tst-strtok_r.
26685 * string/tst-strtok_r.c: New file.
26686 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26687 RAX_LP/RDX_LP on SAVE_PTR.
26689 2012-06-14 Roland McGrath <roland@hack.frob.com>
26691 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26693 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26695 * libm_test.inc (csqrt_test): Allow more spurious underflow
26697 (j0_test): Likewise.
26698 (j1_test): Likewise.
26699 (y0_test): Likewise.
26700 (y1_test): Likewise.
26702 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26704 * po/Makefile (libc.pot): Use UTF-8 charset.
26706 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26709 Suppress sign-conversion warning from FD_SET.
26710 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26711 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26712 not unsigned long int.
26713 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26715 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26719 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26720 __extern_always_inline instead of __extern_inline.
26721 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26722 (__signbit): Likewise.
26723 (__signbitl): Support C++ namespace.
26724 (lrintf): New inline function.
26726 (llrintf): Likewise.
26727 (llrint): Likewise.
26737 (floorf): Likewise.
26738 (nearbyint): Likewise.
26739 (nearbyintf): Likewise.
26741 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26743 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26744 non-default versions.
26746 2012-06-11 Roland McGrath <roland@hack.frob.com>
26749 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26751 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26753 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26754 (FE_UPWARD, FE_DOWNWARD): Don't define.
26755 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26756 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26758 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26760 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26761 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26763 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26765 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26767 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26768 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26770 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26773 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26774 * sysdeps/i386/fpu/Implies: New file.
26775 * sysdeps/x86_64/fpu/Implies: Likewise.
26776 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26777 * sysdeps/x86/fpu/bits/fenv.h: This.
26779 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26782 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26785 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26786 character 0xffff that matches the last element of the
26789 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26794 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26797 values higher than 25.6283.
26799 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26802 subnormal exponent extraction and add some __builtin_expect.
26803 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26804 Fix for subnormal mantissa calculation.
26806 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26808 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26809 cpu2 is -1 and errno is not ENOSYS.
26811 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26814 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26815 * sysdeps/x86/bits/string.h: This.
26816 * sysdeps/x86_64/bits/string.h: Removed.
26818 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26819 if not compiling for x86-64, but compiling for >= i486.
26821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26822 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26824 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26825 New macro from Linux kernel 3.4.0.
26826 (FP_XSTATE_MAGIC2): Likewise.
26827 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26828 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26829 (struct _fpx_sw_bytes): New struct.
26830 (struct _xsave_hdr): Likewise.
26831 (struct _ymmh_state): Likewise.
26832 (struct _xstate): Likewise.
26834 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26835 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26836 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26837 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26838 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26839 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26841 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26842 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26843 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26844 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26845 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26846 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26848 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26851 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26852 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26853 (sysdep_headers): Include sys/platform/ppc.h.
26854 * sysdeps/powerpc/test-gettimebase.c: Test for
26855 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26856 * manual/Makefile (appendices): Include platform.texi.
26857 * manual/contrib.texi (Contributors): Update @node pointers.
26858 * manual/maint.texi (Maintenance): Likewise.
26859 (Platform): New node.
26860 * manual/platform.texi: New file. Document the new features.
26862 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26863 Jakub Jelinek <jakub@redhat.com>
26866 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26867 where __builtin_expect is unavailable.
26869 2012-06-03 David S. Miller <davem@davemloft.net>
26871 * stdlib/longlong.h: Updated from GCC.
26873 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26876 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26877 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26880 (GLIBC_2.16): Likewise.
26882 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26884 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26886 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26889 (default-abi): New variable.
26890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26891 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26893 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26895 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26897 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26900 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26901 definition. Document in comment.
26903 2012-06-01 David S. Miller <davem@davemloft.net>
26905 * stdlib/longlong.h: Updated from GCC.
26907 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26910 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26911 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26912 sys/debugreg.h sys/io.h here.
26913 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26914 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26916 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26917 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26918 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26919 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26920 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26921 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26924 Define only if __x86_64__ is defined.
26926 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26929 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26930 Use int64_t for variable i.
26931 * math/libm-test.inc (fmod_test): Add more tests.
26933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26934 z computation is not scheduled after fetestexcept.
26935 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26936 Use math_force_eval instead of asm to ensure calculation scheduled
26937 before exception test.
26938 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26939 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26941 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26944 computation is not scheduled after fetestexcept.
26946 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26949 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26950 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26952 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26954 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26955 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26957 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26960 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26962 (__WCHAR_MIN): Support __WORDSIZE == 64.
26963 (__WCHAR_MAX): Likewise.
26965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26966 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26969 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26970 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26973 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26974 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26976 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26977 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26979 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26980 Defined to 1 if __x86_64__ isn't defined.
26981 (_STAT_VER_LINUX_OLD): New.
26982 (st_atime): Remove duplicate.
26983 (st_mtime): Likewise.
26984 (st_ctime): Likewise.
26986 2012-05-31 David S. Miller <davem@davemloft.net>
26988 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26991 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26993 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26997 * elf/dl-reloc.c: Include <_itoa.h>.
26998 (_dl_reloc_bad_type): Remove use of INTUSE.
26999 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27000 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27001 * stdio-common/psiginfo.c (psiginfo): Likewise.
27002 * stdio-common/psignal.c (psignal): Likewise.
27003 * string/strsignal.c (strsignal): Likewise.
27004 * include/signal.h (_sys_siglist): Declare hidden proto.
27005 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27006 INTVARDEF with libc_hidden_data_def.
27007 * stdio-common/itoa-udigits.c: Likewise.
27008 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27009 (_itoa_lower_digits_internal): Remove declaration.
27010 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27011 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27012 (_sys_sigabbrev_internal): Remove aliases.
27013 (_sys_siglist): Define hidden alias.
27015 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27020 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27023 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27024 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27026 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27027 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27028 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27029 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27030 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27031 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27033 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27034 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27035 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27037 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27045 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27046 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27047 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27049 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27050 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27051 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27052 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27053 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27054 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27056 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27057 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27059 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27060 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27062 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27064 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27066 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27067 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27069 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27071 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27072 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27073 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27075 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27077 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27079 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27081 * math/math.h (M_El): Use two more decimal places.
27082 (M_LOG2El): Likewise.
27083 (M_LOG10El): Likewise.
27084 (M_LN2l): Likewise.
27085 (M_LN10l): Likewise.
27087 (M_PI_2l): Likewise.
27088 (M_PI_4l): Likewise.
27089 (M_1_PIl): Likewise.
27090 (M_2_PIl): Likewise.
27091 (M_2_SQRTPIl): Likewise.
27092 (M_SQRT2l): Likewise.
27093 (M_SQRT1_2l): Likewise.
27095 2012-05-31 David S. Miller <davem@davemloft.net>
27097 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27098 values between float registers.
27099 * sysdeps/sparc/sparc64/memset.S: Likewise.
27100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27102 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27104 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27105 -D_FORTIFY_SOURCE=1.
27106 (CPPFLAGS-tst-longjmp_chk.c): Define.
27107 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27108 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27109 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27110 CFLAGS-tst-wchar-h.c.
27112 2012-05-31 Marek Polacek <polacek@redhat.com>
27115 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27116 __endmntent_internal): Remove declaration.
27117 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27118 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27119 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27121 2012-05-30 David S. Miller <davem@davemloft.net>
27123 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27124 (___Q_simulate_exceptions): Use real FP ops rather than writing
27126 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27129 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27132 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27133 * sysdeps/x86/bits/xtitypes.h: This.
27135 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27136 * sysdeps/x86/bits/wordsize.h: This.
27138 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27139 * sysdeps/x86/bits/huge_vall.h: This.
27141 * sysdeps/i386/bits/select.h: Removed.
27142 * sysdeps/x86_64/bits/select.h: Renamed to ...
27143 * sysdeps/x86/bits/select.h: This.
27145 * sysdeps/i386/bits/setjmp.h: Removed.
27146 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27147 * sysdeps/x86/bits/setjmp.h: This.
27149 * sysdeps/i386/bits/mathdef.h: Removed.
27150 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27151 * sysdeps/x86/bits/mathdef.h: This.
27153 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27156 * include/sys/socket.h (__connect_internal)
27157 (__libc_sa_len_internal): Remove declaration.
27158 (__connect, __libc_sa_len): Declare hidden_proto.
27159 (SA_LEN): Remove use of INTUSE.
27160 * socket/connect.c: Add libc_hidden_def.
27161 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27162 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27163 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27165 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27166 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27167 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27168 of adding _internal alias.
27170 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27173 * sysdeps/i386/bits/link.h: Removed.
27174 * sysdeps/i386/bits/linkmap.h: Likewise.
27175 * sysdeps/x86_64/bits/link.h: Renamed to ...
27176 * sysdeps/x86/bits/link.h: This.
27177 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27178 * sysdeps/x86/bits/linkmap.h: This.
27180 * sysdeps/i386/bits/endian.h: Removed.
27181 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27182 * sysdeps/x86/bits/endian.h: This.
27184 * sysdeps/i386/bits/byteswap.h: Removed.
27185 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27186 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27187 * sysdeps/x86/bits/byteswap.h: This.
27188 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27189 * sysdeps/x86/bits/byteswap-16.h: This.
27190 * sysdeps/i386/Implies: Add x86.
27191 * sysdeps/x86_64/Implies: Likewise.
27193 2012-05-30 David S. Miller <davem@davemloft.net>
27195 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27196 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27197 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27198 (FP_TRAPPING_EXCEPTIONS): Define.
27199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27200 (FP_TRAPPING_EXCEPTIONS): Define.
27201 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27202 subnormals only when inexact has been signalled or underflow
27203 exceptions are enabled.
27204 (_FP_PACK_CANONICAL): Likewise.
27206 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27209 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27210 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27212 2012-05-30 Richard Henderson <rth@twiddle.net>
27214 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27215 with #ifndef NOT_IN_libc.
27217 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27218 marked to avoid plt entry.
27220 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27223 * Makeconfig (default-abi): New macro.
27224 (abi-includes): Likewise.
27225 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27226 $(abi-$(default-abi)-lib-soname) for soname if defined.
27227 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27229 * Makefile (installed-stubs): Likewise.
27230 * include/stubs-biarch.h: Removed.
27231 * scripts/lib-names.awk: Only handle one library at a time.
27232 * scripts/soversions.awk: Remove WORDSIZE support.
27233 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27235 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27237 (syscall-list-default-condition): Likewise.
27238 (syscall-list-default-condition): Likewise.
27239 (syscall-list-includes): Likewise.
27240 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27241 syscall-list-* with abi-*. Handle undefined abi-variants.
27242 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27243 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27244 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27245 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27246 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27247 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27249 (syscall-list-32-options): Likewise.
27250 (syscall-list-32-condition): Likewise.
27251 (syscall-list-64-options): Likewise.
27252 (syscall-list-64-condition): Likewise.
27253 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27255 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27258 (abi-64-ld-soname): New macro.
27259 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27260 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27263 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27264 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27266 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27268 * sysdeps/unix/sysv/linux/kernel-features.h
27269 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27270 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27271 include <kernel-features.h>.
27272 [!__NR_ftruncate64]: Remove conditional code.
27273 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27274 [__NR_ftruncate64]: Make code unconditional.
27275 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27276 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27277 include <kernel-features.h>.
27278 [!__NR_ftruncate64]: Remove conditional code.
27279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27280 [__NR_ftruncate64]: Make code unconditional.
27281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27283 include <kernel-features.h>.
27284 [!__NR_ftruncate64]: Remove conditional code.
27285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27286 [__NR_ftruncate64]: Make code unconditional.
27287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27289 include <kernel-features.h>.
27290 [!__NR_ftruncate64]: Remove conditional code.
27291 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27292 [__NR_ftruncate64]: Make code unconditional.
27293 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27295 * configure.in (libc_cv_fpie): Weaken to a compile test using
27296 LIBC_TRY_CC_OPTION.
27297 * configure: Regenerated.
27299 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27314 2012-05-27 David S. Miller <davem@davemloft.net>
27316 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27318 (__Q_simulate_exceptions): Return void. Change to simulate
27319 exceptions by writing into the %fsr.
27320 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27321 (__Qp_handle_exceptions): Likewise.
27323 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27324 __Qp_handle_exceptions.
27325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27326 __Qp_handle_exceptions.
27327 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27328 as unused and give dummy FP_RND_NEAREST initializer.
27329 (FP_INHIBIT_RESULTS): Define.
27330 (___Q_simulate_exceptions): Update declaration.
27331 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27333 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27334 as unused and give dummy FP_RND_NEAREST initializer.
27335 (__Qp_handle_exceptions): Update declaration.
27336 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27339 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27341 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27342 the temporary FPU control word.
27343 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27344 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27345 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27346 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27347 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27348 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27349 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27350 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27351 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27352 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27353 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27355 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27357 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27360 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27362 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27363 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27364 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27365 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27367 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27368 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27371 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27373 * po/h.po: Update from translation team.
27375 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27377 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27379 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27380 handling of denormals.
27381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27382 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27383 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27384 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27385 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27386 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27390 2012-05-26 Marek Polacek <polacek@redhat.com>
27393 * math/libm-test.inc (fma_test): Don't always expect underflow
27396 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27399 * elf/tst-execstack.c: Include stackinfo.h.
27400 (do_test): Adjust test case to ensure that pthread_getattr_np
27401 behaviour remains the same after marking stack executable.
27403 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27405 * sysdeps/unix/sysv/linux/kernel-features.h
27406 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27407 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27409 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27410 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27411 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27413 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27414 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27416 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27418 * configure.in: Define the default includes to being none.
27419 * configure: Regenerated.
27421 2012-05-25 Roland McGrath <roland@hack.frob.com>
27423 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27424 * sysdeps/x86_64/setjmp.S: Likewise.
27425 * sysdeps/i386/bsd-setjmp.S: Likewise.
27426 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27427 * sysdeps/i386/setjmp.S: Likewise.
27428 * sysdeps/i386/__longjmp.S: Likewise.
27429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27430 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27432 * include/stap-probe.h: New file.
27433 * configure.in: Handle --enable-systemtap.
27434 * configure: Regenerated.
27435 * config.h.in (USE_STAP_PROBE): New #undef.
27436 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27437 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27438 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27440 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27444 to 2.4.0 where earlier.
27445 * sysdeps/unix/sysv/linux/configure: Regenerated.
27446 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27447 <kernel-features.h>.
27448 [__ASSUME_32BITUIDS]: Make code unconditional.
27449 [!__ASSUME_32BITUIDS]: Remove conditional code.
27450 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27451 <kernel-features.h>.
27452 [__ASSUME_32BITUIDS]: Make code unconditional.
27453 [!__ASSUME_32BITUIDS]: Remove conditional code.
27454 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27455 [__ASSUME_32BITUIDS]: Make code unconditional.
27456 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27457 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27458 <kernel-features.h>.
27459 [__ASSUME_32BITUIDS]: Make code unconditional.
27460 [!__ASSUME_32BITUIDS]: Remove conditional code.
27461 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27462 <kernel-features.h>.
27463 [__ASSUME_32BITUIDS]: Make code unconditional.
27464 [!__ASSUME_32BITUIDS]: Remove conditional code.
27465 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27466 <kernel-features.h>.
27467 [__ASSUME_32BITUIDS]: Make code unconditional.
27468 [!__ASSUME_32BITUIDS]: Remove conditional code.
27469 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27470 <kernel-features.h>.
27471 [__ASSUME_32BITUIDS]: Make code unconditional.
27472 [!__ASSUME_32BITUIDS]: Remove conditional code.
27473 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27474 <kernel-features.h>.
27475 [__ASSUME_32BITUIDS]: Make code unconditional.
27476 [!__ASSUME_32BITUIDS]: Remove conditional code.
27477 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27478 <kernel-features.h>.
27479 [__ASSUME_32BITUIDS]: Make code unconditional.
27480 [!__ASSUME_32BITUIDS]: Remove conditional code.
27481 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27482 <kernel-features.h>.
27483 [__ASSUME_32BITUIDS]: Make code unconditional.
27484 [!__ASSUME_32BITUIDS]: Remove conditional code.
27485 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27486 <kernel-features.h>.
27487 [__ASSUME_32BITUIDS]: Make code unconditional.
27488 [!__ASSUME_32BITUIDS]: Remove conditional code.
27489 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27490 <kernel-features.h>.
27491 [__ASSUME_32BITUIDS]: Make code unconditional.
27492 [!__ASSUME_32BITUIDS]: Remove conditional code.
27493 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27494 <kernel-features.h>.
27495 [__ASSUME_32BITUIDS]: Make code unconditional.
27496 [!__ASSUME_32BITUIDS]: Remove conditional code.
27497 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27498 <kernel-features.h>.
27499 [__NR_setresgid] (__setresgid): Do not declare.
27500 [__ASSUME_32BITUIDS]: Make code unconditional.
27501 [!__ASSUME_32BITUIDS]: Remove conditional code.
27502 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27503 <kernel-features.h>.
27504 [__NR_setresuid] (__setresuid): Do not declare.
27505 [__ASSUME_32BITUIDS]: Make code unconditional.
27506 [!__ASSUME_32BITUIDS]: Remove conditional code.
27507 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27508 <kernel-features.h>.
27509 [__ASSUME_32BITUIDS]: Make code unconditional.
27510 [!__ASSUME_32BITUIDS]: Remove conditional code.
27511 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27512 <kernel-features.h>.
27513 [__ASSUME_32BITUIDS]: Make code unconditional.
27514 [!__ASSUME_32BITUIDS]: Remove conditional code.
27515 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27516 <kernel-features.h>.
27517 [__ASSUME_32BITUIDS]: Make code unconditional.
27518 [!__ASSUME_32BITUIDS]: Remove conditional code.
27519 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27520 <kernel-features.h>.
27521 [__ASSUME_32BITUIDS]: Make code unconditional.
27522 [!__ASSUME_32BITUIDS]: Remove conditional code.
27523 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27524 <kernel-features.h>.
27525 [__ASSUME_32BITUIDS]: Make code unconditional.
27526 [!__ASSUME_32BITUIDS]: Remove conditional code.
27527 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27528 <kernel-features.h>.
27529 [__ASSUME_32BITUIDS]: Make code unconditional.
27530 [!__ASSUME_32BITUIDS]: Remove conditional code.
27531 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27532 <kernel-features.h>.
27533 [__ASSUME_32BITUIDS]: Make code unconditional.
27534 [!__ASSUME_32BITUIDS]: Remove conditional code.
27535 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27536 <kernel-features.h>.
27537 [__ASSUME_32BITUIDS]: Make code unconditional.
27538 [!__ASSUME_32BITUIDS]: Remove conditional code.
27539 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27540 <kernel-features.h>.
27541 [__ASSUME_32BITUIDS]: Make code unconditional.
27542 [!__ASSUME_32BITUIDS]: Remove conditional code.
27543 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27544 <kernel-features.h>.
27545 [__ASSUME_32BITUIDS]: Make code unconditional.
27546 [!__ASSUME_32BITUIDS]: Remove conditional code.
27547 * sysdeps/unix/sysv/linux/kernel-features.h
27548 (__ASSUME_SETRESUID_SYSCALL): Remove.
27549 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27550 (__ASSUME_32BITUIDS): Likewise.
27551 (__ASSUME_LDT_WORKS): Likewise.
27552 (__ASSUME_O_DIRECTORY): Likewise.
27553 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27554 architecture but not kernel version.
27555 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27556 (__ASSUME_MMAP2_SYSCALL): Likewise.
27557 (__ASSUME_STAT64_SYSCALL): Likewise.
27558 (__ASSUME_IPC64): Likewise.
27559 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27560 <kernel-features.h>.
27561 [__ASSUME_32BITUIDS]: Make code unconditional.
27562 [!__ASSUME_32BITUIDS]: Remove conditional code.
27563 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27564 <kernel-features.h>.
27565 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27566 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27567 132096]: Remove conditional code.
27568 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27569 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27570 <kernel-features.h>.
27571 [__ASSUME_32BITUIDS]: Make code unconditional.
27572 [!__ASSUME_32BITUIDS]: Remove conditional code.
27573 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27574 <kernel-features.h>.
27575 [__ASSUME_32BITUIDS]: Make code unconditional.
27576 [!__ASSUME_32BITUIDS]: Remove conditional code.
27577 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27578 <kernel-features.h>.
27579 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27581 (__setresgid): Do not declare.
27582 [__ASSUME_32BITUIDS]: Make code unconditional.
27583 [!__ASSUME_32BITUIDS]: Remove conditional code.
27584 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27585 <kernel-features.h>.
27586 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27588 (__setresuid): Do not declare.
27589 [__ASSUME_32BITUIDS]: Make code unconditional.
27590 [!__ASSUME_32BITUIDS]: Remove conditional code.
27591 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27592 <kernel-features.h>.
27593 [__ASSUME_32BITUIDS]: Make code unconditional.
27594 [!__ASSUME_32BITUIDS]: Remove conditional code.
27595 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27596 <kernel-features.h>.
27597 [__ASSUME_32BITUIDS]: Make code unconditional.
27598 [!__ASSUME_32BITUIDS]: Remove conditional code.
27600 2012-05-25 Richard Henderson <rth@twiddle.net>
27602 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27603 dl_hwcap to ifunc resolver.
27604 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27606 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27607 dl_hwcap to ifunc resolver.
27608 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27610 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27613 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27614 for |x| <= 2**-26, not 2**-57.
27615 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27618 2012-05-24 Jeff Law <law@redhat.com>
27620 * stdio-common/Makefile (tests): Add bug25.
27621 * stdio-common/bug25.c: New test.
27623 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27626 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27627 multiple of MALLOC_ALIGNMENT in size.
27628 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27630 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27632 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27634 (FILENAME_MAX): Use macro-int-constant.
27635 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27636 (_IOFBF): Use macro-int-constant.
27637 (_IOLBF): Likewise.
27638 (_IONBF): Likewise.
27639 (SEEK_CUR): Likewise.
27640 (SEEK_END): Likewise.
27641 (SEEK_SET): Likewise.
27642 (TMP_MAX): Likewise.
27643 (EOF): Use macro-int-constant. Require < 0.
27644 (NULL): Use macro-constant. Require == 0.
27645 (stdin): Require type to be FILE *.
27646 (stdout): Likewise.
27647 (stderr): Likewise.
27648 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27649 macro-int-constant.
27650 (EXIT_SUCCESS): Likewise.
27651 (NULL): Use macro-constant. Require == 0.
27652 (RAND_MAX): Use macro-int-constant.
27653 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27654 [C99-based standards] (strtof): Require function.
27655 [C99-based standards] (strtold): Likewise.
27656 [C99-based standards] (strtoll): Likewise.
27657 [C99-based standards] (strtoull): Likewise.
27658 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27659 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27660 [ISO || ISO99 || ISO11] (math.h): Likewise.
27661 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27662 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27665 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27668 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27669 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27670 * intl/dgettext.c (DCGETTEXT): Likewise.
27671 * intl/gettext.c (DCGETTEXT): Likewise.
27672 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27673 * posix/regex_internal.h (gettext): Likewise.
27674 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27675 Remove declaration.
27676 * include/argz.h (__argz_count_internal)
27677 (__argz_stringify_internal): Remove declaration.
27678 (__argz_count, __argz_stringify): Declare hidden proto.
27679 * intl/dcgettext.c: Remove use of INTDEF.
27680 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27681 * string/argz-stringify.c: Likewise.
27682 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27683 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27684 Declare hidden proto.
27685 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27686 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27687 Declare hidden proto.
27688 * include/stdio.h (__asprintf_internal): Don't declare.
27689 (__asprintf): Don't define as macro. Declare hidden proto.
27690 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27691 (__fsetlocking): Declare hidden proto.
27692 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27693 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27695 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27696 (_IO_setlinebuf): Remove use of INTUSE.
27697 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27698 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27699 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27700 Remove declaration.
27701 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27702 (_IO_do_flush): Remove use of INTUSE.
27703 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27704 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27705 (_IO_adjust_column, _IO_least_wmarker)
27706 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27707 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27708 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27709 (_IO_default_doallocate, _IO_wdefault_doallocate)
27710 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27711 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27712 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27713 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27714 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27715 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27716 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27717 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27718 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27719 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27720 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27721 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27722 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27724 (_IO_flush_all_internal, _IO_adjust_column_internal)
27725 (_IO_default_uflow_internal, _IO_default_finish_internal)
27726 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27727 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27728 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27729 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27730 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27731 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27732 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27733 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27734 (_IO_file_close_internal, _IO_file_close_it_internal)
27735 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27736 (_IO_file_init_internal, _IO_file_attach_internal)
27737 (_IO_file_fopen_internal, _IO_file_read_internal)
27738 (_IO_file_sync_internal, _IO_file_seek_internal)
27739 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27740 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27741 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27742 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27743 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27744 (_IO_list_all_internal, _IO_link_in_internal)
27745 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27746 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27747 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27748 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27749 (_IO_do_write_internal, _IO_padn_internal)
27750 (_IO_getline_info_internal, _IO_getline_internal)
27751 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27752 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27753 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27754 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27755 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27756 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27757 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27758 with libc_hidden_ver, remove use of INTUSE.
27759 * libio/genops.c: Likewise.
27760 * libio/freopen.c: Likewise.
27761 * libio/freopen64.c: Likewise.
27762 * libio/iofclose.c: Likewise.
27763 * libio/iofdopen.c: Likewise.
27764 * libio/iofflush.c: Likewise.
27765 * libio/iofflush_u.c: Likewise.
27766 * libio/iofgets.c: Likewise.
27767 * libio/iofgets_u.c: Likewise.
27768 * libio/iofopen.c: Likewise.
27769 * libio/iofopncook.c: Likewise.
27770 * libio/iofread.c: Likewise.
27771 * libio/iofread_u.c: Likewise.
27772 * libio/ioftell.c: Likewise.
27773 * libio/iofwrite.c: Likewise.
27774 * libio/iogetline.c: Likewise.
27775 * libio/iogets.c: Likewise.
27776 * libio/iogetwline.c: Likewise.
27777 * libio/iopadn.c: Likewise.
27778 * libio/iopopen.c: Likewise.
27779 * libio/ioseekoff.c: Likewise.
27780 * libio/ioseekpos.c: Likewise.
27781 * libio/iosetbuffer.c: Likewise.
27782 * libio/iosetvbuf.c: Likewise.
27783 * libio/ioungetc.c: Likewise.
27784 * libio/ioungetwc.c: Likewise.
27785 * libio/iovdprintf.c: Likewise.
27786 * libio/iovsprintf.c: Likewise.
27787 * libio/iovsscanf.c: Likewise.
27788 * libio/memstream.c: Likewise.
27789 * libio/obprintf.c: Likewise.
27790 * libio/oldfileops.c: Likewise.
27791 * libio/oldiofclose.c: Likewise.
27792 * libio/oldiofdopen.c: Likewise.
27793 * libio/oldiofopen.c: Likewise.
27794 * libio/oldiopopen.c: Likewise.
27795 * libio/oldstdfiles.c: Likewise.
27796 * libio/putc.c: Likewise.
27797 * libio/setbuf.c: Likewise.
27798 * libio/setlinebuf.c: Likewise.
27799 * libio/stdfiles.c: Likewise.
27800 * libio/strops.c: Likewise.
27801 * libio/vasprintf.c: Likewise.
27802 * libio/vscanf.c: Likewise.
27803 * libio/vsnprintf.c: Likewise.
27804 * libio/vswprintf.c: Likewise.
27805 * libio/wfiledoalloc.c: Likewise.
27806 * libio/wfileops.c: Likewise.
27807 * libio/wgenops.c: Likewise.
27808 * libio/wmemstream.c: Likewise.
27809 * libio/wstrops.c: Likewise.
27810 * libio/__fpurge.c: Likewise.
27811 * libio/__fsetlocking.c: Likewise.
27812 * assert/assert.c: Likewise.
27813 * debug/fgets_chk.c: Likewise.
27814 * debug/fgets_u_chk.c: Likewise.
27815 * debug/fread_chk.c: Likewise.
27816 * debug/fread_u_chk.c: Likewise.
27817 * debug/gets_chk.c: Likewise.
27818 * debug/obprintf_chk.c: Likewise.
27819 * debug/vasprintf_chk.c: Likewise.
27820 * debug/vdprintf_chk.c: Likewise.
27821 * debug/vsnprintf_chk.c: Likewise.
27822 * debug/vsprintf_chk.c: Likewise.
27823 * malloc/mtrace.c: Likewise.
27824 * misc/error.c: Likewise.
27825 * misc/syslog.c: Likewise.
27826 * stdio-common/asprintf.c: Likewise.
27827 * stdio-common/fxprintf.c: Likewise.
27828 * stdio-common/getw.c: Likewise.
27829 * stdio-common/isoc99_fscanf.c: Likewise.
27830 * stdio-common/isoc99_scanf.c: Likewise.
27831 * stdio-common/isoc99_vfscanf.c: Likewise.
27832 * stdio-common/isoc99_vscanf.c: Likewise.
27833 * stdio-common/isoc99_vsscanf.c: Likewise.
27834 * stdio-common/printf-prs.c: Likewise.
27835 * stdio-common/printf_fp.c: Likewise.
27836 * stdio-common/printf_fphex.c: Likewise.
27837 * stdio-common/printf_size.c: Likewise.
27838 * stdio-common/putw.c: Likewise.
27839 * stdio-common/scanf.c: Likewise.
27840 * stdio-common/sprintf.c: Likewise.
27841 * stdio-common/tmpfile.c: Likewise.
27842 * stdio-common/vfprintf.c: Likewise.
27843 * stdio-common/vfscanf.c: Likewise.
27844 * stdlib/strfmon_l.c: Likewise.
27845 * sunrpc/openchild.c: Likewise.
27846 * sunrpc/xdr_stdio.c: Likewise.
27847 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27848 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27850 2012-05-24 Roland McGrath <roland@hack.frob.com>
27852 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27854 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27855 in the third column, to generate for the shared library an IFUNC
27856 that uses _dl_vdso_vsym.
27857 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27858 * Makeconfig (object-suffixes-noshared): New variable.
27860 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27861 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27862 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27863 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27866 * include/sys/time.h (__gettimeofday): Remove macro.
27867 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27868 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27870 (__gettimeofday): Add libc_hidden_def.
27871 (gettimeofday): Add libc_hidden_weak.
27872 * sysdeps/mach/gettimeofday.c: Likewise.
27873 * sysdeps/posix/gettimeofday.c: Likewise.
27874 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27875 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27877 (__gettimeofday_internal): Remove strong_alias.
27878 (__gettimeofday): Add libc_hidden_def.
27879 (gettimeofday): Add libc_hidden_weak.
27880 * sysdeps/unix/syscalls.list (gettimeofday):
27881 Remove __gettimeofday_internal alias.
27883 2012-05-24 Daniel Jacobowitz <drow@false.org>
27884 H.J. Lu <hongjiu.lu@intel.com>
27887 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27888 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27889 (largebin_index_32_big): New.
27890 (largebin_index): Use it for 16-byte alignment.
27891 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27892 correction with front_misalign.
27894 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27922 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27923 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27925 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27929 * math/libm-test.inc (exp_test): Add test from bug 14036.
27930 (pow_test): Add test from bug 10846.
27932 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27934 (special_function): Do not include flags in test name.
27935 (parse_args): Likewise.
27936 * sysdeps/i386/fpu/libm-test-ulps: Update.
27937 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27938 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27939 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27942 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27944 * math/libm-test.inc ("Philosophy"): Update comment about
27946 (UNDERFLOW_EXCEPTION): New macro.
27947 (UNDERFLOW_EXCEPTION_OK): Likewise.
27948 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27949 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27950 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27951 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27952 (INVALID_EXCEPTION_OK): Update value.
27953 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27954 (OVERFLOW_EXCEPTION_OK): Likewise.
27955 (IGNORE_ZERO_INF_SIGN): Likewise.
27956 (test_exceptions): Handle underflow exceptions.
27957 (acos_test): Update for underflow exception expectations.
27958 (cexp_test): Likewise.
27959 (clog_test): Likewise.
27960 (clog10_test): Likewise.
27961 (csqrt_test): Likewise.
27962 (ctan_test): Likewise.
27963 (ctanh_test): Likewise.
27964 (exp_test): Likewise.
27965 (exp10_test): Likewise.
27966 (exp2_test): Likewise.
27967 (expm1_test): Likewise.
27968 (fma_test): Likewise.
27969 (j0_test): Likewise.
27970 (jn_test): Likewise.
27971 (nexttoward_test): Likewise.
27972 (pow_test): Likewise.
27973 (scalbn_test): Likewise.
27974 (scalbln_test): Likewise.
27975 (tan_test): Likewise.
27976 (y1_test): Likewise.
27977 * sysdeps/i386/fpu/libm-test-ulps: Update.
27978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27980 2012-05-23 David S. Miller <davem@davemloft.net>
27982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27983 (__libc_sigaction): Remove unused local variables.
27985 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27987 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27989 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27991 mktime: avoid signed integer overflow
27992 * time/mktime.c (__mktime_internal): Do not mishandle the case
27993 where diff == INT_MIN.
27995 mktime: simplify computation of average
27996 * time/mktime.c (ranged_convert): Use new time_t_avg function
27997 instead of rolling our own (probably-slower) code.
27999 mktime: do not assume signed right shift propagates sign bit
28000 * time/mktime.c (isdst_differ): New static function.
28001 (__mktime_internal): No need to normalize tm_isdst now.
28002 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28005 mktime: merge another wrapv change from gnulib
28006 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28007 from some compilers.
28009 mktime: remove incorrect attempt at unusual arithmetics
28010 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28011 The code didn't really work on such machines anyway.
28012 (TYPE_MINIMUM): Assume two's complement.
28013 (twos_complement_arithmetic): Verify that long_int and time_t
28014 are two's complement (or unsigned, in the latter case).
28016 mktime: check signed shifts on long_int and time_t, too
28017 * time/mktime.c (SHR): Check that shifts work as desired
28018 on the types long_int and time_t too, as SHR is used on
28021 mktime: do not assume 'long' is wide enough
28022 * time/mktime.c (verify): Move decl up.
28023 (long_int): New type.
28024 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28025 to remove assumption in the code that 'long' is wide enough to
28026 store year values. This assumption is not true on x32 and on
28027 some non-glibc platforms.
28029 mktime: merge wrapv change from gnulib
28030 * time/mktime.c (WRAPV): New macro.
28031 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28032 (guess_time_tm, __mktime_internal): Do not assume that signed
28033 integer overflow wraps around; modern compilers generate code
28034 where this assumption is no longer valid.
28036 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28038 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28039 Replace "jmp L(pseudo_end)" with "ret".
28040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28043 2012-05-23 Andreas Jaeger <aj@suse.de>
28045 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28046 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28048 2012-05-23 Andreas Jaeger <aj@suse.de>
28049 Maximilian Attems <max@stro.at>
28051 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28054 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28056 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28057 code so that pseudo_end is just ret and the stack pointer is
28058 correct also for static library in error case.
28060 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28062 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28063 move to syscalls.list.
28064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28069 * manual/install.texi (Running make install): Do not mention Linux
28070 kernel version for which pt_chown is not needed.
28071 (Linux): Do not mention problems with nscd with 2.0 kernels.
28072 * INSTALL: Regenerated.
28074 2012-05-23 Andreas Jaeger <aj@suse.de>
28076 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28077 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28079 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28080 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28081 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28082 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28083 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28084 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28086 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28087 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28089 * sysdeps/unix/sysv/linux/bits/in.h
28090 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28092 2012-05-22 Roland McGrath <roland@hack.frob.com>
28094 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28095 (PREPARE_VERSION): Just use assert instead, it will be elided
28096 under [NDEBUG] anyway.
28098 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28100 * sysdeps/unix/sysv/linux/Makefile: Include
28101 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28102 (sysdep_routines): Remove sysctl.
28103 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28104 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28105 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28106 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28107 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28109 2012-05-22 Andreas Jaeger <aj@suse.de>
28111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28112 that pseudo_end is just ret and the stack pointer is correct also
28113 for static library in error case.
28115 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28118 * nss/nsswitch.c (defconfig_entries): New variable.
28119 (__nss_database_lookup): Don't leak defconfig entries.
28120 (nss_parse_service_list): Don't leak on error paths.
28121 (free_database_entries): New function.
28122 (free_defconfig): New function.
28123 (free_mem): Move common code to free_database_entries.
28125 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28127 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28129 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28131 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28132 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28135 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28136 (INTERNAL_SYSCALL_TYPES): Likewise.
28137 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28138 (LOAD_REGS_TYPES_[1-6]): Likewise.
28139 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28140 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28142 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28144 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28145 copysignl for GLIBC_2_0.
28146 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28147 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28149 logbl for GLIBC_2_0.
28150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28151 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28153 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28156 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28158 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28161 * time/mktime.c: Update copyright years.
28163 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28165 mktime: merge comment-quoting-style change from gnulib
28166 * time/mktime.c: Quote 'like this' in comments.
28167 The GNU coding standards suggest that we no longer quote `like this',
28168 as "`" and "'" are typically rendered asymmetrically nowadays.
28169 The typical gnulib style is to quote 'like this' when quoting
28170 code, and "like this" when quoting English.
28172 * time/mktime.c (compile-command): Add "-I.".
28174 mktime: merge mktime-internal.h change from gnulib
28175 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28177 mktime: merge time_r change from gnulib
28178 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28180 mktime: merge DEBUG change from gnulib
28181 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28182 case system <time.h> has a #define.
28184 mktime: merge <sys/types.h> change from gnulib
28185 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28186 since <time.t> is now guaranteed to define time_t.
28188 mktime: merge HAVE_CONFIG_H change from gnulib
28189 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28191 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28196 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28198 (struct rusage): Use anonymous union to pad each field to
28201 2012-05-21 David S. Miller <davem@davemloft.net>
28203 * Makefules (o-iterator): Remove .s cases.
28204 (compile-command.s): Delete.
28205 (COMPILE.s): Delete.
28206 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28208 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28210 * configure.in (libc_cv_predef_stack_protector): Only consider
28211 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28212 * configure: Regenerated.
28214 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28217 New macro. Use R*LP on int and pointer.
28218 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28219 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28220 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28221 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28223 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28224 [__WORDSIZE_TIME64_COMPAT32] instead of
28225 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28226 (struct utmp): Likewise.
28227 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28228 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28230 (__WORDSIZE_TIME64_COMPAT32): This.
28231 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28232 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28233 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28234 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28235 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28236 (__WORDSIZE_TIME64_COMPAT32): New macro.
28238 2012-05-21 Andreas Jaeger <aj@suse.de>
28240 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28241 only if [SHARED]. Add prototype for __wcschr_ia32.
28243 2012-05-21 Roland McGrath <roland@hack.frob.com>
28245 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28246 of %rbp unmolested in the jmp_buf while mangling the low bits.
28247 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28248 unmolested high bits of %rbp while demangling the low bits.
28249 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28251 2012-05-21 Andreas Jaeger <aj@suse.de>
28253 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28254 * sunrpc/svc_simple.c: Use it for registerrpc.
28255 * sunrpc/xcrypt.c: Use it for passwd2des.
28257 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28259 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28261 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28262 Don't define if [__SYSCALL_WORDSIZE != 32].
28263 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28266 2012-05-21 Bruno Haible <bruno@clisp.org>
28267 Andreas Jaeger <aj@suse.de>
28269 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28270 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28271 inptr and inend for must_buffer_ch.
28272 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28273 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28274 * stdio-common/Makefile (tests): Remove bug15.
28275 (bug15-ENV): Remove macro.
28276 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28279 2012-05-19 Andreas Jaeger <aj@suse.de>
28280 Roland McGrath <roland@hack.frob.com>
28282 * manual/contrib.texi: Completely rewritten. It contains now an
28283 alphabetical list of contributors and their contributions.
28285 2012-05-21 Richard Henderson <rth@twiddle.net>
28287 * misc/getauxval.c (__getauxval): Use unsigned long int.
28288 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28289 (getauxval): Use unsigned long int.
28291 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28293 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28295 2012-05-21 Roland McGrath <roland@hack.frob.com>
28297 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28298 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28299 __alignof__ (long double).
28301 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28305 2012-05-20 Richard Henderson <rth@twiddle.net>
28307 * misc/getauxval.c: New file.
28308 * misc/sys/auxv.h: New file.
28309 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28310 (routines): Add getauxval.
28311 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28312 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28313 * elf/dl-sysdep.c (_dl_auxv): Remove.
28314 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28315 * elf/dl-support.c (_dl_auxv): New variable.
28316 (_dl_aux_init): Initialize it.
28317 * manual/startup.texi (Auxiliary Vector): New node.
28318 * sysdeps/generic/bits/hwcap.h: New file.
28319 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28320 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28321 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28322 * sysdeps/sparc/sysdep.h: ... here. Include it.
28323 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28324 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28336 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28340 2012-05-19 David S. Miller <davem@davemloft.net>
28342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28344 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28347 * math/s_ccosh.c: Include <float.h>
28348 (__ccosh): Avoid internal overflow calculating sinh and cosh
28349 values before multiplying by sin and cos values.
28350 * math/s_ccoshf.c: Likewise.
28351 * math/s_ccoshl.c: Likewise.
28352 * math/s_csin.c: Likewise.
28353 * math/s_csinf.c: Likewise.
28354 * math/s_csinl.c: Likewise.
28355 * math/s_csinh.c: Likewise.
28356 * math/s_csinhf.c: Likewise.
28357 * math/s_csinhl.c: Likewise.
28358 * math/libm-test.inc (ccos_test): Add more tests.
28359 (ccosh_test): Likewise.
28360 (csin_test): Likewise.
28361 (csinh_test): Likewise.
28362 * sysdeps/i386/fpu/libm-test-ulps: Update.
28363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28365 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28367 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28368 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28370 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28372 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28374 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28375 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28376 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28377 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28378 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28379 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28380 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28381 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28382 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28383 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28384 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28385 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28386 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28387 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28388 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28389 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28390 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28391 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28392 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28393 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28394 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28395 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28396 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28397 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28398 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28399 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28400 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28401 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28402 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28403 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28404 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28406 2012-05-18 Andreas Jaeger <aj@suse.de>
28408 * csu/.gitignore: Delete.
28410 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28412 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28413 (timex): Use __syscall_slong_t.
28415 2012-05-18 Andreas Jaeger <aj@suse.de>
28416 Carlos O'Donell <carlos_odonell@mentor.com>
28418 * manual/install.texi (Configuring and compiling): Update
28419 description about files modified in the source directory.
28420 * INSTALL: Regenerated.
28422 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28424 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28425 value. Use "or" to set return value to -1.
28426 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28427 negate return value.
28429 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28431 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28432 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28433 failure if the compiler has Graphite support disabled.
28434 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28436 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28437 CFLAGS-memmove.c): Likewise.
28438 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28441 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28443 * sysdeps/x86_64/x32/_itoa.h: New file.
28445 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28446 getdents system call only if kernel and user dirents have the
28447 same d_ino and d_off.
28449 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28450 LLONG_MAX != LONG_MAX.
28451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28452 (_fitoa_word): Likewise.
28454 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28456 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28457 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28458 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28460 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28461 include <bits/wordsize.h>. Check __x86_64__ instead of
28463 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28464 if __x86_64__ is defined. Use anonymous union on fpstate.
28466 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28469 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28471 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28472 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28473 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28474 Refer to _rtld_local_ro instead of _rtld_global_ro.
28475 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28477 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28479 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28481 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28482 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28483 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28485 * sysdeps/powerpc/powerpc32/dl-machine.c
28486 (__elf_machine_runtime_setup) [PROF]: Don't reference
28489 2012-05-18 Andreas Jaeger <aj@suse.de>
28491 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28492 function only available for GCCs before 3.4 since GCC 3.4
28493 introduced a builtin.
28495 (llrintf): Likewise.
28496 (llrint): Likewise.
28503 (nearbyint): Likewise.
28504 (nearbyintf): Likewise.
28508 (floorf): Likewise.
28510 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28512 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28513 on both fields and cast pointer to __syscall_ulong_t.
28515 * bits/types.h (__fsword_t): New type.
28516 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28517 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28519 (__FSWORD_T_TYPE): Likewise.
28520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28521 (__FSWORD_T_TYPE): Likewise.
28522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28523 (__FSWORD_T_TYPE): Likewise.
28524 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28525 (__FSWORD_T_TYPE): Likewise.
28526 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28527 __SWORD_TYPE with __fsword_t.
28528 (statfs64): Likewise.
28530 2012-05-17 David S. Miller <davem@davemloft.net>
28532 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28534 2012-05-17 Andreas Jaeger <aj@suse.de>
28536 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28539 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28541 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28543 2012-05-17 Andreas Jaeger <aj@suse.de>
28545 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28548 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28550 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28552 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28554 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28555 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28557 2012-05-17 Andreas Jaeger <aj@suse.de>
28558 Carlos O'Donell <carlos_odonell@mentor.com>
28561 * sysdeps/x86_64/multiarch/init-arch.h
28562 (bit_YMM_Usable): Rename to...
28563 (bit_AVX_Usable): ... this.
28564 (bit_FMA4_Usable): New macro.
28565 (bit_XMM_state): New macro.
28566 (bit_YMM_state): New macro.
28567 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28568 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28569 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28570 (CPUID_OSXSAVE): New macro.
28571 (CPUID_AVX): New macro.
28572 (CPUID_FMA4): New macro.
28573 (index_YMM_Usable): Rename to...
28574 (index_AVX_Usable): ... this.
28575 (HAS_AVX): Use HAS_ARCH_FEATURE.
28576 (HAS_FMA4): Likewise.
28577 (HAS_YMM_USABLE): Remove.
28578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28579 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28581 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28582 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28583 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28584 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28585 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28587 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28589 * math/libm-test.c: Support platforms without multiple rounding modes.
28590 * math/bug-nextafter.c: Support platforms without FP exceptions.
28591 * math/bug-nexttoward.c: Likewise.
28592 * math/test-fenv.c: Likewise.
28593 * math/test-misc.c: Likewise.
28594 * stdlib/bug-getcontext.c: Likewise.
28596 2012-05-17 Andreas Jaeger <aj@suse.de>
28598 * manual/examples/search.c (critter_cmp): Change signature to
28600 * manual/string.texi (Collation Functions): Likewise.
28602 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28604 * bits/types.h: Fold copyright years.
28605 * bits/typesizes.h: Likewise.
28606 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28607 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28610 * time/time.h: Likewise.
28612 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28615 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28616 in instead of returning them. Return void.
28617 (__libc_mallinfo): Accumulate over all arenas.
28618 (__malloc_stats): Adjust for change in int_mallinfo interface.
28620 2012-05-16 Roland McGrath <roland@hack.frob.com>
28623 * configure.in (NM): Add AC_CHECK_TOOL for it.
28624 (libc_extra_cflags): New substituted variable.
28625 Check for -fstack-protector being used implicitly.
28626 * configure: Regenerated.
28627 * config.make.in (config-extra-cflags): New variable,
28628 gets @libc_extra_cflags@.
28629 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28632 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28633 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28634 * configure: Regenerated.
28635 * config.make.in (CPPUNDEFS): New substituted variable.
28636 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28637 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28638 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28642 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28643 (mq_attr): Use __syscall_slong_t.
28645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28647 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28648 Check __x86_64__ instead of __WORDSIZE.
28649 (_STAT_VER_LINUX): Likewise.
28650 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28651 __syscall_ulong_t and __syscall_slong_t.
28652 (stat64): Likewise.
28654 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28656 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28658 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28660 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28662 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28664 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28667 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28668 include <bits/wordsize.h>. Check __x86_64__ instead of
28670 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28672 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28674 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28675 include <bits/wordsize.h>. Check __x86_64__ instead of
28677 (user_regs_struct): Use "__extension__ unsigned long long"
28678 instead of "unsigned long" if __x86_64__ is defined.
28679 (user): Likewise. Pad after pointer field if __ILP32__ is
28682 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28684 * configure.in (makeinfo): Require version 4.5 or later. Allow
28686 * configure: Regenerated.
28687 * manual/install.texi (texinfo): Increase version requirement to
28689 * INSTALL: Regenerated.
28691 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28693 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28695 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28697 * sysdeps/x86_64/x32/ffs.c: New file.
28699 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28701 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28702 defined. Use __syscall_ulong_t.
28703 (shminfo): Use __syscall_ulong_t.
28704 (shm_info): Likewise.
28706 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28709 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28711 (msgqnum_t): Use __syscall_ulong_t.
28712 (msglen_t): Likewise.
28713 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28716 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28717 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28719 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28721 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28722 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28724 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28727 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28728 include <bits/wordsize.h>. Check __x86_64__ instead of
28731 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28732 "unsigned long long int" if __x86_64__ is defined.
28733 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28735 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28736 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28737 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28739 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28741 (GET_PC): Cast to uintptr_t first.
28742 (GET_FRAME): Likewise.
28743 (GET_STACK): Likewise.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28752 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28753 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28754 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28755 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28756 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28757 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28759 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28760 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28761 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28762 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28764 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28768 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28775 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28777 * Makerules (+depfiles): Also collect depfiles from .oS in
28779 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28780 .oS, $(libnldbl-routines)).
28782 * Makerules (native-compile-mkdep-flags): Define.
28783 * sunrpc/Makefile (extra-objs): Add $(addprefix
28784 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28785 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28786 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28787 calling $(make-target-directory).
28789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28791 * bits/types.h (__snseconds_t): Removed.
28792 * time/time.h (struct timespec): Replace __snseconds_t with
28794 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28795 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28797 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28798 (__SNSECONDS_T_TYPE): Likewise.
28799 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28800 (__SNSECONDS_T_TYPE): Likewise.
28801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28802 (__SNSECONDS_T_TYPE): Likewise.
28804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28806 * sysdeps/mach/hurd/bits/typesizes.h
28807 (__SYSCALL_SLONG_TYPE): New macro.
28808 (__SYSCALL_ULONG_TYPE): Likewise.
28810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28812 * bits/types.h (__syscall_slong_t): New type.
28813 (__syscall_ulong_t): Likewise.
28815 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28816 (__SYSCALL_ULONG_TYPE): Likewise.
28817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28818 (__SYSCALL_SLONG_TYPE): Likewise.
28819 (__SYSCALL_ULONG_TYPE): Likewise.
28820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28821 (__SYSCALL_SLONG_TYPE): Likewise.
28822 (__SYSCALL_ULONG_TYPE): Likewise.
28823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28824 (__SYSCALL_SLONG_TYPE): Likewise.
28825 (__SYSCALL_ULONG_TYPE): Likewise.
28827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28829 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28830 Add sigaltstack-offsets.sym.
28831 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28832 <sigaltstack-offsets.h>.
28833 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28834 longjmp_msg pointer.
28835 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28836 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28838 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28840 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28842 * elf/stackguard-macros.h: Remove file.
28843 * sysdeps/generic/stackguard-macros.h: New file.
28844 * sysdeps/i386/stackguard-macros.h: Likewise.
28845 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28846 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28847 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28848 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28849 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28850 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28851 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28852 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28853 <elf/stackguard-macros.h>.
28856 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28857 __aligned__ in attribute.
28858 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28859 (gregset_t): Likewise.
28861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28863 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28864 * sysdeps/x86_64/64/Implies-after: Here. New file.
28865 * sysdeps/x86_64/x32/Implies-after: New file.
28867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28869 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28870 and access return value for _dl_profile_fixup. Use R10_LP to
28873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28875 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28879 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28880 * sysdeps/x86_64/x32/sysdep.h: New file.
28882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28884 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28885 * sysdeps/x86_64/setjmp.S: Likewise.
28887 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28889 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28890 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28891 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28892 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28893 remove unused global constant.
28895 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28897 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28898 include of <not-cancel.h>.
28900 2012-05-15 Roland McGrath <roland@hack.frob.com>
28902 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28904 2012-05-15 Jeff Law <law@redhat.com>
28905 Andreas Jaeger <aj@suse.de>
28908 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28910 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28911 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28912 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28913 code changing __hst_map_handle.map.
28915 2012-05-15 Roland McGrath <roland@hack.frob.com>
28917 * configure.in (sysnames): Look for Implies-before and Implies-after
28919 * configure: Regenerated.
28921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28923 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28924 8-byte data alignment with LP_SIZE alignment.
28926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28933 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28937 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28938 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28939 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28941 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28945 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28946 (stackinfo_sub_sp): Likewise.
28948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28955 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28960 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28965 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28969 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28970 into R11_LP and load __x86_64_shared_cache_size_half into
28973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28975 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28978 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28986 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28987 powerpc32/power7/fpu/s_logb.c via #include.
28988 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28989 powerpc32/power7/fpu/s_logbf.c via #include.
28990 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28991 powerpc32/power7/fpu/s_logbl.c via #include.
28993 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28995 * README.libm: Remove file.
28997 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28999 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29000 count for x32. Use R*_LP and omit operand-size suffix.
29002 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29004 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29005 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29006 * sysdeps/x86_64/x32/shlib-versions: New file.
29008 2012-05-14 Roland McGrath <roland@hack.frob.com>
29010 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29011 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29012 Use _dl_fatal_printf instead.
29014 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29016 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29017 set if not set by the user. Do not allow for being unset.
29018 * sysdeps/unix/sysv/linux/configure: Regenerated.
29020 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29022 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29023 the `q' suffix from lea and replace .quad with ASM_ADDR.
29025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29028 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29030 (PTR_DEMANGLE): Likewise.
29032 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29034 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29036 (ASM_ADDR): Likewise.
29037 (RAX_LP): Likewise.
29038 (RBP_LP): Likewise.
29039 (RBX_LP): Likewise.
29040 (RCX_LP): Likewise.
29041 (RDI_LP): Likewise.
29042 (RSI_LP): Likewise.
29043 (RSP_LP): Likewise.
29046 (R10_LP): Likewise.
29047 (R10_LP): Likewise.
29048 (R11_LP): Likewise.
29049 (R12_LP): Likewise.
29050 (R13_LP): Likewise.
29051 (R14_LP): Likewise.
29052 (R15_LP): Likewise.
29054 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29056 * sysdeps/x86_64/x32/dl-machine.h: New file.
29058 2012-05-14 Andreas Jaeger <aj@suse.de>
29060 * manual/Makefile (subdir): Remove export of subdir.
29061 (all): Remove target.
29062 (.PHONY): Remove all from list.
29063 (mkinstalldirs): Remove.
29064 (.PHONY): Remove installdirs from list.
29065 ($(inst_infodir)/libc.info): Use make-target-directory.
29066 (installdirs): Remove.
29067 (subdir_%): Remove.
29068 (glibc-targets): Remove.
29071 ($(objpfx)stubs ../po/manual.pot): Remove.
29072 ($(objpfx)stamp%): Remove.
29073 (make-target-directory): Remove.
29074 (subdir_install): Remove.
29075 (routines): Remove.
29082 * manual/.gitignore: Remove, it's not needed anymore.
29083 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29085 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29087 (texis): Renamed to $(objpfx)texis.
29088 (texis-path): New, contains path to generated files.
29089 (chapters.%): Use texis-path for complete path, add extra argument
29091 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29092 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29093 (summary,texi, stamp-summary): Use complete path of
29094 files. Generate files in build dir.
29095 (dir-add.texi): Build in build dir.
29096 (libm-err.texi,stamp-libm-err): Likewise.
29097 (version.texi, stamp-version): Likewise.
29098 (.%c.texi): Likewise.
29099 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29100 (mostlyclean): Remove target.
29101 (realclean): Remove target.
29102 (generated): Add new variable with contents from mostlyclean and
29103 realclean, remove entries duplicated in common-mostlyclean, add
29104 stamp-libm-err and stamp-version.
29105 (generated-dirs): Add libc directory.
29106 ($(inst_infodir)/libc.info): Install files from build dir.
29108 * manual/install.texi (Configuring and compiling): Adjust since
29109 the info files are not part of the tar ball anymore.
29111 2012-05-14 Andreas Jaeger <aj@suse.de>
29113 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29116 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29119 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29120 to 2.2.0 where earlier.
29121 * sysdeps/unix/sysv/linux/configure: Regenerated.
29122 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29123 Remove conditional code.
29124 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29125 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29126 Remove conditional code.
29127 [!__NR_lchown]: Likewise.
29128 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29129 [__NR_lchown]: Likewise.
29130 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29131 comment referencing __ASSUME_LCHOWN_SYSCALL.
29132 * sysdeps/unix/sysv/linux/i386/sigaction.c
29133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29135 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29136 Remove conditional code.
29137 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29138 (__protocol_available): Remove #if 0 code.
29139 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29141 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29142 * sysdeps/unix/sysv/linux/kernel-features.h
29143 (__ASSUME_GETCWD_SYSCALL): Don't define.
29144 (__ASSUME_REALTIME_SIGNALS): Likewise.
29145 (__ASSUME_PREAD_SYSCALL): Likewise.
29146 (__ASSUME_PWRITE_SYSCALL): Likewise.
29147 (__ASSUME_POLL_SYSCALL): Likewise.
29148 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29149 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29151 (__ASSUME_SIOCGIFNAME): Don't define.
29152 (__ASSUME_MSG_NOSIGNAL): Likewise.
29153 (__ASSUME_SENDFILE): Define unconditionally.
29154 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29155 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29157 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29158 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29159 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29160 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29161 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29162 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29163 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29165 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29168 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29171 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29174 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29177 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29180 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29188 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29189 Remove conditional code.
29190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29191 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29192 Remove conditional code.
29193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29194 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29195 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29196 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29197 Remove conditional code.
29198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29199 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29200 Remove conditional code.
29201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29202 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29203 Remove conditional code.
29204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29205 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29206 Remove conditional code.
29207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29208 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29209 Remove conditional code.
29210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29211 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29212 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29214 * sysdeps/unix/sysv/linux/sigaction.c
29215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29217 * sysdeps/unix/sysv/linux/sigpending.c
29218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29220 * sysdeps/unix/sysv/linux/sigprocmask.c
29221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29223 * sysdeps/unix/sysv/linux/sigsuspend.c
29224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29226 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29227 (__libc_missing_rt_sigs): Remove.
29228 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29229 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29230 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29231 Remove conditional code.
29232 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29233 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29235 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29236 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29237 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29238 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29240 2012-05-14 Andreas Jaeger <aj@suse.de>
29242 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29243 it's not used in glibc.
29244 (__coshm1): Likewise.
29245 (__acosh1p): Likewise.
29248 * manual/string.texi (Copying and Concatenation): Add missing
29249 variable in concat example.
29250 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29252 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29256 __builtin_clzl with __builtin_clzll.
29258 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29261 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29264 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29266 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29267 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29268 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29269 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29271 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29273 * NEWS: Update ia64 info.
29275 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29277 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29280 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29282 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29283 * sysdeps/unix/syscalls.list (dup3): Likewise.
29284 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29285 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29287 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29289 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29290 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29292 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29294 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29296 (TLS_IE): Use mov/add instead of movq/addq to load thread
29298 (TLS_GD_PREFIX): New.
29301 2012-05-11 David S. Miller <davem@davemloft.net>
29303 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29304 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29305 (_FPU_SETCW): Likewise.
29307 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29309 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29310 is 32-byte aligned.
29312 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29315 * iconvdata/gb18030.c: Update tables.
29316 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29317 characters specially.
29318 (BODY for TO_LOOP): Add encoding of missing ranges.
29320 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29323 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29324 * sysdeps/mach/hurd/dup3.c: Likewise.
29325 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29326 * sysdeps/powerpc/memmove.c:: Likewise.
29328 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29330 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29331 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29333 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29335 * elf/elf.h (R_X86_64_RELATIVE64): New.
29336 (R_X86_64_NUM): Updated.
29337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29338 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29339 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29340 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29341 tst-quad1pie tst-quad2pie
29342 (modules-names): Add tst-quadmod1 tst-quadmod2.
29343 ($(objpfx)tst-quad1): New dependency.
29344 ($(objpfx)tst-quad2): Likewise.
29345 ($(objpfx)tst-quad1pie): Likewise.
29346 ($(objpfx)tst-quad2pie): Likewise.
29347 * sysdeps/x86_64/tst-quad1.c: New file.
29348 * sysdeps/x86_64/tst-quad1pie.c: New file.
29349 * sysdeps/x86_64/tst-quad2.c: Likewise.
29350 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29351 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29352 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29353 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29354 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29358 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29359 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29360 * streams/stropts.h (t_scalar_t): Define type.
29362 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29363 (_PATH_PRESERVE): Set to "/var/lib".
29364 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29366 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29369 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29370 if __dir_mkfile succeeded.
29372 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29373 checking for _hurd_dtablesize. Unlock it right after having
29374 finished _hurd_dtable allocation.
29376 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29378 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29379 * sysdeps/mach/hurd/configure: Regenerated.
29380 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29381 special-casing to...
29382 * sysdeps/gnu/configure.in: ... this new file.
29383 * sysdeps/unix/sysv/linux/configure: Regenerated.
29384 * sysdeps/gnu/configure: New generated file.
29386 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29387 for Linux: use nsec instead of usec, as well as:
29388 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29389 members of type struct timespec.
29390 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29392 (struct stat64): Likewise.
29393 (_STATBUF_ST_NSEC): New macro.
29394 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29396 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29397 __strtoul_internal rather than strtoul.
29399 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29401 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29404 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29406 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29407 which preserves existing values.
29408 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29410 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29412 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29413 TIMEOUT values. Return EINVAL for NFDS values either negative or
29414 greater than FD_SETSIZE.
29416 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29418 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29419 allocated, call __vm_protect to finish enabling the existing space, and
29420 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29421 allocate the remainder.
29423 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29425 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29426 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29428 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29430 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29431 sysdeps/mach/hurd/readlink.c.
29433 * posix/tst-sysconf.c (posix_options): Only use
29434 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29435 _POSIX_SYNCHRONIZED_IO when they are defined
29436 * sysdeps/mach/hurd/bits/posix_opt.h:
29437 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29438 (_XOPEN_REALTIME): Undefine macro.
29439 (_XOPEN_REALTIME_THREADS): Undefine macro.
29440 (_XOPEN_SHM): Undefine macro.
29441 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29443 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29445 (_POSIX_ASYNC_IO): Undefine macro.
29446 (_POSIX_PRIORITIZED_IO): Undefine macro.
29447 (_POSIX_SPIN_LOCKS): Define macro to -1.
29449 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29450 SA_NODEFER, SA_RESETHAND.
29451 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29452 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29455 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29457 * elf/Makefile (pldd-modules): Define unconditionally.
29459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29461 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29463 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29465 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29466 Return ENOENT when name is empty.
29467 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29469 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29471 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29473 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29475 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29477 Fix mlock in all cases except non-readable pages.
29478 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29479 instead of VM_PROT_ALL as parameter to __vm_wire function.
29481 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29482 (__mkdir): When path is `/', just fail with EEXIST.
29483 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29485 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29487 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29488 <sys/uio.h> (for writev).
29489 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29490 and <sys/param.h> (for MIN).
29492 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29494 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29495 REQUESTED_TIME. Properly set the remaining time and return EINTR
29498 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29500 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29501 Depend on against $(link-rpcuserlibs).
29503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29505 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29506 (__libc_stack_end): Do not use attribute_relro.
29507 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29508 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29509 to libthread-provided value.
29510 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29516 * bits/libc-lock.h (__libc_once_get): New macro.
29517 * sysdeps/mach/bits/libc-lock.h: Likewise.
29518 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29520 instead of using implementation details.
29522 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29523 * libio/freopen.c: Likewise.
29524 * libio/freopen64.c: Likewise.
29525 * misc/syslog.c: Likewise.
29526 * nscd/connections.c: Likewise.
29527 * nscd/netgroupcache.c: Likewise.
29528 * sysdeps/posix/getcwd.c: Likewise.
29530 2012-05-10 Roland McGrath <roland@hack.frob.com>
29532 * math/w_ilogbf.c: Add #include <limits.h>.
29534 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29536 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29537 path instead of returning without unlocking.
29539 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29540 immediate-write ioctls.
29541 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29543 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29545 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29546 __builtin_frame_address instead of making assumptions about the
29547 location of the return address relative to DATA. Force early load of
29548 the return address.
29549 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29550 __builtin_frame_address.
29553 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29554 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29555 implement dup3 and do some further code clean-ups.
29556 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29557 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29561 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29563 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29564 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29565 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29566 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29567 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29570 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29571 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29572 when handler == SIG_ERR, not when handler != SIG_ERR.
29574 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29576 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29577 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29580 accept4 for GNU Hurd.
29581 * include/sys/socket.h (__libc_accept4): New prototype.
29582 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29583 to implement __libc_accept4.
29584 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29586 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29588 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29589 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29590 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29591 signal-defines.sym.
29593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29595 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29599 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29600 assertion on O_CLOEXEC flag.
29601 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29602 * hurd/intern-fd.c: Likewise.
29603 * hurd/port2fd.c: Likewise.
29605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29608 * bits/in.h (IPV6_PKTINFO): Define new macro.
29609 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29611 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29616 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29618 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29619 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29620 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29621 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29622 * math/libm-test.inc (logb_test) : Additional logb tests.
29624 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29625 Andreas Jaeger <aj@suse.de>
29627 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29628 * configure: Regenerated.
29629 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29630 * config.make.in (link-obsolete-rpc): New substituted variable.
29631 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29632 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29633 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29634 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29635 so that libc.a contains the symbols.
29636 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29637 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29638 * sunrpc/auth_none.c: Likewise.
29639 * sunrpc/auth_unix.c: Likewise.
29640 * sunrpc/authdes_prot.c: Likewise.
29641 * sunrpc/authuxprot.c: Likewise.
29642 * sunrpc/clnt_gen.c: Likewise.
29643 * sunrpc/clnt_perr.c: Likewise.
29644 * sunrpc/clnt_raw.c: Likewise.
29645 * sunrpc/clnt_simp.c: Likewise.
29646 * sunrpc/clnt_tcp.c: Likewise.
29647 * sunrpc/clnt_udp.c: Likewise.
29648 * sunrpc/clnt_unix.c: Likewise.
29649 * sunrpc/des_crypt.c: Likewise.
29650 * sunrpc/des_soft.c: Likewise.
29651 * sunrpc/get_myaddr.c: Likewise.
29652 * sunrpc/key_call.c: Likewise.
29653 * sunrpc/key_prot.c: Likewise.
29654 * sunrpc/netname.c: Likewise.
29655 * sunrpc/pm_getmaps.c: Likewise.
29656 * sunrpc/pm_getport.c: Likewise.
29657 * sunrpc/pmap_clnt.c: Likewise.
29658 * sunrpc/pmap_prot.c: Likewise.
29659 * sunrpc/pmap_prot2.c: Likewise.
29660 * sunrpc/pmap_rmt.c: Likewise.
29661 * sunrpc/publickey.c: Likewise.
29662 * sunrpc/rpc_cmsg.c: Likewise.
29663 * sunrpc/rpc_common.c: Likewise.
29664 * sunrpc/rpc_dtable.c: Likewise.
29665 * sunrpc/rpc_prot.c: Likewise.
29666 * sunrpc/rpc_thread.c: Likewise.
29667 * sunrpc/rtime.c: Likewise.
29668 * sunrpc/svc.c: Likewise.
29669 * sunrpc/svc_auth.c: Likewise.
29670 * sunrpc/svc_raw.c: Likewise.
29671 * sunrpc/svc_run.c: Likewise.
29672 * sunrpc/svc_tcp.c: Likewise.
29673 * sunrpc/svc_udp.c: Likewise.
29674 * sunrpc/svc_unix.c: Likewise.
29675 * sunrpc/svcauth_des.c: Likewise.
29676 * sunrpc/xcrypt.c: Likewise.
29677 * sunrpc/xdr.c: Likewise.
29678 * sunrpc/xdr_array.c: Likewise.
29679 * sunrpc/xdr_float.c: Likewise.
29680 * sunrpc/xdr_intXX_t.c: Likewise.
29681 * sunrpc/xdr_mem.c: Likewise.
29682 * sunrpc/xdr_rec.c: Likewise.
29683 * sunrpc/xdr_ref.c: Likewise.
29684 * sunrpc/xdr_sizeof.c: Likewise.
29685 * sunrpc/xdr_stdio.c: Likewise.
29687 2012-05-10 Roland McGrath <roland@hack.frob.com>
29689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29690 change. Update copyright years.
29692 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29694 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29696 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29697 Joseph Myers <joseph@codesourcery.com>
29698 Paul Pluzhnikov <ppluzhnikov@google.com>
29701 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29703 [cross-compiling] (extra-libs): Likewise.
29704 [cross-compiling] (extra-libs-others): Likewise.
29705 [cross-compiling] (librpcsvc-routines): Likewise.
29706 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29707 [cross-compiling] (omit-deps): Likewise.
29708 (sunrpc-CPPFLAGS): New variable.
29709 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29710 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29711 (cross-rpcgen-objs): New variable.
29712 (extra-objs): Append $(cross-rpcgen-objs).
29713 ($(cross-rpcgen-objs)): New rule.
29714 ($(objpfx)cross-rpcgen): Likewise.
29715 (rpcgen-cmd): Define to use $(built-program-file). Expand
29717 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29718 ($(objpfx)x%.stmp): Likewise.
29719 * sunrpc/proto.h [IS_IN_build] (_): Define.
29720 [IS_IN_build] (_libc_intl_domainname): Likewise.
29722 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29725 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29726 and R_X86_64_TPOFF64.
29728 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29730 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29731 sysdeps/unix/sysv/syscalls.list.
29734 * sysdeps/unix/sysv/syscalls.list: Remove file.
29736 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29739 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29740 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29741 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29742 (__LC_IDENTIFICATION): Make these macros useful in #if
29743 expressions, as required by C99.
29745 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29747 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29748 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29751 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29753 * stdlib/longlong.h: Updated from GCC.
29755 2012-05-09 Andreas Jaeger <aj@suse.de>
29757 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29758 default is first entry.
29759 (run_mode): Set type.
29760 (main): Remove informal message about syslog.
29761 (options): Fix typo.
29764 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29767 (llrintf): Likewise.
29768 (llrint): Likewise.
29771 (nearbyint): Likewise.
29772 (nearbyintf): Likewise.
29774 2012-05-09 Andreas Jaeger <aj@suse.de>
29775 Pedro Alves <palves@redhat.com>
29777 * nscd/nscd.c (run_mode): Use enum.
29778 (main): Cleanup coding style issue.
29780 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29781 Andreas Jaeger <aj@suse.de>
29783 * nscd/nscd.c (go_background): Replaced with...
29784 (run_mode): ... this.
29785 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29786 (options): Add -F --foreground.
29787 (main): Implement it.
29788 (parse_opt): Parse it.
29790 2012-05-09 Andreas Jaeger <aj@suse.de>
29793 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29794 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29795 -Wconversion warning.
29796 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29799 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29801 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29803 (LC_ALL): Use macro-int-constant.
29804 (LC_COLLATE): Likewise.
29805 (LC_CTYPE): Likewise.
29806 (LC_MESSAGES): Likewise.
29807 (LC_MONETARY): Likewise.
29808 (LC_NUMERIC): Likewise.
29809 (LC_TIME): Likewise.
29810 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29811 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29813 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29815 [C99-based standards] (float_t): Expect type.
29816 [C99-based standards] (double_t): Expect type.
29817 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29819 [C99-based standards] (HUGE_VALL): Likewise.
29820 [C99-based standards] (INFINITY): Likewise.
29821 [C99-based standards] (NAN): Likewise.
29822 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29823 [C99-based standards] (FP_NAN): Likewise.
29824 [C99-based standards] (FP_NORMAL): Likewise.
29825 [C99-based standards] (FP_SUBNORMAL): Likewise.
29826 [C99-based standards] (FP_ZERO): Likewise.
29827 [C99-based standards] (FP_FAST_FMA): Use
29828 optional-macro-int-constant. Specify type. Require == 1.
29829 [C99-based standards] (FP_FAST_FMAF): Likewise.
29830 [C99-based standards] (FP_FAST_FMAL): Likewise.
29831 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29832 [C99-based standards] (FP_ILOGBNAN): Likewise.
29833 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29835 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29836 [C99-based standards] (math_errhandling): Specify type.
29837 [ISO99 || ISO11] (signgam): Do not allow.
29838 [non-C99-based standards] (copysignf): Do not allow.
29839 [non-C99-based standards] (exp2f): Likewise.
29840 [non-C99-based standards] (log2f): Likewise.
29841 [non-C99-based standards] (modff): Allow.
29842 [non-C99-based standards] (erff): Do not allow.
29843 [non-C99-based standards] (erfcf): Likewise.
29844 [non-C99-based standards] (gammaf): Likewise.
29845 [non-C99-based standards] (hypotf): Likewise.
29846 [non-C99-based standards] (j0f): Likewise.
29847 [non-C99-based standards] (j1f): Likewise.
29848 [non-C99-based standards] (jnf): Likewise.
29849 [non-C99-based standards] (lgammaf): Likewise.
29850 [non-C99-based standards] (tgammaf): Likewise.
29851 [non-C99-based standards] (y0f): Likewise.
29852 [non-C99-based standards] (y1f): Likewise.
29853 [non-C99-based standards] (ynf): Likewise.
29854 [non-C99-based standards] (isnanf): Likewise.
29855 [non-C99-based standards] (acoshf): Likewise.
29856 [non-C99-based standards] (asinhf): Likewise.
29857 [non-C99-based standards] (atanhf): Likewise.
29858 [non-C99-based standards] (cbrtf): Likewise.
29859 [non-C99-based standards] (expm1f): Likewise.
29860 [non-C99-based standards] (ilogbf): Likewise.
29861 [non-C99-based standards] (log1pf): Likewise.
29862 [non-C99-based standards] (logbf): Likewise.
29863 [non-C99-based standards] (nextafterf): Likewise.
29864 [non-C99-based standards] (remainderf): Likewise.
29865 [non-C99-based standards] (rintf): Likewise.
29866 [non-C99-based standards] (scalbf): Likewise.
29867 [non-C99-based standards] (copysignl): Likewise.
29868 [non-C99-based standards] (exp2l): Likewise.
29869 [non-C99-based standards] (log2l): Likewise.
29870 [non-C99-based standards] (modfl): Allow.
29871 [non-C99-based standards] (erfl): Do not allow.
29872 [non-C99-based standards] (erfcl): Likewise.
29873 [non-C99-based standards] (gammal): Likewise.
29874 [non-C99-based standards] (hypotl): Likewise.
29875 [non-C99-based standards] (j0l): Likewise.
29876 [non-C99-based standards] (j1l): Likewise.
29877 [non-C99-based standards] (jnl): Likewise.
29878 [non-C99-based standards] (lgammal): Likewise.
29879 [non-C99-based standards] (tgammal): Likewise.
29880 [non-C99-based standards] (y0l): Likewise.
29881 [non-C99-based standards] (y1l): Likewise.
29882 [non-C99-based standards] (ynl): Likewise.
29883 [non-C99-based standards] (isnanl): Likewise.
29884 [non-C99-based standards] (acoshl): Likewise.
29885 [non-C99-based standards] (asinhl): Likewise.
29886 [non-C99-based standards] (atanhl): Likewise.
29887 [non-C99-based standards] (cbrtl): Likewise.
29888 [non-C99-based standards] (expm1l): Likewise.
29889 [non-C99-based standards] (ilogbl): Likewise.
29890 [non-C99-based standards] (log1pl): Likewise.
29891 [non-C99-based standards] (logbl): Likewise.
29892 [non-C99-based standards] (nextafterl): Likewise.
29893 [non-C99-based standards] (remainderl): Likewise.
29894 [non-C99-based standards] (rintl): Likewise.
29895 [non-C99-based standards] (scalbl): Likewise.
29896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29897 [non-C99-based standards] (FP_*): Do not allow.
29898 [C99-based standards] (FP_*): Change to
29899 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29900 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29902 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29903 (SIG_ERR): Likewise.
29904 [X/Open-based standards] (SIG_HOLD): Likewise.
29905 (SIG_IGN): Likewise.
29906 (SIGABRT): Use macro-int-constant. Specify type. Require
29908 (SIGFPE): Likewise.
29909 (SIGILL): Likewise.
29910 (SIGINT): Likewise.
29911 (SIGSEGV): Likewise.
29912 (SIGTER): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29928 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29929 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29931 [X/Open-based standards] (SIGTRAP): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29936 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29939 2012-05-08 Ian Wienand <ianw@vmware.com>
29942 * time/tzset.c (__tzset_parse_tz): Update default rules for
29943 daylight time changes in the Energy Policy Act of 2005.
29945 2012-05-09 Andreas Jaeger <aj@suse.de>
29948 * elf/ldconfig.c (parse_conf): Change string to make clear that
29949 ldconfig only issued a warning if ld.so.conf does not exist.
29951 2012-05-08 David S. Miller <davem@davemloft.net>
29953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29954 movxtod instead of popping the value on the stack.
29956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29958 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29960 * config.h.in: Add HAVE_ARM_PCS_VFP.
29962 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29965 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29966 checking but the checks are disabled for any reason.
29968 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29970 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29971 and ELF64_R_TYPE with ELFW(R_TYPE).
29973 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29975 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29976 (ulimit): Likewise.
29978 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29979 (settimeofday): Likewise.
29981 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29983 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29984 a struct th_u2 inside the union, and move tu_block/tu_code into
29985 a new th_u3 union of tu_block/tu_code inside of that. Move
29986 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29987 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29988 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29989 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29990 (th_stuff): Change to th_u1.tu_stuff.
29992 (th_msg): Change to th_u1.th_u2.tu_data.
29994 2012-05-07 David S. Miller <davem@davemloft.net>
29996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29999 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30000 (SETUP_PIC_REG): Use it.
30001 (SETUP_PIC_REG_LEAF): Use it.
30003 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30007 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30009 (EXPL_FINITE): Likewise.
30010 (FLDLOG): Likewise.
30011 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30012 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30016 (EXPL_FINITE): Likewise.
30017 (FLDLOG): Likewise.
30018 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30019 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30021 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30022 test of -max_value argument for long double.
30023 * sysdeps/i386/fpu/libm-test-ulps: Update.
30024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30026 2012-05-06 David S. Miller <davem@davemloft.net>
30028 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30029 quad soft-float symbols whose references which are compiler
30031 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30033 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30039 (EXPL_FINITE): Likewise.
30040 (FLDLOG): Likewise.
30043 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30044 Adjust comments for base varying.
30045 (__expl_finite): Change alias to EXPL_FINITE.
30046 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30048 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30049 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30050 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30051 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30052 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30054 (EXPL_FINITE): Likewise.
30055 (FLDLOG): Likewise.
30058 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30059 Adjust comments for base varying.
30060 (__expl_finite): Change alias to EXPL_FINITE.
30061 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30066 * math/libm-test.inc (check_float_internal): Correct ulp
30067 calculation for subnormal expected results.
30069 2012-05-06 Andreas Jaeger <aj@suse.de>
30071 * Makeconfig (+math-flags): New, set to -frounding-math.
30072 (+cflags): Add +math-flags so that all of glibc gets compiled with
30075 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30077 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30079 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30085 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30086 (__ieee754_expl): Allow for and saturate large arguments.
30087 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30088 (u_threshold): Likewise.
30089 (__exp): Call __ieee754_exp before checking for overflow and
30091 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30092 (u_threshold): Likewise.
30093 (__expf): Call __ieee754_expf before checking for overflow and
30095 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30096 (u_threshold): Likewise.
30097 (__expl): Call __ieee754_expl before checking for overflow and
30099 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30100 (__ieee754_expl): Allow for and saturate large arguments.
30101 * math/libm-test.inc (exp_test): Add another test. Do not allow
30102 missing overflow exception on overflow.
30103 (expm1_test): Do not allow missing overflow exception on overflow.
30105 * sysdeps/i386/fpu/e_expl.c: Move to ...
30106 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30107 rather than using inline asm.
30108 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30109 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30110 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30112 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30115 (signal): Likewise.
30119 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30121 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30122 sysdeps/unix/common/syscalls.list.
30123 (fchmod): Likewise.
30124 (fchown): Likewise.
30125 (ftruncate): Likewise.
30126 (getrusage): Likewise.
30127 (gettimeofday): Likewise.
30128 (setpgid): Likewise.
30129 (setregid): Likewise.
30130 (setreuid): Likewise.
30131 (sigaction): Likewise.
30132 (truncate): Likewise.
30133 (vhangup): Likewise.
30134 * sysdeps/unix/common/syscalls.list: Remove file.
30135 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30136 * sysdeps/unix/sysv/linux/Implies: Likewise.
30138 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30140 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30142 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30146 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30149 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30152 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30155 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30158 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30161 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30164 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30168 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30172 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30175 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30179 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30183 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30185 * sysdeps/unix/common/bits/dirent.h: Remove file.
30186 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30188 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30189 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30190 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30191 * sysdeps/unix/bsd/isatty.c: Likewise.
30192 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30193 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30194 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30196 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30200 long double comparison inaccuracies.
30201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30204 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30206 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30209 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30213 nonzero digits before rounding a hex value.
30214 * stdlib/tst-strtod.c (tests): Add another test.
30216 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30218 * sysdeps/s390/fpu/libm-test-ulps: Update.
30220 2012-05-03 Andreas Jaeger <aj@suse.de>
30222 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30223 does not get optimized out.
30224 (malloc_opt_barrier): New.
30226 2012-05-03 Andreas Jaeger <aj@suse.de>
30227 Roland McGrath <roland@hack.frob.com>
30229 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30230 intermediate file deletion.
30231 (generated): Add .symlist files.
30233 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30236 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30237 Redirect under this condition.
30238 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30239 [__USE_GNU] (__dprintf_chk): Not under this condition.
30240 [__USE_GNU] (__vdprintf_chk): Likewise.
30241 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30242 under this condition.
30243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30244 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30245 [__USE_XOPEN2K8] (vdprintf): Likewise.
30246 [__USE_GNU] (__dprintf_chk): Not under this condition.
30247 [__USE_GNU] (__vdprintf_chk): Likewise.
30248 [__USE_GNU] (dprintf): Likewise.
30249 [__USE_GNU] (vdprintf): Likewise.
30251 2012-05-03 Roland McGrath <roland@hack.frob.com>
30253 * elf/Makefile (common-generated): Set this instead of generated for
30254 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30255 $(all-built-dso)-derived lists.
30257 2012-05-03 Andreas Jaeger <aj@suse.de>
30259 * sysdeps/i386/fpu/libm-test-ulps: Update.
30262 * FAQ.in: Likewise.
30263 * scripts/gen-FAQ.pl: Likewise.
30264 * manual/install.texi (Installation): Point to online location of
30266 * Makefile (files-for-dist): Remove FAQ.
30269 2012-05-02 Allan McRae <allan@archlinux.org>
30271 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30272 (LDFLAGS-reldepmod5.so): Likewise.
30273 (LDFLAGS-reldep6mod1.so): Likewise.
30274 (LDFLAGS-reldep6mod4.so): Likewise.
30275 (LDFLAGS-reldep8mod3.so): Likewise.
30276 (LDFLAGS-unload4mod1.so): Likewise.
30277 (LDFLAGS-unload4mod2.so): Likewise.
30278 (LDFLAGS-tst-initorder): Likewise.
30279 (LDFLAGS-tst-initordera2.so): Likewise.
30280 (LDFLAGS-tst-initordera3.so): Likewise.
30281 (LDFLAGS-tst-initordera4.so): Likewise.
30282 (LDFLAGS-tst-initorderb2.so): Likewise.
30283 (LDFLAGS-noload): Likewise.
30284 (LDFLAGS-next): Likewise.
30285 (LDFLAGS-order2mod1.so): Likewise.
30286 (LDFLAGS-order2mod2.so): Likewise.
30287 (LDFLAGS-tst-initorder2): Likewise.
30288 (LDFLAGS-tst-initorder2a.so): Likewise.
30289 (LDFLAGS-tst-initorder2b.so): Likewise.
30290 (LDFLAGS-tst-initorder2c.so): Likewise.
30291 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30293 2012-05-02 David S. Miller <davem@davemloft.net>
30295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30297 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30300 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30302 2012-05-02 Andreas Jaeger <aj@suse.de>
30304 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30305 since we manipulate rounding mode.
30306 (CPPFLAGS-test-idouble.c): Likewise.
30307 (CPPFLAGS-test-ifloat.c): Likewise.
30308 (CFLAGS-test-ldouble.c): Likewise.
30309 (CFLAGS-test-double.c): Likewise.
30310 (CFLAGS-test-float.c): Likewise.
30311 (CFLAGS-test-misc.c): Likewise.
30312 (CFLAGS-test-test-fenv.c): Likewise.
30314 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30318 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30319 comparisons to determine direction to adjust input.
30321 2012-05-01 Roland McGrath <roland@hack.frob.com>
30323 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30324 output to the target.
30326 * scripts/localplt.awk: New file.
30327 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30328 (check-localplt-CFLAGS): Variable removed.
30329 ($(all-built-dso:=.jmprel)): New static pattern rule.
30330 (generated): Add those targets.
30331 (localplt-built-dso): New variable.
30332 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30334 * elf/check-localplt.c: File removed.
30336 * scripts/check-execstack.awk: New file.
30337 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30338 (check-execstack-CFLAGS): Variable removed.
30339 ($(objpfx)check-execstack.h): Target removed.
30340 ($(objpfx)execstack-default): New target.
30341 (generated): Add that instead of check-execstack.h.
30342 ($(all-built-dso:=.phdr)): New static pattern rule.
30343 (generated): Add those targets.
30344 * elf/check-execstack.c: File removed.
30346 * scripts/check-textrel.awk: New file.
30347 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30348 (check-textrel-CFLAGS): Variable removed.
30349 (all-built-dso): Use := to define.o
30350 ($(all-built-dso:=.dyn)): New static pattern rule.
30351 (generated): Add those targets.
30352 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30353 * config.make.in (READELF): New substituted variable.
30354 * elf/check-textrel.c: File removed.
30356 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30358 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30360 * conform/data/ctype.h-data [C99-based standards] (isblank):
30362 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30363 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30365 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30366 Specify type. Require positive value.
30367 (EILSEQ): Likewise.
30368 (ERANGE): Likewise.
30369 [ISO || POSIX] (EILSEQ): Do not expect.
30370 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30371 Specify type. Require positive value.
30372 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30387 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30388 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30392 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30393 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30394 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30395 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30396 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30397 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30398 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30399 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30400 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30401 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30402 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30403 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30442 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30446 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30447 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30448 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30450 (FLT_ROUNDS): Expect as macro, not constant.
30451 (FLT_MANT_DIG): Use macro-int-constant.
30452 (DBL_MANT_DIG): Likewise.
30453 (LDBL_MANT_DIG): Likewise.
30454 (FLT_DIG): Likewise.
30455 (DBL_DIG): Likewise.
30456 (LDBL_DIG): Likewise.
30457 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30458 (DBL_MIN_EXP): Likewise.
30459 (LDBL_MIN_EXP): Likewise.
30460 (FLT_MAX_EXP): Use macro-int-constant.
30461 (DBL_MAX_EXP): Likewise.
30462 (LDBL_MAX_EXP): Likewise.
30463 (FLT_MAX_10_EXP): Likewise.
30464 (DBL_MAX_10_EXP): Likewise.
30465 (LDBL_MAX_10_EXP): Likewise.
30466 (FLT_MAX): Use macro-constant.
30467 (DBL_MAX): Likewise.
30468 (LDBL_MAX): Likewise.
30469 (FLT_EPSILON): Use macro-constant. Give upper bound.
30470 (DBL_EPSILON): Likewise.
30471 (LDBL_EPSILON): Likewise.
30472 (FLT_MIN): Likewise.
30473 (DBL_MIN): Likewise.
30474 (LDBL_MIN): Likewise.
30475 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30476 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30477 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30478 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30479 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30480 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30481 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30482 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30483 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30484 [ISO11] (FLT_TRUE_MIN): Likewise.
30485 [ISO11] (LDBL_TRUE_MIN): Likewise.
30486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30487 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30488 (SCHAR_MIN): Use macro-int-constant. Specify type.
30489 (SCHAR_MAX): Likewise.
30490 (UCHAR_MAX): Likewise.
30491 (CHAR_MIN): Likewise.
30492 (CHAR_MAX): Likewise.
30493 (MB_LEN_MAX): Use macro-int-constant.
30494 (SHRT_MIN): Use macro-int-constant. Specify type.
30495 (SHRT_MAX): Likewise.
30496 (USHRT_MAX): Likewise.
30497 (INT_MAX): Likewise.
30498 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30500 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30502 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30504 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30505 bound negative. Suffix upper bound with "L".
30506 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30508 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30510 [C99-based standards] (LLONG_MAX): Likewise.
30511 [C99-based standards] (ULLONG_MAX): Likewise.
30512 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30514 [ISO11] (max_align_t): Require type.
30515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30517 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30518 from $CFLAGS, without defining away __attribute__ calls.
30519 (checknamespace): Use $CFLAGS_namespace.
30521 * conform/conformtest.pl (@keywords): Only include C99 keywords
30522 for standards based on C99 or C11.
30524 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30526 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30529 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30530 usability of symbols in #if.
30532 * conform/conformtest.pl: If macro or constant types start
30533 "promoted:", expect the symbol to be of the following type
30534 promoted by the integer promotions.
30536 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30537 in one place. Also handle "macro-constant".
30539 * conform/conformtest.pl: Only accept expected macro values with
30540 "==". Parse all "macro" lines in one place.
30541 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30543 * conform/conformtest.pl: Handle braced types on "constant" lines
30544 instead of handling "typed-constant".
30545 * conform/data/signal.h-data: Use "constant" instead of
30548 * conform/conformtest.pl: Handle "optional-" at start of lines in
30549 one place rather than duplicating several cases. Handle each
30550 format of "macro" line with initial "optional-".
30552 * conform/conformtest.pl: Only accept expected constant or
30553 optional-constant values with "==". Parse all "constant" lines in
30554 one place. Parse all "optional-constant" lines in one place.
30555 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30556 * conform/data/fmtmsg.h-data: Likewise.
30557 * conform/data/netinet/in.h-data: Likewise.
30558 * conform/data/tar.h-data: Likewise.
30559 * conform/data/limits.h-data: Use "==" form on "constant" and
30560 "optional-constant" lines.
30562 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30563 Use -std=c99 for XOPEN2K.
30564 (@knownproblems): Remove.
30565 (newtoken): Don't check %isknown.
30567 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30568 Do not expect macro.
30569 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30578 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30579 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30580 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30581 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30582 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30583 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30584 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30585 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30586 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30589 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30590 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30595 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30596 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30597 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30598 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30599 [XPG3] (acosh): Likewise.
30600 [XPG3] (asinh): Likewise.
30601 [XPG3] (atanh): Likewise.
30602 [XPG3] (cbrt): Likewise.
30603 [XPG3] (expm1): Likewise.
30604 [XPG3] (ilogb): Likewise.
30605 [XPG3] (log1p): Likewise.
30606 [XPG3] (logb): Likewise.
30607 [XPG3] (nextafter): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30610 [XPG3] (remainder): Likewise.
30611 [XPG3] (rint): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30619 [UNIX98 || XOPEN2K] (scalb): Expect.
30620 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30621 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30758 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30759 _XOPEN_SOURCE_EXTENDED for XPG4.
30761 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30763 * Makeconfig (localtime): Remove variable.
30764 (inst_localtime-file): Likewise.
30766 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30787 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30791 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30792 comparisons to determine direction to adjust input.
30793 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30794 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30797 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30801 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30802 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30804 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30806 * math/libm-test.inc (nexttoward_test): Add more tests.
30808 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30812 in version GLIBC_2.1, not GLIBC_2.0.
30813 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30816 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30819 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30821 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30822 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30823 * math/libm-test.inc (acos_test): Add more tests.
30824 (asin_test): Likewise.
30825 * sysdeps/i386/fpu/libm-test-ulps: Update.
30826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30829 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30831 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30832 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30833 * math/libm-test.inc (acos_test_tonearest): New function.
30834 (acos_test_towardzero): Likewise.
30835 (acos_test_downward): Likewise.
30836 (acos_test_upward): Likewise.
30837 (asin_test_tonearest): Likewise.
30838 (asin_test_towardzero): Likewise.
30839 (asin_test_downward): Likewise.
30840 (asin_test_upward): Likewise.
30841 (main): Call the new functions.
30842 * sysdeps/i386/fpu/libm-test-ulps: Update.
30843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30847 * math/e_exp10.c: Include <float.h>.
30848 (__ieee754_exp10): Handle underflow here rather than multiplying
30849 large negative argument by M_LN10.
30850 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30852 * math/e_exp10l.c: Include <float.h>.
30853 (__ieee754_exp10l): Handle underflow here rather than multiplying
30854 large negative argument by M_LN10l.
30855 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30856 spurious overflow exception on underflow.
30858 2012-04-29 Marek Polacek <polacek@redhat.com>
30860 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30861 (__fortify_function): New macro.
30862 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30863 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30864 __extern_always_inline.
30865 * libio/bits/stdio2.h: Likewise.
30866 * libio/bits/stdio.h: Likewise.
30867 * string/string.h: Likewise.
30868 * string/bits/string3.h: Likewise.
30869 * include/stdio.h: Likewise.
30870 * stdlib/bits/stdlib.h: Likewise.
30871 * stdlib/stdlib.h: Likewise.
30872 * rt/bits/mqueue2.h: Likewise.
30873 * rt/mqueue.h: Likewise.
30874 * posix/bits/unistd.h: Likewise.
30875 * posix/unistd.h: Likewise.
30876 * io/bits/poll2.h: Likewise.
30877 * io/bits/fcntl2.h: Likewise.
30878 * io/fcntl.h: Likewise.
30879 * io/sys/poll.h: Likewise.
30880 * misc/bits/syslog.h: Likewise.
30881 * misc/bits/syslog-ldbl.h: Likewise.
30882 * misc/sys/syslog.h: Likewise.
30883 * socket/bits/socket2.h: Likewise.
30884 * socket/sys/socket.h: Likewise.
30885 * debug/tst-chk1.c: Likewise.
30886 * wcsmbs/bits/wchar2.h: Likewise.
30887 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30888 * wcsmbs/wchar.h: Likewise.
30890 2012-04-29 Andreas Jaeger <aj@suse.de>
30892 * Makerules (tests): Remove enable-check-abi protection.
30893 (check-abi-warn): Remove.
30894 (check-abi-%): Remove check-abi-warn usage.
30896 * configure.in: Remove check-abi configure option.
30897 * configure: Regenerated.
30898 * config.make.in (enable-check-abi): Remove.
30900 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30903 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30904 double functions to double *_finite functions.
30907 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30908 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30910 * stdio-common/Makefile (tests): Add tst-sprintf3.
30911 * stdio-common/tst-sprintf3.c: New file.
30913 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30914 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30916 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30918 * conform/conformtest.pl: Remove duplicate typed-constant
30921 2012-04-28 David S. Miller <davem@davemloft.net>
30923 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30924 (check-abi-%): Remove AWK script prerequisite and explicit
30926 (check-abi): Rewrite to just diff the symlist with the abilist.
30927 (config-tls, config-abi-config): Delete, no longer used.
30928 (update-abi-%): Remove AWK script and explicit abilist directory.
30929 (update-abi): Rewrite to simply compare and conditionally copy the
30930 symlist and the sysdep abilist file. Remove update-abi-config
30932 * abilist/ld.abilist: Remove.
30933 * abilist/libBrokenLocale.abilist: Remove.
30934 * abilist/libanl.abilist: Remove.
30935 * abilist/libcrypt.abilist: Remove.
30936 * abilist/libdl.abilist: Remove.
30937 * abilist/librt.abilist: Remove.
30938 * abilist/libthread_db.abilist: Remove.
30939 * abilist/libutil.abilist: Remove.
30940 * scripts/extract-abilist.awk: Remove.
30941 * scripts/merge-abilist.awk: Remove.
30942 * sysdeps/generic/libcidn.abilist: New file.
30943 * sysdeps/generic/libnss_compat.abilist: New file.
30944 * sysdeps/generic/libnss_db.abilist: New file.
30945 * sysdeps/generic/libnss_dns.abilist: New file.
30946 * sysdeps/generic/libnss_files.abilist: New file.
30947 * sysdeps/generic/libnss_hesiod.abilist: New file.
30948 * sysdeps/generic/libnss_nis.abilist: New file.
30949 * sysdeps/generic/libnss_nisplus.abilist: New file.
30950 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30951 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30952 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30954 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30955 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30956 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30957 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30958 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30959 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30960 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30961 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30962 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30964 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30965 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30966 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30967 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30969 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30970 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30971 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30972 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30973 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30974 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30976 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30977 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30978 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30980 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31083 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31084 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31085 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31088 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31089 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31090 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31091 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31092 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31093 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31094 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31095 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31096 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31148 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31150 * conform/conformtest.pl: Fix typo in handling typed-constant from
31153 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31155 * README: Cut down references to pre-2.6 Linux kernels and
31156 Linuxthreads. Update lists of configurations in libc and ports
31157 and sort alphabetically. Say "or newer" with Linux kernel version
31160 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31162 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31165 * math/libm-test.inc (logb_test_downward): New test to expose
31166 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31169 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31172 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31174 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31175 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31177 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31179 * sysdeps/unix/i386/brk.S: Remove file.
31180 * sysdeps/unix/i386/dl-brk.S: Likewise.
31181 * sysdeps/unix/i386/pipe.S: Likewise.
31182 * sysdeps/unix/i386/sigreturn.S: Likewise.
31183 * sysdeps/unix/i386/syscall.S: Likewise.
31184 * sysdeps/unix/i386/vfork.S: Likewise.
31185 * sysdeps/unix/i386/wait.S: Likewise.
31187 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31188 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31190 * configure.in (arm*-none*): Do not allow without
31191 --enable-hacker-mode.
31192 (netbsd*): Remove case setting base_os.
31193 (386bsd*): Likewise.
31194 (freebsd*): Likewise.
31197 (sunos*): Likewise.
31198 (ultrix*): Likewise.
31199 (newsos*): Likewise.
31200 (dynix*): Likewise.
31206 (minix*): Likewise.
31207 (irix4*): Likewise.
31208 (irix6*): Likewise.
31209 (solaris[2-9]*): Likewise.
31211 * configure: Regenerated.
31213 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31216 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31217 overflow or cancellation in calculating denominator.
31218 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31220 down expression to avoid unexpected rounding in newer GCCs.
31221 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31223 2012-04-26 David S. Miller <davem@davemloft.net>
31225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31226 long-double compat symbols.
31227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31241 2012-04-25 David S. Miller <davem@davemloft.net>
31243 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31244 HWCAP_* values only after the memory barriers have been defined.
31245 (atomic_full_barrier): Define.
31246 (atomic_read_barrier): Define.
31247 (atomic_write_barrier): Define.
31249 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31251 * shlib-versions: Add libgcc_s version information.
31252 * sysdeps/generic/libgcc_s.h: Remove.
31253 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31255 * sysdeps/gnu/unwind-resume.c: Likewise.
31256 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31258 2012-04-25 David S. Miller <davem@davemloft.net>
31260 * sysdeps/unix/sparc/brk.S: Delete.
31261 * sysdeps/unix/sparc/dl-brk.S: Delete.
31262 * sysdeps/unix/sparc/pipe.S: Delete.
31263 * sysdeps/unix/sparc/sysdep.S: Delete.
31264 * sysdeps/unix/sparc/sysdep.h: Delete.
31265 * sysdeps/unix/sparc/vfork.S: Delete.
31266 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31267 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31269 ret_ERRVAL, r0, r1, MOVE): Define.
31270 (JUMPTARGET): Remove.
31271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31272 sysdeps/unix/sparc/sysdep.h
31273 (ENTRY, END): Remove.
31274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31276 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31278 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31279 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31282 * timezone/README: Update upstream location and email address for
31284 * timezone/zdump.c: Update from tzcode 2012b.
31285 * timezone/zic.c: Likewise.
31287 * configure.in (libc_cv_as_needed): Remove test.
31288 * configure: Regenerated.
31289 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31290 conditional definition.
31291 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31292 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31293 * config.make.in (have-as-needed): Remove variable.
31295 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31296 Paul Pluzhnikov <ppluzhnikov@google.com>
31298 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31301 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31303 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31304 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31305 * sysdeps/sh/strlen.S: Likewise.
31307 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31309 * sysdeps/unix/fork.S: Remove file.
31310 * sysdeps/unix/i386/fork.S: Likewise.
31311 * sysdeps/unix/sparc/fork.S: Likewise.
31313 * sysdeps/unix/system.c: Remove file.
31314 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31316 * sysdeps/unix/getegid.S: Remove file.
31317 * sysdeps/unix/geteuid.S: Likewise.
31319 2012-04-24 Roland McGrath <roland@hack.frob.com>
31321 * scripts/check-localplt.awk: New file.
31322 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31324 * scripts/data/localplt-generic.data: Add a comment.
31326 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31327 NODE when __dir_mkfile failed.
31328 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31329 Reported by Ludovic Courtès <ludo@gnu.org>.
31331 2012-04-24 Andreas Jaeger <aj@suse.de>
31333 * Makerules (common-clean): Also remove gen-as-const-headers
31336 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31338 * Makerules (native-compile): Do not change working directory for
31339 build. Use $(OUTPUT_OPTION) in command.
31340 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31342 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31345 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31346 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31347 * math/libm-test.inc (floor_test): Add more tests.
31348 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31350 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31352 * sysdeps/unix/getdents.c: Remove file.
31353 * sysdeps/unix/sysv/getdents.c: Likewise.
31354 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31356 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31357 sysdeps/unix/mman/syscalls.list.
31359 (mprotect): Likewise.
31361 (munmap): Likewise.
31362 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31363 * sysdeps/unix/mman/syscalls.list: Remove.
31364 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31366 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31367 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31368 * configure: Regenerated.
31369 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31370 $(libgcc_s_suffix).
31371 * config.make.in (libgcc_s_suffix): Remove variable.
31373 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31375 * sysdeps/unix/sysv/gethostname.c: Move to ...
31376 * sysdeps/posix/gethostname.c: ... here.
31378 * sysdeps/unix/execve.S: Remove file.
31380 * sysdeps/unix/_exit.S: Remove file.
31382 2012-04-23 Andreas Jaeger <aj@suse.de>
31385 * manual/Makefile: Remove make dist support, there's no
31386 need for a stand-alone documentation tar ball.
31387 (TEXI2DVI): Define always, it's not in Makeconfig.
31390 (edition): Removed.
31391 (glibc-doc-$(edition).tar): Removed
31395 (ETAGS): Remove, it's in Makeconfig.
31396 (move-if-change): Remove, it's in Makeconfig.
31398 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31401 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31402 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31403 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31404 (strtod_l, strtof_l, strtold_l): Remove __wur.
31405 It is not necessarily an error to ignore strtol's return value.
31406 One can reliably look at the stored endptr to decide whether
31407 the number had valid syntax.
31409 2012-04-21 Andreas Jaeger <aj@suse.de>
31412 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31414 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31416 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31417 * sysdeps/unix/sysv/Versions: Remove file.
31419 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31424 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31427 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31428 version from __vm86.
31430 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31432 * sysdeps/unix/common/lxstat.c: Remove file.
31433 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31435 * sysdeps/unix/sysv/Makefile: Remove file.
31437 * sysdeps/unix/sysv/direct.h: Remove file.
31439 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31440 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31441 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31442 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31443 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31444 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31445 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31447 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31449 * sysdeps/unix/xmknod.c: Remove file.
31450 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31452 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31454 * sysdeps/unix/sysv/i386/time.S: Remove file.
31456 * sysdeps/unix/fxstat.c: Remove file.
31457 * sysdeps/unix/xstat.c: Likewise.
31458 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31460 * sysdeps/unix/sysv/sigaction.c: Remove file.
31462 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31463 (sysdep_headers): Remove variable.
31464 [termio.h not in sysdep_headers] (generated): Likewise.
31465 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31466 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31467 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31468 * sysdeps/unix/sysv/tcflow.c: Likewise.
31469 * sysdeps/unix/sysv/tcflush.c: Likewise.
31470 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31471 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31472 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31473 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31474 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31476 * sysdeps/unix/siglist.c: Remove file.
31478 * sysdeps/unix/getppid.S: Remove file.
31480 * sysdeps/unix/mkdir.c: Remove file.
31481 * sysdeps/unix/rmdir.c: Likewise.
31483 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31485 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31487 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31488 errlist-compat value.
31490 2012-04-18 David S. Miller <davem@davemloft.net>
31492 * sysdeps/generic/memcopy.h (reg_char): Delete.
31493 * debug/strcat_chk.c: Use char, not reg_char.
31494 * debug/strcpy_chk.c: Likewise.
31495 * debug/strncat_chk.c: Likewise.
31496 * debug/strncpy_chk.c: Likewise.
31497 * string/memchr.c: Likewise.
31498 * string/memrchr.c: Likewise.
31499 * string/rawmemchr.c: Likewise.
31500 * string/strcat.c: Likewise.
31501 * string/strchr.c: Likewise.
31502 * string/strchrnul.c: Likewise.
31503 * string/strcmp.c: Likewise.
31504 * string/strcpy.c: Likewise.
31505 * string/strncat.c: Likewise.
31506 * string/strncmp.c: Likewise.
31507 * string/strncpy.c: Likewise.
31509 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31511 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31512 __builtin_memcopy is called when src and dest ranges are known to not
31515 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31517 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31518 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31519 fwd_align_merge macro call.
31520 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31521 bwd_align_merge macro call.
31522 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31524 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31526 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31527 bwd_align_merge macros.
31528 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31529 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31530 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31532 2012-04-18 David S. Miller <davem@davemloft.net>
31534 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31536 2012-04-18 Andreas Jaeger <aj@suse.de>
31539 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31540 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31541 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31543 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31544 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31545 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31547 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31548 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31549 Adjust for changed ldbl-128 files.
31551 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31552 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31555 2012-04-17 David S. Miller <davem@davemloft.net>
31557 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31559 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31561 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31562 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31563 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31564 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31565 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31566 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31568 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31571 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31572 * math/libm-test.inc: Add ilogb errno and exception tests.
31573 * math/w_ilogb.c: New file: ilogb wrapper.
31574 * math/w_ilogbf.c: New file: ilogbf wrapper.
31575 * math/w_ilogbl.c: New file: ilogbl wrapper.
31576 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31577 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31578 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31579 exception being thrown with 0.0 as argument.
31580 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31581 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31582 exception being thrown with 0.0 as argument.
31583 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31584 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31585 exception being thrown with 0.0 as argument.
31586 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31587 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31588 exception being thrown with 0.0 as argument.
31589 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31590 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31591 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31592 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31593 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31594 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31595 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31596 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31597 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31599 2012-04-17 Petr Baudis <pasky@ucw.cz>
31601 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31604 2012-04-16 Marek Polacek <polacek@redhat.com>
31606 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31608 2012-04-16 Marek Polacek <polacek@redhat.com>
31610 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31611 operands of fdivp instruction.
31613 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31615 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31616 * elf/tst-auditmod3b.c: Likewise.
31617 * elf/tst-auditmod4b.c: Likewise.
31618 * elf/tst-auditmod5b.c: Likewise.
31619 * elf/tst-auditmod6b.c: Likewise.
31620 * elf/tst-auditmod6c.c: Likewise.
31621 * elf/tst-auditmod7b.c: Likewise.
31622 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31623 * sysdeps/x86_64/preconfigure.in: Likewise.
31624 * sysdeps/x86_64/preconfigure: Regenerated.
31626 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31628 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31631 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31634 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31636 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31639 * locale/iso-639.def: Fix gl language name. Spotted by
31642 2012-04-12 Roland McGrath <roland@hack.frob.com>
31645 * libio/libio.h (__io_write_fn): Update comment.
31647 2012-04-12 Petr Baudis <pasky@ucw.cz>
31650 * stdio.texi (Hook Functions): The user provided writer function
31651 is not allowed to return -1.
31653 2012-04-11 David S. Miller <davem@davemloft.net>
31655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31657 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31659 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31660 Add a leading slash to rtkaio.
31662 2012-04-11 Jim Meyering <meyering@redhat.com>
31665 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31666 It is not necessarily an error to ignore fwrite's return
31667 value. One can reliably use ferror to test for errors after
31670 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31672 * bits/types.h (__snseconds_t): New type.
31673 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31675 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31677 (__SNSECONDS_T_TYPE): Likewise.
31678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31679 (__SNSECONDS_T_TYPE): Likewise.
31680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31681 (__SNSECONDS_T_TYPE): Likewise.
31683 2012-04-10 Andreas Jaeger <aj@suse.de>
31686 * manual/time.texi (Processor Time): Return type of times is
31687 elapsed real time since an arbitrary point in the past.
31688 (CPU Time): Move CLK_TCK from here...
31689 (Processor Time): ...to here. Correct description.
31690 * manual/conf.texi (Constants for Sysconf): Correct description of
31693 2012-04-10 David S. Miller <davem@davemloft.net>
31696 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31697 where the is a gap between DT_REL(A) and DT_JMPREL.
31699 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31701 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31702 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31703 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31705 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31707 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31708 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31709 (dl_main): Handle --inhibit-cache.
31710 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31712 * elf/dl-load.c (_dl_map_object): Use it.
31713 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31715 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31718 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31719 (__ieee754_powl): Saturate large exponents rather than testing for
31720 overflow of y*log2(x).
31721 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31722 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31726 * math/s_ctan.c: Include <float.h>.
31727 (__ctan): Avoid internal overflow or cancellation in calculating
31729 * math/s_ctanf.c: Likewise.
31730 * math/s_ctanl.c: Likewise.
31731 * math/s_ctanh.c: Likewise.
31732 * math/s_ctanhf.c: Likewise.
31733 * math/s_ctanhl.c: Likewise.
31734 * math/libm-test.inc (ctan_test): Add more tests.
31735 (ctanh_test): Likewise.
31736 * sysdeps/i386/fpu/libm-test-ulps: Update.
31737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31739 2012-04-09 Andreas Jaeger <aj@suse.de>
31742 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31743 is an optional BSD extension.
31746 * manual/stdio.texi (Opening Streams): Document additional fopen
31749 2012-04-09 Roland McGrath <roland@hack.frob.com>
31751 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31752 %eax without telling the compiler.
31754 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31757 * manual/install.texi: Use sourceware.org.
31759 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31762 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31763 (__ieee754_pow): Generate overflow and underflow using huge*huge
31764 and tiny*tiny rather than just returning constant infinity or zero
31765 for large exponents.
31766 * math/libm-test.inc (pow_test): Require overflow exceptions for
31767 applicable cases of large exponents.
31770 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31771 (__ieee754_pow): Use iterative multiplication algorithm only for
31772 integer exponents with absolute value below 1024. Check for odd
31773 integer exponents when using algorithm for real exponents.
31774 * math/libm-test.inc (pow_test): Add more tests.
31775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31777 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31780 * math/libm-test.inc (exp_test): Do not allow overflow exception
31783 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31786 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31787 instead of __kernel_standard_f.
31789 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31791 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31792 * sysdeps/x86_64/memset_chk.S: Likewise.
31794 2012-04-08 Andreas Jaeger <aj@suse.de>
31797 * manual/startup.texi (Environment Access): Describe return value
31798 for putenv and setenv.
31801 * manual/filesys.texi (Directory Entries): Add description for
31805 * manual/filesys.texi (Directory Entries): Clarify that it's file
31806 system not operating system in the description of DT_UNKNOWN.
31809 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31811 2012-04-08 Stephen Compall <s11@member.fsf.org>
31814 * manual/llio.texi (Opening and Closing Files): Add cross
31815 reference to explain mode argument.
31817 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31819 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31820 * sysdeps/x86_64/memset_chk.S: Likewise.
31822 2012-04-07 David S. Miller <davem@davemloft.net>
31824 * elf/elf.h (R_SPARC_WDISP10): Define.
31825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31828 R_SPARC_SIZE64 and R_SPARC_H34.
31830 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31832 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31833 conditions and remove no longer applicable assertion.
31835 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31837 * bits/byteswap.h: Include <features.h>.
31838 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31839 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31841 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31843 * bits/byteswap.h (__bswap_16): Removed.
31844 Include <bits/byteswap-16.h> to get __bswap_16.
31845 * sysdeps/i386/bits/byteswap.h: Likewise.
31846 * sysdeps/s390/bits/byteswap.h: Likewise.
31847 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31848 * bits/byteswap-16.h: New file.
31849 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31850 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31851 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31852 * string/Makefile (headers): Add bits/byteswap-16.h.
31854 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31857 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31859 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31860 * nss/tst-nss-static.c: New.
31862 2012-04-06 Robert Millan <rmh@gnu.org>
31865 * manual/llio.texi (File Position Primitive): lseek
31866 refers to WHENCE when it really means OFFSET.
31868 2012-04-06 Andreas Jaeger <aj@suse.de>
31870 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31871 strncmp declarations.
31873 * abilist/libc.abilist: Add __poll and __ppoll.
31875 2012-04-05 David S. Miller <davem@davemloft.net>
31877 * scripts/check-local-headers.sh: Accept a host triplet in the
31878 path matched by the exclude regexp.
31880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31882 * sysdeps/powerpc/powerpc32/dl-machine.h
31883 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31884 * sysdeps/s390/s390-32/dl-machine.h
31885 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31886 * sysdeps/sparc/sparc32/dl-machine.h
31887 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31888 * sysdeps/sparc/sparc64/dl-machine.h
31889 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31891 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31893 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31894 undefined symbol errors.
31896 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31899 2012-04-05 Michael Matz <matz@suse.de>
31902 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31904 2012-04-05 Andreas Jaeger <aj@suse.de>
31907 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31910 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31912 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31913 which ROUND is no valid rounding mode.
31915 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31917 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31919 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31921 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31923 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31924 an exception using FPU order intentionally.
31926 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31928 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31929 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31930 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31931 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31933 2012-04-05 Simon Josefsson <simon@josefsson.org>
31936 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31937 EINVAL when BUFLEN is too smal.
31939 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31942 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31943 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31945 2012-04-03 Andreas Jaeger <aj@suse.de>
31948 * manual/setjmp.texi (System V contexts): Fix sentence.
31951 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31952 New macro for this case.
31953 [!__GNUC__] (__bswap_64): New inline function for this case.
31954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31955 * bits/byteswap.h: Likewise.
31956 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31957 ull, guard with __GLIBC_HAVE_LONG_LONG.
31959 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31960 __GLIBC_HAVE_LONG_LONG.
31962 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31963 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31965 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31968 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31969 inptr and inend, rather than using last_ch.
31971 2012-04-02 David S. Miller <davem@davemloft.net>
31973 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31974 * stdio-common/printf-parse.h (read_int): Change return type to
31975 'int', return -1 on INT_MAX overflow.
31976 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31977 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31978 overflows INT_MAX. Check for overflow of in-format-string precision
31979 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31980 SIZE_MAX not INT_MAX for integer overflow test.
31981 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31982 skip the construct in the format string but do not record anything.
31983 * stdio-common/bug22.c: Adjust to test both width/prevision
31984 INT_MAX overflow as well as total length INT_MAX overflow. Check
31985 explicitly for proper errno values.
31987 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31989 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31991 * string/test-strcmp.c [! WIDE]: Likewise.
31992 * time/tst-mktime2.c: Likewise for INT_MAX.
31993 * string/test-string.h: #include <sys/param.h> for MIN.
31995 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31996 * sysdeps/i386/init-first.c (init): Likewise.
31997 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31998 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31999 * sysdeps/sh/init-first.c (init): Likewise.
32001 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32003 * po/ru.po: Update from translation team.
32004 * po/vi.po: Likewise.
32006 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32008 * resolv/nss_dns/dns-host.c: Merge copyright years.
32010 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32013 Optimize memcpy with prefetch if
32014 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32015 src, dst pointers have unequal 16 byte alignments.
32017 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32020 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32021 from a CNAME entry and return the minimum ttl for the query.
32022 (gaih_getanswer_slice): Likewise.
32024 2012-03-30 Jeff Law <law@redhat.com>
32026 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32028 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32029 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32031 * resolv/nss_dns/dns-host.c: Update copyright year.
32033 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32035 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32036 requests to save a system call. Fix check that all bytes are sent.
32038 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32039 comments for sendmmsg.
32041 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32044 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32045 with only 1 character between 0x0041 and 0x01b0.
32046 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32047 * wcsmbs/tst-mbsnrtowcs.c: New file.
32049 2012-03-29 David S. Miller <davem@davemloft.net>
32051 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32052 small copies by hand.
32054 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32057 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32058 _nss_compat_initgroups_dyn): Fall back to malloc/free
32059 for large group memberships.
32061 2012-03-28 David S. Miller <davem@davemloft.net>
32063 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32064 that branches into memcpy.
32065 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32067 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32068 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32071 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32072 implementation too.
32073 * sysdeps/sparc/mempcpy.S: New file.
32075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32076 the IFUNC routine in the libc case.
32077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32079 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32080 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32081 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32082 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32083 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32084 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32085 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32086 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32088 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32089 loop to 256 bytes instead of 64 bytes and fix test signedness.
32091 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32092 * sysdeps/sparc/sparc32/Makefile: rather than here...
32093 * sysdeps/sparc/sparc64/Makefile: and here.
32095 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32097 * malloc/mallocbug.c: Avoid warnings about unused variables.
32099 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32102 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32103 in the right place. Discard and retry query if response is
32104 larger than input buffer size.
32106 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32111 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32112 x for large integer exponent.
32113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32114 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32115 sign of result as needed afterwards.
32116 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32117 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32118 result for underflowing pow the same as for overflow.
32119 (__kernel_standard_l): Handle powl overflow and underflow here
32120 rather than calling __kernel_standard.
32121 * math/libm-test.inc (pow_test): Add more tests.
32136 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32137 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32138 (__kernel_standard_l): New function.
32139 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32141 * math/w_acosl.c (__acosl): Likewise.
32142 * math/w_asinl.c (__asinl): Likewise.
32143 * math/w_atan2l.c (__atan2l): Likewise.
32144 * math/w_atanhl.c (__atanhl): Likewise.
32145 * math/w_coshl.c (__coshl): Likewise.
32146 * math/w_exp10l.c (__exp10l): Likewise.
32147 * math/w_exp2l.c (__exp2l): Likewise.
32148 * math/w_fmodl.c (__fmodl): Likewise.
32149 * math/w_hypotl.c (__hypotl): Likewise.
32150 * math/w_j0l.c (__j0l, __y0l): Likewise.
32151 * math/w_j1l.c (__j1l, __y1l): Likewise.
32152 * math/w_jnl.c (__jnl, __ynl): Likewise.
32153 * math/w_lgammal.c (__lgammal): Likewise.
32154 * math/w_log10l.c (__log10l): Likewise.
32155 * math/w_log2l.c (__log2l): Likewise.
32156 * math/w_logl.c (__logl): Likewise.
32157 * math/w_powl.c (__powl): Likewise.
32158 * math/w_remainderl.c (__remainderl): Likewise.
32159 * math/w_scalbl.c (sysv_scalbl): Likewise.
32160 * math/w_sinhl.c (__sinhl): Likewise.
32161 * math/w_sqrtl.c (__sqrtl): Likewise.
32162 * math/w_tgammal.c (__tgammal): Likewise.
32163 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32164 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32165 * math/libm-test.inc (acos_test): Add more tests.
32166 (acosh_test): Likewise.
32167 (asin_test): Likewise.
32168 (atanh_test): Likewise.
32169 (exp_test): Likewise.
32170 (exp10_test): Likewise.
32171 (exp2_test): Likewise.
32172 (expm1_test): Likewise.
32173 (lgamma_test): Likewise.
32174 (log_test): Likewise.
32175 (log10_test): Likewise.
32176 (log1p_test): Likewise.
32177 (log2_test): Likewise.
32178 (pow_test): Do not allow some spurious overflow exceptions.
32179 (sqrt_test): Add more tests.
32180 (tgamma_test): Likewise.
32181 (y0_test): Likewise.
32182 (y1_test): Likewise.
32183 (yn_test): Likewise.
32185 2012-03-27 Anton Blanchard <anton@samba.org>
32187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32190 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32193 2012-03-27 David S. Miller <davem@davemloft.net>
32195 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32197 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32198 have-as-vis3 check.
32200 2012-03-27 Andreas Jaeger <aj@suse.de>
32202 * sysdeps/x86_64/elf/configure.in: Moved to ...
32203 * sysdeps/x86_64/configure.in: ... here.
32204 * sysdeps/x86_64/elf/start.S: Moved to ...
32205 * sysdeps/x86_64/start.S: ... here.
32206 * sysdeps/x86_64/elf/configure: Delete.
32208 * sysdeps/x86_64/configure.in: Merge contents from
32209 sysdeps/i386/configure.in (without i686 check).
32211 * sysdeps/i386/elf/Versions: Merge into ...
32212 * sysdeps/i386/Versions: ... this.
32213 * sysdeps/i386/elf/Versions: Delete file.
32214 * sysdeps/i386/elf/start.S: Moved to ...
32215 * sysdeps/i386/start.S: ...here.
32216 * sysdeps/i386/elf/configure.in: Merge into...
32217 * sysdeps/i386/configure.in: ...here.
32218 * sysdeps/i386/elf/configure.in: Delete file.
32219 * sysdeps/i386/elf/configure: Delete file.
32221 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32222 * debug/backtracesyms.c: ... here.
32223 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32224 * debug/backtracesymsfd.c: ... here.
32225 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32226 * sysdeps/generic/ifunc-sel.h: ... here.
32228 * sysdeps/unix/i386/start.c: Delete file.
32229 * sysdeps/unix/sparc/start.c: Delete file.
32230 * sysdeps/unix/start.c: Delete file.
32232 * sysdeps/sh/elf/configure.in: Moved to ...
32233 * sysdeps/sh/configure.in: ... here.
32234 * sysdeps/sh/elf/start.S: Moved to ...
32235 * sysdeps/sh/start.S: ... here.
32236 * sysdeps/sh/elf/configure: Delete file.
32238 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32239 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32240 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32241 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32242 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32243 * sysdeps/powerpc/powerpc64/start.S: here.
32244 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32245 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32246 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32247 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32248 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32250 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32251 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32252 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32253 * sysdeps/powerpc/powerpc32/start.S: ... here.
32254 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32255 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32256 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32258 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32259 * sysdeps/powerpc/ifunc-sel.h: ... here.
32260 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32261 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32263 * sysdeps/sparc/elf/configure.in: Moved to ...
32264 * sysdeps/sparc/configure.in: ... here.
32265 * sysdeps/sparc/elf/configure: Delete file.
32266 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32267 * sysdeps/sparc/sparc32/start.S: ... here.
32268 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32269 * sysdeps/sparc/sparc64/start.S: ... here.
32270 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32271 * sysdeps/sparc/sparc32/Makefile: ... this.
32272 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32273 * sysdeps/sparc/sparc64/Makefile: ... this.
32275 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32276 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32277 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32278 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32279 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32280 * sysdeps/s390/s390-32/setjmp.S: ... here.
32281 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32282 * sysdeps/s390/s390-32/configure.in: ... here.
32283 * sysdeps/s390/s390-32/elf/configure: Delete file.
32284 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32285 * sysdeps/s390/s390-32/start.S: ... here.
32287 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32288 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32289 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32290 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32291 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32292 * sysdeps/s390/s390-64/setjmp.S: ... here.
32293 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32294 * sysdeps/s390/s390-64/configure.in: ... here
32295 * sysdeps/s390/s390-64/elf/configure: Delete file.
32296 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32297 * sysdeps/s390/s390-64/start.S: ... here.
32298 * sysdeps/s390/s390-64/elf/configure: Delete.
32300 * configure.in: Remove support for elf directories in sysdeps.
32302 * configure: Regenerated.
32303 * sysdeps/i386/configure: Regenerated.
32304 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32305 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32306 * sysdeps/s390/s390-32/configure: Regenerated.
32307 * sysdeps/s390/s390-64/configure: Regenerated.
32308 * sysdeps/sh/configure: Regenerated.
32309 * sysdeps/sparc/configure: Regenerated.
32310 * sysdeps/x86_64/configure: Regenerated.
32312 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32317 denormal result into account.
32319 2012-03-25 Roland McGrath <roland@hack.frob.com>
32321 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32322 Reported by Allan McRae <allan@archlinux.org>.
32324 2012-03-23 Jeff Law <law@redhat.com>
32326 * nss/getnssent.c (__nss_getent): Fix typo.
32328 2012-03-23 David S. Miller <davem@davemloft.net>
32330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32332 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32334 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32335 to pad to uint64_t for each field.
32336 (dl_tls_index): Replace unsigned long with uint64_t.
32338 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32339 Paul Pluzhnikov <ppluzhnikov@google.com>
32342 * grp/Makefile (otherlibs): Don't set it.
32343 * inet/Makefile (otherlibs): Likewise.
32344 * login/Makefile (otherlibs): Likewise.
32345 * nscd/Makefile (otherlibs): Likewise.
32346 * posix/Makefile (otherlibs): Likewise.
32347 * pwd/Makefile (otherlibs): Likewise.
32348 * rt/Makefile (otherlibs): Likewise.
32349 * sunrpc/Makefile (otherlibs): Likewise.
32350 * nss/Makefile (otherlibs): Likewise.
32351 Add libnss_files to routines and static-only-routines.
32352 ($(objpfx)getent): Remove rule.
32353 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32354 static-only-routines.
32356 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32359 * math/s_cexp.c: Include <float.h>.
32360 (__cexp): Handle exp result overflowing not necessarily
32361 overflowing both real and imaginary parts of result.
32362 * math/s_cexpf.c: Likewise.
32363 * math/s_cexpl.c: Likewise.
32364 * math/libm-test.inc (cexp_test): Add more tests.
32365 * sysdeps/i386/fpu/libm-test-ulps: Update.
32366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32368 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32370 * include/link.h (ELFW): New macro.
32371 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32372 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32374 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32376 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32379 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32381 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32383 (struct La_x32_retval): Likewise.
32385 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32387 * sysdeps/x86_64/preconfigure.in: New file.
32388 * sysdeps/x86_64/preconfigure: New generated file.
32390 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32393 * math/e_exp2l.c: Include <float.h>.
32394 (__ieee754_exp2l): Handle overflow and underflow cases
32395 separately. Only pass fractional part of argument to
32397 * math/libm-test.inc (exp2_test): Add more tests.
32399 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32400 negating x to take absolute value.
32401 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32403 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32404 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32406 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32407 computing low part if x was negated.
32408 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32410 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32412 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32413 la_x32_gnu_pltexit.
32414 (pltexit): Cast int_retval to ptrdiff_t.
32415 * elf/tst-auditmod3b.c: Likewise.
32416 * elf/tst-auditmod4b.c: Likewise.
32417 * elf/tst-auditmod5b.c: Likewise.
32418 * elf/tst-auditmod6b.c: Likewise.
32419 * elf/tst-auditmod6c.c: Likewise.
32420 * elf/tst-auditmod7b.c: Likewise.
32422 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32423 and x32_gnu_pltexit.
32425 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32426 __ELF_NATIVE_CLASS.
32427 (La_x32_regs): New macro.
32428 (La_x32_retval): Likewise.
32429 (la_x32_gnu_pltenter): New function prototype.
32430 (la_x32_gnu_pltexit): Likewise.
32432 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32434 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32439 * configure.in (libc_cv_cc_nofma): Check for option to disable
32440 generation of FMA instructions.
32441 * configure: Regenerate.
32442 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32443 * sysdeps/ieee754/dbl-64/Makefile: New file.
32444 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32445 Remove brandred-fma4.
32446 (CFLAGS-brandred-fma4.c): Remove.
32447 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32453 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32455 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32456 LLONG_MAX != LONG_MAX.
32457 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32458 (_fitoa_word): Likewise.
32459 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32460 LLONG_MAX != LONG_MAX.
32461 * stdio-common/_itowa.h: Include <_itoa.h>.
32462 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32463 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32464 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32465 only if not defined.
32466 (_ITOA_WORD_TYPE): Likewise.
32467 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32468 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32470 2012-03-21 David S. Miller <davem@davemloft.net>
32472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32474 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32476 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32477 of x86_64 when setting libc_cv_slibdir, libdir and
32479 * sysdeps/unix/sysv/linux/configure: Regenerated.
32481 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32483 * manual/lang.texi (Old Varargs): Remove section.
32484 (How Variadic): Update menu.
32485 (va_start): Do not mention varargs.h.
32487 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32488 Joseph Myers <joseph@codesourcery.com>
32490 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32492 * configure: Regenerated.
32494 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32496 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32497 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32500 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32503 * Makefile (files-for-dist): Remove NOTES.
32504 (NOTES): Remove rule.
32505 * README: Don't refer to NOTES.
32506 * manual/creature.texi: Don't include macros.texi.
32507 * manual/intro.texi (creature.texi): Remove comment referring to
32510 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32511 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32512 * configure: Regenerated.
32513 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32514 LIBC_TRY_CC_OPTION.
32515 (libc_cv_as_i686): Likewise.
32516 (libc_cv_cc_avx): Likewise.
32517 (libc_cv_cc_sse2avx): Likewise.
32518 (libc_cv_cc_fma4): Likewise.
32519 (libc_cv_cc_novzeroupper): Likewise.
32520 * sysdeps/i386/configure: Regenerated.
32523 * sysdeps/i386/fpu/s_cexp.S: Remove.
32524 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32525 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32526 * math/libm-test.inc (cexp_test): Add more tests.
32527 * sysdeps/i386/fpu/libm-test-ulps: Update.
32528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32530 2012-03-21 Allan McRae <allan@archlinux.org>
32532 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32534 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32537 * math/w_exp2.c: Do not include <float.h>.
32538 (o_threshold, u_threshold): Remove.
32539 (__exp2): Calculate result before checking finiteness and calling
32541 * math/w_exp2f.c: Likewise.
32542 * math/w_exp2l.c: Likewise.
32543 * math/libm-test.inc (exp2_test): Require overflow exception for
32547 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32548 range of signed 64-bit integers before using fistpll. Remove
32549 checks for whether integers fit in mantissa bits.
32550 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32551 the range of signed 32-bit integers before using fistpl. Remove
32552 checks for whether integers fit in mantissa bits.
32553 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32554 (__ieee754_powl): Test for y outside the range of signed 64-bit
32555 integers before using fistpll. Reduce 64-bit values to 63-bit
32557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32558 divide-by-zero is raised for zero to large negative powers.
32559 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32560 (__ieee754_powl): Test for y outside the range of signed 64-bit
32561 integers before using fistpll. Reduce 64-bit values to 63-bit
32563 * math/libm-test.inc (pow_test): Add more tests.
32565 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32567 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32568 <stdio-common/_itoa.h>.
32569 * debug/segfault.c: Likewise.
32570 * elf/dl-cache.c: Likewise.
32571 * elf/dl-minimal.c: Likewise.
32572 * elf/dl-misc.c: Likewise.
32573 * elf/dl-sysdep.c: Likewise.
32574 * elf/dl-version.c: Likewise.
32575 * elf/rtld.c: Likewise.
32576 * hurd/hurdsock.c: Likewise.
32577 * hurd/lookup-retry.c: Likewise.
32578 * malloc/malloc.c: Likewise.
32579 * malloc/mtrace.c: Likewise.
32580 * nscd/nscd_getgr_r.c: Likewise.
32581 * nscd/nscd_getpw_r.c: Likewise.
32582 * nscd/nscd_getserv_r.c: Likewise.
32583 * posix/getopt_init.c: Likewise.
32584 * posix/wordexp.c: Likewise.
32585 * stdio-common/_itoa.c: Likewise.
32586 * stdio-common/printf_fphex.c: Likewise.
32587 * stdio-common/vfprintf.c: Likewise.
32588 * string/_strerror.c: Likewise.
32589 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32590 * sysdeps/i386/i686/hp-timing.h: Likewise.
32591 * sysdeps/mach/_strerror.c: Likewise.
32592 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32593 * sysdeps/mach/hurd/sethostid.c: Likewise.
32594 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32595 * sysdeps/mach/xpg-strerror.c: Likewise.
32596 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32597 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32598 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32599 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32600 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32601 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32602 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32603 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32604 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32605 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32606 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32607 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32608 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32609 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32610 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32612 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32613 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32614 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32615 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32616 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32618 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32620 * stdio-common/_itoa.h: Moved to ...
32621 * sysdeps/generic/_itoa.h: Here.
32623 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32625 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32626 instead of "_itoa.h" and "_itowa.h".
32627 * stdio-common/vfprintf.: Likewise.
32629 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32631 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32633 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32634 (__signbit): Likwise.
32635 (llrintf): Likwise.
32638 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32640 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32643 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32645 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32646 OVERFLOW_EXCEPTION_OK.
32647 * math/libm-test.inc ("Philosophy"): Update comment about
32649 (OVERFLOW_EXCEPTION): Define.
32650 (OVERFLOW_EXCEPTION_OK): Likewise.
32651 (INVALID_EXCEPTION_OK): Renumber.
32652 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32653 (IGNORE_ZERO_INF_SIGN): Likewise.
32654 (test_exceptions): Handle FE_OVERFLOW.
32655 (exp10_test): Expect overflow exceptions.
32656 (exp2_test): Likewise.
32657 (expm1_test): Likewise.
32658 (nextafter_test): Likewise.
32659 (pow_test): Likewise.
32660 (scalbn_test): Likewise.
32661 (scalbln_test): Likewise.
32663 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32665 * sysdeps/x86_64/bits/atomic.h
32666 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32668 (atomic_exchange_acq): Likewise.
32669 (__arch_exchange_and_add_body): Likewise.
32670 (__arch_add_body): Likewise.
32671 (atomic_add_negative): Likewise.
32672 (atomic_add_zero): Likewise.
32674 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32676 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32677 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32679 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32681 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32682 Check __x86_64__ instead of __WORDSIZE.
32684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32686 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32688 2012-03-19 David S. Miller <davem@davemloft.net>
32690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32692 * sysdeps/sparc/fpu/fenv_private.h: New file.
32693 * sysdeps/sparc/fpu/math_private.h: Use it.
32694 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32696 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32697 (libc_feholdexcept_setroundl): Remove.
32698 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32700 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32701 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32703 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32705 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32706 int64_t instead of long int.
32707 (INSERT_WORDS64): Likwise.
32709 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32711 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32712 _Unwind_GetCFA return to _Unwind_Ptr first.
32714 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32717 * math/s_clog.c: Include <float.h>.
32718 (__clog): Scale large or subnormal inputs.
32719 * math/s_clogf.c: Likewise.
32720 * math/s_clogl.c: Likewise.
32721 * math/s_clog10.c: Include <float.h>.
32722 (M_LOG10_2): Define.
32723 (__clog10): Scale large or subnormal inputs.
32724 * math/s_clog10f.c: Likewise.
32725 * math/s_clog10l.c: Likewise.
32726 * math/libm-test.inc (clog_test): Add more tests.
32727 (clog10_test): Likewise.
32728 * sysdeps/i386/fpu/libm-test-ulps: Update.
32729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32732 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32734 * math/libm-test.inc (atan2_test): Add another test.
32736 * Makerules (common-objdir-compile): Remove.
32737 * sysdeps/unix/Makefile (config-generated): Do not add
32738 $(unix-generated) to variable.
32739 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32740 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32742 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32744 [generic bits/local_lim.h] (before-compile): Do not append to
32746 [generic bits/local_lim.h] (common-generated): Likewise.
32747 [generic sys/param.h] (before-compile): Do not append to variable.
32748 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32749 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32750 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32751 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32753 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32754 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32755 [generic sys/param.h] ($(addprefix
32756 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32757 [generic sys/param.h] (common-generated): Do not append to
32759 [generic sys/param.h] (sysdep_headers): Likewise.
32760 [generic bits/errno.h] (before-compile): Do not append to
32762 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32764 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32765 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32766 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32767 [generic bits/errno.h] (common-generated): Do not append to
32769 [generic bits/ioctls.h] (before-compile): Do not append to
32771 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32773 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32774 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32775 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32777 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32778 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32779 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32780 [generic bits/ioctls.h] (common-generated): Do not append to
32782 [generic sys/syscall.h] (syscall.h): Remove variable.
32783 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32785 [generic sys/syscall.h] (before-compile): Do not append to
32787 [generic sys/syscall.h] (common-generated): Likewise.
32788 * sysdeps/unix/errnos-tmpl.c: Remove file.
32789 * sysdeps/unix/errnos.awk: Likewise.
32790 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32791 * sysdeps/unix/ioctls.awk: Likewise.
32792 * sysdeps/unix/mk-local_lim.c: Likewise.
32793 * sysdeps/unix/snarf-ioctls: Likewise.
32795 2012-03-19 Richard Henderson <rth@twiddle.net>
32797 * sysdeps/i386/fpu/fenv_private.h: New file.
32798 * sysdeps/i386/fpu/math_private.h: Use it.
32799 (math_opt_barrier, math_force_eval): Remove.
32800 (libc_feholdexcept_setround_53bit): Remove.
32801 (libc_feupdateenv_53bit): Remove.
32802 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32803 (math_opt_barrier, math_force_eval): Remove.
32804 (libc_feholdexcept): Remove.
32805 (libc_feholdexcept_setround): Remove.
32806 (libc_fetestexcept, libc_fesetenv): Remove.
32807 (libc_feupdateenv_test): Remove.
32808 (libc_feupdateenv, libc_feholdsetround): Remove.
32809 (libc_feresetround): Remove.
32811 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32812 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32814 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32815 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32816 (libc_feupdateenv_testl): New.
32817 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32818 (libc_feupdateenv_testf): New.
32819 (libc_feupdateenv): Use libc_feupdateenv_test.
32820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32821 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32823 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32824 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32825 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32826 (libc_feresetround_noex): New.
32827 (libc_feresetround_noexf): New.
32828 (libc_feresetround_noexl): New.
32829 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32830 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32831 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32832 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32835 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32837 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32838 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32839 SET_RESTORE_ROUND_NOEX.
32840 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32841 SET_RESTORE_ROUND_NOEXF.
32842 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32843 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32844 (libc_feholdsetroundf): New.
32845 (libc_feresetround, libc_feresetroundf): New.
32847 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32848 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32849 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32851 * sysdeps/generic/math_private.h: Include <fenv.h>.
32852 (default_libc_feholdexcept): New.
32853 (default_libc_feholdexcept_setround): New.
32854 (default_libc_fesetenv, default_libc_feupdateenv): New.
32855 (libc_feholdexcept): Only define if undefined.
32856 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32857 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32858 (libc_feholdexcept_setroundl): Likewise.
32859 (libc_feholdexcept_setround_53bit): Likewise.
32860 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32861 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32862 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32863 (libc_feupdateenv_53bit): Likewise.
32864 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32865 (libc_feholdexcept): Convert from macro to inline function.
32866 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32867 (libc_fesetenv, libc_feupdateenv): Likewise.
32869 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32870 not previously defined.
32871 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32872 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32873 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32874 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32875 * sysdeps/ieee754/flt-32/math_private.h: New file.
32876 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32877 math_private.h below SET_FLOAT_WORD.
32878 (__isnan, __isinf_ns, __finite): Remove.
32879 (__isnanf, __isinf_nsf, __finitef): Remove.
32881 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32885 2012-03-17 David S. Miller <davem@davemloft.net>
32888 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32891 2012-03-16 David S. Miller <davem@davemloft.net>
32893 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32897 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32899 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32900 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32901 sysdep_routines when subdir is sysvipc.
32902 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32903 __getshmlba helper.
32905 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32907 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32909 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32912 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32914 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32915 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32916 (__lround): Renamed to ...
32917 (__llround): This. Replace long int with long long int.
32918 Define lround functions as aliases of llround functions.
32919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32921 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32923 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32924 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32925 adresses to uintptr_t. Replace "long int" and "unsigned long
32926 int" with "greg_t" on va_arg.
32928 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32930 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32931 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32933 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32934 Move e_machine check before EI_CLASS check. Handle x32
32935 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32936 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32937 SKIP_EM_IA_64 and include
32938 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32940 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32941 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32942 (add_system_dir): New macro.
32944 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32945 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32947 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32958 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32960 * math/w_j0f.c (j0f): Likewise.
32962 * math/w_j0l.c (__j0l): Likewise.
32964 * math/w_j1.c (j1): Likewise.
32966 * math/w_j1f.c (j1f): Likewise.
32968 * math/w_j1l.c (__j1l): Likewise.
32970 * math/w_jn.c (jn): Likewise.
32972 * math/w_jnf.c (jnf): Likewise.
32974 * math/w_jnl.c (__jnl): Likewise.
32976 * math/libm-test.inc (j0_test): Add more tests.
32977 (j1_test): Likewise.
32978 (jn_test): Likewise. Add trailing semicolon to existing test.
32979 (y0_test): Likewise.
32980 (y1_test): Likewise.
32981 * sysdeps/i386/fpu/libm-test-ulps: Update.
32982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32986 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32987 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32988 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32989 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32990 (__tanl): Set errno for infinite argument.
32991 * sysdeps/i386/fpu/mptan.c: Remove.
32992 * sysdeps/i386/fpu/s_tan.S: Likewise.
32993 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32994 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32995 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32996 * math/libm-test.inc (tan_test): Add more tests and enable more
32997 tests for double and long double.
32998 * sysdeps/i386/fpu/libm-test-ulps: Update.
32999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33001 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33003 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33004 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33006 2012-03-16 Roland McGrath <roland@hack.frob.com>
33008 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33009 * configure.in: Use it for both main tree and add-ons.
33010 * configure: Regenerated.
33012 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33014 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33016 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33018 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33022 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33023 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33024 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33025 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33026 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33028 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33030 != 0 for prec == 2.
33031 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33032 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33033 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33034 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33035 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33036 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33037 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33038 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33039 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33040 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33041 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33042 * math/libm-test.inc (cos_test): Add more tests and enable more
33043 tests for long double.
33044 (sin_test): Likewise.
33045 (sincos_test): Likewise.
33046 * sysdeps/i386/fpu/libm-test-ulps: Update.
33047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33049 2012-03-16 David S. Miller <davem@davemloft.net>
33051 * sysdeps/sparc/fpu/math_private.h: New file.
33053 2012-03-15 David S. Miller <davem@davemloft.net>
33055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33069 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33070 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33072 * sysdeps/sparc/sparc-ifunc.h: New file.
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33118 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33120 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33124 2012-03-15 Andreas Jaeger <aj@suse.de>
33127 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33128 ieee754/flt-32 implementation for sin, cos and sincos.
33129 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33130 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33131 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33132 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33133 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33134 ieee754/flt-32 implementation for tan.
33136 * math/libm-test.inc (cos_test): Enable some large input tests for
33138 (sin_test): Likewise.
33139 (sincos_test): Likewise.
33140 (tan_test): Add tests for large input.
33142 * sysdeps/i386/fpu/libm-test-ulps: Update.
33144 2012-03-15 Andreas Jaeger <aj@suse.de>
33147 * math/libm-test.inc (cos_test): Add more test cases.
33148 (sin_test): Likewise.
33149 (sincos_test): Likewise.
33151 2012-03-15 Andreas Jaeger <aj@suse.de>
33154 * math/libm-test.inc (cos_test): Add a test case for large input
33156 (sin_test): Likewise.
33157 (sincos_test): Likewise.
33159 2012-03-15 Andreas Jaeger <aj@suse.de>,
33160 Joseph Myers <joseph@codesourcery.com>
33163 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33164 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33165 * sysdeps/i386/fpu/branred.c: Likewise.
33166 * sysdeps/i386/fpu/dosincos.c: Likewise.
33167 * sysdeps/i386/fpu/mpa.c: Likewise.
33168 * sysdeps/i386/fpu/s_cos.S: Likewise.
33169 * sysdeps/i386/fpu/s_sin.S: Likewise.
33170 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33171 * sysdeps/i386/fpu/sincos32.c: Likewise.
33173 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33175 (libc_feupdateenv_53bit): Define.
33176 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33178 (libc_feupdateenv_53bit): Define.
33180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33181 53 bit (without extend i386 double precision).
33183 * math/libm-test.inc (sincos_test): Add tests for large input.
33187 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33189 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33193 2012-03-15 David S. Miller <davem@davemloft.net>
33195 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33196 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33197 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33198 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33223 fmin/fmax sysdep routines.
33224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33226 2012-03-14 David S. Miller <davem@davemloft.net>
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33305 * sysdeps/sparc/configure.in: New file.
33306 * sysdeps/sparc/configure: Generate.
33307 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33308 * configure: Regenerate.
33309 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33310 * config.make.in (have-as-vis3): New.
33311 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33312 available use -Av9d instead of -Av9a.
33313 * sysdeps/sparc/sparc64/Makefile: Likewise.
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33329 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33330 fzeros/fnegs to load 0x80000000 into a float register instead of
33332 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33334 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33338 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33339 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33340 ($(inst_includedir)/bits/syscall.h): Remove rule.
33341 ($(objpfx)bits/syscall.d): Include instead of
33342 $(objpfx)syscall-list.d.
33343 (generated): Change syscall-list.h and syscall-list.d to
33344 bits/syscall.h and bits/syscall.d.
33346 2012-03-14 Roland McGrath <roland@hack.frob.com>
33349 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33351 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33354 * math/s_csqrt.c: Include <float.h>.
33355 (__csqrt): Scale large or subnormal inputs.
33356 * math/s_csqrtf.c: Likewise.
33357 * math/s_csqrtl.c: Likewise.
33358 * math/libm-test.inc (csqrt_test): Add more tests.
33359 * sysdeps/i386/fpu/libm-test-ulps: Update.
33360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33363 * math/libm-test.inc (hypot_test): Add more tests.
33365 2012-03-13 David S. Miller <davem@davemloft.net>
33368 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33369 double-precision for the calculation instead of scaling.
33371 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33373 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33374 manipulate bits before adding and subtracting TWO52[sx].
33375 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33376 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33380 2012-03-13 David S. Miller <davem@davemloft.net>
33382 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33383 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33385 rtld-global-offsets.h
33386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33388 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33391 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33393 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33394 'err' in the ifdef scope in which it is actually used.
33396 * nss/nss_db/db-init.c: Include string.h
33398 2012-03-12 David S. Miller <davem@davemloft.net>
33400 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33401 masking out of the most significant byte of random value used.
33402 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33403 Fix coding style in previous change.
33405 * sysdeps/unix/sysv/linux/kernel-features.h
33406 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33407 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33409 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33412 2012-03-11 David S. Miller <davem@davemloft.net>
33414 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33415 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33416 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33417 for 'resultvar' otherwise things get truncated on 64-bit.
33419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33420 Fix masking out of the most significant byte of random value used.
33422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33424 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33428 2012-03-09 David S. Miller <davem@davemloft.net>
33430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33431 variables with appropriate CPP guards.
33432 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33433 frame pointer, not the stack pointer. Correct layout comments. Fix test
33434 on resulting framesize and the management of the outregs buffer for pltexit.
33435 Preserve floating point return values across _dl_call_pltexit call.
33436 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33437 framesize and the management of the outregs buffer for pltexit.
33438 Preserve floating point return values across _dl_call_pltexit
33440 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33441 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33442 (print_exit): Fix format string for return register value.
33444 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33446 * sunrpc/Makefile (others): Add rpcgen.
33447 ($(objpfx)rpcgen): Remove special build rule and dependency on
33449 * sunrpc/rpcgen.c: New file.
33451 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33454 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33455 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33456 * sysdeps/i386/crti.S: Likewise.
33457 * sysdeps/i386/crtn.S: Likewise.
33458 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33459 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33460 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33461 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33462 * sysdeps/sh/crti.S: Likewise.
33463 * sysdeps/sh/crtn.S: Likewise.
33464 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33467 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33469 * locale/programs/locfile-kw.gperf: Likewise.
33470 * locale/programs/charmap-kw.h: Regenerated.
33471 * locale/programs/locfile-kw.h: Likewise.
33474 * intl/plural.y: Replace FSF snail mail address with URL.
33475 * intl/plural.c: Regenerated.
33477 2012-03-09 Richard Henderson <rth@twiddle.net>
33479 * include/math_private.h: Remove file.
33480 * math/math_private.h: Move file ...
33481 * sysdeps/generic/math_private.h: ... here.
33483 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33484 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33485 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33487 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33488 and <math_private.h>.
33489 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33490 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33491 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33492 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33493 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33501 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33502 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33516 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33519 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33521 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33522 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33523 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33577 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33578 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33579 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33580 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33582 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33583 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33584 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33585 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33586 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33587 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33588 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33589 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33590 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33591 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33592 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33593 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33594 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33595 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33596 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33597 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33598 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33599 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33600 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33605 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33606 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33607 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33608 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33609 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33611 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33612 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33617 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33618 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33619 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33620 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33621 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33622 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33624 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33625 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33628 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33630 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33632 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33634 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33637 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33638 * sysdeps/ieee754/k_standard.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33758 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33759 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33761 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33766 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33771 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33789 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33799 * sysdeps/ieee754/s_lib_version.c: Likewise.
33800 * sysdeps/ieee754/s_matherr.c: Likewise.
33801 * sysdeps/ieee754/s_signgam.c: Likewise.
33802 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33803 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33804 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33805 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33806 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33807 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33808 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33809 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33810 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33811 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33812 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33813 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33814 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33815 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33816 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33817 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33818 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33819 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33820 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33824 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33826 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33827 * sunrpc/rpc_main.c: Likewise.
33828 * sunrpc/rpc_svcout.c: Likewise.
33830 2012-03-09 David S. Miller <davem@davemloft.net>
33832 * include/math_private.h: New file.
33834 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33836 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33837 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33838 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33839 from <bits/socket_type.h>.
33840 (enum __socket_type): Don't define here.
33841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33843 bits/socket_type.h.
33846 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33847 checking __USE_GNU.
33849 * Makerules ($(inst_includedir)/%.h): New rule.
33850 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33851 (install-others): Remove variable setting.
33852 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33854 2012-03-08 Richard Henderson <rth@twiddle.net>
33856 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33857 from macro to inline function; merge with the
33858 !__LIBC_INTERNAL_MATH_INLINES version.
33859 (__ieee754_sqrtf): Likewise.
33861 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33862 to inline function.
33863 (__rintf, __floor, __floorf): Likewise.
33865 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33866 macro to inline function.
33867 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33869 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33870 not <math/math_private.h>.
33872 2012-03-08 David S. Miller <davem@davemloft.net>
33874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33876 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33878 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33880 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33882 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33883 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33885 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33887 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33888 be defined individually, they must be defined as a block. Define
33889 S for printing a string instead of hidint the different by using a
33890 macro for adding the 'l'.
33891 * stdio-common/tst-fphex-wide.c: Adjust.
33893 2012-03-07 Marek Polacek <polacek@redhat.com>
33895 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33897 2012-03-08 Marek Polacek <polacek@redhat.com>
33900 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33901 * stdio-common/tst-fphex.c: Define a few macros to make the
33902 test reusable. Use them.
33903 * stdio-common/tst-fphex-wide.c: New file.
33905 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33908 * manual/macros.texi (gnusystems): New macro.
33909 (nongnusystems): Likewise.
33910 (gnulinuxhurdsystems): Likewise.
33911 (gnuhurdsystems): Likewise..
33912 (gnulinuxsystems): Likewise.
33913 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33914 variants of the GNU system, not "GNU system".
33915 * manual/conf.texi: Likewise.
33916 * manual/errno.texi: Likewise. Update example of errno macro
33918 * manual/filesys.texi: Likewise.
33919 (getumask): Document as specific to GNU/Hurd.
33920 * manual/install.texi: Likewise. Reword some references to
33922 * manual/intro.texi: Likewise.
33923 * manual/io.texi: Likewise.
33924 (File Name Portability): Detail which constraints are inapplicable
33925 to all GNU systems and which are only inapplicable to GNU/Hurd.
33926 * manual/job.texi: Likewise.
33927 * manual/llio.texi: Likewise.
33928 (O_NOCTTY): Document as present on GNU/Linux.
33929 * manual/maint.texi: Likewise.
33930 * manual/memory.texi: Likewise.
33931 * manual/pattern.texi: Likewise.
33932 * manual/pipe.texi: Likewise.
33933 * manual/process.texi: Likewise.
33934 * manual/resource.texi: Likewise.
33935 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33937 * manual/setjmp.texi: Likewise.
33938 * manual/signal.texi: Likewise.
33939 * manual/startup.texi: Likewise.
33940 * manual/stdio.texi: Likewise.
33941 * manual/terminal.texi: Likewise.
33942 (ONLCR): Document as POSIX.
33943 (OXTABS): Document availability on GNU/Linux as XTABS.
33944 (ONOEOT): Document availability separately from other bits.
33945 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33946 * manual/time.texi: Likewise.
33947 * manual/users.texi: Likewise.
33948 * INSTALL: Regenerated.
33949 * sysdeps/gnu/errlist.c: Regenerated.
33951 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33952 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33953 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33955 * configure: Regenerated.
33957 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33959 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33960 default includes instead of AC_HEADER_CHECK.
33961 * sysdeps/i386/configure: Regenerated.
33964 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33965 * math/s_cacoshf.c (__cacoshf): Likewise.
33966 * math/s_cacoshl.c (__cacoshl): Likewise.
33967 * math/s_casinh.c (__casinh): Set signs of result from argument.
33968 * math/s_casinhf.c (__casinhf): Likewise.
33969 * math/s_casinhl.c (__casinhl): Likewise.
33970 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33971 (casinh_test): Add more tests.
33972 * sysdeps/i386/fpu/libm-test-ulps: Update.
33973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33975 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33977 * po/zh_TW.po: Update from translation team.
33979 * login/Makefile (distribute): Remove variable.
33980 * catgets/Makefile: Likewise.
33981 * mach/Makefile: Likewise.
33982 * malloc/Makefile: Likewise.
33983 * misc/Makefile: Likewise.
33984 * iconv/Makefile: Likewise.
33985 * nscd/Makefile: Likewise.
33986 * hurd/Makefile: Likewise.
33987 * manual/Makefile: Likewise.
33988 * locale/Makefile: Likewise.
33989 * intl/Makefile: Likewise.
33990 * conform/Makefile: Likewise.
33991 * nss/Makefile: Likewise.
33992 * time/Makefile: Likewise.
33993 * soft-fp/Makefile: Likewise.
33994 * dirent/Makefile: Likewise.
33995 * gmon/Makefile: Likewise.
33996 * po/Makefile: Likewise.
33997 * rt/Makefile: Likewise.
33998 * socket/Makefile: Likewise.
33999 * math/Makefile: Likewise.
34000 * signal/Makefile: Likewise.
34001 * debug/Makefile: Likewise.
34002 * elf/Makefile: Likewise.
34003 * timezone/Makefile: Likewise.
34004 * stdlib/Makefile: Likewise.
34005 * iconvdata/Makefile: Likewise.
34006 * sunrpc/Makefile: Likewise.
34007 * io/Makefile: Likewise.
34008 * argp/Makefile: Likewise.
34009 * inet/Makefile: Likewise.
34010 * hesiod/Makefile: Likewise.
34011 * grp/Makefile: Likewise.
34012 * csu/Makefile: Likewise.
34013 * wctype/Makefile: Likewise.
34014 * crypt/Makefile: Likewise.
34015 * libio/Makefile: Likewise.
34016 * string/Makefile: Likewise.
34017 * nis/Makefile: Likewise.
34018 * resolv/Makefile: Likewise.
34019 * stdio-common/Makefile: Likewise.
34020 * wcsmbs/Makefile: Likewise.
34021 * dlfcn/Makefile: Likewise.
34022 * posix/Makefile: Likewise.
34025 * timezone/Makefile: Don't install timezone files, just the programs
34028 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34030 * nss/databases.def: Add missing gshadow entry.
34032 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34034 2012-03-06 Marek Polacek <polacek@redhat.com>
34037 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34038 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34039 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34040 * stdio-common/tst-long-dbl-fphex.c: New file.
34042 2012-03-06 David S. Miller <davem@davemloft.net>
34044 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34045 (set_obp_int): New function.
34046 (get_obp_int): New function.
34047 (__get_clockfreq_via_dev_openprom): Likewise.
34048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34049 Avoid unused variable warnings on 'val' and use builtin_expect.
34050 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34052 (INLINE_CLONE_SYSCALL): Likewise.
34054 2012-03-05 David S. Miller <davem@davemloft.net>
34056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34058 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34063 only for |x| >= 40.
34064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34066 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34069 Replace gettimeofday with __vdso_gettimeofday.
34071 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34072 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34073 __vdso_clock_gettime and __vdso_getcpu.
34075 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34076 time with __vdso_time.
34078 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34080 * manual/lang.texi (size_t): Note types to which size_t may be
34081 equivalent with the GNU C Library, but do not describe when
34082 differences between them are significant.
34084 2012-03-05 Andreas Jaeger <aj@suse.de>
34086 * sysdeps/i386/fpu/libm-test-ulps: Update.
34088 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34091 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34092 (__ieee754_pow): Save and restore rounding mode and use
34093 round-to-nearest for main computations.
34094 * math/libm-test.inc (pow_test_tonearest): New function.
34095 (pow_test_towardzero): Likewise.
34096 (pow_test_downward): Likewise.
34097 (pow_test_upward): Likewise.
34098 (main): Call the new functions.
34099 * sysdeps/i386/fpu/libm-test-ulps: Update.
34100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34103 * math/libm-test.inc (cosh_test_tonearest): New function.
34104 (cosh_test_towardzero): Likewise.
34105 (cosh_test_downward): Likewise.
34106 (cosh_test_upward): Likewise.
34107 (sinh_test_tonearest): Likewise.
34108 (sinh_test_towardzero): Likewise.
34109 (sinh_test_downward): Likewise.
34110 (sinh_test_upward): Likewise.
34111 (main): Call the new functions.
34112 * sysdeps/i386/fpu/libm-test-ulps: Update.
34113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34115 2012-03-05 Tom de Vries <tom@codesourcery.com>
34117 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34118 default stack guard is set in last bytes.
34119 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34121 2012-03-05 Kees Cook <keescook@chromium.org>
34123 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34126 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34127 possibly allocate from heap instead of stack.
34128 * stdio-common/bug-vfprintf-nargs.c: New file.
34129 * stdio-common/Makefile (tests): Add nargs overflow test.
34131 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34135 2012-03-03 Marek Polacek <polacek@redhat.com>
34137 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34138 * math/math_private.h: Likewise.
34139 * stdlib/tst-strtod.c: Likewise.
34140 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34141 * sysdeps/x86_64/bits/atomic.h: Likewise.
34143 2012-03-02 David S. Miller <davem@davemloft.net>
34145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34149 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34150 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34151 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34152 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34154 2012-03-02 Roland McGrath <roland@hack.frob.com>
34157 * manual/examples/README: New file, says the example source files
34158 can be used under GPL>=2.
34159 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34160 line containing just "*/".
34161 * manual/examples/add.c: Add copyright header (GPL>=2).
34162 * manual/examples/argp-ex1.c: Likewise.
34163 * manual/examples/argp-ex2.c: Likewise.
34164 * manual/examples/argp-ex3.c: Likewise.
34165 * manual/examples/argp-ex4.c: Likewise.
34166 * manual/examples/atexit.c: Likewise.
34167 * manual/examples/db.c: Likewise.
34168 * manual/examples/dir.c: Likewise.
34169 * manual/examples/dir2.c: Likewise.
34170 * manual/examples/execinfo.c: Likewise.
34171 * manual/examples/filecli.c: Likewise.
34172 * manual/examples/filesrv.c: Likewise.
34173 * manual/examples/fmtmsgexpl.c: Likewise.
34174 * manual/examples/genpass.c: Likewise.
34175 * manual/examples/inetcli.c: Likewise.
34176 * manual/examples/inetsrv.c: Likewise.
34177 * manual/examples/isockad.c: Likewise.
34178 * manual/examples/longopt.c: Likewise.
34179 * manual/examples/memopen.c: Likewise.
34180 * manual/examples/memstrm.c: Likewise.
34181 * manual/examples/mkfsock.c: Likewise.
34182 * manual/examples/mkisock.c: Likewise.
34183 * manual/examples/mygetpass.c: Likewise.
34184 * manual/examples/pipe.c: Likewise.
34185 * manual/examples/popen.c: Likewise.
34186 * manual/examples/rprintf.c: Likewise.
34187 * manual/examples/search.c: Likewise.
34188 * manual/examples/select.c: Likewise.
34189 * manual/examples/setjmp.c: Likewise.
34190 * manual/examples/sigh1.c: Likewise.
34191 * manual/examples/sigusr.c: Likewise.
34192 * manual/examples/stpcpy.c: Likewise.
34193 * manual/examples/strdupa.c: Likewise.
34194 * manual/examples/strftim.c: Likewise.
34195 * manual/examples/strncat.c: Likewise.
34196 * manual/examples/subopt.c: Likewise.
34197 * manual/examples/swapcontext.c: Likewise.
34198 * manual/examples/termios.c: Likewise.
34199 * manual/examples/testopt.c: Likewise.
34200 * manual/examples/testpass.c: Likewise.
34201 * manual/examples/timeval_subtract.c: Likewise.
34204 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34206 * manual/timeval_subtract.c.texi: ... here, new file.
34208 2012-03-02 David S. Miller <davem@davemloft.net>
34210 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34212 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34215 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34216 (__sin): Save and restore rounding mode and use round-to-nearest
34217 for all computations.
34218 (__cos): Save and restore rounding mode and use round-to-nearest
34219 for all computations.
34220 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34222 (tan): Save and restore rounding mode and use round-to-nearest for
34224 * math/libm-test.inc (cos_test_tonearest): New function.
34225 (cos_test_towardzero): Likewise.
34226 (cos_test_downward): Likewise.
34227 (cos_test_upward): Likewise.
34228 (sin_test_tonearest): Likewise.
34229 (sin_test_towardzero): Likewise.
34230 (sin_test_downward): Likewise.
34231 (sin_test_upward): Likewise.
34232 (tan_test_tonearest): Likewise.
34233 (tan_test_towardzero): Likewise.
34234 (tan_test_downward): Likewise.
34235 (tan_test_upward): Likewise.
34236 (main): Call the new functions.
34237 * sysdeps/i386/fpu/libm-test-ulps: Update.
34238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34241 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34242 small n, then large n, before computing and testing k+n.
34243 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34244 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34248 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34249 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34252 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34253 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34255 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34256 * math/libm-test.inc (scalbn_test): Add more tests.
34257 (scalbln_test): Likewise.
34259 * manual/filesys.texi (mode_t): Describe constraints on size and
34260 signedness, not exact equivalence to a particular type.
34262 (ino64_t): Likewise.
34264 (nlink_t): Likewise.
34265 (blkcnt_t): Likewise.
34266 (blkcnt64_t): Likewise.
34267 * manual/llio.texi (off_t): Likewise.
34270 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34271 (__ieee754_exp): Save and restore rounding mode and use
34272 round-to-nearest for all computations.
34273 * math/libm-test.inc (exp_test_tonearest): New function.
34274 (exp_test_towardzero): Likewise.
34275 (exp_test_downward): Likewise.
34276 (exp_test_upward): Likewise.
34277 (main): Call the new functions.
34278 * sysdeps/i386/fpu/libm-test-ulps: Update.
34279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34281 2012-03-01 Chris Demetriou <cgd@google.com>
34283 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34284 have predictable order.
34286 2012-03-01 David S. Miller <davem@davemloft.net>
34288 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34290 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34291 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34292 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34293 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34295 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34296 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34297 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34299 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34300 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34301 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34302 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34303 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34307 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34308 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34309 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34311 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34312 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34313 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34314 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34315 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34318 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34319 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34320 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34321 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34324 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34325 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34327 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34328 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34329 * sysdeps/sparc/elf/configure: Regenerated.
34331 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34333 * configure.in (AS, LD): Require binutils 2.20 or later.
34334 * configure: Regenerated.
34335 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34336 as required minimum version.
34337 * INSTALL: Regenerated.
34341 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34342 before squaring exponent.
34343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34344 bottom long double and 27 bits of top long double before squaring
34346 * math/libm-test.inc (erfc_test): Add more tests.
34347 * sysdeps/i386/fpu/libm-test-ulps: Update.
34348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34351 2012-03-01 Kai Tietz <ktietz@redhat.com>
34353 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34354 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34355 containing bit-fields.
34356 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34357 * soft-fp/single.h (_FP_UNION_S): Likewise.
34358 * soft-fp/double.h (_FP_UNION_D): Likewise.
34360 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34363 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34364 not include ../strcmp.S.
34365 [USE_AS_STRNCASECMP_L]: Likewise.
34366 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34367 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34368 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34369 (__strncasecmp_l_ia32): Define as alias to
34370 __strncasecmp_l_nonascii.
34373 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34374 * sysdeps/i386/fpu/libm-test-ulps: Update.
34375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34377 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34380 2012-02-29 Jeff Law <law@redhat.com>
34382 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34383 out of bounds read.
34385 2012-02-29 Marek Polacek <polacek@redhat.com>
34388 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34389 * elf/Makefile: Add rules to run tst-unused-dep.out.
34391 2012-02-28 David S. Miller <davem@davemloft.net>
34393 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34394 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34396 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34397 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34398 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34400 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34402 * math/libm-test.inc (llround_test): Move one test from
34403 lround_test. Use TEST_f_L in moved test.
34404 (lround_test): Move misplaced test to llround_test. Add testcase
34407 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34409 * sysdeps/x86_64/fpu/e_expf.S: New file.
34410 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34412 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34415 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34416 of remain_len that may cause incomplete multi-byte character and
34418 * posix/bug-regex33.c: New file.
34419 * posix/Makefile (tests): Add bug-regex33.
34421 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34423 * manual/macros.texi: New file.
34424 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34425 * manual/libc.texinfo: Include macros.texi.
34426 * manual/creatute.texi: Likewise.
34427 * manual/install.texi: Likewise.
34428 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34429 @glibcadj{} in references to the GNU C Library.
34430 * manual/charset.texi: Likewise.
34431 * manual/conf.texi: Likewise.
34432 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34433 when not using those macros.
34434 * manual/creature.texi: Likewise.
34435 * manual/crypt.texi: Likewise.
34436 * manual/errno.texi: Likewise.
34437 * manual/filesys.texi: Likewise.
34438 * manual/header.texi: Likewise.
34439 * manual/install.texi: Likewise.
34440 * manual/intro.texi: Likewise.
34441 * manual/io.texi: Likewise.
34442 * manual/job.texi: Likewise.
34443 * manual/lang.texi: Likewise.
34444 * manual/libc.texiinfo: Likewise.
34445 * manual/llio.texi: Likewise.
34446 * manual/locale.texi: Likewise.
34447 * manual/maint.texi: Likewise.
34448 * manual/math.texi: Likewise.
34449 * manual/memory.texi: Likewise.
34450 * manual/message.texi: Likewise.
34451 * manual/nss.texi: Likewise.
34452 * manual/pattern.texi: Likewise.
34453 * manual/process.texi: Likewise.
34454 * manual/resource.texi: Likewise.
34455 * manual/search.texi: Likewise.
34456 * manual/setjmp.texi: Likewise.
34457 * manual/signal.texi: Likewise.
34458 * manual/socket.texi: Likewise.
34459 * manual/startup.texi: Likewise.
34460 * manual/stdio.texi: Likewise.
34461 * manual/string.texi: Likewise.
34462 * manual/sysinfo.texi: Likewise.
34463 * manual/syslog.texi: Likewise.
34464 * manual/terminal.texi: Likewise.
34465 * manual/time.texi: Likewise.
34466 * manual/users.texi: Likewise.
34467 * INSTALL: Regenerated.
34468 * NOTES: Regenerated.
34469 * sysdeps/gnu/errlist.c: Regenerated.
34471 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34473 * include/dirent.h: Include <dirstream.h> before
34476 2012-02-28 David S. Miller <davem@davemloft.net>
34478 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34479 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34480 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34481 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34483 2012-02-27 David S. Miller <davem@davemloft.net>
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34487 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34488 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34491 frame pointer instead of stack pointer relative arg slot.
34492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34496 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34499 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34501 2012-02-27 David S. Miller <davem@davemloft.net>
34503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34507 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34508 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34509 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34510 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34512 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34514 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34515 later. Allow versions 5-9.
34516 * configure: Regenerated.
34517 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34518 required minimum version and 4.6 as recommended version. Do not
34519 mention bugs in GCC 2.7 and 2.8.
34520 * INSTALL: Regenerated.
34522 2012-02-27 David S. Miller <davem@davemloft.net>
34524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34528 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34529 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34530 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34531 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34534 manipulate bits before adding and subtracting TWO112[sx].
34535 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34537 2012-02-27 Roland McGrath <roland@hack.frob.com>
34540 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34541 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34542 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34543 being in POSIX, because they are in 1003.1-2008.
34545 * rt/tst-aio.c: Include <fcntl.h>.
34546 * rt/tst-aio7.c: Likewise.
34547 * rt/tst-aio64.c: Likewise.
34549 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34551 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34553 * manual/install.texi (--with-headers): Describe headers as
34554 interface headers, not private headers.
34555 (Specific advice for GNU/Linux systems): Describe use of headers
34556 from "make headers_install", not private headers from older
34558 * INSTALL: Regenerated.
34559 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34561 * sysdeps/unix/sysv/linux/configure: Regenerated.
34563 * manual/llio.texi (fclean): Remove documentation.
34565 * manual/Makefile (libc-texi-generated): New variable. Include
34567 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34568 $(libc-texi-generated), not duplicated list of files.
34569 (version.texi, stamp-version): New rules.
34570 (realclean): Remove $(libc-texi-generated), not individual files
34571 from that list. Do not remove dir-add.texinfo.
34572 * manual/libc.texinfo: Comment out uses of edition numbers and
34573 references to printed manual. Remove last-updated dates.
34574 (EDITION): Comment out.
34576 (VERSION, UPDATED): Remove.
34577 (version.texi): Include.
34579 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34581 * sysdeps/posix/spawni.c: Include <signal.h>.
34582 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34583 * sysdeps/pthread/aio_fsync.c: Likewise.
34585 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34587 * conform/Makefile (tests): Run only when not cross-compiling and
34588 when fast-check is not defined.
34590 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34591 * conform/data/limits.h-data: Fixes for POSIX2008.
34592 * conform/run-conformtest.sh: Run all tests.
34593 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34595 * include/bits/dlfcn.h: Likewise.
34596 * include/langinfo.h: Likewise.
34597 * include/monetary.h: Likewise.
34598 * include/sys/poll.h: Likewise.
34600 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34602 * posix/spawn.h: Define __need_sigset_t.
34603 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34604 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34605 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34606 to get sigevent_t only.
34607 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34608 only for __USE_GNU.
34609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34610 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34611 process_vm_writev only for __USE_GNU.
34612 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34614 * conform/Makefile: For now ignore errors from run-conformtest.
34615 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34616 POSIX to avoid namespace pollution. Don't prepend headers.
34617 * conform/data/aio.h-data: Fixes for POSIX testing.
34618 * conform/data/fcntl.h-data: Likewise.
34619 * conform/data/glob.h-data: Likewise.
34620 * conform/data/grp.h-data: Likewise.
34621 * conform/data/pthread.h-data: Likewise.
34622 * conform/data/pwd.h-data: Likewise.
34623 * conform/data/signal.h-data: Likewise.
34624 * conform/data/spawn.h-data: Likewise.
34625 * conform/data/stdio.h-data: Likewise.
34626 * conform/data/stdlib.h-data: Likewise.
34627 * conform/data/stropts.h-data: Likewise.
34628 * conform/data/sys/mman.h-data: Likewise.
34629 * conform/data/sys/stat.h-data: Likewise.
34630 * conform/data/sys/types.h-data: Likewise.
34631 * conform/data/sys/wait.h-data: Likewise.
34632 * conform/data/time.h-data: Likewise.
34633 * conform/data/unistd.h-data: Likewise.
34634 * conform/data/utime.h-data: Likewise.
34636 * io/sys/stat.h: fchmod was always in POSIX.
34637 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34638 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34639 * rt/aio.h: Define __need_timespec before including <time.h>.
34640 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34641 struct. Add forward declaration of pthread_attr_t and use it in
34643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34645 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34646 always remove CLK_TCK definition.
34648 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34650 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34652 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34654 * conform/run-conformtest.sh: New file.
34655 * conform/Makefile: Run run-conformtest for tests.
34656 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34659 * conform/data/uchar.h-data: New file.
34660 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34661 * conform/data/arpa/inet.h-data: Likewise.
34662 * conform/data/assert.h-data: Likewise.
34663 * conform/data/complex.h-data: Likewise.
34664 * conform/data/cpio.h-data: Likewise.
34665 * conform/data/ctype.h-data: Likewise.
34666 * conform/data/dirent.h-data: Likewise.
34667 * conform/data/dlfcn.h-data: Likewise.
34668 * conform/data/errno.h-data: Likewise.
34669 * conform/data/fcntl.h-data: Likewise.
34670 * conform/data/float.h-data: Likewise.
34671 * conform/data/fmtmsg.h-data: Likewise.
34672 * conform/data/fnmatch.h-data: Likewise.
34673 * conform/data/ftw.h-data: Likewise.
34674 * conform/data/glob.h-data: Likewise.
34675 * conform/data/grp.h-data: Likewise.
34676 * conform/data/iconv.h-data: Likewise.
34677 * conform/data/inttypes.h-data: Likewise.
34678 * conform/data/langinfo.h-data: Likewise.
34679 * conform/data/libgen.h-data: Likewise.
34680 * conform/data/limits.h-data: Likewise.
34681 * conform/data/locale.h-data: Likewise.
34682 * conform/data/math.h-data: Likewise.
34683 * conform/data/monetary.h-data: Likewise.
34684 * conform/data/mqueue.h-data: Likewise.
34685 * conform/data/ndbm.h-data: Likewise.
34686 * conform/data/net/if.h-data: Likewise.
34687 * conform/data/netdb.h-data: Likewise.
34688 * conform/data/netinet/in.h-data: Likewise.
34689 * conform/data/nl_types.h-data: Likewise.
34690 * conform/data/poll.h-data: Likewise.
34691 * conform/data/pthread.h-data: Likewise.
34692 * conform/data/pwd.h-data: Likewise.
34693 * conform/data/regex.h-data: Likewise.
34694 * conform/data/sched.h-data: Likewise.
34695 * conform/data/search.h-data: Likewise.
34696 * conform/data/semaphore.h-data: Likewise.
34697 * conform/data/setjmp.h-data: Likewise.
34698 * conform/data/signal.h-data: Likewise.
34699 * conform/data/spawn.h-data: Likewise.
34700 * conform/data/stdarg.h-data: Likewise.
34701 * conform/data/stdio.h-data: Likewise.
34702 * conform/data/stdlib.h-data: Likewise.
34703 * conform/data/string.h-data: Likewise.
34704 * conform/data/strings.h-data: Likewise.
34705 * conform/data/stropts.h-data: Likewise.
34706 * conform/data/sys/ipc.h-data: Likewise.
34707 * conform/data/sys/mman.h-data: Likewise.
34708 * conform/data/sys/msg.h-data: Likewise.
34709 * conform/data/sys/resource.h-data: Likewise.
34710 * conform/data/sys/select.h-data: Likewise.
34711 * conform/data/sys/sem.h-data: Likewise.
34712 * conform/data/sys/shm.h-data: Likewise.
34713 * conform/data/sys/socket.h-data: Likewise.
34714 * conform/data/sys/stat.h-data: Likewise.
34715 * conform/data/sys/statvfs.h-data: Likewise.
34716 * conform/data/sys/time.h-data: Likewise.
34717 * conform/data/sys/timeb.h-data: Likewise.
34718 * conform/data/sys/times.h-data: Likewise.
34719 * conform/data/sys/types.h-data: Likewise.
34720 * conform/data/sys/uio.h-data: Likewise.
34721 * conform/data/sys/un.h-data: Likewise.
34722 * conform/data/sys/utsname.h-data: Likewise.
34723 * conform/data/sys/wait.h-data: Likewise.
34724 * conform/data/syslog.h-data: Likewise.
34725 * conform/data/tar.h-data: Likewise.
34726 * conform/data/termios.h-data: Likewise.
34727 * conform/data/utime.h-data: Likewise.
34728 * conform/data/utmpx.h-data: Likewise.
34729 * conform/data/varargs.h-data: Likewise.
34730 * conform/data/wchar.h-data: Likewise.
34731 * conform/data/wctype.h-data: Likewise.
34732 * conform/data/wordexp.h-data: Likewise.
34734 * include/stropts.h: New file.
34735 * include/uchar.h: New file.
34736 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34737 * include/assert.h: Likewise.
34738 * include/ctype.h: Likewise.
34739 * include/dirent.h: Likewise.
34740 * include/dlfcn.h: Likewise.
34741 * include/fcntl.h: Likewise.
34742 * include/fnmatch.h: Likewise.
34743 * include/glob.h: Likewise.
34744 * include/grp.h: Likewise.
34745 * include/libio.h: Likewise.
34746 * include/locale.h: Likewise.
34747 * include/math.h: Likewise.
34748 * include/net/if.h: Likewise.
34749 * include/netdb.h: Likewise.
34750 * include/netinet/in.h: Likewise.
34751 * include/pthread.h: Likewise.
34752 * include/pwd.h: Likewise.
34753 * include/regex.h: Likewise.
34754 * include/sched.h: Likewise.
34755 * include/search.h: Likewise.
34756 * include/setjmp.h: Likewise.
34757 * include/signal.h: Likewise.
34758 * include/stdio.h: Likewise.
34759 * include/stdlib.h: Likewise.
34760 * include/string.h: Likewise.
34761 * include/sys/cdefs.h: Likewise.
34762 * include/sys/mman.h: Likewise.
34763 * include/sys/msg.h: Likewise.
34764 * include/sys/resource.h: Likewise.
34765 * include/sys/select.h: Likewise.
34766 * include/sys/socket.h: Likewise.
34767 * include/sys/stat.h: Likewise.
34768 * include/sys/statvfs.h: Likewise.
34769 * include/sys/time.h: Likewise.
34770 * include/sys/times.h: Likewise.
34771 * include/sys/uio.h: Likewise.
34772 * include/sys/utsname.h: Likewise.
34773 * include/sys/wait.h: Likewise.
34774 * include/termios.h: Likewise.
34775 * include/time.h: Likewise.
34776 * include/ulimit.h: Likewise.
34777 * include/unistd.h: Likewise.
34778 * include/utime.h: Likewise.
34779 * include/wchar.h: Likewise.
34780 * include/wctype.h: Likewise.
34781 * include/wordexp.h: Likewise.
34783 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34785 * time/time.h: TIME_UTC must be a macro.
34786 Make timespec_get available for ISO C11 only as well.
34788 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34790 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34791 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34793 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34795 * configure.in: Use -o not -a in test for unsupported multi-arch.
34797 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34799 * manual/texinfo.tex: Update to version 2012-01-19.16.
34801 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34803 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34805 2012-02-24 Roland McGrath <roland@hack.frob.com>
34808 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34809 * manual/fdl-1.3.texi: New file.
34810 * manual/fdl-1.1.texi: File removed.
34813 * manual/libc.texinfo (FDL_VERSION): New @set.
34814 Use it for mention of FDL in cover text.
34815 (Documentation License): Use it in @include file name.
34817 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34818 Roland McGrath <roland@hack.frob.com>
34821 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34822 not LONG_LONG_MAX and LONG_LONG_MIN.
34823 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34824 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34826 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34828 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34832 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34833 manipulate bits before adding and subtracting TWO23[sx].
34834 * math/libm-test.inc (nearbyint_test): Add more tests.
34836 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34839 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34840 bits before adding and subtracting TWO23[sx].
34841 * math/libm-test.inc (rint_test): Add more tests.
34842 (rint_test_tonearest): Likewise.
34843 (rint_test_towardzero): Likewise.
34844 (rint_test_downward): Likewise.
34845 (rint_test_upward: Likewise.
34847 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34850 * include/stdc-predef.h: New file. Extracted from features.h.
34851 * include/features.h: Include stdc-predef.h.
34852 * Makefile (headers): Add stdc-predef.h.
34853 * CONFORMANCE (Compiler limitations): Update.
34855 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34857 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34859 2012-02-21 David S. Miller <davem@davemloft.net>
34861 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34862 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34864 2012-02-20 David S. Miller <davem@davemloft.net>
34866 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34867 using a normal save/restore sequence, rather than allocating a
34868 dummy stack frame just to store a frame pointer and restore.
34869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34871 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34873 * manual/install.texi: Fix stray word in line-wrapped comment.
34875 2012-02-20 David S. Miller <davem@davemloft.net>
34877 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34878 both binutils and gcc support GOTDATA.
34880 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34881 "rd %pc" in the PIC register setup sequences.
34883 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34884 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34885 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34886 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34887 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34889 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34892 (SYSCALL_ERROR_HANDLER): Likewise.
34893 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34894 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34896 (SYSCALL_ERROR_HANDLER): Likewise.
34898 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34899 (HAVE_GCC_GOTDATA): New.
34900 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34901 relocation support in both binutils and gcc.
34902 * sysdeps/sparc/elf/configure: Regenerate.
34904 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34905 * sysdeps/sparc/sparc32/elf/configure: Delete.
34906 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34907 * sysdeps/sparc/sparc64/elf/configure: Delete.
34908 * sysdeps/sparc/elf/configure.in: New file.
34909 * sysdeps/sparc/elf/configure: Generate.
34911 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34912 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34913 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34914 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34915 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34917 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34919 * manual/install.texi: Do not mention specific glibc version
34921 * manual/libc.texinfo (VERSION, UPDATED): Update.
34922 (@copying): Use @copyright{} and range of years.
34924 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34927 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34928 [crti.S not in sysdirs] (generated): Do not append.
34929 [crti.S not in sysdirs] (omit-deps): Likewise.
34930 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34931 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34932 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34933 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34934 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34936 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34937 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34938 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34939 * csu/defs.awk: Remove file.
34940 * sysdeps/generic/initfini.c: Likewise.
34941 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34943 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34946 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34948 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34949 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34950 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34953 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34955 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34956 (__EPOLL_PACKED): Define to empty if not defined by
34958 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34962 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34964 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34965 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34966 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34967 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34969 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34973 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34975 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34978 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34979 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34982 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34985 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34987 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34989 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34990 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34992 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34994 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34997 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34999 * math/w_acos.c: Use non-signaling floating-point comparisons.
35000 * math/w_acosf.c: Likewise.
35001 * math/w_acosh.c: Likewise.
35002 * math/w_acoshf.c: Likewise.
35003 * math/w_acoshl.c: Likewise.
35004 * math/w_acosl.c: Likewise.
35005 * math/w_asin.c: Likewise.
35006 * math/w_asinf.c: Likewise.
35007 * math/w_asinl.c: Likewise.
35008 * math/w_atanh.c: Likewise.
35009 * math/w_atanhf.c: Likewise.
35010 * math/w_atanhl.c: Likewise.
35011 * math/w_exp2.c: Likewise.
35012 * math/w_exp2f.c: Likewise.
35013 * math/w_exp2l.c: Likewise.
35014 * math/w_j0.c: Likewise.
35015 * math/w_j0f.c: Likewise.
35016 * math/w_j0l.c: Likewise.
35017 * math/w_j1.c: Likewise.
35018 * math/w_j1f.c: Likewise.
35019 * math/w_j1l.c: Likewise.
35020 * math/w_jn.c: Likewise.
35021 * math/w_jnf.c: Likewise.
35022 * math/w_log.c: Likewise.
35023 * math/w_log10.c: Likewise.
35024 * math/w_log10f.c: Likewise.
35025 * math/w_log10l.c: Likewise.
35026 * math/w_log2.c: Likewise.
35027 * math/w_log2f.c: Likewise.
35028 * math/w_log2l.c: Likewise.
35029 * math/w_logf.c: Likewise.
35030 * math/w_logl.c: Likewise.
35031 * math/w_sqrt.c: Likewise.
35032 * math/w_sqrtf.c: Likewise.
35033 * math/w_sqrtl.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35037 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35038 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35040 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35043 * manual/string.texi (strnlen): Use correct parameter name in
35044 equivalent expression.
35046 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35049 * manual/users.texi (seteuid): Consistently use neweuid for
35052 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35055 * manual/nss.texi (Services in the NSS configuration): Correct
35056 list of services in example configuration file.
35058 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35061 * manual/arith.texi: Remove statements about negative zero
35062 behaving identically to zero.
35064 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35067 * manual/install.texi: Do not document upgrading from libc5.
35069 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35072 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35074 2012-02-18 David S. Miller <davem@davemloft.net>
35076 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35077 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35078 %o7 across the call.
35079 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35082 SETUP_PIC_REG_LEAF.
35083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35084 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35085 * sysdeps/sparc/crtn.S: Likewise.
35087 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35089 * aout/Makefile: Remove.
35091 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35094 * manual/examples/argp-ex1.c (main): Format definition in GNU
35096 * manual/examples/argp-ex2.c (main): Likewise.
35097 * manual/examples/argp-ex3.c (main): Likewise.
35098 * manual/examples/argp-ex4.c (main): Likewise.
35099 * manual/examples/longopt.c (main): Use new-style prototype
35101 * manual/examples/strncat.c (main): Specify return type and use
35102 (void) for arguments.
35103 * manual/examples/subopt.c (main): Use char **argv argument.
35105 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35108 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35111 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35114 * manual/string.texi (strchr): Change when strchrnul is
35117 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35120 * manual/locale.texi (setlocale): Document LOCPATH.
35122 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35125 * manual/process.texi (execle): Move @dots{} before last argument.
35127 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35130 * manual/charset.texi (Generic Charset Conversion): Fix typo
35131 (LC_TYPE -> LC_CTYPE).
35133 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35136 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35137 (scalbnf): Likewise.
35138 (scalbnl): Likewise.
35139 (scalbln): Likewise.
35140 (scalblnf): Likewise.
35141 (scalblnl): Likewise.
35142 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35143 (vwarnx): Likewise.
35146 * manual/filesys.texi (telldir): Use braces around return type.
35147 * manual/llio.texi (mmap): Add space after comma.
35148 (mmap64): Likewise.
35149 * manual/math.texi (jn): Use @var{} on parameter names.
35155 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35157 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35159 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35160 (sched_get_priority_max): Likewise.
35161 * manual/signal.texi (sigvec): Add space after comma.
35162 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35164 (if_indextoname): Likewise.
35165 (if_freenameindex): Likewise.
35166 (sendto): Use ',' instead of '.' in prototype.
35167 * manual/startup.texi (syscall): Use @dots{} instead of literal
35169 * manual/stdio.texi (__fpending): Separate initial words of
35170 paragraph from @deftypefun line.
35171 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35173 (vsyslog): Use @var{} on parameter names.
35174 * manual/terminal.texi (stty): Use @var{} on parameter names.
35175 * manual/users.texi (getutmp): Use @var{} on parameter names.
35176 (getutmpx): Likewise.
35178 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35181 * manual/stdio.texi (fopen): Fix typos in description of
35184 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35187 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35188 get clock_id definition.
35190 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35193 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35194 (madvise): Cast every argument to void on its own.
35196 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35199 * manual/startup.texi (Exit Status): Fix typo.
35201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35204 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35205 * manual/examples/argp-ex2.c: Likewise.
35206 * manual/examples/argp-ex3.c: Likewise.
35208 2012-02-16 Richard Henderson <rth@redhat.com>
35210 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35211 * sysdeps/s390/s390-32/initfini.c: Remove.
35212 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35213 * sysdeps/s390/s390-64/initfini.c: Remove.
35215 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35217 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35218 compiler output for sysdeps/generic/initfini.c.
35219 * sysdeps/sh/elf/initfini.c: Remove file.
35221 2012-02-16 David S. Miller <davem@davemloft.net>
35224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35226 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35227 * sysdeps/sparc/crti.S: New file.
35228 * sysdeps/sparc/crtn.S: New file.
35229 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35230 * sysdeps/sparc/sparc64/Makefile: Likewise.
35232 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35235 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35237 2012-02-15 Roland McGrath <roland@hack.frob.com>
35240 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35242 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35243 (write, read, close): Likewise.
35244 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35246 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35248 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35249 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35250 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35251 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35253 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35257 2012-02-14 Marek Polacek <polacek@redhat.com>
35259 * sysdeps/x86_64/crti.S: New file.
35260 * sysdeps/x86_64/crtn.S: New file.
35261 * sysdeps/x86_64/elf/initfini.c: Remove file.
35263 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35265 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35266 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35267 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35268 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35270 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35274 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35276 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35277 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35278 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35279 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35281 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35285 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35287 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35288 __feraiseexcept instead of feraiseexcept.
35290 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35291 nanosleep invocations.
35292 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35293 strings, and add error checking for a nanosleep invocations.
35295 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35297 Replace FSF snail mail address with URLs, as per GNU coding standards.
35298 Most of the snail mail addresses were wrong anyway, and omitting
35299 them makes the source code easier to maintain. Almost all of the
35300 changes are to license notices and to locale LC_IDENTIFICATION
35301 addresses, except for this one:
35302 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35303 not its snail mail address.
35305 2012-02-09 Richard Henderson <rth@twiddle.net>
35307 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35308 of kernel-features.h.
35310 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35312 2012-02-08 Marek Polacek <polacek@redhat.com>
35314 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35315 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35316 * sysdeps/gnu/_G_config.h: Likewise.
35317 * sysdeps/generic/_G_config.h: Likewise.
35319 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35321 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35325 * sysdeps/powerpc/powerpc32/crti.S: New file.
35326 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35327 * sysdeps/powerpc/powerpc64/crti.S: New file.
35328 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35330 * Makeconfig (have-initfini): Don't set.
35331 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35332 * configure.in (nopic_initfini): Don't substitute.
35333 * config.h.in (HAVE_INITFINI): Don't #undef.
35334 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35335 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35337 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35339 Support crti.S and crtn.S provided directly by architectures.
35340 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35341 [crti.S in sysdirs] (omit-deps): Likewise.
35342 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35343 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35344 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35345 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35346 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35347 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35348 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35349 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35350 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35351 compiler output for sysdeps/generic/initfini.c.
35352 * sysdeps/i386/elf/Makefile: Remove file.
35353 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35355 2012-02-07 Marek Polacek <polacek@redhat.com>
35357 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35358 * sysdeps/gnu/_G_config.h: Likewise.
35359 * sysdeps/mach/hurd/_G_config.h: Likewise.
35361 2012-02-07 Marek Polacek <polacek@redhat.com>
35363 * math/Makefile (tests): Add tst-CMPLX2.
35364 * math/tst-CMPLX2.c: New file.
35366 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35368 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35370 * math/libm-test.inc (jn_test): Add missing L suffix.
35372 2012-02-06 Marek Polacek <polacek@redhat.com>
35374 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35375 * sysdeps/i386/fpu/e_powf.S: Likewise.
35376 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35377 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35378 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35379 * sysdeps/i386/fpu/e_pow.S: Likewise.
35380 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35382 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35383 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35384 * sysdeps/i386/fpu/e_log2.S: Likewise.
35385 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35386 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35387 * sysdeps/i386/fpu/e_powl.S: Likewise.
35388 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35389 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35390 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35391 * sysdeps/i386/fpu/e_logl.S: Likewise.
35392 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35393 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35394 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35395 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35396 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35397 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35398 * sysdeps/i386/fpu/e_log.S: Likewise.
35399 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35400 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35401 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35402 * sysdeps/i386/fpu/e_logf.S: Likewise.
35403 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35404 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35405 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35406 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35407 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35408 * sysdeps/i386/fpu/e_log10.S: Likewise.
35409 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35410 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35411 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35412 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35413 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35414 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35415 * sysdeps/i386/asm-syntax.h: Likewise.
35416 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35417 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35418 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35419 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35420 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35421 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35422 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35423 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35424 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35425 * sysdeps/powerpc/sysdep.h: Likewise.
35426 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35427 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35429 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35432 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35434 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35436 * sysdeps/i386/sysdep.h: Include <features.h>.
35437 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35440 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35444 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35447 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35449 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35450 (SETUP_PIC_REG): Use GET_PC_THUNK.
35451 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35454 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35456 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35457 for non-PIC compilation.
35458 (SETUP_PIC_REG): Add .p2align directive.
35459 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35460 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35473 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35474 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35475 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35476 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35481 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35482 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35483 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35485 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35487 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35488 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35489 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35490 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35491 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35492 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35493 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35494 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35495 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35496 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35497 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35498 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35499 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35501 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35503 * math/tst-CMPLX.c: Include <stdio.h>.
35505 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35507 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35509 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35510 * sysdeps/sparc/bits/mathdef.h: Likewise.
35512 2012-01-31 Marek Polacek <polacek@redhat.com>
35514 * libio/libio.h: Don't define _PARAMS.
35515 * locale/programs/config.h: Don't define PARAMS.
35516 * stdlib/strtol_l.c: Likewise.
35517 (__strtol_l): Remove PARAMS from the prototype.
35519 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35521 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35522 names. Just use the correct names. Remove unnecessary wrapper
35524 * malloc/arena.c: Likewise.
35525 * malloc/hooks.c: Likewise.
35527 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35528 ARENA_TEST says not to. Simplify test for creation of a new arena.
35529 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35531 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35533 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35535 (update_get_addr): New function.
35536 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35537 GET_ADDR_MODULE parameter.
35539 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35541 * crypt/cert.c: Remove __STDC__ conditionals.
35542 * crypt/crypt-entry.c: Likewise.
35543 * crypt/crypt_util.c: Likewise.
35544 * libio/filedoalloc.c: Likewise.
35545 * libio/fileops.c: Likewise.
35546 * libio/genops.c: Likewise.
35547 * libio/iofclose.c: Likewise.
35548 * libio/iofdopen.c: Likewise.
35549 * libio/iofopen.c: Likewise.
35550 * libio/iofopen64.c: Likewise.
35551 * libio/iogetdelim.c: Likewise.
35552 * libio/iopopen.c: Likewise.
35553 * libio/obprintf.c: Likewise.
35554 * libio/oldfileops.c: Likewise.
35555 * libio/oldiofclose.c: Likewise.
35556 * libio/oldiofdopen.c: Likewise.
35557 * libio/oldiofopen.c: Likewise.
35558 * libio/oldiopopen.c: Likewise.
35559 * libio/wfiledoalloc.c: Likewise.
35560 * libio/wgenops.c: Likewise.
35561 * locale/programs/xmalloc.c: Likewise.
35562 * misc/syslog.c: Likewise.
35563 * stdio-common/xbug.c: Likewise.
35564 * string/memchr.c: Likewise.
35565 * string/memcmp.c: Likewise.
35566 * string/memrchr.c: Likewise.
35567 * string/rawmemchr.c: Likewise.
35568 * sysdeps/posix/getcwd.c: Likewise.
35569 * time/strftime_l.c: Likewise.
35571 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35573 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35574 * config.make.in (config-cflags-sse2avx): Define.
35575 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35578 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35580 * scripts/config.guess: Update from upstream config git repository.
35581 * scripts/config.sub: Likewise.
35583 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35585 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35587 (R_TILEPRO_*, R_TILEGX_*): New macros.
35589 * scripts/firstversions.awk: Fix bug in version range handling.
35591 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35593 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35595 * include/sys/epoll.h: New file.
35596 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35599 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35601 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35602 Avoid unnecessary __WORDSIZE == 64 test.
35603 (fmaxf): Use VEX format if possible.
35608 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35609 * math/math_private.h: Remove libc_fegetround* and
35611 * sysdeps/i386/configure.in: Check for -msse2avx.
35612 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35613 also if SSE2AVX is defined.
35614 Remove libc_fegetround* and libc_fesetround*.
35615 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35616 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35625 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35627 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35629 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35631 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35633 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35636 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35638 * Makeconfig (libm): Define.
35639 * elf/Makefile: Add rules to build and run tst-relsort1.
35640 * elf/tst-relsort1.c: New file.
35641 * elf/tst-relsort1mod1.c: New file.
35642 * elf/tst-relsort1mod2.c: New file.
35644 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35646 * math/s_ldexp.c: Remove __STDC__ conditionals.
35647 * math/s_ldexpf.c: Likewise.
35648 * math/s_ldexpl.c: Likewise.
35649 * math/s_nextafter.c: Likewise.
35650 * math/s_nexttowardf.c: Likewise.
35651 * math/s_significand.c: Likewise.
35652 * math/s_significandf.c: Likewise.
35653 * math/s_significandl.c: Likewise.
35654 * math/w_jnl.c: Likewise.
35655 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35656 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35657 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35658 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35659 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35661 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35662 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35663 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35664 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35665 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35667 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35668 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35669 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35670 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35671 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35672 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35674 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35675 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35676 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35677 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35679 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35680 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35681 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35682 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35683 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35684 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35685 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35686 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35687 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35688 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35689 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35690 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35691 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35692 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35693 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35694 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35695 * sysdeps/ieee754/k_standard.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35757 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35762 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35770 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35771 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35775 * sysdeps/ieee754/s_matherr.c: Likewise.
35776 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35777 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35779 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35781 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35783 * crypt/md5.h: Remove __STDC__ conditionals.
35784 * libio/libioP.h: Likewise.
35785 * locale/programs/config.h: Likewise.
35786 * sysdeps/generic/sysdep.h: Likewise.
35787 * sysdeps/i386/asm-syntax.h: Likewise.
35788 * sysdeps/s390/asm-syntax.h: Likewise.
35789 * sysdeps/unix/sysdep.h: Likewise.
35790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35793 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35795 * libio/libio.h: Remove __STDC__ conditionals.
35796 * malloc/obstack.h: Likewise.
35797 * math/complex.h: Likewise.
35798 * math/math.h: Likewise.
35799 * sysdeps/generic/_G_config.h: Likewise.
35800 * sysdeps/gnu/_G_config.h: Likewise.
35801 * sysdeps/mach/hurd/_G_config.h: Likewise.
35802 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35803 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35804 * sysdeps/sparc/bits/mathdef.h: Likewise.
35806 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35809 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35810 Clean up HAS_* macros.
35811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35812 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35814 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35816 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35817 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35818 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35819 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35820 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35822 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35824 * elf/tst-unique3.cc (gets): Remove declaration.
35825 * elf/tst-unique3lib.cc (gets): Likewise.
35826 * elf/tst-unique3lib2.cc (gets): Likewise.
35827 * elf/tst-unique4.cc (gets): Likewise.
35829 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35831 * include/stdio.h: Add C++ protection. Add gets declarations and
35833 * debug/tst-chk1.c: Don't declare gets here.
35834 * stdio-common/tst-gets.c: Likewise.
35836 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35838 * posix/glob: Remove directory.
35840 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35842 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35844 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35846 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35847 of the non-standard EPFNOSUPPORT.
35849 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35851 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35852 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35853 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35855 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35857 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35859 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35861 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35863 * nscd/grpcache.c (cache_addgr): Likewise.
35864 * nscd/hstcache.c (cache_addhst): Likewise.
35865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35866 * nscd/pwdcache.c (cache_addpw): Likewise.
35867 * nscd/servicescache.c (cache_addserv): Likewise.
35869 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35871 * malloc/malloc.c: Various cleanups.
35872 * malloc/hooks.c: Likewise.
35874 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35875 * stdlib/bug-fmtmsg1.c: New file.
35877 * stdlib/fmtmsg.c (init): Add missing unlock.
35878 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35880 2012-01-12 Marek Polacek <polacek@redhat.com>
35882 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35885 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35887 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35888 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35889 macro to ensure uniqueness of label name.
35890 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35891 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35893 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35897 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35898 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35899 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35902 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35904 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35906 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35907 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35908 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35910 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35912 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35913 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35914 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35917 * math/bits/math-finite.h: Add ldexp support.
35919 2012-01-10 Marek Polacek <polacek@redhat.com>
35921 * locale/programs/localedef.h (show_archive_content): Add noreturn
35924 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35926 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35928 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35930 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35932 * io/Makefile (headers): Add bits/poll2.h.
35934 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35937 typo #include statement.
35939 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35941 * include/sys/cdefs.h: Define __attribute_alloc_size.
35942 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35943 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35944 * elf/pldd.c: Likewise.
35945 * iconv/iconv_charmap.c: Likewise.
35946 * iconv/iconvconfig.c: Likewise.
35947 * iconv/strtab.c: Likewise.
35948 * locale/programs/locale.c: Likewise.
35949 * locale/programs/localedef.h: Likewise.
35950 * locale/programs/simple-hash.c: Likewise.
35951 * nscd/nscd.h: Likewise.
35952 * nss/makedb.c: Likewise.
35953 * sysdeps/generic/ldconfig.h: Likewise.
35954 * locale/programs/localedef.c: Remove xmalloc prototype.
35955 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35957 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35959 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35962 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35964 * math/Makefile (tests): Add tst-CMPLX.
35965 * math/tst-CMPLX.c: New file.
35967 * math/complex.h (CMPLXL): Fix typo.
35969 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35970 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35972 * debug/tst-chk1.c: Add poll and ppoll tests.
35973 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35974 * include/sys/poll.h: Add hidden proto for ppoll.
35975 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35976 * sysdeps/mach/hurd/ppoll.c: Likewise.
35977 * io/ppoll.c: Likewise.
35978 * debug/poll_chk.c: New file.
35979 * debug/ppoll_chk.c: New file.
35980 * include/bits/poll2.h: New file.
35981 * io/bits/poll2.h: New file.
35984 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35986 * configure.in: static is always set to yes. Remove.
35987 * config.make.in: Don't set build-static.
35988 * Makeconfig: Remove use of build-static.
35989 * dlfcn/Makefile: Likewise.
35990 * elf/Makefile: Likewise.
35991 * math/Makefile: Likewise.
35992 * misc/Makefile: Likewise.
35993 * nptl/Makefile: Likewise.
35994 * sysdeps/mach/hurd/Makefile: Likewise.
35996 * configure.in: PWD_P is not used anymore.
35997 * config.make.in: Remove PWD_P entry.
35999 * configure.in: Remove last remnants of RANLIB.
36000 No need to check for signed size_t anymore.
36001 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36003 Remove __builtin_expect test because we require at least gcc 3.4.
36004 * aclocal.m4: Likewise.
36006 * wcsmbs/mbrtoc16.c: Implement using towc function.
36007 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36008 * wcsmbs/wcsmbsload.c: Likewise.
36009 * iconv/gconv_simple.c: Likewise.
36010 * iconv/gconv_int.h: Likewise.
36011 * iconv/gconv_builtin.h: Likewise.
36012 * iconv/iconv_prog.c: Remove CHAR16 handling.
36014 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36016 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36018 * configure.in: Remove --with-elf and --enable-bounded options.
36019 Dont set base_machine for ia64. More non-ELF conditions removed.
36020 Remove testing and setting of leading underscore information.
36021 * config.make.in (build-bounded): Set to no.
36022 * config.h.in: Remove NO_UNDERSCORES entry.
36023 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36025 * csu/start.c: Remove !NO_UNDERSCORE code.
36026 * locale/localeinfo.h: Likewise.
36027 * sysdeps/generic/machine-gmon.h: Likewise.
36028 * sysdeps/generic/sysdep.h: Likewise.
36029 * sysdeps/i386/sysdep.h: Likewise.
36030 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36031 * sysdeps/mach/sysdep.h: Likewise.
36032 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36033 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36034 * sysdeps/sh/sysdep.h: Likewise.
36035 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36036 * sysdeps/unix/i386/sysdep.S: Likewise.
36037 * sysdeps/unix/sparc/start.c: Likewise.
36038 * sysdeps/unix/sparc/sysdep.S: Likewise.
36039 * sysdeps/unix/sparc/sysdep.h: Likewise.
36040 * sysdeps/unix/start.c: Likewise.
36041 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36042 * sysdeps/x86_64/sysdep.h: Likewise.
36044 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36047 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36049 * argp/argp-fmtstream.h: Use const instead __const.
36050 * argp/argp.h: Likewise.
36051 * assert/assert.h: Likewise.
36052 * bits/fenv.h: Likewise.
36053 * bits/sched.h: Likewise.
36054 * bits/sigset.h: Likewise.
36055 * bits/sigthread.h: Likewise.
36056 * catgets/nl_types.h: Likewise.
36057 * conform/data/pthread.h-data: Likewise.
36058 * crypt/crypt-private.h: Likewise.
36059 * crypt/crypt.h: Likewise.
36060 * crypt/crypt_util.c: Likewise.
36061 * ctype/ctype.h: Likewise.
36062 * debug/execinfo.h: Likewise.
36063 * debug/mbsnrtowcs_chk.c: Likewise.
36064 * debug/mbsrtowcs_chk.c: Likewise.
36065 * debug/wcsnrtombs_chk.c: Likewise.
36066 * debug/wcsrtombs_chk.c: Likewise.
36067 * debug/wcstombs_chk.c: Likewise.
36068 * dirent/dirent.h: Likewise.
36069 * dlfcn/dlfcn.h: Likewise.
36070 * elf/neededtest4.c: Likewise.
36071 * grp/grp.h: Likewise.
36072 * gshadow/gshadow.h: Likewise.
36073 * iconv/gconv.h: Likewise.
36074 * iconv/gconv_int.h: Likewise.
36075 * iconv/gconv_simple.c: Likewise.
36076 * iconv/iconv.h: Likewise.
36077 * iconv/loop.c: Likewise.
36078 * iconv/skeleton.c: Likewise.
36079 * include/aio.h: Likewise.
36080 * include/aliases.h: Likewise.
36081 * include/argz.h: Likewise.
36082 * include/arpa/inet.h: Likewise.
36083 * include/assert.h: Likewise.
36084 * include/dirent.h: Likewise.
36085 * include/dlfcn.h: Likewise.
36086 * include/execinfo.h: Likewise.
36087 * include/fcntl.h: Likewise.
36088 * include/fenv.h: Likewise.
36089 * include/glob.h: Likewise.
36090 * include/grp.h: Likewise.
36091 * include/libintl.h: Likewise.
36092 * include/mntent.h: Likewise.
36093 * include/netdb.h: Likewise.
36094 * include/pwd.h: Likewise.
36095 * include/rpc/netdb.h: Likewise.
36096 * include/sched.h: Likewise.
36097 * include/search.h: Likewise.
36098 * include/shadow.h: Likewise.
36099 * include/signal.h: Likewise.
36100 * include/stdio.h: Likewise.
36101 * include/stdlib.h: Likewise.
36102 * include/string.h: Likewise.
36103 * include/sys/socket.h: Likewise.
36104 * include/sys/stat.h: Likewise.
36105 * include/sys/statfs.h: Likewise.
36106 * include/sys/statvfs.h: Likewise.
36107 * include/sys/syslog.h: Likewise.
36108 * include/sys/time.h: Likewise.
36109 * include/sys/uio.h: Likewise.
36110 * include/time.h: Likewise.
36111 * include/unistd.h: Likewise.
36112 * include/utmp.h: Likewise.
36113 * include/wchar.h: Likewise.
36114 * include/wctype.h: Likewise.
36115 * inet/aliases.h: Likewise.
36116 * inet/arpa/inet.h: Likewise.
36117 * inet/netinet/ether.h: Likewise.
36118 * inet/netinet/in.h: Likewise.
36119 * intl/libintl.h: Likewise.
36120 * io/bits/fcntl2.h: Likewise.
36121 * io/fcntl.h: Likewise.
36122 * io/ftw.h: Likewise.
36123 * io/sys/poll.h: Likewise.
36124 * io/sys/stat.h: Likewise.
36125 * io/sys/statfs.h: Likewise.
36126 * io/sys/statvfs.h: Likewise.
36127 * io/utime.h: Likewise.
36128 * libio/bits/stdio.h: Likewise.
36129 * libio/bits/stdio2.h: Likewise.
36130 * libio/libio.h: Likewise.
36131 * libio/libioP.h: Likewise.
36132 * libio/stdio.h: Likewise.
36133 * locale/lc-ctype.c: Likewise.
36134 * locale/locale.h: Likewise.
36135 * login/utmp.h: Likewise.
36136 * malloc/arena.c: Likewise.
36137 * malloc/malloc.c: Likewise.
36138 * malloc/malloc.h: Likewise.
36139 * malloc/mcheck.c: Likewise.
36140 * malloc/mtrace.c: Likewise.
36141 * math/bits/mathcalls.h: Likewise.
36142 * math/fenv.h: Likewise.
36143 * math/math_private.h: Likewise.
36144 * misc/bits/error.h: Likewise.
36145 * misc/bits/syslog.h: Likewise.
36146 * misc/err.h: Likewise.
36147 * misc/error.h: Likewise.
36148 * misc/fstab.h: Likewise.
36149 * misc/mntent.h: Likewise.
36150 * misc/regexp.h: Likewise.
36151 * misc/search.h: Likewise.
36152 * misc/sgtty.h: Likewise.
36153 * misc/sys/mman.h: Likewise.
36154 * misc/sys/syslog.h: Likewise.
36155 * misc/sys/uio.h: Likewise.
36156 * misc/sys/xattr.h: Likewise.
36157 * misc/ttyent.h: Likewise.
36158 * nis/rpcsvc/ypclnt.h: Likewise.
36159 * nss/nss.h: Likewise.
36160 * posix/bits/unistd.h: Likewise.
36161 * posix/fnmatch.h: Likewise.
36162 * posix/glob.h: Likewise.
36163 * posix/sched.h: Likewise.
36164 * posix/spawn.h: Likewise.
36165 * posix/sys/wait.h: Likewise.
36166 * posix/unistd.h: Likewise.
36167 * posix/wordexp.h: Likewise.
36168 * pwd/pwd.h: Likewise.
36169 * resolv/netdb.h: Likewise.
36170 * resource/sys/resource.h: Likewise.
36171 * rt/aio.h: Likewise.
36172 * rt/bits/mqueue2.h: Likewise.
36173 * rt/mqueue.h: Likewise.
36174 * shadow/shadow.h: Likewise.
36175 * signal/signal.h: Likewise.
36176 * socket/send.c: Likewise.
36177 * socket/sendto.c: Likewise.
36178 * socket/sys/socket.h: Likewise.
36179 * stdio-common/printf.h: Likewise.
36180 * stdlib/bits/stdlib.h: Likewise.
36181 * stdlib/fmtmsg.h: Likewise.
36182 * stdlib/monetary.h: Likewise.
36183 * stdlib/stdlib.h: Likewise.
36184 * stdlib/ucontext.h: Likewise.
36185 * streams/stropts.h: Likewise.
36186 * string/argz.h: Likewise.
36187 * string/bits/string2.h: Likewise.
36188 * string/string.h: Likewise.
36189 * string/strings.h: Likewise.
36190 * sunrpc/rpc/auth.h: Likewise.
36191 * sunrpc/rpc/auth_des.h: Likewise.
36192 * sunrpc/rpc/clnt.h: Likewise.
36193 * sunrpc/rpc/netdb.h: Likewise.
36194 * sunrpc/rpc/pmap_clnt.h: Likewise.
36195 * sunrpc/rpc/xdr.h: Likewise.
36196 * sysdeps/generic/inttypes.h: Likewise.
36197 * sysdeps/generic/net/if.h: Likewise.
36198 * sysdeps/generic/sys/swap.h: Likewise.
36199 * sysdeps/gnu/net/if.h: Likewise.
36200 * sysdeps/gnu/utmpx.h: Likewise.
36201 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36202 * sysdeps/i386/i486/bits/string.h: Likewise.
36203 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36204 * sysdeps/s390/bits/string.h: Likewise.
36205 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36206 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36207 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36208 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36209 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36210 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36211 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36212 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36213 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36214 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36215 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36216 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36217 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36218 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36219 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36220 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36221 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36225 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36226 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36227 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36228 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36229 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36230 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36231 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36233 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36234 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36235 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36236 * sysvipc/sys/ipc.h: Likewise.
36237 * sysvipc/sys/msg.h: Likewise.
36238 * sysvipc/sys/sem.h: Likewise.
36239 * sysvipc/sys/shm.h: Likewise.
36240 * termios/termios.h: Likewise.
36241 * time/sys/time.h: Likewise.
36242 * time/time.h: Likewise.
36243 * wcsmbs/bits/wchar2.h: Likewise.
36244 * wcsmbs/uchar.h: Likewise.
36245 * wcsmbs/wchar.h: Likewise.
36246 * wctype/wctype.h: Likewise.
36249 * Makeconfig: Remove all but ELF support including AIX support.
36250 * Makerules: Likewise.
36251 * config.h.in: Likewise.
36252 * config.make.in: Likewise.
36253 * configure: Likewise.
36254 * configure.in: Likewise.
36255 * csu/Makefile: Likewise.
36256 * csu/version.c: Likewise.
36257 * debug/Makefile: Likewise.
36258 * dlfcn/Makefile: Likewise.
36259 * elf/Makefile: Likewise.
36260 * extra-lib.mk: Likewise.
36261 * iconv/Makefile: Likewise.
36262 * include/libc-symbols.h: Likewise.
36263 * include/shlib-compat.h: Likewise.
36264 * resolv/Makefile: Likewise.
36265 * resolv/res_libc.c: Likewise.
36266 * rt/Makefile: Likewise.
36267 * sysdeps/i386/asm-syntax.h: Likewise.
36268 * sysdeps/i386/sysdep.h: Likewise.
36269 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36270 * sysdeps/mach/sysdep.h: Likewise.
36271 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36272 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36273 * sysdeps/s390/asm-syntax.h: Likewise.
36274 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36276 * sysdeps/sh/sysdep.h: Likewise.
36277 * sysdeps/unix/sparc/sysdep.h: Likewise.
36278 * sysdeps/wordsize-32/divdi3.c: Likewise.
36279 * sysdeps/x86_64/sysdep.h: Likewise.
36281 * argp/Versions: Remove _argp_unlock_xxx.
36284 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36285 * abilist/libBrokenLocale.abilist: Likewise.
36286 * abilist/libanl.abilist: Likewise.
36287 * abilist/libc.abilist: Likewise.
36288 * abilist/libcrypt.abilist: Likewise.
36289 * abilist/libdl.abilist: Likewise.
36290 * abilist/libm.abilist: Likewise.
36291 * abilist/libnsl.abilist: Likewise.
36292 * abilist/libpthread.abilist: Likewise.
36293 * abilist/libresolv.abilist: Likewise.
36294 * abilist/librt.abilist: Likewise.
36295 * abilist/libthread_db.abilist: Likewise.
36296 * abilist/libutil.abilist: Likewise.
36297 * abilist/libnss_db.abilist: New file.
36299 * scripts/abilist.awk: Add support for indirect functions.
36301 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36303 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36305 * shlib-versions: Remove entries for ports architectures.
36307 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36309 * elf/stackguard-macros.h: Remove support for IA-64.
36310 * elf/tst-auditmod1.c: Likewise.
36311 * sysdeps/generic/ldsodefs.h: Likewise.
36313 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36314 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36318 * configure.in: Remove --enable-omitfp support.
36320 * config.make.in: Likewise.
36321 * Makeconfig: Likewise.
36322 * manual/install.texi: Likewise.
36324 In case anyone cares, the IA-64 architecture could move to ports.
36325 * sysdeps/ia64/*: Removed.
36326 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36327 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36330 * configure.in: Remove entries for unsupported architectures.
36333 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36334 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36336 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36337 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36338 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36339 fall back to using wcrtomb.
36340 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36341 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36343 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36344 * wcsmbs/tst-c16c32-1.c: New file.
36346 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36349 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36351 * elf/tst-unique3.cc: Add explicit declaration of gets.
36352 * elf/tst-unique3lib.cc: Likewise.
36353 * elf/tst-unique3lib2.cc: Likewise.
36354 * elf/tst-unique4.cc: Likewise.
36356 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36358 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36361 * assert/assert.h (static_assert): Don't define for C++.
36362 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36363 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36365 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36367 * iconv/loop.c (single loop): Fix assertion in storing of
36370 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36372 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36374 * posix/getconf.c: Update copyright year.
36375 * nss/getent.c: Likewise.
36376 * nss/makedb.c: Likewise.
36377 * iconv/iconvconfig.c: Likewise.
36378 * iconv/iconv_prog.c: Likewise.
36379 * elf/ldconfig.c: Likewise.
36380 * elf/pldd.c: Likewise.
36381 * elf/sotruss.ksh: Likewise.
36382 * catgets/gencat.c: Likewise.
36383 * csu/version.c: Likewise.
36384 * elf/ldd.bash.in: Likewise.
36385 * elf/sprof.c (print_version): Likewise.
36386 * locale/programs/locale.c: Likewise.
36387 * locale/programs/localedef.c: Likewise.
36388 * login/programs/pt_chown.c: Likewise.
36389 * nscd/nscd.c (print_version): Likewise.
36390 * debug/xtrace.sh: Likewise.
36391 * malloc/memusage.sh: Likewise.
36392 * malloc/mtrace.pl: Likewise.
36393 * debug/catchsegv.sh: Likewise.
36395 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36397 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36400 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36403 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36404 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36406 * iconv/gconv_int.h: Likewise.
36407 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36408 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36409 from libc for GLIBC_2.16.
36410 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36411 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36412 * wcsmbs/uchar.h: Really define mbstate_t.
36413 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36414 * wcsmbs/c16rtomb.c: New file.
36415 * wcsmbs/mbrtoc16.c: New file.
36416 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36417 for C/POSIX locale.
36418 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36419 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36421 * wcsmbs/wchar.h: Add missing __restrict.
36423 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36426 * time/Makefile (routines): Add timespec_get.
36427 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36428 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36429 timespec for ISO C11.
36430 * time/timespec_get.c: New file.
36431 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36432 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36435 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36436 * stdlib/stdlib.h: Declare aligned_alloc.
36437 * Versions.def: Add GLIBC_2.16 for libc.
36438 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36441 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36444 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36448 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36451 * assert/assert.h (static_assert): Define.
36453 * version.h: Update for 2.16 development version.
36456 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36459 * version.h (RELEASE): Bump for 2.15 release.
36460 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36462 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36463 Patch by Marek Polacek <mpolacek@redhat.com>.
36465 * bits/byteswap.h: Protect long long constants with __extension__.
36466 * sysdeps/i386/bits/byteswap.h: Likewise.
36467 * sysdeps/ia64/bits/byteswap.h: Likewise.
36468 * sysdeps/s390/bits/byteswap.h: Likewise.
36469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36471 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36474 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36475 destination buffer.
36476 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36478 2011-12-23 Marek Polacek <polacek@redhat.com>
36480 * elf/dl-addr.c (determine_info): Add inline keyword.
36481 * elf/tst-auditmod4b.c (check_avx): Likewise.
36482 * elf/tst-auditmod6b.c (check_avx): Likewise.
36483 * elf/tst-auditmod6c.c (check_avx): Likewise.
36484 * elf/tst-auditmod7b.c (check_avx): Likewise.
36486 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36488 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36491 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36494 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36495 processing for last bytes.
36497 2011-08-06 Bruno Haible <bruno@clisp.org>
36500 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36501 U+0385, not to U+1FEE.
36504 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36505 entry for U+00A5 U+0301.
36507 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36510 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36511 buffer for the output is too small.
36513 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36517 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36518 SSE flags if possible.
36520 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36524 processing for last bytes.
36526 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36528 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36529 (syscall-list-default-options, syscall-list-default-condition)
36530 (syscall-list-includes): Define.
36531 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36532 list of ABIs and options and #if conditions for each ABI. Do not
36533 handle common syscalls between ABIs specially.
36534 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36536 (syscall-list-variants, syscall-list-32bit-options)
36537 (syscall-list-32bit-condition, syscall-list-64bit-options)
36538 (syscall-list-64bit-condition): Define.
36539 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36540 (syscall-list-variants, syscall-list-32bit-options)
36541 (syscall-list-32bit-condition, syscall-list-64bit-options)
36542 (syscall-list-64bit-condition): Define.
36543 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36545 (syscall-list-variants, syscall-list-32bit-options)
36546 (syscall-list-32bit-condition, syscall-list-64bit-options)
36547 (syscall-list-64bit-condition): Define.
36548 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36550 (syscall-list-variants, syscall-list-32bit-options)
36551 (syscall-list-32bit-condition, syscall-list-64bit-options)
36552 (syscall-list-64bit-condition): Define.
36554 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36556 * locale/iso-639.def: Add brx entry.
36559 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36560 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36562 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36563 __feraiseexcept_renamed.
36565 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36568 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36569 EPOLLET with unsigned values.
36570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36571 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36573 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36574 to large cancellation.
36575 * math/s_cacoshf.c: Likewise.
36576 * math/s_cacoshl.c: Likewise.
36578 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36582 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36583 * math/s_cacoshf.c: Likewise.
36584 * math/s_cacoshl.c: Likewise.
36586 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36589 * iconv/gconv.h: Define __GCONV_SWAP.
36590 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36591 * iconvdata/utf-16.c: Likewise.
36592 * iconvdata/utf-32.c: Likewise.
36594 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36598 numerator after shifting it by one limb.
36600 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36602 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36603 under [__USE_EXTERN_INLINES].
36605 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36608 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36610 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36612 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36613 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36615 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36616 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36617 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36618 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36619 for strncasecmp/strncasecmp_l compilation.
36620 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36621 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36623 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36626 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36629 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36632 * time/tzfile.c (__tzfile_read): Check values from file header.
36634 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36636 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36637 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36638 * powerpc/powerpc32/dl-start.S: Likewise.
36639 * powerpc/powerpc32/elf/start.S: Likewise.
36640 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36641 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36642 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36643 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36644 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36645 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36646 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36647 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36648 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36649 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36650 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36651 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36652 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36653 * powerpc/powerpc32/memset.S: Likewise.
36654 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36655 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36656 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36657 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36658 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36659 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36660 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36661 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36662 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36663 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36664 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36665 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36666 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36668 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36670 * math/libm-test.inc: Added more nearbyint tests.
36671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36676 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36678 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36681 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36683 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36684 Add wcscpy-ssse3 wcscpy-c.
36685 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36686 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36687 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36688 * sysdeps/x86_64/wcschr.S: New file.
36689 * sysdeps/x86_64/wcsrchr.S: New file.
36690 * string/test-strcmp.c: Remove checking of wcscmp function for
36692 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36693 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36694 wcsrchr-sse2 wcsrchr-c.
36695 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36696 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36697 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36698 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36699 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36700 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36701 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36702 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36703 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36704 * wcsmbc/wcschr.c (WCSCHR): New macro.
36706 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36708 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36709 * wcsmbs/test-wcsrchr.c: New file.
36710 * string/test-strrchr.c: Add wcsrchr support.
36712 * wcsmbs/test-wcscpy.c: New file.
36713 * string/test-strcpy.c: Add wcscpy support.
36716 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36718 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36721 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36724 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36726 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36728 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36729 Minor optimizations.
36731 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36732 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36733 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36735 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36737 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36738 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36739 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36740 for gcc to avoid warnings.
36741 * inet/Makefile (tests): Add tst-checks.
36742 * inet/tst-checks.c: New file.
36744 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36747 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36750 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36751 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36753 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36755 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36757 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36760 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36762 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36764 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36765 conditional on GCC version.
36766 (__arch_compare_and_exchange_val_8_acq)
36767 (__arch_compare_and_exchange_val_16_acq)
36768 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36769 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36770 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36772 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36774 * sysdeps/sh/backtrace.c: New file.
36776 2011-12-02 Andreas Schwab <schwab@redhat.com>
36778 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36781 2011-12-01 Andreas Schwab <schwab@redhat.com>
36783 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36784 falling back to utime.
36786 2011-11-30 Andreas Schwab <schwab@redhat.com>
36788 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36789 expectations for float.
36791 2011-11-29 Andreas Schwab <schwab@redhat.com>
36793 * locale/weight.h (findidx): Add parameter len.
36794 * locale/weightwc.h (findidx): Likewise.
36795 * posix/fnmatch_loop.c (FCT): Adjust caller.
36796 * posix/regcomp.c (build_equiv_class): Likewise.
36797 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36798 * posix/regexec.c (check_node_accept_bytes): Likewise.
36799 * string/strcoll_l.c (STRCOLL): Likewise.
36800 * string/strxfrm_l.c (STRXFRM): Likewise.
36802 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36804 * Makefile.in: Remove CVSOPT handling.
36805 * configure.in: Remove use of AC_REVISION.
36806 * iconvdata/Makefile (distribute): No need to filter out CVS.
36807 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36810 2011-11-16 Andreas Schwab <schwab@redhat.com>
36812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36813 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36814 [USE_AS_STRNCASECMP_L]: Likewise.
36815 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36816 NO_TLS_DIRECT_SEG_REFS.
36817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36818 Fix argument offsets for non-PIC.
36819 [USE_AS_STRNCASECMP_L]: Likewise.
36820 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36821 NO_TLS_DIRECT_SEG_REFS.
36823 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36825 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36827 * locale/loadlocale.c (_nl_load_locale): Likewise.
36829 2011-11-15 Andreas Schwab <schwab@redhat.com>
36831 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36832 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36833 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36834 (SYSCALL_GETTIME): Set errno on error.
36836 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36837 count references to noai6ai_cached.
36839 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36841 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36843 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36844 FD_CLOEXEC for /proc/self/maps.
36846 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36847 FD_CLOEXEC for /proc/meminfo.
36849 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36852 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36853 FD_CLOEXEC for given file.
36855 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36857 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36858 FD_CLOEXEC for /etc/hosts.
36859 (_gethtent): Likewise.
36861 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36863 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36864 cancellation and set FD_CLOEXEC for /etc/netgroup.
36866 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36867 reading /etc/publickey.
36869 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36870 allow cancellation when reading /etc/group.
36872 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36874 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36876 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36877 when using data file.
36879 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36881 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36882 (write_nis_obj): Use "c" and "e" in fopen.
36884 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36886 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36888 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36890 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36892 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36895 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36897 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36899 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36901 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36902 file parsing and set FD_CLOEXEC.
36904 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36906 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36908 2011-11-14 Andreas Schwab <schwab@redhat.com>
36910 * malloc/arena.c (arena_get2): Don't call reused_arena when
36911 _int_new_arena failed.
36913 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36916 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36917 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36919 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36921 to compile strcasecmp and strncasecmp.
36922 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36923 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36927 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36929 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36930 locale-defines.sym to gen-as-const-headers.
36931 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36932 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36934 to compile strcasecmp and strncasecmp.
36935 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36936 strcasecmp_l and strncasecmp_l.
36937 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36938 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36939 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36940 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36941 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36942 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36943 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36944 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36945 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36946 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36947 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36949 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36951 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36952 result of SYSDEP_GETTIME_CPU to retval.
36953 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36954 parameter list to macro. Remove trailing semicolon. Adjust users.
36956 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36959 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36961 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36963 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36964 from unused variable.
36966 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36968 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36971 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36974 * sunrpc/rpc_prot.c (rejected): Fix case value.
36976 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36977 unsigned long long int to avoid warnings in shift.
36979 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36981 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36984 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36985 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36986 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36988 * nis/nis_table.c (nis_list): Use variable of correct type for
36989 result of __follow_path call.
36991 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36993 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36994 of math functions ceil, trunc, floor, round, and sqrt, when
36995 avaliable on the platform.
36996 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36998 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36999 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37000 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37002 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37004 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37005 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37007 2011-11-11 Roland McGrath <roland@hack.frob.com>
37009 * include/unistd.h: Fix __readlink return type.
37010 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37012 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37014 * stdlib/ucontext.h: Undo last change for makecontext.
37016 2011-11-11 Andreas Schwab <schwab@redhat.com>
37018 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37020 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37021 * setjmp/setjmp.h: Mark functions as non-leaf.
37022 * setjmp/bits/setjmp2.h: Likewise.
37023 * stdlib/ucontext.h: Likewise.
37025 2011-11-10 Andreas Schwab <schwab@redhat.com>
37027 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37028 (reused_arena): Don't check arena limit.
37029 (arena_get2): Atomically check arena limit.
37031 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37033 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37034 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37039 2011-11-07 Andreas Schwab <schwab@redhat.com>
37041 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37042 handler when locking.
37044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37045 Fix size of allocated buffer.
37047 2011-11-04 Andreas Schwab <schwab@redhat.com>
37050 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37051 declarations for long double functions.
37052 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37054 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37056 2011-11-03 Andreas Schwab <schwab@redhat.com>
37058 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37061 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37064 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37066 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37068 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37070 * include/alloca.h (stackinfo_alloca_round): Define.
37071 (extend_alloca): Use it.
37072 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37073 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37076 * scripts/check-local-headers.sh: Ignore libaudit.h.
37078 * nscd/Makefile (extra-objs): Make recursively expanded.
37080 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37082 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37083 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37085 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37086 * posix/tst-rfc3484-2.c: Likewise.
37087 * posix/tst-rfc3484-3.c: Likewise.
37089 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37091 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37093 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37094 process_vm_writev from libc using GLIBC_2.15 version.
37096 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37098 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37100 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37103 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37106 * nss/getent.c (initgroups_keys): Show error message in case no group
37109 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37110 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37111 __bump_nl_timestamp.
37112 * nscd/connections (nscd_init): When host database is served open
37113 netlink socket and request notification about configuration changes.
37114 (main_loop_poll): Track netlink file descriptor and bump timestamp
37115 in case data becomes available.
37116 (main_loop_epoll): Likewise.
37117 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37118 (database_pers_head): Add extra_data fileds.
37119 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37120 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37121 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37124 in6ai data, call __free_in6ai.
37125 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37126 Add -DHAVE_NETLINK.
37127 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37128 interface information. Reuse previous data if netlink timestamp
37130 (__bump_nl_timestamp): New function.
37131 (__free_in6ai): New function.
37133 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37136 close_not_cancel_no_status here.
37137 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37139 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37142 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37145 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37146 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37147 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37149 2011-07-03 Andreas Jaeger <aj@suse.de>
37152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37153 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37154 * math/libm-test.inc (sin_test): Add test case.
37156 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37159 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37160 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37162 * elf/chroot_canon.c (chroot_canon): Cleanups.
37164 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37167 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37168 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37170 * string/test-strchr.c: Make usable for strchrnul testing.
37171 * string/test-strchrnul.c: New file.
37172 * string/Makefile (strop-tests): Add strchrnul.
37174 * po/it.po: Update from translation team.
37175 * po/es.po: Likewise.
37177 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37179 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37180 the three constants needed as parameters. Drop the others.
37181 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37182 __m128i_strloadu_tolower.
37183 Create and initialize variable zero and use it in all the places
37184 where _mm_setzero_si128 was used.
37186 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37187 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37188 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37189 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37191 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37192 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37193 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37194 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37195 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37196 __mpranred, __mptan.
37197 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37198 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37199 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37200 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37201 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37202 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37203 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37204 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37205 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37207 2011-10-28 Andreas Schwab <schwab@redhat.com>
37209 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37210 redefine if SHARED.
37211 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37214 wide char related routines to wcsmbs subdir.
37216 2011-10-27 Andreas Schwab <schwab@redhat.com>
37219 * misc/sys/cdefs.h (__THROWNL): Define.
37220 * posix/unistd.h: Use __THREADNL instead of __THREAD
37221 for memory synchronization functions.
37223 2011-10-26 Roland McGrath <roland@hack.frob.com>
37226 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37228 * manual/stdio.texi (Obstack Streams): Node removed.
37230 2011-10-26 Andreas Schwab <schwab@redhat.com>
37232 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37233 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37236 * math/math_private.h (math_force_eval): Allow non-addressable
37238 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37240 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37242 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37243 file is not needed.
37245 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37248 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37249 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37250 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37251 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37252 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37254 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37255 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37256 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37257 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37258 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37259 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37260 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37261 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37262 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37263 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37264 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37265 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37267 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37270 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37271 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37272 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37274 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37275 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37277 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37278 place. Use VEX encoding when compiling for AVX.
37280 2011-10-25 Andreas Schwab <schwab@redhat.com>
37282 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37283 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37285 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37287 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37289 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37290 useless if() expression.
37291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37292 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37293 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37295 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37296 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37297 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37298 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37300 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37301 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37302 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37303 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37305 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37306 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37307 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37309 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37311 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37313 2011-10-25 Andreas Schwab <schwab@redhat.com>
37315 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37317 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37319 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37321 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37322 .text section. Avoid duplicate constants.
37323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37331 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37333 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37334 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37335 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37336 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37337 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37339 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37340 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37346 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37347 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37348 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37349 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37350 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37351 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37352 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37353 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37354 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37356 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37357 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37360 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37361 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37364 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37365 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37366 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37367 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37369 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37371 * sysdeps/x86_64/dla.h: Move to ...
37372 * sysdeps/x86_64/fpu/dla.h: ...here.
37373 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37374 situations. Use __builtin_fma only for gcc 4.6 and up.
37376 * config.make.in: Add have-mfma4 entry.
37377 * configure.in: Substitute libc_cv_cc_fma4.
37378 * math/Makefile (dbl-only-routines): Add sincostab.
37379 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37380 Use __sincostab not sincos.
37381 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37383 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37388 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37389 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37390 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37391 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37393 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37394 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37396 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37397 define aliases when function name is a macro.
37398 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37399 sysdeps/ieee754/dbl-64/sincos.tbl.
37400 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37401 fma4-enabled routines.
37402 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37403 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37404 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37405 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37406 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37407 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37409 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37410 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37411 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37412 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37413 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37414 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37415 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37416 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37417 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37418 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37419 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37420 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37422 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37423 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37425 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37429 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37430 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37431 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37433 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37444 2011-10-24 Andreas Schwab <schwab@redhat.com>
37446 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37448 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37452 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37454 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37456 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37457 Remove unused variable magic_bits.
37458 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37460 * string/strnlen.c: Define and use STRNLEN macro.
37461 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37462 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37464 * wcsmbs/wcslen.c: Define and use WCSLEN.
37465 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37466 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37467 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37468 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37469 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37470 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37471 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37473 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37476 strnlen-sse2-no-bsf.
37477 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37479 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37480 Add strnlen support.
37481 (USE_AS_STRNLEN): New macro.
37482 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37483 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37484 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37485 * sysdeps/x86_64/wcslen.S: New file.
37487 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37490 XMM-moves are used for copying on small sizes.
37492 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37494 * wcsmbs/Makefile (strop-tests): Add wcschr.
37495 * wcsmbs/test-wcschr.c: New file.
37496 * string/test-strchr.c: Update.
37497 Add wcschr support.
37500 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37502 * wcsmbs/Makefile (strop-tests): Add wcslen.
37503 * wcsmbs/test-wcslen.c: New file.
37504 * string/test-strlen.c: Update.
37505 Add wcslen support.
37508 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37510 * po/it.po: Update from translation team.
37512 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37514 * sysdeps/x86_64/wcscmp.S: Update.
37515 Fix wrong comparison semantics.
37516 wcscmp shall use signed comparison not unsigned.
37517 Don't use substraction to avoid overflow bug.
37518 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37519 * wcsmbc/wcscmp.c: Likewise.
37520 * string/test-strcmp.c: Likewise.
37521 Add new tests to check cases with negative values.
37523 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37525 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37526 * sysdeps/x86_64/dla.h: ...here. New file.
37527 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37537 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37540 __ynl_finite aliases.
37542 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37546 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37548 [DLA_FMA] (EMULV): Use DLA_FMA.
37549 [DLA_FMA] (MUL12): Use EMULV.
37550 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37551 that are not needed.
37552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37560 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37562 * math/s_nan.c: Undef __nan.
37563 * math/s_nanf.c: Undef __nanf.
37564 * math/s_nanl.c: Undef __nanl.
37565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37568 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37570 * math/s_catan.c: Add branch predictions.
37571 * math/s_catanf.c: Likewise.
37572 * math/s_catanh.c: Likewise.
37573 * math/s_catanhf.c: Likewise.
37574 * math/s_catanhl.c: Likewise.
37575 * math/s_catanl.c: Likewise.
37576 * math/s_cexp.c: Likewise.
37577 * math/s_cexpf.c: Likewise.
37578 * math/s_cexpl.c: Likewise.
37579 * math/s_clog.c: Likewise.
37580 * math/s_clog10.c: Likewise.
37581 * math/s_clog10f.c: Likewise.
37582 * math/s_clog10l.c: Likewise.
37583 * math/s_clogf.c: Likewise.
37584 * math/s_clogl.c: Likewise.
37585 * math/s_csqrt.c: Likewise.
37586 * math/s_csqrtf.c: Likewise.
37587 * math/s_csqrtl.c: Likewise.
37588 * math/s_ctanf.c: Likewise.
37589 * math/s_ctanh.c: Likewise.
37590 * math/s_ctanhf.c: Likewise.
37591 * math/s_ctanhl.c: Likewise.
37592 * math/s_ctanl.c: Likewise.
37594 * math/math_private.h: Define __nan, __nanf, __nanl.
37595 * math/s_cacosh.c: Include <math_private.h>.
37596 * math/s_cacoshl.c: Likewise.
37597 * math/s_casinh.c: Likewise.
37598 * math/s_casinhf.c: Likewise.
37599 * math/s_casinhl.c: Likewise.
37600 * math/s_ccos.c: Rely entire on ccosh.
37601 * math/s_ccosf.c: Rely entire on ccoshf.
37602 * math/s_ccosl.c: Rely entirely on ccoshl.
37603 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37604 Remove tests for FE_INVALID.
37605 * math/s_ccoshf.c: Likewise.
37606 * math/s_ccoshl.c: Likewise.
37607 * math/s_csin.c: Likewise.
37608 * math/s_csinf.c: Likewise.
37609 * math/s_csinh.c Likewise.
37610 * math/s_csinhf.c: Likewise.
37611 * math/s_csinhl.c: Likewise.
37612 * math/s_csinl.c: Likewise.
37613 * math/s_ctan.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37615 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37618 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37621 compilation problems.
37623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37626 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37628 * sysdeps/i386/configure.in: Test for -mfma4 option.
37629 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37630 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37631 COMMON_CPUID_INDEX_80000001.
37632 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37633 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37634 use it if FMA3 is not supported.
37635 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37637 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37638 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37640 2011-10-20 Andreas Schwab <schwab@redhat.com>
37643 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37644 it would create a cycle with a link time dependency.
37646 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37648 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37650 * string/Makefile (strop-tests): Add rawmemchr.
37651 * string/test-rawmemchr.c: New file.
37653 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37655 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37656 when compiling str{,n}casecmp and when AVX is available. Hook up
37657 new optimized code in initializers.
37659 2011-10-19 Andreas Schwab <schwab@redhat.com>
37661 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37662 __feraiseexcept instead of feraiseexcept.
37664 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37666 * math/math_private.h: Define defaults for libc_fetestexcept and
37668 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37669 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37670 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37671 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37672 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37673 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37674 libc_fetestexcept and libc_feupdateenv.
37676 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37677 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37678 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37679 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37680 libc_feholdexcept_setround.
37682 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37683 Add s_nearbyint-c and s_nearbyintf-c.
37684 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37685 nearbyintf inlines.
37686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37688 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37689 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37691 * math/math_private.h: Define defaults for libc_fegetround,
37692 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37693 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37694 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37695 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37696 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37697 standard functions.
37698 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37699 Remove comments and hacks for old compiler versions.
37700 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37701 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37702 libc_feholdexceptl.
37704 2011-10-18 Andreas Schwab <schwab@redhat.com>
37706 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37707 (__feraiseexcept_renamed): Add __NTH.
37708 (feraiseexcept): Add __NTH. Rename local variables to fix
37709 namespace violations.
37711 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37713 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37715 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37717 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37718 recently added interfaces.
37719 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37721 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37722 about macro parameter expansion.
37724 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37725 __NO_MATH_INLINES is defined. Cleanups.
37727 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37728 and __floorf is target has SSE4.1.
37729 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37730 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37731 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37732 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37734 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37736 (floorf): Likewise.
37738 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37740 2011-10-17 Andreas Schwab <schwab@redhat.com>
37742 * misc/sys/cdefs.h: Fix last change.
37744 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37747 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37749 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37751 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37758 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37759 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37760 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37761 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37762 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37763 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37764 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37765 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37766 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37767 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37768 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37769 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37770 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37771 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37772 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37774 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37775 ceil, ceilf, floor, floorf.
37777 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37778 Perform IRELATIVE relocations last.
37780 * elf/do-rel.h: Add another parameter nrelative, replacing the
37781 local variable with the same name. Change name of the function
37782 to end in Rel or Rela (uppercase).
37783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37784 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37785 elf_dynamic_do_##reloc function.
37787 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37789 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37790 is sufficient, at least on modern CPUs.
37792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37794 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37795 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37797 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37799 * math/bits/math-finite.h: Add entries for exp.
37800 * math/e_expl.c: Add __*_finite alias.
37801 * sysdeps/i386/fpu/e_exp.S: Likewise.
37802 * sysdeps/i386/fpu/e_expf.S: Likewise.
37803 * sysdeps/i386/fpu/e_expl.c: Likewise.
37804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37805 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37808 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37809 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37810 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37812 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37813 is sufficient, at least on modern CPUs.
37815 * ctype/ctype-info.c (__ctype_init): Define.
37816 * include/ctype.h (__ctype_init): Declare.
37817 (__ctype_b_loc): The variable is always initialized.
37818 (__ctype_toupper_loc): Likewise.
37819 (__ctype_tolower_loc): Likewise.
37820 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37821 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37823 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37825 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37827 * configure.in: Also look in $cxxmachine/include for C++ system
37830 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37832 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37833 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37834 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37835 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37836 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37837 (USE_AS_WMEMCMP): New macro.
37839 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37840 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37841 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37842 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37844 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37845 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37846 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37847 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37848 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37849 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37850 (USE_AS_WMEMCMP): New macro.
37851 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37852 * sysdeps/string/test-memcmp.c: Update.
37853 Fix simple_wmemcmp.
37855 * wcsmbs/wmemcmp.c: Update.
37856 (WMEMCMP): New macro.
37859 2011-10-12 Andreas Jaeger <aj@suse.de>
37862 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37864 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37866 * libio/iofwide.c (do_length): Avoid warning.
37868 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37870 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37872 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37874 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37875 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37876 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37877 * sysdeps/i386/i686/fpu/e_log.S: New file.
37878 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37879 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37881 * ctype/ctype.h: Add support for inlined isXXX functions when
37882 compiling C++ code.
37884 2011-10-14 Andreas Schwab <schwab@redhat.com>
37886 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37888 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37890 2011-10-13 Roland McGrath <roland@hack.frob.com>
37893 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37895 2011-10-13 Andreas Schwab <schwab@redhat.com>
37897 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37898 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37901 * sysdeps/x86_64/memrchr.S: Check for zero size.
37903 * string/stratcliff.c: Add memrchr tests.
37905 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37908 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37909 rawmemchr-sse2 rawmemchr-sse2-bsf.
37910 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37911 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37912 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37913 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37914 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37915 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37916 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37917 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37918 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37919 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37920 * string/memrchr.c (MEMRCHR): New macro.
37922 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37924 Add integration with gcc's -ffinite-math-only and optimize wrapper
37926 * Versions.def: Define GLIBC_2.15 version for libm.
37927 * math/Makefile (headers): Add bits/math-finite.h.
37928 * math/bits/math-finite.h: New file.
37929 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37930 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37931 * math/e_acoshl.c: Add __*_finite alias.
37932 * math/e_acosl.c: Likewise.
37933 * math/e_asinl.c: Likewise.
37934 * math/e_atan2l.c: Likewise.
37935 * math/e_atanhl.c: Likewise.
37936 * math/e_coshl.c: Likewise.
37937 * math/e_exp10.c: Likewise.
37938 * math/e_exp10f.c: Likewise.
37939 * math/e_exp10l.c: Likewise.
37940 * math/e_exp2l.c: Likewise.
37941 * math/e_fmodl.c: Likewise.
37942 * math/e_gammal_r.c: Likewise.
37943 * math/e_hypotl.c: Likewise.
37944 * math/e_j0l.c: Likewise.
37945 * math/e_j1l.c: Likewise.
37946 * math/e_jnl.c: Likewise.
37947 * math/e_lgammal_r.c: Likewise.
37948 * math/e_log10l.c: Likewise.
37949 * math/e_log2l.c: Likewise.
37950 * math/e_logl.c: Likewise.
37951 * math/e_powl.c: Likewise.
37952 * math/e_sinhl.c: Likewise.
37953 * math/e_sqrtl.c: Likewise.
37954 * math/e_scalb.c: Completely rewritten and optimized.
37955 * math/e_scalbf.c: Likewise.
37956 * math/e_scalbl.c: Likewise.
37957 * math/w_acos.c: Likewise.
37958 * math/w_acosf.c: Likewise.
37959 * math/w_acosl.c: Likewise.
37960 * math/w_acosh.c: Likewise.
37961 * math/w_acoshf.c: Likewise.
37962 * math/w_acoshl.c: Likewise.
37963 * math/w_asin.c: Likewise.
37964 * math/w_asinf.c: Likewise.
37965 * math/w_asinl.c: Likewise.
37966 * math/w_atan2.c: Likewise.
37967 * math/w_atan2f.c: Likewise.
37968 * math/w_atan2l.c: Likewise.
37969 * math/w_atanh.c: Likewise.
37970 * math/w_atanhf.c: Likewise.
37971 * math/w_atanhl.c: Likewise.
37972 * math/w_exp10.c: Likewise.
37973 * math/w_exp10f.c: Likewise.
37974 * math/w_exp10l.c: Likewise.
37975 * math/w_fmod.c: Likewise.
37976 * math/w_fmodf.c: Likewise.
37977 * math/w_fmodl.c: Likewise.
37978 * math/w_j0.c: Likewise.
37979 * math/w_j0f.c: Likewise.
37980 * math/w_j0l.c: Likewise.
37981 * math/w_j1.c: Likewise.
37982 * math/w_j1f.c: Likewise.
37983 * math/w_j1l.c: Likewise.
37984 * math/w_jn.c: Likewise.
37985 * math/w_jnf.c: Likewise.
37986 * math/w_log.c: Likewise.
37987 * math/w_logf.c: Likewise.
37988 * math/w_logl.c: Likewise.
37989 * math/w_log10.c: Likewise.
37990 * math/w_log10f.c: Likewise.
37991 * math/w_log10l.c: Likewise.
37992 * math/w_log2.c: Likewise.
37993 * math/w_log2f.c: Likewise.
37994 * math/w_log2l.c: Likewise.
37995 * math/w_pow.c: Likewise.
37996 * math/w_powf.c: Likewise.
37997 * math/w_powl.c: Likewise.
37998 * math/w_remainder.c: Likewise.
37999 * math/w_remainderf.c: Likewise.
38000 * math/w_remainderl.c: Likewise.
38001 * math/w_scalb.c: Likewise.
38002 * math/w_scalbf.c: Likewise.
38003 * math/w_scalbl.c: Likewise.
38004 * math/w_sqrt.c: Likewise.
38005 * math/w_sqrtf.c: Likewise.
38006 * math/w_sqrtl.c: Likewise.
38007 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38008 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38010 * math/math_private.h: Declare __kernel_standard_f.
38011 * math/w_cosh.c: Remove cruft and optimize a bit.
38012 * math/w_coshf.c: Likewise.
38013 * math/w_coshl.c: Likewise.
38014 * math/w_exp2.c: Likewise.
38015 * math/w_exp2f.c: Likewise.
38016 * math/w_exp2l.c: Likewise.
38017 * math/w_hypot.c: Likewise.
38018 * math/w_hypotf.c: Likewise.
38019 * math/w_hypotl.c: Likewise.
38020 * math/w_lgamma.c: Likewise.
38021 * math/w_lgamma_r.c: Likewise.
38022 * math/w_lgammaf.c: Likewise.
38023 * math/w_lgammaf_r.c: Likewise.
38024 * math/w_lgammal.c: Likewise.
38025 * math/w_lgammal_r.c: Likewise.
38026 * math/w_sinh.c: Likewise.
38027 * math/w_sinhf.c: Likewise.
38028 * math/w_sinhl.c: Likewise.
38029 * math/w_tgamma.c: Likewise.
38030 * math/w_tgammaf.c: Likewise.
38031 * math/w_tgammal.c: Likewise.
38032 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38033 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38034 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38035 Minor optimizations. Pretty printing. Remove cruft.
38036 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38037 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38038 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38039 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38040 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38041 * sysdeps/i386/fpu/e_asin.S: Likewise.
38042 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38043 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38044 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38045 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38046 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38047 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38048 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38049 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38050 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38051 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38052 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38053 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38054 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38055 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38056 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38057 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38058 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38059 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38060 * sysdeps/i386/fpu/e_log.S: Likewise.
38061 * sysdeps/i386/fpu/e_log10.S: Likewise.
38062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38063 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38064 * sysdeps/i386/fpu/e_log2.S: Likewise.
38065 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38066 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38067 * sysdeps/i386/fpu/e_logf.S: Likewise.
38068 * sysdeps/i386/fpu/e_logl.S: Likewise.
38069 * sysdeps/i386/fpu/e_pow.S: Likewise.
38070 * sysdeps/i386/fpu/e_powf.S: Likewise.
38071 * sysdeps/i386/fpu/e_powl.S: Likewise.
38072 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38073 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38074 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38075 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38077 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38078 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38079 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38080 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38091 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38092 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38094 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38095 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38098 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38099 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38101 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38102 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38103 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38104 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38105 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38106 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38108 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38109 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38110 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38112 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38115 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38116 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38117 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38118 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38119 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38120 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38121 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38122 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38137 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38138 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38142 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38146 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38152 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38153 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38161 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38166 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38169 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38172 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38173 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38174 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38175 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38176 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38177 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38178 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38179 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38180 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38181 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38182 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38183 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38184 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38185 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38186 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38187 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38189 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38190 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38191 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38192 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38193 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38194 (__isnanf): Likewise.
38195 (__isinf_ns): Likewise.
38196 (__isinf_nsf): Likewise.
38197 (__finite): Likewise.
38198 (__finitef): Likewise.
38199 (__ieee754_sqrt): Define as macro.
38200 (__ieee754_sqrtf): Define as macro.
38201 (__ieee754_sqrtl): Define as macro.
38202 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38204 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38205 __FINITE_MATH_ONLY__ consistent.
38206 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38208 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38210 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38215 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38217 * po/ja.po: Update from translation team.
38219 2011-10-08 Roland McGrath <roland@hack.frob.com>
38221 * locale/programs/locarchive.c (prepare_address_space): New function.
38222 (create_archive, enlarge_archive, open_archive): Use it.
38224 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38225 inside [SHARED], where it is used.
38227 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38229 * nss/getent.c (netgroup_keys): Remove unused variable.
38230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38232 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38234 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38235 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38238 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38239 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38240 * math/Makefile (libm-calls): Add s_isinf_ns.
38241 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38242 * math/multc3.c: Likewise.
38243 * math/s_casin.c: Likewise.
38244 * math/s_casinf.c: Likewise.
38245 * math/s_casinl.c: Likewise.
38246 * math/s_ccos.c: Likewise.
38247 * math/s_ccosf.c: Likewise.
38248 * math/s_ccosl.c: Likewise.
38249 * math/s_ctan.c: Likewise.
38250 * math/s_ctanf.c: Likewise.
38251 * math/s_ctanh.c: Likewise.
38252 * math/s_ctanhf.c: Likewise.
38253 * math/s_ctanhl.c: Likewise.
38254 * math/s_ctanl.c: Likewise.
38255 * math/w_fmod.c: Likewise.
38256 * math/w_fmodf.c: Likewise.
38257 * math/w_fmodl.c: Likewise.
38258 * math/w_remainder.c: Likewise.
38259 * math/w_remainderf.c: Likewise.
38260 * math/w_remainderl.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38262 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38263 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38265 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38266 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38267 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38268 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38270 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38272 * stdio-common/printf_fphex.c: Likewise.
38273 * stdio-common/printf_size.c: Likewise.
38275 * math/e_exp10.c: Include math_private.h using <...> not "...".
38276 * math/e_exp10f.c: Likewise.
38277 * math/e_exp10l.c: Likewise.
38278 * math/e_exp2l.c: Likewise.
38279 * math/e_j0l.c: Likewise.
38280 * math/e_j1l.c: Likewise.
38281 * math/e_jnl.c: Likewise.
38282 * math/e_lgammal_r.c: Likewise.
38283 * math/e_rem_pio2l.c: Likewise.
38284 * math/e_scalb.c: Likewise.
38285 * math/e_scalbf.c: Likewise.
38286 * math/e_scalbl.c: Likewise.
38287 * math/k_cosl.c: Likewise.
38288 * math/k_sinl.c: Likewise.
38289 * math/k_tanl.c: Likewise.
38290 * math/s_cacoshf.c: Likewise.
38291 * math/s_catan.c: Likewise.
38292 * math/s_catanf.c: Likewise.
38293 * math/s_catanh.c: Likewise.
38294 * math/s_catanhf.c: Likewise.
38295 * math/s_catanhl.c: Likewise.
38296 * math/s_catanl.c: Likewise.
38297 * math/s_ccosh.c: Likewise.
38298 * math/s_ccoshf.c: Likewise.
38299 * math/s_ccoshl.c: Likewise.
38300 * math/s_cexp.c: Likewise.
38301 * math/s_cexpf.c: Likewise.
38302 * math/s_cexpl.c: Likewise.
38303 * math/s_clog.c: Likewise.
38304 * math/s_clog10.c: Likewise.
38305 * math/s_clog10f.c: Likewise.
38306 * math/s_clog10l.c: Likewise.
38307 * math/s_clogf.c: Likewise.
38308 * math/s_clogl.c: Likewise.
38309 * math/s_csin.c: Likewise.
38310 * math/s_csinf.c: Likewise.
38311 * math/s_csinh.c: Likewise.
38312 * math/s_csinhf.c: Likewise.
38313 * math/s_csinhl.c: Likewise.
38314 * math/s_csinl.c: Likewise.
38315 * math/s_csqrt.c: Likewise.
38316 * math/s_csqrtf.c: Likewise.
38317 * math/s_csqrtl.c: Likewise.
38318 * math/s_ctan.c: Likewise.
38319 * math/s_ctanf.c: Likewise.
38320 * math/s_ctanh.c: Likewise.
38321 * math/s_ctanhf.c: Likewise.
38322 * math/s_ctanhl.c: Likewise.
38323 * math/s_ctanl.c: Likewise.
38324 * math/s_ldexp.c: Likewise.
38325 * math/s_ldexpf.c: Likewise.
38326 * math/s_ldexpl.c: Likewise.
38327 * math/s_significand.c: Likewise.
38328 * math/s_significandf.c: Likewise.
38329 * math/s_significandl.c: Likewise.
38330 * math/w_acos.c: Likewise.
38331 * math/w_acosf.c: Likewise.
38332 * math/w_acosh.c: Likewise.
38333 * math/w_acoshf.c: Likewise.
38334 * math/w_acoshl.c: Likewise.
38335 * math/w_acosl.c: Likewise.
38336 * math/w_asin.c: Likewise.
38337 * math/w_asinf.c: Likewise.
38338 * math/w_asinl.c: Likewise.
38339 * math/w_atan2.c: Likewise.
38340 * math/w_atan2f.c: Likewise.
38341 * math/w_atan2l.c: Likewise.
38342 * math/w_atanh.c: Likewise.
38343 * math/w_atanhf.c: Likewise.
38344 * math/w_atanhl.c: Likewise.
38345 * math/w_cosh.c: Likewise.
38346 * math/w_coshf.c: Likewise.
38347 * math/w_coshl.c: Likewise.
38348 * math/w_dremf.c: Likewise.
38349 * math/w_exp10.c: Likewise.
38350 * math/w_exp10f.c: Likewise.
38351 * math/w_exp10l.c: Likewise.
38352 * math/w_exp2.c: Likewise.
38353 * math/w_exp2f.c: Likewise.
38354 * math/w_fmod.c: Likewise.
38355 * math/w_fmodf.c: Likewise.
38356 * math/w_fmodl.c: Likewise.
38357 * math/w_hypot.c: Likewise.
38358 * math/w_hypotf.c: Likewise.
38359 * math/w_hypotl.c: Likewise.
38360 * math/w_j0.c: Likewise.
38361 * math/w_j0f.c: Likewise.
38362 * math/w_j0l.c: Likewise.
38363 * math/w_j1.c: Likewise.
38364 * math/w_j1f.c: Likewise.
38365 * math/w_j1l.c: Likewise.
38366 * math/w_jn.c: Likewise.
38367 * math/w_jnf.c: Likewise.
38368 * math/w_jnl.c: Likewise.
38369 * math/w_lgamma.c: Likewise.
38370 * math/w_lgamma_r.c: Likewise.
38371 * math/w_lgammaf.c: Likewise.
38372 * math/w_lgammaf_r.c: Likewise.
38373 * math/w_lgammal.c: Likewise.
38374 * math/w_lgammal_r.c: Likewise.
38375 * math/w_log.c: Likewise.
38376 * math/w_log10.c: Likewise.
38377 * math/w_log10f.c: Likewise.
38378 * math/w_log10l.c: Likewise.
38379 * math/w_log2.c: Likewise.
38380 * math/w_log2f.c: Likewise.
38381 * math/w_log2l.c: Likewise.
38382 * math/w_logf.c: Likewise.
38383 * math/w_logl.c: Likewise.
38384 * math/w_pow.c: Likewise.
38385 * math/w_powf.c: Likewise.
38386 * math/w_powl.c: Likewise.
38387 * math/w_remainder.c: Likewise.
38388 * math/w_remainderf.c: Likewise.
38389 * math/w_remainderl.c: Likewise.
38390 * math/w_scalb.c: Likewise.
38391 * math/w_scalbf.c: Likewise.
38392 * math/w_scalbl.c: Likewise.
38393 * math/w_sinh.c: Likewise.
38394 * math/w_sinhf.c: Likewise.
38395 * math/w_sinhl.c: Likewise.
38396 * math/w_sqrt.c: Likewise.
38397 * math/w_sqrtf.c: Likewise.
38398 * math/w_sqrtl.c: Likewise.
38399 * math/w_tgamma.c: Likewise.
38400 * math/w_tgammaf.c: Likewise.
38401 * math/w_tgammal.c: Likewise.
38403 * po/ja.po: Update from translation team.
38405 2011-09-29 Andreas Jaeger <aj@suse.de>
38408 * sunrpc/netname.c (netname2host): Fix logic.
38412 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38414 * math/w_remainder.c (__remainder): Likewise.
38415 * math/w_remainderf.c (__remainderf): Likewise.
38416 * math/libm-test.inc (remainder_test): Add test cases.
38418 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38420 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38423 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38425 * string/test-memcmp.c: Avoid unncessary #defines.
38426 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38428 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38430 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38431 Use new sse2 version for core i3 - i7 as it's faster
38432 than sse42 version.
38433 (bit_Prefer_PMINUB_for_stringop): New.
38434 * sysdeps/x86_64/rawmemchr.S: Update.
38435 Replace with faster SSE2 version.
38436 * sysdeps/x86_64/memrchr.S: New file.
38437 * sysdeps/x86_64/memchr.S: Update.
38438 Replace with faster SSE2 version.
38440 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38442 * elf/dl-load.c (lose): Add cast to avoid warning.
38444 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38446 * po/ca.po: Update from translation team.
38448 * inet/getnetgrent_r.c: Hook up nscd.
38449 * nscd/Makefile (routines): Add nscd_netgroup.
38450 (nscd-modules): Add netgroupcache.
38451 (CFLAGS-netgroupcache.c): Define.
38452 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38453 (cache_search): Add const to second parameter.
38454 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38456 (dbs): Add netgrdb entry.
38457 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38458 (verify_persistent_db): Handle netgrdb.
38459 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38460 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38462 (netgroup_response_header): Define.
38463 (innetgroup_response_header): Define.
38464 (datahead): Add netgroup_response_header and innetgroup_response_header
38466 * nscd/nscd.conf: Add entries for netgroup cache.
38467 * nscd/nscd.h (dbtype): Add netgrdb.
38468 (_PATH_NSCD_NETGROUP_DB): Define.
38469 (netgroup_iov_disabled): Declare.
38470 (xmalloc, xcalloc, xrealloc): Move declarations here.
38471 (cache_search): Adjust prototype.
38472 Add netgroup-related prototypes.
38473 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38474 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38475 (__nscd_innetgr): Declare.
38476 * nscd/selinux.c (perms): Use access_vector_t as element type and
38477 add netgroup-related initializers.
38478 * nscd/netgroupcache.c: New file.
38479 * nscd/nscd_netgroup.c: New file.
38480 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38481 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38482 For four parameters use innetgr.
38483 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38484 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38485 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38486 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38488 * nscd/connections.c (register_traced_file): Don't register file
38489 for disabled databases.
38491 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38493 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38495 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38496 from tree and freeing node.
38498 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38500 * nss/nsswitch.c (__nss_database_lookup): Handle
38501 nss_parse_service_list out of memory case.
38503 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38505 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38506 out of memory case.
38508 2011-10-04 Andreas Schwab <schwab@redhat.com>
38510 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38511 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38513 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38514 elf_machine_rela, elf_machine_lazy_rel.
38515 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38516 (ELF_DYNAMIC_DO_REL): Likewise.
38517 (ELF_DYNAMIC_DO_RELA): Likewise.
38518 (ELF_DYNAMIC_RELOCATE): Likewise.
38519 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38520 to ELF_DYNAMIC_DO_REL.
38521 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38522 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38523 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38525 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38526 skip_ifunc, don't call ifunc function if non-zero.
38527 (elf_machine_rela): Likewise.
38528 (elf_machine_lazy_rel): Likewise.
38529 (elf_machine_lazy_rela): Likewise.
38530 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38531 (elf_machine_lazy_rel): Likewise.
38532 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38534 (elf_machine_lazy_rel): Likewise.
38535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38537 (elf_machine_lazy_rel): Likewise.
38538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38539 (elf_machine_lazy_rel): Likewise.
38540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38541 (elf_machine_lazy_rel): Likewise.
38542 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38543 (elf_machine_lazy_rel): Likewise.
38544 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38545 (elf_machine_lazy_rel): Likewise.
38546 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38547 (elf_machine_lazy_rel): Likewise.
38548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38549 (elf_machine_lazy_rel): Likewise.
38551 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38553 * nss/nss_files/files-init.c (_nss_files_init): Use static
38554 initialization for all the *_traced_file variables.
38556 2011-09-28 Andreas Schwab <schwab@redhat.com>
38558 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38560 2011-09-27 Roland McGrath <roland@hack.frob.com>
38563 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38565 2011-09-27 Andreas Schwab <schwab@redhat.com>
38567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38568 Reread the line before reparsing it.
38570 2011-09-26 Andreas Schwab <schwab@redhat.com>
38572 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38574 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38575 Maxim Kuvyrkov <maxim@codesourcery.com>
38576 Joseph Myers <joseph@codesourcery.com>
38578 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38579 if needed for __stack_chk_guard.
38581 2011-09-19 Roland McGrath <roland@hack.frob.com>
38583 * sysdeps/posix/spawni.c (script_execute): Always define it.
38584 It will be optimized away if unused.
38585 (maybe_script_execute): New function.
38586 (__spawni): Call it.
38588 * Makerules: Don't include tls.make.
38589 (config-tls): Always set to thread.
38590 * tls.make.c: File removed.
38592 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38594 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38595 * config.make.in (CPPFLAGS-config): New substituted variable.
38597 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38602 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38603 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38605 2011-09-15 Roland McGrath <roland@hack.frob.com>
38607 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38608 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38610 (CALL_FAIL): Likewise.
38611 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38612 (CALL_FAIL): Macro removed.
38613 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38615 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38617 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38618 for __FINITE_MATH_ONLY__ == 1.
38620 2011-09-15 Andreas Schwab <schwab@redhat.com>
38622 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38623 __ieee754_sqrt instead of sqrt.
38624 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38625 __ieee754_sqrtf instead of sqrtf.
38626 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38627 __floorf instead of floorf.
38628 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38629 __floorf, __truncf instead of floorf, truncf.
38631 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38633 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38635 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38636 __extern_always_inline.
38637 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38640 2011-09-14 Andreas Schwab <schwab@redhat.com>
38642 * elf/rtld.c (dl_main): Also relocate in dependency order when
38643 doing symbol dependency testing.
38645 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38648 Always define `refsym'.
38650 2011-09-13 Andreas Schwab <schwab@redhat.com>
38652 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38653 (__FD_ELT): Renamed from __FDELT.
38654 * misc/bits/select2.h (__FD_ELT): Likewise.
38655 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38656 __FD_MASK instead of __FDELT, __FDMASK.
38657 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38659 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38662 * elf/Makefile (gen-ldd): Fix pattern.
38664 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38665 (init_tls): Likewise.
38667 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38671 2011-09-12 Andreas Schwab <schwab@redhat.com>
38673 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38674 `struct cmsghdr *' instead of `void *'.
38675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38678 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38680 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38682 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38683 ldd_rewrite_script.
38685 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38687 * configure.in: Remove --with-tls option.
38688 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38689 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38690 out in case it is missing.
38691 * sysdeps/ia64/elf/configure.in: Likewise.
38692 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38693 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38694 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38695 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38696 * sysdeps/sh/elf/configure.in: Likewise.
38697 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38698 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38699 * sysdeps/x86_64/elf/configure.in: Likewise.
38700 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38701 * sysdeps/mach/hurd/tls.h: Likewise.
38704 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38707 * configure.in: Fix use of AC_INIT.
38709 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38711 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38713 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38715 * malloc/hooks.c: Likewise.
38718 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38719 variables statically.
38720 (narenas): Initialize.
38721 (list_lock): Initialize.
38722 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38723 initializtion of main_arena and list_lock. Small cleanups.
38724 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38725 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38726 Add initializers to main_arena and mp_.
38727 (malloc_state): Remove pagesize member. Change all users to use
38730 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38731 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38732 is always initialized.
38734 * malloc/malloc.c: Removed unused configurations and dead code.
38735 * malloc/arena.c: Likewise.
38736 * malloc/hooks.c: Likewise.
38737 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38739 * include/tls.h: Removed. USE___THREAD must always be defined.
38740 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38741 * elf/dl-libc.c: Likewise.
38742 * elf/dl-tsd.c: Likewise.
38743 * include/errno.h: Likewise.
38744 * include/netdb.h: Likewise.
38745 * include/resolv.h: Likewise.
38746 * inet/herrno-loc.c: Likewise.
38747 * inet/herrno.c: Likewise.
38748 * malloc/arena.c: Likewise.
38749 * malloc/hooks.c: Likewise.
38750 * malloc/malloc.c: Likewise.
38751 * resolv/res-state.c: Likewise.
38752 * resolv/res_libc.c: Likewise.
38753 * sysdeps/i386/dl-machine.h: Likewise.
38754 * sysdeps/ia64/dl-machine.h: Likewise.
38755 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38756 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38757 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38758 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38759 * sysdeps/sh/dl-machine.h: Likewise.
38760 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38761 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38762 * sysdeps/unix/i386/sysdep.S: Likewise.
38763 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38764 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38769 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38773 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38774 * sysdeps/x86_64/dl-machine.h: Likewise.
38775 * tls.make.c: Likewise.
38777 * configure.in: Remove --with-__thread option. Make tests for
38778 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38779 tls_model attribute fail if no support is available. Remove
38781 * Makeconfig: Adjust for dropped configure option. All features are
38783 * Makerules: Likewise.
38784 * Versions.def: Likewise.
38785 * argp/argp-fmtstream.c: Likewise.
38786 * argp/argp-fmtstream.h: Likewise.
38787 * argp/argp-help.c: Likewise.
38788 * assert/assert.c: Likewise.
38789 * config.h.in: Likewise.
38790 * config.make.in: Likewise.
38791 * configure: Likewise.
38792 * configure.in: Likewise.
38793 * csu/Versions: Likewise.
38794 * csu/init.c: Likewise.
38795 * elf/tst-audit2.c: Likewise.
38796 * elf/tst-tls10.c: Likewise.
38797 * elf/tst-tls10.h: Likewise.
38798 * elf/tst-tls11.c: Likewise.
38799 * elf/tst-tls12.c: Likewise.
38800 * elf/tst-tls14.c: Likewise.
38801 * elf/tst-tlsmod11.c: Likewise.
38802 * elf/tst-tlsmod12.c: Likewise.
38803 * elf/tst-tlsmod13.c: Likewise.
38804 * elf/tst-tlsmod13a.c: Likewise.
38805 * elf/tst-tlsmod14a.c: Likewise.
38806 * elf/tst-tlsmod15b.c: Likewise.
38807 * elf/tst-tlsmod16a.c: Likewise.
38808 * elf/tst-tlsmod16b.c: Likewise.
38809 * elf/tst-tlsmod7.c: Likewise.
38810 * elf/tst-tlsmod8.c: Likewise.
38811 * elf/tst-tlsmod9.c: Likewise.
38812 * gmon/gmon.c: Likewise.
38813 * grp/fgetgrent_r.c: Likewise.
38814 * grp/putgrent.c: Likewise.
38815 * hurd/fopenport.c: Likewise.
38816 * include/libc-symbols.h: Likewise.
38817 * include/tls.h: Likewise.
38818 * intl/gettextP.h: Likewise.
38819 * intl/loadinfo.h: Likewise.
38820 * locale/global-locale.c: Likewise.
38821 * locale/localeinfo.h: Likewise.
38822 * mach/devstream.c: Likewise.
38823 * malloc/arena.c: Likewise.
38824 * malloc/set-freeres.c: Likewise.
38825 * misc/err.c: Likewise.
38826 * misc/getttyent.c: Likewise.
38827 * misc/mntent_r.c: Likewise.
38828 * posix/getopt.c: Likewise.
38829 * posix/wordexp.c: Likewise.
38830 * pwd/fgetpwent_r.c: Likewise.
38831 * resolv/Versions: Likewise.
38832 * resolv/res_hconf.c: Likewise.
38833 * shadow/fgetspent_r.c: Likewise.
38834 * shadow/putspent.c: Likewise.
38835 * stdio-common/printf_fphex.c: Likewise.
38836 * stdio-common/tmpfile.c: Likewise.
38837 * stdlib/abort.c: Likewise.
38838 * stdlib/fmtmsg.c: Likewise.
38839 * sunrpc/auth_unix.c: Likewise.
38840 * sunrpc/clnt_perr.c: Likewise.
38841 * sunrpc/clnt_tcp.c: Likewise.
38842 * sunrpc/clnt_udp.c: Likewise.
38843 * sunrpc/clnt_unix.c: Likewise.
38844 * sunrpc/openchild.c: Likewise.
38845 * sunrpc/svc_simple.c: Likewise.
38846 * sunrpc/svc_tcp.c: Likewise.
38847 * sunrpc/svc_udp.c: Likewise.
38848 * sunrpc/svc_unix.c: Likewise.
38849 * sunrpc/xdr.c: Likewise.
38850 * sunrpc/xdr_array.c: Likewise.
38851 * sunrpc/xdr_rec.c: Likewise.
38852 * sunrpc/xdr_ref.c: Likewise.
38853 * sunrpc/xdr_stdio.c: Likewise.
38855 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38857 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38859 2011-07-03 Andreas Jaeger <aj@suse.de>
38861 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38862 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38863 regenerate with gen-libm-tests.pl.
38865 2010-05-12 Petr Baudis <pasky@suse.cz>
38868 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38869 around j0() zero points by switching to j1().
38870 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38875 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38877 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38879 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38881 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38882 Patch in part by Pavel Roskin <proski@gnu.org>.
38885 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38887 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38888 Free memory block if necessary.
38891 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38892 be NULL. Don't lock in this case.
38894 2011-09-09 Roland McGrath <roland@hack.frob.com>
38896 * elf/elf.h (ELFOSABI_GNU): New macro.
38897 (ELFOSABI_LINUX): Define to that.
38899 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38901 * string/strncat.c (strncat): Undef the symbol in case it has been
38902 defined in bits/string.h.
38904 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38906 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38908 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38911 2011-08-17 Andreas Jaeger <aj@suse.de>
38913 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38915 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38916 Ian Lance Taylor <iant@google.com>
38918 * math/libm-test.inc (lround_test): New testcase.
38919 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38921 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38923 * Makefile: Remove support for automatic cvs check-ins.
38924 * Makerules: Likewise.
38925 * config.make.in: Likewise.
38926 * configure.in: Likewise.
38927 * intl/Makefile: Likewise.
38928 * locale/Makefile: Likewise.
38929 * po/Makefile: Likewise.
38930 * posix/Makefile: Likewise.
38931 * sysdeps/gnu/Makefile: Likewise.
38932 * sysdeps/mach/hurd/Makefile: Likewise.
38933 * sysdeps/sparc/sparc32/Makefile: Likewise.
38936 * posix/Makefile (bug-regex32-ENV): Define.
38937 Patch by John Stanley <jpsinthemix@verizon.net>.
38939 * misc/Makefile (headers): Add bits/select2.h.
38940 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38941 * misc/bits/select2.h: New file.
38942 * include/bits/select2.h: New file.
38943 * debug/Makefile (routines): Add fdelt_chk.
38944 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38945 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38947 * debug/fdelt_chk.c: New file.
38949 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38950 * wcsmbs/test-wmemcmp.c: Likewise.
38951 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38952 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38954 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38956 * string/Makefile (strop-tests): Add memcmp.
38957 * string/test-wmemcmp.c: New file.
38958 * string/test-memcmp.c: Add wmemcmp support.
38960 2011-09-08 Roland McGrath <roland@hack.frob.com>
38963 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38966 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38967 garbage value in a __mach_port_mod_refs call in the cases of the
38968 task-self and thread-self ports.
38970 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38972 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38974 2011-09-08 Andreas Schwab <schwab@redhat.com>
38976 * elf/dl-load.c (lose): Check for non-null L.
38978 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38980 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38982 * elf/dl-libc.c (dlerror_run): Pass back error code from
38986 * elf/dl-load.c (lose): Free l_origin if it is valid.
38988 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38990 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38991 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38994 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38995 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38997 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38999 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39000 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39001 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39002 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39003 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39004 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39005 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39006 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39007 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39008 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39010 2011-08-15 Alan Modra <amodra@gmail.com>
39013 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39014 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39015 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39016 ppc_mcount to static-only-routines.
39017 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39019 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39020 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39022 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39024 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39025 for finite and infinity parameters.
39027 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39030 and add nop instructions for throughput optimization.
39031 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39033 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39035 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39036 aligned copy for power7 with vector-scalar instructions.
39037 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39039 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39044 2011-09-07 Andreas Schwab <schwab@redhat.com>
39047 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39050 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39052 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39053 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39054 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39055 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39058 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39060 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39061 Forgot to demangle the pointer.
39063 * sysdeps/i386/sysdep.h: Define atom_text_section.
39064 * sysdeps/x86_64/sysdep.h: Likewise.
39065 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39066 section with atom_text_section.
39067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39069 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39071 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39073 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39074 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39075 already be defined. Change to take two parameters and don't assign
39076 result to variable. Adjust all users.
39077 Define INTERNAL_GETTIME if not already defined.
39078 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39081 HAVE_CLOCK_GETTIME_VSYSCALL.
39082 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39085 gettimeofday vsyscall, just use time.
39087 2011-09-06 Andreas Schwab <schwab@redhat.com>
39089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39092 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39094 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39098 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39099 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39100 syscall if possible.
39102 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39104 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39105 e_ident. Don't pass to find_mapsXX.
39106 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39108 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39111 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39112 * sysdeps/x86_64/multiarch/strchr.S: Update.
39113 Check bit_slow_BSF bit.
39114 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39115 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39116 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39118 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39121 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39123 (tryshell): Define.
39124 (__spawni): Change last parameter to be flag. Test
39125 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39126 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39127 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39128 * posix/spawni.c: Likewise.
39129 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39130 * posix/spawnp.c: Likewise. Change normal version to use
39131 SPAWN_XFLAGS_USE_PATH.
39132 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39133 SPAWN_XFLAGS_TRY_SHELL.
39136 * posix/glob.h: Remove gcc 1.x support.
39139 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39141 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39144 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39146 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39147 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39148 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39149 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39150 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39151 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39153 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39155 * sysdeps/x86_64/wcscmp.S: New file.
39157 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39158 wcscmp-c wcscmp-sse2
39159 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39160 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39161 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39162 * wcsmbs/wcscmp.c: Allow renaming.
39164 2011-09-05 David S. Miller <davem@davemloft.net>
39166 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39167 stack slot, rather than the struct return pointer slot.
39168 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39169 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39171 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39173 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39175 * po/ja.po: Update from translation team.
39178 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39179 kernel in 64-bit binaries.
39181 2011-09-01 David S. Miller <davem@davemloft.net>
39183 * elf/elf.h (HWCAP_SPARC_*): Move to..
39184 * sysdeps/sparc/sysdep.h: this new file and add new values.
39185 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39186 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39187 _DL_HWCAP_COUNT to 24.
39188 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39190 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39191 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39192 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39194 instead of magic constants.
39195 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39197 2011-08-31 David S. Miller <davem@davemloft.net>
39199 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39201 Reimplement to do errno handling inline.
39202 (SYSCALL_ERROR_HANDLER): New macro.
39203 (__SYSCALL_STRING): Do not do errno handling in asm.
39204 (__CLONE_SYSCALL_STRING): Delete.
39205 (__INTERNAL_SYSCALL_STRING): Delete.
39206 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39207 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39208 (PSEUDO): Reimplement to do errno handling inline.
39209 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39210 (SYSCALL_ERROR_HANDLER): New macro.
39211 (__SYSCALL_STRING): Do not do errno handling in asm.
39212 (__CLONE_SYSCALL_STRING): Delete.
39213 (__INTERNAL_SYSCALL_STRING): Delete.
39214 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39215 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39217 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39218 (inline_syscall*): Add 'err' argument.
39219 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39220 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39221 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39222 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39224 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39225 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39227 2011-08-30 Andreas Schwab <schwab@redhat.com>
39229 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39231 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39233 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39236 2011-08-24 David S. Miller <davem@davemloft.net>
39238 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39240 2011-08-24 Andreas Schwab <schwab@redhat.com>
39242 * elf/Makefile: Add rules to build and run unload8 test.
39243 * elf/unload8.c: New file.
39244 * elf/unload8mod1.c: New file.
39245 * elf/unload8mod1x.c: New file.
39246 * elf/unload8mod2.c: New file.
39247 * elf/unload8mod3.c: New file.
39249 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39252 2011-08-23 David S. Miller <davem@davemloft.net>
39254 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39255 subtract stack bias.
39256 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39257 %sp not %fp in calculations.
39258 (_JMPBUF_UNWINDS_ADJ): Likewise.
39260 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39261 (aio_suspend): Call it to force an exception region around the
39262 AIO_MISC_WAIT() invocation.
39264 2011-08-23 Andreas Schwab <schwab@redhat.com>
39266 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39269 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39271 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39273 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39274 and <dl-machine.h>.
39275 (Elf64_FuncDesc): Remove.
39277 2011-08-22 David S. Miller <davem@davemloft.net>
39279 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39280 sigaltstack check, add missing cfi directives.
39281 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39282 missing cfi directives, and sigaltstack handling.
39284 2011-08-16 Andreas Schwab <schwab@redhat.com>
39287 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39288 object is seen twice.
39289 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39291 * elf/Makefile (distribute): Add tst-initorder2.c.
39292 (tests): Add tst-initorder2.
39293 (modules-names): Add tst-initorder2a tst-initorder2b
39294 tst-initorder2c tst-initorder2d. Add rules to build them.
39295 ($(objpfx)tst-initorder2.out): New rule.
39296 * elf/tst-initorder2.c: New file.
39297 * elf/tst-initorder2.exp: New file.
39299 2011-08-22 Andreas Schwab <schwab@redhat.com>
39301 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39303 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39304 dependencies back to end of function.
39306 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39307 $(elfobjdir)/ld.so.
39309 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39312 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39314 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39315 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39316 of __vdso_gettimeofday.
39317 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39318 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39320 (_libc_vdso_platform_setup): Remove initialization of
39321 __vdso_gettimeofday and __vdso_time.
39323 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39325 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39326 and fgetc_unlocked.
39327 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39330 * elf/dl-open.c (add_to_global): Report additions to the global scope
39331 for LD_DEBUG=scopes.
39332 (dl_open_worker): Also print scope of newly loaded dependencies.
39333 (_dl_show_scope): Indicate if there is no scope.
39336 * stdio-common/Makefile (tests): Add bug24.
39337 * stdio-common/bug24.c: New file.
39339 2011-08-19 Andreas Jaeger <aj@suse.de>
39342 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39343 non-existant file when using close-on-exec mode.
39345 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39348 the very first instruction.
39350 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39351 the CFI state in the end.
39352 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39353 inclusion of dl-trampoline.h.
39354 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39356 2011-08-19 Andreas Schwab <schwab@redhat.com>
39358 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39359 expectations for long double.
39361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39362 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39364 2011-08-14 David S. Miller <davem@davemloft.net>
39366 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39367 artificual limit depends upon the system page size.
39369 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39371 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39372 * resolv/Makefile: Define CFLAGS-libresolv.
39374 2011-08-17 Andreas Schwab <schwab@redhat.com>
39376 * nss/makedb.c (compute_tables): Make variables used in nested
39379 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39381 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39382 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39383 if buffer was too small.
39385 * elf/pldd.c (main): Attach to all threads in the process.
39386 Rewrite /proc handling to use *at functions.
39388 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39390 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39391 specifies first scope to show.
39392 (dl_open_worker): Update callers. Move printing scope of new
39393 object to before the relocation.
39394 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39395 * sysdeps/generic/ldsodefs.h: Update declaration.
39397 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39398 string for the scope number.
39400 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39402 * nscd/servicescache.c (cache_addserv): Make sure written is always
39405 2011-08-14 Roland McGrath <roland@hack.frob.com>
39407 * sysdeps/i386/i486/bits/atomic.h
39408 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39409 statement expression, so as to suppress "set but not used" warning.
39410 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39412 * string/strncat.c (STRNCAT): Use prototype definition.
39414 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39415 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39417 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39418 (localedef-modules): Add localedef.
39419 (locale-modules): Add locale.
39421 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39422 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39423 to avoid a warning.
39425 2011-08-14 David S. Miller <davem@davemloft.net>
39427 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39428 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39430 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39432 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39433 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39434 * elf/rtld.c (dl_main): Set l_name of vDSO.
39435 Call _dl_show_scope when DL_DEBUG_SCOPES.
39436 (process_dl_debug): Recognize scopes flag and also set it for all.
39437 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39438 Declare _dl_show_scope.
39440 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39441 (do_dlopen): Pass caller_dlopen to dl_open.
39442 (__libc_dlopen_mode): Initialize caller_dlopen.
39444 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39445 of libc. Make tolower call locale-independent. Optimize a bit by
39446 using isdigit instead of isalnum.
39447 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39449 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39451 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39452 was a dependency or dynamically loaded.
39454 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39456 * intl/l10nflist.c: Allow architecture-specific pop function.
39457 * sysdeps/x86_64/l10nflist.c: New file.
39459 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39462 2011-08-10 Andreas Schwab <schwab@redhat.com>
39464 * include/dirent.h: Add libc_hidden_proto for scandirat and
39465 scandirat64. Don't declare __scandirat64.
39466 * dirent/scandirat.c: Add libc_hidden_def.
39467 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39468 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39470 2011-08-10 David S. Miller <davem@davemloft.net>
39472 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39474 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39475 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39476 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39478 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39480 * Versions.def [libc]: Add GLIBC_2.15.
39481 * dirent/Makefile (routines): Add scandirat and scandirat64.
39482 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39484 * dirent/dirent.h: Declare scandirat and scandirat64.
39485 * dirent/scandirat.c: New file.
39486 * dirent/scandirat64.c: New file.
39487 * sysdeps/wordsize-64/scandirat.c: New file.
39488 * sysdeps/wordsize-64/scandirat64.c: New file.
39489 * dirent/opendir.c: Define opendirat.
39490 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39492 * dirent/scandir64.c: Adjust for scandir.c change.
39493 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39494 __scandirat64, and __scandir_cancel_handler.
39495 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39496 additional parameter and use openat instead of open (outside of ld.so).
39497 Add new __opendir as wrapper around __opendirat.
39498 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39499 here without requiring old scandirat implementation.
39501 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39503 * dirent/scandir.c (cancel_handler): Renamed to
39504 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39505 defined. Adjust users.
39506 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39507 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39509 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39511 * string/test-string.h (IMPL): Use __STRING to expand name and then
39514 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39517 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39519 * string/Makefile: Update.
39520 (strop-tests): Append strncat.
39521 * string/test-wcscmp.c: New file.
39522 New comprehensive test for wcscmp.
39523 * string/test-strcmp.c: Update.
39524 (WIDE): New define.
39526 2011-07-22 Andreas Schwab <schwab@redhat.com>
39528 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39531 2011-07-26 Andreas Schwab <schwab@redhat.com>
39533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39534 encoding to ACE if AI_IDN.
39536 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39539 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39541 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39544 Fix overflow bug in strncat.
39545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39547 * string/test-strncat.c: Update.
39548 Add new tests for checking overflow bugs.
39550 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39553 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39554 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39555 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39557 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39558 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39559 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39560 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39562 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39563 (USE_AS_STRCAT): Define.
39564 Add strcat and strncat support.
39565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39567 2011-07-25 Andreas Schwab <schwab@redhat.com>
39569 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39570 __n bigger than INT_MAX+1.
39571 (__strncmp_g): Likewise.
39573 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39575 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39576 * libio/stido.h: Likewise.
39578 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39583 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39584 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39585 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39586 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39590 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39595 (_dl_x86_64_save_sse): Likewise.
39597 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39601 (_dl_x86_64_save_sse): Likewise.
39603 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39605 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39607 2011-07-21 Andreas Schwab <schwab@redhat.com>
39609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39611 (_dl_x86_64_save_sse): Use correct AVX check.
39613 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39615 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39616 bug in strncpy/strncat.
39617 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39619 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39621 * string/tester.c (test_strcat): Add tests for different alignments
39622 of source and destination.
39623 (test_strncat): Likewise.
39625 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39628 * posix/glob.c (glob): Check passed in values before using them in
39629 expressions to avoid some overflows.
39630 (glob_in_dir): Likewise.
39633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39634 check for AVX enablement so that we don't crash with old kernels and
39636 * elf/tst-audit4.c: Add same checks here.
39637 * elf/tst-audit6.c: Likewise.
39639 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39641 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39643 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39645 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39647 * po/cs.po: Update from translation team.
39648 * po/bg.po: Likewise.
39650 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39652 * misc/sys/cdefs.h: Add support for const attribute.
39653 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39654 to gnu_dev_{major,minor,makedev} functions.
39656 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39658 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39660 2011-07-20 Andreas Schwab <schwab@redhat.com>
39662 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39665 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39668 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39669 register in order to avoid conflicts with the soft frame pointer
39670 being held in r11 when necessary.
39671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39672 (INTERNAL_VSYSCALL_NCS): Likewise.
39674 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39676 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39677 * elf/dl-fini.c (_dl_fini): Adjust caller.
39678 * elf/dl-close.c (_dl_close_worker): Likewise.
39679 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39681 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39683 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39684 "aux_cache->nlibs < 0".
39686 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39687 in the reload-count case.
39689 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39692 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39693 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39694 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39695 * sysdeps/x86_64/multiarch/strcat.S: New file.
39696 * sysdeps/x86_64/multiarch/strncat.S: New file.
39697 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39698 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39699 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39700 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39701 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39702 (USE_AS_STRCAT): Define.
39703 Add strcat and strncat support.
39704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39706 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39707 * string/strncat.c: Update.
39708 (USE_AS_STRNCAT): Define.
39709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39710 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39712 * sysdeps/x86_64/multiarch/init-arch.h
39713 (bit_Prefer_PMINUB_for_stringop): New.
39714 (index_Prefer_PMINUB_for_stringop): Likewise.
39715 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39716 bit_Prefer_PMINUB_for_stringop.
39718 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39720 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39722 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39723 of casting of buffer.
39724 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39725 buffer32 and buffer64.
39726 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39727 writes instead of casting of buffer.
39728 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39730 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39733 2011-07-19 Andreas Schwab <schwab@redhat.com>
39735 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39737 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39739 * nscd/nscd.c (termination_handler): Don't do anything for a database
39740 if it has not yet been initialized.
39742 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39744 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39746 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39748 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39750 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39752 * po/nl.po: Update from translation team.
39753 * po/sv.po: Likewise.
39755 2011-07-16 Roland McGrath <roland@hack.frob.com>
39757 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39758 now disallowed by GCC.
39760 * configure.in (use-default-link): Default to yes if a test -shared
39761 link meets our qualifications.
39762 * configure: Regenerated.
39764 * config.make.in (output-format): New variable.
39765 * configure.in: Check for ld --print-output-format support.
39766 * configure: Regenerated.
39767 * Makerules ($(common-objpfx)format.lds)
39768 [$(output-format) != unknown]: Just use $(output-format),
39769 instead of the linker-script munging.
39771 2011-07-14 Roland McGrath <roland@hack.frob.com>
39773 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39774 of $(common-objpfx)shlib.lds.
39775 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39777 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39778 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39780 * configure.in (-z relro check): Adjust test code to add a large
39781 writable data section after it.
39782 * configure: Regenerated.
39784 2011-07-11 Roland McGrath <roland@hack.frob.com>
39786 * configure.in (-z relro check): Fix test code to make the variable
39788 * configure: Regenerated.
39790 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39792 * nscd/nscd.h (struct traced_file): Define.
39793 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39794 elements. Add traced_files.
39795 (inotify_fd): Declare.
39796 (register_traced_file): Declare.
39797 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39798 (inotify_fd): Export.
39799 (resolv_conf_descr): Remove.
39800 (nscd_init): Move inotify descriptor creation to main.
39801 Don't register files for notification here.
39802 (register_traced_file): New function.
39803 (invalidate_cache): Don't use reset_res to determine whether to call
39804 res_init, go through the list of registered files.
39805 (main_loop_poll): The inotify descriptors are now stored in the
39806 structures for the traced files.
39807 (main_loop_epoll): Likewise
39808 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39809 to __nss_disable_nscd.
39810 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39811 for a database anymore. Check the records for all the registered
39813 * nss/Makefile (libnss_files-routines): Add files-init.
39814 (libnss_db-routines): Add db-init.
39815 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39816 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39817 * nss/nss_db/db-init.c: New file.
39818 * nss/nss_files/files-init.c: New file.
39819 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39820 __nss_lookup_function.
39821 (__nss_lookup_function): Call nss_load_library.
39822 (nss_load_all_libraries): New function.
39823 (__nss_disable_nscd): Take parameter with callback function for files
39824 to register. Set is_nscd. Load all the DSOs for the NSS modules
39825 used for the cached services.
39826 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39827 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39828 options for features to all the files in nscd.
39830 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39832 2011-07-10 Roland McGrath <roland@hack.frob.com>
39834 * csu/elf-init.c (__libc_csu_init): Comment typo.
39836 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39838 * po/pl.po: Update from translation team.
39839 * po/ja.po: Likewise.
39840 * po/ru.po: Likewise.
39841 * po/ko.po: Likewise.
39842 * po/fr.po: Likewise.
39844 2011-07-09 Roland McGrath <roland@hack.frob.com>
39846 * configure.in (.ctors/.dtors header and trailer check):
39847 Use an empirical test on a built program.
39848 * configure: Regenerated.
39850 * configure.in (-z relro check): Use an empirical test on a built DSO.
39851 Detect, but do not require, on ia64.
39852 * configure: Regenerated.
39854 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39855 Update tests that use readelf to use $READELF instead.
39856 * configure: Regenerated.
39858 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39860 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39861 if the result is not used.
39863 2011-07-05 Andreas Jaeger <aj@suse.de>
39866 * stdlib/tst-strtod.c: Add testcase.
39868 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39870 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39871 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39872 The latter has a higher limit. Take additional parameter to pass to
39874 (__pathconf): Pass file to __statfs_link_max.
39875 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39877 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39881 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39885 (__statfs_filesize_max): Likewise.
39886 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39888 2011-07-05 Andreas Jaeger <aj@suse.de>
39890 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39892 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39894 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39896 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39899 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39901 * Makefile (strop-tests): Add strncat.
39902 * string/test-strncat.c: New file.
39904 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39906 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39908 2011-06-21 Andreas Jaeger <aj@suse.de>
39910 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39911 Copy rule from iconvdata/Makefile.
39913 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39916 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39917 but no long options are defined, just return 'W'.
39919 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39922 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39924 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39926 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39928 (innetgr): Likewise.
39930 2011-07-05 Roland McGrath <roland@hack.frob.com>
39932 * config.make.in (install_root): Default to $(DESTDIR).
39934 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39936 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39938 2011-07-02 Roland McGrath <roland@hack.frob.com>
39940 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39942 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39943 containing directory rather than embedding absolute directory names.
39945 * scripts/check-local-headers.sh: Rewritten using awk.
39946 Match by word, not by line. Print error messages for matches.
39947 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39949 * Makerules [shlib-lds-flags empty]:
39950 ($(common-objpfx)libc_pic.opts): New target.
39951 ($(common-objpfx)libc_pic.os.clean): New target.
39952 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39954 * config.make.in (OBJCOPY): New variable.
39955 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39956 * configure: Regenerated.
39958 * config.make.in (use-default-link): New variable.
39959 * configure.in (use_default_link): Grok --with-default-link to set it.
39960 * configure: Regenerated.
39961 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39962 (shlib-lds, shlib-lds-flags): Define to empty.
39964 * Makerules (shlib-lds): New variable.
39965 (shlib-lds-flags): New variable.
39966 (build-shlib, build-moduile, build-module-asneeded): Use it.
39967 ($(common-objpfx)libc.so): Use $(shlib-lds).
39968 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39969 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39971 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39972 DT_FLAGS/DT_FLAGS_1 with zero flags.
39974 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39975 linker script munging.
39977 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39979 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39981 * crypt/sha512.c (sha512_process_block): Perform total addition using
39982 128-bit if possible.
39983 (__sha512_finish_ctx): Likewise.
39984 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39986 * crypt/sha256.c (SWAP64): Define.
39987 (sha256_process_block): Perform total addition using 64-bit if
39989 (__sha256_finish_ctx): Likewise.
39991 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39993 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39994 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39995 * nscd/hstcache.c (cache_addhst): Likewise.
39996 * nscd/grpcache.c (cache_addgr): Likewise.
39997 * nscd/aicache.c (addhstaiX): Likewise
39998 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40000 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40002 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40004 * nscd/hstcache.c (cache_addhst): Likewise.
40005 * nscd/grpcache.c (cache_addgr): Likewise.
40006 * nscd/aicache.c (addhstaiX): Likewise
40008 2011-07-01 Andreas Schwab <schwab@redhat.com>
40010 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40011 domain only when needed.
40013 2011-06-30 Andreas Schwab <schwab@redhat.com>
40015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40016 is always restored.
40018 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40020 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40021 are re-adding the entry.
40022 * nscd/servicescache.c (cache_addserv): Likewise.
40024 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40026 * sysdeps/generic/dl-irel.h: fix protection against multiple
40028 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40030 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40033 * malloc/memusage.sh: Fix quoting in message.
40034 * debug/xtrace.sh: Likewise.
40036 * configure.in: Remove support for --experimental-malloc option, make
40038 * config.make.in: Likewise.
40039 * malloc/Makefile: Likewise.
40041 2011-06-27 Andreas Schwab <schwab@redhat.com>
40043 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40044 two-byte characters.
40046 2011-06-27 Roland McGrath <roland@hack.frob.com>
40048 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40049 AC_CACHE_CHECK invocation.
40050 * configure: Regenerated.
40052 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40054 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40057 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40058 bit from old_res_options.
40060 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40062 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40063 value type for setfct.
40065 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40068 __gettimeofday instead of gettimeofday.
40070 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40072 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40074 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40081 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40084 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40085 strcpy-sse2-unaligned strncpy-sse2-unaligned
40086 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40087 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40088 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40089 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40090 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40092 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40093 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40094 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40095 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40096 (STRCPY): Support SSE2 and SSSE3 versions.
40098 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40101 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40102 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40103 kernels which artificially limit size of requests.
40105 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40108 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40109 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40110 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40111 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40112 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40113 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40114 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40115 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40117 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40118 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40119 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40120 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40121 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40123 Enable unaligned load optimization for Intel Core i3, i5 and i7
40125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40127 (index_Fast_Unaligned_Load): Define.
40128 (HAS_FAST_UNALIGNED_LOAD): Define.
40130 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40132 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40134 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40138 until it is clear that the information is realy needed.
40139 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40141 2011-06-22 Andreas Schwab <schwab@redhat.com>
40143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40145 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40148 /sys/devices/system/cpu/online if it is usable.
40150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40151 reading the information from the /proc filesystem to once a second.
40153 2011-06-21 Andreas Jaeger <aj@suse.de>
40155 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40156 NULL after inclusion of kernel headers.
40158 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40160 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40161 calls to internal_setent.
40164 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40165 addresses using gethostbyname4_r ignore IPv4 addresses.
40167 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40168 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40170 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40172 2011-06-20 David S. Miller <davem@davemloft.net>
40174 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40176 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40178 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40179 (elf_irel): Use it.
40180 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40181 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40182 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40183 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40184 * sysdeps/x86_64/dl-irel.h: Likewise.
40186 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40187 * elf/dl-sym.c: Likewise.
40189 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40191 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40192 need to dereference resplen2.
40194 2011-06-14 Andreas Schwab <schwab@redhat.com>
40196 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40198 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40200 * Makeconfig: Define vardbdir and inst_vardbdir.
40201 * nss/Makefile: Add rules to install db-Makefile.
40203 * nss/nss_db/db-XXX.c: Cleanup.
40205 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40206 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40208 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40209 * nss/makedb.c: Implement -g option to specify that value strings
40210 are generated and should not be added to table iterated over for
40212 * nss/nss_db/db-initgroups.c: New file.
40214 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40217 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40218 (internal_getgrouplist): Adjust to name change.
40219 Update use_initgroups_entry if this is not the first call.
40220 * nss/databases.def: Add initgroups entry.
40222 * nss/makedb.c (compute_tables): Check result of multiple hash table
40223 sizes to minimize maximum chain length.
40225 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40227 * Versions.def: Add entry for libnss_db.
40228 * shlib-versions: Likewise.
40229 * nss/Makefile: Add rules to build libnss_db.
40230 * nss/Versions: Add libnss_db information. Organize libnss_files
40232 * nss/db-Makefile: Add gshadow support. Change rules for the new
40233 makedb progra. Some minor improvements to generate smaller files.
40234 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40236 * nss/makedb.c: ...here.
40237 Improve database format to be smaller and require less memory at
40239 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40241 * nss/nss_db/db-netgrp.c: Likewise.
40242 * nss/nss_db/db-open.c: Likewise.
40243 * nss/nss_files/flies-XXX.x: Adjust comments.
40244 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40245 * nss/nss_files/files-grp.c: Likewise.
40246 * nss/nss_files/files-hosts.c: Likewise.
40247 * nss/nss_files/files-network.c: Likewise.
40248 * nss/nss_files/files-proto.c: Likewise.
40249 * nss/nss_files/files-pwd.c: Likewise.
40250 * nss/nss_files/files-rpc.c: Likewise.
40251 * nss/nss_files/files-service.c: Likewise.
40252 * nss/nss_files/files-sgrp.c: Likewise.
40253 * nss/nss_files/files-spwd.c: Likewise.
40254 * nss/nss_db/db-alias.c: Removed.
40255 * nss/nss_db/dummy-db.h: Removed.
40257 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40259 * nss/makedb.c: Rewritten to not use database library.
40260 * nss/Makefile: Update to build new makedb program.
40262 2011-06-14 Andreas Jaeger <aj@suse.de>
40264 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40265 memset declaration.
40267 2011-06-10 Andreas Schwab <schwab@redhat.com>
40269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40272 2011-06-10 Roland McGrath <roland@hack.frob.com>
40274 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40275 * elf/Makefile ($(objpfx)ld.so): Likewise.
40277 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40278 Don't list ld.so twice in dependencies.
40280 * posix/bug-regex31.c: Include <stdlib.h>.
40282 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40284 * nis/nss_compat/compat-spwd.c
40285 (getspent_next_nss_netgr): Remove unused variable.
40286 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40288 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40289 nonmembers" output to use the right array.
40291 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40293 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40295 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40296 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40297 * catgets/gencat.c (read_input_file): Likewise.
40298 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40300 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40301 variable definition inside #if's controlling its use.
40303 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40305 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40307 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40309 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40312 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40314 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40315 * configure: Regenerated.
40317 * Makerules: Revert last change.
40318 * elf/Makefile: Likewise.
40320 2011-06-09 Roland McGrath <roland@hack.frob.com>
40322 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40323 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40324 (reloc-link): Likewise.
40326 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40328 * elf/Makefile: Add rules to build pldd.
40329 * elf/pldd.c: New file.
40330 * elf/pldd-xx.c: New file.
40332 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40334 * version.h: Update for 2.15 development version.
40336 2011-06-07 David S. Miller <davem@davemloft.net>
40338 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40341 elf_machine_lazy_rel): Likewise.
40342 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40344 elf_machine_lazy_rel): Likewise.
40345 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40346 dl_hwcap via passed in argument.
40347 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40350 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40352 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40354 2011-06-06 Roland McGrath <roland@hack.frob.com>
40357 * manual/fdl-1.1.texi: New file, verbatim from:
40358 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40359 * manual/lgpl-2.1.texi: New file, verbatim from:
40360 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40361 * manual/Makefile (licenses): New variable, list those new file names.
40363 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40365 * manual/fdl.texi: File removed.
40366 * manual/lesser.texi: File removed.
40367 * manual/libc.texinfo (Copying, Documentation License):
40368 Use new @include file names, put @appendix directive before @include.
40370 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40373 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40374 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40375 (mq_open): Add __NTH.
40377 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40380 Assume Intel Core i3/i5/i7 processor if AVX is available.
40382 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40387 2011-05-31 Andreas Schwab <schwab@redhat.com>
40389 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40390 memory. Use alloca_account. Fix memory leak when retrying.
40392 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40394 * version.h (RELEASE): Bump for 2.14 release.
40395 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40397 * config.make.in (RANLIB): Remove entry.
40399 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40401 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40402 (libc.pot): Work around missing support for .ksh extension in xgettext.
40405 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40406 if both request failed.
40407 (send_dg): In case of server errors clear resplen or *resplen2.
40410 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40411 when there are multiple maps.
40412 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40413 (_dl_fini): Remove test here.
40415 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40417 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40420 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40421 bit from old_res_options.
40422 (gaih_inet): Likewise.
40425 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40428 * resolv/res_init.c (res_setoptions): Make the code more compact.
40431 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40435 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40437 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40440 * malloc/malloc.h: Declare malloc hook variables as volatile.
40442 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40446 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40447 raise in the comment.
40448 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40449 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40450 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40452 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40455 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40456 grow the buffers more if it already has to be sufficient.
40457 (build_wcs_upper_buffer): Likewise.
40458 * posix/regexec.c (check_matching): Likewise.
40459 (clean_state_log_if_needed): Likewise.
40460 (extend_buffers): Don't enlarge buffers beyond size of the input
40462 Patches mostly by Emil Wojak <emil@wojak.eu>.
40463 * posix/bug-regex32.c: New file.
40464 * posix/Makefile (tests): Add bug-regex32.
40466 * locale/findlocale.c (_nl_find_locale): Return right away if
40467 _nl_explode_name failed.
40468 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40470 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40472 * debug/xtrace.sh: Unify messages.
40473 * malloc/memusage.sh: Likewise.
40476 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40477 time symbol from vDSO. Substitute with vsyscall if not available.
40478 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40481 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40482 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40483 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40484 Add sendmmsg and internal_sendmmsg.
40485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40486 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40489 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40490 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40493 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40496 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40497 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40499 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40503 * iconvdata/Makefile (tests): Add bug-iconv9.
40504 * iconvdata/bug-iconv9.c: New file.
40506 2011-05-27 Andreas Schwab <schwab@redhat.com>
40509 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40511 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40514 (struct user_regs_struct): Change intcs field back to cs.
40516 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40518 * po/ja.po: Update from translation team.
40520 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40523 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40524 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40526 2011-05-20 Andreas Schwab <schwab@redhat.com>
40528 * stdlib/longlong.h: Update from GCC.
40530 2011-05-23 Andreas Schwab <schwab@redhat.com>
40532 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40534 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40535 Add parameter name.
40536 (__sysconf): Pass it down.
40538 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40541 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40544 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40545 add in in __libc_use_alloca calls. Adjust callers.
40546 (glob): Use malloc in some situations.
40548 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40549 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40552 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40554 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40555 and CLOCK_BOOTTIME_ALARM.
40558 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40561 * string/_strerror.c (__strerror_r): Print negative errors as signed
40565 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40566 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40567 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40569 * configure.in: Fix typo in redirection and correct removal of test
40570 files in two cases.
40573 * locale/setlocale.c (new_composite_name): Fix test to check for
40574 identical name of all categories.
40577 * libio/filedoalloc.c (local_isatty): New function.
40578 (_IO_file_doallocate): Use local_isatty.
40579 * stdio-common/perror.c (perror): In case a new stream is used
40580 forward the stream error.
40581 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40584 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40589 * include/alloca.h (extend_alloca_account): Define.
40592 * posix/regex.h: Fix comments with documentation of user-accessible
40593 fields after compilation and describe correct free'ing of pattern
40594 after re_compile_pattern.
40595 Patch by Reuben Thomas <rrt@sc3d.org>.
40597 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40599 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40600 and -mno-altivec to prevent the compiler from using Altivec and/or
40601 VSX instructions when the corresponding registers are not available.
40603 2011-05-19 Andreas Schwab <schwab@redhat.com>
40605 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40607 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40609 * libio/freopen.c (freopen): Use __dup2, not dup2.
40610 * libio/freopen64.c (freopen64): Likewise.
40612 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40615 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40616 * math/Makefile (tests): Add test-powl.
40617 (CFLAGS-test-powl.c): Define.
40618 * math/test-powl.c: New file.
40620 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40622 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40624 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40627 * iconvdata/gb18030.c: Update to GB18020-2005.
40629 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40631 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40632 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40633 Patch by Aharon Robbins <arnold@skeeve.com>.
40636 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40640 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40641 through underflows.
40644 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40645 point to strings before performing equality test for error_one_per_line
40649 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40653 (struct user_fpregs_struct): Avoid __uint*_t types.
40656 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40657 symbol info. Use it instead of calling _dl_addr locally.
40658 (lock_and_info): New function.
40659 (tr_freehook): Call lock_and_info and pass symbol info as additional
40660 parameter to tr_where.
40661 (tr_mallochook): Likewise.
40662 (tr_reallochook): Likewise.
40663 (tr_memalignhook): Likewise.
40665 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40666 used and couldn't be at all thread-safe.
40668 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40670 * libio/freopen.c (freopen): Don't close old file descriptor
40671 before the new one is opened. Instead dup the new file descriptor
40672 to the old one after the new stream is created.
40673 * libio/freopen64.c (freopen64): Likewise.
40674 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40675 * libio/fileops.c (_IO_new_file_close_it): Handle new
40676 _IO_FLAGS2_NOCLOSE flag.
40677 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40678 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40679 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40680 _IO_FLAGS2_NOCLOSE flag.
40681 * include/unistd.h: Add hidden_proto for dup3.
40682 Define __have_dup3.
40683 * io/dup3.c: Define hidden symbol.
40684 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40687 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40688 when an incomplete long option is used.
40689 * posix/tst-getopt_long1.c: New file.
40690 * posix/Makefile (tests): Add tst-getopt_long1.
40693 * scripts/config.guess: Update from autoconf-2.68.
40694 * scripts/config.sub: Likewise.
40697 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40699 (has_cpuclock): ...this. New function.
40700 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40701 macro here based on has_cpuclock code.
40704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40705 First byte (not low byte) is now always NUL.
40706 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40709 Use non-cancelable interfaces.
40712 * locale/iso-639.def: Add entry for Sorani.
40715 * include/stdlib.h: Move include protection to the right place.
40716 Define abort_msg_s. Declare __abort_msg with it.
40717 * stdlib/abort.c (__abort_msg): Adjust type.
40718 * assert/assert.c (__assert_fail_base): New function. Majority
40719 of code from __assert_fail. Allocate memory for __abort_msg with
40721 (__assert_fail): Now call __assert_fail_base.
40722 * assert/assert-perr.c: Remove bulk of implementation. Use
40723 __assert_fail_base.
40724 * include/assert.hL Declare __assert_fail_base.
40725 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40727 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40729 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40733 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40734 until all modules are registered in the DTV.
40735 * elf/Makefile: Add rules to build and run tst-tls19.
40736 * elf/tst-tls19.c: New file.
40737 * elf/tst-tls19mod1.c: New file.
40738 * elf/tst-tls19mod2.c: New file.
40739 * elf/tst-tls19mod3.c: New file.
40740 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40743 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40747 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40748 two-byte sequence errors.
40749 * iconvdata/Makefile (tests): Add bug-iconv8.
40750 * iconvdata/bug-iconv8.c: New file.
40753 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40756 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40759 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40760 (dummy_getcfa): New function.
40761 (init): Get _Unwind_GetCFA address, use dummy if not found.
40762 (backtrace_helper): In recursion check, also check whether CFA changes.
40763 (__backtrace): Completely initialize arg.
40765 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40766 storing incomplete byte sequence in state object. Avoid testing for
40767 guaranteed too small input if we know there is enough data available.
40769 2011-05-11 Andreas Schwab <schwab@redhat.com>
40771 * Makeconfig (+link-pie): Indent.
40772 * Rules (binaries-pie): Define if $(have-fpie) and
40774 (binaries-shared): Also filter out $(binaries-pie).
40775 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40776 * nscd/Makefile (others-pie): Add nscd.
40777 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40778 ($(objpfx)nscd): Remove command override.
40779 * login/Makefile (others-pie): Add pt_chown.
40780 ($(objpfx)pt_chown): Remove command override.
40781 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40782 remove command overrides.
40784 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40786 * libio/tst_putwc.c: Fix error messages.
40789 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40790 currently writing and seek to current position when not.
40791 * libio/Makefile (tests): Add bug-fclose1.
40792 * libio/bug-fclose1.c: New file.
40794 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40797 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40798 don't set DF_1_NODELETE here.
40799 (do_lookup_x): When entering new entry test for copy relocation
40800 and if necessary set DF_1_NODELETE flag.
40801 * elf/tst-unique4.cc: New file.
40802 * elf/tst-unique4.h: New file.
40803 * elf/tst-unique4lib.cc: New file.
40804 * elf/Makefile: Add rules to build and run tst-unique4.
40805 Patch by Piotr Bury <pbury@goahead.com>.
40807 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40810 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40813 * misc/mntent_r.c (addmntent): Flush the stream after the output
40816 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40817 (is_trusted_path_normalize): Skip initial colon. Append slash
40818 to empty buffer. Duplicate is_trusted_path code but allow
40819 constructed patch to be prefix.
40820 (is_dst): Allow $ORIGIN followed by /.
40821 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40822 Correct testing of result of is_trusted_path_normalize
40823 (decompose_rpath): Fix warning.
40825 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40828 * grp/initgroups.c (internal_getgrouplist): When we found the service
40829 list through the initgroups entry in nsswitch.conf do not always
40830 continue on a successful lookup. Don't always use the
40831 __nss_group_database value if it is set.
40832 * nss/nsswitch.conf (initgroups): Change action for successful db
40833 lookup to continue for compatibility.
40835 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40838 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40840 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40842 * iconvdata/tst-tables.sh: Likewise.
40843 * iconvdata/cp770.c: New file.
40844 * iconvdata/cp771.c: New file.
40845 * iconvdata/cp772.c: New file.
40846 * iconvdata/cp773.c: New file.
40847 * iconvdata/cp774.c: New file.
40848 * iconvdata/testdata/CP770: New file.
40849 * iconvdata/testdata/CP770..UTF8: New file.
40850 * iconvdata/testdata/CP771: New file.
40851 * iconvdata/testdata/CP771..UTF8: New file.
40852 * iconvdata/testdata/CP772: New file.
40853 * iconvdata/testdata/CP772..UTF8: New file.
40854 * iconvdata/testdata/CP773: New file.
40855 * iconvdata/testdata/CP773..UTF8: New file.
40856 * iconvdata/testdata/CP774: New file.
40857 * iconvdata/testdata/CP774..UTF8: New file.
40859 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40861 * iconvdata/gen-8bit-gap.sh: Likewise.
40862 * iconvdata/gen-8bit.sh: Likewise.
40864 * locale/iso-639.def: Add ary entry.
40867 * locale/C-translit.h.in: Add U20A1 transliteration.
40870 * locale/iso-639.def: Add wae entry.
40871 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40874 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40878 * locale/C-translit.h.in: Add entry for U20B9.
40879 Patch by pravin.d.s@gmail.com.
40881 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40884 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40885 ENAMETOOLONG use generic getcwd.
40886 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40887 in rtld. Use *stat64.
40888 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40889 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40890 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40891 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40892 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40893 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40894 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40895 __fstatat64 macros.
40896 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40897 * dirent/rewinddir.c: Add libc_hidden_def.
40898 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40899 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40901 * include/dirent.h (__alloc_dir): Add flags parameter.
40902 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40903 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40905 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40906 from fdopendir if O_CLOEXEC is already set.
40908 2011-03-15 Alan Modra <amodra@gmail.com>
40910 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40911 l_tls_firstbyte_offset non-zero. Save padding offset in
40912 l_tls_firstbyte_offset for later use.
40913 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40914 freeing static tls block.
40916 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40918 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40919 where #ifdef was intended. The intent is to prevent ARG_MAX from
40920 being defined by the kernel headers.
40922 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40925 * resolv/resolv.h: Define RES_NOTLDQUERY.
40926 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40927 no-tld-query and set RES_NOTLDQUERY.
40928 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40929 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40930 modern BIND to search name as TLD unless forbidden.
40932 2011-05-07 Petr Baudis <pasky@suse.cz>
40933 Ulrich Drepper <drepper@gmail.com>
40936 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40937 (is_trusted_path): ...to here.
40938 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40939 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40940 using is_trusted_path_normalize() in setuid scripts.
40942 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40944 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40945 __BEGIN/__END_DECLS.
40947 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40950 NSS_STATUS_NOTFOUND if no record was found.
40952 2011-05-05 Andreas Schwab <schwab@redhat.com>
40954 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40955 (headers-not-in-tirpc): Remove rpc/netdb.h
40956 * resolv/netdb.h: Revert last change.
40958 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40960 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40961 circular dependency between libgcc.a and libc.a.
40963 2011-05-05 Andreas Schwab <schwab@redhat.com>
40965 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40966 * nis/Makefile: Don't install rpcsvc/*.
40967 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40968 instead of <rpc/types.h>.
40969 (MAXHOSTNAMELEN): Define.
40971 2011-05-03 Andreas Schwab <schwab@redhat.com>
40973 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40975 2011-04-28 Maciej Babinski <mbabinski@google.com>
40978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40979 gethostbyname4_r when IPv6 results are possible.
40981 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40984 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40985 _PC_PIPE_BUF handling.
40987 2011-04-30 Bruno Haible <bruno@clisp.org>
40990 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40991 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40993 * inet/getnameinfo.c (getnameinfo): Likewise.
40995 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40997 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40998 to groups setting in database lookup.
40999 * nss/nsswitch.conf: Add initgroups entry.
41001 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41004 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41006 Patch by Eric Blake <eblake@redhat.com>.
41008 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41010 * sunrpc/Makefile (need-export-routines): Add svc_run.
41011 (routines): Remove svc_run.
41012 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41013 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41014 * sunrpc/svc_run.c (svc_run): Likewise.
41015 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41017 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41020 problem in reallocation in last patch.
41022 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41024 * sunrpc/Makefile: Move inclusion of Rules.
41026 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41028 * nss/nss_files/files-initgroups.c: New file.
41029 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41030 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41031 _nss_files_initgroups_dyn.
41033 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41035 * elf/elf.h (R_ARM_IRELATIVE): Define.
41037 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41039 * po/ru.po: Update from translation team.
41041 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41043 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41046 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41049 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41050 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41052 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41053 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41055 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41057 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41059 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41063 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41066 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41068 * stdlib/bug-getcontext.c: New file.
41069 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41071 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41073 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41074 instructions into .machine "z9-109".
41075 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41076 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41078 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41080 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41081 between environment variables and auxiliary vector.
41083 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41085 * Makefile: Add rules to build linkobj/libc.so.
41086 * include/libc-symbols.h: Define libc_hidden_nolink.
41087 * include/rpc/auth.h: Mark functions which are to be hidden.
41088 * include/rpc/auth_des.h: Likewise.
41089 * include/rpc/auth_unix.h: Likewise.
41090 * include/rpc/clnt.h: Likewise.
41091 * include/rpc/des_crypt.h: Likewise.
41092 * include/rpc/key_prot.h: Likewise.
41093 * include/rpc/pmap_clnt.h: Likewise.
41094 * include/rpc/pmap_prot.h: Likewise.
41095 * include/rpc/pmap_rmt.h: Likewise.
41096 * include/rpc/rpc_msg.h: Likewise.
41097 * include/rpc/svc.h: Likewise.
41098 * include/rpc/svc_auth.h: Likewise.
41099 * include/rpc/xdr.h: Likewise.
41100 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41101 * nss/Makefile: Likewise.
41102 * sunrpc/Makefile: Don't install headers. Build library with normal
41103 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41104 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41105 for the compat linking library. Remove use of INTDEF/INTUSE.
41106 * sunrpc/auth_none.c: Likewise.
41107 * sunrpc/auth_unix.c: Likewise.
41108 * sunrpc/authdes_prot.c: Likewise.
41109 * sunrpc/authuxprot.c: Likewise.
41110 * sunrpc/clnt_gen.c: Likewise.
41111 * sunrpc/clnt_perr.c: Likewise.
41112 * sunrpc/clnt_raw.c: Likewise.
41113 * sunrpc/clnt_simp.c: Likewise.
41114 * sunrpc/clnt_tcp.c: Likewise.
41115 * sunrpc/clnt_udp.c: Likewise.
41116 * sunrpc/clnt_unix.c: Likewise.
41117 * sunrpc/des_crypt.c: Likewise.
41118 * sunrpc/des_soft.c: Likewise.
41119 * sunrpc/get_myaddr.c: Likewise.
41120 * sunrpc/key_call.c: Likewise.
41121 * sunrpc/key_prot.c: Likewise.
41122 * sunrpc/netname.c: Likewise.
41123 * sunrpc/pm_getmaps.c: Likewise.
41124 * sunrpc/pm_getport.c: Likewise.
41125 * sunrpc/pmap_clnt.c: Likewise.
41126 * sunrpc/pmap_prot.c: Likewise.
41127 * sunrpc/pmap_prot2.c: Likewise.
41128 * sunrpc/pmap_rmt.c: Likewise.
41129 * sunrpc/publickey.c: Likewise.
41130 * sunrpc/rpc_cmsg.c: Likewise.
41131 * sunrpc/rpc_common.c: Likewise.
41132 * sunrpc/rpc_dtable.c: Likewise.
41133 * sunrpc/rpc_prot.c: Likewise.
41134 * sunrpc/rpc_thread.c: Likewise.
41135 * sunrpc/rtime.c: Likewise.
41136 * sunrpc/svc.c: Likewise.
41137 * sunrpc/svc_auth.c: Likewise.
41138 * sunrpc/svc_authux.c: Likewise.
41139 * sunrpc/svc_raw.c: Likewise.
41140 * sunrpc/svc_run.c: Likewise.
41141 * sunrpc/svc_simple.c: Likewise.
41142 * sunrpc/svc_tcp.c: Likewise.
41143 * sunrpc/svc_udp.c: Likewise.
41144 * sunrpc/svc_unix.c: Likewise.
41145 * sunrpc/svcauth_des.c: Likewise.
41146 * sunrpc/xcrypt.c: Likewise.
41147 * sunrpc/xdr.c: Likewise.
41148 * sunrpc/xdr_array.c: Likewise.
41149 * sunrpc/xdr_float.c: Likewise.
41150 * sunrpc/xdr_intXX_t.c: Likewise.
41151 * sunrpc/xdr_mem.c: Likewise.
41152 * sunrpc/xdr_rec.c: Likewise.
41153 * sunrpc/xdr_ref.c: Likewise.
41154 * sunrpc/xdr_sizeof.c: Likewise.
41155 * sunrpc/xdr_stdio.c: Likewise.
41157 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41160 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41161 * sysdeps/ia64/dl-tls.h: Likewise.
41162 * sysdeps/powerpc/dl-tls.h: Likewise.
41163 * sysdeps/s390/dl-tls.h: Likewise.
41164 * sysdeps/sh/dl-tls.h: Likewise.
41165 * sysdeps/sparc/dl-tls.h: Likewise.
41166 * sysdeps/x86_64/dl-tls.h: Likewise.
41167 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41169 2011-03-14 Andreas Schwab <schwab@redhat.com>
41171 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41172 rpath element also skip the following colon.
41173 (expand_dynamic_string_token): Add is_path parameter and pass
41174 down to DL_DST_REQUIRED and _dl_dst_substitute.
41175 (decompose_rpath): Call expand_dynamic_string_token with
41176 non-zero is_path. Ignore empty rpaths.
41177 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41180 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41185 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41188 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41189 Patch by Filipe David Manana <fdmanana@apache.org>.
41191 2011-04-07 Andreas Schwab <schwab@redhat.com>
41193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41194 Maintain aligned stack.
41195 (CHECK_RSP): Remove unused macro.
41197 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41199 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41200 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41202 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41204 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41206 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41208 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41211 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41212 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41213 * sysdeps/x86_64/memmove.c: New file.
41214 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41215 (memcpy): Renamed to ...
41216 (__new_memcpy): This.
41217 (memcpy): Provide GLIBC_2_14 memcpy.
41218 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41219 (memcpy): Provide GLIBC_2_2_5 memcpy.
41221 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41224 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41226 2011-03-30 Andreas Schwab <schwab@redhat.com>
41228 * misc/syncfs.c: New file.
41229 * misc/Makefile (routines): Add syncfs.
41230 * posix/unistd.h: Declare syncfs.
41231 * sysdeps/unix/syscalls.list: Add syncfs.
41233 2011-04-01 Andreas Schwab <schwab@redhat.com>
41235 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41237 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41238 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41240 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41242 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41245 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41249 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41255 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41256 sync_file_range.c with -fexceptions.
41257 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41258 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41259 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41260 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41261 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41262 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41264 sync_file_range as cancellation point
41265 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41266 now a wrapper around __call_sync_file_range with cancellation handling.
41267 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41268 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41269 function name to __call_sync_file_range.
41270 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41271 Add call_sync_file_range.
41273 2011-04-01 Andreas Schwab <schwab@redhat.com>
41275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41278 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41280 * iconv/iconv.h: Fix typo in comment.
41281 * io/fcntl.h: Likewise.
41282 * libio/stdio.h: Likewise.
41283 * posix/spawn.h: Likewise.
41284 * posix/unistd.h: Likewise.
41285 * stdlib/stdlib.h: Likewise.
41286 * time/time.h: Likewise.
41287 * wcsmbs/wchar.h: Likewise.
41289 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41290 open_by_handle): Add.
41291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41292 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41293 Augment a few comments.
41294 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41296 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41299 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41302 * io/fcntl.h (AT_EMPTY_PATH): Define.
41304 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41306 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41307 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41308 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41310 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41311 * Versions.def: Add GLIBC_2.14.
41312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41315 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41317 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41319 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41321 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41324 * string/test-strncmp.c (do_page_test): New function.
41325 (check2): Likewise.
41326 (test_main): Call check2.
41327 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41329 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41333 Handle cache information in CPU leaf 4.
41334 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41336 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41339 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41340 character representation.
41341 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41343 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41345 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41346 END(__isnan) to END(__isnanf) to match function entry point/label
41347 EALIGN(__isnanf,...).
41349 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41351 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41353 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41356 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41357 copy from the symbol referenced in the relocation to initialize the
41359 Patch by Piotr Bury <pbury@goahead.com>.
41360 * elf/Makefile: Add rules to build and tst-unique3.
41361 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41362 * elf/tst-unique3.cc: New file.
41363 * elf/tst-unique3.h: New file.
41364 * elf/tst-unique3lib.cc: New file.
41365 * elf/tst-unique3lib2.cc: New file.
41367 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41369 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41371 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41372 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41375 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41377 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41378 to-be-loaded object along a path to loader is ld.so.
41380 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41381 Ulrich Drepper <drepper@gmail.com>
41383 * sysdeps/x86_64/memset.S: After aligning destination, code
41384 branches to different locations depending on the value of
41385 misalignment, when multiarch is enabled. Fix this.
41387 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41389 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41390 Set _x86_64_preferred_memory_instruction for AMD processsors.
41391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41392 Set bit_Prefer_SSE_for_memop for AMD processors.
41394 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41396 * libio/fmemopen.c (fmemopen): Optimize a bit.
41398 2011-03-03 Andreas Schwab <schwab@redhat.com>
41400 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41402 2011-03-03 Roland McGrath <roland@redhat.com>
41404 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41406 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41408 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41409 __bzero_ultra1 instead of __memset_ultra1.
41411 2011-02-23 Andreas Schwab <schwab@redhat.com>
41412 Ulrich Drepper <drepper@gmail.com>
41415 * include/link.h (struct link_map): Add l_orig_initfini.
41416 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41417 returning unsuccessfully.
41418 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41419 close of a file loaded at startup, restore the original l_initfini
41421 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41422 list, store the pointer.
41423 * elf/Makefile ($(objpfx)noload-mem): New rule.
41424 (noload-ENV): Define.
41425 (tests): Add $(objpfx)noload-mem.
41426 * elf/noload.c: Include <memcheck.h>.
41427 (main): Call mtrace. Close all opened handles.
41429 2011-02-17 Andreas Schwab <schwab@redhat.com>
41432 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41433 dependencies are missing.
41435 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41437 Fix __if_freereq crash: Unlike the generic version which uses free,
41439 * sysdeps/mach/hurd/ifreq.h: New file.
41441 2011-01-27 Petr Baudis <pasky@suse.cz>
41442 Ulrich Drepper <drepper@gmail.com>
41445 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41446 to extend_alloca().
41447 * stdio-common/bug23.c: New file.
41448 * stdio-common/Makefile (tests): Add bug23.
41450 2010-09-28 Andreas Schwab <schwab@redhat.com>
41451 Ulrich Drepper <drepper@gmail.com>
41454 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41455 before performing relro protection. At old place add assertion
41456 to make sure nothing changed.
41458 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41459 Glauber de Oliveira Costa <glommer@gmail.com>
41461 * elf/elf.h: Add new ARM TLS relocs.
41463 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41466 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41468 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41470 * sysdeps/wordsize-64/tst-writev.c: New file.
41472 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41474 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41475 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41476 insns in _dl_start to prevent a TOC reference before relocs are
41479 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41482 * Makeconfig: Remove RANLIB definition.
41483 * Makerules: Don't use RANLIB.
41484 * aclocal.m4: Remove ranlib test.
41485 * configure.in: No need to check for ranlib.
41486 * elf/rtld-Rules: Don't use RANLIB.
41488 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41490 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41492 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41493 inclusion protection macro.
41495 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41496 SIGRTMIN and SIGRTMAX and print information in that case only when
41497 SIGRTMIN is defined.
41499 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41501 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41502 arginfo fn returning -1.
41504 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41505 and thousands string is zero terminated.
41507 2011-02-03 Andreas Schwab <schwab@redhat.com>
41509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41510 sysdeps/unix/sysv/linux/bits/socket.h.
41512 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41514 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41515 (__CPU_COUNT): Remove old macros.
41516 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41517 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41518 (__CPU_ALLOC, __CPU_FREE): Add macros.
41519 (__sched_cpualloc, __sched_cpufree): Add declarations.
41521 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41523 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41524 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41525 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41526 (readdhstai): Return value of addhstaiX call.
41527 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41528 (addgrbyX): Return value returned by cache_addgr.
41529 (readdgrbyname): Return value returned by addgrbyX.
41530 (readdgrbygid): Likewise.
41531 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41532 (addpwbyX): Return value returned by cache_addpw.
41533 (readdpwbyname): Return value returned by addhstbyX.
41534 (readdpwbyuid): Likewise.
41535 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41536 (addservbyX): Return value returned by cache_addserv.
41537 (readdservbyname): Return value returned by addservbyX:
41538 (readdservbyport): Likewise.
41539 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41540 (addhstbyX): Return value returned by cache_addhst.
41541 (readdhstbyname): Return value returned by addhstbyX.
41542 (readdhstbyaddr): Likewise.
41543 (readdhstbynamev6): Likewise.
41544 (readdhstbyaddrv6): Likewise.
41545 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41546 (readdinitgroups): Return value returned by addinitgroupsX.
41547 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41548 (prune_cache): Keep track of timeout value of re-added entries.
41549 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41550 * nscd/nscd.h: Adjust prototypes of readd* functions.
41552 2011-02-04 Roland McGrath <roland@redhat.com>
41554 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41555 (nis_stats): Likewise.
41556 * nis/nis_modify.c (nis_modify): Likewise.
41557 * nis/nis_remove.c (nis_remove): Likewise.
41558 * nis/nis_add.c (nis_add): Likewise.
41560 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41562 * posix/fnmatch_loop.c: Add some consts.
41564 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41566 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41569 * config.make.in (config-cflags-novzeroupper): Define.
41570 * configure.in: Substitute libc_cv_cc_novzeroupper.
41571 * elf/Makefile (AVX-CFLAGS): Define.
41572 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41573 (CFLAGS-tst-auditmod4a.c): Likewise.
41574 (CFLAGS-tst-auditmod4b.c): Likewise.
41575 (CFLAGS-tst-auditmod6b.c): Likewise.
41576 (CFLAGS-tst-auditmod6c.c): Likewise.
41577 (CFLAGS-tst-auditmod7b.c): Likewise.
41578 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41580 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41582 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41583 function to the callback.
41584 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41586 2011-02-02 Andreas Schwab <schwab@redhat.com>
41588 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41591 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41594 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41596 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41598 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41601 * elf/Makefile: Add rules to build and run new test.
41602 * elf/tst-initorder.c: New file.
41603 * elf/tst-initorder.exp: New file.
41604 * elf/tst-initordera1.c: New file.
41605 * elf/tst-initordera2.c: New file.
41606 * elf/tst-initordera3.c: New file.
41607 * elf/tst-initordera4.c: New file.
41608 * elf/tst-initorderb1.c: New file.
41609 * elf/tst-initorderb2.c: New file.
41610 * elf/tst-order-a1.c: New file.
41611 * elf/tst-order-a2.c: New file.
41612 * elf/tst-order-a3.c: New file.
41613 * elf/tst-order-a4.c: New file.
41614 * elf/tst-order-b1.c: New file.
41615 * elf/tst-order-b2.c: New file.
41616 * elf/tst-order-main.c: New file.
41617 New test case by George Gensure <werkt0@gmail.com>.
41619 2010-10-01 Andreas Schwab <schwab@redhat.com>
41621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41622 decoding ACE if AI_CANONIDN.
41624 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41626 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41628 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41630 * version.h (RELEASE): Bump for 2.13 release.
41631 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41633 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41635 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41637 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41639 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41640 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41641 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41642 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41644 * posix/getconf.c: Update copyright year.
41645 * catgets/gencat.c: Likewise.
41646 * csu/version.c: Likewise.
41647 * debug/catchsegv.sh: Likewise.
41648 * debug/xtrace.sh: Likewise.
41649 * elf/ldconfig.c: Likewise.
41650 * elf/ldd.bash.in: Likewise.
41651 * elf/sprof.c (print_version): Likewise.
41652 * iconv/iconv_prog.c: Likewise.
41653 * iconv/iconvconfig.c: Likewise.
41654 * locale/programs/locale.c: Likewise.
41655 * locale/programs/localedef.c: Likewise.
41656 * malloc/memusage.sh: Likewise.
41657 * malloc/mtrace.pl: Likewise.
41658 * nscd/nscd.c (print_version): Likewise.
41659 * nss/getent.c: Likewise.
41661 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41662 PF_CAIF, and PF_ALG.
41663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41665 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41667 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41668 (modules-names): Use them.
41669 (ifunc-test-modules, ifunc-pie-tests): Define.
41670 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41671 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41672 (test-extras): Likewise.
41673 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41674 $(compile-command.c).
41675 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41676 (all-built-dso): Define.
41677 (check-textrel.out, check-execstack.out): Depend on it.
41679 * configure.in: Don't override --enable-multi-arch.
41681 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41684 * nscd/hstcache.c (tryagain): Define.
41685 (cache_addhst): Return tryagain not notfound for temporary errors.
41686 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41689 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41692 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41693 to make the syscall.
41694 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41697 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41698 and fall back to matching as normal character if the string ends before
41699 the matching ']' is found. This is what POSIX requires.
41700 * posix/testfnm.c: Adjust test result.
41701 * posix/globtest.sh: Adjust test result. Add new test.
41702 * posix/tst-fnmatch.input: Likewise.
41703 * posix/tst-fnmatch2.c: Add new test.
41705 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41707 * elf/Makefile (check-execstack): Revert last change. Depend on
41709 (check-execstack.h): New target.
41710 (generated): Add check-execstack.h.
41711 * elf/check-execstack.c: Include "check-execstack.h".
41712 (main): Revert last change.
41713 (handle_file): Return zero if GNU_STACK is absent and
41714 DEFAULT_STACK_PERMS doesn't include PF_X.
41716 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41718 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41719 in child fails because the descriptor is already closed.
41720 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41721 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41722 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41725 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41729 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41730 temporary buffer used to handle multi lookups locally.
41731 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41733 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41735 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41738 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41740 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41741 alignment for SSE2.
41743 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41746 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41747 characters. When rounding increased number of integer digits recompute
41749 * stdio-common/tst-grouping.c: New file.
41750 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41752 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41754 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41755 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41757 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41759 * bits/select.h: Likewise.
41761 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41763 * po/ja.po: Update from translation team.
41765 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41768 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41769 implementation just like for lxstat, fxstatat, et al.
41771 2010-12-27 Jim Meyering <meyering@redhat.com>
41774 * posix/regexec.c (build_trtable): Return failure indication upon
41775 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41777 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41780 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41781 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41782 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41783 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41786 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41789 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41790 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41792 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41794 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41795 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41796 script has SORT_BY_INIT_PRIORITY.
41797 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41798 NO_CTORS_DTORS_SECTIONS is defined.
41799 * elf/soinit.c: Likewise.
41800 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41801 NO_CTORS_DTORS_SECTIONS is defined.
41802 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41803 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41804 * sysdeps/sh/init-first.c: Likewise.
41805 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41807 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41809 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41810 always use the slow path.
41812 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41814 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41815 similar rule which adds the sysdep directories to the header search in
41816 order to pick up the correct platform stackinfo.h.
41817 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41818 perform test if it is, otherwise return successfully without testing.
41819 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41820 DEFAULT_STACK_PERMS define in stackinfo.h.
41821 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41822 defined in stackinfo.h.
41823 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41824 DEFAULT_STACK_PERMS defined in stackinfo.h.
41825 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41826 * sysdeps/ia64/stackinfo.h: Likewise.
41827 * sysdeps/s390/stackinfo.h: Likewise.
41828 * sysdeps/sh/stackinfo.h: Likewise.
41829 * sysdeps/sparc/stackinfo.h: Likewise.
41830 * sysdeps/x86_64/stackinfo.h: Likewise.
41831 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41832 PF_X for powerpc64. Retain PF_X for powerpc32.
41834 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41836 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41838 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41839 GETDENTS_64BIT_ALIGNED.
41841 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41843 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41845 2010-12-10 Andreas Schwab <schwab@redhat.com>
41847 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41850 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41851 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41853 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41854 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41856 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41859 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41862 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41864 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41866 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41868 * po/it.po: Update from translation team.
41870 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41875 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41877 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41879 2010-11-24 Andreas Schwab <schwab@redhat.com>
41881 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41883 (gaih_getanswer_slice): Likewise.
41885 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41889 2010-05-31 Petr Baudis <pasky@suse.cz>
41892 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41893 silently even in the chroot mode.
41895 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41897 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41898 last patch a bit. Pretty printing
41900 2010-05-31 Petr Baudis <pasky@suse.cz>
41903 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41904 initialization of skip_initgroups_dyn.
41906 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41908 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41911 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41913 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41915 2010-11-11 Andreas Schwab <schwab@redhat.com>
41917 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41918 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41919 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41920 ($(objpfx)tst-fnmatch-mem): New rule.
41921 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41922 * posix/tst-fnmatch.c (main): Call mtrace.
41924 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41927 Support Intel processor model 6 and model 0x2c.
41929 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41931 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41934 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41937 * string/test-strncasecmp.c (check_result): New function.
41938 (do_one_test): Use it.
41939 (check1): New function.
41940 (test_main): Use it.
41941 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41942 Support strcasecmp and strncasecmp.
41944 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41947 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41950 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41952 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41956 * sysdeps/x86_64/multiarch/bzero.S: New file.
41957 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41958 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41959 * sysdeps/x86_64/multiarch/memset.S: New file.
41960 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41962 Set bit_Prefer_SSE_for_memop for Intel processors.
41963 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41965 (index_Prefer_SSE_for_memop): Define.
41966 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41968 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41970 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41971 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41973 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41976 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41977 (__x86_64_raw_data_cache_size_half): Likewise.
41978 (__x86_64_raw_shared_cache_size): Likewise.
41979 (__x86_64_raw_shared_cache_size_half): Likewise.
41981 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41982 (__x86_64_raw_data_cache_size_half): Likewise.
41983 (__x86_64_raw_shared_cache_size): Likewise.
41984 (__x86_64_raw_shared_cache_size_half): Likewise.
41985 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41986 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41987 and __x86_64_raw_shared_cache_size_half. Round
41988 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41989 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41990 to multiple of 256 bytes.
41992 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41995 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41996 of inacessible symlinks. Verify result of symlink before returning it.
41997 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41998 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42000 2010-10-28 Erich Ritz <erichritz@gmail.com>
42002 * math/math.h (isinf): Fix typo in comment.
42004 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42006 * po/da.po: Update from translation team.
42008 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42010 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42011 is added to the list.
42013 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42014 Ulrich Drepper <drepper@gmail.com>
42016 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42017 the global list here. Move code to...
42018 (_dl_add_to_namespace_list): ...here. New function.
42019 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42020 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42021 * elf/dl-load.c (lose): Don't remove the element from the list.
42022 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42023 (_dl_map_object): Likewise.
42025 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42028 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42029 into all bytes of SSE register.
42030 Patch by Richard Li <richardpku@gmail.com>.
42032 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42035 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42038 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42040 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42041 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42042 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42043 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42048 2010-10-22 Andreas Schwab <schwab@redhat.com>
42050 * include/dlfcn.h (__RTLD_SECURE): Define.
42051 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42052 mode & __RTLD_SECURE instead.
42053 (open_path): Rename preloaded parameter to secure.
42054 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42055 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42056 * elf/dl-deps.c (openaux): Likewise.
42057 * elf/rtld.c (struct map_args): Remove is_preloaded.
42058 (map_doit): Don't use it.
42059 (dl_main): Likewise.
42060 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42061 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42063 2010-09-09 Andreas Schwab <schwab@redhat.com>
42065 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42066 (sysd-rules-targets): Remove duplicates.
42067 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42068 rtld-%.$o dependency.
42070 2010-10-18 Andreas Schwab <schwab@redhat.com>
42072 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42073 _dl_map_object do it.
42075 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42077 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42078 fast fma builtins, define the macros in the C99 standard.
42079 (FP_FAST_FMAF): Likewise.
42080 (FP_FAST_FMAL): Likewise.
42081 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42083 * bits/mathdef.h: Update copyright year.
42084 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42086 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42088 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42089 builtins, define the macros in the C99 standard.
42090 (FP_FAST_FMAF): Likewise.
42091 (FP_FAST_FMAL): Likewise.
42092 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42094 (FP_FAST_FMAF): Likewise.
42096 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42099 * math/libm-test.inc (fma_test): Some new testcases.
42100 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42102 y and infinite z. Do multiplication by C already in long double.
42103 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42105 y and infinite z. Do bitwise or of inexact bit into u.d.
42106 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42107 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42108 * sysdeps/i386/fpu/s_fma.S: Removed.
42109 * sysdeps/i386/fpu/s_fmal.S: Removed.
42111 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42114 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42116 computation is not scheduled after fetestexcept. Fix value
42117 of minimum denormal long double.
42119 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42122 * math/libm-test.inc (fma_test): Add some more tests.
42123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42126 2010-10-15 Andreas Schwab <schwab@redhat.com>
42128 * scripts/data/localplt-s390-linux-gnu.data: New file.
42129 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42131 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42134 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42135 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42137 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42139 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42141 if one of x and y is very large and the other is subnormal.
42142 * sysdeps/s390/fpu/s_fmaf.c: New file.
42143 * sysdeps/s390/fpu/s_fma.c: New file.
42144 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42145 * sysdeps/powerpc/fpu/s_fma.S: New file.
42146 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42147 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42148 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42150 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42153 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42155 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42156 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42157 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42158 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42159 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42160 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42161 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42163 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42166 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42167 * posix/bug-regex31.input: Add test case.
42169 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42171 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42172 * posix/bug-regex31.input: New file.
42175 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42176 (parse_sub_exp): Fix last change, use postorder.
42178 * posix/bug-regex31.c: New file.
42179 * posix/Makefile: Add rules to build and run bug-regex31.
42181 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42184 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42187 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42188 to have entries in sys_siglist.
42191 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42194 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42197 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42198 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42199 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42200 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42201 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42202 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42203 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42204 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42205 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42206 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42207 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42208 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42209 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42210 * math/ftestexcept.c (fetestexcept): Likewise.
42211 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42212 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42213 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42214 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42215 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42216 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42217 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42219 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42222 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42225 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42227 * string/bug-strstr1.c: New file.
42228 * string/Makefile: Add rules to build and run bug-strstr1.
42230 2010-10-05 Eric Blake <eblake@redhat.com>
42233 * string/str-two-way.h (two_way_long_needle): Always clear memory
42234 when skipping input due to the shift table.
42236 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42239 * malloc/mcheck.c: Handle large requests.
42242 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42243 for strncmp and strncasecmp.
42244 * string/stratcliff.c: Add tests for strcmp and strncmp.
42245 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42247 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42249 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42252 2010-09-30 Andreas Jaeger <aj@suse.de>
42254 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42255 (CGROUP_SUPER_MAGIC): Define.
42256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42257 Handle btrfs and cgroup file systems.
42258 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42261 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42263 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42264 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42266 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42269 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42270 trying to locate the ELF header.
42272 2010-09-27 Andreas Schwab <schwab@redhat.com>
42275 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42276 Mask out sign-bit copies when constructing f_fsid.
42278 2010-09-24 Petr Baudis <pasky@suse.cz>
42280 * debug/stack_chk_fail_local.c: Add missing licence exception.
42281 * debug/warning-nop.c: Likewise.
42283 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42285 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42286 implementing getdents64 using getdents syscall, set d_type if
42287 __ASSUME_GETDENTS32_D_TYPE.
42289 2010-09-16 Andreas Schwab <schwab@redhat.com>
42291 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42292 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42294 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42297 * posix/unistd.h: Undo change of feature selection for ftruncate from
42300 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42302 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42305 2010-09-20 Andreas Schwab <schwab@redhat.com>
42307 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42309 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42311 2010-09-14 Andreas Schwab <schwab@redhat.com>
42313 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42314 variables after CHECK_SP call.
42315 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42317 2010-09-13 Andreas Schwab <schwab@redhat.com>
42318 Ulrich Drepper <drepper@redhat.com>
42320 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42321 re-relocationg ld.so.
42322 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42323 _dl_init_paths call.
42324 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42327 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42329 * resolv/res_init.c (__res_vinit): Count the default server we added.
42331 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42332 Ulrich Drepper <drepper@redhat.com>
42335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42336 (____longjmp_chk): Use %ebx for saving value across system call.
42339 2010-09-06 Andreas Schwab <schwab@redhat.com>
42341 * manual/Makefile: Don't mix pattern rules with normal rules.
42343 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42345 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42347 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42348 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42349 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42350 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42354 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42357 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42358 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42360 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42362 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42363 * sysdeps/x86_64/addmul_1.S: Likewise.
42364 * sysdeps/x86_64/lshift.S: Likewise.
42365 * sysdeps/x86_64/mul_1.S: Likewise.
42366 * sysdeps/x86_64/rshift.S: Likewise.
42367 * sysdeps/x86_64/sub_n.S: Likewise.
42368 * sysdeps/x86_64/submul_1.S: Likewise.
42370 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42372 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42373 Define __sched_param instead of SCHED_* and sched_param when
42374 <bits/sched.h> is included with __need_schedparam defined.
42375 * bits/sched.h [__need_schedparam]
42376 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42377 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42378 (__defined_schedparam): Define to 1.
42379 (__sched_param): New structure, identical to sched_param.
42380 (__need_schedparam): Undefine.
42382 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42385 (epoll_create1): Declare.
42387 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42389 2010-08-31 Andreas Schwab <schwab@redhat.com>
42392 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42393 shifting retval into place.
42395 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42397 * nis/rpcsvc/nis.h: Update copyright notice.
42398 * nis/rpcsvc/nis.x: Likewise.
42399 * nis/rpcsvc/nis_callback.h: Likewise.
42400 * nis/rpcsvc/nis_callback.x: Likewise.
42401 * nis/rpcsvc/nis_object.x: Likewise.
42402 * nis/rpcsvc/nis_tags.h: Likewise.
42403 * nis/rpcsvc/yp.h: Likewise.
42404 * nis/rpcsvc/yp.x: Likewise.
42405 * nis/rpcsvc/ypupd.h: Likewise.
42406 * nis/yp_xdr.c: Likewise.
42407 * nis/ypupdate_xdr.c: Likewise.
42409 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42410 mainly the body of pmap_getport. Add parameters to specify timeouts.
42411 (pmap_getport): Use __libc_rpc_getport.
42412 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42413 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42414 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42416 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42421 2010-08-27 Roland McGrath <roland@redhat.com>
42423 * sysdeps/i386/i686/multiarch/Makefile
42424 (CFLAGS-varshift.c): New variable.
42426 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42428 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42429 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42433 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42435 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42437 * sysdeps/x86_64/strlen.S: Unroll the loop.
42438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42439 strlen-sse2 strlen-sse2-bsf.
42440 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42441 __strlen_no_bsf if bit_Slow_BSF is set.
42442 (__strlen_sse42): Removed.
42443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42444 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42446 2010-08-25 Roland McGrath <roland@redhat.com>
42448 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42449 * sysdeps/x86_64/multiarch/varshift.c: New file.
42450 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42451 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42452 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42453 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42455 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42458 strlen-sse2 strlen-sse2-bsf.
42459 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42460 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42461 (__strlen_sse2): Removed.
42462 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42465 bit_Slow_BSF for Atom.
42466 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42467 (index_Slow_BSF): Define.
42468 (HAS_SLOW_BSF): Define.
42470 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42473 * resolv/res_init.c (__res_vinit): When no server address at all
42474 is given default to loopback.
42476 2010-08-24 Roland McGrath <roland@redhat.com>
42478 * configure.in: Remove config-name.h generation.
42479 * configure: Regenerated.
42480 * config-name.in: File removed.
42481 * scripts/config-uname.sh: New file.
42482 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42483 ($(objdir)config-name.h): New target.
42485 * sunrpc/rpc_parse.h: Avoid nested comment.
42487 2010-08-24 Richard Henderson <rth@redhat.com>
42488 Ulrich Drepper <drepper@redhat.com>
42489 H.J. Lu <hongjiu.lu@intel.com>
42491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42493 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42494 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42495 _mm_alignr_epi8 with _mm_loadu_si128.
42496 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42497 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42498 (__m128i_shift_right): Removed.
42499 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42500 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42501 * sysdeps/x86_64/multiarch/varshift.h: New file.
42502 * sysdeps/x86_64/multiarch/varshift.S: New file.
42504 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42506 * configure.in: Move assembler checks to before sysdep dir checking.
42508 2010-08-20 Petr Baudis <pasky@suse.cz>
42510 * LICENSES: Sync the sunrpc license.
42512 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42514 * sunrpc/auth_des.c: Update copyright notice once again.
42515 * sunrpc/auth_none.c: Likewise.
42516 * sunrpc/auth_unix.c: Likewise.
42517 * sunrpc/authdes_prot.c: Likewise.
42518 * sunrpc/authuxprot.c: Likewise.
42519 * sunrpc/bindrsvprt.c: Likewise.
42520 * sunrpc/clnt_gen.c: Likewise.
42521 * sunrpc/clnt_perr.c: Likewise.
42522 * sunrpc/clnt_raw.c: Likewise.
42523 * sunrpc/clnt_simp.c: Likewise.
42524 * sunrpc/clnt_tcp.c: Likewise.
42525 * sunrpc/clnt_udp.c: Likewise.
42526 * sunrpc/clnt_unix.c: Likewise.
42527 * sunrpc/des_crypt.c: Likewise.
42528 * sunrpc/des_soft.c: Likewise.
42529 * sunrpc/get_myaddr.c: Likewise.
42530 * sunrpc/getrpcport.c: Likewise.
42531 * sunrpc/key_call.c: Likewise.
42532 * sunrpc/key_prot.c: Likewise.
42533 * sunrpc/openchild.c: Likewise.
42534 * sunrpc/pm_getmaps.c: Likewise.
42535 * sunrpc/pm_getport.c: Likewise.
42536 * sunrpc/pmap_clnt.c: Likewise.
42537 * sunrpc/pmap_prot.c: Likewise.
42538 * sunrpc/pmap_prot2.c: Likewise.
42539 * sunrpc/pmap_rmt.c: Likewise.
42540 * sunrpc/rpc/auth.h: Likewise.
42541 * sunrpc/rpc/auth_unix.h: Likewise.
42542 * sunrpc/rpc/clnt.h: Likewise.
42543 * sunrpc/rpc/des_crypt.h: Likewise.
42544 * sunrpc/rpc/key_prot.h: Likewise.
42545 * sunrpc/rpc/netdb.h: Likewise.
42546 * sunrpc/rpc/pmap_clnt.h: Likewise.
42547 * sunrpc/rpc/pmap_prot.h: Likewise.
42548 * sunrpc/rpc/pmap_rmt.h: Likewise.
42549 * sunrpc/rpc/rpc.h: Likewise.
42550 * sunrpc/rpc/rpc_des.h: Likewise.
42551 * sunrpc/rpc/rpc_msg.h: Likewise.
42552 * sunrpc/rpc/svc.h: Likewise.
42553 * sunrpc/rpc/svc_auth.h: Likewise.
42554 * sunrpc/rpc/types.h: Likewise.
42555 * sunrpc/rpc/xdr.h: Likewise.
42556 * sunrpc/rpc_clntout.c: Likewise.
42557 * sunrpc/rpc_cmsg.c: Likewise.
42558 * sunrpc/rpc_common.c: Likewise.
42559 * sunrpc/rpc_cout.c: Likewise.
42560 * sunrpc/rpc_dtable.c: Likewise.
42561 * sunrpc/rpc_hout.c: Likewise.
42562 * sunrpc/rpc_main.c: Likewise.
42563 * sunrpc/rpc_parse.c: Likewise.
42564 * sunrpc/rpc_parse.h: Likewise.
42565 * sunrpc/rpc_prot.c: Likewise.
42566 * sunrpc/rpc_sample.c: Likewise.
42567 * sunrpc/rpc_scan.c: Likewise.
42568 * sunrpc/rpc_scan.h: Likewise.
42569 * sunrpc/rpc_svcout.c: Likewise.
42570 * sunrpc/rpc_tblout.c: Likewise.
42571 * sunrpc/rpc_util.c: Likewise.
42572 * sunrpc/rpc_util.h: Likewise.
42573 * sunrpc/rpcinfo.c: Likewise.
42574 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42575 * sunrpc/rpcsvc/key_prot.x: Likewise.
42576 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42577 * sunrpc/rpcsvc/mount.x: Likewise.
42578 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42579 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42580 * sunrpc/rpcsvc/rex.x: Likewise.
42581 * sunrpc/rpcsvc/rstat.x: Likewise.
42582 * sunrpc/rpcsvc/rusers.x: Likewise.
42583 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42584 * sunrpc/rpcsvc/spray.x: Likewise.
42585 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42586 * sunrpc/rtime.c: Likewise.
42587 * sunrpc/svc.c: Likewise.
42588 * sunrpc/svc_auth.c: Likewise.
42589 * sunrpc/svc_authux.c: Likewise.
42590 * sunrpc/svc_raw.c: Likewise.
42591 * sunrpc/svc_run.c: Likewise.
42592 * sunrpc/svc_simple.c: Likewise.
42593 * sunrpc/svc_tcp.c: Likewise.
42594 * sunrpc/svc_udp.c: Likewise.
42595 * sunrpc/svc_unix.c: Likewise.
42596 * sunrpc/svcauth_des.c: Likewise.
42597 * sunrpc/xcrypt.c: Likewise.
42598 * sunrpc/xdr.c: Likewise.
42599 * sunrpc/xdr_array.c: Likewise.
42600 * sunrpc/xdr_float.c: Likewise.
42601 * sunrpc/xdr_mem.c: Likewise.
42602 * sunrpc/xdr_rec.c: Likewise.
42603 * sunrpc/xdr_ref.c: Likewise.
42604 * sunrpc/xdr_sizeof.c: Likewise.
42605 * sunrpc/xdr_stdio.c: Likewise.
42607 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42610 2010-08-19 Andreas Schwab <schwab@redhat.com>
42612 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42614 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42616 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42617 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42618 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42619 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42620 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42621 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42622 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42623 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42625 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42626 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42627 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42628 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42629 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42631 2010-07-26 Anton Blanchard <anton@samba.org>
42633 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42634 * malloc/arena.c (heap_trim): Likewise.
42636 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42638 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42641 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42643 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42645 * sysdeps/i386/elf/Makefile: New file.
42647 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42649 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42650 from fanotify_init.
42651 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42654 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42656 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42658 * sysdeps/multiarch/strcmp.S: Likewise.
42660 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42662 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42663 strncase_l-nonascii.
42664 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42665 Add strncase_l-ssse3.
42666 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42667 * sysdeps/x86_64/strcmp.S: Likewise.
42668 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42669 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42670 * sysdeps/x86_64/strncase.S: New file.
42671 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42672 * sysdeps/x86_64/strncase_l.S: New file.
42673 * string/Makefile (strop-tests): Add strncasecmp.
42674 * string/test-strncasecmp.c: New file.
42676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42679 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42680 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42682 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42684 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42686 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42688 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42689 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42690 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42692 2010-05-01 Alan Modra <amodra@gmail.com>
42694 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42695 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42696 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42697 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42698 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42699 tidying. Don't tail-call __sigjmp_save for static lib.
42700 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42702 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42703 (CALL_MCOUNT): Add eh info, and nop after bl.
42704 (TAIL_CALL_SYSCALL_ERROR): New macro.
42705 (PSEUDO_RET): Use it.
42706 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42707 Correct save location of integer regs and cr.
42708 (_dl_profile_resolve): Correct cr save location. Delete nops
42709 after bl when SHARED. Reduce cfi size a little by better
42710 placement of cfi directives.
42711 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42712 make a stack frame. Instead use parm save area as a temp.
42713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42714 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42716 Don't make a stack frame for parent, use parm save area.
42717 Increase child stack frame to 112 bytes. Don't save unused reg,
42718 and adjust reg usage. Set up cfi on error recovery and
42719 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42721 (__makecontext): Add dummy nop after jump to exit.
42722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42723 Use correct parm save area and cr save, reduce stack frame.
42724 Correct cfi for possible PSEUDO_RET frame setup.
42725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42726 Branch to local label emitted by PSEUDO_RET rather than
42729 2010-08-12 Andreas Schwab <schwab@redhat.com>
42732 * locale/programs/locale.c (print_assignment): New function.
42733 (show_locale_vars): Use it.
42735 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42737 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42739 (struct statfs64): Likewise.
42740 (_STATFS_F_FLAGS): Define.
42741 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42743 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42744 (ST_VALID): Define locally.
42745 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42746 __statvfs_getflags, use the provided value.
42747 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42748 __ASSUME_STATFS_F_FLAGS.
42750 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42752 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42753 Add sys/fanotify.h.
42754 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42755 fanotify_mask for GLIBC_2.13.
42756 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42757 fanotify_init and fanotify_mark.
42758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42759 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42761 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42763 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42764 prlimit64 for GLIBC_2.13.
42765 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42770 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42771 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42772 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42775 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42778 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42779 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42781 * nss/Makefile: Add rules to build and run tst-nss-test1.
42782 * shlib-versions: Add entry for libnss_test1.
42783 * nss/nss_test1.c: New file.
42784 * nss/tst-nss-test1.c: New file.
42786 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42787 (__nss_configure_lookup): Set appropriate entry in
42788 __nss_configure_lookup to true.
42789 * nss/nsswitch.h: Define enum with indeces of databases in
42790 databases and __nss_database_custom arrays. Declare
42791 __nss_database_custom.
42792 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42793 to avoid using nscd when custom rules are installed.
42794 * nss/getXXbyYY_r.c: Likewise.
42795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42797 * nss/nss_files/files-parse.c: Whitespace fixes.
42799 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42802 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42803 * posix/fnmatch_loop.c: Likewise.
42805 2010-07-17 Andi Kleen <ak@linux.intel.com>
42807 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42808 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42809 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42810 * Versions.def [GLIBC_2.13]: Add.
42812 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42815 Also fail if tpwd after pwuid call is NULL.
42817 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42819 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42820 when converting to ms.
42822 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42824 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42825 EOPNOTSUPP errors with ENOTTY.
42826 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42827 EOPNOTSUPP errors with ENOTTY.
42829 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42831 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42832 Add strcasecmp_l-ssse3.
42833 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42835 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42836 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42837 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42839 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42841 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42843 * string/Makefile (strop-tests): Add strcasecmp.
42844 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42845 strcasecmp_l-nonascii.
42846 (gen-as-const-headers): Add locale-defines.sym.
42847 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42848 * sysdeps/x86_64/strcasecmp.S: New file.
42849 * sysdeps/x86_64/strcasecmp_l.S: New file.
42850 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42851 * sysdeps/x86_64/locale-defines.sym: New file.
42852 * string/test-strcasecmp.c: New file.
42854 * string/test-strcasestr.c: Test both ends of the range of characters.
42855 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42857 2010-07-29 Roland McGrath <roland@redhat.com>
42860 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42862 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42864 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42867 2010-07-27 Andreas Schwab <schwab@redhat.com>
42869 * manual/memory.texi (Malloc Tunable Parameters): Document
42872 2010-07-26 Roland McGrath <roland@redhat.com>
42875 * configure.in (-fgnu89-inline check): Set and substitute
42876 gnu89_inline, not libc_cv_gnu89_inline.
42877 * configure: Regenerated.
42878 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42880 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42882 * string/test-strnlen.c: New file.
42883 * string/Makefile (strop-tests): Add strnlen.
42884 * string/tester.c (test_strnlen): Add a few more test cases.
42885 * string/tst-strlen.c: Better error reporting.
42887 * sysdeps/x86_64/strnlen.S: New file.
42889 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42892 lower-latency instructions.
42894 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42896 * string/test-strcasestr.c: New file.
42897 * string/test-strstr.c: New file.
42898 * string/Makefile (strop-tests): Add strstr and strcasestr.
42899 * string/str-two-way.h: Don't undefine MAX.
42900 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42902 2010-07-21 Andreas Schwab <schwab@redhat.com>
42904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42905 strcasestr-nonascii.
42906 (CFLAGS-strcasestr-nonascii.c): Define.
42907 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42908 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42909 Remove unused attribute.
42911 2010-07-20 Roland McGrath <roland@redhat.com>
42913 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42914 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42915 ld.so.cache was broken. With it, there is no way to disable dsocaps
42916 like LD_HWCAP_MASK can disable hwcaps.
42918 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42920 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42922 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42924 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42925 call in strcasestr.
42926 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42927 __strcasestr_sse42_nonascii.
42928 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42929 strcasestr-nonascii.c.
42930 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42932 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42935 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42939 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42944 2010-07-06 Andreas Schwab <schwab@redhat.com>
42947 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42950 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42952 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42953 _PC_PIPE_BUF using F_GETPIPE_SZ.
42955 2010-07-05 Roland McGrath <roland@redhat.com>
42957 * manual/arith.texi (Rounding Functions): Fix rint description
42958 implicit in round description.
42960 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42962 * elf/Makefile: Fix linking for a few tests to make recent linker
42965 2010-06-30 Andreas Schwab <schwab@redhat.com>
42967 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42968 $(common-objpfx)libc_nonshared.a.
42970 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42972 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42973 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42974 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42975 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42976 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42977 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42978 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42979 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42994 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42995 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42996 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42997 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42998 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42999 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43000 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43001 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43002 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43003 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43004 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43005 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43021 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43023 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43024 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43025 * string/memmove.c (memmove): Renamed to ...
43026 (MEMMOVE): ...this. Default to memmove.
43027 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43028 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43031 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43032 mempcpy-ssse3-back memmove-ssse3-back.
43033 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43036 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43037 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43038 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43039 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43040 * sysdeps/x86_64/multiarch/memmove.c: New file.
43041 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43042 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43043 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43044 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43045 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43048 (index_Fast_Copy_Backward): Define.
43049 (HAS_ARCH_FEATURE): Define.
43050 (HAS_FAST_REP_STRING): Define.
43051 (HAS_FAST_COPY_BACKWARD): Define.
43053 2010-06-21 Andreas Schwab <schwab@redhat.com>
43055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43056 Restore proper fallback handling.
43058 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43061 * posix/group_member.c (__group_member): Correct checking loop.
43063 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43064 OOM in getpwuid_r correctly. Return error number when the caller
43065 should return, otherwise -1.
43066 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43067 call returning > 0 value.
43068 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43070 2010-06-07 Andreas Schwab <schwab@redhat.com>
43072 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43073 libc_nonshared.a from targets in modules-names.
43075 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43077 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43080 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43082 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43083 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43087 2010-06-02 Andreas Schwab <schwab@redhat.com>
43089 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43091 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43093 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43102 2010-06-14 Roland McGrath <roland@redhat.com>
43104 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43106 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43108 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43109 __REDIRECT followed by __THROW.
43110 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43111 * posix/getopt.h (getopt): Likewise.
43113 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43115 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43116 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43117 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43119 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43120 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43122 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43124 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43126 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43130 Properly check family and model.
43132 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43134 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43136 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43138 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43140 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43142 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43145 2010-05-19 Andreas Schwab <schwab@redhat.com>
43147 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43150 2010-05-21 Andreas Schwab <schwab@redhat.com>
43152 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43153 and internal_recvmmsg.
43154 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43155 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43156 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43157 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43159 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43160 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43161 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43163 2010-05-20 Andreas Schwab <schwab@redhat.com>
43165 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43167 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43169 POWER7 optimizations.
43170 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43171 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43173 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43175 * version.h: Update for 2.13 development version.
43177 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43179 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43180 exceptions. Return 0.
43182 2010-05-07 Roland McGrath <roland@redhat.com>
43184 * elf/ldconfig.c (main): Add a const.
43186 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43188 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43189 (args_options): Add no-idn option.
43190 (ahosts_keys_int): Add idn_flags to ai_flags.
43191 (parse_option): Handle 'i' option to clear idn_flags.
43193 * malloc/malloc.c (_int_free): Possible race in the most recently
43194 added check. Only act on the data if no current modification
43197 See ChangeLog.17 for earlier changes.