1 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5 (sloww1): Don't adjust sign of DX.
7 (sloww2): Use X directly and don't adjust sign of DX.
10 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12 * math/auto-libm-test-in: Add tests of cabs and carg.
13 * math/auto-libm-test-out: Regenerated.
14 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15 (carg_test_data): Likewise.
16 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18 (func_calc_desc): Add mpc_c_f union field.
19 (test_functions): Add cabs and carg.
20 (calc_generic_results): Handle mpc_c_f.
22 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24 as a macro and a compat symbol.
25 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
30 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
36 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
46 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
52 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
53 (__signal_safe_memalign, __signal_safe_free): Use it.
54 (__signal_safe_realloc): Likewise.
56 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58 * manual/texinfo.tex: Update to version 2013-11-26.10 with
59 trailing whitespace removed.
60 * scripts/config.guess: Update to version 2013-11-29.
61 * scripts/config.sub: Update to version 2013-10-01.
63 * math/auto-libm-test-in: Add tests of sincos.
64 * math/auto-libm-test-out: Regenerated.
65 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
66 * math/gen-auto-libm-tests.c (func_calc_method): Add value
68 (func_calc_desc): Add mpfr_f_11 union field.
69 (test_functions): Add sincos.
70 (calc_generic_results): Handle mpfr_f_11.
71 * sysdeps/i386/fpu/libm-test-ulps: Update.
72 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74 2013-12-19 Andreas Schwab <schwab@suse.de>
76 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
78 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
79 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
80 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
82 2013-12-19 Joseph Myers <joseph@codesourcery.com>
84 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
85 * sysdeps/i386/fpu/libm-test-ulps: Update.
86 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
89 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
90 round-to-nearest mode when using frndint.
91 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
92 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
93 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
95 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
97 * math/auto-libm-test-out: Regenerated.
98 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
99 (TEST_COND_x86): Likewise.
100 (expm1_tonearest_test_data): New array.
101 (expm1_test_tonearest): New function.
102 (expm1_towardzero_test_data): New array.
103 (expm1_test_towardzero): New function.
104 (expm1_downward_test_data): New array.
105 (expm1_test_downward): New function.
106 (expm1_upward_test_data): New array.
107 (expm1_test_upward): New function.
108 (main): Run the new test functions.
109 * sysdeps/i386/fpu/libm-test-ulps: Update.
110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
112 * include/features.h: Update comment documenting feature test
113 macros. Mention _DEFAULT_SOURCE in comment.
114 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
115 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
116 _BSD_SOURCE and _SVID_SOURCE.
117 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
118 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
119 !_SVID_SOURCE]: Likewise.
120 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
121 (__USE_POSIX_IMPLICITLY): Define.
122 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
123 (_POSIX_SOURCE): Undefine and redefine.
124 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
125 (_POSIX_C_SOURCE): Likewise.
126 * manual/creature.texi (_DEFAULT_SOURCE): Document.
127 (Feature Test Macros): Update documentation of default features.
129 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
131 * benchtests/Makefile: Add bench-strtok.
132 * benchtests/bench-strtok.c: New file: strtok benchtest.
134 2013-12-19 Allan McRae <allan@archlinux.org>
136 * manual/install.texi: Suppress menu for plain text output.
137 * INSTALL: Regenerated.
139 2013-12-18 Andrew Hunter <ahh@google.com>
141 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
142 (__signal_safe_malloc, __signal_safe_free): Likewise.
143 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
144 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
145 (__signal_safe_memalign, __signal_safe_malloc): New function.
146 (__signal_safe_free, __signal_safe_realloc): Likewise.
147 (__signal_safe_calloc): Likewise.
148 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
150 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
152 2013-12-18 Andrew Hunter <ahh@google.com>
154 * elf/Versions (ld): Add _dl_clear_dtv.
155 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
156 * elf/dl-tls.c (_dl_clear_dtv): New function.
157 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
159 2013-12-18 Andrew Hunter <ahh@google.com>
161 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
162 (_dl_unmask_signals): Likewise.
163 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
164 (_dl_unmask_all_signals): Likewise.
165 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
166 (_dl_unmask_all_signals): Likewise.
167 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
168 (_dl_unmask_signals): Likewise.
170 2013-12-18 Brooks Moses <bmoses@google.com>
173 * misc/getauxval.c: Include errno.h.
174 (__getauxval): Set errno to ENOENT if the requested type is not
176 * misc/sys/auxv.h (getauxval): Document that it may set errno;
177 don't declare with __attribute_const__.
178 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
179 * manual/startup.texi: Document that getauxval sets errno.
181 2013-12-18 Joseph Myers <joseph@codesourcery.com>
183 * math/auto-libm-test-in: Add tests of jn and yn.
184 * math/auto-libm-test-out: Regenerated.
185 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
186 (yn_test_data): Likewise.
187 * math/gen-auto-libm-tests.c (func_calc_method): Add value
189 (func_calc_desc): Add mpfr_if_f union field.
190 (FUNC_mpfr_if_f): New macro.
191 (test_functions): Add jn and yn.
192 (calc_generic_results): Assert type of second input for
193 mpfr_ff_f. Handle mpfr_if_f.
194 (output_for_one_input_case): Disable all checking for arguments
195 fitting floating-point types in case of an integer argument.
196 * sysdeps/i386/fpu/libm-test-ulps: Update.
197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
200 Don't expect fegetround reference in libm.so.
202 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
204 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
205 $(config-cflags-nofma).
207 2013-12-18 Joseph Myers <joseph@codesourcery.com>
209 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
210 * math/auto-libm-test-out: Regenerated.
213 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
214 to determine exponent and adjust argument to have exponent of -1.
215 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
217 * math/auto-libm-test-out: Regenerated.
218 * sysdeps/i386/fpu/libm-test-ulps: Update.
219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
221 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
223 * manual/probes.texi: Remove cases when per-thread arenas are
226 2013-12-18 Andreas Schwab <schwab@suse.de>
228 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
229 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
230 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
231 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
232 * sysdeps/i386/i686/multiarch/Makefile: Update.
233 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
235 2013-12-17 Joseph Myers <joseph@codesourcery.com>
237 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
238 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
240 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
242 Support TZ transition times < 00:00:00.
243 This is needed for version-3 tz-format files; it supports time
244 stamps past 2037 for America/Godthab (the only entry in the tz
245 database for which this change is relevant).
246 * manual/time.texi (TZ Variable): Document transition times
247 from -167:59:59 through -00:00:01.
248 * time/tzset.c (tz_rule): Time of day is now signed.
249 (__tzset_parse_tz): Parse negative time of day.
251 Document TZ transition times >= 25:00:00.
252 * manual/time.texi (TZ Variable): Document transition times from
253 25:00:00 through 167:59:59. These are already supported, and this
254 support will help with version-3 tz-format files.
256 * manual/time.texi (TZ Variable): Modernize North America example
257 to reflect current (i.e., 2007-and-later) daylight saving rules.
259 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
261 2013-12-17 Joseph Myers <joseph@codesourcery.com>
263 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
264 * sysdeps/unix/bsd/bits/stat.h: Likewise.
265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
267 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
268 * sysdeps/unix/bsd/bsdstat.h: Likewise.
269 * sysdeps/unix/bsd/clock.c: Likewise.
270 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
271 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
272 * sysdeps/unix/bsd/init-posix.c: Likewise.
273 * sysdeps/unix/bsd/poll.c: Likewise.
274 * sysdeps/unix/bsd/ptsname.c: Likewise.
275 * sysdeps/unix/bsd/seekdir.c: Likewise.
276 * sysdeps/unix/bsd/setegid.c: Likewise.
277 * sysdeps/unix/bsd/seteuid.c: Likewise.
278 * sysdeps/unix/bsd/setgid.c: Likewise.
279 * sysdeps/unix/bsd/setrgid.c: Likewise.
280 * sysdeps/unix/bsd/setruid.c: Likewise.
281 * sysdeps/unix/bsd/setsid.c: Likewise.
282 * sysdeps/unix/bsd/setuid.c: Likewise.
283 * sysdeps/unix/bsd/sigaction.c: Likewise.
284 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
285 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
286 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
287 * sysdeps/unix/bsd/telldir.c: Likewise.
288 * sysdeps/unix/bsd/times.c: Likewise.
289 * sysdeps/unix/bsd/usleep.c: Likewise.
291 * misc/Makefile (install-lib): Remove libbsd-compat.a.
292 ($(objpfx)libbsd-compat.a): Remove rule.
294 * include/features.h (__FAVOR_BSD): Do not define.
295 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
296 features conflicting with POSIX.
297 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
298 (_BSD_SOURCE): Remove description of not being a subset of other
300 * manual/job.texi (getpgrp): Do not document BSD version.
301 (getpgid): Do not document by reference to BSD getpgrp.
302 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
303 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
304 * signal/signal.h [__FAVOR_BSD]: Likewise.
305 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
306 instead of making contents conditional on [__FAVOR_BSD].
307 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
309 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
313 2013-12-17 Joseph Myers <joseph@codesourcery.com>
316 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
317 values below 2**-450, not 2**-500.
318 * math/auto-libm-test-in: Don't allow spurious underflow from
320 * math/auto-libm-test-out: Regenerated.
324 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
325 values of ha and hb and sort them after adjusting subnormal
327 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
329 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
330 values of ea and eb and sort them after adjusting subnormal
332 * math/auto-libm-test-in: Do not expect some hypot tests of
333 subnormals to fail. Add more hypot tests.
334 * math/auto-libm-test-out: Regenerated.
336 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
339 * sysdeps/sh/s_fma.c: New file.
340 * sysdeps/sh/s_fmaf.c: New file.
341 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
343 * sysdeps/sh/Implies: Add sh/soft-fp.
345 2013-12-16 Roland McGrath <roland@hack.frob.com>
347 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
348 level of indirection to members `objname', `errstring', `malloced'.
349 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
350 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
351 it as the __longjmp argument (just pass 1 instead).
352 (_dl_catch_error): Initialize C with argument pointers and address of
353 volatile local ERRCODE rather than copying values out of C at return.
355 2013-12-16 Joseph Myers <joseph@codesourcery.com>
357 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
358 * math/auto-libm-test-out: Regenerated.
359 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
360 (hypot_test_data): Likewise.
361 (pow_test_data): Likewise.
362 (pow_tonearest_test_data): Likewise.
363 * math/gen-auto-libm-tests.c (func_calc_method): Add value
365 (func_calc_desc): Add mpfr_ff_f union field.
366 (FUNC_mpfr_ff_f): New macro.
367 (test_functions): Add atan2, hypot and pow.
368 (special_fill_min): New function.
369 (special_fill_minus_min): Likewise.
370 (special_fill_min_subnorm): Likewise.
371 (special_fill_minus_min_subnorm): Likewise.
372 (special_real_inputs): Add min, -min, min_subnorm and
374 (calc_generic_results): Handle mpfr_ff_f.
375 * sysdeps/i386/fpu/libm-test-ulps: Update.
376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
378 2013-12-16 Will Newton <will.newton@linaro.org>
380 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
381 (Aligned Memory Blocks): Add documentation for aligned_alloc
382 and suggest it as an alternative to posix_memalign.
383 (Hooks for Malloc): Document __memalign_hook is also called
384 for aligned_alloc. (Summary of Malloc): Add summary for
385 aligned alloc. Document __memalign_hook is also called
388 2013-12-16 Will Newton <will.newton@linaro.org>
390 * manual/memory.texi (Malloc Examples): Clarify default
391 alignment documentation. Suggest posix_memalign rather
392 than memalign or valloc.
393 (Aligned Memory Blocks): Remove suggestion to use memalign
394 or valloc. Remove obsolete comment about BSD.
395 Document memalign errno values and mark the function obsolete.
396 Document posix_memalign returned error codes. Mark valloc
397 as obsolete. (Hooks for Malloc): __memalign_hook is also
398 called for posix_memalign and valloc.
399 (Summary of Malloc): Add posix_memalign to function summary.
400 __memalign_hook is also called for posix_memalign and valloc.
402 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
404 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
408 (sloww): Use mynumber union. Expand ternary operator into
410 (cslow): use mynumber union.
412 2013-12-16 Allan McRae <allan@archlinux.org>
414 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
415 * configure: Regenerated.
417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
420 * configure.ac: Added --enable-maintainer-mode. Check for
421 autoconf when enabled.
422 * configure: Regenerated.
424 * nscd/nscd.service: New file.
425 * nscd/nscd.tmpfiles: New file.
427 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
430 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
431 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
432 * sysdeps/x86_64/multiarch/strstr.c: ... here.
433 (strstr): Add __strstr_sse2_unaligned ifunc.
434 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
435 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
436 (strcasestr): Remove __strcasestr_sse42 ifunc.
437 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
441 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
443 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
444 * sysdeps/sh/bits/fenv.h: ... here.
445 * sysdeps/sh/sh4/fpu/bits: Remove directory.
447 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
451 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
454 hypotf multiarch implementations.
455 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
456 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
457 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
458 multiarch hypot for PPC64.
459 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
460 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
461 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
462 multiarch hypotf for PPC64.
464 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
467 modff multiarch implementations.
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
471 multiarch modf for PPC64.
472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
475 multiarch modff for PPC64.
477 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
480 and logl multiarch implementations.
481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
484 multiarch logb for PPC64.
485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
488 multiarch logb for PPC64.
489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
492 multiarch logb for PPC64.
494 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
497 isinff multiarch implementation.
498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
502 multiarch isinf for PPC64.
503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
506 multiarch isinff for PPC64.
508 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
511 finitef multiarch implementation.
512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
516 multiarch finite for PPC64.
517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
520 multiarch finitef for PPC64.
522 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
525 lrint multiarch implementation.
526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
530 multiarch llrint for PPC64.
531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
532 multiarch lrint for PPC64.
534 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
537 copysignf multiarch implementation.
538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
543 multiarch copysign for PPC64.
544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
545 multiarch copysignf for PPC64.
547 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
550 multiarch implementation.
551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
559 multiarch llround for PPC64.
560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
561 multiarch trunc for PPC64.
562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
563 multiarch truncf for PPC64.
565 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
568 multiarch implementation.
569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
577 multiarch llround for PPC64.
578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
579 multiarch round for PPC64.
580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
581 multiarch roundf for PPC64.
583 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
586 multiarch implementation.
587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
595 multiarch llround for PPC64.
596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
597 multiarch floor for PPC64.
598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
599 multiarch floorf for PPC64.
601 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
604 multiarch implementation.
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
613 multiarch llround for PPC64.
614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
615 multiarch ceil for PPC64.
616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
617 multiarch ceilf for PPC64.
619 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
622 multiarch implementation.
623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
630 multiarch llround for PPC64.
631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
632 multiarch lround for PPC64.
634 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
637 multiarch implementation.
638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
645 multiarch isnan for PPC64.
646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
647 multiarch isnanf for PPC64.
649 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
651 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
652 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
653 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
654 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
655 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
658 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
660 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
661 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
662 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
665 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
668 multiarch implementations.
669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
670 (__libc_ifunc_impl_list): Likewise.
671 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
672 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
673 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
674 multiarch stpcpy for PPC64.
676 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
679 multiarch implementations.
680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
681 (__libc_ifunc_impl_list): Likewise.
682 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
683 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
684 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
685 multiarch strcpy for PPC64.
687 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
689 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
690 redefine function name.
691 (_wordcopy_fwd_dest_aligned): Likewise.
692 (_wordcopy_bwd_aligned): Likewise.
693 (_wordcopy_bwd_dest_aligned): Likewise.
694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
695 multiarch implementations.
696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
697 (__libc_ifunc_impl_list): Likewise.
698 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
699 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
700 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
701 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
702 multiarch wcscpy for PPC64.
704 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
707 multiarch implementations.
708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
709 (__libc_ifunc_impl_list): Likewise.
710 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
711 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
712 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
713 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
714 multiarch wcscpy for PPC64.
716 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
719 multiarch implementations.
720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
721 (__libc_ifunc_impl_list): Likewise.
722 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
723 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
724 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
725 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
726 multiarch wcsrchr for PPC64.
728 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
731 multiarch implementations.
732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
733 (__libc_ifunc_impl_list): Likewise.
734 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
735 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
736 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
737 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
738 multiarch wcschr for PPC64.
740 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
743 multiarch implementations.
744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
745 (__libc_ifunc_impl_list): Likewise.
746 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
747 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
748 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
749 multiarch strchrnul for PPC64.
751 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
756 (__libc_ifunc_impl_list): Likewise.
757 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
758 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
759 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
760 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
763 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
768 (__libc_ifunc_impl_list): Likewise.
769 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
770 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
771 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
772 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
775 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
778 multiarch implementations.
779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
780 (__libc_ifunc_impl_list): Likewise.
781 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
782 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
783 strncasecmp for PPC64.
784 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
785 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
786 multiarch strncasecmp_l for PPC64.
788 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
791 multiarch implementations.
792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
793 (__libc_ifunc_impl_list): Likewise.
794 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
795 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
796 multiarch strcasecmp for PPC64.
797 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
799 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
800 multiarch strcasecmp_l for PPC64.
802 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
807 (__libc_ifunc_impl_list): Likewise.
808 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
809 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
810 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
813 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
818 (__libc_ifunc_impl_list): Likewise.
819 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
820 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
821 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
824 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
829 (__libc_ifunc_impl_list): Likewise.
830 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
831 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
832 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
833 rawmemrchr for PPC64.
835 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
840 (__libc_ifunc_impl_list): Likewise.
841 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
842 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
843 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
846 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
851 (__libc_ifunc_impl_list): Likewise.
852 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
853 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
854 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
857 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
862 (__libc_ifunc_impl_list): Likewise.
863 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
864 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
865 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
868 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
870 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
871 avoid cretion of __bzero symbol.
872 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
874 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
876 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
879 multiarch implementations.
880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
881 (__libc_ifunc_impl_list): Likewise.
882 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
883 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
884 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
885 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
887 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
888 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
889 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
890 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
891 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
893 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
895 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
901 (__libc_ifunc_impl_list): Likewise.
902 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
903 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
904 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
905 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
908 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
911 multiarch for POWER/PPC64.
912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
913 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
916 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
917 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
918 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
920 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
923 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
925 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
926 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
927 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
928 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
929 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
930 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
931 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
932 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
933 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
934 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
935 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
936 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
937 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
938 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
939 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
948 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
952 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
954 * benchtests/Makefile (bench): Add exp2 and log2.
955 (LDLIBS-bench-exp2): Add -lm.
956 (LDLIBS-bench-log2): Likewise.
957 * benchtests/exp2-inputs: New inputs file.
958 * benchtests/log2-inputs: New inputs file.
959 * benchtests/log-inputs: Add new inputs.
960 * benchtests/tan-inputs: Likewise.
962 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
964 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
966 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
967 csloww1, csloww2): ... from here.
969 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
970 instead of structures.
971 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
972 (POLYNOMIAL): Likewise.
973 (TAYLOR_SLOW): Likewise.
988 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
990 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
991 (__malloc_assert, __libc_realloc, __libc_calloc,
992 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
994 * malloc/hooks.c (realloc_check): Likewise.
996 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
998 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
999 * malloc/arena.c: Remove PER_THREAD conditional.
1000 [!PER_THREAD]: Remove code.
1001 (ptmalloc_unlock_all2): Likewise.
1002 (ptmalloc_init): Likewise.
1003 (_int_new_arena): Likewise.
1004 (arena_get2): Likewise.
1005 * malloc/hooks.c (__malloc_get_state): Likewise.
1006 (__malloc_set_state): Likewise.
1007 * malloc/malloc.c: Likewise.
1008 (struct malloc_state): Likewise.
1009 (struct malloc_par): Likewise.
1010 (__libc_realloc): Likewise.
1011 (__libc_mallopt): Likewise.
1013 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1017 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1019 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1020 macro to a function. Check for zero perturb_byte.
1021 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1023 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1025 * malloc/malloc.c: (force_reg): Remove.
1026 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1027 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1028 force_reg by atomic_forced_read.
1029 * malloc/arena.c (ptmalloc_init): Likewise.
1030 * malloc/hooks.c (top_check): Likewise.
1032 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1036 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1040 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1042 * math/auto-libm-test-in: Add tests of lgamma.
1043 * math/auto-libm-test-out: Regenerated.
1044 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1045 (M_LOG_2_SQRT_PIl): Likewise.
1046 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1047 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1049 (func_calc_desc): Add mpfr_f_f1 union field.
1058 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1059 (test_functions): Add lgamma.
1060 (calc_generic_results): Handle mpfr_f_f1.
1061 * sysdeps/i386/fpu/libm-test-ulps: Update.
1062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1064 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1066 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1067 __mpn_add_n for PowerPC64/POWER7.
1068 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1069 __mpn_sub_n for PowerPC64/POWER7.
1071 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1073 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1074 __mpn_addmul_1 for PowerPC64.
1075 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1076 __mpn_submul_1 for PowerPC64.
1077 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1079 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1082 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1085 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1087 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1089 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1091 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1094 add multiarch folders.
1095 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1096 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1097 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1098 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1099 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1100 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1101 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1102 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1103 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1104 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1105 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1113 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1116 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1122 multiarch __ieee754_hypot for PowerPC32.
1123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1128 multiarch __ieee754_hypotf for PowerPC32.
1130 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1133 long_double_symbol only if __logbl is defined.
1134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1135 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1136 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1137 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1139 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1141 path for implementation.
1142 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1145 logb, and logbl multiarch implementations for PowerPC32.
1146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1151 multiarch logb for PowerPC32.
1152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1157 multiarch logbf for PowerPC32.
1158 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1162 multiarch logbl implementation for PowerPC32.
1164 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1167 and modff multiarch implementations.
1168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1173 multiarch modf for PowerPC32.
1174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1179 multiarch modff for PowerPC32.
1181 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1184 and lrintf multiarch implementations.
1185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1190 multiarch lrint for PowerPC32.
1191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1192 file: multiarch lrintf for PowerPC32.
1194 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1197 and lroundf multiarch implementations.
1198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1205 multiarch lround for PowerPC32.
1206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1207 file: multiarch lroundf for PowerPC32.
1209 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1212 copysign and copysignf multiarch implementations.
1213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1218 file: multiarch copysign for PowerPC32.
1219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1220 file: multiarch copysignf for PowerPC32.
1222 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1225 and truncf multiarch implementations.
1226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1231 multiarch trunc for PowerPC32.
1232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1237 multiarch truncf for PowerPC32.
1239 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1242 and roundf multiarch implementations.
1243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1248 multiarch round for PowerPC32.
1249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1254 multiarch roundf for PowerPC32.
1256 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1259 and floorf multiarch implementations.
1260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1265 multiarch floor for PowerPC32.
1266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1271 multiarch floorf for PowerPC32.
1273 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1276 and ceilf multiarch implementations.
1277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1282 multiarch ceil for PowerPC32.
1283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1288 multiarch ceilf for PowerPC32.
1290 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1292 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1294 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1297 and finitef multiarch implementations.
1298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1303 multiarch finite for PowerPC32.
1304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1307 file: multiarch finitef for PowerPC32.
1309 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1312 and isinff multiarch implementations.
1313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1318 multiarch isinf for PowerPC32.
1319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1322 multiarch isinff for PowerPC32.
1324 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1327 alias when __isnan is defined.
1328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1329 and isnanf multiarch implementations.
1330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1339 multiarch isnan for PowerPC32.
1340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1345 multiarch isnanf for PowerPC32.
1347 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1350 and sqrtf multiarch implementations.
1351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1356 multiarch sqrt for PowerPC32.
1357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1362 multiarch sqrtf for PowerPC32.
1364 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1367 and llroundf multiarch implementations.
1368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1375 file: multiarch llround for PowerPC32.
1376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1377 file: multiarch llroundf for PowerPC32.
1379 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1382 multiarch PowerPC32 fpu implementations.
1383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1388 multiarch llrint for PowerPC32.
1389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1396 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1400 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1402 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1404 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1406 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1408 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1409 multiarch wordcopy for PPC32.
1410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1413 (__libc_ifunc_impl_list): Likewise.
1414 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1415 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1416 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1417 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1418 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1419 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1421 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1431 multiarch wcscpy for PPC32.
1432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1435 (__libc_ifunc_impl_list): Likewise.
1436 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1437 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1438 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1439 sysdeps/powerpc/power6/wcscpy.c.
1441 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1451 multiarch wcsrchr for PPC32.
1452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1455 (__libc_ifunc_impl_list): Likewise.
1456 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1457 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1458 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1459 sysdeps/powerpc/power6/wcsrchr.c.
1461 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1465 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1467 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1469 multiarch wcschr for PPc32.
1470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1473 (__libc_ifunc_impl_list): Likewise.
1474 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1475 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1476 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1477 sysdeps/powerpc/power6/wcschr.c.
1479 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1482 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1484 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1485 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1486 file: multiarch strchr for PPC32.
1487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1490 (__libc_ifunc_impl_list): Likewise.
1492 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1494 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1496 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1498 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1500 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1501 multiarch strchrnul for PPC32.
1502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1505 (__libc_ifunc_impl_list): Likewise.
1507 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1509 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1511 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1512 multiarch strncasecmp for PPC32.
1513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1516 multiarch strncasecmp_l for PPC32.
1517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1518 strncasecmp multiarch objects.
1519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1520 (__libc_ifunc_impl_list): Likewise.
1522 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1526 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1527 multiarch strncasecmp for PPC32.
1528 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1530 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1531 multiarch strcasecmp_l for PPC32.
1532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1535 (__libc_ifunc_impl_list): Likewise.
1537 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1539 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1541 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1543 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1544 multiarch strncmp for PPC32.
1545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1548 (__libc_ifunc_impl_list): Likewise.
1550 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1553 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1555 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1556 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1560 (__libc_ifunc_impl_list): Likewise.
1562 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1566 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1568 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1571 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1572 (__libc_ifunc_impl_list): Likewise.
1574 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1576 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1578 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1580 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1581 multiarch rawmemchr for PPC32.
1582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1585 (__libc_ifunc_impl_list): Likewise.
1587 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1591 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1593 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1594 file: memrchr multiarch for PPC32.
1595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1598 (__libc_ifunc_impl_list): Likewise.
1600 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1602 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1603 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1605 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1606 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1607 multiarch memchr for PPC32.
1608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1611 (__libc_ifunc_impl_list): Likewise.
1613 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1616 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1618 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1620 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1621 file: multiarch mempcpy for PPC32.
1622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1625 (__libc_ifunc_impl_list): Likewise.
1627 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1630 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1631 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1632 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1633 multiarch bzero for PPC32.
1634 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1636 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1638 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1639 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1640 file: multiarch memset for PPC32.
1641 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1643 memset multiarch objects.
1644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1645 (__libc_ifunc_impl_list): Likewise.
1647 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1649 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1651 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1652 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1654 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1658 (__libc_ifunc_impl_list): Likewise.
1660 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1663 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1666 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1668 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1670 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1671 multiarch memcpy for PPC32.
1672 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1674 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1675 (__libc_ifunc_impl_list): Likewise.
1677 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1680 support multiarch for POWER/PPC32.
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1683 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1685 Implies file to make multiarch folder appers before the fpu and
1686 default folder for power4 configuration.
1688 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1690 * scripts/bench.pl: Append volatile keyword to type.
1692 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1694 * sysdeps/sh/sotruss-lib.c: New file.
1695 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1697 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1701 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1704 * math/w_tgamma.c: Include <errno.h>.
1705 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1706 * math/w_tgammaf.c: Include <errno.h>.
1707 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1708 * math/w_tgammal.c: Include <errno.h>.
1709 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1710 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1711 underflow. Add more tgamma tests.
1712 * math/auto-libm-test-out: Regenerated.
1713 * sysdeps/i386/fpu/libm-test-ulps: Update.
1714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1716 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1717 sin, sinh, tan, tanh, tgamma, y0 and y1.
1718 * math/auto-libm-test-out: Regenerated.
1719 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1720 (TEST_COND_x86): Likewise.
1721 (M_E2l): Remove macro.
1723 (M_2_SQRT_PIl): Likewise.
1724 (M_SQRT_PIl): Likewise.
1725 (M_1_DIV_El): Likewise.
1726 (log_test_data): Use AUTO_TESTS_f_f.
1727 (log10_test_data): Likewise.
1728 (log1p_test_data): Likewise.
1729 (log2_test_data): Likewise.
1730 (sin_test_data): Likewise.
1731 (sin_tonearest_test_data): Likewise.
1732 (sin_towardzero_test_data): Likewise.
1733 (sin_downward_test_data): Likewise.
1734 (sin_upward_test_data): Likewise.
1735 (sinh_test_data): Likewise.
1736 (sinh_tonearest_test_data): Likewise.
1737 (sinh_towardzero_test_data): Likewise.
1738 (sinh_downward_test_data): Likewise.
1739 (sinh_upward_test_data): Likewise.
1740 (tan_test_data): Likewise.
1741 (tan_tonearest_test_data): Likewise.
1742 (tan_towardzero_test_data): Likewise.
1743 (tan_downward_test_data): Likewise.
1744 (tan_upward_test_data): Likewise.
1745 (tanh_test_data): Likewise.
1746 (tgamma_test_data): Likewise.
1747 (y0_test_data): Likewise.
1748 (y1_test_data): Likewise.
1749 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1750 (special_real_inputs): Add pi/4.
1751 * sysdeps/i386/fpu/libm-test-ulps: Update.
1752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1754 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1756 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1757 "longjmp_target" static probes.
1758 (__longjmp): Rename to __longjmp_symbol.
1759 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1760 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1761 on which longjmp to generate.
1762 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1763 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1765 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1766 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1767 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1768 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1769 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1770 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1772 __longjmp_symbol based on which __longjmp to generate.
1773 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1775 (setjmp): Rename to setjmp_symbol.
1776 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1777 (_setjmp): Rename to _setjmp_symbol.
1778 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1779 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1780 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1781 which setjmp to generate.
1782 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1783 "longjmp_target" static probes.
1785 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1787 * benchtests/README: Add note about output arguments.
1788 * benchtests/bench-sincos.c: Remove file.
1789 * benchtests/sincos-inputs: New file.
1790 * scripts/bench.pl: Identify output arguments and define
1791 static variables for them.
1793 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1796 * Makefile (INSTALL): Add install-plain.texi as the primary
1798 * manual/install-plain.texi: New file.
1799 * manual/install.texi: Include node directive only for
1800 non-plaintext output.
1802 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1804 * stdlib/longlong.h: Update from GCC.
1808 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1809 * math/w_j0f.c (y0f): Likewise.
1810 * math/w_j0l.c (__y0l): Likewise.
1811 * math/w_j1.c (y1): Likewise.
1812 * math/w_j1f.c (y1f): Likewise.
1813 * math/w_j1l.c (__y1l): Likewise
1814 * math/w_jn.c (yn): Likewise.
1815 * math/w_jnf.c (ynf): Likewise.
1816 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1817 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1818 value for Bessel function domain errors outside _SVID_ mode.
1819 Adjust sign of return value for yn (negative integer, 0).
1820 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1821 by zero in return for negative x and set sign appropriately for
1823 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1824 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1825 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1826 expectations in error cases.
1827 (y1_test_data): Likewise.
1828 (yn_test_data): Likewise.
1829 * sysdeps/i386/fpu/libm-test-ulps: Update.
1830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1832 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1834 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1835 "64" to "64-v1". Add "64-v2".
1836 (abi-64-options): Rename to ...
1837 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1838 (abi-64-condition): Rename to ...
1839 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1840 (abi-64-ld-soname): Rename to ...
1841 (abi-64-v1-ld-soname): ... this.
1842 (abi-64-v2-options): Define.
1843 (abi-64-v2-condition): Likewise.
1844 (abi-64-v2-ld-soname): Likewise.
1845 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1846 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1851 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1852 Alan Modra <amodra@gmail.com>
1854 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1855 New versions for use with the ELFv2 ABI.
1856 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1857 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1859 (struct La_ppc64v2_retval): Likewise.
1860 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1861 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1862 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1863 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1864 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1865 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1866 Do not save or restore CR.
1867 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1868 (_dl_profile_resolve): Do no save or restore CR. Support extended
1869 return values for ELFv2 ABI. Fix location of FPR return registers.
1870 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1871 updated values for _CALL_ELF == 2.
1872 (La_regs, La_retval, int_retval): Likewise.
1874 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1876 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1877 (FRAME_MIN_SIZE_PARM): Likewise.
1878 (FRAME_BACKCHAIN): Likewise.
1879 (FRAME_CR_SAVE): Likewise.
1880 (FRAME_LR_SAVE): Likewise.
1881 (FRAME_TOC_SAVE): Likewise.
1882 (FRAME_PARM_SAVE): Likewise.
1883 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1884 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1885 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1886 (call_mcount_parm_offset): New macro.
1887 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1888 (PROF): Use symbolic stack frame offsets.
1889 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1890 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1891 Redefine in terms of FRAME_MIN_SIZE.
1892 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1893 (_dl_profile_resolve): Likewise. Update comment.
1894 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1895 symbols stack frame offsets.
1896 (__sigsetjmp): Likewise.
1897 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1898 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1899 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1900 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1903 (FRAME_BACKCHAIN): Remove.
1904 (FRAME_CR_SAVE): Likewise.
1905 (FRAME_LR_SAVE): Likewise.
1906 (FRAME_COMPILER_DW): Likewise.
1907 (FRAME_LINKER_DW): Likewise.
1908 (FRAME_TOC_SAVE): Likewise.
1909 (FRAME_PARM_SAVE): Likewise.
1910 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1911 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1912 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1914 (CHECK_SP): Use symbolic stack frame offsets.
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1916 zone" instead of caller's parameter save area for temp storage.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1918 Likewise. Also, use symbolic stack frame offsets.
1919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1920 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1921 our own stack frame instead of the caller's.
1922 (__socket): Use symbolic stack frame offsets.
1924 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1925 Alan Modra <amodra@gmail.com>
1927 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1929 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1930 PPC64_LOCAL_ENTRY_OFFSET): Define.
1931 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1933 (elf_machine_fixup_plt): Call it.
1934 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1936 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1937 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1938 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1939 r2 before calling target.
1941 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1942 Alan Modra <amodra@gmail.com>
1944 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1945 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1946 versions of macros to support ELFv2 ABI.
1947 (LOCALENTRY): New macro.
1948 (ENTRY, EALIGN): Use it.
1949 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1950 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1951 fall through into ENTRY entry point.
1952 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1953 Only define if _CALL_ELF != 2.
1955 (elf_machine_matches_host): Verify ABI version matches.
1956 (RTLD_START): Use LOCALENTRY.
1957 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1958 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1959 (PLT_ENTRY_WORDS): New macro.
1960 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1961 (elf_machine_runtime_setup): Support ELFv2 ABI.
1962 (elf_machine_fixup_plt): Likewise.
1963 (elf_machine_plt_conflict): Likewise.
1964 (resolve_ifunc): Likewise.
1965 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1966 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1969 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1971 (makecontext): Support ELFv2 ABI.
1972 * elf/elf.h (EF_PPC64_ABI): Define.
1974 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1976 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1977 New assembler macro.
1978 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1979 [ASSEMBLER] (ENTRY): ... but instead here ...
1980 [ASSEMBLER] (EALIGN): ... and here.
1981 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1982 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1983 [!ASSEMBLER] (ENTRY_2): Use it.
1984 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1985 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1986 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1987 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1988 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1990 Use PPC64_LOAD_FUNCPTR.
1992 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1994 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1996 2013-12-04 Alan Modra <amodra@gmail.com>
1998 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1999 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2000 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2001 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2004 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2005 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2006 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2007 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2008 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2010 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2013 (__makecontext): Fix incorrect CFI when backtracing out of
2014 context created via makecontext.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2016 (__setcontext): Fix incorrect CFI during switch to new context.
2017 (__novec_setcontext): Likewise.
2019 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2022 * time/strptime_l.c (__strptime_internal): Allow modifiers
2024 * time/tst-strptime.c (day_tests): Add testcase.
2027 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2029 * scripts/bench.pl: Skip over blank lines.
2031 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2034 * manual/time.texi (Calendar Time): Clarify what timezone functions
2037 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2041 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2043 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2045 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2046 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2047 * debug/memset_chk.c (__memset_chk): Likewise.
2048 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2049 * debug/strncpy_chk.c: Likewise.
2051 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2055 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2056 (__ieee754_exp): For possibly underflowing results, check size of
2057 result and force underflow exception if required.
2058 * math/auto-libm-test-in: Add more tests of exp.
2059 * math/auto-libm-test-out: Regenerated.
2060 * sysdeps/i386/fpu/libm-test-ulps: Update.
2061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2064 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2065 * math/w_exp2f.c (__exp2f): Likewise.
2066 * math/w_exp2l.c (__exp2l): Likewise.
2067 * math/auto-libm-test-in: Do not allow missing errno on exp2
2069 * math/auto-libm-test-out: Regenerated.
2071 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2074 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2075 handle filename validation.
2076 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2079 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2082 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2083 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2084 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2086 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2087 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2088 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2089 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2090 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2091 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2092 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2093 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2094 Add more erfc tests.
2095 * math/auto-libm-test-out: Regenerated.
2096 * sysdeps/i386/fpu/libm-test-ulps: Update.
2097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2099 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2100 exp2, expm1, j0 and j1.
2101 * math/auto-libm-test-out: Regenerated.
2102 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2103 (erfc_test_data): Likewise.
2104 (exp_test_data): Likewise.
2105 (exp_tonearest_test_data): Likewise.
2106 (exp_towardzero_test_data): Likewise.
2107 (exp_downward_test_data): Likewise.
2108 (exp_upward_test_data): Likewise.
2109 (exp10_test_data): Likewise.
2110 (exp2_test_data): Likewise.
2111 (expm1_test_data): Likewise.
2112 (j0_test_data): Likewise.
2113 (j1_test_data): Likewise.
2114 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2115 (input_flag_type): Add flag_xfail_rounding.
2116 (input_flags): Add xfail-rounding.
2117 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2118 (output_for_one_input_case): Handle flag_xfail_rounding.
2119 * sysdeps/i386/fpu/libm-test-ulps: Update.
2120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2122 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2125 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2128 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2131 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2132 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2133 (STAP_PROBE0): New macro.
2134 (STAP_PROBE1): Likewise.
2135 (STAP_PROBE2): Likewise.
2136 (STAP_PROBE3): Likewise.
2137 (STAP_PROBE4): Likewise.
2139 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2141 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2143 2013-12-02 Steve Ellcey <sellcey@mips.com>
2145 * benchtests/Makefile (bench): Add sqrt.
2146 (LDLIBS-bench-sqrt): New.
2147 * benchtests/sqrt-input: New.
2149 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2151 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2152 (GAIH_EAI): Likewise.
2153 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2154 (gaih_inet): Likewise.
2155 (getaddrinfo): Don't use GAIH_EAI.
2157 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2158 (struct gaih): Remove definition.
2160 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2162 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2163 Use HERRNOP directly.
2165 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2169 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2171 * math/gen-auto-libm-tests.c (test_functions): Add more
2172 single-argument functions.
2173 (special_fill_pi_2): New function.
2174 (special_fill_minus_pi_2): Likewise.
2175 (special_fill_pi_6): Likewise.
2176 (special_fill_minus_pi_6): Likewise.
2177 (special_fill_pi_3): Likewise.
2178 (special_fill_2pi_3): Likewise.
2179 (special_fill_e): Likewise.
2180 (special_fill_1_e): Likewise.
2181 (special_fill_e_minus_1): Likewise.
2182 (special_real_inputs): Add more special inputs.
2183 (output_for_one_input_case): Do not require ERANGE on underflow to
2184 zero if round-to-nearest result does not underflow to zero, unless
2185 exact results required.
2186 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2187 atan, atanh, cbrt, cos and cosh.
2188 * math/auto-libm-test-out: Regenerated.
2189 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2190 (acos_tonearest_test_data): Likewise.
2191 (acos_towardzero_test_data): Likewise.
2192 (acos_downward_test_data): Likewise.
2193 (acos_upward_test_data): Likewise.
2194 (acosh_test_data): Likewise.
2195 (asin_test_data): Likewise.
2196 (asin_tonearest_test_data): Likewise.
2197 (asin_towardzero_test_data): Likewise.
2198 (asin_upward_test_data): Likewise.
2199 (asinh_test_data): Likewise.
2200 (atan_test_data): Likewise.
2201 (atanh_test_data): Likewise.
2202 (cbrt_test_data): Likewise.
2203 (cos_test_data): Likewise.
2204 (cos_tonearest_test_data): Likewise.
2205 (cos_towardzero_test_data): Likewise.
2206 (cos_downward_test_data): Likewise.
2207 (cos_upward_test_data): Likewise.
2208 (cosh_test_data): Likewise.
2209 (cosh_tonearest_test_data): Likewise.
2210 (cosh_towardzero_test_data): Likewise.
2211 (cosh_downward_test_data): Likewise.
2212 (cosh_upward_test_data): Likewise.
2213 * sysdeps/i386/fpu/libm-test-ulps: Update.
2214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2219 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2220 * math/w_exp10f.c (__exp10f): Likewise.
2221 * math/w_exp10l.c (__exp10l): Likewise.
2222 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2223 errno settings in existing tests.
2226 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2227 precision control set to double precision.
2228 * sysdeps/i386/fpu/w_sqrt.c: New file.
2229 * math/auto-libm-test-in: Add more tests.
2230 * math/auto-libm-test-out: Update.
2232 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2233 (sqrt_test_tonearest): New function.
2234 (sqrt_towardzero_test_data): New variable.
2235 (sqrt_test_towardzero): New function.
2236 (sqrt_downward_test_data): New variable.
2237 (sqrt_test_downward): New function.
2238 (sqrt_upward_test_data): New variable.
2239 (sqrt_test_upward): New function.
2240 (main): Call the new functions.
2242 * math/gen-auto-libm-tests.c: New file.
2243 * math/auto-libm-test-in: Likewise.
2244 * math/auto-libm-test-out: New generated file.
2245 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2247 (%beautify): Add generated representations of zero.
2248 (top level): Set $auto_input and call parse_auto_input.
2249 (beautify): Remove trailing "f" from hex float constants.
2250 (parse_args): Handle XFAIL_TEST.
2251 (convert_condition): New function.
2252 (or_value): Likewise.
2253 (or_cond_value): Likewise.
2254 (generate_testfile): Handle AUTO_TESTS_* lines.
2255 (parse_auto_input): New function.
2256 * math/libm-test.inc (XFAIL_TEST): New macro.
2257 (ERRNO_UNCHANGED): Update value.
2258 (ERRNO_EDOM): Likewise.
2259 (ERRNO_ERANGE): Likewise.
2260 (IGNORE_RESULT): Likewise.
2261 (TEST_COND_flt_32): New macro.
2262 (TEST_COND_dbl_64): Likewise.
2263 (TEST_COND_ldbl_96_intel): Likewise.
2264 (TEST_COND_ldbl_96_m68k): Likewise.
2265 (TEST_COND_ldbl_128): Likewise.
2266 (TEST_COND_ldbl_128ibm): Likewise.
2267 (TEST_COND_long32): Likewise.
2268 (TEST_COND_long64): Likewise.
2269 (TEST_COND_before_rounding): Likewise.
2270 (TEST_COND_after_rounding): Likewise.
2271 (enable_test): Handle XFAIL_TEST flag.
2272 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2273 with finite results.
2274 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2277 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2278 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2281 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2282 __tls_get_addr_internal instead of __tls_get_offset in order to
2283 avoid GOT pointer dependency. Make rtld export
2284 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2285 __tls_get_addr since we are a __tls_get_offset platform.
2286 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2287 GOT pointer being set up before.
2288 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2290 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2292 * manual/math.texi (Errors in Math Functions): Document accuracy
2296 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2297 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2300 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2302 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2313 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2314 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2315 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2316 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2317 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2319 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2321 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2323 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2324 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2325 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2326 atomic-feupdateenv and flt-rounds.
2327 * sysdeps/powerpc/nofpu/Versions (libc): Add
2328 __atomic_feholdexcept, __atomic_feclearexcept,
2329 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2330 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2331 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2332 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2333 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2338 * manual/arith.texi (FP Exceptions): Document that exceptions may
2339 not be raised when matherr is used.
2340 (Math Error Reporting): Document overflow in directed rounding
2341 modes. Document that errno may not be set when finite values are
2342 returned on overflow. Document intent to set errno on underflow
2343 only for underflow to zero.
2346 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2347 round-to-nearest then adjust result for other rounding modes.
2348 * include/fenv.h (fegetround): Use libm_hidden_proto.
2349 * math/fegetround.c (fegetround): Use libm_hidden_def.
2350 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2351 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2352 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2353 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2355 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2356 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2357 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2358 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2360 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2363 * nss/Versions (libnss_files): Add
2364 _nss_files_gethostbyname3_r.
2365 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2367 (HOST_DB_LOOKUP): Remove macro.
2368 (_nss_files_gethostbyname_r): Implement function without the
2369 HOST_DB_LOOKUP macro.
2370 (_nss_files_gethostbyname2_r): Likewise.
2372 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2374 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2376 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2378 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2379 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2382 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2384 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2385 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2386 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2387 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2388 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2389 __fe_nomask_env_priv and attribute_hidden.
2390 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2391 (libc_feupdateenv_test_ppc): Likewise.
2392 (libc_feresetround_ppc): Likewise.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2394 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2395 compat_symbol macro.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2397 (__fe_nomask_env): Likewise.
2398 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2400 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2402 * string/Makefile: Remove ifunc tests.
2403 * string/test-string.h: Define TEST_IFUNC.
2404 * string/test-bcopy-ifunc.c: Remove.
2405 * string/test-bzero-ifunc.c: Likewise.
2406 * string/test-memccpy-ifunc.c: Likewise.
2407 * string/test-memchr-ifunc.c: Likewise.
2408 * string/test-memcmp-ifunc.c: Likewise.
2409 * string/test-memcpy-ifunc.c: Likewise.
2410 * string/test-memmem-ifunc.c: Likewise.
2411 * string/test-memmove-ifunc.c: Likewise.
2412 * string/test-mempcpy-ifunc.c: Likewise.
2413 * string/test-memrchr-ifunc.c: Likewise.
2414 * string/test-memset-ifunc.c: Likewise.
2415 * string/test-rawmemchr-ifunc.c: Likewise.
2416 * string/test-stpcpy-ifunc.c: Likewise.
2417 * string/test-stpncpy-ifunc.c: Likewise.
2418 * string/test-strcasecmp-ifunc.c: Likewise.
2419 * string/test-strcasestr-ifunc.c: Likewise.
2420 * string/test-strcat-ifunc.c: Likewise.
2421 * string/test-strchr-ifunc.c: Likewise.
2422 * string/test-strchrnul-ifunc.c: Likewise.
2423 * string/test-strcmp-ifunc.c: Likewise.
2424 * string/test-strcpy-ifunc.c: Likewise.
2425 * string/test-strcspn-ifunc.c: Likewise.
2426 * string/test-strlen-ifunc.c: Likewise.
2427 * string/test-strncasecmp-ifunc.c: Likewise.
2428 * string/test-strncat-ifunc.c: Likewise.
2429 * string/test-strncmp-ifunc.c: Likewise.
2430 * string/test-strncpy-ifunc.c: Likewise.
2431 * string/test-strnlen-ifunc.c: Likewise.
2432 * string/test-strpbrk-ifunc.c: Likewise.
2433 * string/test-strrchr-ifunc.c: Likewise.
2434 * string/test-strspn-ifunc.c: Likewise.
2435 * string/test-strstr-ifunc.c: Likewise.
2437 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2439 * benchtests/Makefile: Remove ifunc tests.
2440 * benchtests/bench-string.h: Define TEST_IFUNC.
2441 * benchtests/bench-bcopy-ifunc.c: Remove.
2442 * benchtests/bench-bzero-ifunc.c: Likewise.
2443 * benchtests/bench-memccpy-ifunc.c: Likewise.
2444 * benchtests/bench-memchr-ifunc.c: Likewise.
2445 * benchtests/bench-memcmp-ifunc.c: Likewise.
2446 * benchtests/bench-memcpy-ifunc.c: Likewise.
2447 * benchtests/bench-memmem-ifunc.c: Likewise.
2448 * benchtests/bench-memmove-ifunc.c: Likewise.
2449 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2450 * benchtests/bench-memrchr-ifunc.c: Likewise.
2451 * benchtests/bench-memset-ifunc.c: Likewise.
2452 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2453 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2454 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2455 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2456 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2457 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2458 * benchtests/bench-strcat-ifunc.c: Likewise.
2459 * benchtests/bench-strchr-ifunc.c: Likewise.
2460 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2461 * benchtests/bench-strcmp-ifunc.c: Likewise.
2462 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2463 * benchtests/bench-strcpy-ifunc.c: Likewise.
2464 * benchtests/bench-strcspn-ifunc.c: Likewise.
2465 * benchtests/bench-strlen-ifunc.c: Likewise.
2466 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2467 * benchtests/bench-strncat-ifunc.c: Likewise.
2468 * benchtests/bench-strncmp-ifunc.c: Likewise.
2469 * benchtests/bench-strncpy-ifunc.c: Likewise.
2470 * benchtests/bench-strnlen-ifunc.c: Likewise.
2471 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2472 * benchtests/bench-strrchr-ifunc.c: Likewise.
2473 * benchtests/bench-strsep-ifunc.c: Likewise.
2474 * benchtests/bench-strspn-ifunc.c: Likewise.
2475 * benchtests/bench-strstr-ifunc.c: Likewise.
2477 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2479 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2481 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2483 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2484 * rt/aio.h: Likewise.
2485 * sysdeps/gnu/bits/utmp.h: Likewise.
2486 * sysdeps/gnu/bits/utmpx.h: Likewise.
2487 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2488 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2489 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2490 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2491 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2492 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2493 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2494 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2495 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2496 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2499 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2501 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2502 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2503 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2504 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2505 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2506 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2507 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2508 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2509 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2510 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2511 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2513 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2514 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2515 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2516 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2517 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2519 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2520 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2521 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2522 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2523 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2524 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2525 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2526 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2527 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2528 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2530 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2533 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2534 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2536 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2538 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2539 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2542 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2545 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2546 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2547 (__fesetround): Remove define.
2548 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2549 rounding and exceptions handling.
2550 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2551 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2552 (__fe_nomask_env): Likewise.
2553 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2554 __fegetround instead of fegetround.
2555 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2556 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2558 2013-11-21 Roland McGrath <roland@hack.frob.com>
2560 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2563 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2565 2013-11-21 Meador Inge <meadori@codesourcery.com>
2568 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2569 (encrypt_r): Likewise.
2570 * malloc/obstack.h (obstack_free): Likewise.
2571 * posix/unistd.h (encrypt): Likewise.
2573 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2575 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2576 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2577 DL_CALL_DT_FINI() that call the functions directly.
2578 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2579 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2580 * elf/dl-fini.c: Likewise.
2582 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2584 * malloc/hooks.c (memalign_check): Add alignment rounding.
2585 * malloc/malloc.c (_mid_memalign): New function.
2586 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2587 Implement by calling _mid_memalign.
2588 * manual/probes.texi (Memory Allocation Probes): Remove
2589 memory_valloc_retry and memory_pvalloc_retry.
2591 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2593 * locale/programs/locarchive.c (open_archive): Add const
2594 qualifier to ARCHIVEFNAME and copy default fname to
2598 * libio/tst-widetext.input: Rename Oriya to Odia.
2599 * locale/iso-639.def: Likewise.
2601 * manual/probes.texi (Mathematical Function Probes): Add
2602 documentation for sin, cos, asin and acos probes.
2603 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2604 (__sin32): Add slowasin probe.
2605 (__cos32): Add slowacos probe.
2606 (__mpsin): Add slowsin probe.
2607 (__mpcos): Add slowcos probe.
2609 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2612 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2613 thread-local __sim_exceptions_thread and global
2614 __sim_exceptions_global.
2615 (__sim_disabled_exceptions): Change to thread-local
2616 __sim_disabled_exceptions_thread and global
2617 __sim_disabled_exceptions_global.
2618 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2619 and global __sim_round_mode_global.
2620 (__simulate_exceptions): Use thread-local floating-point state and
2621 set global state from it as needed.
2622 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2623 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2624 __sim_round_mode_thread.
2625 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2626 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2627 and global __sim_exceptions_global.
2628 (__sim_disabled_exceptions): Change to thread-local
2629 __sim_disabled_exceptions_thread and global
2630 __sim_disabled_exceptions_global.
2631 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2632 and global __sim_round_mode_global.
2633 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2634 (SIM_SET_GLOBAL): Likewise.
2635 * sysdeps/powerpc/soft-fp/sfp-machine.h
2636 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2637 __sim_round_mode_thread.
2638 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2639 __sim_disabled_exceptions_thread.
2640 (__sim_exceptions): Change to __sim_exceptions_thread.
2641 (__sim_disabled_exceptions): Change to
2642 __sim_disabled_exceptions_thread.
2643 (__sim_round_mode): Change to __sim_round_mode_thread.
2644 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2645 thread-local floating-point state and set global state from it as
2647 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2648 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2649 (__sim_disabled_exceptions): Remove extern declaration.
2650 (feenableexcept): Use thread-local floating-point state and set
2651 global state from it as needed.
2652 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2654 (__sim_disabled_exceptions): Likewise.
2655 (__sim_round_mode): Likewise.
2656 (__fegetenv): Use thread-local floating-point state.
2657 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2658 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2659 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2660 floating-point state and set global state from it as needed.
2661 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2662 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2663 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2665 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2666 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2668 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2669 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2670 Use __sim_round_mode_thread.
2671 * math/test-fenv-tls.c: New file.
2672 * math/Makefile (tests): Add test-fenv-tls.
2673 ($(objpfx)test-fenv-tls): Depend on
2674 $(common-objpfx)nptl/libpthread.so.
2676 2013-11-19 Andreas Schwab <schwab@suse.de>
2678 * locale/programs/locale.c (show_info): Decode wordarray elements.
2679 * locale/categories.def (LC_MONETARY): Add element for
2680 _NL_MONETARY_CRNCYSTR.
2681 * locale/C-monetary.c (conversion_rate): New variable.
2682 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2685 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2687 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2688 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2690 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2692 * elf/Makefile (tst-auxv): New test.
2693 * elf/tst-auxv.c: New
2694 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2696 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2698 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2699 (hidden_proto): Caller changed.
2700 (hidden_tls_proto): New macro.
2701 (libc_hidden_tls_proto): Likewise.
2702 (rtld_hidden_tls_proto): Likewise.
2703 (libm_hidden_tls_proto): Likewise.
2704 (libresolv_hidden_tls_proto): Likewise.
2705 (librt_hidden_tls_proto): Likewise.
2706 (libdl_hidden_tls_proto): Likewise.
2707 (libnss_files_hidden_tls_proto): Likewise.
2708 (libnsl_hidden_tls_proto): Likewise.
2709 (libnss_nisplus_hidden_tls_proto): Likewise.
2710 (libutil_hidden_tls_proto): Likewise.
2712 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2715 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2716 (decompose_rpath): Defer expansion to fillin_rpath.
2717 (_dl_init_paths): Pass linkmap to fillin_rpath.
2719 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2721 * benchtests/Makefile: Add strsep.
2722 * benchtests/bench-strsep.c: New file: strsep benchtest.
2723 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2725 2013-11-18 Andreas Schwab <schwab@suse.de>
2727 * locale/programs/locale.c (show_info) [case byte]: Check for
2728 '\377' instead of '\177'.
2729 * locale/C-monetary.c (not_available): Always use "\377".
2730 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2731 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2732 detect unavailable sign_posn locale elements.
2733 * locale/localeconv.c (__localeconv): For grouping and
2734 mon_grouping handle "\177" and "\377" like no grouping.
2735 (INT_ELEM): New macro. Use it to set all numeric members.
2736 * locale/programs/ld-monetary.c (monetary_read)
2737 <tok_mon_grouping>: Normalize single -1 to the empty string.
2738 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2741 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2744 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2745 when we match (nil).
2746 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2748 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2750 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2751 (NO_TEST_INLINE): Update value.
2752 (ERRNO_UNCHANGED): Likewise.
2753 (ERRNO_EDOM): Likewise.
2754 (ERRNO_ERANGE): Likewise.
2755 (IGNORE_RESULT): Likewise.
2756 (check_float_internal): Check signs of NaN results if
2758 (check_complex): Pass TEST_NAN_SIGN flag through to second
2759 check_float_internal call.
2760 (copysign_test_data): Add tests with quiet NaNs as second
2761 argument. Use TEST_NAN_SIGN.
2762 (fabs_test_data): Add test of negative quiet NaN argument. Use
2764 (signbit_test_data): Add tests of quiet NaN argument.
2765 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2767 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2769 (parse_args): Handle function results specified as IGNORE.
2770 * math/libm-test.inc (IGNORE_RESULT): New macro.
2771 (check_float_internal): Do not check numerical result if flag
2773 (check_complex): Pass through IGNORE_RESULT to second
2774 check_float_internal call.
2775 (check_int): Do not check numerical result if flag IGNORE_RESULT
2777 (check_long): Likewise.
2778 (check_bool): Likewise.
2779 (check_longlong): Likewise.
2780 (lrint_test_data): Add tests of infinite and NaN arguments.
2781 (lrint_tonearest_test_data): Likewise.
2782 (lrint_towardzero_test_data): Likewise.
2783 (lrint_downward_test_data): Likewise.
2784 (lrint_upward_test_data): Likewise.
2785 (llrint_test_data): Likewise.
2786 (llrint_tonearest_test_data): Likewise.
2787 (llrint_towardzero_test_data): Likewise.
2788 (llrint_downward_test_data): Likewise.
2789 (llrint_upward_test_data): Likewise.
2790 (lround_test_data): Likewise.
2791 (llround_test_data): Likewise.
2793 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2794 (ERRNO_UNCHANGED): Update value.
2795 (ERRNO_EDOM): Likewise.
2796 (ERRNO_ERANGE): Likewise.
2797 (NO_TEST_INLINE_FLOAT): New macro.
2798 (NO_TEST_INLINE_DOUBLE): Likewise.
2799 (enable_test): New function.
2800 (RUN_TEST_f_f): Check enable_test before running test.
2801 (RUN_TEST_2_f): Likewise.
2802 (RUN_TEST_fff_f): Likewise.
2803 (RUN_TEST_c_f): Likewise.
2804 (RUN_TEST_f_f1): Likewise.
2805 (RUN_TEST_fF_f1): Likewise.
2806 (RUN_TEST_fI_f1): Likewise.
2807 (RUN_TEST_ffI_f1): Likewise.
2808 (RUN_TEST_c_c): Likewise.
2809 (RUN_TEST_cc_c): Likewise.
2810 (RUN_TEST_f_i): Likewise.
2811 (RUN_TEST_f_i_tg): Likewise.
2812 (RUN_TEST_ff_i_tg): Likewise.
2813 (RUN_TEST_f_b): Likewise.
2814 (RUN_TEST_f_b_tg): Likewise.
2815 (RUN_TEST_f_l): Likewise.
2816 (RUN_TEST_f_L): Likewise.
2817 (RUN_TEST_fFF_11): Likewise.
2818 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2820 (cosh_test_data): Likewise.
2821 (exp_test_data): Likewise.
2822 (expm1_test_data): Likewise.
2823 (hypot_test_data): Likewise.
2824 (pow_test_data): Likewise.
2825 (sinh_test_data): Likewise.
2826 (tanh_test_data): Likewise.
2827 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2830 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2831 tests with quiet NaN input and output.
2832 (acosh_test_data): Likewise.
2833 (asin_test_data): Likewise.
2834 (asinh_test_data): Likewise.
2835 (atan_test_data): Likewise.
2836 (atanh_test_data): Likewise.
2837 (atan2_test_data): Likewise.
2838 (cbrt_test_data): Likewise.
2839 (cos_test_data): Likewise.
2840 (cosh_test_data): Likewise.
2841 (erf_test_data): Likewise.
2842 (erfc_test_data): Likewise.
2843 (exp_test_data): Likewise.
2844 (exp10_test_data): Likewise.
2845 (exp2_test_data): Likewise.
2846 (expm1_test_data): Likewise.
2847 (hypot_test_data): Likewise.
2848 (j0_test_data): Likewise.
2849 (j1_test_data): Likewise.
2850 (jn_test_data): Likewise.
2851 (lgamma_test_data): Likewise.
2852 (log_test_data): Likewise.
2853 (log10_test_data): Likewise.
2854 (log1p_test_data): Likewise.
2855 (log2_test_data): Likewise.
2856 (pow_test_data): Likewise.
2857 (scalb_test_data): Likewise.
2858 (sin_test_data): Likewise.
2859 (sincos_test_data): Likewise.
2860 (sinh_test_data): Likewise.
2861 (tan_test_data): Likewise.
2862 (tanh_test_data): Likewise.
2863 (tgamma_test_data): Likewise.
2864 (y0_test_data): Likewise.
2865 (y1_test_data): Likewise.
2866 (yn_test_data): Likewise.
2869 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2870 argument being NaN and avoid computations with second argument in
2872 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2873 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2874 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2876 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2878 * locale/iso-639.def: Add Chitwani Tharu (the).
2880 2013-11-14 Andreas Schwab <schwab@suse.de>
2882 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2883 word instead of empty string.
2885 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2888 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2890 (__fe_nomask_env): Likewise.
2892 2013-11-13 Steve Ellcey <sellcey@mips.com>
2894 * benchtests/bench-timing.h: Include time.h.
2896 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2899 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2901 * sysdeps/unix/sysv/linux/configure: Regenerated.
2903 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2906 * stdlib/strtod_l.c (round_and_return): Do not consider
2907 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2908 exponent one less than half the least subnormal exponent.
2909 * stdlib/test-strtod-round-data: Add more tests.
2910 * stdlib/tst-strtod-round.c (tests): Regenerated.
2912 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2916 (__fe_mask_env): Likewise.
2917 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2918 libm_hidden_proto and add function prototype.
2919 (__fe_mask_env): Add function prototype.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2921 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2923 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2925 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2927 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2929 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2930 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2932 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2934 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2935 of htab_find_slot().
2937 2013-11-11 David S. Miller <davem@davemloft.net>
2940 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2941 symbol in the non-vis3 case in static builds.
2942 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2943 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2944 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2945 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2947 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2950 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2953 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2955 * benchtests/Makefile: Add bench-strtod.
2956 * benchtests/bench-strtod.c: New file: strtod benchtest
2958 2013-11-11 Andreas Schwab <schwab@suse.de>
2961 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2962 terminating NUL in key length.
2964 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2966 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2967 Add artificial ODP entry for vDSO symbol for PPC64.
2968 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2969 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2971 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2974 * nss/getent.c (services_keys): Recognize services starting with digit.
2976 2013-11-06 David S. Miller <davem@davemloft.net>
2979 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2980 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2982 2013-11-06 Will Newton <will.newton@linaro.org>
2984 * manual/memory.texi (Malloc Examples): Remove register
2985 keyword from examples.
2987 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2989 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2991 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2993 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2994 depending on [__GCC_IEC_559 > 0].
2995 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2996 depending on [__GCC_IEC_559_COMPLEX > 0].
2998 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3000 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3003 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3005 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3007 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3010 * malloc/malloc (malloc_info): Do not handle first bin as
3013 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3015 * locale/iso-639.def: Add Central Nahuatl (nhn).
3017 2013-11-01 Bruno Haible <bruno@clisp.org>
3020 * manual/math.texi (BSD Random): Specify range upper bound as
3023 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3025 * locale/iso-639.def: Add Meadow Mari (mhr).
3027 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3029 [BZ #14752], [BZ #15763]
3030 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3032 * rt/tst_shm.c: Add test for escaping directory.
3034 2013-10-31 Andreas Schwab <schwab@suse.de>
3037 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3038 followed by 'x' as part of digit sequence.
3039 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3041 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3044 * configure.ac: allow GNU Make 4.0 and greater.
3045 * configure: Regenerated.
3047 2013-10-30 Will Newton <will.newton@linaro.org>
3050 * malloc/hooks.c (memalign_check): Limit alignment to the
3051 maximum representable power of two.
3052 * malloc/malloc.c (__libc_memalign): Likewise.
3053 * malloc/tst-memalign.c (do_test): Add test for very
3054 large alignment values.
3055 * malloc/tst-posix_memalign.c (do_test): Likewise.
3057 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3060 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3061 (munmap_chunk): Likewise.
3062 (mremap_chunk): Likewise.
3064 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3067 * stdlib/div.c (div): Remove obsolete code.
3068 * stdlib/ldiv.c (ldiv): Likewise.
3069 * stdlib/lldiv.c (lldiv): Likewise.
3071 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3074 * nss/nss_files/files-XXX.c (get_contents_ret): New
3076 (get_contents): New function.
3077 (internal_getent): Use it. Expand size of LINEBUFLEN.
3079 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3081 * configure.in: Moved to ...
3082 * configure.ac: ... here. Change reference to configure.in
3084 * sysdeps/arm/preconfigure.ac: ... here.
3085 configure.in to configure.ac.
3086 * sysdeps/gnu/configure.in: Moved to ...
3087 * sysdeps/gnu/configure.ac: ... here.
3088 * sysdeps/i386/configure.in: Moved to ...
3089 * sysdeps/i386/configure.ac: ... here.
3090 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3091 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3092 * sysdeps/mach/configure.in: Moved to ...
3093 * sysdeps/mach/configure.ac: ... here.
3094 * sysdeps/mach/hurd/configure.in: Moved to ...
3095 * sysdeps/mach/hurd/configure.ac: ... here.
3096 * sysdeps/powerpc/configure.in: Moved to ...
3097 * sysdeps/powerpc/configure.ac: ... here.
3098 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3099 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3100 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3101 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3102 * sysdeps/s390/s390-32/configure.in: Moved to ...
3103 * sysdeps/s390/s390-32/configure.ac: ... here.
3104 * sysdeps/s390/s390-64/configure.in: Moved to ...
3105 * sysdeps/s390/s390-64/configure.ac: ... here.
3106 * sysdeps/sh/configure.in: Moved to ...
3107 * sysdeps/sh/configure.ac: ... here.
3108 * sysdeps/sparc/configure.in: Moved to ...
3109 * sysdeps/sparc/configure.ac: ... here.
3110 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3111 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3112 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3113 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3114 * sysdeps/x86_64/configure.in: Moved to ...
3115 * sysdeps/x86_64/configure.ac: ... here.
3116 * sysdeps/x86_64/preconfigure.in: Moved to ...
3117 * sysdeps/x86_64/preconfigure.ac: ... here.
3118 * aclocal.m4: Change reference to configure.in to configure.ac.
3119 * config.h.in: Likewise.
3120 * manual/install.texi: Likewise.
3121 * manual/maint.texi: Likewise.
3122 * Makefile: Likewise.
3123 * malloc/Makefile: Likewise.
3124 * nscd/Makefile: Likewise.
3125 * Makeconfig: Change reference to configure.in and
3126 preconfigure.in to configure.ac and preconfigure.ac
3128 * INSTALL: Regenerated.
3129 * configure: Likewise.
3130 * sysdeps/gnu/configure: Likewise.
3131 * sysdeps/i386/configure: Likewise.
3132 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3133 * sysdeps/mach/configure: Likewise.
3134 * sysdeps/mach/hurd/configure: Likewise.
3135 * sysdeps/powerpc/configure: Likewise.
3136 * sysdeps/powerpc/powerpc32/configure: Likewise.
3137 * sysdeps/powerpc/powerpc64/configure: Likewise.
3138 * sysdeps/s390/s390-32/configure: Likewise.
3139 * sysdeps/s390/s390-64/configure: Likewise.
3140 * sysdeps/sh/configure: Likewise.
3141 * sysdeps/sparc/configure: Likewise.
3142 * sysdeps/unix/sysv/linux/configure: Likewise.
3143 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3144 * sysdeps/x86_64/configure: Likewise.
3145 * sysdeps/x86_64/preconfigure: Likewise.
3147 2013-10-29 Andreas Schwab <schwab@suse.de>
3149 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3151 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3153 * benchtests/pow-inputs: Add new inputs.
3155 * benchtests/exp-inputs: Add new inputs.
3157 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3158 conditional check for return value.
3159 (__cos32): Likewise.
3161 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3163 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3164 to provide a boost for large inputs with word alignment.
3165 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3166 implementation based on optimized PPC64 strcpy.
3167 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3168 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3169 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3170 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3172 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3175 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3177 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3180 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3181 * time/tst-strptime.c (day_tests): Add testcase.
3183 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3186 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3188 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3191 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3192 MAP_FAILED on error.
3194 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3197 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3198 heap for large requests.
3200 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3203 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3204 result if the result has no associated interface.
3205 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3206 interface for all 127.X.Y.Z addresses.
3208 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3210 * locale/iso-639.def: Add Ligurian (lij)
3212 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3215 * sunrpc/rpc_main.c: Document rpcgen -5.
3217 2013-10-19 Michael Stahl <mstahl@redhat.com>
3219 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3221 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3224 * posix/glob.c: Match only directories when trailing slash is present.
3225 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3226 (main): Add testcase.
3228 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3231 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3233 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3235 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3236 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3237 AUTH_DES and cindex for FIPS 140-2.
3238 (DES Encryption): Add cindex FIPS 46-3.
3240 * locale/locarchive.h (struct locarhandle): Add fname.
3241 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3242 if an optional argument was specified to --list-archive,
3244 * locale/programs/locarchive.c (show_archive_content): Take new
3245 argument fname and pass it via ah.fname to open_archive.
3246 * locale/programs/localedef.h: Update decl.
3247 (open_archive): If AH->fname is non-null, open that file
3248 rather than the default file name, and don't ignore ENOENT.
3249 (create_archive): Set AH.fname to NULL.
3250 (delete_locales_from_archive): Likewise.
3251 (add_locales_to_archive): Likewise.
3252 * locale/programs/locfile.c (write_all_categories): Likewise.
3254 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3255 Aldy Hernandez <aldyh@redhat.com>
3257 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3258 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3259 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3260 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3261 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3262 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3263 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3264 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3265 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3266 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3267 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3268 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3269 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3270 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3271 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3273 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3275 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3277 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3279 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3280 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3282 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3283 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3284 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3285 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3287 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3288 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3289 * sysdeps/powerpc/preconfigure: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3292 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3293 Replace contents of file by #include of <fenv_libc.h>.
3294 * sysdeps/powerpc/soft-fp/sfp-machine.h
3295 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3297 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3298 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3299 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3300 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3301 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3302 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3304 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3305 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3306 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3307 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3308 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3310 Allow copysignl PLT reference to be missing.
3312 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3313 Joseph Myers <joseph@codesourcery.com
3316 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3318 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3320 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3322 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3323 * elf/tst-tls1.c: Likewise.
3324 * elf/tst-tls10.h: Likewise.
3325 * elf/tst-tls14.c: Likewise.
3326 * elf/tst-tls2.c: Likewise.
3327 * elf/tst-tls3.c: Likewise.
3328 * elf/tst-tls4.c: Likewise.
3329 * elf/tst-tls5.c: Likewise.
3330 * elf/tst-tls6.c: Likewise.
3331 * elf/tst-tls7.c: Likewise.
3332 * elf/tst-tls8.c: Likewise.
3333 * elf/tst-tls9.c: Likewise.
3334 * elf/tst-tlsmod1.c: Likewise.
3335 * elf/tst-tlsmod13.c: Likewise.
3336 * elf/tst-tlsmod13a.c: Likewise.
3337 * elf/tst-tlsmod14a.c: Likewise.
3338 * elf/tst-tlsmod16a.c: Likewise.
3339 * elf/tst-tlsmod16b.c: Likewise.
3340 * elf/tst-tlsmod2.c: Likewise.
3341 * elf/tst-tlsmod3.c: Likewise.
3342 * elf/tst-tlsmod4.c: Likewise.
3343 * elf/tst-tlsmod5.c: Likewise.
3344 * elf/tst-tlsmod6.c: Likewise.
3346 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3349 * malloc/malloc.c: remove checks for statistics.
3351 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3354 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3355 * inet/tst-network.c: Add testcase.
3357 2013-10-17 Andreas Schwab <schwab@suse.de>
3360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3361 to determine canonical name.
3363 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3365 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3366 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3368 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3370 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3371 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3372 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3373 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3374 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3375 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3376 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3378 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3379 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3380 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3382 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3383 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3384 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3388 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3389 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3390 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3391 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3392 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3393 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3394 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3395 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3397 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3398 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3399 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3401 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3402 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3406 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3407 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3408 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3410 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3411 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3412 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3413 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3414 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3415 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3416 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3417 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3418 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3420 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3424 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3427 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3428 make result into a quiet NaN.
3430 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3432 * soft-fp/adddf3.c: Fix horizontal whitespace.
3433 * soft-fp/addsf3.c: Likewise.
3434 * soft-fp/addtf3.c: Likewise.
3435 * soft-fp/divdf3.c: Likewise.
3436 * soft-fp/divsf3.c: Likewise.
3437 * soft-fp/divtf3.c: Likewise.
3438 * soft-fp/double.h: Likewise.
3439 * soft-fp/eqdf2.c: Likewise.
3440 * soft-fp/eqsf2.c: Likewise.
3441 * soft-fp/eqtf2.c: Likewise.
3442 * soft-fp/extenddftf2.c: Likewise.
3443 * soft-fp/extended.h: Likewise.
3444 * soft-fp/extendsfdf2.c: Likewise.
3445 * soft-fp/extendsftf2.c: Likewise.
3446 * soft-fp/extendxftf2.c: Likewise.
3447 * soft-fp/fixdfdi.c: Likewise.
3448 * soft-fp/fixdfsi.c: Likewise.
3449 * soft-fp/fixdfti.c: Likewise.
3450 * soft-fp/fixsfdi.c: Likewise.
3451 * soft-fp/fixsfsi.c: Likewise.
3452 * soft-fp/fixsfti.c: Likewise.
3453 * soft-fp/fixtfdi.c: Likewise.
3454 * soft-fp/fixtfsi.c: Likewise.
3455 * soft-fp/fixtfti.c: Likewise.
3456 * soft-fp/fixunsdfdi.c: Likewise.
3457 * soft-fp/fixunsdfsi.c: Likewise.
3458 * soft-fp/fixunsdfti.c: Likewise.
3459 * soft-fp/fixunssfdi.c: Likewise.
3460 * soft-fp/fixunssfsi.c: Likewise.
3461 * soft-fp/fixunssfti.c: Likewise.
3462 * soft-fp/fixunstfdi.c: Likewise.
3463 * soft-fp/fixunstfsi.c: Likewise.
3464 * soft-fp/fixunstfti.c: Likewise.
3465 * soft-fp/floatdidf.c: Likewise.
3466 * soft-fp/floatdisf.c: Likewise.
3467 * soft-fp/floatditf.c: Likewise.
3468 * soft-fp/floatsidf.c: Likewise.
3469 * soft-fp/floatsisf.c: Likewise.
3470 * soft-fp/floatsitf.c: Likewise.
3471 * soft-fp/floattidf.c: Likewise.
3472 * soft-fp/floattisf.c: Likewise.
3473 * soft-fp/floattitf.c: Likewise.
3474 * soft-fp/floatundidf.c: Likewise.
3475 * soft-fp/floatundisf.c: Likewise.
3476 * soft-fp/floatunditf.c: Likewise.
3477 * soft-fp/floatunsidf.c: Likewise.
3478 * soft-fp/floatunsisf.c: Likewise.
3479 * soft-fp/floatunsitf.c: Likewise.
3480 * soft-fp/floatuntidf.c: Likewise.
3481 * soft-fp/floatuntisf.c: Likewise.
3482 * soft-fp/floatuntitf.c: Likewise.
3483 * soft-fp/fmadf4.c: Likewise.
3484 * soft-fp/fmasf4.c: Likewise.
3485 * soft-fp/fmatf4.c: Likewise.
3486 * soft-fp/gedf2.c: Likewise.
3487 * soft-fp/gesf2.c: Likewise.
3488 * soft-fp/getf2.c: Likewise.
3489 * soft-fp/ledf2.c: Likewise.
3490 * soft-fp/lesf2.c: Likewise.
3491 * soft-fp/letf2.c: Likewise.
3492 * soft-fp/muldf3.c: Likewise.
3493 * soft-fp/mulsf3.c: Likewise.
3494 * soft-fp/multf3.c: Likewise.
3495 * soft-fp/negdf2.c: Likewise.
3496 * soft-fp/negsf2.c: Likewise.
3497 * soft-fp/negtf2.c: Likewise.
3498 * soft-fp/op-1.h: Likewise.
3499 * soft-fp/op-2.h: Likewise.
3500 * soft-fp/op-4.h: Likewise.
3501 * soft-fp/op-8.h: Likewise.
3502 * soft-fp/op-common.h: Likewise.
3503 * soft-fp/quad.h: Likewise.
3504 * soft-fp/single.h: Likewise.
3505 * soft-fp/soft-fp.h: Likewise.
3506 * soft-fp/sqrtdf2.c: Likewise.
3507 * soft-fp/sqrtsf2.c: Likewise.
3508 * soft-fp/sqrttf2.c: Likewise.
3509 * soft-fp/subdf3.c: Likewise.
3510 * soft-fp/subsf3.c: Likewise.
3511 * soft-fp/subtf3.c: Likewise.
3512 * soft-fp/truncdfsf2.c: Likewise.
3513 * soft-fp/trunctfdf2.c: Likewise.
3514 * soft-fp/trunctfsf2.c: Likewise.
3515 * soft-fp/trunctfxf2.c: Likewise.
3516 * soft-fp/unorddf2.c: Likewise.
3517 * soft-fp/unordsf2.c: Likewise.
3518 * soft-fp/unordtf2.c: Likewise.
3520 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3522 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3523 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3525 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3527 * elf/dl-libc.c: Clear initfini list after freeing.
3529 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3531 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3532 * soft-fp/addsf3.c: Likewise.
3533 * soft-fp/addtf3.c: Likewise.
3534 * soft-fp/divdf3.c: Likewise.
3535 * soft-fp/divsf3.c: Likewise.
3536 * soft-fp/divtf3.c: Likewise.
3537 * soft-fp/double.h: Likewise.
3538 * soft-fp/eqdf2.c: Likewise.
3539 * soft-fp/eqsf2.c: Likewise.
3540 * soft-fp/eqtf2.c: Likewise.
3541 * soft-fp/extenddftf2.c: Likewise.
3542 * soft-fp/extended.h: Likewise.
3543 * soft-fp/extendsfdf2.c: Likewise.
3544 * soft-fp/extendsftf2.c: Likewise.
3545 * soft-fp/extendxftf2.c: Likewise.
3546 * soft-fp/fixdfdi.c: Likewise.
3547 * soft-fp/fixdfsi.c: Likewise.
3548 * soft-fp/fixdfti.c: Likewise.
3549 * soft-fp/fixsfdi.c: Likewise.
3550 * soft-fp/fixsfsi.c: Likewise.
3551 * soft-fp/fixsfti.c: Likewise.
3552 * soft-fp/fixtfdi.c: Likewise.
3553 * soft-fp/fixtfsi.c: Likewise.
3554 * soft-fp/fixtfti.c: Likewise.
3555 * soft-fp/fixunsdfdi.c: Likewise.
3556 * soft-fp/fixunsdfsi.c: Likewise.
3557 * soft-fp/fixunsdfti.c: Likewise.
3558 * soft-fp/fixunssfdi.c: Likewise.
3559 * soft-fp/fixunssfsi.c: Likewise.
3560 * soft-fp/fixunssfti.c: Likewise.
3561 * soft-fp/fixunstfdi.c: Likewise.
3562 * soft-fp/fixunstfsi.c: Likewise.
3563 * soft-fp/fixunstfti.c: Likewise.
3564 * soft-fp/floatdidf.c: Likewise.
3565 * soft-fp/floatdisf.c: Likewise.
3566 * soft-fp/floatditf.c: Likewise.
3567 * soft-fp/floatsidf.c: Likewise.
3568 * soft-fp/floatsisf.c: Likewise.
3569 * soft-fp/floatsitf.c: Likewise.
3570 * soft-fp/floattidf.c: Likewise.
3571 * soft-fp/floattisf.c: Likewise.
3572 * soft-fp/floattitf.c: Likewise.
3573 * soft-fp/floatundidf.c: Likewise.
3574 * soft-fp/floatundisf.c: Likewise.
3575 * soft-fp/floatunsidf.c: Likewise.
3576 * soft-fp/floatunsisf.c: Likewise.
3577 * soft-fp/floatuntidf.c: Likewise.
3578 * soft-fp/floatuntisf.c: Likewise.
3579 * soft-fp/floatuntitf.c: Likewise.
3580 * soft-fp/fmadf4.c: Likewise.
3581 * soft-fp/fmasf4.c: Likewise.
3582 * soft-fp/fmatf4.c: Likewise.
3583 * soft-fp/gedf2.c: Likewise.
3584 * soft-fp/gesf2.c: Likewise.
3585 * soft-fp/getf2.c: Likewise.
3586 * soft-fp/ledf2.c: Likewise.
3587 * soft-fp/lesf2.c: Likewise.
3588 * soft-fp/letf2.c: Likewise.
3589 * soft-fp/muldf3.c: Likewise.
3590 * soft-fp/mulsf3.c: Likewise.
3591 * soft-fp/multf3.c: Likewise.
3592 * soft-fp/negdf2.c: Likewise.
3593 * soft-fp/negsf2.c: Likewise.
3594 * soft-fp/negtf2.c: Likewise.
3595 * soft-fp/op-1.h: Likewise.
3596 * soft-fp/op-2.h: Likewise.
3597 * soft-fp/op-4.h: Likewise.
3598 * soft-fp/op-8.h: Likewise.
3599 * soft-fp/op-common.h: Likewise.
3600 * soft-fp/quad.h: Likewise.
3601 * soft-fp/single.h: Likewise.
3602 * soft-fp/soft-fp.h: Likewise.
3603 * soft-fp/sqrtdf2.c: Likewise.
3604 * soft-fp/sqrtsf2.c: Likewise.
3605 * soft-fp/sqrttf2.c: Likewise.
3606 * soft-fp/subdf3.c: Likewise.
3607 * soft-fp/subsf3.c: Likewise.
3608 * soft-fp/subtf3.c: Likewise.
3609 * soft-fp/truncdfsf2.c: Likewise.
3610 * soft-fp/trunctfdf2.c: Likewise.
3611 * soft-fp/trunctfsf2.c: Likewise.
3612 * soft-fp/trunctfxf2.c: Likewise.
3613 * soft-fp/unorddf2.c: Likewise.
3614 * soft-fp/unordsf2.c: Likewise.
3615 * soft-fp/unordtf2.c: Likewise.
3617 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3620 * misc/error.c (error_tail): Fix possible buffer overflow.
3622 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3625 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3628 2013-10-14 P. J. McDermott <pj@pehjota.net>
3631 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3632 testing pipefail option.
3634 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3636 * soft-fp/double.h: Indent preprocessor directives inside #if.
3637 * soft-fp/extended.h: Likewise.
3638 * soft-fp/op-2.h: Likewise.
3639 * soft-fp/op-4.h: Likewise.
3640 * soft-fp/op-common.h: Likewise.
3641 * soft-fp/quad.h: Likewise.
3642 * soft-fp/single.h: Likewise.
3643 * soft-fp/soft-fp.h: Likewise.
3645 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3647 * iconv/iconv_prog.c: Fix typos.
3648 * stdio-common/psiginfo-data.h: Likewise.
3650 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3653 * locale/setlocale.c: Fix typo.
3655 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3658 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3659 signaling NaN arguments.
3660 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3661 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3664 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3666 * soft-fp/gesf2.c (__gesf2): Likewise.
3667 * soft-fp/getf2.c (__getf2): Likewise.
3668 * soft-fp/ledf2.c (__ledf2): Likewise.
3669 * soft-fp/lesf2.c (__lesf2): Likewise.
3670 * soft-fp/letf2.c (__letf2): Likewise.
3672 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3673 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3674 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3675 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3676 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3677 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3678 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3679 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3680 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3681 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3682 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3683 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3684 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3685 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3686 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3687 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3688 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3689 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3690 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3691 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3692 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3693 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3694 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3695 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3696 * soft-fp/floattidf.c (__floattidf): Likewise.
3697 * soft-fp/floattisf.c (__floattisf): Likewise.
3698 * soft-fp/floattitf.c (__floattitf): Likewise.
3699 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3700 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3701 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3702 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3703 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3704 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3705 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3706 * soft-fp/gesf2.c (__gesf2): Likewise.
3707 * soft-fp/getf2.c (__getf2): Likewise.
3708 * soft-fp/ledf2.c (__ledf2): Likewise.
3709 * soft-fp/lesf2.c (__lesf2): Likewise.
3710 * soft-fp/letf2.c (__letf2): Likewise.
3712 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3713 Undefine and redefine.
3714 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3715 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3716 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3717 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3718 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3719 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3720 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3721 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3722 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3723 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3724 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3725 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3726 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3727 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3728 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3731 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3732 without decrementing exponent if mantissa >= that for the
3734 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3735 denominator, not >. Decrement exponent in < case instead of
3736 incrementing in >= case.
3737 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3738 without decrementing exponent if mantissa >= that for the
3741 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3742 computing saturated result for unsigned overflow.
3744 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3745 Jeff Law <law@redhat.com>
3747 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3748 (atan2Mp): Add systemtap probe marker.
3749 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3750 (__ieee754_log): Add systemtap probe marker.
3751 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3752 (atanMp): Add systemtap probe marker.
3753 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3754 (tanMp): Add systemtap probe marker.
3755 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3756 (__slowexp): Add systemtap probe marker.
3757 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3758 (__slowpow): Add systemtap probe marker.
3759 * manual/probes.texi: Document probes.
3761 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3764 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3766 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3768 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3769 written to buffer but not flushed.
3770 * libio/iofwrite_u.c: Likewise.
3771 * libio/iopadn.c: Return bytes returned even if EOF was
3773 * libio/iowpadn.c: Likewise.
3774 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3775 if _IO_padn does not write the whole buffer.
3776 [!COMPILE_WPRINTF] (PAD): Likewise.
3778 2013-10-10 David S. Miller <davem@davemloft.net>
3780 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3783 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3785 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3786 instead of FSF address.
3787 * soft-fp/fixdfti.c: Likewise.
3788 * soft-fp/fixsfti.c: Likewise.
3789 * soft-fp/fixtfti.c: Likewise.
3790 * soft-fp/fixunsdfti.c: Likewise.
3791 * soft-fp/fixunssfti.c: Likewise.
3792 * soft-fp/fixunstfti.c: Likewise.
3793 * soft-fp/floattidf.c: Likewise.
3794 * soft-fp/floattisf.c: Likewise.
3795 * soft-fp/floattitf.c: Likewise.
3796 * soft-fp/floatuntidf.c: Likewise.
3797 * soft-fp/floatuntisf.c: Likewise.
3798 * soft-fp/floatuntitf.c: Likewise.
3799 * soft-fp/trunctfxf2.c: Likewise.
3801 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3802 * soft-fp/fixdfti.c: Likewise.
3803 * soft-fp/fixsfti.c: Likewise.
3804 * soft-fp/fixtfti.c: Likewise.
3805 * soft-fp/fixunsdfti.c: Likewise.
3806 * soft-fp/fixunssfti.c: Likewise.
3807 * soft-fp/fixunstfti.c: Likewise.
3808 * soft-fp/floattidf.c: Likewise.
3809 * soft-fp/floattisf.c: Likewise.
3810 * soft-fp/floattitf.c: Likewise.
3811 * soft-fp/floatuntidf.c: Likewise.
3812 * soft-fp/floatuntisf.c: Likewise.
3813 * soft-fp/floatuntitf.c: Likewise.
3814 * soft-fp/trunctfxf2.c: Likewise.
3816 2013-10-10 David S. Miller <davem@davemloft.net>
3818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3820 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3822 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3823 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3824 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3825 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3826 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3827 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3828 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3831 for NaNs before doing comparisons on argument.
3832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3835 2013-10-10 Will Newton <will.newton@linaro.org>
3837 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3838 passed to _int_memalign does not overflow.
3840 2013-10-10 Torvald Riegel <triegel@redhat.com>
3842 * scripts/bench.pl: Add include-sources directive.
3843 * benchtests/README: Update documentation.
3845 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3847 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3848 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3849 instead of FP_INIT_ROUNDMODE.
3850 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3851 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3854 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3855 copy class of input value.
3856 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3857 not handle exceptions.
3858 * soft-fp/negsf2.c (__negsf2): Likewise.
3859 * soft-fp/negtf2.c (__negtf2): Likewise.
3860 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3862 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3864 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3865 semicolon. From Linux kernel.
3867 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3869 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3871 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3874 * manual/socket.texi: Added statement about buffer
3875 for gethostbyname2_r.
3877 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3879 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3880 Use .p2align directive instead, throughout.
3881 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3882 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3883 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3884 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3885 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3886 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3887 * sysdeps/x86_64/strchr.S: Likewise.
3888 * sysdeps/x86_64/strrchr.S: Likewise.
3890 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3892 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3894 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3896 * sysdeps/generic/math_private.h (__mpsin1): Remove
3898 (__mpcos1): Likewise.
3899 (__mpsin): New argument __range_reduce.
3900 (__mpcos): Likewise.
3901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3902 (slow): Use __mpsin and __mpcos.
3909 (bsloww1): Likewise.
3910 (bsloww2): Likewise.
3913 (csloww1): Likewise.
3914 (csloww2): Likewise.
3915 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3916 range_reduce. Merge in __mpsin1.
3917 (__mpcos): Likewise.
3919 (__mpcos1): Likewise.
3921 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3923 * locale/loadlocale.c (_nl_intern_locale_data): Use
3925 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3926 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3927 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3928 obstack data is appropriately aligned.
3929 (obstack_int32_grow_fast): Likewise.
3930 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3931 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3932 (add_locale_uint32_array): Likewise.
3934 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3936 * benchtests/Makefile: Remove ARGLIST and RET variables.
3937 ($(objpfx)bench-%.c): Pass only function name to the script.
3938 * benchtests/README: Update documentation.
3939 * benchtests/acos-inputs: Add new directives.
3940 * benchtests/acosh-inputs: Likewise.
3941 * benchtests/asin-inputs: Likewise.
3942 * benchtests/asinh-inputs: Likewise.
3943 * benchtests/atan-inputs: Likewise.
3944 * benchtests/atanh-inputs: Likewise.
3945 * benchtests/cos-inputs: Likewise.
3946 * benchtests/cosh-inputs: Likewise.
3947 * benchtests/exp-inputs: Likewise.
3948 * benchtests/log-inputs: Likewise.
3949 * benchtests/pow-inputs: Likewise.
3950 * benchtests/rint-inputs: Likewise.
3951 * benchtests/sin-inputs: Likewise.
3952 * benchtests/sinh-inputs: Likewise.
3953 * benchtests/tan-inputs: Likewise.
3954 * benchtests/tanh-inputs: Likewise.
3955 * scripts/bench.pl: Add support for new directives.
3957 2013-10-07 Alan Modra <amodra@gmail.com>
3959 * README: Fix careless merge.
3961 2013-10-05 Alan Modra <amodra@gmail.com>
3963 * NEWS: Mention powerpc64le support and bugs fixed.
3964 * README: Both big-endian and little-endian powerpc64 supported.
3966 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3968 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3969 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3970 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3971 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3973 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3975 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3978 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3980 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3981 Move -mhard-float appending from
3982 ports/sysdeps/powerpc/powerpc32/Makefile.
3983 [$(with-fp) = yes] (ASFLAGS): Likewise.
3984 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3985 * sysdeps/powerpc/nofpu: Move directory from
3986 ports/sysdeps/powerpc/nofpu.
3987 * sysdeps/powerpc/soft-fp: Move directory from
3988 ports/sysdeps/powerpc/soft-fp.
3989 * sysdeps/powerpc/powerpc32/405: Move directory from
3990 ports/sysdeps/powerpc/powerpc32/405.
3991 * sysdeps/powerpc/powerpc32/440: Move directory from
3992 ports/sysdeps/powerpc/powerpc32/440.
3993 * sysdeps/powerpc/powerpc32/464: Move directory from
3994 ports/sysdeps/powerpc/powerpc32/464.
3995 * sysdeps/powerpc/powerpc32/476: Move directory from
3996 ports/sysdeps/powerpc/powerpc32/476.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3998 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4000 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4002 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4004 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4006 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4007 * README: Update for powerpc-*-linux-gnu software floating point
4010 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4011 case to powerpc/powerpc32*.
4012 * sysdeps/unix/sysv/linux/configure: Regenerated.
4014 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4015 (_FPU_MASK_OM): Define as 0x04.
4016 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4019 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4024 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4027 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4030 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4031 and setcontext_e500.
4033 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4035 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4037 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4039 * manual/threads.texi (Default Thread Attributes): Fix typo.
4041 2013-10-04 Will Newton <will.newton@linaro.org>
4043 * malloc/Makefile: Add tst-memalign.
4044 * malloc/tst-memalign.c: New file.
4046 * malloc/tst-posix_memalign.c: Add comments.
4047 (do_test): Add comments and call free on all potentially
4048 allocated pointers. Add space after cast.
4050 * malloc/tst-pvalloc.c: Add comments.
4051 (do_test): Add comments and call free on all potentially
4052 allocated pointers. Remove duplicate check for NULL pointer.
4053 Add space after cast.
4055 * malloc/tst-valloc.c: Add comments.
4056 (do_test): Add comments and call free on all potentially
4057 allocated pointers. Remove duplicate check for NULL pointer.
4058 Add space after cast.
4060 2013-10-04 Alan Modra <amodra@gmail.com>
4062 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4063 Use stdint types in rather than __attribute__((mode())).
4064 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4066 2013-10-04 Alan Modra <amodra@gmail.com>
4068 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4069 Correct handling of unaligned relocs for little-endian.
4070 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4072 2013-10-04 Alan Modra <amodra@gmail.com>
4074 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4075 * configure: Regenerate.
4076 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4077 * shlib-versions: Likewise.
4079 2013-10-04 Alan Modra <amodra@gmail.com>
4081 * string/tester.c (test_memrchr): Increment reported test cycle.
4083 2013-10-04 Alan Modra <amodra@gmail.com>
4085 * string/test-memcpy.c (do_one_test): When reporting errors, print
4086 string address and don't overrun end of string.
4088 2013-10-04 Alan Modra <amodra@gmail.com>
4090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4091 insrdi. Make better use of reg selection to speed exit slightly.
4092 Schedule entry path a little better. Remove useless "are we done"
4093 checks on entry to main loop. Handle wrapping around zero address.
4094 Correct main loop count. Handle single left-over word from main
4095 loop inline rather than by using loop_small. Remove extra word
4096 case in loop_small caused by wrong loop count. Add little-endian
4098 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4099 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4101 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4103 support. Avoid rlwimi.
4104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4106 2013-10-04 Alan Modra <amodra@gmail.com>
4108 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4110 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4111 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4112 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4113 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4114 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4115 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4117 2013-10-04 Alan Modra <amodra@gmail.com>
4119 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4120 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4122 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4123 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4124 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4125 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4126 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4127 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4128 use of regs. Use power7 mtocrf. Tidy function tails.
4130 2013-10-04 Alan Modra <amodra@gmail.com>
4132 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4133 Formatting. Consistently use rXXX register defines or rN defines.
4134 Use early exit labels that avoid restoring unused non-volatile regs.
4135 Make cr field use more consistent with rWORDn compares. Rename
4136 regs used as shift registers for unaligned loop, using rN defines
4137 for short lifetime/multiple use regs.
4138 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4139 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4140 addi 1,1,64 to pop stack frame. Simplify return value code.
4141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4143 2013-10-04 Alan Modra <amodra@gmail.com>
4145 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4146 support. Correct typos, formatting. Optimize tail. Use insrdi
4148 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4149 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4150 little-endian support. Correct typos.
4151 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4153 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4154 in loop and entry code to keep "and." results.
4155 (strchr): Add little-endian support. Comment. Move cntlzd
4157 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4159 2013-10-04 Alan Modra <amodra@gmail.com>
4161 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4162 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4163 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4164 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4166 2013-10-04 Alan Modra <amodra@gmail.com>
4168 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4169 (rTMP): Define as r11.
4170 (strcmp): Add little-endian support. Optimise tail.
4171 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4172 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4173 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4174 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4175 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4176 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4179 2013-10-04 Alan Modra <amodra@gmail.com>
4181 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4182 little-endian support. Remove unnecessary "are we done" tests.
4183 Handle "s" wrapping around zero and extremely large "size".
4184 Correct main loop count. Handle single left-over word from main
4185 loop inline rather than by using small_loop. Correct comments.
4186 Delete "zero" tail, use "end_max" instead.
4187 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4189 2013-10-04 Alan Modra <amodra@gmail.com>
4191 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4192 support. Don't branch over align.
4193 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4194 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4195 support. Rearrange tmp reg use to suit. Comment.
4196 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4198 2013-10-04 Alan Modra <amodra@gmail.com>
4200 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4202 2013-10-04 Alan Modra <amodra@gmail.com>
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4205 conditional form of branch and link when obtaining pc.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4208 2013-10-04 Alan Modra <amodra@gmail.com>
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4215 2013-10-04 Alan Modra <amodra@gmail.com>
4217 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4218 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4219 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4220 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4221 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4222 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4223 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4224 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4225 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4226 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4228 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4229 Alistair Popple <alistair@ozlabs.au.ibm.com>
4230 Alan Modra <amodra@gmail.com>
4233 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4234 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4235 _dl_hwcap access for little-endian.
4236 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4237 destroy vmx regs when saving unaligned.
4238 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4239 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4240 destroy vmx regs when saving unaligned.
4242 2013-10-04 Alan Modra <amodra@gmail.com>
4244 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4245 Don't use a union to pack hi/low value.
4247 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4249 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4251 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4252 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4253 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4254 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4255 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4257 2013-10-04 Alan Modra <amodra@gmail.com>
4259 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4260 constants to usual value for .cst8 section, and remove redundant
4262 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4263 constant for 0x1p52. Load little-endian words of double from
4264 correct stack offsets.
4266 2013-10-04 Alan Modra <amodra@gmail.com>
4268 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4269 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4270 words of double from correct stack offsets.
4271 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4272 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4273 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4274 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4275 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4276 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4277 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4278 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4279 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4280 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4281 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4282 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4283 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4284 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4285 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4286 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4287 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4289 2013-10-04 Alan Modra <amodra@gmail.com>
4291 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4292 64-bit int/double union.
4293 (_FPU_SETCW): Likewise.
4294 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4295 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4297 2013-10-04 Alan Modra <amodra@gmail.com>
4299 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4300 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4302 2013-10-04 Alan Modra <amodra@gmail.com>
4304 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4305 use vector int constants.
4306 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4308 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4310 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4311 array with long long.
4312 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4313 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4314 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4315 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4316 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4317 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4318 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4319 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4320 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4321 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4322 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4323 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4324 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4326 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4328 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4329 (__signbit): Likewise. Correct for little-endian.
4330 (__signbitl): Call __signbit.
4331 (lrint): Correct for little-endian.
4332 (lrintf): Call lrint.
4334 2013-10-04 Alan Modra <amodra@gmail.com>
4336 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4337 union 32-bit int array member with 64-bit int array.
4338 (t515, tm256): Double rather than long double.
4339 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4341 2013-10-04 Alan Modra <amodra@gmail.com>
4343 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4345 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4346 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4347 version of math_ldbl.h.
4349 2013-10-04 Alan Modra <amodra@gmail.com>
4351 [BZ #15734], [BZ #15735]
4352 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4353 all uses of ieee875 long double macros and unions. Simplify test
4354 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4355 ldbl_extract_mantissa value for ix,iy exponents. Properly
4356 normalize after ldbl_extract_mantissa, and don't add hidden bit
4357 already handled. Don't treat low word of ieee854 mantissa like
4358 low word of IBM long double and mask off bit when testing for
4360 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4361 all uses of ieee875 long double macros and unions. Simplify tests
4362 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4363 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4364 two1022, instead use their values. Recognise that tests for large
4365 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4366 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4367 Rewrite all uses of ieee875 long double macros and unions. Simplify
4368 test for 0.0L and nan. Correct negation.
4369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4370 ieee875 long double macros and unions. Correct output for large
4371 magnitude x. Correct absolute value calculation.
4372 (__erfcl): Likewise.
4373 * math/libm-test.inc: Add tests for errors discovered in IBM long
4374 double versions of fmodl, remainderl, erfl and erfcl.
4376 2013-10-04 Alan Modra <amodra@gmail.com>
4378 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4379 all uses of ieee854 long double macros and unions. Simplify tests
4380 for long doubles that are fully specified by the high double.
4381 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4383 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4384 Remove dead code too.
4385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4386 (__ieee754_ynl): Likewise.
4387 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4389 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4390 Remove dead code too.
4391 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4392 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4393 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4394 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4396 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4401 Comment on variable precision.
4402 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4405 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4409 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4411 2013-10-04 Alan Modra <amodra@gmail.com>
4413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4414 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4415 all uses of ieee854 long double macros and unions.
4416 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4419 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4421 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4426 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4429 Simplify sign and nan test too.
4430 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4435 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4436 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4445 2013-10-04 Alan Modra <amodra@gmail.com>
4447 * stdio-common/printf_size.c (__printf_size): Don't use
4448 union ieee854_long_double in fpnum union.
4449 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4450 signbit macro to retrieve sign from long double.
4451 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4452 retrieve sign from long double.
4453 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4454 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4455 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4456 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4457 * math/test-misc.c (main): Don't use union ieee854_long_double.
4459 2013-10-04 Alan Modra <amodra@gmail.com>
4462 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4463 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4464 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4465 calculation. Remove unnecessary test for denormal exponent.
4466 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4467 Correct handling of denormals. Avoid undefined shift behaviour.
4468 Correct normalisation of low mantissa when low double is denormal.
4469 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4470 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4471 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4472 Correct normalisation of low mantissa. Test for overflow of high
4473 mantissa and normalise.
4474 (ldbl_nearbyint): Use more readable constant for two52.
4475 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4476 (__mpn_construct_long_double): Fix test for overflow of high
4477 mantissa and correct normalisation. Avoid undefined shift.
4479 2013-10-04 Alan Modra <amodra@gmail.com>
4481 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4482 (union ibm_extended_long_double): Define as an array of ieee754_double.
4483 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4484 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4485 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4486 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4490 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4495 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4497 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4498 page size instead of calling getpagesize.
4500 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4501 (LOCFILE_ALIGN_MASK): Likewise.
4502 (LOCFILE_ALIGN_UP): Likewise.
4503 (LOCFILE_ALIGNED_P): Likewise.
4504 * locale/programs/ld-collate.c (collate_output): Use the new
4505 macros instead of __alignof__ (int32_t).
4506 * locale/weight.h (findidx): Likewise.
4508 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4511 * manual/string.texi: Fix strncat and wcsncat.
4513 2013-10-03 Brooks Moses <bmoses@google.com>
4516 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4517 * Makerules: ...here, and adjust associated comments.
4519 2013-10-02 Will Newton <will.newton@linaro.org>
4521 * malloc/Makefile: Add tst-pvalloc.
4522 * malloc/tst-pvalloc.c: New file.
4524 2013-10-02 Will Newton <will.newton@linaro.org>
4526 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4527 improve test coverage.
4529 2013-10-02 Will Newton <will.newton@linaro.org>
4531 * malloc/Makefile: Add tst-posix_memalign.
4532 * malloc/tst-posix_memalign.c: New file.
4534 2013-10-01 Eric Blake <eblake@redhat.com>
4536 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4537 Use __THROWNL rather than __THROW on static functions.
4539 2013-09-30 Petr Machata <pmachata@redhat.com>
4541 * elf/elf.h (R_AARCH64_ABS16): New macro.
4542 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4543 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4544 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4545 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4546 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4547 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4548 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4549 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4550 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4551 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4552 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4553 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4554 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4555 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4556 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4557 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4558 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4559 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4560 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4561 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4562 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4563 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4564 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4565 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4566 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4567 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4568 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4569 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4570 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4571 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4572 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4573 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4574 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4575 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4576 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4577 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4578 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4579 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4580 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4581 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4582 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4583 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4584 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4585 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4586 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4587 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4588 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4589 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4590 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4591 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4592 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4593 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4594 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4595 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4596 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4597 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4598 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4599 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4600 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4601 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4602 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4603 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4604 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4605 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4606 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4607 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4608 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4609 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4610 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4611 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4612 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4613 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4614 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4615 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4616 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4617 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4618 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4619 (R_AARCH64_TLSDESC_LDR): Likewise.
4620 (R_AARCH64_TLSDESC_ADD): Likewise.
4621 (R_AARCH64_TLSDESC_CALL): Likewise.
4623 2013-09-30 Andreas Schwab <schwab@suse.de>
4626 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4627 the nss database lookup.
4628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4631 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4633 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4635 2013-09-28 P. J. McDermott <pj@pehjota.net>
4637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4638 ${Bash-specific parameter/pattern/string} parameter expansion.
4639 * sysdeps/unix/make-syscalls.sh: Likewise.
4641 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4643 * sysdeps/sh/stackguard-macros.h: New file.
4645 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4649 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4650 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4651 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4652 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4654 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4656 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4657 Fix thread ID register.
4659 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4661 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4662 [POSIX || UNIX98]: Require rather than permitting all symbols from
4664 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4665 element of struct sched_param.
4666 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4667 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4668 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4669 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4672 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4674 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4675 argument calculation.
4677 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4679 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4681 [POSIX] (pthread_attr_t): Do not require type.
4682 [POSIX] (pthread_cond_t): Likewise.
4683 [POSIX] (pthread_condattr_t): Likewise.
4684 [POSIX] (pthread_key_t): Likewise.
4685 [POSIX] (pthread_mutex_t): Likewise.
4686 [POSIX] (pthread_mutexattr_t): Likewise.
4687 [POSIX] (pthread_once_t): Likewise.
4688 [POSIX] (pthread_t): Likewise.
4689 [POSIX-based standards] (pthread_atfork): Expect function.
4691 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4692 Richard Sandiford <richard@codesourcery.com>
4694 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4695 (swap_endianness_p): New extern variable.
4696 (set_big_endian): New inline function.
4697 (maybe_swap_uint32): Likewise.
4698 (maybe_swap_uint32_array): Likewise.
4699 (maybe_swap_uint32_obstack): Likewise.
4700 * locale/programs/locfile.c: Include <stdbool.h>.
4701 (swap_endianness_p): New variable.
4702 (add_locale_uint32): Call maybe_swap_uint32.
4703 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4704 (write_locale_data): Call maybe_swap_uint32_array.
4705 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4707 (obstack_int32_grow_fast): Likewise.
4708 (output_weightwc): Call maybe_swap_uint32_obstack.
4709 (collate_output): Likewise.
4710 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4711 (OPT_LITTLE_ENDIAN): Likewise.
4712 (options): Add --little-endian and --big-endian options.
4713 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4714 * locale/programs/locarchive.c: Include "locfile.h".
4718 (create_archive): Use the new macros to access fields of
4719 structures directly mapped from or written to locale archives.
4720 (oldlocrecentcmp): Likewise.
4721 (enlarge_archive): Likewise.
4722 (insert_name): Likewise.
4723 (add_alias): Likewise.
4724 (add_locale): Likewise.
4725 (delete_locales_from_archive): Likewise.
4726 (show_archive_content): Likewise.
4727 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4730 2013-09-24 Roland McGrath <roland@hack.frob.com>
4732 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4733 http://www.gnu.org/doc/freemanuals.texi.
4734 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4736 2013-09-24 Will Newton <will.newton@linaro.org>
4738 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4741 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4743 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4746 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4748 * manual/threads.texi (POSIX Threads): Fix a typo.
4750 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4753 * string/tst-strcoll-overflow.c: New test case.
4754 * string/Makefile (xtests): Add tst-strcoll-overflow.
4755 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4756 cache if string sizes may cause integer overflow.
4759 * string/strcoll_l.c (coll_seq): New members rule, idx,
4760 save_idx and back_us.
4761 (get_next_seq_nocache): New function.
4762 (do_compare_nocache): New function.
4763 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4766 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4769 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4770 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4771 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4774 * elf/Makefile (tests): Add tst-ptrguard1.
4775 (tests-static): Add tst-ptrguard1-static.
4776 (tst-ptrguard1-ARGS): Define.
4777 (tst-ptrguard1-static-ARGS): Define.
4778 * elf/tst-ptrguard1.c: New file.
4779 * elf/tst-ptrguard1-static.c: New file.
4780 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4781 * sysdeps/i386/stackguard-macros.h: Likewise.
4782 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4783 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4784 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4785 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4786 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4787 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4789 2013-09-23 Hector Marco <hecmargi@upv.es>
4790 Ismael Ripoll <iripoll@disca.upv.es>
4791 Carlos O'Donell <carlos@redhat.com>
4794 * sysdeps/generic/stackguard-macros.h: Define
4795 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4796 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4797 Define __pointer_chk_guard_local.
4798 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4799 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4801 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4804 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4806 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4808 * include/string.h (__ffs): Declare as hidden.
4809 * string/ffs.c (__ffs): Define as hidden.
4810 * sysdeps/i386/ffs.c (__ffs): Likewise.
4811 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4812 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4813 * sysdeps/s390/ffs.c (__ffs): Likewise.
4814 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4816 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4818 * NEWS: Mention malloc probes.
4820 * malloc/arena.c (new_heap): New memory_heap_new probe.
4821 (grow_heap): New memory_heap_more probe.
4822 (shrink_heap): New memory_heap_less probe.
4823 (heap_trim): New memory_heap_free probe.
4824 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4825 (systrim): New memory_sbrk_less probe.
4826 * manual/probes.texi: Document them.
4828 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4829 * manual/probes.texi: Document it.
4831 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4832 (__libc_realloc): Add memory_realloc_retry probe.
4833 (__libc_memalign): Add memory_memalign_retry probe.
4834 (__libc_valloc): Add memory_valloc_retry probe.
4835 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4836 (__libc_calloc): Add memory_calloc_retry probe.
4837 * manual/probes.texi: Document them.
4839 * malloc/arena.c (get_free_list): Add probe
4840 memory_arena_reuse_free_list.
4841 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4842 and memory_arena_reuse.
4843 (arena_get2) [!PER_THREAD]: Likewise.
4844 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4845 memory_arena_reuse_realloc.
4846 * manual/probes.texi: Document them.
4848 * malloc/malloc.c (__libc_free): Add
4849 memory_mallopt_free_dyn_thresholds probe.
4850 (__libc_mallopt): Add multiple memory_mallopt probes.
4851 * manual/probes.texi: Document them.
4853 * malloc/malloc.c: Include stap-probe.h.
4854 (__libc_mallopt): Add memory_mallopt probe.
4855 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4856 * manual/probes.texi: New.
4857 * manual/Makefile (chapters): Add probes.
4858 * manual/threads.texi: Set next node.
4860 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4863 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4864 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4865 Add `Chinese' to `nan' entry name.
4867 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4869 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4870 (POLYNOMIAL): Likewise.
4871 (TAYLOR_SINCOS): Likewise.
4872 (TAYLOR_SLOW): Likewise.
4873 (__sin): Use TAYLOR_SINCOS.
4875 (slow): Use TAYLOR_SLOW.
4880 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4882 * stdlib/strtod_l.c: Fix buffer overrun.
4884 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4886 * benchtests/Makefile (bench): Add sincos.
4887 * benchtests/bench-sincos.c: New file.
4889 * math/libm-test.inc (cos_test_data): New test inputs.
4890 (sin_test_data): Likewise.
4892 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4900 (bsloww1): Likewise.
4901 (bsloww2): Likewise.
4903 (csloww1): Likewise.
4904 (csloww2): Likewise.
4906 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4915 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4917 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4918 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4919 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4920 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4921 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4922 * elf/cache.c (print_entry): Handle the new cache flags.
4924 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4925 Aldy Hernandez <aldyh@redhat.com>
4927 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4928 Change condition to [_SOFT_FLOAT].
4929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4941 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4944 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4947 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4949 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4950 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4951 (__longjmp): Use LOAD_GP to load saved GPRs.
4952 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4953 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4954 (__sigsetjmp): Use SAVE_GP to save GPRs.
4956 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4957 Do not append -msoft-float.
4958 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4960 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4962 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4964 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4967 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4968 (_FPU_GETCW): Use initial "__" on variable and field names but not
4969 on macro parameter name.
4970 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4971 parentheses around reference to macro parameter.
4973 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4975 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4977 (ctype_startup): Use uint32_t in cast and sizeof for
4980 2013-09-11 Jia Liu <proljc@gmail.com>
4982 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4984 [__FreeBSD__]: Likewise.
4986 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4989 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4990 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4991 (strchr): Remove __strchr_sse42 ifunc selection.
4992 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4993 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4995 2013-09-11 Will Newton <will.newton@linaro.org>
4997 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4998 parameter to RES. Remove hardcoded 1000 value.
4999 * benchtests/bench-skeleton.c (main): Pass RES parameter
5000 to TIMING_INIT and multiply result by 1000.
5002 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5006 2013-09-11 Andreas Schwab <schwab@suse.de>
5008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5010 (O_TMPFILE) [__USE_GNU]: Define.
5011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5014 2013-09-11 Will Newton <will.newton@linaro.org>
5017 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5020 2013-09-11 Will Newton <will.newton@linaro.org>
5023 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5026 2013-09-11 Will Newton <will.newton@linaro.org>
5029 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5032 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5034 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5035 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5036 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5037 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5038 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5040 2013-09-10 Allan McRae <allan@archlinux.org>
5043 * manual/arith.texi (Parsing of Floats): Clarify
5047 * manual/install.texi (Running make install): Mention
5049 * INSTALL: Regenerated.
5051 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5053 * csu/init-first.c (_init): Remove the !SHARED condition around
5054 FPU control word initialization.
5055 * elf/dl-support.c (_dl_fpu_control): New variable.
5056 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5057 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5058 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5059 * math/test-fpucw-static.c: New file.
5060 * math/test-fpucw-ieee.c: New file.
5061 * math/test-fpucw-ieee-static.c: New file.
5062 * math/Makefile (tests): Add `test-fpucw-ieee' and
5064 (tests-static): New variable.
5065 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5067 [($(build-shared),yes)]
5068 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5070 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5073 2013-09-09 Allan McRae <allan@archlinux.org>
5076 * manual/string.texi (Collation Functions): Fix typo in
5078 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5081 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5084 * libio/memstream.c (open_memstream): Fix memory leak.
5085 * libio/wmemstream.c (open_wmemstream): Likewise.
5088 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5090 2013-09-09 Will Newton <will.newton@linaro.org>
5092 * malloc/Makefile: Add tst-realloc to tests.
5093 * malloc/tst-realloc.c: New file.
5095 2013-09-09 Allan McRae <allan@archlinux.org>
5098 * COPYING: Update from GNU website to fix FSF address.
5099 * COPYING.LIB: Likewise.
5101 2013-09-06 David S. Miller <davem@davemloft.net>
5103 * po/zh_TW.po: Update Chinese (traditional) translation from
5104 translation project.
5106 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5107 Joseph Myers <joseph@codesourcery.com>
5109 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5111 (obstack_chunk_alloc): New macro.
5112 (obstack_chunk_free): Likewise.
5113 (record_offset): New function.
5114 (init_locale_data): Likewise.
5115 (align_locale_data): Likewise.
5116 (add_locale_empty): Likewise.
5117 (add_locale_raw_data): Likewise.
5118 (add_locale_raw_obstack): Likewise.
5119 (add_locale_string): Likewise.
5120 (add_locale_wstring): Likewise.
5121 (add_locale_uint32): Likewise.
5122 (add_locale_uint32_array): Likewise.
5123 (add_locale_char): Likewise.
5124 (start_locale_structure): Likewise.
5125 (end_locale_structure): Likewise.
5126 (start_locale_prelude): Likewise.
5127 (end_locale_prelude): Likewise.
5128 (write_locale_data): Take locale_file structure rather than an
5130 * locale/programs/locfile.h: Include "obstack.h".
5131 (struct locale_file): Change to store locale file contents instead
5133 (init_locale_data): New prototype.
5134 (align_locale_data): Likewise.
5135 (add_locale_empty): Likewise.
5136 (add_locale_raw_data): Likewise.
5137 (add_locale_raw_obstack): Likewise.
5138 (add_locale_string): Likewise.
5139 (add_locale_wstring): Likewise.
5140 (add_locale_uint32): Likewise.
5141 (add_locale_uint32_array): Likewise.
5142 (add_locale_char): Likewise.
5143 (start_locale_structure): Likewise.
5144 (end_locale_structure): Likewise.
5145 (start_locale_prelude): Likewise.
5146 (end_locale_prelude): Likewise.
5147 (write_locale_data): Update prototype.
5148 * locale/programs/3level.h (struct TABLE): Remove result field.
5149 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5150 Use new locale_file interface.
5151 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5152 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5153 * locale/programs/ld-address.c (address_output): Use new
5154 locale_file interface.
5155 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5157 (collate_finish): Don't call collseq_table_finalize.
5158 (collate_output): Use new locale_file interface.
5159 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5161 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5162 (TABLE): Move defines earlier in file.
5163 (ELEMENT): Likewise.
5164 (DEFAULT): Likewise.
5165 (wctrans_table_add): Move macro and inline function earlier in
5167 (struct wctype_table): Move type earlier in file.
5168 (add_locale_wctype_table): New static prototype.
5169 (struct locale_ctype_t): Use logical types instead of struct iovec
5170 pointers for members.
5171 (ctype_output): Use new locale_file interface.
5172 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5173 new locale_file interface.
5174 (allocate_arrays): Update for use of new locale_file interface.
5175 * locale/programs/ld-identification.c (identification_output): Use
5176 new locale_file interface.
5177 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5178 * locale/programs/ld-messages.c (messages_output): Likewise.
5179 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5180 * locale/programs/ld-name.c (name_output): Likewise.
5181 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5182 * locale/programs/ld-paper.c (paper_output): Likewise.
5183 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5184 * locale/programs/ld-time.c (time_output): Likewise.
5186 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188 * benchtests/Makefile: Add memrchr benchmark.
5189 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5190 benchmark as memrchr.
5191 * benchtests/bench-memrchr-ifunc.c: New file.
5192 * benchtests/bench-memrchr.c: New file.
5194 2013-09-06 Will Newton <will.newton@linaro.org>
5196 * benchtests/Makefile (string-bench): Add memcpy.
5198 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5199 Cong Wang <amwang@redhat.com>
5201 * sysdeps/unix/sysv/linux/bits/in.h
5202 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5203 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5204 before __USE_KERNEL_IPV6_DEFS uses.
5205 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5207 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5208 sockaddr_in6, or ipv6_mreq.
5210 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5213 memory access for final bytes in some large inputs.
5214 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5216 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5218 * string/test-memrchr.c: New file.
5219 * string/test-memrchr-ifunc.c: New file.
5220 * string/Makefile: Add new memrchr testcase.
5222 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5224 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5225 fanotify_init returns EPERM.
5227 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5229 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5231 (top level): Treat second token from macro or constant entries for
5232 allowed headers as allowed.
5233 * include/complex.h: Condition internal declarations on
5235 * include/fenv.h: Condition include of <stdbool.h> and internal
5236 declarations on [!_ISOMAC].
5238 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5241 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5243 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5245 * configure.in (--enable-versioning): Remove configure option.
5246 (libc_cv_asm_symver_directive): Remove configure test.
5247 (libc_cv_ld_version_script_option): Likewise.
5248 (VERSIONING): Remove variable and AC_SUBST.
5249 (DO_VERSIONING): Remove AC_DEFINE.
5250 * configure: Regenerated.
5251 * config.h.in (DO_VERSIONING): Remove macro.
5252 * Makerules [$(versioning) = yes]: Change conditionals to
5253 [$(build-shared) = yes].
5254 * config.make.in (versioning): Remove variable.
5255 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5256 [$(build-shared) = yes].
5257 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5258 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5259 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5260 [$(build-shared) = yes].
5261 * extra-lib.mk [$(versioning) = yes]: Likewise.
5262 * hurd/Makefile [$(versioning) = yes]: Likewise.
5263 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5265 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5267 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5268 [SHARED && !NO_HIDDEN].
5269 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5271 [SHARED && DO_VERSIONING]: Likewise..
5272 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5273 [$(build-shared) = yes].
5274 * manual/install.texi (--disable-versioning): Remove
5276 * INSTALL: Regenerated.
5277 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5279 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5280 [$(build-shared) = yes].
5281 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5282 * sysdeps/i386/i686/multiarch/strstr-c.c
5283 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5284 [SHARED && !NO_HIDDEN].
5285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5286 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5287 * sysdeps/powerpc/powerpc32/dl-machine.c
5288 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5289 * sysdeps/powerpc/powerpc32/sysdep.h
5290 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5291 to [SHARED && PIC && !NO_HIDDEN].
5292 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5293 conditional to [SHARED].
5295 2013-09-04 Will Newton <will.newton@linaro.org>
5297 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5298 * benchtests/bench-string.h: Include bench-timing.h instead
5299 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5300 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5301 call to HP_TIMING_DIFF_INIT.
5302 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5303 instead of hp-timing.h macros.
5304 * benchtests/bench-memchr.c: Likewise.
5305 * benchtests/bench-memcmp.c: Likewise.
5306 * benchtests/bench-memcpy.c: Likewise.
5307 * benchtests/bench-memmem.c: Likewise.
5308 * benchtests/bench-memmove.c: Likewise.
5309 * benchtests/bench-memset.c: Likewise.
5310 * benchtests/bench-rawmemchr.c: Likewise.
5311 * benchtests/bench-strcasecmp.c: Likewise.
5312 * benchtests/bench-strcasestr.c: Likewise.
5313 * benchtests/bench-strcat.c: Likewise.
5314 * benchtests/bench-strchr.c: Likewise.
5315 * benchtests/bench-strcmp.c: Likewise.
5316 * benchtests/bench-strcpy.c: Likewise.
5317 * benchtests/bench-strcpy_chk.c: Likewise.
5318 * benchtests/bench-strlen.c: Likewise.
5319 * benchtests/bench-strncasecmp.c: Likewise.
5320 * benchtests/bench-strncat.c: Likewise.
5321 * benchtests/bench-strncmp.c: Likewise.
5322 * benchtests/bench-strncpy.c: Likewise.
5323 * benchtests/bench-strnlen.c: Likewise.
5324 * benchtests/bench-strpbrk.c: Likewise.
5325 * benchtests/bench-strrchr.c: Likewise.
5326 * benchtests/bench-strspn.c: Likewise.
5327 * benchtests/bench-strstr.c: Likewise.
5329 2013-09-04 Will Newton <will.newton@linaro.org>
5331 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5333 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5336 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5337 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5338 * math/libm-test.inc (lgamma_test_data): Add more tests.
5339 * sysdeps/i386/fpu/libm-test-ulps: Update.
5340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5342 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5344 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5348 Add strcmp-sse2-unaligned
5349 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5351 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5353 * Versions.def (libc): Add GLIBC_2.19.
5355 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5357 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5358 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5360 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5363 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5364 intermediate calculations in recurrence.
5365 (__ieee754_ynf): Likewise.
5366 * math/libm-test.inc (jn_test_data): Do not allow spurious
5367 underflow exception. Add more tests.
5368 (yn_test_data): Add more tests.
5369 * sysdeps/i386/fpu/libm-test-ulps: Update.
5370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5372 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5374 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5376 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5378 * csu/init-first.c: Fix then/than typos.
5379 * locale/programs/ld-collate.c: Likewise.
5380 * locale/programs/linereader.h: Likewise.
5381 * manual/charset.texi: Likewise.
5382 * manual/filesys.texi: Likewise.
5383 * manual/stdio.texi: Likewise.
5384 * manual/string.texi: Likewise.
5385 * stdlib/fmtmsg.c: Likewise.
5386 * sysdeps/i386/stpncpy.S: Likewise.
5387 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5388 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5389 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5390 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5392 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5394 * elf/dl-open.c: Fix typos.
5395 * iconvdata/gbbig5.c: Likewise.
5396 * iconvdata/iso-2022-jp.c: Likewise.
5397 * iconv/gconv_int.h: Likewise.
5398 * iconv/loop.c: Likewise.
5399 * nis/rpcsvc/nis.h: Likewise.
5400 * resolv/ns_name.c: Likewise.
5401 * stdio-common/vfscanf.c: Likewise.
5402 * streams/stropts.h: Likewise.
5403 * sunrpc/rpc_thread.c: Likewise.
5404 * sysdeps/i386/strpbrk.S: Likewise.
5405 * sysdeps/ieee754/k_standard.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5408 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5409 * sysdeps/mach/hurd/profil.c: Likewise.
5410 * sysdeps/s390/dl-procinfo.h: Likewise.
5411 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5412 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5414 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5415 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5417 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5419 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5422 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5424 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5426 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5427 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5428 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5429 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5430 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5431 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5432 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5433 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5435 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5436 Roland McGrath <roland@hack.frob.com>
5438 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5439 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5441 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5443 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5444 __executable_start symbol instead of _start.
5446 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5448 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5449 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5451 * sysdeps/gnu/ldsodefs.h: ... this new file.
5453 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5454 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5455 instead of ELFOSABI_LINUX.
5457 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5458 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5459 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5460 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5462 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5463 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5464 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5466 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5467 (ibm_extended_long_double): Add ieee_nan member.
5468 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5469 (do_test): New function.
5471 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5473 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5474 functions, renamed from truncdfsf_test, trunctfsf_test,
5476 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5478 (do_test): Run all these.
5480 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5482 * argp/argp-help.c: Fix typos.
5483 * argp/argp-parse.c: Likewise.
5484 * debug/backtracesyms.c: Likewise.
5485 * elf/elf.h: Likewise.
5486 * malloc/malloc.c: Likewise.
5487 * nis/nis_print.c: Likewise.
5488 * resolv/res_comp.c: Likewise.
5489 * stdlib/stdlib.h: Likewise.
5490 * sunrpc/clnt_tcp.c: Likewise.
5491 * sunrpc/clnt_udp.c: Likewise.
5492 * sunrpc/clnt_unix.c: Likewise.
5493 * sysdeps/unix/bsd/ptsname.c: Likewise.
5494 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5495 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5502 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5504 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5506 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5509 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5512 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5513 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5514 ($(objpfx)bug-dl-leaf): New rule.
5515 ($(objpfx)bug-dl-leaf.so): Likewise.
5516 ($(objpfx)bug-dl-leaf.out): Likewise.
5517 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5518 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5519 * dlfcn/bug-dl-leaf.c: New test.
5520 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5521 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5522 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5523 (dlclose): Likewise.
5524 (dlmopen): Likewise.
5526 2013-08-27 Roland McGrath <roland@hack.frob.com>
5528 * include/netdb.h [!_ISOMAC]:
5529 Don't include <tls.h>.
5530 (h_errno, __libc_h_errno): Move declaration and macros out of
5533 * include/resolv.h [_RESOLV_H_]:
5534 Don't include <tls.h>.
5535 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5536 * resolv/res_libc.c: Don't include <tls.h>.
5537 (_res): Use __attribute__ ((nocommon)) in place of
5538 __attribute__ ((section (".bss"))).
5540 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5541 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5543 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5545 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5546 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5548 * resolv/res_mkquery.c: Include <sys/time.h>.
5550 * inet/ifreq.c: Moved to ...
5551 * sysdeps/unix/ifreq.c: ... here.
5552 * inet/ifreq.c: New file, true stub version.
5554 * socket/sa_len.c: New file.
5555 * socket/Makefile (aux): Add it.
5556 * sysdeps/unix/sysv/linux/Makefile
5557 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5558 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5559 and #include <socket/sa_len.c>.
5560 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5561 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5563 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5564 * bits/socket.h: ... here.
5566 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5567 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5568 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5570 2013-08-27 Andreas Schwab <schwab@suse.de>
5573 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5574 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5575 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5576 * string/test-strcasecmp.c (test_main): Run tests in several
5578 * string/test-strncasecmp.c (test_main): Likewise.
5580 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5581 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5582 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5584 (__strncasecmp_ssse3) [PIC]: Likewise.
5586 2013-08-26 Roland McGrath <roland@hack.frob.com>
5588 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5590 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5591 instead of explicitly declaring xdecrypt.
5592 * nis/nss_nis/nis-publickey.c: Likewise.
5594 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5597 * nscd/aicache.c: Include res_hconf.h.
5598 (addhstaiX): Initialize res_hconf.
5600 2013-08-26 Andreas Schwab <schwab@suse.de>
5602 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5603 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5605 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5607 * nscd/aicache.c (addhstaiX): Fix indentation.
5609 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5611 * configure.ac: Quote $build_pt_chown test.
5612 * configure: Regenerated.
5614 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5617 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5618 * math/s_cexpf.c (__cexpf): Likewise.
5619 * math/s_cexpl.c (__cexpl): Likewise.
5620 * math/libm-test.inc (cexp_test_data): Correct expected return
5621 value for NaN + i0. Add another test.
5623 2013-08-22 David S. Miller <davem@davemloft.net>
5625 * po/ca.po: Update Catalan translation from translation project.
5626 * po/uk.po: Add Ukrainian translations from translation project.
5628 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5631 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5632 is infinite, not alongside NaN test.
5633 * math/s_fdimf.c (__fdimf): Likewise.
5634 * math/s_fdiml.c (__fdiml): Likewise.
5635 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5638 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5640 * argp/argp-help.c: Fix typos.
5641 * crypt/speeds.c: Likewise.
5642 * csu/check_fds.c: Likewise.
5643 * elf/dl-load.c: Likewise.
5644 * elf/dl-open.c: Likewise.
5645 * elf/reldep3.c: Likewise.
5646 * elf/reldep.c: Likewise.
5647 * elf/sprof.c: Likewise.
5648 * iconv/iconv_charmap.c: Likewise.
5649 * iconv/skeleton.c: Likewise.
5650 * iconv/strtab.c: Likewise.
5651 * io/lockf64.c: Likewise.
5652 * libio/libioP.h: Likewise.
5653 * resolv/gai_notify.c: Likewise.
5654 * resolv/ns_name.c: Likewise.
5655 * resolv/ns_samedomain.c: Likewise.
5656 * resolv/res_send.c: Likewise.
5657 * stdlib/random.c: Likewise.
5658 * sunrpc/rpc/xdr.h: Likewise.
5659 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5660 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5661 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5662 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5663 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5666 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5667 * sysdeps/mach/hurd/check_fds.c: Likewise.
5668 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5669 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5671 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5672 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5673 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5674 * sysdeps/pthread/aio_notify.c: Likewise.
5675 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5676 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5677 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5678 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5679 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5681 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5683 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5684 version if bit_Slow_SSE4_2 is set.
5685 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5686 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5688 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5691 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5692 trampoline stack frame information.
5693 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5694 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5695 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5696 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5697 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5698 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5699 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5700 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5702 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5703 interrupting a syscall and set with option SA_SIGINFO.
5705 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5708 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5709 argument is infinite.
5710 * math/s_cprojf.c (__cprojf): Likewise.
5711 * math/s_cprojl.c (__cprojl): Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5713 * math/libm-test.inc (cproj_test_data): Add more tests.
5715 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5717 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5718 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5719 size. Use __ffs to determine corresponding shift.
5721 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5722 Roland McGrath <roland@hack.frob.com>
5724 * Makefile (INSTALL): Remove trailing blank lines from output of
5727 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5729 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5730 Align 32 bit compat elf_greg to 8 bytes.
5732 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5734 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5736 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5738 * string/strcoll_l.c (coll_seq): New structure.
5739 (get_next_seq_cached): New function.
5740 (get_next_seq): New function.
5741 (do_compare): New function.
5742 (STRCOLL): Use GNU style definition. Simplify implementation
5743 by using get_next_seq, get_next_seq_cached and do_compare.
5745 2013-08-16 Florian Weimer <fweimer@redhat.com>
5749 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5751 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5753 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5754 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5755 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5757 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5758 GETDENTS_64BIT_ALIGNED.
5759 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5760 * manual/filesys.texi (Reading/Closing Directory): Document
5761 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5763 * manual/conf.texi (Limits for Files): Add portability note to
5765 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5767 2013-08-13 Andreas Schwab <schwab@suse.de>
5770 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5772 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5773 LDBL_MAX_EXP >= 16384]: Add tests for it.
5775 2013-08-12 David S. Miller <davem@davemloft.net>
5777 * version.h (RELEASE): Set to "development".
5778 (VERSION): Set to "2.18.90".
5779 * NEWS: Add 2.19 section.
5781 2013-08-03 David S. Miller <davem@davemloft.net>
5783 * po/ko.po: Update Korean translation from translation project.
5785 2013-08-01 David S. Miller <davem@davemloft.net>
5787 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5788 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5791 2013-07-30 David S. Miller <davem@davemloft.net>
5793 * po/fr.po: Update French translation from translation project.
5795 2013-07-28 David S. Miller <davem@davemloft.net>
5797 * po/cs.po: Update Czech translation from translation project.
5799 * po/sv.po: Update Swedish translation from translation project.
5801 2013-07-27 David S. Miller <davem@davemloft.net>
5803 * po/eo.po: Update Esperanto translation from translation project.
5805 * po/vi.po: Update Vietnamese translation from translation project.
5807 * po/de.po: Update German translation from translation project.
5809 2013-07-26 David S. Miller <davem@davemloft.net>
5811 * po/bg.po: Update Bulgarian translation from translation project.
5813 * po/nl.po: Update Dutch translation from translation project.
5814 * po/pl.po: Update Polish translation from translation project.
5815 * po/ru.po: Update Russian translation from translation project.
5817 2013-07-24 David S. Miller <davem@davemloft.net>
5819 * po/libc.pot: Update.
5821 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5823 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5825 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5826 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5827 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5829 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5831 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5833 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5834 Andreas Schwab <schwab@suse.de>
5835 Roland McGrath <roland@hack.frob.com>
5836 Joseph Myers <joseph@codesourcery.com>
5837 Carlos O'Donell <carlos@redhat.com>
5840 * config.h.in: Define HAVE_PT_CHOWN.
5841 * config.make.in (build-pt-chown): New variable.
5842 * configure.in (--enable-pt_chown): New configure option.
5843 * configure: Regenerate.
5844 * login/Makefile: Include Makeconfig. Build pt_chown only if
5845 build-pt-chown is enabled.
5846 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5847 pt_chown to fix pty ownership.
5848 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5850 * manual/install.texi (Configuring and compiling): Mention
5851 --enable-pt_chown. Add @findex for grantpt.
5852 * INSTALL: Regenerate.
5854 2013-07-20 David S. Miller <davem@davemloft.net>
5856 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5857 difference between 32-bit and 64-bit.
5859 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5862 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5863 Avoid system header dependency with -ffreestanding.
5864 ($(objpfx)bits/syscall%d): Likewise.
5866 2013-07-13 David S. Miller <davem@davemloft.net>
5868 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5869 underflows from atanl/atan2l due to bug 15319.
5870 (casinh_test_data): Likewise.
5872 2013-07-07 David S. Miller <davem@davemloft.net>
5874 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5876 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5878 * sysdeps/i386/fpu/libm-test-ulps: Update.
5879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5881 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5883 * configure.in (--enable-lock-elision): Fix message text.
5884 * INSTALL: Regenerate.
5885 * configure: Regenerate.
5887 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5891 2013-07-03 Andreas Jaeger <aj@suse.de>
5893 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5895 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5896 (ptrace_peeksiginfo_args): Add.
5897 (__ptrace_peeksiginfo_flags): Add.
5898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5899 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5900 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5902 2013-07-03 Allan McRae <allan@archlinux.org>
5904 * sysdeps/i386/fpu/libm-test-ulps: Update.
5906 2013-07-02 David S. Miller <davem@davemloft.net>
5908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5910 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5914 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5916 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5919 2013-07-02 Andi Kleen <ak@linux.intel.com>
5921 * config.h.in (ENABLE_LOCK_ELISION): Add.
5922 * configure.in (--enable-lock-elision): Add option.
5923 * manual/install.texi: Document --enable lock elision.
5924 * configure: Regenerate
5925 * INSTALL: Regenerate.
5927 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5929 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5930 SSE4.2 strcasecmp for libc.a.
5931 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5933 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5936 * soft-fp/op-common.h (_FP_FMA): New macro.
5937 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5938 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5939 (_FP_MUL_MEAT_1_imm): ... here.
5940 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5941 (_FP_MUL_MEAT_1_wide): ... here.
5942 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5943 (_FP_MUL_MEAT_1_hard): ... here.
5944 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5945 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5946 (_FP_MUL_MEAT_2_wide): ... here.
5947 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5948 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5949 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5950 (_FP_MUL_MEAT_2_gmp): ... here.
5951 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5952 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5953 (_FP_MUL_MEAT_4_wide): ... here.
5954 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5955 (_FP_MUL_MEAT_4_gmp): ... here.
5956 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5957 (_FP_WFRACBITS_DW_S): Likewise.
5958 (_FP_WFRACXBITS_DW_S): Likewise.
5959 (_FP_HIGHBIT_DW_S): Likewise.
5960 (FP_FMA_S): Likewise.
5961 (_FP_FRAC_HIGH_DW_S): Likewise.
5962 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5963 (_FP_WFRACBITS_DW_D): Likewise.
5964 (_FP_WFRACXBITS_DW_D): Likewise.
5965 (_FP_HIGHBIT_DW_D): Likewise.
5966 (FP_FMA_D): Likewise.
5967 (_FP_FRAC_HIGH_DW_D): Likewise.
5968 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5969 (_FP_WFRACBITS_DW_E): Likewise.
5970 (_FP_WFRACXBITS_DW_E): Likewise.
5971 (_FP_HIGHBIT_DW_E): Likewise.
5972 (FP_FMA_E): Likewise.
5973 (_FP_FRAC_HIGH_DW_E): Likewise.
5974 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5975 (_FP_WFRACBITS_DW_Q): Likewise.
5976 (_FP_WFRACXBITS_DW_Q): Likewise.
5977 (_FP_HIGHBIT_DW_Q): Likewise.
5978 (FP_FMA_Q): Likewise.
5979 (_FP_FRAC_HIGH_DW_Q): Likewise.
5980 * soft-fp/fmasf4.c: New file.
5981 * soft-fp/fmadf4.c: Likewise.
5982 * soft-fp/fmatf4.c: Likewise.
5984 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5987 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5989 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5991 (index_Slow_SSE4_2): Likewise.
5992 (index_Prefer_PMINUB_for_stringop): Likewise.
5993 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5994 bit_Slow_SSE4_2 is set.
5995 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5996 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5998 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6000 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6001 rtld_global._dl_hwcap2.
6002 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6004 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6005 POWER8 feature descriptions defined in _dl_hwcap2.
6006 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6007 string handling for POWER8 feature bits.
6008 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6009 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6010 _dl_powerpc_cap_flags.
6011 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6012 * sysdeps/powerpc/rtld-global-offsets.sym
6013 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6014 _dl_hwcap2 in the rtld_global_ro structure.
6016 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6018 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6019 hardware capabilities in support of AT_HWCAP2.
6020 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6021 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6023 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6024 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6025 explicitly the unknown a_type display mechanism is used.
6026 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6027 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6029 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6030 to macro prototype for AT_HWCAP2 support.
6031 * sysdeps/i386/dl-procinfo.h: Likewise.
6032 * sysdeps/s390/dl-procinfo.h: Likewise.
6033 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6034 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6035 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6036 return -1 for unknown a_type display fallback.
6037 * sysdeps/sparc/dl-procinfo.h: Likewise.
6038 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6039 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6041 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6043 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6044 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6046 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6049 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6050 mprotect making __stack_prot writable.
6052 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6053 Joseph Myers <joseph@codesourcery.com>
6055 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6056 as being properly aligned.
6058 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6060 * dlfcn/modstatic5.c: New file.
6061 * dlfcn/tststatic5.c: New file.
6062 * dlfcn/Makefile (tests): Add tststatic5.
6063 (tests-static): Likewise.
6064 (modules-names): Add modstatic5.
6065 (tststatic5-ENV): New variable.
6066 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6069 * elf/dl-support.c (_dl_main_map): New variable.
6070 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6071 (_dl_nns, _dl_load_adds): Set to 1.
6072 (_dl_initial_searchlist): Refer to _dl_main_map.
6073 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6074 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6075 call to _dl_get_origin.
6076 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6078 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6079 * dlfcn/modstatic3.c: New file.
6080 * dlfcn/tststatic3.c: New file.
6081 * dlfcn/tststatic4.c: New file.
6082 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6083 (tests-static): Likewise.
6084 (modules-names): Add modstatic3.
6085 (tststatic3-ENV, tststatic4-ENV): New variables.
6086 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6087 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6089 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6091 * configure.in (CC): Require GCC version 4.4 or later.
6092 * configure: Regenerated.
6093 * manual/install.texi (Tools for Compilation): Update GCC version
6095 * INSTALL: Regenerated.
6097 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6100 * string/test-memcmp.c (check2): New.
6101 (main): Call check2.
6103 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6105 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6108 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6110 (dl_open_worker) [!SHARED]: ... here.
6112 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6114 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6116 2013-06-25 Richard Henderson <rth@redhat.com>
6118 * locale/programs/locarchive.c: Include <libc-internal.h>
6120 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6122 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6123 trailing whitespace removed.
6125 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6128 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6129 * locale/programs/locarchive.c: Include libc-mmap.h.
6130 (prepare_address_space): Take two new outputs (the mmap base and len).
6131 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6133 (create_archive): Declare new mmap base and len values for
6134 prepare_address_space, and store the result in ah.
6135 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6136 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6137 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6138 Declare new mmap base and len values for
6139 prepare_address_space, and store the result in new_ah.
6140 (open_archive): Declare new mmap base and len values for
6141 prepare_address_space, and store the result in ah.
6142 (close_archive): If ah->mmap_base is not NULL, use that and
6143 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6144 * sysdeps/generic/libc-mmap.h: New file.
6146 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6148 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6149 (ALIGN_UP): Likewise.
6150 (PTR_ALIGN_DOWN): Likewise.
6151 (PTR_ALIGN_UP): Likewise.
6153 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6155 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6156 entry mapped to PPC_PLATFORM_POWER8.
6157 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6159 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6160 (_dl_string_platform): Add case for exporting platform position for
6162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6163 search path to sysdeps/powerpc/powerpc32/power8 directory.
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6165 search path to sysdeps/powerpc/powerpc64/power8 directory.
6166 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6168 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6171 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6173 * INSTALL: Regenerate.
6175 * nscd/connections.c (nscd_init): Fix comment.
6177 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6179 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6182 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6183 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6185 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6187 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6189 (DL_DST_REQ_STATIC): Remove macro.
6191 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6194 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6195 with a shift of 0 bits.
6197 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6199 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6202 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6205 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6207 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6209 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6210 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6211 accepts -fno-tree-loop-distribute-patterns.
6212 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6213 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6215 * string/memset.c (memset): Likewise.
6216 * string/test-memmove.c (simple_memmove): Disable loop transformation
6218 * string/test-memset.c (simple_memset): Likewise.
6219 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6220 * benchtests/bench-memset.c (simple_memset): Likewise.
6221 * configure: Regenerated.
6223 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6225 * math/test-misc.c (main): Ignore fesetround failure when failures
6226 of subsequent rounding tests would be ignored.
6229 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6230 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6231 * math/fegetenv.c (__fegetenv): Return 0.
6232 * math/fegetexcept.c (fegetexcept): Return 0.
6233 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6235 * math/feholdexcpt.c (feholdexcept): Return 0.
6236 * math/fesetenv.c (__fesetenv): Return 0.
6237 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6238 argument FE_TONEAREST.
6239 * math/feupdateenv.c (__feupdateenv): Return 0.
6240 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6242 2013-06-18 Roland McGrath <roland@hack.frob.com>
6244 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6245 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6246 ($(objpfx)rtld-%.os rules): Use them.
6248 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6250 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6253 2013-06-17 Roland McGrath <roland@hack.frob.com>
6255 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6256 length of target pattern, then descending length of dependency pattern.
6257 * configure.in (AWK): Require gawk 3.1.2 or newer.
6258 * manual/install.texi (Tools for Compilation): Say that we do.
6259 * configure: Regenerated.
6261 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6262 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6263 * scripts/sysd-rules.awk: ... this new script.
6264 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6265 than a glob-style pattern.
6267 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6269 * math/test-misc.c (main): Do not treat incorrectly rounded
6270 conversions as failure unless ROUNDING_TESTS passes.
6272 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6275 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6276 restore exception state around main square root computation, then
6277 check for inexactness explicitly.
6279 * math/libm-test.inc (fma_test_data): Add another test.
6281 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6283 * manual/threads.texi (Non-POSIX Extensions): New document
6284 node. Document pthread_getattr_default_np and
6285 pthread_setattr_default_np.
6287 * Versions.def (libpthread): Add GLIBC_2.18.
6288 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6297 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6308 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6311 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6313 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6314 H.J. Lu <hjl.tools@gmail.com>
6317 * sysdeps/x86_64/rtld-memset.c: Remove file.
6318 * sysdeps/x86_64/rtld-memset.S: New file.
6320 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6322 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6323 (test_in_one_mode): Take arguments for whether the rounding mode
6324 is supported for each floating-point type.
6325 (do_test): Pass new arguments to test_in_one_mode using
6328 2013-06-13 Roland McGrath <roland@hack.frob.com>
6330 * posix/tst-waitid.c (do_test): Distinguish different instances of
6331 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6332 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6333 before entering the kernel for waitpid.
6335 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6337 * NEWS: Fix note on clock function precision. Text by Roland
6340 2013-06-13 Roland McGrath <roland@hack.frob.com>
6342 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6343 it into place only when and if the sanity check passes.
6345 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6347 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6348 output for whether conversion result is exact. Take argument
6349 indicating whether type is IBM long double.
6350 (round_for_all): Change need_exact field to ibm_ld.
6351 * stdlib/tst-strtod-round.c (struct exactness): New type.
6352 (struct test): Change bool ld_ok field to struct exactness exact.
6353 (TEST): Update all definitions for change to field.
6354 (tests): Regenerate array contents.
6355 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6356 field value. Check for IBM long double here.
6357 (do_test): Update calls to test_in_one_mode.
6359 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6362 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6363 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6365 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6368 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6369 generated by the compiler on loop optimizations.
6370 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6371 general definitions.
6373 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6375 * math/bug-nextafter.c: Include <math-tests.h>.
6376 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6378 * math/bug-nexttoward.c: Include <math-tests.h>.
6379 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6381 * math/test-misc.c: Include <math-tests.h>.
6382 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6385 2013-06-12 Andreas Jaeger <aj@suse.de>
6387 * po/ia.po: Update Interlingua translation from translation
6390 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6392 * include/fenv.h: Include stdbool.h.
6393 (struct rm_ctx): New structure.
6394 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6396 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6397 (SET_RESTORE_ROUNDF): Likewise.
6398 (SET_RESTORE_ROUNDL): Likewise.
6399 (SET_RESTORE_ROUND_NOEX): Likewise.
6400 (SET_RESTORE_ROUND_NOEXF): Likewise.
6401 (SET_RESTORE_ROUND_NOEXL): Likewise.
6402 (SET_RESTORE_ROUND_53BIT): Likewise.
6403 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6404 (libc_feresetround_noexf_ctx): Likewise.
6405 (libc_feresetround_noexl_ctx): Likewise.
6406 (libc_feholdsetround_53bit_ctx): Likewise.
6407 (libc_feresetround_53bit_ctx): Likewise.
6408 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6409 (libc_feholdexcept_setround_sse_ctx): New function.
6410 (libc_fesetenv_sse_ctx): Likewise.
6411 (libc_feupdateenv_sse_ctx): Likewise.
6412 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6413 (libc_feholdexcept_setround_387_ctx): Likewise.
6414 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6415 (libc_feholdsetround_387_prec_ctx): Likewise.
6416 (libc_feholdsetround_387_ctx): Likewise.
6417 (libc_feholdsetround_387_53bit_ctx): Likewise.
6418 (libc_feholdsetround_sse_ctx): Likewise.
6419 (libc_feresetround_sse_ctx): Likewise.
6420 (libc_feresetround_387_ctx): Likewise.
6421 (libc_feupdateenv_387_ctx): Likewise.
6422 (libc_feholdexcept_setroundf_ctx): Define macro.
6423 (libc_fesetenvf_ctx): Likewise.
6424 (libc_feupdateenvf_ctx): Likewise.
6425 (libc_feholdsetroundf_ctx): Likewise.
6426 (libc_feresetroundf_ctx): Likewise.
6427 (libc_feholdexcept_setround_ctx): Likewise.
6428 (libc_fesetenv_ctx): Likewise.
6429 (libc_feupdateenv_ctx): Likewise.
6430 (libc_feholdsetround_ctx): Likewise.
6431 (libc_feresetround_ctx): Likewise.
6432 (libc_feholdexcept_setroundl_ctx): Likewise.
6433 (libc_feupdateenvl_ctx): Likewise.
6434 (libc_feholdsetroundl_ctx): Likewise.
6435 (libc_feresetroundl_ctx): Likewise.
6436 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6437 (libc_feresetround_53bit_ctx): Likewise.
6439 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6441 * locale/iso-639.def: Convert to UTF-8.
6443 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6445 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6446 (EXCEPTION_TESTS_double): Likewise.
6447 (EXCEPTION_TESTS_long_double): Likewise.
6448 (EXCEPTION_TESTS): Likewise.
6449 * math/libm-test.inc (test_exceptions): Only test exceptions if
6450 EXCEPTION_TESTS (FLOAT).
6452 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6454 * benchtests/Makefile (string-bench): Add strcpy_chk and
6456 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6457 * benchtests/bench-stpcpy_chk.c: New file.
6458 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6459 * benchtests/bench-strcpy_chk.c: New file.
6460 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6462 (do_test): Likewise.
6464 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6466 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6467 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6468 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6469 with tabs where appropriate.
6470 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6472 [PPC_PLATFORM_PPC440]: Likewise.
6473 [PPC_PLATFORM_PPC464]: Likewise.
6474 [PPC_PLATFORM_PPC476]: Likewise.
6475 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6476 ppc464, and ppc476 platform strings merging from ports/
6479 2013-06-11 Andreas Schwab <schwab@suse.de>
6482 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6483 (from_ucs4_idx): Regenerate.
6484 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6485 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6486 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6487 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6488 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6489 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6490 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6491 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6492 from FROM_LOOP and TO_LOOP specific macros.
6493 (BODY): Handle combining characters.
6494 * iconvdata/BIG5HKSCS.irreversible: Update.
6495 * iconvdata/BIG5HKSCS.precomposed: New file.
6496 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6498 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6500 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6502 * include/sys/time.h: Fix indentation and add copyright header.
6504 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6505 (do_test): Likewise.
6506 * string/test-memchr.c (do_one_test): Likewise.
6507 (do_test): Likewise.
6508 * string/test-memcmp.c (do_one_test): Likewise.
6509 (do_test): Likewise.
6510 * string/test-memcpy.c (do_one_test): Likewise.
6511 (do_test): Likewise.
6512 * string/test-memmem.c (do_one_test): Likewise.
6513 (do_test): Likewise.
6514 (do_random_tests): Likewise.
6515 * string/test-memmove.c (do_one_test): Likewise.
6516 (do_test): Likewise.
6517 * string/test-memset.c (do_one_test): Likewise.
6518 (do_test): Likewise.
6519 * string/test-rawmemchr.c (do_one_test): Likewise.
6520 (do_test): Likewise.
6521 * string/test-strcasecmp.c (do_one_test): Likewise.
6522 (do_test): Likewise.
6523 * string/test-strcasestr.c (do_one_test): Likewise.
6524 (do_test): Likewise.
6525 * string/test-strcat.c (do_one_test): Likewise.
6526 (do_test): Likewise.
6527 * string/test-strchr.c (do_one_test): Likewise.
6528 (do_test): Likewise.
6529 * string/test-strcmp.c (do_one_test): Likewise.
6530 (do_test): Likewise.
6531 * string/test-strcpy.c (do_one_test): Likewise.
6532 (do_test): Likewise.
6533 * string/test-string.h: Likewise.
6534 (test_init): Likewise.
6535 * string/test-strlen.c (do_one_test): Likewise.
6536 (do_test): Likewise.
6537 * string/test-strncasecmp.c (do_one_test): Likewise.
6538 (do_test): Likewise.
6539 * string/test-strncat.c (do_one_test): Likewise.
6540 (do_test): Likewise.
6541 * string/test-strncmp.c (do_one_test): Likewise.
6542 (do_test_limit): Likewise.
6543 (do_test): Likewise.
6544 * string/test-strncpy.c (do_one_test): Likewise.
6545 (do_test): Likewise.
6546 * string/test-strnlen.c (do_one_test): Likewise.
6547 (do_test): Likewise.
6548 * string/test-strpbrk.c (do_one_test): Likewise.
6549 (do_test): Likewise.
6550 * string/test-strrchr.c (do_one_test): Likewise.
6551 (do_test): Likewise.
6552 * string/test-strspn.c (do_one_test): Likewise.
6553 (do_test): Likewise.
6554 * string/test-strstr.c (do_one_test): Likewise.
6555 (do_test): Likewise.
6557 * benchtests/Makefile (string-bench): Add string benchmarks.
6558 * benchtests/bench-bcopy-ifunc.c: New file.
6559 * benchtests/bench-bcopy.c: New file.
6560 * benchtests/bench-bzero-ifunc.c: New file.
6561 * benchtests/bench-bzero.c: New file.
6562 * benchtests/bench-memccpy-ifunc.c: New file.
6563 * benchtests/bench-memccpy.c: New file.
6564 * benchtests/bench-memchr-ifunc.c: New file.
6565 * benchtests/bench-memchr.c: New file.
6566 * benchtests/bench-memcmp-ifunc.c: New file.
6567 * benchtests/bench-memcmp.c: New file.
6568 * benchtests/bench-memmem-ifunc.c: New file.
6569 * benchtests/bench-memmem.c: New file.
6570 * benchtests/bench-memmove-ifunc.c: New file.
6571 * benchtests/bench-memmove.c: New file.
6572 * benchtests/bench-mempcpy-ifunc.c: New file.
6573 * benchtests/bench-mempcpy.c: New file.
6574 * benchtests/bench-memset-ifunc.c: New file.
6575 * benchtests/bench-memset.c: New file.
6576 * benchtests/bench-rawmemchr-ifunc.c: New file.
6577 * benchtests/bench-rawmemchr.c: New file.
6578 * benchtests/bench-stpcpy-ifunc.c: New file.
6579 * benchtests/bench-stpcpy.c: New file.
6580 * benchtests/bench-stpncpy-ifunc.c: New file.
6581 * benchtests/bench-stpncpy.c: New file.
6582 * benchtests/bench-strcasecmp-ifunc.c: New file.
6583 * benchtests/bench-strcasecmp.c: New file.
6584 * benchtests/bench-strcasestr-ifunc.c: New file.
6585 * benchtests/bench-strcasestr.c: New file.
6586 * benchtests/bench-strcat-ifunc.c: New file.
6587 * benchtests/bench-strcat.c: New file.
6588 * benchtests/bench-strchr-ifunc.c: New file.
6589 * benchtests/bench-strchr.c: New file.
6590 * benchtests/bench-strchrnul-ifunc.c: New file.
6591 * benchtests/bench-strchrnul.c: New file.
6592 * benchtests/bench-strcmp-ifunc.c: New file.
6593 * benchtests/bench-strcmp.c: New file.
6594 * benchtests/bench-strcpy-ifunc.c: New file.
6595 * benchtests/bench-strcpy.c: New file.
6596 * benchtests/bench-strcspn-ifunc.c: New file.
6597 * benchtests/bench-strcspn.c: New file.
6598 * benchtests/bench-strlen-ifunc.c: New file.
6599 * benchtests/bench-strlen.c: New file.
6600 * benchtests/bench-strncasecmp-ifunc.c: New file.
6601 * benchtests/bench-strncasecmp.c: New file.
6602 * benchtests/bench-strncat-ifunc.c: New file.
6603 * benchtests/bench-strncat.c: New file.
6604 * benchtests/bench-strncmp-ifunc.c: New file.
6605 * benchtests/bench-strncmp.c: New file.
6606 * benchtests/bench-strncpy-ifunc.c: New file.
6607 * benchtests/bench-strncpy.c: New file.
6608 * benchtests/bench-strnlen-ifunc.c: New file.
6609 * benchtests/bench-strnlen.c: New file.
6610 * benchtests/bench-strpbrk-ifunc.c: New file.
6611 * benchtests/bench-strpbrk.c: New file.
6612 * benchtests/bench-strrchr-ifunc.c: New file.
6613 * benchtests/bench-strrchr.c: New file.
6614 * benchtests/bench-strspn-ifunc.c: New file.
6615 * benchtests/bench-strspn.c: New file.
6616 * benchtests/bench-strstr-ifunc.c: New file.
6617 * benchtests/bench-strstr.c: New file.
6619 * benchtests/Makefile: Disable parallel execution of targets.
6620 (string-bench): Add memcpy.
6621 (benchset): New variable to store a list of benchmark sets.
6622 (bench-func): Renamed from bench.
6623 (bench-set): New target.
6624 (bench): Depend on bench-func and bench-set.
6625 * benchtests/README: Add section on benchmark sets.
6626 * benchtests/bench-memcpy-ifunc.c: New file.
6627 * benchtests/bench-memcpy.c: New file.
6628 * benchtests/bench-string.h: New file.
6630 2013-06-11 Andreas Schwab <schwab@suse.de>
6633 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6634 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6635 values in the triple.
6636 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6637 terminator in the group key.
6639 2013-06-11 Andreas Jaeger <aj@suse.de>
6641 * po/zh_TW.po: Update Chinese (traditional) translation from
6642 translation project.
6644 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6646 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6647 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6648 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6649 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6650 (clock_getcpuclockid): Likewise.
6651 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6652 Add weak_alias and libc_hidden_def.
6653 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6654 * rt/clock_gettime.c (clock_gettime): Rename to
6655 __clock_gettime. Add weak_alias and libc_hidden_def.
6656 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6657 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6658 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6659 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6660 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6662 * rt/clock_settime.c (clock_settime): Rename to
6663 __clock_settime. Add weak_alias and libc_hidden_def.
6664 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6666 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6668 * mach/err_boot.sub: Remove trailing whitespace.
6669 * mach/err_ipc.sub: Likewise.
6670 * mach/err_mach.sub: Likewise.
6672 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6673 (ROUNDING_TESTS_double): Likewise.
6674 (ROUNDING_TESTS_long_double): Likewise.
6675 (ROUNDING_TESTS): Likewise.
6676 * math/libm-test.inc: Include <math-tests.h>.
6677 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6678 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6679 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6680 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6682 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6684 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6687 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6689 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6690 otherwise empty TRANS lines.
6691 * sysdeps/gnu/errlist.c: Regenerated.
6693 * catgets/gencat.c (error_print): Use (void) in function
6695 * crypt/crypt_util.c (__init_des): Likewise.
6696 * crypt/speeds.c (Stop): Likewise.
6698 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6699 * inet/ruserpass.c (token): Likewise.
6700 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6701 * intl/localealias.c (extend_alias_table): Likewise.
6702 * intl/plural-exp.c (init_germanic_plural): Likewise.
6703 * libio/fcloseall.c (__fcloseall): Likewise.
6704 * libio/genops.c (_IO_flush_all): Likewise.
6705 (_IO_flush_all_linebuffered): Likewise.
6706 (_IO_cleanup): Likewise.
6707 (_IO_iter_begin): Likewise.
6708 (_IO_iter_end): Likewise.
6709 (_IO_list_lock): Likewise.
6710 (_IO_list_unlock): Likewise.
6711 (_IO_list_resetlock): Likewise.
6712 * libio/getchar.c (getchar): Likewise.
6713 * libio/getchar_u.c (getchar_unlocked): Likewise.
6714 * libio/getwchar.c (getwchar): Likewise.
6715 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6716 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6717 * login/getpt.c (__getpt): Likewise.
6718 * login/tst-utmp.c (main): Likewise.
6719 * malloc/hooks.c (__malloc_check_init): Likewise.
6720 * malloc/malloc.c (__malloc_stats): Likewise.
6721 * malloc/mtrace.c (tr_break): Likewise.
6723 (muntrace): Likewise.
6724 * misc/fstab.c (endfsent): Likewise.
6725 * misc/getclktck.c (__getclktck): Likewise.
6726 * misc/getdtsz.c (__getdtablesize): Likewise.
6727 * misc/gethostid.c (gethostid): Likewise.
6728 * misc/getpagesize.c (__getpagesize): Likewise.
6729 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6730 (__get_nprocs): Likewise.
6731 (__get_phys_pages): Likewise.
6732 (__get_avphys_pages): Likewise.
6733 * misc/getttyent.c (getttyent): Likewise.
6734 (setttyent): Likewise.
6735 (endttyent): Likewise.
6736 * misc/getusershell.c (getusershell): Likewise.
6737 (endusershell): Likewise.
6738 (setusershell): Likewise.
6739 (initshells): Likewise.
6740 * misc/hsearch.c (__hdestroy): Likewise.
6741 * misc/sync.c (sync): Likewise.
6742 * misc/syslog.c (closelog_internal): Likewise.
6743 (closelog): Likewise.
6744 * misc/ttyslot.c (ttyslot): Likewise.
6745 * misc/vhangup.c (vhangup): Likewise.
6746 * posix/fork.c (__fork): Likewise.
6747 * posix/getegid.c (__getegid): Likewise.
6748 * posix/geteuid.c (__geteuid): Likewise.
6749 * posix/getgid.c (__getgid): Likewise.
6750 * posix/getpid.c (__getpid): Likewise.
6751 * posix/getppid.c (__getppid): Likewise.
6752 * posix/getuid.c (__getuid): Likewise.
6753 * posix/pause.c (pause): Likewise.
6754 * posix/setpgrp.c (setpgrp): Likewise.
6755 * posix/setsid.c (__setsid): Likewise.
6756 * posix/test-vfork.c (noop): Likewise.
6757 * resolv/gethnamaddr.c (_endhtent): Likewise.
6758 (_gethtent): Likewise.
6759 (ht_endhostent): Likewise.
6760 (gethostent): Likewise.
6761 (dns_service): Likewise.
6762 * stdlib/drand48.c (drand48): Likewise.
6763 * stdlib/lrand48.c (lrand48): Likewise.
6764 * stdlib/mrand48.c (mrand48): Likewise.
6765 * stdlib/rand.c (rand): Likewise.
6766 * stdlib/random.c (__random): Likewise.
6767 * stdlib/setenv.c (clearenv): Likewise.
6768 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6769 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6770 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6771 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6772 (__get_nprocs): Likewise.
6773 (__get_phys_pages): Likewise.
6774 (__get_avphys_pages): Likewise.
6775 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6776 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6777 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6778 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6779 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6780 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6781 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6782 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6783 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6784 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6785 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6786 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6787 * sysdeps/posix/clock.c (clock): Likewise.
6788 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6789 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6790 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6791 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6792 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6794 (__get_nprocs_conf): Likewise.
6795 (__get_phys_pages): Likewise.
6796 (__get_avphys_pages): Likewise.
6797 * time/clock.c (clock): Likewise.
6798 * time/tzset.c (__tzname_max): Likewise.
6800 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6802 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6803 (__bswap_32): Do not use "register".
6804 * crypt/crypt.c (_ufc_doit_r): Likewise.
6805 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6806 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6807 * gmon/gmon.c (__monstartup): Likewise.
6808 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6809 * hurd/hurdmalloc.c (more_memory): Likewise.
6812 (realloc): Likewise.
6813 (malloc_fork_prepare): Likewise.
6814 (malloc_fork_parent): Likewise.
6815 (malloc_fork_child): Likewise.
6816 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6817 (_svcauth_des): Likewise.
6818 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6819 * inet/inet_net.c (inet_network): Likewise.
6820 * inet/inet_netof.c (inet_netof): Likewise.
6821 * inet/rcmd.c (__validuser2_sa): Likewise.
6822 * io/fts.c (fts_open): Likewise.
6823 (fts_load): Likewise.
6824 (fts_close): Likewise.
6825 (fts_read): Likewise.
6826 (fts_children): Likewise.
6827 (fts_build): Likewise.
6828 (fts_stat): Likewise.
6829 (fts_sort): Likewise.
6830 (fts_alloc): Likewise.
6831 (fts_lfree): Likewise.
6832 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6833 (_IO_file_xsgetn): Likewise.
6834 (_IO_file_xsgetn_mmap): Likewise.
6835 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6836 (_IO_cookie_write): Likewise.
6837 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6838 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6839 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6840 * malloc/obstack.c (_obstack_begin): Likewise.
6841 (_obstack_begin_1): Likewise.
6842 (_obstack_newchunk): Likewise.
6843 (_obstack_allocated_p): Likewise.
6844 (obstack_free): Likewise.
6845 (_obstack_memory_used): Likewise.
6846 * misc/getttyent.c (getttynam): Likewise.
6847 (getttyent): Likewise.
6850 * misc/getusershell.c (initshells): Likewise.
6851 * misc/syslog.c (__vsyslog_chk): Likewise.
6852 * misc/ttyslot.c (ttyslot): Likewise.
6853 * nis/nis_hash.c (__nis_hash): Likewise.
6854 * posix/fnmatch_loop.c (FCT): Likewise.
6855 * posix/getconf.c (print_all): Likewise.
6857 * posix/getopt.c (exchange): Likewise.
6858 * posix/glob.c (globfree): Likewise.
6859 (prefix_array): Likewise.
6860 (__glob_pattern_type): Likewise.
6861 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6862 (NS_GET32): Likewise.
6863 (NS_PUT16): Likewise.
6864 (NS_PUT32): Likewise.
6865 * resolv/gethnamaddr.c (getanswer): Likewise.
6866 (gethostbyname2): Likewise.
6867 (gethostbyaddr): Likewise.
6868 (_gethtent): Likewise.
6869 (_gethtbyname2): Likewise.
6870 (_gethtbyaddr): Likewise.
6871 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6872 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6873 * resolv/res_init.c (__res_vinit): Likewise.
6874 (net_mask): Likewise.
6875 * resolv/res_mkquery.c (outchar): Likewise.
6877 * stdio-common/printf_fp.c (outchar): Likewise.
6879 * stdio-common/printf_fphex.c (outchar): Likewise.
6881 * stdio-common/printf_size.c (outchar): Likewise.
6883 * stdio-common/test_rdwr.c (main): Likewise.
6884 * stdio-common/tfformat.c (matches): Likewise.
6885 * stdio-common/vfprintf.c (outchar): Likewise.
6886 (printf_unknown): Likewise.
6887 (buffered_vfprintf): Likewise.
6888 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6889 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6890 (ReadFile): Likewise.
6891 * stdlib/qsort.c (SWAP): Likewise.
6892 (_quicksort): Likewise.
6893 * stdlib/setenv.c (__add_to_environ): Likewise.
6894 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6895 * stdlib/strtol_l.c (__strtol_l): Likewise.
6896 * stdlib/tst-strtod.c (main): Likewise.
6897 * stdlib/tst-strtol.c (main): Likewise.
6898 * stdlib/tst-strtoll.c (main): Likewise.
6899 * string/bits/string2.h (__strcmp_cc): Likewise.
6900 (__strcmp_cg): Likewise.
6901 (__strcspn_c1): Likewise.
6902 (__strcspn_c2): Likewise.
6903 (__strcspn_c3): Likewise.
6904 (__strspn_c1): Likewise.
6905 (__strspn_c2): Likewise.
6906 (__strspn_c3): Likewise.
6907 (__strsep_1c): Likewise.
6908 (__strsep_2c): Likewise.
6909 (__strsep_3c): Likewise.
6910 * string/memccpy.c (__memccpy): Likewise.
6911 * string/stpcpy.c (__stpcpy): Likewise.
6912 * string/strcmp.c (strcmp): Likewise.
6913 * string/strrchr.c (strrchr): Likewise.
6914 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6916 * sysdeps/mach/hurd/getcwd.c
6917 (_hurd_canonicalize_directory_name_internal): Likewise.
6918 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6919 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6920 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6921 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6922 Likewise, in both definitions.
6923 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6925 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6926 64] (__bswap_64): Likewise.
6927 * time/test_time.c (main): Likewise.
6928 * time/tzfile.c (__tzfile_read): Likewise.
6929 (__tzfile_compute): Likewise.
6930 * time/tzset.c (__tzset_parse_tz): Likewise.
6931 (tzset_internal): Likewise.
6932 (compute_change): Likewise.
6933 * wcsmbs/wcscat.c (__wcscat): Likewise.
6934 * wcsmbs/wcschr.c (wcschr): Likewise.
6935 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6936 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6937 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6938 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6939 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6940 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6941 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6942 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6943 * wcsmbs/wmemset.c (wmemset): Likewise.
6945 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6947 * scripts/config.guess: Update to version 2013-05-16.
6948 * scripts/config.sub: Update to version 2013-04-24.
6949 * scripts/install-sh: Update to version 2011-11-20.07.
6950 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6951 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6953 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6955 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6956 * elf/sln.c: Likewise.
6957 * hurd/hurd/ioctl.h: Likewise.
6958 * hurd/hurdmalloc.c: Likewise.
6959 * hurd/xattr.c: Likewise.
6960 * include/shlib-compat.h: Likewise.
6961 * inet/ruserpass.c: Likewise.
6962 * libio/iofgets_u.c: Likewise.
6963 * libio/iofgetws_u.c: Likewise.
6964 * locale/programs/ld-identification.c: Likewise.
6965 * locale/programs/ld-time.c: Likewise.
6966 * mach/msg-destroy.c: Likewise.
6967 * nss/nss_files/files-netgrp.c: Likewise.
6968 * resolv/res_data.c: Likewise.
6969 * soft-fp/op-1.h: Likewise.
6970 * soft-fp/op-2.h: Likewise.
6971 * soft-fp/op-4.h: Likewise.
6972 * soft-fp/op-common.h: Likewise.
6973 * stdio-common/printf_fphex.c: Likewise.
6974 * stdlib/strtod_l.c: Likewise.
6975 * sunrpc/rpc/clnt.h: Likewise.
6976 * sysdeps/generic/framestate.c: Likewise.
6977 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6978 * sysdeps/i386/bsd-setjmp.S: Likewise.
6979 * sysdeps/i386/__longjmp.S: Likewise.
6980 * sysdeps/i386/setjmp.S: Likewise.
6981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6982 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6984 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6999 * sysdeps/ieee754/support.c: Likewise.
7000 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7001 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7002 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7003 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7004 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7005 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7006 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7007 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7008 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7009 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7010 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7011 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7012 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7013 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7014 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7015 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7016 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7019 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7021 * posix/transbug.c: Remove executable mode.
7023 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7025 * crypt/speeds.c: Remove trailing whitespace.
7026 * dlfcn/default.c: Likewise.
7027 * elf/ifuncdep2.c: Likewise.
7028 * elf/ifuncmain1.c: Likewise.
7029 * elf/ifuncmain1vis.c: Likewise.
7030 * elf/testobj.h: Likewise.
7031 * elf/tst-stackguard1.c: Likewise.
7032 * gmon/sys/gmon.h: Likewise.
7033 * hurd/hurdmsg.c: Likewise.
7034 * hurd/new-fd.c: Likewise.
7035 * hurd/ports-get.c: Likewise.
7036 * iconvdata/ibm1008_420.c: Likewise.
7037 * inet/tst-getni1.c: Likewise.
7038 * inet/tst-getni2.c: Likewise.
7039 * libio/ioungetc.c: Likewise.
7040 * libio/wfiledoalloc.c: Likewise.
7041 * manual/libm-err-tab.pl: Likewise.
7042 * math/w_dremf.c: Likewise.
7043 * misc/ftruncate.c: Likewise.
7044 * posix/bug-glob2.c: Likewise.
7045 * posix/tst-pcre.c: Likewise.
7046 * posix/wait4.c: Likewise.
7047 * resolv/README: Likewise.
7048 * resolv/res_debug.h: Likewise.
7049 * resolv/tst-inet_ntop.c: Likewise.
7050 * setjmp/bug269-setjmp.c: Likewise.
7051 * soft-fp/extended.h: Likewise.
7052 * soft-fp/op-1.h: Likewise.
7053 * soft-fp/op-2.h: Likewise.
7054 * soft-fp/op-4.h: Likewise.
7055 * soft-fp/op-8.h: Likewise.
7056 * soft-fp/testit.c: Likewise.
7057 * stdio-common/bug16.c: Likewise.
7058 * stdlib/random.c: Likewise.
7059 * sunrpc/rpcsvc/rquota.x: Likewise.
7060 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7061 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7062 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7063 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7064 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7065 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7066 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7067 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7068 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7069 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7070 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7087 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7089 * sysdeps/ieee754/s_lib_version.c: Likewise.
7090 * sysdeps/mach/hurd/check_fds.c: Likewise.
7091 * sysdeps/mach/hurd/getsockname.c: Likewise.
7092 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7093 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7094 * sysdeps/powerpc/bits/link.h: Likewise.
7095 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7096 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7097 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7098 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7099 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7100 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7101 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7102 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7103 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7104 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7105 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7106 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7107 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7108 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7109 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7110 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7111 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7112 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7113 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7114 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7115 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7116 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7117 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7118 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7119 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7120 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7121 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7122 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7123 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7124 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7125 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7126 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7127 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7128 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7129 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7130 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7131 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7132 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7133 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7134 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7135 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7136 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7137 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7138 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7139 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7140 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7141 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7142 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7143 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7144 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7145 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7147 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7148 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7149 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7150 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7151 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7152 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7153 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7154 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7155 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7156 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7157 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7158 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7159 * sysdeps/powerpc/sysdep.h: Likewise.
7160 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7161 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7162 * sysdeps/sh/dl-trampoline.S: Likewise.
7163 * sysdeps/sh/memset.S: Likewise.
7164 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7165 * sysdeps/sh/strlen.S: Likewise.
7166 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7167 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7168 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7169 * sysdeps/sparc/sparc32/rem.S: Likewise.
7170 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7171 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7172 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7173 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7174 * sysdeps/sparc/sparc32/urem.S: Likewise.
7175 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7176 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7177 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7178 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7179 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7180 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7181 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7182 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7183 * sysdeps/unix/bsd/times.c: Likewise.
7184 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7185 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7189 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7190 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7191 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7192 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7193 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7194 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7195 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7196 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7197 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7198 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7199 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7200 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7201 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7202 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7203 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7204 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7205 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7206 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7207 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7208 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7209 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7212 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7213 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7214 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7215 * sysdeps/x86_64/strcspn.S: Likewise.
7217 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7219 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7220 generated file. Regenerate properly from gen-translit.pl.
7221 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7222 locale/C-translit.h.
7224 2013-06-05 Andreas Schwab <schwab@suse.de>
7227 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7228 week as 6 instead of -1.
7229 * time/tst-strptime.c (day_tests): Add test case.
7231 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7233 * sysdeps/generic/math_private.h
7234 (libc_feholdexcept_setround_53bit): Replace with
7235 libc_feholdsetround_53bit.
7236 (libc_feupdateenv_53bit): Replace with
7237 libc_feresetround_53bit.
7238 (SET_RESTORE_ROUND_53BIT): Adjust.
7240 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7242 * string/test-strchrnul.c: Add copyright header.
7244 * posix/tst-getaddrinfo4.c: Increase test timeout.
7246 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7249 * math/libm-test.inc (MAX_EXP): Remove
7251 (ulp): Use MIN_EXP - MANT_DIG.
7252 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7254 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7256 * po/be.po: Revert last change.
7257 * po/zh_CN.po: Likewise.
7258 * po/header.pot: Likewise.
7260 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7262 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7263 link-libc-deps to empty as target-specific variable.
7264 * Makerules (link-libc-args): New variable.
7265 (libc-for-link): Likewise.
7266 (link-libc-deps): Likewise.
7267 (lib%.so): Depend on $(link-libc-deps). Link with
7269 (build-module): Link with $(link-libc-args).
7270 (build-module-asneeded): Likewise.
7271 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7273 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7274 target-specific variable.
7275 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7276 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7277 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7279 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7281 ($(objpfx)libpcprofile.so): Likewise.
7282 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7284 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7285 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7286 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7288 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7289 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7290 * login/Makefile ($(objpfx)libutil.so): Likewise.
7291 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7292 * math/Makefile ($(objpfx)libm.so): Likewise.
7293 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7294 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7295 variable instead of depending directly on libc.
7296 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7297 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7299 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7301 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7302 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7303 ($(objpfx)libanl.so): Likewise.
7304 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7306 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7308 * sysdeps/i386/fpu/Makefile: Remove file.
7309 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7310 ($(objpfx)libm.so): Remove dependency on ld.so.
7312 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7315 * nis/yp_xdr.c (XDRMAXNAME): Define.
7316 (XDRMAXRECORD): Define.
7317 (xdr_domainname): Use XDRMAXNAME.
7318 (xdr_mapname): Likewise.
7319 (xdr_peername): Likewise.
7320 (xdr_keydat): Use XDRMAXRECORD.
7321 (xdr_valdat): Likewise.
7323 2013-05-30 Jeff Law <law@redhat.com>
7326 * manual/errno.texi (ESTALE): Update to account for more than
7327 just NFS file systems.
7328 * sysdeps/gnu/errlist.c: Regenerated.
7330 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7333 * elf/Makefile (tests): Add tst-null-argv.
7334 (modules-names): Add tst-null-argv-lib.
7335 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7336 (tst-null-argv-ENV): Set environment for tst-null-argv.
7337 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7338 (RTLD_PROGNAME): New macro.
7339 * elf/tst-null-argv.c: New test case.
7340 * elf/tst-null-argv-lib.c: Library for test case.
7341 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7342 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7343 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7344 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7345 * elf/dl-init.c (call_init): Likewise.
7346 (_dl_init): Likewise.
7347 * elf/dl-load.c (print_search_path): Likewise.
7348 (_dl_map_object): Likewise.
7349 * elf/dl-lookup.c (do_lookup_x): Likewise.
7350 (add_dependency): Likewise.
7351 (_dl_lookup_symbol_x): Likewise.
7352 (_dl_debug_bindings): Likewise.
7353 * elf/dl-open.c (_dl_show_scope): Likewise.
7354 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7355 * elf/dl-version.c (match_symbol): Likewise.
7356 (_dl_check_map_versions): Likewise.
7357 * elf/rtld.c (dl_main): Likewise.
7358 (print_unresolved): Use RTLD_PROGNAME.
7359 (print_missing_version): Likewise.
7360 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7361 (elf_machine_rela): Likewise.
7362 * sysdeps/powerpc/powerpc32/dl-machine.c
7363 (__process_machine_rela): Likewise.
7364 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7368 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7370 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7377 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7379 * po/be.po: Add descriptive title.
7380 * po/zh_CN.po: Likewise.
7381 * po/header.pot: Likewise.
7383 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7385 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7387 (enlarge_archive): Likewise.
7389 2013-05-28 Ben North <ben@redfrontdoor.org>
7391 * manual/arith.texi (frexp): It is the magnitude of the return
7392 value which lies in [0.5, 1), not the return value itself.
7394 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7398 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7400 * stdio-common/bug26.c (main): Correct fscanf template.
7402 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7403 declare _dl_skip_args.
7405 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7408 * manual/platform.texi: Add missing @end deftypefun.
7410 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7413 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7414 bit of mantissa of 2^16382.
7415 * math/libm-test.inc (hypot_test_data): Add more tests.
7417 * math/libm-test.inc: Add drem and pow10 to list of tested
7419 (pow10_test): New function.
7420 (drem_test): Likewise.
7421 (drem_test_tonearest): Likewise.
7422 (drem_test_towardzero): Likewise.
7423 (drem_test_downward): Likewise.
7424 (drem_test_upward): Likewise.
7425 (main): Call the new functions.
7427 * math/libm-test.inc (finite_test_data): Remove.
7428 (finite_test): Run tests from isfinite_test_data.
7429 (gamma_test_data): Remove.
7430 (gamma_test): Run tests from lgamma_test_data.
7431 * sysdeps/i386/fpu/libm-test-ulps: Update.
7432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7434 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7436 * manual/platform.texi: Add PowerPC PPR function set documentation.
7437 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7440 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7442 * math/libm-test.inc (MAX_EXP): Define.
7444 (ulp): New function.
7445 (check_float_internal): Use ULPDIFF.
7446 (cpow_test): Disable failing test.
7447 (check_ulp): Test ulp() implemetnation.
7448 (main): Call check_ulp before starting tests.
7450 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7452 * math/gen-libm-test.pl (generate_testfile): Do not handle
7453 START_DATA and END_DATA.
7454 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7456 (acos_tonearest_test_data): Likewise.
7457 (acos_towardzero_test_data): Likewise.
7458 (acos_downward_test_data): Likewise.
7459 (acos_upward_test_data): Likewise.
7460 (acosh_test_data): Likewise.
7461 (asin_test_data): Likewise.
7462 (asin_tonearest_test_data): Likewise.
7463 (asin_towardzero_test_data): Likewise.
7464 (asin_downward_test_data): Likewise.
7465 (asin_upward_test_data): Likewise.
7466 (asinh_test_data): Likewise.
7467 (atan_test_data): Likewise.
7468 (atanh_test_data): Likewise.
7469 (atan2_test_data): Likewise.
7470 (cabs_test_data): Likewise.
7471 (cacos_test_data): Likewise.
7472 (cacosh_test_data): Likewise.
7473 (carg_test_data): Likewise.
7474 (casin_test_data): Likewise.
7475 (casinh_test_data): Likewise.
7476 (catan_test_data): Likewise.
7477 (catanh_test_data): Likewise.
7478 (cbrt_test_data): Likewise.
7479 (ccos_test_data): Likewise.
7480 (ccosh_test_data): Likewise.
7481 (ceil_test_data): Likewise.
7482 (cexp_test_data): Likewise.
7483 (cimag_test_data): Likewise.
7484 (clog_test_data): Likewise.
7485 (clog10_test_data): Likewise.
7486 (conj_test_data): Likewise.
7487 (copysign_test_data): Likewise.
7488 (cos_test_data): Likewise.
7489 (cos_tonearest_test_data): Likewise.
7490 (cos_towardzero_test_data): Likewise.
7491 (cos_downward_test_data): Likewise.
7492 (cos_upward_test_data): Likewise.
7493 (cosh_test_data): Likewise.
7494 (cosh_tonearest_test_data): Likewise.
7495 (cosh_towardzero_test_data): Likewise.
7496 (cosh_downward_test_data): Likewise.
7497 (cosh_upward_test_data): Likewise.
7498 (cpow_test_data): Likewise.
7499 (cproj_test_data): Likewise.
7500 (creal_test_data): Likewise.
7501 (csin_test_data): Likewise.
7502 (csinh_test_data): Likewise.
7503 (csqrt_test_data): Likewise.
7504 (ctan_test_data): Likewise.
7505 (ctan_tonearest_test_data): Likewise.
7506 (ctan_towardzero_test_data): Likewise.
7507 (ctan_downward_test_data): Likewise.
7508 (ctan_upward_test_data): Likewise.
7509 (ctanh_test_data): Likewise.
7510 (ctanh_tonearest_test_data): Likewise.
7511 (ctanh_towardzero_test_data): Likewise.
7512 (ctanh_downward_test_data): Likewise.
7513 (ctanh_upward_test_data): Likewise.
7514 (erf_test_data): Likewise.
7515 (erfc_test_data): Likewise.
7516 (exp_test_data): Likewise.
7517 (exp_tonearest_test_data): Likewise.
7518 (exp_towardzero_test_data): Likewise.
7519 (exp_downward_test_data): Likewise.
7520 (exp_upward_test_data): Likewise.
7521 (exp10_test_data): Likewise.
7522 (exp2_test_data): Likewise.
7523 (expm1_test_data): Likewise.
7524 (fabs_test_data): Likewise.
7525 (fdim_test_data): Likewise.
7526 (finite_test_data): Likewise.
7527 (floor_test_data): Likewise.
7528 (fma_test_data): Likewise.
7529 (fma_towardzero_test_data): Likewise.
7530 (fma_downward_test_data): Likewise.
7531 (fma_upward_test_data): Likewise.
7532 (fmax_test_data): Likewise.
7533 (fmin_test_data): Likewise.
7534 (fmod_test_data): Likewise.
7535 (fpclassify_test_data): Likewise.
7536 (frexp_test_data): Likewise.
7537 (gamma_test_data): Likewise.
7538 (hypot_test_data): Likewise.
7539 (ilogb_test_data): Likewise.
7540 (isfinite_test_data): Likewise.
7541 (isgreater_test_data): Likewise.
7542 (isgreaterequal_test_data): Likewise.
7543 (isinf_test_data): Likewise.
7544 (isless_test_data): Likewise.
7545 (islessequal_test_data): Likewise.
7546 (islessgreater_test_data): Likewise.
7547 (isnan_test_data): Likewise.
7548 (isnormal_test_data): Likewise.
7549 (issignaling_test_data): Likewise.
7550 (isunordered_test_data): Likewise.
7551 (j0_test_data): Likewise.
7552 (j1_test_data): Likewise.
7553 (jn_test_data): Likewise.
7554 (ldexp_test_data): Likewise.
7555 (lgamma_test_data): Likewise.
7556 (lrint_test_data): Likewise.
7557 (lrint_tonearest_test_data): Likewise.
7558 (lrint_towardzero_test_data): Likewise.
7559 (lrint_downward_test_data): Likewise.
7560 (lrint_upward_test_data): Likewise.
7561 (llrint_test_data): Likewise.
7562 (llrint_tonearest_test_data): Likewise.
7563 (llrint_towardzero_test_data): Likewise.
7564 (llrint_downward_test_data): Likewise.
7565 (llrint_upward_test_data): Likewise.
7566 (log_test_data): Likewise.
7567 (log10_test_data): Likewise.
7568 (log1p_test_data): Likewise.
7569 (log2_test_data): Likewise.
7570 (logb_test_data): Likewise.
7571 (logb_downward_test_data): Likewise.
7572 (lround_test_data): Likewise.
7573 (llround_test_data): Likewise.
7574 (modf_test_data): Likewise.
7575 (nearbyint_test_data): Likewise.
7576 (nextafter_test_data): Likewise.
7577 (nexttoward_test_data): Likewise.
7578 (pow_test_data): Likewise.
7579 (pow_tonearest_test_data): Likewise.
7580 (pow_towardzero_test_data): Likewise.
7581 (pow_downward_test_data): Likewise.
7582 (pow_upward_test_data): Likewise.
7583 (remainder_test_data): Likewise.
7584 (remainder_tonearest_test_data): Likewise.
7585 (remainder_towardzero_test_data): Likewise.
7586 (remainder_downward_test_data): Likewise.
7587 (remainder_upward_test_data): Likewise.
7588 (remquo_test_data): Likewise.
7589 (rint_test_data): Likewise.
7590 (rint_tonearest_test_data): Likewise.
7591 (rint_towardzero_test_data): Likewise.
7592 (rint_downward_test_data): Likewise.
7593 (rint_upward_test_data): Likewise.
7594 (round_test_data): Likewise.
7595 (scalb_test_data): Likewise.
7596 (scalbn_test_data): Likewise.
7597 (scalbln_test_data): Likewise.
7598 (signbit_test_data): Likewise.
7599 (sin_test_data): Likewise.
7600 (sin_tonearest_test_data): Likewise.
7601 (sin_towardzero_test_data): Likewise.
7602 (sin_downward_test_data): Likewise.
7603 (sin_upward_test_data): Likewise.
7604 (sincos_test_data): Likewise.
7605 (sinh_test_data): Likewise.
7606 (sinh_tonearest_test_data): Likewise.
7607 (sinh_towardzero_test_data): Likewise.
7608 (sinh_downward_test_data): Likewise.
7609 (sinh_upward_test_data): Likewise.
7610 (sqrt_test_data): Likewise.
7611 (tan_test_data): Likewise.
7612 (tan_tonearest_test_data): Likewise.
7613 (tan_towardzero_test_data): Likewise.
7614 (tan_downward_test_data): Likewise.
7615 (tan_upward_test_data): Likewise.
7616 (tanh_test_data): Likewise.
7617 (tgamma_test_data): Likewise.
7618 (trunc_test_data): Likewise.
7619 (y0_test_data): Likewise.
7620 (y1_test_data): Likewise.
7621 (yn_test_data): Likewise.
7622 (significand_test_data): Likewise.
7624 * math/gen-libm-test.pl (@functions): Remove variable.
7625 (generate_testfile): Don't handle START and END lines.
7626 * math/libm-test.inc (START): New macro.
7628 (END_COMPLEX): Likewise.
7629 (acos_test): Use END macro without arguments.
7630 (acos_test_tonearest): Likewise.
7631 (acos_test_towardzero): Likewise.
7632 (acos_test_downward): Likewise.
7633 (acos_test_upward): Likewise.
7634 (acosh_test): Likewise.
7635 (asin_test): Likewise.
7636 (asin_test_tonearest): Likewise.
7637 (asin_test_towardzero): Likewise.
7638 (asin_test_downward): Likewise.
7639 (asin_test_upward): Likewise.
7640 (asinh_test): Likewise.
7641 (atan_test): Likewise.
7642 (atanh_test): Likewise.
7643 (atan2_test): Likewise.
7644 (cabs_test): Likewise.
7645 (cacos_test): Use END_COMPLEX macro without arguments.
7646 (cacosh_test): Likewise.
7647 (carg_test): Use END macro without arguments.
7648 (casin_test): Use END_COMPLEX macro without arguments.
7649 (casinh_test): Likewise.
7650 (catan_test): Likewise.
7651 (catanh_test): Likewise.
7652 (cbrt_test): Use END macro without arguments.
7653 (ccos_test): Use END_COMPLEX macro without arguments.
7654 (ccosh_test): Likewise.
7655 (ceil_test): Use END macro without arguments.
7656 (cexp_test): Use END_COMPLEX macro without arguments.
7657 (cimag_test): Use END macro without arguments.
7658 (clog_test): Use END_COMPLEX macro without arguments.
7659 (clog10_test): Likewise.
7660 (conj_test): Likewise.
7661 (copysign_test): Use END macro without arguments.
7662 (cos_test): Likewise.
7663 (cos_test_tonearest): Likewise.
7664 (cos_test_towardzero): Likewise.
7665 (cos_test_downward): Likewise.
7666 (cos_test_upward): Likewise.
7667 (cosh_test): Likewise.
7668 (cosh_test_tonearest): Likewise.
7669 (cosh_test_towardzero): Likewise.
7670 (cosh_test_downward): Likewise.
7671 (cosh_test_upward): Likewise.
7672 (cpow_test): Use END_COMPLEX macro without arguments.
7673 (cproj_test): Likewise.
7674 (creal_test): Use END macro without arguments.
7675 (csin_test): Use END_COMPLEX macro without arguments.
7676 (csinh_test): Likewise.
7677 (csqrt_test): Likewise.
7678 (ctan_test): Likewise.
7679 (ctan_test_tonearest): Likewise.
7680 (ctan_test_towardzero): Likewise.
7681 (ctan_test_downward): Likewise.
7682 (ctan_test_upward): Likewise.
7683 (ctanh_test): Likewise.
7684 (ctanh_test_tonearest): Likewise.
7685 (ctanh_test_towardzero): Likewise.
7686 (ctanh_test_downward): Likewise.
7687 (ctanh_test_upward): Likewise.
7688 (erf_test): Use END macro without arguments.
7689 (erfc_test): Likewise.
7690 (exp_test): Likewise.
7691 (exp_test_tonearest): Likewise.
7692 (exp_test_towardzero): Likewise.
7693 (exp_test_downward): Likewise.
7694 (exp_test_upward): Likewise.
7695 (exp10_test): Likewise.
7696 (exp2_test): Likewise.
7697 (expm1_test): Likewise.
7698 (fabs_test): Likewise.
7699 (fdim_test): Likewise.
7700 (finite_test): Likewise.
7701 (floor_test): Likewise.
7702 (fma_test): Likewise.
7703 (fma_test_towardzero): Likewise.
7704 (fma_test_downward): Likewise.
7705 (fma_test_upward): Likewise.
7706 (fmax_test): Likewise.
7707 (fmin_test): Likewise.
7708 (fmod_test): Likewise.
7709 (fpclassify_test): Likewise.
7710 (frexp_test): Likewise.
7711 (gamma_test): Likewise.
7712 (hypot_test): Likewise.
7713 (ilogb_test): Likewise.
7714 (isfinite_test): Likewise.
7715 (isgreater_test): Likewise.
7716 (isgreaterequal_test): Likewise.
7717 (isinf_test): Likewise.
7718 (isless_test): Likewise.
7719 (islessequal_test): Likewise.
7720 (islessgreater_test): Likewise.
7721 (isnan_test): Likewise.
7722 (isnormal_test): Likewise.
7723 (issignaling_test): Likewise.
7724 (isunordered_test): Likewise.
7725 (j0_test): Likewise.
7726 (j1_test): Likewise.
7727 (jn_test): Likewise.
7728 (ldexp_test): Likewise.
7729 (lgamma_test): Likewise.
7730 (lrint_test): Likewise.
7731 (lrint_test_tonearest): Likewise.
7732 (lrint_test_towardzero): Likewise.
7733 (lrint_test_downward): Likewise.
7734 (lrint_test_upward): Likewise.
7735 (llrint_test): Likewise.
7736 (llrint_test_tonearest): Likewise.
7737 (llrint_test_towardzero): Likewise.
7738 (llrint_test_downward): Likewise.
7739 (llrint_test_upward): Likewise.
7740 (log_test): Likewise.
7741 (log10_test): Likewise.
7742 (log1p_test): Likewise.
7743 (log2_test): Likewise.
7744 (logb_test): Likewise.
7745 (logb_test_downward): Likewise.
7746 (lround_test): Likewise.
7747 (llround_test): Likewise.
7748 (modf_test): Likewise.
7749 (nearbyint_test): Likewise.
7750 (nextafter_test): Likewise.
7751 (nexttoward_test): Likewise.
7752 (pow_test): Likewise.
7753 (pow_test_tonearest): Likewise.
7754 (pow_test_towardzero): Likewise.
7755 (pow_test_downward): Likewise.
7756 (pow_test_upward): Likewise.
7757 (remainder_test): Likewise.
7758 (remainder_test_tonearest): Likewise.
7759 (remainder_test_towardzero): Likewise.
7760 (remainder_test_downward): Likewise.
7761 (remainder_test_upward): Likewise.
7762 (remquo_test): Likewise.
7763 (rint_test): Likewise.
7764 (rint_test_tonearest): Likewise.
7765 (rint_test_towardzero): Likewise.
7766 (rint_test_downward): Likewise.
7767 (rint_test_upward): Likewise.
7768 (round_test): Likewise.
7769 (scalb_test): Likewise.
7770 (scalbn_test): Likewise.
7771 (scalbln_test): Likewise.
7772 (signbit_test): Likewise.
7773 (sin_test): Likewise.
7774 (sin_test_tonearest): Likewise.
7775 (sin_test_towardzero): Likewise.
7776 (sin_test_downward): Likewise.
7777 (sin_test_upward): Likewise.
7778 (sincos_test): Likewise.
7779 (sinh_test): Likewise.
7780 (sinh_test_tonearest): Likewise.
7781 (sinh_test_towardzero): Likewise.
7782 (sinh_test_downward): Likewise.
7783 (sinh_test_upward): Likewise.
7784 (sqrt_test): Likewise.
7785 (tan_test): Likewise.
7786 (tan_test_tonearest): Likewise.
7787 (tan_test_towardzero): Likewise.
7788 (tan_test_downward): Likewise.
7789 (tan_test_upward): Likewise.
7790 (tanh_test): Likewise.
7791 (tgamma_test): Likewise.
7792 (trunc_test): Likewise.
7793 (y0_test): Likewise.
7794 (y1_test): Likewise.
7795 (yn_test): Likewise.
7796 (significand_test): Likewise.
7798 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7801 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7803 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7806 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7807 __ppc_mdoio and __ppc_mdoom.
7808 * manual/platform.texi: Document new functions __ppc_yield,
7809 __ppc_mdoio and __ppc_mdoom.
7811 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7813 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7814 (main): Mention "tls" pseudo-hwcap is legacy.
7815 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7817 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7819 * math/gen-libm-test.pl (parse_args): Output only string of
7820 arguments as text for test name, not full call or descriptions of
7821 tests for extra outputs.
7822 (generate_testfile): Do not pass function name to parse_args.
7823 Generate this_func variable from START.
7824 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7826 (struct test_ff_f_data): Likewise.
7827 (test_ff_f_data_nexttoward): Likewise.
7828 (struct test_fi_f_data): Likewise.
7829 (struct test_fl_f_data): Likewise.
7830 (struct test_if_f_data): Likewise.
7831 (struct test_fff_f_data): Likewise.
7832 (struct test_c_f_data): Likewise.
7833 (struct test_f_f1_data): Likewise. Remove field extra_name.
7834 (struct test_fF_f1_data): Likewise.
7835 (struct test_ffI_f1_data): Likewise.
7836 (struct test_c_c_data): Rename test_name field to arg_str.
7837 (struct test_cc_c_data): Likewise.
7838 (struct test_f_i_data): Likewise.
7839 (struct test_ff_i_data): Likewise.
7840 (struct test_f_l_data): Likewise.
7841 (struct test_f_L_data): Likewise.
7842 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7844 (COMMON_TEST_SETUP): New macro.
7845 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7846 (COMMON_TEST_CLEANUP): Likewise.
7847 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7848 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7850 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7851 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7853 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7854 (RUN_TEST_fff_f): Take argument string. Call new setup and
7856 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7857 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7859 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7860 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7862 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7863 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7865 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7866 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7868 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7869 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7871 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7872 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7874 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7875 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7877 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7878 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7880 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7881 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7883 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7884 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7886 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7887 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7889 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7890 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7892 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7893 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7895 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7896 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7898 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7899 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7901 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7903 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7905 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7906 to _sifields.sigfault.
7907 (si_addr_lsb): Define new macro.
7908 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7909 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7910 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7912 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7915 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7917 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7919 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7922 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7924 * math/gen-libm-test.pl (parse_args): Do not include expected
7925 result in test name.
7926 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7927 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7928 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7929 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7930 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7933 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7935 * benchtests/Makefile: Sort function entries.
7937 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7938 tanh, asinh, acosh, atanh.
7939 * benchtests/acos-inputs: New file.
7940 * benchtests/acosh-inputs: New file.
7941 * benchtests/asin-inputs: New file.
7942 * benchtests/asinh-inputs: New file.
7943 * benchtests/atanh-inputs: New file.
7944 * benchtests/cosh-inputs: New file.
7945 * benchtests/log-inputs: New file.
7946 * benchtests/sinh-inputs: New file.
7947 * benchtests/tanh-inputs: New file.
7949 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7952 * posix/tst-getaddrinfo4.c: New test.
7953 * posix/Makefile (tests): Add it.
7955 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7958 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7959 when no services were used.
7960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7961 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7963 2013-05-21 Andreas Schwab <schwab@suse.de>
7966 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7967 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7969 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7970 redundant variable declarations and reallocation of buffer when
7971 parsing as IPv6 address. Always set NSS status when called from
7972 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7973 buffer too small. Correct computation of needed size.
7974 * nss/Makefile (tests): Add test-digits-dots.
7975 * nss/test-digits-dots.c: New test.
7977 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7979 * benchtests/Makefile: Remove instructions for adding
7981 * benchtests/README: New file to explain how to execute and
7982 enhance the benchmark tests.
7984 2013-05-21 Andreas Schwab <schwab@suse.de>
7987 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7988 * setjmp/tst-sigsetjmp.c: New test.
7990 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7992 * sysdeps/x86_64/memset.S (memset): New implementation.
7993 (__bzero): Likewise.
7994 (__memset_tail): New function.
7996 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7998 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7999 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8000 __memcpy_sse2_unaligned ifunc selection.
8001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8002 Add memcpy-sse2-unaligned.S.
8003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8004 Add: __memcpy_sse2_unaligned.
8006 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8009 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8010 math_force_eval before restoring floating-point envrionment.
8011 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8014 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8016 (__nearbyintl): Use math_force_eval before restoring
8017 floating-point environment.
8018 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8020 * math/gen-libm-test.pl (special_functions): Remove.
8021 (parse_args): Don't handle TEST_extra. Handle functions with no
8023 * math/libm-test.inc (struct test_sincos_data): Replace with
8024 struct test_fFF_11_data.
8025 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8026 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8027 (sincos_test_data): Change element type to struct
8028 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8029 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8030 RUN_TEST_LOOP_sincos.
8031 * math/README.libm-test: Don't mention special handling of
8032 individual functions.
8033 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8034 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8035 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8036 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8037 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040 * math/gen-libm-test.pl (get_variable): Remove function.
8041 (parse_args): Don't show pointer parameters to call in test
8042 names. Use "extra output N" in test names for extra outputs
8043 rather than naming variables.
8045 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8048 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8049 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8050 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8052 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8054 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8057 * math/gen-libm-test.pl (@tests): Remove variable.
8059 (new_test): Remove function.
8060 (show_exceptions): New function.
8061 (special_functions): Use show_exceptions instead of new_test.
8062 (parse_args): Likewise.
8063 (generate_testfile): Pass only function name in generated call to
8064 print_max_error or print_complex_max_error.
8065 (get_ulps): Do not handle complex tests specially.
8066 (output_test): Rename to ...
8067 (get_all_ulps_for_test): ... this. Return a string rather than
8068 printing to a file. Require ulps to be present.
8069 (output_ulps): Generate arrays rather than #defines.
8070 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8071 (struct ulp_data): New type.
8072 (BUILD_COMPLEX_ULP): Remove macro.
8073 (compare_ulp_data): New function.
8074 (find_ulps): Likewise.
8075 (find_test_ulps): Likewise.
8076 (find_function_ulps): Likewise.
8077 (find_complex_function_ulps): Likewise.
8078 (print_max_error): Determine allowed ulps using
8080 (print_complex_max_error): Determine allowed ulps using
8081 find_complex_function_ulps.
8082 (check_float_internal): Determine max ulps using find_test_ulps.
8083 (check_float): Do not take max_ulp parameter. Update call to
8084 check_float_internal.
8085 (check_complex): Likewise.
8086 (check_int): Do not take max_ulp parameter.
8087 (check_long): Likewise.
8088 (check_bool): Likewise.
8089 (check_longlong): Likewise.
8090 (struct test_f_f_data): Remove max_ulp field.
8091 (struct test_ff_f_data): Likewise.
8092 (struct test_ff_f_data_nexttoward): Likewise.
8093 (struct test_fi_f_data): Likewise.
8094 (struct test_fl_f_data): Likewise.
8095 (struct test_if_f_data): Likewise.
8096 (struct test_fff_f_data): Likewise.
8097 (struct test_c_f_data): Likewise.
8098 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8099 (struct test_fF_f1_data): Likewise.
8100 (struct test_ffI_f1_data): Likewise.
8101 (struct test_c_c_data): Remove max_ulp field.
8102 (struct test_cc_c_data): Likewise.
8103 (struct test_f_i_data): Likewise.
8104 (struct test_ff_i_data): Likewise.
8105 (struct test_f_l_data): Likewise.
8106 (struct test_f_L_data): Likewise.
8107 (struct test_sincos_data): Likewise.
8108 (RUN_TEST_f_f): Do not handle ulps.
8109 (RUN_TEST_LOOP_f_f): Likewise.
8110 (RUN_TEST_2_f): Likewise.
8111 (RUN_TEST_LOOP_2_f): Likewise.
8112 (RUN_TEST_fff_f): Likewise.
8113 (RUN_TEST_LOOP_fff_f): Likewise.
8114 (RUN_TEST_c_f): Likewise.
8115 (RUN_TEST_LOOP_c_f): Likewise.
8116 (RUN_TEST_f_f1): Likewise.
8117 (RUN_TEST_LOOP_f_f1): Likewise.
8118 (RUN_TEST_fF_f1): Likewise.
8119 (RUN_TEST_LOOP_fF_f1): Likewise.
8120 (RUN_TEST_fI_f1): Likewise.
8121 (RUN_TEST_LOOP_fI_f1): Likewise.
8122 (RUN_TEST_ffI_f1): Likewise.
8123 (RUN_TEST_LOOP_ffI_f1): Likewise.
8124 (RUN_TEST_c_c): Likewise.
8125 (RUN_TEST_LOOP_c_c): Likewise.
8126 (RUN_TEST_cc_c): Likewise.
8127 (RUN_TEST_LOOP_cc_c): Likewise.
8128 (RUN_TEST_f_i): Likewise.
8129 (RUN_TEST_LOOP_f_i): Likewise.
8130 (RUN_TEST_f_i_tg): Likewise.
8131 (RUN_TEST_LOOP_f_i_tg): Likewise.
8132 (RUN_TEST_ff_i_tg): Likewise.
8133 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8134 (RUN_TEST_f_b): Likewise.
8135 (RUN_TEST_LOOP_f_b): Likewise.
8136 (RUN_TEST_f_b_tg): Likewise.
8137 (RUN_TEST_LOOP_f_b_tg): Likewise.
8138 (RUN_TEST_f_l): Likewise.
8139 (RUN_TEST_LOOP_f_l): Likewise.
8140 (RUN_TEST_f_L): Likewise.
8141 (RUN_TEST_LOOP_f_L): Likewise.
8142 (RUN_TEST_sincos): Likewise.
8143 (RUN_TEST_LOOP_sincos): Likewise.
8145 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8149 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8150 main case of finite arguments, set rounding mode to FE_TONEAREST
8151 and discard exceptions.
8152 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8154 (remainder_tonearest_test_data): New variable.
8155 (remainder_test_tonearest): New function.
8156 (remainder_towardzero_test_data): New variable.
8157 (remainder_test_towardzero): New function.
8158 (remainder_downward_test_data): New variable.
8159 (remainder_test_downward): New function.
8160 (remainder_upward_test_data): New variable.
8161 (remainder_test_upward): New function.
8162 (main): Call the new test functions.
8164 * math/libm-test.inc (struct test_f_f1_data): Remove field
8166 (struct test_fF_f1_data): Likewise.
8167 (struct test_ffI_f1_data): Likewise.
8168 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8169 based on value of EXTRA_EXPECTED.
8170 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8171 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8172 EXTRA_VAR based on value of EXTRA_EXPECTED.
8173 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8174 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8175 EXTRA_VAR based on value of EXTRA_EXPECTED.
8176 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8177 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8178 EXTRA_VAR based on value of EXTRA_EXPECTED.
8179 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8180 * math/gen-libm-test.pl (parse_args): Don't output initializers
8181 for extra output values.
8183 * math/libm-test.inc (check_int): Expect result to be exactly
8184 equal to expected value and do not handle ulps.
8185 (check_long): Likewise.
8186 (check_longlong): Likewise.
8188 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8190 (cimag_test_data): Likewise.
8191 (conj_test_data): Likewise.
8192 (copysign_test_data): Likewise.
8193 (cproj_test_data): Likewise.
8194 (creal_test_data): Likewise.
8195 (fabs_test_data): Likewise.
8196 (fdim_test_data): Likewise.
8197 (finite_test_data): Likewise.
8198 (floor_test_data): Likewise.
8199 (fmax_test_data): Likewise.
8200 (fmin_test_data): Likewise.
8201 (fmod_test_data): Likewise.
8202 (fpclassify_test_data): Likewise.
8203 (frexp_test_data): Likewise.
8204 (ilogb_test_data): Likewise.
8205 (isfinite_test_data): Likewise.
8206 (isgreater_test_data): Likewise.
8207 (isgreaterequal_test_data): Likewise.
8208 (isinf_test_data): Likewise.
8209 (isless_test_data): Likewise.
8210 (islessequal_test_data): Likewise.
8211 (islessgreater_test_data): Likewise.
8212 (isnan_test_data): Likewise.
8213 (isnormal_test_data): Likewise.
8214 (issignaling_test_data): Likewise.
8215 (isunordered_test_data): Likewise.
8216 (ldexp_test_data): Likewise.
8217 (lrint_test_data): Likewise.
8218 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8219 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8220 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8221 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8222 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8223 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8225 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8226 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8227 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8228 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8230 (lrint_downward_test_data): Test for "inexact" exceptions.
8231 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8232 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8233 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8235 (lrint_upward_test_data): Test for "inexact" exceptions.
8236 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8238 (llrint_test_data): Test for "inexact" exceptions.
8239 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8240 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8241 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8242 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8243 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8244 (llrint_downward_test_data): Test for "inexact" exceptions.
8245 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8246 (llrint_upward_test_data): Test for "inexact" exceptions.
8247 (logb_test_data): Likewise.
8248 (logb_downward_test_data): Likewise.
8249 (nextafter_test_data): Likewise.
8250 (nexttoward_test_data): Likewise.
8251 (remainder_test_data): Likewise.
8252 (remquo_test_data): Likewise.
8253 (scalbn_test_data): Likewise.
8254 (scalbln_test_data): Likewise.
8255 (signbit_test_data): Likewise.
8256 (sqrt_test_data): Likewise.
8257 (significand_test_data): Likewise.
8259 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8262 * benchtests/bench-modf.c (struct args): Mark arg0 as
8264 * scripts/bench.pl: Mark members of struct args as volatile.
8266 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8269 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8270 negative infinity on POWER6 or lower.
8271 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8273 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8276 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8277 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8278 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8279 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8280 (_FP_SETQNAN): New macro.
8281 (_FP_SETQNAN_SEMIRAW): Likewise.
8282 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8283 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8284 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8285 (FP_EXTEND): Use _FP_FRAC_SNANP.
8286 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8287 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8289 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8291 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8294 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8296 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8297 with DIVIDE_BY_ZERO_EXCEPTION.
8298 (gamma_test_data): Likewise.
8299 (lgamma_test_data): Likewise.
8300 (log_test_data): Likewise.
8301 (log10_test_data): Likewise.
8302 (log2_test_data): Likewise.
8303 (tgamma_test_data): Likewise.
8305 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8306 (acos_test_tonearest): Likewise.
8307 (acos_test_towardzero): Likewise.
8308 (acos_test_downward): Likewise.
8309 (acos_test_upward): Likewise.
8310 (acosh_test): Likewise.
8311 (asin_test): Likewise.
8312 (asin_test_tonearest): Likewise.
8313 (asin_test_towardzero): Likewise.
8314 (asin_test_downward): Likewise.
8315 (asin_test_upward): Likewise.
8316 (asinh_test): Likewise.
8317 (atan_test): Likewise.
8318 (atanh_test): Likewise.
8319 (atan2_test): Likewise.
8320 (cabs_test): Likewise.
8321 (cacos_test): Likewise.
8322 (cacosh_test): Likewise.
8323 (casin_test): Likewise.
8324 (casinh_test): Likewise.
8325 (catan_test): Likewise.
8326 (catanh_test): Likewise.
8327 (cbrt_test): Likewise.
8328 (ccos_test): Likewise.
8329 (ccosh_test): Likewise.
8330 (cexp_test): Likewise.
8331 (clog_test): Likewise.
8332 (clog10_test): Likewise.
8333 (cos_test): Likewise.
8334 (cos_test_tonearest): Likewise.
8335 (cos_test_towardzero): Likewise.
8336 (cos_test_downward): Likewise.
8337 (cos_test_upward): Likewise.
8338 (cosh_test): Likewise.
8339 (cosh_test_tonearest): Likewise.
8340 (cosh_test_towardzero): Likewise.
8341 (cosh_test_downward): Likewise.
8342 (cosh_test_upward): Likewise.
8343 (cpow_test): Likewise.
8344 (csin_test): Likewise.
8345 (csinh_test): Likewise.
8346 (csqrt_test): Likewise.
8347 (ctan_test): Likewise.
8348 (ctan_test_tonearest): Likewise.
8349 (ctan_test_towardzero): Likewise.
8350 (ctan_test_downward): Likewise.
8351 (ctan_test_upward): Likewise.
8352 (ctanh_test): Likewise.
8353 (ctanh_test_tonearest): Likewise.
8354 (ctanh_test_towardzero): Likewise.
8355 (ctanh_test_downward): Likewise.
8356 (ctanh_test_upward): Likewise.
8357 (erf_test): Likewise.
8358 (erfc_test): Likewise.
8359 (exp_test): Likewise.
8360 (exp_test_tonearest): Likewise.
8361 (exp_test_towardzero): Likewise.
8362 (exp_test_downward): Likewise.
8363 (exp_test_upward): Likewise.
8364 (exp10_test): Likewise.
8365 (exp2_test): Likewise.
8366 (expm1_test): Likewise.
8367 (fmod_test): Likewise.
8368 (gamma_test): Likewise.
8369 (hypot_test): Likewise.
8370 (j0_test): Likewise.
8371 (j1_test): Likewise.
8372 (jn_test): Likewise.
8373 (lgamma_test): Likewise.
8374 (log_test): Likewise.
8375 (log10_test): Likewise.
8376 (log1p_test): Likewise.
8377 (log2_test): Likewise.
8378 (logb_test_downward): Likewise.
8379 (pow_test): Likewise.
8380 (pow_test_tonearest): Likewise.
8381 (pow_test_towardzero): Likewise.
8382 (pow_test_downward): Likewise.
8383 (pow_test_upward): Likewise.
8384 (remainder_test): Likewise.
8385 (remquo_test): Likewise.
8386 (sin_test): Likewise.
8387 (sin_test_tonearest): Likewise.
8388 (sin_test_towardzero): Likewise.
8389 (sin_test_downward): Likewise.
8390 (sin_test_upward): Likewise.
8391 (sincos_test): Likewise.
8392 (sinh_test): Likewise.
8393 (sinh_test_tonearest): Likewise.
8394 (sinh_test_towardzero): Likewise.
8395 (sinh_test_downward): Likewise.
8396 (sinh_test_upward): Likewise.
8397 (sqrt_test): Likewise.
8398 (tan_test): Likewise.
8399 (tan_test_tonearest): Likewise.
8400 (tan_test_towardzero): Likewise.
8401 (tan_test_downward): Likewise.
8402 (tan_test_upward): Likewise.
8403 (tanh_test): Likewise.
8404 (tgamma_test): Likewise.
8405 (y0_test): Likewise.
8406 (y1_test): Likewise.
8407 (yn_test): Likewise.
8409 * math/gen-libm-test.pl (adjust_arg): Remove function.
8410 (special_function): Remove argument $in_func. Only handle
8411 generating output for tables of tests, not inside functions.
8412 (parse_args): Likewise.
8413 (generate_testfile): Remove variable $in_func. Update call to
8415 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8416 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8417 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8418 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8419 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8420 (MAX_VALUE_INIT): Rename macro to max_value.
8421 (MIN_VALUE_INIT): Rename macro to min_value.
8422 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8423 (plus_zero): Remove variable.
8424 (minus_zero): Likewise.
8425 (plus_infty): Likewise.
8426 (minus_infty): Likewise.
8427 (qnan_value): Likewise.
8428 (max_value): Likewise.
8429 (min_value): Likewise.
8430 (min_subnorm_value): Likewise.
8432 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8434 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8435 uint64_t or uint32_t usage.
8436 * crypt/sha256-block.c: Likewise.
8437 * crypt/sha256-crypt.c: Likewise.
8438 * crypt/sha256.c: Likewise.
8439 * crypt/sha512-block.c: Likewise.
8440 * crypt/sha512-crypt.c: Likewise.
8441 * crypt/sha512.c: Likewise.
8442 * debug/backtrace-tst.c: Likewise.
8443 * debug/pcprofiledump.c: Likewise.
8444 * elf/cache.c: Likewise.
8445 * elf/dl-cache.c: Likewise.
8446 * elf/dl-misc.c: Likewise.
8447 * elf/dl-profile.c: Likewise.
8448 * elf/dl-support.c: Likewise.
8449 * elf/ldconfig.c: Likewise.
8450 * elf/sprof.c: Likewise.
8451 * iconv/dummy-repertoire.c: Likewise.
8452 * iconv/iconv_charmap.c: Likewise.
8453 * iconv/skeleton.c: Likewise.
8454 * iconvdata/8bit-generic.c: Likewise.
8455 * iconvdata/cp737.h: Likewise.
8456 * iconvdata/cp775.h: Likewise.
8457 * iconvdata/ibm1008.h: Likewise.
8458 * iconvdata/ibm1025.h: Likewise.
8459 * iconvdata/ibm1046.h: Likewise.
8460 * iconvdata/ibm1097.h: Likewise.
8461 * iconvdata/ibm1112.h: Likewise.
8462 * iconvdata/ibm1122.h: Likewise.
8463 * iconvdata/ibm1123.h: Likewise.
8464 * iconvdata/ibm1124.h: Likewise.
8465 * iconvdata/ibm1129.h: Likewise.
8466 * iconvdata/ibm1130.h: Likewise.
8467 * iconvdata/ibm1132.h: Likewise.
8468 * iconvdata/ibm1133.h: Likewise.
8469 * iconvdata/ibm1137.h: Likewise.
8470 * iconvdata/ibm1140.h: Likewise.
8471 * iconvdata/ibm1141.h: Likewise.
8472 * iconvdata/ibm1142.h: Likewise.
8473 * iconvdata/ibm1143.h: Likewise.
8474 * iconvdata/ibm1144.h: Likewise.
8475 * iconvdata/ibm1145.h: Likewise.
8476 * iconvdata/ibm1146.h: Likewise.
8477 * iconvdata/ibm1147.h: Likewise.
8478 * iconvdata/ibm1148.h: Likewise.
8479 * iconvdata/ibm1149.h: Likewise.
8480 * iconvdata/ibm1153.h: Likewise.
8481 * iconvdata/ibm1154.h: Likewise.
8482 * iconvdata/ibm1155.h: Likewise.
8483 * iconvdata/ibm1156.h: Likewise.
8484 * iconvdata/ibm1157.h: Likewise.
8485 * iconvdata/ibm1158.h: Likewise.
8486 * iconvdata/ibm1160.h: Likewise.
8487 * iconvdata/ibm1161.h: Likewise.
8488 * iconvdata/ibm1162.h: Likewise.
8489 * iconvdata/ibm1163.h: Likewise.
8490 * iconvdata/ibm1164.h: Likewise.
8491 * iconvdata/ibm1166.h: Likewise.
8492 * iconvdata/ibm1167.h: Likewise.
8493 * iconvdata/ibm12712.h: Likewise.
8494 * iconvdata/ibm1390.h: Likewise.
8495 * iconvdata/ibm1399.h: Likewise.
8496 * iconvdata/ibm16804.h: Likewise.
8497 * iconvdata/ibm4517.h: Likewise.
8498 * iconvdata/ibm4899.h: Likewise.
8499 * iconvdata/ibm4909.h: Likewise.
8500 * iconvdata/ibm4971.h: Likewise.
8501 * iconvdata/ibm5347.h: Likewise.
8502 * iconvdata/ibm803.h: Likewise.
8503 * iconvdata/ibm856.h: Likewise.
8504 * iconvdata/ibm901.h: Likewise.
8505 * iconvdata/ibm902.h: Likewise.
8506 * iconvdata/ibm9030.h: Likewise.
8507 * iconvdata/ibm9066.h: Likewise.
8508 * iconvdata/ibm921.h: Likewise.
8509 * iconvdata/ibm922.h: Likewise.
8510 * iconvdata/ibm9448.h: Likewise.
8511 * iconvdata/isiri-3342.h: Likewise.
8512 * iconvdata/jis0201.h: Likewise.
8513 * include/link.h: Likewise.
8514 * include/netdb.h: Likewise.
8515 * inet/check_native.c: Likewise.
8516 * inet/check_pf.c: Likewise.
8517 * inet/getipv4sourcefilter.c: Likewise.
8518 * inet/getnameinfo.c: Likewise.
8519 * inet/getsourcefilter.c: Likewise.
8520 * inet/htonl.c: Likewise.
8521 * inet/setipv4sourcefilter.c: Likewise.
8522 * inet/setsourcefilter.c: Likewise.
8523 * inet/test-inet6_opt.c: Likewise.
8524 * inet/tst-network.c: Likewise.
8525 * locale/C-collate.c: Likewise.
8526 * locale/C-ctype.c: Likewise.
8527 * locale/C-time.c: Likewise.
8528 * locale/C-translit.h: Likewise.
8529 * locale/loadarchive.c: Likewise.
8530 * locale/programs/3level.h: Likewise.
8531 * locale/programs/charmap.c: Likewise.
8532 * locale/programs/charmap.h: Likewise.
8533 * locale/programs/ld-address.c: Likewise.
8534 * locale/programs/ld-collate.c: Likewise.
8535 * locale/programs/ld-ctype.c: Likewise.
8536 * locale/programs/ld-identification.c: Likewise.
8537 * locale/programs/ld-measurement.c: Likewise.
8538 * locale/programs/ld-messages.c: Likewise.
8539 * locale/programs/ld-monetary.c: Likewise.
8540 * locale/programs/ld-name.c: Likewise.
8541 * locale/programs/ld-numeric.c: Likewise.
8542 * locale/programs/ld-paper.c: Likewise.
8543 * locale/programs/ld-telephone.c: Likewise.
8544 * locale/programs/ld-time.c: Likewise.
8545 * locale/programs/linereader.c: Likewise.
8546 * locale/programs/locale.c: Likewise.
8547 * locale/programs/locarchive.c: Likewise.
8548 * locale/programs/locfile.h: Likewise.
8549 * locale/programs/repertoire.c: Likewise.
8550 * locale/programs/simple-hash.c: Likewise.
8551 * locale/programs/simple-hash.h: Likewise.
8552 * malloc/memusage.c: Likewise.
8553 * malloc/memusagestat.c: Likewise.
8554 * nis/nis_defaults.c: Likewise.
8555 * nis/nis_hash.c: Likewise.
8556 * nis/nis_print.c: Likewise.
8557 * nis/nis_xdr.c: Likewise.
8558 * nscd/connections.c: Likewise.
8559 * nscd/hstcache.c: Likewise.
8560 * nscd/nscd_gethst_r.c: Likewise.
8561 * nscd/nscd_getserv_r.c: Likewise.
8562 * nscd/nscd_helper.c: Likewise.
8563 * nscd/servicescache.c: Likewise.
8564 * nss/makedb.c: Likewise.
8565 * nss/nss_db/db-XXX.c: Likewise.
8566 * nss/nss_db/db-initgroups.c: Likewise.
8567 * nss/nss_db/db-netgrp.c: Likewise.
8568 * nss/nss_files/files-network.c: Likewise.
8569 * nss/nss_files/files-parse.c: Likewise.
8570 * posix/bug-regex5.c: Likewise.
8571 * posix/fnmatch_loop.c: Likewise.
8572 * posix/regcomp.c: Likewise.
8573 * posix/regexec.c: Likewise.
8574 * posix/tst-rfc3484-2.c: Likewise.
8575 * posix/tst-rfc3484-3.c: Likewise.
8576 * posix/tst-rfc3484.c: Likewise.
8577 * resolv/nss_dns/dns-canon.c: Likewise.
8578 * resolv/nss_dns/dns-network.c: Likewise.
8579 * resolv/res_init.c: Likewise.
8580 * resolv/res_mkquery.c: Likewise.
8581 * resolv/tst-aton.c: Likewise.
8582 * stdlib/cxa_atexit.c: Likewise.
8583 * stdlib/cxa_finalize.c: Likewise.
8584 * stdlib/gen-fpioconst.c: Likewise.
8585 * stdlib/strtol_l.c: Likewise.
8586 * string/tst-endian.c: Likewise.
8587 * sunrpc/auth_des.c: Likewise.
8588 * sunrpc/clnt_udp.c: Likewise.
8589 * sunrpc/rtime.c: Likewise.
8590 * sunrpc/svcauth_des.c: Likewise.
8591 * sunrpc/xdr.c: Likewise.
8592 * sunrpc/xdr_intXX_t.c: Likewise.
8593 * sunrpc/xdr_rec.c: Likewise.
8594 * sysdeps/generic/ldconfig.h: Likewise.
8595 * sysdeps/generic/ldsodefs.h: Likewise.
8596 * sysdeps/generic/memusage.h: Likewise.
8597 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8600 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8607 * sysdeps/posix/getaddrinfo.c: Likewise.
8608 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8609 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8610 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8611 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8612 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8613 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8614 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8615 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8616 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8617 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8618 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8619 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8620 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8621 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8622 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8623 * sysdeps/x86_64/dl-tls.h: Likewise.
8624 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8625 * time/alt_digit.c: Likewise.
8626 * time/era.c: Likewise.
8627 * wcsmbs/tst-c16c32-1.c: Likewise.
8629 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8631 * math/libm-test.inc (struct test_sincos_data): New type.
8632 (RUN_TEST_LOOP_sincos): New macro.
8633 (sincos_test_data): New variable.
8634 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8636 2013-05-16 Richard Henderson <rth@redhat.com>
8638 * math/atest-exp2.c (LIMB64): New macro.
8639 (CONSTSZ): New macro.
8640 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8642 (print_mpn_fp): ... to function scope.
8643 (read_mpn_hex): Remove.
8645 (exp2_mpn): Use mp_log2.
8646 (main): Use mp_exp1.
8648 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8650 * math/libm-test.inc: Remove comment about not testing "inexact"
8652 (INEXACT_EXCEPTION): New macro.
8653 (NO_INEXACT_EXCEPTION): Likewise.
8654 (INVALID_EXCEPTION_OK): Update value.
8655 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8656 (OVERFLOW_EXCEPTION_OK): Likewise.
8657 (UNDERFLOW_EXCEPTION_OK): Likewise.
8658 (IGNORE_ZERO_INF_SIGN): Likewise.
8659 (ERRNO_UNCHANGED): Likewise.
8660 (ERRNO_EDOM): Likewise.
8661 (ERRNO_ERANGE): Likewise.
8662 (test_exceptions): Handle testing "inexact" exceptions.
8663 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8664 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8665 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8666 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8668 (rint_towardzero_test_data): Likewise.
8669 (rint_downward_test_data): Likewise.
8670 (rint_upward_test_data): Likewise.
8672 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8673 with OVERFLOW_EXCEPTION.
8674 (exp10_test_data): Likewise.
8675 (exp2_test_data): Likewise.
8676 (expm1_test_data): Likewise.
8677 (lgamma_test_data): Likewise.
8678 (pow_test_data): Likewise.
8679 (tgamma_test_data): Likewise.
8680 (yn_test_data): Remove duplicate test of overflow.
8682 * math/libm-test.inc (struct test_cc_c_data): New type.
8683 (RUN_TEST_LOOP_cc_c): New macro.
8684 (cpow_test_data): New variable.
8685 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8687 * math/libm-test.inc (struct test_f_L_data): New type.
8688 (RUN_TEST_LOOP_f_L): New macro.
8689 (llrint_test_data): New variable.
8690 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8691 (llrint_tonearest_test_data): New variable.
8692 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8693 (llrint_towardzero_test_data): New variable.
8694 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8695 (llrint_downward_test_data): New variable.
8696 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8697 (llrint_upward_test_data): New variable.
8698 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8699 (llround_test_data): New variable.
8700 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8702 2013-05-13 Peter Collingbourne <pcc@google.com>
8704 * math/atest-exp2.c (get_log2): Remove const attribute.
8706 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8708 * math/libm-test.inc (struct test_f_l_data): New type.
8709 (RUN_TEST_LOOP_f_l): New macro.
8710 (lrint_test_data): New variable.
8711 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8712 (lrint_tonearest_test_data): New variable.
8713 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8714 (lrint_towardzero_test_data): New variable.
8715 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8716 (lrint_downward_test_data): New variable.
8717 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8718 (lrint_upward_test_data): New variable.
8719 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8720 (lround_test_data): New variable.
8721 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8723 2013-05-15 Peter Collingbourne <pcc@google.com>
8725 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8726 (EXTRACT_WORDS64) Use where appropriate.
8727 (INSERT_WORDS64) Likewise.
8729 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8730 constraints with x constraints.
8731 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8733 * malloc/obstack.c (_obstack_compat): Add initializer.
8735 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8737 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8738 si_trapno and add si_addr_lsb to _sifields.sigfault.
8739 (si_trapno): Remove macro.
8740 (si_addr_lsb): Define new macro.
8741 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8743 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8745 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8746 instead of TEST_f_l.
8747 (llrint_test_tonearest): Likewise.
8748 (llrint_test_towardzero): Likewise.
8749 (llrint_test_downward): Likewise.
8750 (llrint_test_upward): Likewise.
8751 (llround_test): Likewise.
8753 * math/libm-test.inc (struct test_f_i_data): Add comment.
8754 (RUN_TEST_LOOP_f_b): New macro.
8755 (RUN_TEST_LOOP_f_b_tg): Likewise.
8756 (finite_test_data): New variable.
8757 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8758 (isfinite_test_data): New variable.
8759 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8760 (isinf_test_data): New variable.
8761 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8762 (isnan_test_data): New variable.
8763 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8764 (isnormal_test_data): New variable.
8765 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8766 (issignaling_test_data): New variable.
8767 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8768 (signbit_test_data): New variable.
8769 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8771 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8772 with INVALID_EXCEPTION.
8773 (acosh_test_data): Likewise.
8774 (asin_test_data): Likewise.
8775 (atanh_test_data): Likewise.
8776 (fmod_test_data): Likewise.
8777 (log_test_data): Likewise.
8778 (log10_test_data): Likewise.
8779 (log2_test_data): Likewise.
8780 (pow_test_data): Likewise.
8781 (sqrt_test_data): Likewise.
8782 (y0_test_data): Likewise.
8783 (y1_test_data): Likewise.
8784 (yn_test_data): Likewise.
8786 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8789 * math/libm-test.inc (struct test_ff_i_data): New type.
8790 (RUN_TEST_LOOP_ff_i_tg): New macro.
8791 (isgreater_test_data): New variable.
8792 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8793 (isgreaterequal_test_data): New variable.
8794 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8795 (isless_test_data): New variable.
8796 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8797 (islessequal_test_data): New variable.
8798 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8799 (islessgreater_test_data): New variable.
8800 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8801 (isunordered_test_data): New variable.
8802 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8804 2013-05-14 David S. Miller <davem@davemloft.net>
8806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8808 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8810 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8812 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8814 (struct test_f_i_data): Change type of max_ulp to int.
8816 * math/libm-test.inc (test_ffI_f1_data): New type.
8817 (RUN_TEST_LOOP_ffI_f1): New macro.
8818 (remquo_test_data): New variable.
8819 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8821 * setjmp/tst-setjmp-fp.c: New file.
8822 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8823 (link-libm): New variable.
8824 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8826 * math/libm-test.inc (struct test_f_i_data): New type.
8827 (RUN_TEST_LOOP_f_i): New macro.
8828 (RUN_TEST_LOOP_f_i_tg): Likewise.
8829 (fpclassify_test_data): New variable.
8830 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8831 (ilogb_test_data): New variable.
8832 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8834 * math/libm-test.inc (scalbln_test): Correct function name in END
8837 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8838 (RUN_TEST_LOOP_fI_f1): New macro.
8839 (frexp_test_data): New variable.
8840 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8842 * math/libm-test.inc (struct test_fF_f1_data): New type.
8843 (RUN_TEST_LOOP_fF_f1): New macro.
8844 (modf_test_data): New variable.
8845 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8847 * math/libm-test.inc (struct test_f_f1_data): New type.
8848 (RUN_TEST_LOOP_f_f1): New macro.
8849 (gamma_test_data): New variable.
8850 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8851 (lgamma_test_data): New variable.
8852 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8854 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8856 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8857 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8858 (main): Comment "tls" pseudo-hwcap.
8860 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8862 * math/libm-test.inc (struct test_fl_f_data): New type.
8863 (RUN_TEST_LOOP_fl_f): New variable.
8864 (scalbln_test_data): New variable.
8865 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8867 * math/libm-test.inc (struct test_fi_f_data): New type.
8868 (RUN_TEST_LOOP_fi_f): New macro.
8869 (ldexp_test_data): New variable.
8870 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8871 (scalbn_test_data): New variable.
8872 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8874 * math/libm-test.inc (struct test_c_f_data): New type.
8875 (RUN_TEST_LOOP_c_f): New macro.
8876 (cabs_test_data): New variable.
8877 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8878 (carg_test_data): New variable.
8879 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8880 (cimag_test_data): New variable.
8881 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8882 (creal_test_data): New variable.
8883 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8885 * math/libm-test.inc (struct test_if_f_data): New type.
8886 (RUN_TEST_LOOP_if_f): New macro.
8887 (jn_test_data): New variable.
8888 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8889 (yn_test_data): New variable.
8890 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8892 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8894 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8896 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8897 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8899 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8901 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8902 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8903 (bench-deps): Add bench-timing.h.
8904 * benchtests-bench-skeleton.c: Include bench-timing.h.
8905 (main): Use TIMING_* macros instead of clock_gettime.
8906 * benchtests/bench-timing.h: New file.
8909 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8910 Renamed from _LIB_VERSION.
8911 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8913 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8915 * math/libm-test.inc (struct test_fff_f_data): New type.
8916 (RUN_TEST_LOOP_fff_f): New macro.
8917 (fma_test_data): New variable.
8918 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8919 (fma_towardzero_test_data): New variable.
8920 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8921 (fma_downward_test_data): New variable.
8922 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8923 (fma_upward_test_data): New variable.
8924 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8926 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8927 (struct test_c_c_data): New type.
8928 (RUN_TEST_LOOP_c_c): New macro.
8929 (cacos_test_data): New variable.
8930 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8931 (cacosh_test_data): New variable.
8932 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8933 (casin_test_data): New variable.
8934 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8935 (casinh_test_data): New variable.
8936 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8937 (catan_test_data): New variable.
8938 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8939 (catanh_test_data): New variable.
8940 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8941 (ccos_test_data): New variable.
8942 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8943 (ccosh_test_data): New variable.
8944 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8945 (cexp_test_data): New variable.
8946 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8947 (clog_test_data): New variable.
8948 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8949 (clog10_test_data): New variable.
8950 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8951 (conj_test_data): New variable.
8952 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8953 (cproj_test_data): New variable.
8954 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8955 (csin_test_data): New variable.
8956 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8957 (csinh_test_data): New variable.
8958 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8959 (csqrt_test_data): New variable.
8960 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8961 (ctan_test_data): New variable.
8962 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8963 (ctan_tonearest_test_data): New variable.
8964 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8965 (ctan_towardzero_test_data): New variable.
8966 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8967 (ctan_downward_test_data): New variable.
8968 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8969 (ctan_upward_test_data): New variable.
8970 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8971 (ctanh_test_data): New variable.
8972 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8973 (ctanh_tonearest_test_data): New variable.
8974 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8975 (ctanh_towardzero_test_data): New variable.
8976 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8977 (ctanh_downward_test_data): New variable.
8978 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8979 (ctanh_upward_test_data): New variable.
8980 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8981 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8984 * math/libm-test.inc (struct test_ff_f_data): New type.
8985 (struct test_ff_f_data_nexttoward): Likewise.
8986 (RUN_TEST_LOOP_2_f): New macro.
8987 (RUN_TEST_LOOP_ff_f): Likewise.
8988 (atan2_test_data): New variable.
8989 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8990 (copysign_test_data): New variable.
8991 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8992 (fdim_test_data): New variable.
8993 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8994 (fmax_test_data): New variable.
8995 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8996 (fmin_test_data): New variable.
8997 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8998 (fmod_test_data): New variable.
8999 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9000 (hypot_test_data): New variable.
9001 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9002 (nextafter_test_data): New variable.
9003 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9004 (nexttoward_test_data): New variable.
9005 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9006 (pow_test_data): New variable.
9007 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9008 (pow_tonearest_test_data): New variable.
9009 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9010 (pow_towardzero_test_data): New variable.
9011 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9012 (pow_downward_test_data): New variable.
9013 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9014 (pow_upward_test_data): New variable.
9015 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9016 (remainder_test_data): New variable.
9017 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9018 (scalb_test_data): New variable.
9019 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9020 * sysdeps/i386/fpu/libm-test-ulps: Update.
9022 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9024 * math/libm-test.inc (fma_test): Use max_value instead of local
9026 (nextafter_test): Likewise.
9028 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9029 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9030 (acos_downward_test_data): New variable.
9031 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9032 (acos_upward_test_data): New variable.
9033 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9034 (acosh_test_data): New variable.
9035 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9036 (asin_test_data): New variable.
9037 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9038 (asin_tonearest_test_data): New variable.
9039 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9040 (asin_towardzero_test_data): New variable.
9041 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9042 (asin_downward_test_data): New variable.
9043 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9044 (asin_upward_test_data): New variable.
9045 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9046 (asinh_test_data): New variable.
9047 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9048 (atan_test_data): New variable.
9049 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9050 (atanh_test_data): New variable.
9051 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9052 (cbrt_test_data): New variable.
9053 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9054 (ceil_test_data): New variable.
9055 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9056 (cos_test_data): New variable.
9057 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9058 (cos_tonearest_test_data): New variable.
9059 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9060 (cos_towardzero_test_data): New variable.
9061 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9062 (cos_downward_test_data): New variable.
9063 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9064 (cos_upward_test_data): New variable.
9065 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9066 (cosh_test_data): New variable.
9067 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9068 (cosh_tonearest_test_data): New variable.
9069 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9070 (cosh_towardzero_test_data): New variable.
9071 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9072 (cosh_downward_test_data): New variable.
9073 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9074 (cosh_upward_test_data): New variable.
9075 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9076 (erf_test_data): New variable.
9077 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9078 (erfc_test_data): New variable.
9079 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9080 (exp_test_data): New variable.
9081 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9082 (exp_tonearest_test_data): New variable.
9083 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9084 (exp_towardzero_test_data): New variable.
9085 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9086 (exp_downward_test_data): New variable.
9087 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9088 (exp_upward_test_data): New variable.
9089 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9090 (exp10_test_data): New variable.
9091 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9092 (exp2_test_data): New variable.
9093 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9094 (expm1_test_data): New variable.
9095 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9096 (fabs_test_data): New variable.
9097 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9098 (floor_test_data): New variable.
9099 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9100 (j0_test_data): New variable.
9101 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9102 (j1_test_data): New variable.
9103 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9104 (log_test_data): New variable.
9105 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9106 (log10_test_data): New variable.
9107 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9108 (log1p_test_data): New variable.
9109 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9110 (log2_test_data): New variable.
9111 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9112 (logb_test_data): New variable.
9113 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9114 (logb_downward_test_data): New variable.
9115 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9116 (nearbyint_test_data): New variable.
9117 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9118 (rint_test_data): New variable.
9119 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9120 (rint_tonearest_test_data): New variable.
9121 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9122 (rint_towardzero_test_data): New variable.
9123 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9124 (rint_downward_test_data): New variable.
9125 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9126 (rint_upward_test_data): New variable.
9127 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9128 (round_test_data): New variable.
9129 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9130 (sin_test_data): New variable.
9131 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9132 (sin_tonearest_test_data): New variable.
9133 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9134 (sin_towardzero_test_data): New variable.
9135 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9136 (sin_downward_test_data): New variable.
9137 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9138 (sin_upward_test_data): New variable.
9139 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9140 (sinh_test_data): New variable.
9141 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9142 (sinh_tonearest_test_data): New variable.
9143 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9144 (sinh_towardzero_test_data): New variable.
9145 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9146 (sinh_downward_test_data): New variable.
9147 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9148 (sinh_upward_test_data): New variable.
9149 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9150 (sqrt_test_data): New variable.
9151 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9152 (tan_test_data): New variable.
9153 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9154 (tan_tonearest_test_data): New variable.
9155 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9156 (tan_towardzero_test_data): New variable.
9157 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9158 (tan_downward_test_data): New variable.
9159 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9160 (tan_upward_test_data): New variable.
9161 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9162 (tanh_test_data): New variable.
9163 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9164 (tgamma_test_data): New variable.
9165 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9166 (trunc_test_data): New variable.
9167 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9168 (y0_test_data): New variable.
9169 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9170 (y1_test_data): New variable.
9171 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9172 (significand_test_data): New variable.
9173 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9175 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9178 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9180 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9182 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9184 2013-05-10 Andreas Jaeger <aj@suse.de>
9187 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9188 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9190 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9192 * math/gen-libm-test.pl (adjust_arg): New function.
9193 (special_functions): Handle generating output in both functions
9195 (parse_args): Likewise.
9196 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9197 $in_func argument to parse_args.
9198 * math/libm-test.inc (struct test_f_f_data): New type.
9199 (IF_ROUND_INIT_): New macro.
9200 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9201 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9202 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9203 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9204 (ROUND_RESTORE_): Likewise.
9205 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9206 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9207 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9208 (ROUND_RESTORE_FE_UPWARD): Likewise.
9209 (RUN_TEST_LOOP_f_f): New macro.
9210 (acos_test_data): New variable.
9211 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9212 (acos_tonearest_test_data): New variable.
9213 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9215 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9217 * benchtests/bench-skeleton.c (startup): Fix coding style.
9219 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9222 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9223 negative infinity argument.
9224 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9225 negative infinity argument.
9226 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9227 negative infinity argument.
9228 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9231 2013-05-10 Florian Weimer <fweimer@redhat.com>
9233 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9234 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9235 * iconv/iconv_prog.c (main): Likewise.
9236 * locale/programs/charmap-dir.c (charmap_readdir)
9237 (fopen_uncompressed): Likewise.
9238 * locale/programs/locfile.c (siblings_uncached)
9239 (write_locale_data): Use lstat64 instead of lstat.
9240 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9243 2013-05-10 Andreas Jaeger <aj@suse.de>
9246 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9250 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9252 * elf/dl-close.c (_dl_close_worker): Add comments.
9254 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9257 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9259 (__ieee754_rem_pio2l): Update comments.
9262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9264 (__ieee754_rem_pio2l): Update comments.
9266 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9267 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9269 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9272 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9273 (M_PI_34_LOG10El): Likewise.
9274 (M_PI2_LOG10El): Likewise.
9275 (M_PI4_LOG10El): Likewise.
9276 (M_PI_LOG10El): Likewise.
9278 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9282 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9284 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9285 (MINUS_ZERO_INIT): Likewise.
9286 (PLUS_INFTY_INIT): Likewise.
9287 (MINUS_INFTY_INIT): Likewise.
9288 (QNAN_VALUE_INIT): Likewise.
9289 (MAX_VALUE_INIT): Likewise.
9290 (MIN_VALUE_INIT): Likewise.
9291 (MIN_SUBNORM_VALUE_INIT): Likewise.
9292 (plus_zero): Initialize with PLUS_ZERO_INIT.
9293 (minus_zero): Initialize with MINUS_ZERO_INIT.
9294 (plus_infty): Initialize with PLUS_INFTY_INIT.
9295 (minus_infty): Initialize with MINUS_INFTY_INIT.
9296 (qnan_value): Initialize with QNAN_VALUE_INIT.
9297 (max_value): Initialize with MAX_VALUE_INIT.
9298 (min_value): Initialize with MIN_VALUE_INIT.
9299 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9301 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9302 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9303 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9304 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9306 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9307 (RUN_TEST_2_f): Likewise.
9308 (RUN_TEST_ff_f): Likewise.
9309 (RUN_TEST_fi_f): Likewise.
9310 (RUN_TEST_fl_f): Likewise.
9311 (RUN_TEST_fff_f): Likewise.
9312 (RUN_TEST_c_f): Likewise.
9313 (RUN_TEST_f_f1): Likewise.
9314 (RUN_TEST_fF_f1): Likewise.
9315 (RUN_TEST_fI_f1): Likewise.
9316 (RUN_TEST_ffI_f1): Likewise.
9317 (RUN_TEST_c_c): Likewise.
9318 (RUN_TEST_cc_c): Likewise.
9319 (RUN_TEST_f_i): Likewise.
9320 (RUN_TEST_f_i_tg): Likewise.
9321 (RUN_TEST_ff_i_tg): Likewise.
9322 (RUN_TEST_f_b): Likewise.
9323 (RUN_TEST_f_b_tg): Likewise.
9324 (RUN_TEST_f_l): Likewise.
9325 (RUN_TEST_f_L): Likewise.
9326 (RUN_TEST_sincos): Likewise.
9327 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9328 whether to show exceptions. Do not include ");\n" in return
9330 (special_functions): Output call to RUN_TEST_sincos instead of
9331 check_float calls. Update calls to new_test.
9332 (parse_args): Output call to single RUN_TEST_* macro instead of
9333 check_* calls and other assignments. Update calls to new_test.
9339 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9340 input to result for tgamma overflow.
9341 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9342 (gamma_coeff): New variable.
9343 (NCOEFF): New macro.
9344 (gamma_positive): New function.
9345 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9346 underflow here. Use gamma_positive instead of exp (lgamma) for
9348 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9349 (gamma_coeff): New variable.
9350 (NCOEFF): New macro.
9351 (gammaf_positive): New function.
9352 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9353 underflow here. Use gamma_positive instead of exp (lgamma) for
9355 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9356 (gamma_coeff): New variable.
9357 (NCOEFF): New macro.
9358 (gammal_positive): New function.
9359 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9360 underflow here. Use gamma_positive instead of exp (lgamma) for
9362 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9363 (gamma_coeff): New variable.
9364 (NCOEFF): New macro.
9365 (gammal_positive): New function.
9366 (__ieee754_gammal_r): Handle positive infinity, overflow and
9367 underflow here. Handle NaN the same as positive infinity. Remove
9368 check x < 0xffffffff for negative integers. Use gamma_positive
9369 instead of exp (lgamma) for other arguments.
9370 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9371 (gamma_coeff): New variable.
9372 (NCOEFF): New macro.
9373 (gammal_positive): New function.
9374 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9375 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9376 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9380 * sysdeps/generic/math_private.h (__gamma_productf): New
9382 (__gamma_product): Likewise.
9383 (__gamma_productl): Likewise.
9384 * math/Makefile (libm-calls): Add gamma_product.
9385 * math/libm-test.inc (tgamma_test): Add more tests.
9386 * sysdeps/i386/fpu/libm-test-ulps: Update.
9387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9389 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9391 * benchtests/bench-skeleton.c (main): Preheat CPU.
9393 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9395 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9397 2013-05-07 Roland McGrath <roland@hack.frob.com>
9399 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9400 and _dl_skip_args_internal.
9402 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9404 * manual/message.texi (Message Translation): Talk about users.
9405 Message to key mapping impacts design.
9407 2013-05-06 Roland McGrath <roland@hack.frob.com>
9409 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9411 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9413 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9414 * sysdeps/wordsize-64/glob64.c: ... here.
9416 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9417 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9420 * debug/getlogin_r_chk.c: Moved to ...
9421 * login/getlogin_r_chk.c: ... here.
9422 * debug/Makefile (routines): Move getlogin_r_chk to ...
9423 * login/Makefile (routines): ... here.
9424 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9425 * login/Versions (libc: GLIBC_2.4): ... here.
9427 * io/poll.c (__poll): Renamed from poll.
9428 Add libc_hidden_def.
9429 (poll): Define as weak alias.
9431 * debug/ptsname_r_chk.c: Moved to ...
9432 * login/ptsname_r_chk.c: ... here.
9433 * debug/Makefile (routines): Move ptsname_r_chk to ...
9434 * login/Makefile (routines): ... here.
9435 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9436 * login/Versions (libc: GLIBC_2.4): ... here.
9438 * posix/getlogin.c: Moved to ...
9439 * login/getlogin.c: ... here.
9440 * posix/getlogin_r.c: Moved to ...
9441 * login/getlogin_r.c: ... here.
9442 * posix/getlogin_r.c: Moved to ...
9443 * login/getlogin_r.c: ... here.
9444 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9445 * login/Makefile (routines): ... here.
9446 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9447 * login/Versions (libc: GLIBC_2.0): ... here.
9449 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9450 (setrlimit): Define as weak alias.
9452 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9453 Call __ names for open, ftruncate, and close.
9454 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9455 (truncate): Define as weak alias.
9457 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9459 * math/gen-libm-test.pl (parse_args): Initialize x before each
9460 test of frexp, modf and remquo.
9462 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9465 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9469 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9471 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9473 2013-05-06 Roland McGrath <roland@hack.frob.com>
9475 * elf/dl-writev.h: New file.
9476 * elf/dl-misc.c: Include it.
9477 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9478 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9480 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9482 * math/libm-test.inc (noXFails): Remove variable.
9483 (noXPasses): Likewise.
9484 (BUILD_COMPLEX_INT): Remove macro.
9485 (print_screen): Remove xfail argument.
9486 (print_screen_max_error): Likewise.
9487 (update_stats): Likewise.
9488 (print_max_error): Likewise. Update calls to other affected
9490 (print_complex_max_error): Likewise.
9491 (test_single_exception): Update calls to print_screen.
9492 (test_single_errno): Likewise.
9493 (check_float_internal): Remove xfail argument. Update calls to
9494 other affected functions.
9495 (check_float): Likewise.
9496 (check_complex): Likewise.
9497 (check_int): Likewise.
9498 (check_long): Likewise.
9499 (check_bool): Likewise.
9500 (check_longlong): Likewise.
9501 (main): Don't print noXFails and noXPasses.
9502 * math/gen-libm-test.pl (top level): Don't mention expected
9503 failure handling in comment.
9504 (new_test): Don't handle expected failures.
9505 (parse_args): Don't mention expected failure handling in comment.
9506 (generate_testfile): Don't handle expected failures.
9507 (parse_ulps): Likewise.
9508 (print_ulps_file): Likewise.
9509 (get_failure): Remove function.
9510 (output_test): Don't handle expected failures.
9511 * make/README.libm-test: Don't mention expected failure handling.
9513 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9514 (minus_zero): Likewise.
9515 (plus_infty): Likewise.
9516 (minus_infty): Likewise.
9517 (qnan_value): Likewise.
9518 (max_value): Likewise.
9519 (min_value): Likewise.
9520 (min_subnorm_value): Likewise.
9521 (initialize): Do not initialize those variables dynamically.
9523 2013-05-03 Roland McGrath <roland@hack.frob.com>
9525 * io/open.c (__open_2): Moved to ...
9526 * io/open_2.c: ... this new file.
9527 * io/open64.c (__open64_2): Moved to ...
9528 * io/open64_2.c: ... this new file.
9529 * io/openat.c (__openat_2): Moved to ...
9530 * io/openat_2.c: ... this new file.
9531 * io/openat64.c (__openat64_2): Moved to ...
9532 * io/openat64_2.c: ... this new file.
9533 * io/Makefile (routines): Add them.
9534 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9535 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9536 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9537 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9538 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9539 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9540 (__openat64): Add hidden_ver.
9541 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9542 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9544 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9545 Separately conditionalize setting of GLRO(dl_sysinfo) so
9546 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9547 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9549 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9551 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9552 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9554 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9555 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9556 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9557 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9558 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9560 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9562 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9565 * math/libm-test.inc (hypot_test): Do not use
9566 IGNORE_ZERO_INF_SIGN.
9568 2013-05-03 Andreas Jaeger <aj@suse.de>
9570 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9572 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9573 (PF_MAX): Adjust for VSOCK change.
9575 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9579 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9582 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9583 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9584 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9586 2013-05-02 David S. Miller <davem@davemloft.net>
9588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9590 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9592 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9594 2013-05-01 Roland McGrath <roland@hack.frob.com>
9596 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9598 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9601 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9602 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9603 Use __attribute__ ((__gnu_inline__)).
9604 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9605 Don't use __attribute__ ((__gnu_inline__)).
9607 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9610 * math/s_catan.c (__catan): Handle small real or imaginary part of
9611 input specially to avoid spurious underflow.
9612 * math/s_catanf.c (__catanf): Likewise.
9613 * math/s_catanh.c (__catanh): Likewise.
9614 * math/s_catanhf.c (__catanhf): Likewise.
9615 * math/s_catanhl.c (__catanhl): Likewise.
9616 * math/s_catanl.c (__catanl): Likewise.
9617 * math/libm-test.inc (catan_test): Add more tests.
9618 (catanh_test): Likewise.
9619 * sysdeps/i386/fpu/libm-test-ulps: Update.
9620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9622 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9626 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9629 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9630 accurately for denominator in atan2.
9631 * math/s_catanf.c (__catanf): Likewise.
9632 * math/s_catanh.c (__catanh): Likewise.
9633 * math/s_catanhf.c (__catanhf): Likewise.
9634 * math/s_catanhl.c (__catanhl): Likewise.
9635 * math/s_catanl.c (__catanl): Likewise.
9636 * math/libm-test.inc (catan_test): Add more tests.
9637 (catanh_test): Likewise.
9638 * sysdeps/i386/fpu/libm-test-ulps: Update.
9639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9641 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9643 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9645 * benchtests/Makefile (bench): Remove slow benchmarks.
9646 * benchtests/atan-inputs: Add slow benchmark inputs.
9647 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9648 (BENCH_FUNC): Accept variant offset.
9650 * benchtests/bench-skeleton.c (main): Run benchmark for each
9652 * benchtests/cos-inputs: Add slow benchmark inputs.
9653 * benchtests/exp-inputs: Likewise.
9654 * benchtests/pow-inputs: Likewise.
9655 * benchtests/sin-inputs: Likewise.
9656 * benchtests/slowatan-inputs: Remove.
9657 * benchtests/slowatan.c: Remove.
9658 * benchtests/slowcos-inputs: Remove.
9659 * benchtests/slowcos.c: Remove.
9660 * benchtests/slowexp-inputs: Remove.
9661 * benchtests/slowexp.c: Remove.
9662 * benchtests/slowpow-inputs: Remove.
9663 * benchtests/slowpow.c: Remove.
9664 * benchtests/slowsin-inputs: Remove.
9665 * benchtests/slowsin.c: Remove.
9666 * benchtests/slowtan-inputs: Remove.
9667 * benchtests/slowtan.c: Remove.
9668 * benchtests/tan-inputs: Add slow benchmark inputs.
9669 * scripts/bench.pl: Parse comments and directives.
9671 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9673 ($(objpfx)bench-%.c): Remove *-ITER.
9674 * benchtests/bench-modf.c: Remove definition of ITER.
9675 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9676 (main): Loop for DURATION seconds instead of fixed number of
9678 * scripts/bench.pl: Don't expect iterations in parameters.
9680 2013-04-29 Roland McGrath <roland@hack.frob.com>
9682 * io/fchdir.c (__fchdir): Renamed from fchdir.
9683 (fchdir): Define as weak alias.
9685 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9687 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9688 (ERRNO_EDOM): Likewise.
9689 (ERRNO_ERANGE): Likewise.
9690 (noErrnoTests): New variable.
9691 (init_max_error): Set errno to 0.
9692 (test_single_errno): New function.
9693 (test_errno): Likewise.
9694 (check_float_internal): Call test_errno. Set errno to 0.
9695 (check_complex): Refer to errno tests in comment.
9696 (check_int): Call test_errno. Set errno to 0.
9697 (check_long): Likewise.
9698 (check_bool): Likewise.
9699 (check_longlong): Likewise.
9700 (cos_test): Use ERRNO_* flags for errno tests instead of
9702 (expm1_test): Likewise.
9703 (fmod_test): Likewise.
9704 (ilogb_test): Likewise.
9705 (lgamma_test): Likewise.
9706 (pow_test): Likewise.
9707 (remainder_test): Likewise.
9708 (sin_test): Likewise.
9709 (tan_test): Likewise.
9710 (yn_test): Likewise.
9711 (initialize): Set errno to 0.
9712 (main): Print number of errno tests.
9713 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9715 2013-04-29 Andreas Jaeger <aj@suse.de>
9718 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9722 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9723 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9727 * stdlib/random.c (__initstate): Return NULL if
9731 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9732 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9735 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9739 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9741 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9742 of individual tests.
9743 (casin_test): Likewise.
9744 (casinh_test): Likewise.
9746 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9749 * math/s_catan.c (__catan): Handle arguments with large real or
9750 imaginary part separately without squaring.
9751 * math/s_catanf.c (__catanf): Likewise.
9752 * math/s_catanh.c (__catanh): Likewise.
9753 * math/s_catanhf.c (__catanhf): Likewise.
9754 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9756 (__catanhl): Handle arguments with large real or imaginary part
9757 separately without squaring.
9758 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9760 (__catanl): Handle arguments with large real or imaginary part
9761 separately without squaring.
9762 * math/libm-test.inc (catan_test): Add more tests.
9763 (catanh_test): Likewise.
9764 * sysdeps/i386/fpu/libm-test-ulps: Update.
9765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9767 2013-04-27 Andreas Jaeger <aj@suse.de>
9770 * stdlib/stdlib.h: Update guards for qecvt.
9771 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9774 2013-04-27 Allan McRae <allan@archlinux.org>
9776 * sysdeps/i386/fpu/libm-test-ulps: Update.
9778 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9781 * math/s_catan.c: Include <float.h>.
9782 (__catan): Ensure underflow exception occurs for underflowed
9784 * math/s_catanf.c: Include <float.h>.
9785 (__catanf): Ensure underflow exception occurs for underflowed
9787 * math/s_catanh.c: Include <float.h>.
9788 (__catanh): Ensure underflow exception occurs for underflowed
9790 * math/s_catanhf.c: Include <float.h>.
9791 (__catanhf): Ensure underflow exception occurs for underflowed
9793 * math/s_catanhl.c: Include <float.h>.
9794 (__catanhl): Ensure underflow exception occurs for underflowed
9796 * math/s_catanl.c: Include <float.h>.
9797 (__catanl): Ensure underflow exception occurs for underflowed
9799 * math/libm-test.inc (catan_test): Add more tests.
9800 (catanh_test): Likewise.
9803 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9805 * math/s_ccoshf.c (__ccoshf): Likewise.
9806 * math/s_ccoshl.c (__ccoshl): Likewise.
9807 * math/s_csin.c (__csin): Likewise.
9808 * math/s_csinf.c (__csinf): Likewise.
9809 * math/s_csinh.c (__csinh): Likewise.
9810 * math/s_csinhf.c (__csinhf): Likewise.
9811 * math/s_csinhl.c (__csinhl): Likewise.
9812 * math/s_csinl.c (__csinl): Likewise.
9813 * math/libm-test.inc (ccos_test): Add more tests.
9814 (ccosh_test): Likewise.
9815 (csin_test): Likewise.
9816 (csinh_test): Likewise.
9818 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9820 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9821 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9822 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9823 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9824 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9825 powerpc/power5+/fpu folders.
9826 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9829 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9833 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9835 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9836 additions to variable.
9837 [$(config-machine) = x86_64] (modules-names): Likewise.
9838 ($(objpfx)tst-audit3): Remove dependency.
9839 ($(objpfx)tst-audit3.out): Likewise.
9840 ($(objpfx)tst-audit4): Likewise.
9841 ($(objpfx)tst-audit4.out): Likewise.
9842 ($(objpfx)tst-audit5): Likewise.
9843 ($(objpfx)tst-audit5.out): Likewise.
9844 ($(objpfx)tst-audit6): Likewise.
9845 ($(objpfx)tst-audit6.out): Likewise.
9846 ($(objpfx)tst-audit7): Likewise.
9847 ($(objpfx)tst-audit7.out): Likewise.
9848 (tst-audit3-ENV): Remove variable.
9849 (tst-audit4-ENV): Likewise.
9850 (tst-audit5-ENV): Likewise.
9851 (tst-audit6-ENV): Likewise.
9852 (tst-audit7-ENV): Likewise.
9853 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9854 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9855 addition to variable.
9856 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9857 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9858 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9859 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9860 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9861 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9862 tst-audit3, tst-audit4 and tst-audit5.
9863 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9864 tst-audit6 and tst-audit7.
9865 [$(subdir) = elf] (modules-names): Add audit modules for those
9867 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9868 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9869 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9870 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9871 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9872 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9873 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9874 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9875 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9876 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9877 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9878 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9879 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9880 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9881 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9882 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9884 [$(subdir) = elf && $(config-cflags-avx) = yes]
9885 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9886 [$(subdir) = elf && $(config-cflags-avx) = yes]
9887 (CFLAGS-tst-auditmod4a.c): Likewise.
9888 [$(subdir) = elf && $(config-cflags-avx) = yes]
9889 (CFLAGS-tst-auditmod4b.c): Likewise.
9890 [$(subdir) = elf && $(config-cflags-avx) = yes]
9891 (CFLAGS-tst-auditmod6b.c): Likewise.
9892 [$(subdir) = elf && $(config-cflags-avx) = yes]
9893 (CFLAGS-tst-auditmod6c.c): Likewise.
9894 [$(subdir) = elf && $(config-cflags-avx) = yes]
9895 (CFLAGS-tst-auditmod7b.c): Likewise.
9896 * elf/tst-audit3.c: Move to ...
9897 * sysdeps/x86_64/tst-audit3.c: ... here.
9898 * elf/tst-audit4.c: Move to ...
9899 * sysdeps/x86_64/tst-audit4.c: ... here.
9900 * elf/tst-audit5.c: Move to ...
9901 * sysdeps/x86_64/tst-audit5.c: ... here.
9902 * elf/tst-audit6.c: Move to ...
9903 * sysdeps/x86_64/tst-audit6.c: ... here.
9904 * elf/tst-audit7.c: Move to ...
9905 * sysdeps/x86_64/tst-audit7.c: ... here.
9906 * elf/tst-auditmod3a.c: Move to ...
9907 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9908 * elf/tst-auditmod3b.c: Move to ...
9909 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9910 * elf/tst-auditmod4a.c: Move to ...
9911 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9912 * elf/tst-auditmod4b.c: Move to ...
9913 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9914 * elf/tst-auditmod5a.c: Move to ...
9915 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9916 * elf/tst-auditmod5b.c: Move to ...
9917 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9918 * elf/tst-auditmod6a.c: Move to ...
9919 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9920 * elf/tst-auditmod6b.c: Move to ...
9921 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9922 * elf/tst-auditmod6c.c: Move to ...
9923 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9924 * elf/tst-auditmod7a.c: Move to ...
9925 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9926 * elf/tst-auditmod7b.c: Move to ...
9927 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9929 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9932 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9933 define unconditionally.
9934 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9935 define unconditionally.
9936 (INT8_C, INT16_C, etc.): Likewise.
9938 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9940 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9941 __ehdr_start with hidden visibility.
9943 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9945 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9947 * math/libm-test.inc (cos_test): Use accurate hex constants.
9948 (sincost_test): Likewise.
9950 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9952 * math/libm-test.inc (catan_test): Add more tests.
9953 (catanh_test): Likewise.
9955 * math/s_catanf.c (__catanf): Use suffixed floating-point
9957 * math/s_catanhf.c (__catanhf): Likewise.
9958 * math/s_catanhl.c (__catanhl): Likewise.
9959 * math/s_catanl.c (__catanl): Likewise.
9962 * math/s_catan.c (__catan): Calculate imaginary part of result
9963 with log1p not log unless computing log of number close to 0.
9964 * math/s_catanf.c (__catanf): Likewise.
9965 * math/s_catanl.c (__catanl): Likewise.
9966 * math/s_catanh.c (__catanh): Calculate real part of result with
9967 log1p not log unless computing log of number close to 0.
9968 * math/s_catanhf.c (__catanhf): Likewise.
9969 * math/s_catanhl.c (__catanhl): Likewise.
9970 * math/libm-test.inc (catan_test): Add more tests.
9971 (catanh_test): Likewise.
9972 * sysdeps/i386/fpu/libm-test-ulps: Update.
9973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9975 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9977 * benchtests/Makefile: Mention files in which fast and slow
9978 paths of math functions are implemented.
9980 2013-04-23 Roland McGrath <roland@hack.frob.com>
9982 * sysdeps/posix/timespec_get.c: New file.
9984 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9986 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9988 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9990 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9991 powerpc/power5/fpu folders.
9992 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9993 * benchtests/Makefile: Add modf testcase.
9994 * benchtests/bench-modf.c: New file: Benchmark test for mo
9996 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9999 * time/Makefile (tests): Add tst-strptime-whitespace.
10000 * time/strptime_l.c (get_number): Use ISSPACE.
10001 (__strptime_internal): Likewise.
10002 * time/tst-strptime-whitespace.c: New test case.
10004 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10006 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10008 (_nss_files_init): Set it here.
10010 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10012 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10013 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10016 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10018 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10020 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10022 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10025 2013-04-21 David S. Miller <davem@davemloft.net>
10027 * po/ru.po: Update Russion translation from translation project.
10029 2013-04-17 Adam Conrad <adconrad@0c3.net>
10031 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10034 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10036 * configure.in: Remove i386 configure warning. Remove i386 case.
10037 * configure: Regenerate.
10038 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10039 Add example to error message.
10040 * sysdeps/i386/configure: Regenerate.
10042 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10044 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10046 * benchtests/cos-inputs: New file.
10047 * benchtests/slowcos-inputs: New file.
10048 * benchtests/slowcos.c: New file.
10049 * benchtests/slowtan-inputs: New file.
10050 * benchtests/slowtan.c: New file.
10051 * benchtests/tan-inputs: New file.
10053 2013-04-16 Roland McGrath <roland@hack.frob.com>
10055 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10058 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10060 * benchtests/Makefile: Include cppflags-iterator.mk to add
10061 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10063 * Makefile.in (bench-clean): New target.
10064 * benchtests/Makefile (bench-clean): Likewise.
10066 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10068 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10070 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10072 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10074 2013-04-15 Andreas Schwab <schwab@suse.de>
10076 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10078 * nscd/pwdcache.c (cache_addpw): Likewise.
10079 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10082 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10084 * benchtests/Makefile (bench): Write all output to
10085 bench-out.tmp together.
10087 2013-04-15 Andreas Schwab <schwab@suse.de>
10089 * nscd/nscd.c (main): Don't fork again after closing files.
10091 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10093 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10095 * benchtests/Rules (bench-deps): Collect dependencies into a
10096 single variable. Add Makefile to dependencies.
10097 ($(objpfx)bench-%.c): Depend on bench-deps.
10099 2013-04-12 Roland McGrath <roland@hack.frob.com>
10100 Xavier Roche <roche+kml2@exalead.com>
10103 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10104 just that it's a file descriptor.
10105 * manual/llio.texi (Synchronizing AIO Operations): Update description
10106 for EBADF error from aio_fsync.
10108 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10110 * Rules (bench): Move target definition...
10111 * benchtests/Makefile: ... here.
10113 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10115 * math/libm-test.inc (cos_test): Fix PI/2 test.
10116 (sincos_test): Likewise.
10117 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10118 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10120 2013-04-11 Andreas Schwab <schwab@suse.de>
10123 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10124 accept exponent character only when digits were seen.
10125 * stdio-common/Makefile (tests): Add bug26.
10126 * stdio-common/bug26.c: New file.
10129 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10132 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10134 * Makeconfig (rtld-prefix): Define built linker prefix.
10135 * Rules (run-bench): Use it.
10136 * math/Makefile (run-regen-ulps): Likewise.
10138 * Rules (bench): Remove eval.
10140 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10141 Roland McGrath <roland@hack.frob.com>
10142 Ondrej Bilka <neleai@seznam.cz>
10145 * time/getdate.c: Include ctype.h and alloca.h.
10146 (__getdate_r): Trim leading and trailing spaces of input.
10147 * time/tst-getdate.c (tests): Add tests with leading and
10150 2013-04-08 Roland McGrath <roland@hack.frob.com>
10153 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10154 when computing value.
10156 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10158 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10159 Use testrun.sh to run libm tests.
10162 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10164 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10167 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10169 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10171 * Makefile.in (regen-ulps): New target.
10172 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10173 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10174 [ifneq (no,$(PERL)] (regen-ulps): New target.
10175 [ifeq (no,$(PERL)] (regen-ulps): New target.
10176 * math/libm-test.inc (ulps_file_name): Define.
10177 (output_dir): New variable.
10178 (options): Add "output-dir" option.
10179 (parse_opt): Handle 'o' case.
10180 (main): If output_dir is non-NULL use it as a prefix
10182 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10184 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10186 [BZ #10060, #10062]
10187 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10188 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10189 fail configure if __sync_val_compare_and_swap is not inlined.
10190 * sysdeps/i386/configure: Regenerate.
10191 * configure.in: Build for i686 when configured for i386.
10192 * configure: Regenerate.
10193 * README: Remove i386 reference.
10195 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10197 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10198 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10200 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10202 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10203 (lmsnanval): New variables.
10204 (F): Add conversion tests.
10205 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10206 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10208 * stdio-common/tstdiomisc.c (F): Properly collect individual
10211 [BZ #14686, #15336]
10212 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10213 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10214 Instead, use input NaN values or generate a qNaN by arithmetic
10215 operation. Also fix bugs to comply with the standard.
10216 * math/libm-test.inc (remainder_test): Add more tests.
10218 [BZ #15335, #15342]
10219 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10221 input NaN values or generate a qNaN by arithmetic operation.
10223 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10226 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10229 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10232 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10233 underflowed result.
10234 * math/s_cexpf.c (__cexpf): Likewise.
10235 * math/s_cexpl.c (__cexpl): Likewise.
10236 * math/libm-test.inc (cexp_test): Add more tests.
10238 2013-04-03 Andreas Schwab <schwab@suse.de>
10241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10242 order arrays from heap if bigger than alloca cutoff.
10244 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10246 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10247 (SNAN_TESTS_double): Refer to GCC PR56831.
10248 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10251 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10253 * Rules (bench): Move bench.out after the run is complete.
10255 * Rules (bench): Echo currently running benchmark.
10257 * benchtests/Makefile (bench): Add atan and slowatan.
10258 * benchtests/atan-inputs: New file.
10259 * benchtests/slowatan-inputs: New file.
10260 * benchtests/slowatan.c: New file.
10262 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10263 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10267 * sysdeps/unix/sysv/linux/kernel-features.h
10268 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10269 __ASSUME_XFS_RESTRICTED_CHOWN.
10270 * sysdeps/unix/sysv/linux/pathconf.c
10271 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10272 Save and restore errno.
10274 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10277 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10278 arguments using __kernel_casinh.
10279 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10280 arguments using __kernel_casinhf.
10281 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10282 arguments using __kernel_casinhl.
10283 * math/libm-test.inc (cacosh_test): Add more tests.
10284 * sysdeps/i386/fpu/libm-test-ulps: Update.
10285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10289 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10290 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10292 * bench/Makefile (bench): Add sin and slowsin.
10293 * benchtests/sin-inputs: New file.
10294 * benchtests/slowsin-inputs: New file.
10295 * benchtests/slowsin.c: New file.
10297 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10298 (bench): Add slowexp and slowpow.
10299 (exp-ITER): Increase iterations.
10300 (pow-ITER): Likewise.
10301 * benchtests/exp-inputs: Change input.
10302 * benchtests/pow-inputs: Likewise.
10303 * benchtests/slowexp-inputs: New file.
10304 * benchtests/slowexp.c: New file.
10305 * benchtests/slowpow-inputs: New file.
10306 * benchtests/slowpow.c: New file.
10308 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10310 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10312 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10313 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10314 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10315 * benchtests/Makefile: Add rint benchtest.
10316 * benchtests/rint-inputs: Input for rint benchtest.
10318 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10320 * Versions.def (libm): Add GLIBC_2.18.
10321 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10322 hidden libm prototypes.
10323 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10324 * math/Makefile (libm-calls): Add s_issignaling.
10325 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10326 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10327 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10329 * math/math.h [__USE_GNU] (issignaling): New macro.
10330 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10331 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10332 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10336 * manual/arith.texi (issignaling): New section.
10337 * manual/libm-err-tab.pl (@all_functions): Update comment.
10338 * math/gen-libm-test.pl (parse_args): Apply special handling for
10340 * math/libm-test.inc (print_float, issignaling_test): New
10342 (check_float_internal): Add issignaling checks.
10343 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10344 default definition.
10345 * sysdeps/powerpc/math-tests.h: New file.
10346 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10348 * math/test-snan.c (TEST_FUNC): Likewise.
10350 2013-03-30 David S. Miller <davem@davemloft.net>
10352 * po/de.po: Update from translation team.
10354 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10357 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10358 imaginary part less than 1.0 and real part less than 0.5
10360 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10361 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10362 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10363 (cacos_test): Add more tests.
10364 (casin_test): Likewise.
10365 (casinh_test): Likewise.
10366 * sysdeps/i386/fpu/libm-test-ulps: Update.
10367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10369 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10371 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10372 ONE with its value.
10374 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10375 (__pow_mp): Replace ONE and MONE with their values.
10376 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10378 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10379 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10380 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10381 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10383 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10385 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10386 (__pow_mp): Replace ZERO and MZERO with their values.
10387 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10388 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10389 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10391 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10392 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10395 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10397 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10399 2013-03-28 Roland McGrath <roland@hack.frob.com>
10401 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10402 Declare with __attribute__ ((weak)).
10403 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10404 Call __call_tls_dtors only if it's not NULL.
10406 2013-03-28 Roland McGrath <roland@hack.frob.com>
10408 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10409 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10410 magic __ehdr_start linker symbol if it's defined.
10411 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10412 them up here if it was already done.
10414 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10415 (_dl_aux_init): Use const in cast when setting it.
10416 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10417 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10418 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10420 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10422 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10423 * csu/libc-tls.c: Nor here.
10424 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10426 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10427 (__libc_message): Never call vsyslog.
10429 2013-03-28 Alan Modra <amodra@gmail.com>
10431 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10433 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10436 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10439 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10443 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10446 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10447 Don't add gid passed as argument.
10449 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10451 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10454 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10455 imaginary part between 1.0 and 1.5 and real part less than 0.5
10457 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10458 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10459 * math/libm-test.inc (cacos_test): Add more tests.
10460 (casin_test): Likewise.
10461 (casinh_test): Likewise.
10462 * sysdeps/i386/fpu/libm-test-ulps: Update.
10463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10465 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10467 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10470 (denorm): Likewise.
10471 (__dbl_mp): Likewise.
10472 (add_magnitudes): Likewise.
10473 (sub_magnitudes): Likewise.
10481 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10483 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10484 (__dubcos): Likewise.
10485 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10486 (__ieee754_acos): Likewise.
10487 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10488 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10489 (__exp1): Likewise.
10490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10493 (my_log2): Likewise.
10494 (checkint): Likewise.
10495 * sysdeps/ieee754/dbl-64/e_remainder.c
10496 (__ieee754_remainder): Likewise.
10497 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10498 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10499 (bsloww): Likewise.
10500 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10502 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10503 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10504 MANTISSA_STORE_T to store computations on mantissa. Use
10505 macros for rounding and division.
10506 (denorm): Likewise.
10507 (__dbl_mp): Likewise.
10508 (add_magnitudes): Likewise.
10509 (sub_magnitudes): Likewise.
10512 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10513 powers of two in terms of TWOPOW macro.
10514 (mp_no): Make type of mantissa as MANTISSA_T.
10515 [!RADIXI]: Define RADIXI.
10516 [!TWO52]: Define TWO52.
10517 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10519 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10521 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10522 llroundl symbol when building for PPC32.
10524 2013-03-24 Mark H Weaver <mhw@netris.org>
10526 * manual/arith.texi (Normalization Functions): Fix prototypes for
10527 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10529 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10532 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10533 high value to check if expl overflow.
10534 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10535 to check for underflow and overflow.
10536 * math/libm-test.inc: Add exp test.
10538 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10541 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10544 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10546 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10549 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10551 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10552 wrap blocks consisting of several statements.
10554 * sysdeps/generic/math-tests.h: New file.
10555 * sysdeps/i386/fpu/math-tests.h: Likewise.
10556 * math/test-snan.c: Include it.
10557 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10559 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10562 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10563 (__ieee754_j0l): Do not improve calculations using cos of twice
10564 input for inputs above LDBL_MAX / 2.0L.
10565 (__ieee754_y0l): Likewise.
10566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10567 (__ieee754_j1l): Do not improve calculations using cos of twice
10568 input for inputs above LDBL_MAX / 2.0L.
10569 (__ieee754_y1l): Likewise.
10570 * math/libm-test.inc (j0_test): Add another test.
10571 (j1_test): Likewise.
10572 (y0_test): Likewise.
10573 (y1_test): Likewise.
10574 * sysdeps/i386/fpu/libm-test-ulps: Update.
10576 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10578 * Rules ($(objpfx)bench-%.c): Include code from a C source
10581 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10584 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10585 imaginary part 1.0 and real part less than 0.5 specially.
10586 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10587 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10588 * math/libm-test.inc (cacos_test): Add more tests.
10589 (casin_test): Likewise.
10590 (casinh_test): Likewise.
10591 * sysdeps/i386/fpu/libm-test-ulps: Update.
10592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10594 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10596 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10597 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10599 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10601 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10602 * config.make.in (config-cflags-sse4): Remove variable.
10603 (config-cflags-avx): Likewise.
10604 (config-cflags-sse2avx): Likewise.
10605 (config-cflags-novzeroupper): Likewise.
10606 (config-asflags-i686): Likewise.
10607 (have-mfma4): Likewise.
10608 (have-as-vis3): Likewise.
10610 * configure.in (MIG): Do not AC_SUBST.
10611 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10612 (libc_cv_cc_sse4): Do not AC_SUBST.
10613 (libc_cv_cc_avx): Likewise.
10614 (libc_cv_cc_sse2avx): Likewise.
10615 (libc_cv_cc_novzeroupper): Likewise.
10616 (libc_cv_cc_fma4): Likewise.
10617 (libc_cv_as_i686): Likewise.
10618 (libc_cv_sparc_as_vis3): Likewise.
10619 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10621 (config-asflags-i686): Likewise.
10622 (config-cflags-avx): Likewise.
10623 (config-cflags-sse2avx): Likewise.
10624 (have-mfma4): Likewise.
10625 (config-cflags-novzeroupper): Likewise.
10626 * sysdeps/mach/configure.in (MIG): Likewise.
10627 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10628 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10630 (config-cflags-avx): Likewise.
10631 (config-cflags-sse2avx): Likewise.
10632 (have-mfma4): Likewise.
10633 (config-cflags-novzeroupper): Likewise.
10634 * configure: Regenerated.
10635 * sysdeps/i386/configure: Likewise.
10636 * sysdeps/mach/configure: Likewise.
10637 * sysdeps/sparc/configure: Likewise.
10638 * sysdeps/x86_64/configure: Likewise.
10640 2013-03-20 Roland McGrath <roland@hack.frob.com>
10643 * locale/programs/localedef.c (options): Put N_ translation marker
10644 on argument names, not just descriptions.
10646 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10648 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10650 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10653 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10655 2013-03-19 Roland McGrath <roland@hack.frob.com>
10657 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10658 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10659 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10660 [!BEFORE_ABORT] (before_abort): New function.
10661 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10662 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10663 (writev_for_fatal): New function.
10664 (WRITEV_FOR_FATAL): New macro; call that.
10665 (backtrace_and_maps): New function.
10666 (BEFORE_ABORT): New macro; call that.
10667 (struct str_list): Type removed.
10668 (__libc_message, __libc_fatal): Functions removed.
10669 Include <sysdeps/posix/libc_fatal.c> instead.
10671 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10673 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10675 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10678 2013-03-19 Andreas Schwab <schwab@suse.de>
10680 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10681 * sysdeps/gnu/configure: Regenerate.
10683 * configure.in: Substitute libc_cv_rtlddir.
10684 * configure: Regenerate.
10685 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10686 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10687 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10688 * elf/Makefile (install-others, CFLAGS-interp.c)
10689 (ldso_install, common-ldd-rewrite): Likewise.
10690 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10691 $(inst_slibdir)/$(rtld-installed-name).
10692 * scripts/rellns-sh: Add -p option.
10693 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10696 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10698 * manual/nptl.texi: Renamed to ...
10699 * manual/threads.texi: ... this.
10700 * manual/Makefile (chapters): Update.
10702 2013-03-18 Roland McGrath <roland@hack.frob.com>
10705 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10706 on argument names, not just descriptions.
10707 * malloc/memusagestat.c (options): Likewise.
10708 * nss/getent.c (options): Likewise.
10710 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10713 * iconv/iconv_prog.c (options): Put N_ translation marker
10714 on argument names, not just descriptions.
10715 * iconv/iconvconfig.c (options): Likewise.
10717 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10719 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10720 implementation which is faster on all x86_64 architectures.
10721 Tested on AMD, Intel Nehalem, SNB, IVB.
10722 * sysdeps/x86_64/strnlen.S: Likewise.
10724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10725 Remove all multiarch strlen and strnlen versions.
10726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10727 Remove strlen and strnlen related parts.
10729 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10730 Inline strlen part.
10731 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10733 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10734 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10735 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10736 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10737 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10738 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10740 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10742 * manual/memory.texi (Malloc Tunable Parameters):
10743 Sort parameters alphabetically. Add comments for missing entries.
10745 2013-03-17 David S. Miller <davem@davemloft.net>
10747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10749 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10752 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10753 for arguments at most half maximum finite value.
10754 * math/libm-test.inc (j0_test): Add more tests.
10755 (j1_test): Likewise.
10756 (y0_test): Likewise.
10757 (y1_test): Likewise.
10758 * sysdeps/i386/fpu/libm-test-ulps: Update.
10759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10762 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10763 1 / x and functions P and Q for arguments above 0x1p256L.
10764 (__ieee754_y0l): Likewise.
10765 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10766 (__ieee754_y1l): Likewise.
10767 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10768 (j1_test): Likewise.
10769 (y0_test): Likewise.
10770 (y1_test): Likewise.
10772 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10774 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10777 2013-03-15 Roland McGrath <roland@hack.frob.com>
10779 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10780 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10781 zero since it's initialized to EXEC_PAGESIZE.
10783 * sysdeps/unix/sysv/linux/ldsodefs.h
10784 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10785 * sysdeps/generic/ldsodefs.h: ... here.
10787 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10789 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10791 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10793 * math/test-snan.c: Renamed from
10794 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10795 * math/Makefile (tests): Add test-snan.
10796 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10799 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10800 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10802 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10803 __builtin_nan family of functions.
10804 * math/libm-test.inc (initialize): Initialize qnan_value with
10805 __builtin_nan family of functions.
10806 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10808 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10810 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10811 storage class. Initialize qNaN_var and sNaN_var with
10812 __builtin_nan and __builtin_nans families of functions,
10815 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10816 (sqrt_test): Remove duplicate test with qNaN input.
10817 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10818 (round_test, signbit_test, significand_test): Note missing +/-Inf
10819 as well as qNaN tests.
10821 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10822 qNaN_var. Fix a few strings, too.
10823 * math/libm-test.inc (nan_value): Rename to qnan_value.
10824 * math/gen-libm-test.pl (%beautify): Adjust to that.
10825 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10826 * math/test-misc.c (main): Likewise.
10827 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10828 to __qnan_bytes, and __qnan_union, respectively.
10829 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10831 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10832 and lqnanval, respectively.
10833 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10834 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10835 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10836 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10838 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10839 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10842 * math/test-misc.c (main): Fix copy'n'pastos.
10843 * misc/tst-efgcvt.c (special): Likewise.
10845 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10846 Remove declarations.
10848 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10850 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10851 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10852 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10853 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10855 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10857 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10858 macro to return vdso values correctly in IFUNC implementations.
10859 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10860 Optimization by using IFUNC.
10862 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10863 Richard Henderson <rth@redhat.com>
10864 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10866 * Makefile.in (bench): New target.
10867 * NEWS: Mention the benchmark framework.
10868 * Rules (bench): Likewise.
10869 (binaries-bench): Generate binaries for functions to
10871 * benchtests/Makefile: New makefile for benchmark tests.
10872 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10874 * benchtests/exp-inputs: New input file for EXP function.
10875 * benchtests/pow-inputs: New input file for POW function.
10876 * scripts/bench.pl: New script to generate source files for
10877 benchmark programs.
10879 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10881 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10883 computations on mantissa. Use macros for rounding and
10885 (denorm): Likewise.
10886 (__dbl_mp): Likewise.
10887 (add_magnitudes): Likewise.
10888 (sub_magnitudes): Likewise.
10891 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10892 powers of two in terms of TWOPOW macro.
10893 (mp_no): Make type of mantissa as MANTISSA_T.
10894 [!RADIXI]: Define RADIXI.
10895 [!TWO52]: Define TWO52.
10896 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10898 * manual/nptl.texi (cindex): Modify threads to pthreads.
10900 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10902 * sysdeps/x86_64/preconfigure: Regenerated.
10904 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10907 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10909 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10910 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10912 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10913 * math/libm-test.inc (j0_test): Do not allow one spurious
10914 underflow exception.
10915 (y1_test): Likewise.
10917 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10919 * manual/Makefile (chapters): Add nptl.
10920 * manual/debug.texi (Debugging Support): Add link to Threads
10922 * manual/nptl.texi: New file.
10924 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10926 2013-03-14 Petr Baudis <pasky@ucw.cz>
10928 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10929 for non-NULL pointer before the memory validity test. Pointed
10930 out by Holger Brunck <holger.brunck@keymile.com>.
10932 2013-03-13 Andreas Schwab <schwab@suse.de>
10934 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10937 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10939 * timezone/zic.c: Update from tzcode 2013b.
10941 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10943 * manual/install.texi (Configuring and compiling):
10944 Mention i686 and i586.
10945 * INSTALL: Regenerate.
10947 2013-03-12 Roland McGrath <roland@hack.frob.com>
10949 * sysdeps/init_array/elf-init.c: New file.
10951 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10952 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10954 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10955 __gmon_start__ as global, but as static with a .preinit_array pointer.
10956 * sysdeps/init_array/gmon-start.c: New file. Use that.
10957 * sysdeps/init_array/crti.S: New file, empty except for comments.
10958 * sysdeps/init_array/crtn.S: Likewise.
10960 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10962 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10965 Remove Prefer_SSE_for_memop.
10966 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10967 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10968 HAS_PREFER_SSE_FOR_MEMOP.
10969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10972 Remove bzero, memset ifunc support.
10973 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10974 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10975 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10976 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10978 2013-03-11 Andreas Schwab <schwab@suse.de>
10981 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10984 (GLIBC_2.16): Remove pthread_atfork.
10986 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10988 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10989 (ptestcases.h): Likewise.
10991 2013-03-08 Roland McGrath <roland@hack.frob.com>
10993 * Makeconfig ($(common-objpfx)config.status): Depend on
10994 sysdeps/*/preconfigure{,.in} too.
10996 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10998 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10999 (__free_hook): Use void * instead of __malloc_ptr_t.
11000 (__malloc_hook): Likewise.
11001 (__realloc_hook): Likewise.
11002 (__memalign_hook): Likewise.
11003 (__after_morecore_hook): Likewise.
11004 * malloc/arena.c (save_malloc_hook): Likewise.
11005 (save_free_hook): Likewise.
11006 * malloc/hooks.c (malloc_hook_ini): Likewise.
11007 (realloc_hook_ini): Likewise.
11008 (memalign_hook_ini): Likewise.
11009 * malloc/malloc.c (malloc_hook_ini): Likewise.
11010 (realloc_hook_ini): Likewise.
11011 (memalign_hook_ini): Likewise.
11012 (__free_hook): Likewise.
11013 (__malloc_hook): Likewise.
11014 (__realloc_hook): Likewise.
11015 (__memalign_hook): Likewise.
11016 (__libc_malloc): Likewise.
11017 (__libc_free): Likewise.
11018 (__libc_realloc): Likewise.
11019 (__libc_memalign): Likewise.
11020 (__libc_valloc): Likewise.
11021 (__libc_pvalloc): Likewise.
11022 (__libc_calloc): Likewise.
11023 (__posix_memalign): Likewise.
11024 * malloc/morecore.c (__sbrk): Likewise.
11025 (__default_morecore): Likewise.
11027 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11029 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11030 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11031 __malloc_ptrdiff_t.
11033 * malloc/malloc.h (__malloc_size_t): Remove macro.
11034 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11036 (old_memalign_hook): Likewise.
11037 (old_realloc_hook): Likewise.
11038 (struct hdr): Likewise.
11040 (mallochook): Likewise.
11041 (memalignhook): Likewise.
11042 (reallochook): Likewise.
11043 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11044 (tr_old_realloc_hook): Likewise.
11045 (tr_old_memalign_hook): Likewise.
11046 (tr_mallochook): Likewise.
11047 (tr_reallochook): Likewise.
11048 (tr_memalignhook): Likewise.
11050 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11052 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11053 default_ldbl_pack and using as default implementation.
11054 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11056 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11057 redundant definition.
11058 (ldbl_insert_mantissa): Likewise.
11059 (ldbl_canonicalize): Likewise.
11060 (ldbl_nearbyint): Likewise.
11061 (ldbl_pack): Rename to ldbl_pack_ppc.
11062 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11063 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11064 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11066 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11069 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11070 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11071 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11073 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11074 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11075 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11077 2013-03-07 Andreas Jaeger <aj@suse.de>
11079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11082 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11084 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11085 Include mpa.h and declare __MPEXP.
11086 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11087 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11088 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11089 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11090 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11091 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11092 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11094 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11095 (__slowpow): Use long double EXPL and LOGL functions to
11097 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11098 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11099 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11100 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11101 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11102 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11105 intermediate variable to calculate exponent.
11107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11111 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11112 [!NO__SQR]: Define __sqr.
11113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11114 and NO__SQR. Remove all code except __mul and __sqr. Include
11115 sysdeps/ieee754/dbl-64/mpa.c.
11116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11119 * posix/Makefile (tests): Add tst-pathconf.
11120 * posix/tst-pathconf.c: New test case.
11121 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11123 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11125 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11127 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11129 2013-03-06 Andreas Jaeger <aj@suse.de>
11131 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11132 definition via __MAP_ANONYMOUS.
11134 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11135 it's not part of Linux headers.
11137 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11138 (MAP_HUGE_MASK): Define.
11140 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11142 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11145 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11146 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11148 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11151 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11153 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11154 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11155 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11156 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11157 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11160 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11163 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11164 Handle f2fs and efivarfs.
11166 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11169 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11170 (EFIVARFS_MAGIC): Add.
11171 (F2FS_LINK_MAX): Add.
11173 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11175 * stdio-common/vfprintf.c: Replace __builtin_expect with
11178 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11181 * sysdeps/generic/bp-sym.h: Remove file.
11182 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11183 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11184 <bp-sym.h> and <bp-asm.h>.
11185 (__longjmp): Don't use BP_SYM.
11186 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11188 (memcpy): Don't use BP_SYM.
11189 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11190 <bp-sym.h> and <bp-asm.h>.
11191 (memcpy): Don't use BP_SYM.
11192 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11194 (memcpy): Don't use BP_SYM.
11195 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11197 (memset): Don't use BP_SYM.
11198 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11199 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11200 (__bzero): Don't use BP_SYM.
11201 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11202 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11203 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11204 <bp-sym.h> and <bp-asm.h>.
11205 (memcmp): Don't use BP_SYM. Remove comment about bounded
11207 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11208 <bp-sym.h> and <bp-asm.h>.
11209 (memcpy): Don't use BP_SYM.
11210 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11211 <bp-sym.h> and <bp-asm.h>.
11212 (memset): Don't use BP_SYM.
11213 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11214 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11215 (__bzero): Don't use BP_SYM.
11216 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11217 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11218 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11219 <bp-sym.h> and <bp-asm.h>.
11220 (strncmp): Don't use BP_SYM. Remove comment about bounded
11222 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11223 <bp-sym.h> and <bp-asm.h>.
11224 (memcpy): Don't use BP_SYM.
11225 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11226 <bp-sym.h> and <bp-asm.h>.
11227 (memset): Don't use BP_SYM.
11228 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11229 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11230 (__bzero): Don't use BP_SYM.
11231 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11232 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11233 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11234 <bp-sym.h> and <bp-asm.h>.
11235 (__memchr): Don't use BP_SYM.
11236 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11237 <bp-sym.h> and <bp-asm.h>.
11238 (memcmp): Don't use BP_SYM. Remove comment about bounded
11240 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11241 <bp-sym.h> and <bp-asm.h>.
11242 (memcpy): Don't use BP_SYM.
11243 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11244 <bp-sym.h> and <bp-asm.h>.
11245 (__mempcpy): Don't use BP_SYM.
11246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11247 <bp-sym.h> and <bp-asm.h>.
11248 (__memrchr): Don't use BP_SYM.
11249 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11250 <bp-sym.h> and <bp-asm.h>.
11251 (memset): Don't use BP_SYM.
11252 (__bzero): Likewise.
11253 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11254 <bp-sym.h> and <bp-asm.h>.
11255 (__rawmemchr): Don't use BP_SYM.
11256 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11257 <bp-sym.h> and <bp-asm.h>.
11258 (__STRCMP): Don't use BP_SYM.
11259 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11260 <bp-sym.h> and <bp-asm.h>.
11261 (strchr): Don't use BP_SYM.
11262 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11263 <bp-sym.h> and <bp-asm.h>.
11264 (__strchrnul): Don't use BP_SYM.
11265 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11266 <bp-sym.h> and <bp-asm.h>.
11267 (strlen): Don't use BP_SYM.
11268 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11269 <bp-sym.h> and <bp-asm.h>.
11270 (strncmp): Don't use BP_SYM. Remove comment about bounded
11272 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11273 <bp-sym.h> and <bp-asm.h>.
11274 (__strnlen): Don't use BP_SYM.
11275 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11276 <bp-sym.h> and <bp-asm.h>.
11277 (__GI__setjmp): Don't use BP_SYM.
11278 (_setjmp): Likewise.
11279 (__sigsetjmp): Likewise.
11280 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11281 (L(start_addresses)): Don't use BP_SYM.
11282 (_start): Likewise.
11283 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11285 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11286 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11287 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11288 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11289 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11291 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11292 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11293 about bounded pointers.
11294 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11295 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11296 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11298 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11299 about bounded pointers. Remove GKM FIXME comments.
11300 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11301 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11303 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11304 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11305 Remove GKM FIXME comments.
11306 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11307 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11308 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11310 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11311 about bounded pointers. Remove GKM FIXME comment.
11312 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11314 (strncmp): Don't use BP_SYM. Remove comment about bounded
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11317 <bp-sym.h> and <bp-asm.h>.
11318 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11320 <bp-sym.h> and <bp-asm.h>.
11321 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11324 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11326 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11329 2013-03-05 David S. Miller <davem@davemloft.net>
11331 * po/es.po: Update from translation team.
11333 2013-03-05 Andreas Jaeger <aj@suse.de>
11335 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11336 <bits/mman-linux.h>.
11337 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11339 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11340 <bits/mman-linux.h> to end of file.
11341 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11343 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11344 <bits/mman-linux.h> to end of file.
11345 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11347 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11348 <bits/mman-linux.h> to end of file.
11350 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11351 (MCL_CURRENT, MCL_FUTURE): Define here.
11353 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11356 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11358 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11360 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11362 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11363 fourth parameter needed for rt_sigprocmask syscall.
11364 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11365 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11366 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11367 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11368 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11369 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11371 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11374 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11375 comment about bounded pointers.
11376 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11377 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11379 2013-03-04 Andreas Jaeger <aj@suse.de>
11381 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11382 common definitions.
11384 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11385 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11386 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11387 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11388 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11389 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11391 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11394 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11395 __ieee754_sqrl instead of __sqrl.
11397 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11399 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11400 * sysdeps/powerpc/fpu_control.h: ... here.
11401 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11402 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11403 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11404 * sysdeps/powerpc/bits/mathinline.h: ... here.
11406 2013-03-01 Roland McGrath <roland@hack.frob.com>
11408 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11409 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11410 to just [NEED_DL_SYSINFO_DSO].
11411 * elf/dl-support.c: Likewise.
11412 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11413 * elf/rtld.c (dl_main): Likewise.
11414 * elf/setup-vdso.h (setup_vdso): Likewise.
11415 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11416 * sysdeps/unix/sysv/linux/dl-sysdep.c
11417 (_dl_discover_osversion): Likewise.
11419 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11421 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11422 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11424 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11426 * NEWS: Mention libm performance improvements and non-x86 PI
11429 * csu/libc-start.c (__pthread_initialize_minimal): Change
11430 function arguments.
11431 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11433 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11436 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11437 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11438 <bp-sym.h> and <bp-asm.h>.
11439 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11440 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11442 (memcpy): Don't use BP_SYM.
11443 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11445 (__mpn_add_n): Don't use BP_SYM.
11446 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11447 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11449 (__mpn_addmul_1): Don't use BP_SYM.
11450 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11451 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11453 (_setjmp): Don't use BP_SYM.
11454 (__novmx_setjmp): Likewise.
11455 (__GI__setjmp): Likewise.
11456 (__vmx_setjmp): Likewise.
11457 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11459 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11460 (__bzero): Don't use BP_SYM.
11461 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11462 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11463 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11464 <bp-sym.h> and <bp-asm.h>.
11465 (memcpy): Don't use BP_SYM.
11466 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11467 <bp-sym.h> and <bp-asm.h>.
11468 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11469 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11470 <bp-sym.h> and <bp-asm.h>.
11471 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11472 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11474 (__mpn_lshift): Don't use BP_SYM.
11475 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11476 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11478 (memset): Don't use BP_SYM.
11479 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11480 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11481 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11483 (__mpn_mul_1): Don't use BP_SYM.
11484 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11485 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11486 <bp-sym.h> and <bp-asm.h>.
11487 (memcmp): Don't use BP_SYM.
11488 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11489 <bp-sym.h> and <bp-asm.h>.
11490 (memcpy): Don't use BP_SYM.
11491 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11492 <bp-sym.h> and <bp-asm.h>.
11493 (memset): Don't use BP_SYM.
11494 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11495 <bp-sym.h> and <bp-asm.h>.
11496 (strncmp): Don't use BP_SYM.
11497 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11498 <bp-sym.h> and <bp-asm.h>.
11499 (memcpy): Don't use BP_SYM.
11500 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11501 <bp-sym.h> and <bp-asm.h>.
11502 (memset): Don't use BP_SYM.
11503 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11504 <bp-sym.h> and <bp-asm.h>.
11505 (__memchr): Don't use BP_SYM.
11506 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11507 <bp-sym.h> and <bp-asm.h>.
11508 (memcmp): Don't use BP_SYM.
11509 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11510 <bp-sym.h> and <bp-asm.h>.
11511 (memcpy): Don't use BP_SYM.
11512 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11513 <bp-sym.h> and <bp-asm.h>.
11514 (__mempcpy): Don't use BP_SYM.
11515 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11516 <bp-sym.h> and <bp-asm.h>.
11517 (__memrchr): Don't use BP_SYM.
11518 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11519 <bp-sym.h> and <bp-asm.h>.
11520 (memset): Don't use BP_SYM.
11521 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11522 <bp-sym.h> and <bp-asm.h>.
11523 (__rawmemchr): Don't use BP_SYM.
11524 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11525 <bp-sym.h> and <bp-asm.h>.
11526 (__STRCMP): Don't use BP_SYM.
11527 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11528 <bp-sym.h> and <bp-asm.h>.
11529 (strchr): Don't use BP_SYM.
11530 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11531 <bp-sym.h> and <bp-asm.h>.
11532 (__strchrnul): Don't use BP_SYM.
11533 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11534 <bp-sym.h> and <bp-asm.h>.
11535 (strlen): Don't use BP_SYM.
11536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11537 <bp-sym.h> and <bp-asm.h>.
11538 (strncmp): Don't use BP_SYM.
11539 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11540 <bp-sym.h> and <bp-asm.h>.
11541 (__strnlen): Don't use BP_SYM.
11542 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11544 (__mpn_rshift): Don't use BP_SYM.
11545 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11546 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11547 <bp-sym.h> and <bp-asm.h>.
11548 (__sigsetjmp): Don't use BP_SYM.
11549 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11550 (L(start_addresses)): Don't use BP_SYM.
11551 (_start): Likewise.
11552 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11554 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11555 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11556 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11557 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11559 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11560 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11561 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11562 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11564 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11566 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11567 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11569 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11571 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11572 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11573 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11575 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11577 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11579 (strncmp): Don't use BP_SYM,
11580 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11582 (__mpn_sub_n): Don't use BP_SYM.
11583 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11584 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11586 (__mpn_submul_1): Don't use BP_SYM.
11587 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11589 <bp-sym.h> and <bp-asm.h>.
11590 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11592 <bp-sym.h> and <bp-asm.h>.
11593 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11596 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11599 Use ZK to minimize writes to Z.
11600 (sub_magnitudes): Simplify code a bit.
11601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11602 Use ZK to minimize writes to Z.
11603 (sub_magnitudes): Simplify code a bit.
11605 2013-02-27 Roland McGrath <roland@hack.frob.com>
11607 * csu/gmon-start.c: Add special exception to license text.
11609 2013-02-27 Richard Henderson <rth@redhat.com>
11611 * scripts/config.guess: Update from config.git.
11612 * scripts/config.sub: Likewise.
11614 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11616 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11618 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11620 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11622 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11624 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11626 2013-02-26 Roland McGrath <roland@hack.frob.com>
11628 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11629 [$(build-shared = yes].
11631 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11633 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11634 (__mul): Reduce iterations for calculating mantissa.
11636 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11638 (__mpranred): Likewise.
11641 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11642 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11644 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11646 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11647 Define __attribute__.
11649 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11651 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11653 * posix/regex_internal.h (__attribute): Remove.
11654 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11655 (re_string_context_at): Likewise.
11656 (bitset_not): Use __attribute__ and mark function as possibly
11658 (bitset_merge): Likewise.
11659 (bitset_mask): Likewise.
11660 (re_string_char_size_at): Likewise.
11661 (re_string_wchar_at): Likewise.
11662 (re_string_elem_size_at): Likewise.
11664 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11666 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11670 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11674 (denorm): Likewise.
11675 (__dbl_mp): Likewise.
11676 (add_magnitudes): Likewise.
11677 (sub_magnitudes): Likewise.
11681 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11684 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11687 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11691 up changes with default code.
11692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11695 2013-02-24 Allan McRae <allan@archlinux.org>
11697 * manual/socket.texi (The Internet Namespace): Order menu items
11698 to match that in the file.
11700 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11701 node listing of the info page menu.
11703 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11706 * sysdeps/i386/bp-asm.h: Remove file.
11707 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11708 (PARMS): Do not use macros from bp-asm.h.
11712 (__mpn_add_n): Do not use BP_SYM
11713 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11715 (PARMS): Do not use macros from bp-asm.h.
11718 (__mpn_addmul_1): Do not use BP_SYM
11719 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11721 (PARMS): Do not use macros from bp-asm.h.
11722 (SIGMSK): Likewise.
11723 (_setjmp): Likewise. Do not use BP_SYM.
11724 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11726 (PARMS): Do not use macros from bp-asm.h.
11727 (SIGMSK): Likewise.
11728 (setjmp): Likewise. Do not use BP_SYM.
11729 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11731 (PARMS): Do not use macros from bp-asm.h.
11732 (__frexp): Do not use BP_SYM.
11734 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11736 (PARMS): Do not use macros from bp-asm.h.
11737 (__frexpf): Do not use BP_SYM.
11738 (frexpf): Likewise.
11739 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11741 (PARMS): Do not use macros from bp-asm.h.
11742 (__frexpl): Do not use BP_SYM.
11743 (frexpl): Likewise.
11744 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11746 (PARMS): Do not use macros from bp-asm.h.
11747 (__remquo): Do not use BP_SYM.
11748 (remquo): Likewise.
11749 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11751 (PARMS): Do not use macros from bp-asm.h.
11752 (__remquof): Do not use BP_SYM.
11753 (remquof): Likewise.
11754 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11756 (PARMS): Do not use macros from bp-asm.h.
11757 (__remquol): Do not use BP_SYM.
11758 (remquol): Likewise.
11759 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11761 (PARMS): Do not use macros from bp-asm.h.
11764 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11765 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11767 (PARMS): Do not use macros from bp-asm.h.
11768 (strlen): Do not use BP_SYM.
11769 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11771 (PARMS): Do not use macros from bp-asm.h.
11775 (__mpn_add_n): Do not use BP_SYM.
11776 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11778 (PARMS): Do not use macros from bp-asm.h.
11781 (__mpn_addmul_1): Do not use BP_SYM.
11782 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11785 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11787 (PARMS): Do not use macros from bp-asm.h.
11790 (__mpn_lshift): Do not use BP_SYM.
11791 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11793 (PARMS): Do not use macros from bp-asm.h.
11797 (memcpy): Likewise. Do not use BP_SYM.
11798 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11799 libc_hidden_def and weak_alias.
11800 (mempcpy): Do not use BP_SYM in weak_alias.
11801 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11803 (PARMS): Do not use macros from bp-asm.h.
11806 [!BZERO_P] (CHR): Likewise.
11807 (memset): Likewise. Do not use BP_SYM.
11808 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11810 (PARMS): Do not use macros from bp-asm.h.
11813 (__mpn_mul_1): Do not use BP_SYM.
11814 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11816 (PARMS): Do not use macros from bp-asm.h.
11819 (__mpn_rshift): Do not use BP_SYM.
11820 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11822 (PARMS): Do not use macros from bp-asm.h.
11825 (strchr): Likewise. Do not use BP_SYM.
11826 (index): Do not use BP_SYM in weak_alias.
11827 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11829 (PARMS): Do not use macros from bp-asm.h.
11832 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11833 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11835 (PARMS): Do not use macros from bp-asm.h.
11836 (strlen): Do not use BP_SYM.
11837 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11839 (PARMS): Do not use macros from bp-asm.h.
11843 (__mpn_sub_n): Do not use BP_SYM.
11844 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11846 (PARMS): Do not use macros from bp-asm.h.
11849 (__mpn_submul_1): Do not use BP_SYM.
11850 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11852 (PARMS): Do not use macros from bp-asm.h.
11856 (__mpn_add_n): Do not use BP_SYM.
11857 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11860 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11862 (PARMS): Do not use macros from bp-asm.h.
11865 (memcmp): Do not use BP_SYM.
11866 (bcmp): Do not use BP_SYM in weak_alias.
11867 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11869 (PARMS): Do not use macros from bp-asm.h.
11873 (memcpy): Likewise. Do not use BP_SYM.
11874 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11876 (PARMS): Do not use macros from bp-asm.h.
11880 (memmove): Likewise. Do not use BP_SYM.
11881 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11883 (PARMS): Do not use macros from bp-asm.h.
11887 (__mempcpy): Likewise. Do not use BP_SYM.
11888 (mempcpy): Do not use BP_SYM in weak_alias.
11889 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11891 (PARMS): Do not use macros from bp-asm.h.
11894 [!BZERO_P] (CHR): Likewise.
11895 (memset): Likewise. Do not use BP_SYM.
11896 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11898 (PARMS): Do not use macros from bp-asm.h.
11900 (strcmp): Do not use BP_SYM.
11901 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11903 (PARMS): Do not use macros from bp-asm.h.
11906 [USE_AS_STRTOK_R] (SAVE): Likewise.
11907 (FUNCTION): Likewise. Do not use BP_SYM.
11908 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11910 (strtok_r): Likewise.
11911 (__GI___strtok_r): Likewise.
11912 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11913 (PARMS): Do not use macros from bp-asm.h.
11916 (__mpn_lshift): Do not use BP_SYM.
11917 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11918 (PARMS): Do not use macros from bp-asm.h.
11921 (__memchr): Do not use BP_SYM.
11922 (memchr): Do not use BP_SYM in weak_alias.
11923 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11924 (PARMS): Do not use macros from bp-asm.h.
11927 (memcmp): Do not use BP_SYM.
11928 (bcmp): Do not use BP_SYM in weak_alias.
11929 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11930 (PARMS): Do not use macros from bp-asm.h.
11933 (__mpn_mul_1): Do not use BP_SYM.
11934 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11936 (PARMS): Do not use macros from bp-asm.h.
11939 (__rawmemchr): Do not use BP_SYM.
11940 (rawmemchr): Do not use BP_SYM in weak_alias.
11941 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11942 (PARMS): Do not use macros from bp-asm.h.
11945 (__mpn_rshift): Do not use BP_SYM.
11946 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11947 (PARMS): Do not use macros from bp-asm.h.
11948 (SIGMSK): Likewise.
11949 (__sigsetjmp): Likewise. Do not use BP_SYM.
11950 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11951 (_start): Do not use BP_SYM.
11952 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11953 (PARMS): Do not use macros from bp-asm.h.
11956 (__stpcpy): Likewise. Do not use BP_SYM.
11957 (stpcpy): Do not use BP_SYM in weak_alias.
11958 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11960 (PARMS): Do not use macros from bp-asm.h.
11964 (__stpncpy): Likewise. Do not use BP_SYM.
11965 (stpncpy): Do not use BP_SYM in weak_alias.
11966 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11967 (PARMS): Do not use macros from bp-asm.h.
11970 (strchr): Likewise. Do not use BP_SYM.
11971 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11973 (PARMS): Do not use macros from bp-asm.h.
11976 (__strchrnul): Likewise. Do not use BP_SYM.
11977 (strchrnul): Do not use BP_SYM in weak_alias.
11978 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11980 (PARMS): Do not use macros from bp-asm.h.
11982 (strcspn): Do not use BP_SYM.
11983 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11985 (PARMS): Do not use macros from bp-asm.h.
11988 (strpbrk): Likewise. Do not use BP_SYM.
11989 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11991 (PARMS): Do not use macros from bp-asm.h.
11994 (strrchr): Likewise. Do not use BP_SYM.
11995 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11996 (PARMS): Do not use macros from bp-asm.h.
11998 (strspn): Do not use BP_SYM.
11999 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12000 (PARMS): Do not use macros from bp-asm.h.
12004 (FUNCTION): Likewise. Do not use BP_SYM.
12005 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12007 (strtok_r): Likewise.
12008 (__GI___strtok_r): Likewise.
12009 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12010 (PARMS): Do not use macros from bp-asm.h.
12014 (__mpn_sub_n): Do not use BP_SYM.
12015 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12017 (PARMS): Do not use macros from bp-asm.h.
12020 (__mpn_submul_1): Do not use BP_SYM.
12021 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12023 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12025 (PARMS): Do not use macros from bp-asm.h.
12030 (__clone): Do not use BP_SYM.
12031 (clone): Do not use BP_SYM in weak_alias.
12032 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12034 (PARMS): Do not use macros from bp-asm.h.
12036 (__mmap64): Do not use BP_SYM.
12037 (mmap64): Do not use BP_SYM in weak_alias.
12038 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12039 <bp-sym.h> and <bp-asm.h>.
12040 (PARMS): Do not use macros from bp-asm.h.
12041 (__posix_fadvise64_l64): Do not use BP_SYM.
12042 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12043 (PARMS): Do not use macros from bp-asm.h.
12045 (semtimedop): Do not use BP_SYM.
12046 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12049 2013-02-21 Allan McRae <allan@archlinux.org>
12051 * manual/message.texi (Charset conversion in gettext):
12052 Move @end statement to beginning of line.
12054 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12061 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12062 (denorm): Likewise.
12063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12066 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12068 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12069 tail-call to the resolved function if pltexit isn't needed.
12071 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12074 or Y being zero as being unlikely.
12075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12078 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12080 * manual/nss.texi (System Databases and Name Service Switch):
12081 Remove frobnicate @pxref.
12083 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12085 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12086 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12088 2013-02-20 Petr Machata <pmachata@redhat.com>
12090 * elf/elf.h (R_ARM_TARGET1): New macro.
12091 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12092 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12093 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12094 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12095 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12096 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12097 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12098 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12099 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12100 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12101 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12102 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12103 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12104 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12105 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12106 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12107 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12108 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12109 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12110 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12111 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12112 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12113 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12114 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12115 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12116 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12117 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12118 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12119 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12120 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12121 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12122 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12123 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12124 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12125 (R_ARM_THM_GOT_BREL12): Likewise.
12126 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12127 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12128 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12129 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12130 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12131 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12132 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12133 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12134 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12136 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12138 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12139 __attribute_used__ to __attribute__ ((unused)).
12141 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12143 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12146 comment formatting.
12147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12149 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12152 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12154 (ENTER): Remove both macro definitions.
12156 (CHECK_BOUNDS_LOW): Likewise.
12157 (CHECK_BOUNDS_HIGH): Likewise.
12158 (CHECK_BOUNDS_BOTH): Likewise.
12159 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12160 (RETURN_BOUNDED_POINTER): Likewise.
12161 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12162 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12163 (POP_ERRNO_LOCATION_RETURN): Likewise.
12164 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12165 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12166 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12168 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12169 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12170 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12171 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12172 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12173 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12174 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12175 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12176 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12177 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12178 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12179 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12180 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12181 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12183 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12184 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12186 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12187 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12188 * sysdeps/i386/i586/memset.S (memset): Likewise.
12189 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12190 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12191 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12193 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12194 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12195 Change uses of L(2) to L(out).
12196 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12197 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12198 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12199 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12200 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12202 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12203 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12205 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12206 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12207 (RETURN): Do not use macro LEAVE.
12208 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12209 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12210 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12211 * sysdeps/i386/i686/memset.S (memset): Likewise.
12212 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12213 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12214 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12215 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12217 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12218 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12219 L(1_2) and L(1_3) into L(1).
12220 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12221 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12222 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12223 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12224 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12225 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12226 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12227 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12228 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12230 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12231 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12232 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12233 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12234 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12235 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12236 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12237 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12238 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12239 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12240 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12241 * sysdeps/i386/strspn.S (strspn): Likewise.
12242 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12244 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12245 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12246 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12247 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12248 L(1_3) into L(1_1).
12249 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12250 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12251 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12253 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12255 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12257 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12260 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12262 * math/atest-exp.c (exp_mpn): Remove ROUND.
12263 * math/atest-exp2.c (exp_mpn): Likewise.
12264 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12266 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12267 * stdlib/tst-tls-atexit-lib.c: Likewise.
12268 * stdlib/tst-tls-atexit.c: Likewise.
12270 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12272 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12273 and __attribute_alloc_size__.
12275 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12277 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12278 __attribute_alloc_size__.
12279 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12280 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12282 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12284 * include/programs/xmalloc.h: New file.
12285 * catgets/gencat.c: Include it.
12286 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12287 * elf/pldd.c: Likewise.
12288 * iconv/iconv_charmap.c: Likewise.
12289 * iconv/iconvconfig.c: Likewise.
12290 * iconv/strtab.c: Likewise.
12291 * locale/programs/locale.c: Likewise.
12292 * locale/programs/localedef.h: Likewise.
12293 * locale/programs/simple-hash.c: Likewise.
12294 * nscd/nscd.h: Likewise.
12295 * nss/makedb.c: Likewise.
12296 * sysdeps/generic/ldconfig.h: Likewise.
12298 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12300 * Versions.def: Add GLIBC_2.18.
12301 * include/link.h (struct link_map): New member l_tls_dtor_count.
12302 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12303 (__call_tls_dtors): Likewise.
12304 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12305 __cxa_thread_atexit_impl.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12314 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12322 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12323 (tests): Add test case tst-tls-atexit.
12324 (modules-names): Add shared library for tst-tls-atexit.
12325 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12326 (GLIBC_PRIVATE): Add __call_tls_dtors.
12327 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12329 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12330 * stdlib/tst-tls-atexit.c: New test case.
12331 * stdlib/tst-tls-atexit-lib.c: New test case.
12333 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12335 * elf/Versions (ld): Add _dl_find_dso_for_object.
12336 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12337 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12338 (dl_open_worker): Use _dl_find_dso_for_object.
12339 * elf/dl-sym.c (do_sym): Likewise.
12340 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12342 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12344 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12345 Syntactic changes only.
12346 (_dl_runtime_profile): Do a tail-call to the resolved function.
12348 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12351 * sysdeps/x86_64/bp-asm.h: Remove file.
12352 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12353 <bp-sym.h> and <bp-asm.h>.
12354 (__clone): Do not use BP_SYM.
12355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12356 <bp-sym.h> and <bp-asm.h>.
12357 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12358 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12360 (_setjmp): Do not use BP_SYM.
12361 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12363 (setjmp): Do not use BP_SYM.
12364 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12366 (mempcpy): Do not use BP_SYM in weak_alias.
12367 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12369 (strchr): Do not use BP_SYM.
12370 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12372 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12373 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12374 (_start): Do not use BP_SYM.
12375 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12377 (strcat): Do not use BP_SYM.
12378 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12380 (STRCMP): Do not use BP_SYM.
12381 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12383 (STRCPY): Do not use BP_SYM.
12384 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12386 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12388 (FUNCTION): Do not use BP_SYM.
12389 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12391 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12393 2013-02-17 Andreas Jaeger <aj@suse.de>
12395 * time/Versions: Sort entries.
12396 * string/Versions: Likewise.
12397 * resolv/Versions: Likewise.
12398 * posix/Versions: Likewise.
12399 * iconv/Versions: Likewise.
12400 * elf/Versions: Likewise.
12401 * wcsmbs/Versions: Likewise.
12403 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12405 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12406 loop termination condition.
12408 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12409 variable to calculate EZ.
12412 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12413 the lower precision input.
12415 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12418 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12419 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12420 (run-via-rtld-prefix): Do not handle %-bp tests.
12421 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12422 (all-object-suffixes): Remove .ob.
12423 (bppfx): Remove variable.
12424 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12425 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12426 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12427 [$(build-bounded) = yes] (libtype.ob): Likewise.
12428 * Makerules (elide-routines.ob): Remove variable.
12429 (do-tests-clean): Do not handle *-bp.out.
12430 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12431 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12432 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12433 (tests): Do not include $(tests-bp.out).
12434 (xtests): Do not include $(xtests-bp.out).
12435 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12436 [$(build-bounded) = yes] ($(addprefix
12437 $(objpfx),$(binaries-bounded))): Remove rule.
12438 ($(objpfx)%-bp.out): Remove rule.
12439 * config.make.in (build-bounded): Remove variable.
12440 * crypt/Makefile [$(build-bounded) = yes]
12441 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12442 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12443 append to variable.
12444 [$(build-bounded) = yes] (install-lib): Likewise.
12445 [$(build-bounded) = yes] (generated): Likewise.
12446 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12448 * intl/Makefile [$(build-bounded) = yes]
12449 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12450 * math/Makefile [$(build-bounded) = yes]
12451 ($(tests:%=$(objpfx)%-bp): Likewise.
12452 * misc/Makefile [$(build-bounded) = yes]
12453 ($(objpfx)tst-tsearch-bp): Likewise.
12454 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12455 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12457 * string/Makefile (o-objects.ob): Remove variable.
12458 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12459 (CFLAGS-.ob): Remove variable.
12460 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12461 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12462 both definitions of variable.
12463 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12464 (ASFLAGS-.ob): Remove variable.
12466 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12469 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12470 Remove __BOUNDED_POINTERS__ from condition.
12471 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12472 * string/bits/string2.h [!__NO_STRING_INLINES &&
12473 !__BOUNDED_POINTERS__]: Likewise.
12474 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12476 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12477 Remove conditional code.
12478 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12479 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12480 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12484 * csu/libc-start.c: Do not include <bp-sym.h>.
12485 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12486 * elf/dl-open.c: Do not include <bp-sym.h>.
12487 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12488 * math/fegetenv.c: Do not include <bp-sym.h>.
12489 (fegetenv): Do not use BP_SYM in versioned symbols.
12490 * nptl/sysdeps/pthread/bits/libc-lockP.h
12491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12494 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12496 (__pthread_mutex_destroy): Likewise.
12497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12498 (__pthread_mutex_lock): Likewise.
12499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12500 (__pthread_mutex_trylock): Likewise.
12501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12502 (__pthread_mutex_unlock): Likewise.
12503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12504 (__pthread_mutexattr_init): Likewise.
12505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12506 (__pthread_mutexattr_destroy): Likewise.
12507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12508 (__pthread_mutexattr_settype): Likewise.
12509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12510 (__pthread_rwlock_init): Likewise.
12511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12512 (__pthread_rwlock_destroy): Likewise.
12513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12514 (__pthread_rwlock_rdlock): Likewise.
12515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12516 (__pthread_rwlock_tryrdlock): Likewise.
12517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12518 (__pthread_rwlock_wrlock): Likewise.
12519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12520 (__pthread_rwlock_trywrlock): Likewise.
12521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12522 (__pthread_rwlock_unlock): Likewise.
12523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12524 (__pthread_key_create): Likewise.
12525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12526 (__pthread_setspecific): Likewise.
12527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12528 (__pthread_getspecific): Likewise.
12529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12532 (_pthread_cleanup_push_defer): Likewise.
12533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12534 (_pthread_cleanup_pop_restore): Likewise.
12535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12536 (pthread_setcancelstate): Likewise.
12537 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12539 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12540 (memchr): Do not use BP_SYM in weak_alias.
12541 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12542 (fegetenv): Do not use BP_SYM in versioned symbols.
12543 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12544 (fesetenv): Do not use BP_SYM in versioned symbols.
12545 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12546 (feupdateenv): Do not use BP_SYM in versioned symbols.
12547 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12548 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12549 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12550 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12551 (open64): Do not use BP_SYM in weak_alias.
12552 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12553 (fegetenv): Do not use BP_SYM in versioned symbols.
12554 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12555 (fesetenv): Do not use BP_SYM in versioned symbols.
12556 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12557 (feupdateenv): Do not use BP_SYM in versioned symbols.
12558 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12559 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12560 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12561 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12562 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12563 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12564 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12566 (__libc_start_main): Do not use BP_SYM.
12568 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12571 redundant return line.
12573 (denorm): Likewise.
12574 (dbl_mp): Likewise.
12575 (sub_magnitudes): Likewise.
12581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12583 (denorm): Likewise.
12584 (dbl_mp): Likewise.
12585 (sub_magnitudes): Likewise.
12592 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12594 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12595 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12598 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12599 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12601 of __mul for squares.
12602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12606 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12607 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12609 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12612 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12614 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12615 prototype or function definition. Rename ubp_* variables and
12616 parameters. Remove argv definitions conditional on
12617 [__BOUNDED_POINTERS__].
12618 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12619 * elf/dl-runtime.c (_dl_fixup): Likewise.
12620 * include/set-hooks.h (RUN_HOOK): Likewise.
12621 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12623 * string/strcpy.c (strcpy): Do not use __unbounded.
12624 * sysdeps/generic/frame.h (struct layout): Likewise.
12625 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12626 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12627 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12628 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12629 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12630 (__backtrace): Likewise.
12631 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12633 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12634 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12635 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12637 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12638 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12639 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12640 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12641 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12642 Do not use __unbounded.
12643 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12644 Rename __unboundedrlimits parameter to rlimits in prototype.
12645 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12646 Do not use __unbounded.
12647 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12648 not use __ptrvalue.
12649 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12650 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12651 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12652 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12653 __ptrvalue or __unbounded.
12654 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12655 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12657 (__new_msgctl): Do not use __ptrvalue.
12658 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12660 (__libc_msgrcv): Do not use __ptrvalue.
12661 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12662 startup_info): Do not use __unbounded.
12663 (__libc_start_main): Likewise. Rename ubp_* variables and
12664 parameters. Remove argv definitions conditional on
12665 [__BOUNDED_POINTERS__].
12666 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12668 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12670 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12672 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12674 (__new_shmctl): Do not use __ptrvalue.
12675 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12676 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12678 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12680 (__libc_sigaction): Likewise.
12681 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12682 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12684 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12686 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12688 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12690 * string/mempcpy.c: Implement by calling memcpy.
12692 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12696 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12699 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12700 values in the mantissa.
12702 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12703 minimize writes to Z.
12704 (sub_magnitudes): Simplify code a bit.
12706 2013-02-12 Roland McGrath <roland@hack.frob.com>
12708 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12709 from the message. The linker prefixes all warnings with that already.
12711 2013-02-12 Andreas Schwab <schwab@suse.de>
12714 * posix/regexec.c (extend_buffers): Add parameter min_len.
12715 (check_matching): Pass minimum needed length.
12716 (clean_state_log_if_needed): Likewise.
12717 (get_subexp): Likewise.
12718 * posix/Makefile (tests): Add bug-regex34.
12719 (bug-regex34-ENV): Define.
12720 * posix/bug-regex34.c: New file.
12723 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12724 elements compare against the byte sequence of it, not its name.
12725 * posix/Makefile (tests): Add bug-regex35.
12726 (bug-regex35-ENV): Define.
12727 * posix/bug-regex35.c: New file.
12729 2013-02-11 Tom de Vries <tom@codesourcery.com>
12731 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12733 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12734 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12735 (CHECK_EOL): Add undef.
12737 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12739 * bits/stdlib-bsearch.h: New file.
12740 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12741 * stdlib/stdlib.h: Likewise.
12743 2013-02-11 Roland McGrath <roland@hack.frob.com>
12745 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12746 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12748 * manual/search.texi (Array Search Function): Add missing const in
12750 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12751 declaration to use rlim_t.
12752 (Basic Scheduling Functions): Remove erroneous const from
12753 sched_getparam prototype. Remove erroneous * from
12754 sched_get_priority_max and sched_get_priority_min prototypes.
12755 (Resource Usage): Fix summary @comment on vtimes to refer to
12756 sys/vtimes.h rather than vtimes.h.
12757 Add missing *s in vtimes prototype.
12758 (Limits on Resources): Fix ulimit prototype to return long int.
12759 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12760 prototypes to use long int rather than double.
12761 (BSD Random): Fix initstate and setstate to use char *, not void *.
12762 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12763 prototype to make second argument 'struct aiocb64 *const[]'.
12764 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12765 (Status of AIO Operations): Remove erroneous const in aio_return and
12766 aio_return64 prototypes.
12767 (Synchronizing I/O): Fix sync prototype to return void.
12768 * manual/startup.texi (Suboptions): Remove an erroneous const in
12769 getsubopt prototype.
12770 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12771 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12772 use size_t rather than int.
12773 (Scanning All Users): Likewise for getpwent_r.
12774 (Setting Groups): Add missing const to setgroups prototype.
12775 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12776 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12777 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12778 'const void *' rather than 'const char *'.
12779 (Host Address Functions): Likewise for inet_ntop.
12780 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12781 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12782 ssize_t for return value.
12783 (Sending Data): Likewise for send, sendto, sendmsg.
12784 (Socket Option Functions): Add a missing const in setsockopt prototype.
12785 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12786 use wchar_t for the argument.
12787 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12788 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12790 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12791 double/float/long double for second argument.
12792 Fix return types of significand, significandf, significandl.
12793 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12794 argument in fchmod prototype.
12795 (File Owner): Use uid_t and gid_t in fchown prototype.
12796 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12797 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12798 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12799 use 'const struct dirent **' as argument types to CMP function pointer
12801 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12802 (File Times): Fix summary magic @comment for struct utimbuf and utime
12803 to refer to utime.h, not time.h.
12804 * manual/string.texi (Argz Functions): Add missing const in
12805 argz_extract and argz_next prototypes.
12806 (Finding Tokens in a String): Likewise for basename.
12807 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12808 (Copying and Concatenation): Fix typo in wmemmove prototype.
12809 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12810 (Signal Stack): Remove erroneous const in sigstack prototype.
12811 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12813 (Simple Calendar Time): Likewise for stime.
12814 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12816 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12817 say sys/sysctl.h instead.
12818 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12819 and vsyslog prototypes.
12821 2013-02-11 Tom de Vries <tom@codesourcery.com>
12823 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12826 2013-02-11 Roland McGrath <roland@hack.frob.com>
12828 * misc/sys/mman.h: Fix typo in mremap comment.
12830 2013-02-08 Roland McGrath <roland@hack.frob.com>
12832 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12833 the '\0' terminator.
12835 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12838 * debug/segfault.c: Don't include <bp-checks.h>.
12839 * sysdeps/generic/bp-checks.h: Remove file.
12840 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12841 (__GETDENTS): Don't use CHECK_N.
12842 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12843 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12844 (__getgroups): Don't use CHECK_N.
12845 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12846 (setgroups): Don't use CHECK_N.
12847 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12848 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12849 (__libc_msgrcv): Don't use CHECK_N.
12850 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12851 (__libc_msgsnd): Don't use CHECK_N.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12854 (__libc_pread): Don't use CHECK_N.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12856 include <bp-checks.h>.
12857 (__libc_pread64): Don't use CHECK_N.
12858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12859 include <bp-checks.h>.
12860 (__libc_pwrite): Don't use CHECK_N.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12862 include <bp-checks.h>.
12863 (__libc_pwrite64): Don't use CHECK_N.
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12866 (__libc_pread): Don't use CHECK_N.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12868 include <bp-checks.h>.
12869 (__libc_pread64): Don't use CHECK_N.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12871 include <bp-checks.h>.
12872 (__libc_pwrite): Don't use CHECK_N.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12874 include <bp-checks.h>.
12875 (__libc_pwrite64): Don't use CHECK_N.
12876 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12877 (do_pread): Don't use CHECK_N.
12878 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12879 (do_pread64): Don't use CHECK_N.
12880 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12881 (do_pwrite): Don't use CHECK_N.
12882 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12883 (do_pwrite64): Don't use CHECK_N.
12884 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12885 (__libc_readv): Don't use CHECK_N.
12886 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12887 (semop): Don't use CHECK_N.
12888 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12890 (semtimedop): Don't use CHECK_N.
12891 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12892 (__libc_pread): Don't use CHECK_N.
12893 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12895 (__libc_pread64): Don't use CHECK_N.
12896 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12898 (__libc_pwrite): Don't use CHECK_N.
12899 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12901 (__libc_pwrite64): Don't use CHECK_N.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12904 (__libc_msgrcv): Don't use CHECK_N.
12905 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12906 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12907 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12908 (__libc_writev): Don't use CHECK_N.
12910 2013-02-08 Roland McGrath <roland@hack.frob.com>
12912 * string/strcpy.c: Removed unused variable.
12914 * Makeconfig (+sysdep-includes): Define with := rather than =.
12915 Use an existing include/ subdir of each sysdeps dir before it.
12917 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12919 * nscd/connection.c (register_traced_file): Comment function.
12920 [HAVE_INOTIFY] (union __inev): Define.
12921 [HAVE_INOTIFY] (inotify_check_files): New function.
12922 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12923 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12925 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12927 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12929 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12930 loaded if not already and that a failure is permanent.
12932 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12935 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12936 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12938 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12941 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12942 (CHECK_1_NULL_OK): Likewise.
12943 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12944 (__fxstat): Do not use CHECK_1.
12945 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12947 (___fxstat64): Do not use CHECK_1.
12948 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12950 (__fxstatat): Do not use CHECK_1.
12951 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12953 (__fxstatat64): Do not use CHECK_1.
12954 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12956 (__fxstat): Do not use CHECK_1.
12957 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12959 (__fxstatat): Do not use CHECK_1.
12960 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12962 (__getresgid): Do not use CHECK_1.
12963 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12965 (__getresuid): Do not use CHECK_1.
12966 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12968 (__lxstat): Do not use CHECK_1.
12969 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12971 (__old_msgctl): Do not use CHECK_1.
12972 (__new_msgctl): Likewise.
12973 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12975 (__new_setrlimit): Do not use CHECK_1.
12976 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12978 (__old_shmctl): Do not use CHECK_1.
12979 (__new_shmctl): Likewise.
12980 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12982 (__xstat): Do not use CHECK_1.
12983 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12984 (__lxstat): Do not use CHECK_1.
12985 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12987 (___lxstat64): Do not use CHECK_1.
12988 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12989 (__old_msgctl): Do not use CHECK_1.
12990 (__new_msgctl): Likewise.
12991 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12993 (__gettimeofday): Do not use CHECK_1.
12994 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12995 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12996 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12998 (__gettimeofday): Do not use CHECK_1.
12999 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13000 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13001 (__new_shmctl): Do not use CHECK_1.
13002 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13004 (do_sigtimedwait): Do not use CHECK_1.
13005 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13007 (do_sigwaitinfo): Do not use CHECK_1.
13008 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13010 (msgctl): Do not use CHECK_1.
13011 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13013 (shmctl): Do not use CHECK_1.
13014 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13015 (ustat): Do not use CHECK_1.
13016 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13018 (__fxstat): Do not use CHECK_1.
13019 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13021 (__fxstatat): Do not use CHECK_1.
13022 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13024 (__lxstat): Do not use CHECK_1.
13025 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13027 (__xstat): Do not use CHECK_1.
13028 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13029 (__xstat): Do not use CHECK_1.
13030 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13031 (___xstat64): Do not use CHECK_1.
13034 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13036 (CHECK_BOUNDS_HIGH): Likewise.
13037 * string/strcpy.c: Do not include <bp-checks.h>.
13038 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13040 2013-02-07 Roland McGrath <roland@hack.frob.com>
13042 * nscd/nscd-client.h (__nscd_drop_map_ref):
13043 Add __attribute__ ((unused)).
13044 * nis/nss-nisplus.h (niserr2nss): Likewise.
13046 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13047 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13049 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13050 Remove inline keyword.
13051 * include/rounding-mode.h (round_away): Likewise.
13052 * libio/wfileops.c (adjust_wide_data): Likewise.
13053 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13054 (__m128i_strloadu_tolower): Likewise.
13055 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13056 (__m128i_strloadu_tolower): Likewise.
13057 * time/mktime.c (ydhms_diff): Likewise.
13058 * locale/elem-hash.h (elem_hash): Likewise.
13059 * locale/setlocale.c (setdata): Likewise.
13060 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13061 (re_string_wchar_at): Likewise.
13062 (bitset_not, bitset_merge, bitset_mask): Likewise.
13063 [!(__GNUC__ > 3)] (inline): Remove macro.
13064 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13065 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13066 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13067 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13068 * string/memcmp.c (memcmp_bytes): Likewise.
13069 * locale/programs/locarchive.c (compute_hashval): Likewise.
13070 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13071 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13072 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13073 * nss/getent.c (print_rpc, print_protocols): Likewise.
13074 (print_passwd, print_group, print_aliases): Likewise.
13075 * nis/nss-nisplus.h (niserr2nss): Likewise.
13076 * nscd/connections.c (restart_p): Likewise.
13077 Change return type to bool.
13079 2013-02-05 Roland McGrath <roland@hack.frob.com>
13081 * Makeconfig (all-Depend-files): Add existing
13082 $(sorted-subdirs:=/Depend) files.
13083 (all-subdirs): Remove nss.
13084 * sysdeps/unix/inet/Subdirs: Add it here instead.
13085 * hesiod/Depend: New file.
13087 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13088 instead of calling alloca.
13090 * io/lseek.c (__lseek): Rename to __libc_lseek.
13091 Define __lseek as an alias.
13093 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13095 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13097 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13098 else clause and remove check for non-standard endianness.
13100 2013-02-04 David S. Miller <davem@davemloft.net>
13102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13104 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13107 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13108 (__ubp_memchr): Remove prototype.
13109 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13110 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13111 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13112 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13113 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13115 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13116 (__ubp_memchr): Likewise.
13117 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13118 (__ubp_memchr): Likewise.
13119 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13120 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13121 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13122 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13124 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13125 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13126 (__getcwd): Do not use CHECK_STRING.
13127 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13129 (__real_chown): Do not use CHECK_STRING.
13130 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13132 (fchownat): Do not use CHECK_STRING.
13133 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13135 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13137 (__lchown): Do not use CHECK_STRING.
13138 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13139 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13140 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13141 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13143 include <bp-checks.h>.
13144 (truncate64): Do not use CHECK_STRING.
13145 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13147 (__real_chown): Do not use CHECK_STRING.
13148 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13150 (__lchown): Do not use CHECK_STRING.
13151 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13153 (__chown): Do not use CHECK_STRING.
13154 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13156 (truncate64): Do not use CHECK_STRING.
13157 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13159 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13160 (__xmknod): Do not use CHECK_STRING.
13161 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13163 (__xmknodat): Do not use CHECK_STRING.
13164 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13165 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13167 2013-02-04 Andreas Schwab <schwab@suse.de>
13170 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13171 * include/netdb.h: Likewise for h_errno.
13172 * elf/tst-stackguard1.c: Include <tls.h>.
13174 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13176 * elf/link.h (struct link_map): Extend the l_addr comment.
13177 * include/link.h (struct link_map): Likewise.
13179 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13182 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13183 (BOUNDED_1): Remove macro.
13184 * debug/backtrace.c: Don't include <bp-checks.h>.
13185 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13186 (__backtrace): Likewise.
13187 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13189 (__backtrace): Don't use BOUNDED_1.
13190 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13192 (__backtrace): Don't use BOUNDED_1.
13193 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13194 (__backtrace): Don't use BOUNDED_1.
13195 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13196 (shmat): Don't use BOUNDED_N.
13198 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13201 * sysdeps/generic/bp-start.h: Remove file.
13202 * csu/libc-start.c: Don't include <bp-start.h>.
13203 (LIBC_START_MAIN): Set up __environ directly instead of using
13204 INIT_ARGV_and_ENVIRON.
13205 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13209 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13211 (CHECK_FCNTL): Likewise.
13212 (CHECK_N_PAGES): Likewise.
13215 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13217 (CHECK_SIGSET_NULL_OK): Likewise.
13218 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13220 (sigpending): Don't use CHECK_SIGSET.
13221 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13223 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13224 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13226 (do_sigsuspend): Don't use CHECK_SIGSET.
13227 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13229 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13230 (do_sigwait): Don't use CHECK_SIGSET.
13231 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13233 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13234 include <bp-checks.h>.
13235 (sigpending): Don't use CHECK_SIGSET.
13236 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13237 include <bp-checks.h>.
13238 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13239 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13241 (sigpending): Don't use CHECK_SIGSET.
13242 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13244 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13247 * sysdeps/generic/bp-semctl.h: Remove file.
13248 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13249 <bp-checks.h> and <bp-semctl.h>.
13250 (__old_semctl): Don't use CHECK_SEMCTL.
13251 (__new_semctl): Likewise.
13252 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13254 (__old_semctl): Don't use CHECK_SEMCTL.
13255 (__new_semctl): Likewise.
13256 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13257 <bp-checks.h> and <bp-semctl.h>.
13258 (__old_semctl): Don't use CHECK_SEMCTL.
13259 (__new_semctl): Likewise.
13260 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13261 <bp-checks.h> and <bp-semctl.h>.
13262 (semctl): Don't use CHECK_SEMCTL.
13265 * Makerules (elide-bp-thunks): Remove variable.
13266 (elide-routines.oS): Don't use $(elide-bp-thunks).
13267 (elide-routines.os): Likewise.
13268 (elide-routines.o): Likewise.
13269 (elide-routines.op): Likewise.
13270 (elide-routines.og): Likewise.
13271 (objects): Don't use $(bp-thunks).
13272 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13274 (common-generated): Do not add s-proto-bp.d.
13275 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13278 Do not generate makefile rules for bounded-pointer thunks.
13279 * sysdeps/generic/bp-thunks.h: Remove file.
13280 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13281 * sysdeps/unix/s-proto-bp.S: Likewise.
13284 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13285 parts of result separately when argument is not close to line from
13286 -i to i and one part of argument is small.
13287 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13288 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13289 * math/libm-test.inc (cacos_test): Add more tests.
13290 (casin_test): Likewise.
13291 (casinh_test): Likewise.
13292 * sysdeps/i386/fpu/libm-test-ulps: Update.
13293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13295 2013-01-31 David S. Miller <davem@davemloft.net>
13297 * po/de.po: Update from translation team.
13299 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13301 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13303 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13305 * configure.in (_AC_PROG_CC_C89): New definition.
13306 * configure: Regenerate.
13308 * configure.in (AC_PROG_CPP): New definition.
13309 * configure: Regenerate.
13311 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13313 * debug/tst-backtrace.h: New file.
13314 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13315 (ret): Remove variable.
13317 (FAIL): Remove macro.
13318 (NO_INLINE): Likewise.
13319 (fn1): Use match function instead of strstr.
13320 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13321 (ret): Remove variable.
13323 (FAIL): Remove macro.
13324 (NO_INLINE): Likewise.
13325 (fn): Use match function instead of strstr.
13326 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13327 (ret): Remove variable.
13329 (FAIL): Remove macro.
13330 (NO_INLINE): Likewise.
13331 (handle_signal): Use match function instead of strstr.
13332 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13333 (ret): Remove variable.
13335 (FAIL): Remove macro.
13336 (NO_INLINE): Likewise.
13337 (handle_signal): Use match function instead of strstr.
13339 2013-01-23 Roland McGrath <roland@hack.frob.com>
13341 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13343 2013-01-23 David S. Miller <davem@davemloft.net>
13345 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13346 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13347 argument of CAS if possible.
13348 * sysdeps/sparc/sparc64/bits/atomic.h
13349 (__arch_compare_and_exchange_val_32_acq): Likewise.
13350 (__arch_compare_and_exchange_val_64_acq): Likewise.
13352 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13354 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13355 * sysdeps/posix/ulimit.c: ... this.
13356 Include <limits.h>.
13357 * sysdeps/unix/bsd/ulimit.c: Remove file.
13359 2013-01-23 Adam Conrad <adconrad@0c3.net>
13361 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13362 (LDFLAGS-tst-array5): Likewise.
13364 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13367 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13368 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13369 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13370 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13372 2013-01-21 David S. Miller <davem@davemloft.net>
13374 * sysdeps/sparc/backtrace.c: New file.
13375 * sysdeps/sparc/sparc32/backtrace.h: New file.
13376 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13377 * sysdeps/sparc/sparc64/backtrace.h: New file.
13378 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13379 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13382 2013-01-21 Andreas Schwab <schwab@suse.de>
13385 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13388 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13394 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13395 Mark Mitchell <mark@codesourcery.com>
13396 Tom de Vries <tom@codesourcery.com>
13397 Paul Pluzhnikov <ppluzhnikov@google.com>
13399 * debug/tst-backtrace2.c: New file.
13400 * debug/tst-backtrace3.c: Likewise.
13401 * debug/tst-backtrace4.c: Likewise.
13402 * debug/tst-backtrace5.c: Likewise.
13403 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13404 (CFLAGS-tst-backtrace3.c): Likewise.
13405 (CFLAGS-tst-backtrace4.c): Likewise.
13406 (CFLAGS-tst-backtrace5.c): Likewise.
13407 (LDFLAGS-tst-backtrace2): Likewise.
13408 (LDFLAGS-tst-backtrace3): Likewise.
13409 (LDFLAGS-tst-backtrace4): Likewise.
13410 (LDFLAGS-tst-backtrace5): Likewise.
13411 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13412 tst-backtrace4 and tst-backtrace5.
13414 2013-01-18 Anton Blanchard <anton@samba.org>
13415 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13417 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13418 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13419 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13420 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13422 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13423 "+r" and remove output regs list as redundant. Add explicit inline
13424 asm to specify register of return val to work around compiler codegen
13425 bug. Remove (int) cast on return value. Add return type parameter to
13426 use in macro so that this macro does not truncate return value for
13428 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13429 pass to INTERNAL_VSYSCALL_NCS.
13430 (INLINE_VSYSCALL): Add 'long int' as return type to
13431 INTERNAL_VSYSCALL_NCS macro invocation.
13432 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13433 INTERNAL_VSYSCALL_NCS macro invocation.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13436 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13439 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13440 Fix application of SIMD FP exception mask.
13442 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13443 mp_no from a power of two.
13444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13445 __mpexp_twomm1. Use __pow_mp.
13447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13450 2013-01-17 David S. Miller <davem@davemloft.net>
13452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13454 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13457 * include/complex.h: Condition contents on [!_COMPLEX_H].
13458 (__kernel_casinhf): New prototype.
13459 (__kernel_casinh): Likewise.
13460 (__kernel_casinhl): Likewise.
13461 * math/Makefile (libm_calls): Add k_casinh.
13462 * math/k_casinh.c: New file.
13463 * math/k_casinhf.c: Likewise.
13464 * math/k_casinhl.c: Likewise.
13465 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13466 finite nonzero arguments.
13467 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13468 finite nonzero arguments.
13469 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13470 finite nonzero arguments.
13471 * math/s_casinh.c: Do not include <float.h>.
13472 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13473 * math/s_casinhf.c: Do not include <float.h>.
13474 (__casinhf): Move code for finite nonzero arguments to
13476 * math/s_casinhl.c: Do not include <float.h>.
13477 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13479 (__casinhl): Move code for finite nonzero arguments to
13481 * math/libm-test.inc (cacos_test): Add more tests.
13482 * sysdeps/i386/fpu/libm-test-ulps: Update.
13483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13485 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13487 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13488 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13489 [!HAVE_MREMAP]: Remove [defined linux] case.
13490 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13492 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13494 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13496 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13498 * elf/elf.h (R_386_SIZE32): New relocation.
13499 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13501 (elf_machine_rela): Likewise.
13502 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13503 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13505 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13507 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13508 (FP_FAST_FMA): Do not define.
13509 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13510 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13511 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13512 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13513 !_SOFT_FLOAT]: Likewise.
13514 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13515 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13517 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13518 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13519 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13520 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13521 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13522 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13525 2013-01-16 Andreas Schwab <schwab@suse.de>
13528 * include/stdlib.h (__mktemp): Add declaration.
13529 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13530 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13532 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13534 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13536 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13537 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13538 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13540 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13541 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13543 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13545 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13546 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13547 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13549 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13550 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13552 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13554 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13556 2013-01-15 David S. Miller <davem@davemloft.net>
13558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13559 trunc{,f} to libm-sysdep_routes.
13560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13570 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13571 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13572 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13573 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13574 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13575 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13578 nearbyint{,f} to libm-sysdep_routes.
13579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13590 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13592 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13593 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13595 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13596 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13597 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13599 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13600 libc_feholdexcept and libc_fesetenv.
13602 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13604 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13606 2013-01-14 David S. Miller <davem@davemloft.net>
13608 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13609 (SPARC_ASM_VIS2_IFUNC): Likewise.
13610 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13612 use of 'siam' instruction.
13613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13646 routines to libm-sysdep_routines.
13647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13650 fdim/fdimf to libm-sysdep_routines.
13651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13659 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13660 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13661 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13662 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13664 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13666 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13667 to optimize copies.
13669 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13674 local variable MPTWO.
13675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13678 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13680 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13683 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13685 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13687 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13689 * manual/pattern.texi (glob_t): Document gl_flags.
13690 (glob64_t): Likewise.
13692 2013-01-11 David S. Miller <davem@davemloft.net>
13694 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13695 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13696 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13697 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13698 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13699 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13700 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13701 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13702 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13703 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13704 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13705 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13706 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13708 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13709 sparc V9 rather than using V8 code.
13710 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13711 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13713 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13715 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13718 2013-01-11 Roland McGrath <roland@hack.frob.com>
13720 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13721 not in the main loop.
13722 * configure: Regenerated.
13724 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13726 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13727 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13729 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13730 [!__GLIBC_HAVE_LONG_LONG] case.
13731 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13732 condition to just #else.
13733 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13734 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13735 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13736 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13738 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13739 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13740 #elif condition to just #else.
13741 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13742 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13743 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13744 #elif condition to just #else.
13746 2013-01-11 Steve Ellcey <sellcey@mips.com>
13748 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13749 (EF_MIPS_ARCH_64): Fix value.
13750 (EF_MIPS_ARCH_32R2): New.
13751 (EF_MIPS_ARCH_64R2): New.
13753 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13755 * Makeconfig (+link-pie-before-libc): New.
13756 (+link-pie-after-libc): Likewise.
13757 (+link-pie-tests): Likewise.
13758 (+link-pie): Rewritten.
13759 (link-before-libc): Remove $(config-LDFLAGS).
13760 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13761 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13762 (config-LDFLAGS): Renamed to ...
13763 (rtld-LDFLAGS): This.
13764 (rtld-tests-LDFLAGS): New macro.
13765 (link-libc-rpath-link): Likewise.
13766 (link-libc-tests-rpath-link): Likewise.
13767 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13768 (link-libc): Prepand $(link-libc-rpath-link).
13769 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13770 (test-program-prefix): New macro.
13771 (test-via-rtld-prefix): Likewise.
13772 (test-program-cmd): Likewise.
13773 (host-test-program-cmd): Likewise.
13774 * Makefile ($(common-objpfx)testrun.sh): Replace
13775 $(run-program-prefix) with $(test-program-prefix).
13776 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13778 ($(common-objpfx)shlib.lds): Likewise.
13779 (build-module-helper): Likewise.
13780 ($(common-objpfx)format.lds): Likewise.
13781 * Rules (binaries-pie-tests): New.
13782 (binaries-pie-notests): Likewise.
13783 (binaries-pie): Rewritten.
13784 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13785 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13786 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13787 (make-test-out): Replace $(host-built-program-cmd) with
13788 $(host-test-program-cmd).
13789 * config.make.in (build-hardcoded-path-in-tests): New variable.
13790 * configure.in (--enable-hardcoded-path-in-tests): New configure
13792 (hardcoded_path_in_tests): New AC_SUBST.
13793 * configure: Regenerated.
13794 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13795 $(built-program-cmd) with $(test-program-cmd).
13796 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13797 (test_program_cmd): This.
13798 * elf/Makefile ($(objpfx)order.out): Run test with
13799 $(test-program-prefix).
13800 ($(objpfx)order2.out): Likewise.
13801 ($(objpfx)tst-initorder.out): Likewise.
13802 ($(objpfx)tst-initorder2.out): Likewise.
13803 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13804 $(test-program-cmd).
13805 ($(objpfx)tst-array1-static.out): Likewise.
13806 ($(objpfx)tst-array2.out): Likewise.
13807 ($(objpfx)tst-array3.out): Likewise.
13808 ($(objpfx)tst-array4.out): Likewise.
13809 ($(objpfx)tst-array5.out): Likewise.
13810 ($(objpfx)tst-array5-static.out): Likewise.
13811 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13812 $(test-program-cmd).
13813 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13814 $(run-program-prefix) with $(test-program-prefix).
13815 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13816 (test_program_prefix): This.
13817 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13818 $(run-program-prefix) with $(test-program-prefix).
13819 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13820 (test_program_prefix): This.
13821 * iconvdata/tst-tables.sh: Likewise.
13822 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13823 $(run-program-prefix) with $(test-program-prefix).
13824 ($(objpfx)tst-translit.out): Likewise.
13825 ($(objpfx)tst-gettext2.out): Likewise.
13826 ($(objpfx)tst-gettext4.out): Likewise.
13827 ($(objpfx)tst-gettext6.out): Likewise.
13828 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13829 (test_program_prefix): This.
13830 * intl/tst-gettext2.sh: Likewise.
13831 * intl/tst-gettext4.sh Likewise.
13832 * intl/tst-gettext6.sh: Likewise.
13833 * intl/tst-translit.sh: Likewise.
13834 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13835 with $(test-program-cmd).
13836 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13837 $(run-program-prefix) with $(test-program-prefix).
13838 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13839 (test_program_prefix): This.
13840 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13841 $(run-program-prefix) with $(test-program-prefix).
13842 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13843 (test_program_prefix): This.
13844 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13845 * posix/Makefile ($(objpfx)globtest.out): Replace
13846 $(run-via-rtld-prefix) and $(test-wrapper) with
13847 $(test-program-prefix) and $(test-via-rtld-prefix).
13848 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13849 $(test-program-prefix).
13850 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13851 $(host-test-program-cmd).
13852 (tst-spawn-ARGS): Likewise.
13853 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13854 $(test-program-prefix).
13855 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13856 (test_via_rtld_prefix): This.
13857 (test_wrapper): Renamed to ...
13858 (test_program_prefix): This.
13859 (run_program_prefix): Replaced by test_program_prefix.
13860 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13861 (test_program_prefix): This.
13862 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13863 with $(host-test-program-cmd).
13864 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13865 $(run-program-prefix) with $(test-program-prefix).
13866 ($(objpfx)tst-printf.out): Likewise.
13867 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13868 $(test-program-cmd).
13869 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13870 (test_program_prefix): This.
13871 * stdio-common/tst-unbputc.sh: Likewise.
13872 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13873 $(run-program-prefix) with $(test-program-prefix).
13874 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13875 (test_program_prefix): This.
13876 * string/Makefile ($(objpfx)tst-svc.out): Replace
13877 $(built-program-cmd) with $(test-program-cmd).
13879 2013-01-11 Andreas Jaeger <aj@suse.de>
13882 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13883 value. Sync with Linux 3.7.
13885 2013-01-10 David S. Miller <davem@davemloft.net>
13887 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13888 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13889 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13891 2013-01-10 Roland McGrath <roland@hack.frob.com>
13893 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13895 * configure: Regenerated.
13897 2013-01-10 David S. Miller <davem@davemloft.net>
13899 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13900 sparc V9 rather than using V8 code.
13901 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13902 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13904 2013-01-10 Roland McGrath <roland@hack.frob.com>
13906 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13907 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13908 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13909 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13910 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13911 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13912 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13913 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13914 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13915 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13916 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13917 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13918 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13919 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13920 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13921 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13922 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13923 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13924 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13925 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13926 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13927 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13928 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13929 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13930 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13931 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13932 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13934 2013-01-10 David S. Miller <davem@davemloft.net>
13936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13938 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13940 * posix/Makefile (tests-static): New variable.
13941 (tests): Add $(tests-static).
13942 (tst-exec-static-ARGS): New variable.
13943 (tst-spawn-static-ARGS): Likewise.
13944 * posix/tst-exec-static.c: New file.
13945 * posix/tst-spawn-static.c: Likewise.
13946 * posix/tst-exec.c: Support run directly.
13947 * posix/tst-spawn.c: Likewise.
13949 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13951 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13953 * math/bits/mathcalls.h (llrint): Likewise.
13954 (llround): Likewise.
13955 * stdlib/stdlib.h (struct drand48_data): Likewise.
13956 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13957 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13958 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13960 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13962 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13963 (elf_greg_t): Likewise.
13964 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13965 (__jmp_buf): Likewise.
13966 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13968 (llrint): Likewise, for all definitions.
13969 (llrintl): Likewise.
13971 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13972 Remove [__GNUC__] condition.
13973 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13974 condition to just [__USE_ISOC99].
13975 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13977 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13980 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13981 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13983 (_POSIX_V6_ILP32_OFF32): Likewise.
13984 (_XBS5_ILP32_OFF32): Likewise.
13985 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13986 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13988 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13990 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13993 doubles __mpexp_twomm1. Adjust usage.
13994 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13997 2013-01-10 Andreas Schwab <schwab@suse.de>
14000 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14001 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14003 2013-01-09 David S. Miller <davem@davemloft.net>
14006 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14007 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14008 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14009 TCP_FASTOPEN): Define.
14010 (tcp_repair_opt): New structure.
14011 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14013 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14014 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14015 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14016 (tcp_cookie_transactions): New structure.
14018 2013-01-09 Anton Blanchard <anton@samba.org>
14020 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14021 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14022 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14023 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14025 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14027 * include/features.h (__USE_ANSI): Remove.
14029 2013-01-09 Roland McGrath <roland@hack.frob.com>
14031 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14033 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14035 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14037 * sysdeps/s390/fpu/libm-test-ulps: Update.
14039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14041 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14045 (denorm): Likewise.
14046 (__mp_dbl): Likewise.
14047 (__dbl_mp): Likewise.
14048 (add_magnitudes): Likewise.
14049 (sub_magnitudes): Likewise.
14055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14059 (denorm): Likewise.
14060 (__mp_dbl): Likewise.
14061 (__dbl_mp): Likewise.
14062 (add_magnitudes): Likewise.
14063 (sub_magnitudes): Likewise.
14069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14073 (denorm): Likewise.
14074 (__mp_dbl): Likewise.
14075 (__dbl_mp): Likewise.
14076 (add_magnitudes): Likewise.
14077 (sub_magnitudes): Likewise.
14084 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14086 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14087 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14088 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14089 2 && __USE_EXTERN_INLINES]: Likewise.
14091 2013-01-08 Andreas Jaeger <aj@suse.de>
14094 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14096 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14097 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14099 2013-01-07 Anton Blanchard <anton@samba.org>
14101 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14102 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14103 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14104 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14105 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14106 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14107 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14108 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14110 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14111 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14112 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14113 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14114 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14115 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14116 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14117 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14118 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14119 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14120 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14121 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14122 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14123 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14124 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14125 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14126 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14127 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14128 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14129 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14130 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14131 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14133 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14134 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14135 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14136 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14137 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14138 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14139 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14140 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14141 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14142 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14143 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14145 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14147 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14148 (__MALLOC_PMT): Likewise.
14149 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14150 [__GNUC__], only on [_LIBC].
14151 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14152 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14153 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14154 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14155 forward declaration.
14156 (realloc_hook_ini): Likewise.
14157 (memalign_hook_ini): Likewise.
14158 (__libc_memalign): Do not use __MALLOC_PMT in variable
14160 (__libc_valloc): Likewise.
14161 (__libc_pvalloc): Likewise.
14162 (__libc_calloc): Likewise.
14163 (__posix_memalign): Likewise.
14166 * math/s_casinh.c: Include <float.h>.
14167 (__casinh): Do not do computation with squaring and square root
14168 for large arguments.
14169 * math/s_casinhf.c: Include <float.h>.
14170 (__casinhf): Do not do computation with squaring and square root
14171 for large arguments.
14172 * math/s_casinhl.c: Include <float.h>.
14173 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14174 (__casinhl): Do not do computation with squaring and square root
14175 for large arguments.
14176 * math/libm-test.inc (casin_test): Add more tests.
14177 (casinh_test): Likewise.
14178 * sysdeps/i386/fpu/libm-test-ulps: Update.
14179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14181 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14183 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14184 (__x86_64_raw_data_cache_size): Likewise.
14185 (__x86_64_data_cache_size_half): Likewise.
14186 (__x86_64_raw_data_cache_size_half): Likewise.
14187 (__x86_64_shared_cache_size): Likewise.
14188 (__x86_64_raw_shared_cache_size): Likewise.
14189 (__x86_64_shared_cache_size_half): Likewise.
14190 (__x86_64_raw_shared_cache_size_half): Likewise.
14191 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14193 (__x86_data_cache_size): This.
14194 (__x86_64_raw_data_cache_size): Renamed to ...
14195 (__x86_raw_data_cache_size): This.
14196 (__x86_64_data_cache_size_half): Renamed to ...
14197 (__x86_data_cache_size_half): This.
14198 (__x86_64_raw_data_cache_size_half): Renamed to ...
14199 (__x86_raw_data_cache_size_half): This.
14200 (__x86_64_shared_cache_size): Renamed to ...
14201 (__x86_shared_cache_size): This.
14202 (__x86_64_raw_shared_cache_size): Renamed to ...
14203 (__x86_raw_shared_cache_size): This.
14204 (__x86_64_shared_cache_size_half): Renamed to ...
14205 (__x86_shared_cache_size_half): This.
14206 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14207 (__x86_raw_shared_cache_size_half): This.
14208 * sysdeps/x86_64/memcpy.S: Updated.
14209 * sysdeps/x86_64/memset.S: Likewise.
14210 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14211 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14212 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14214 2013-01-04 David S. Miller <davem@davemloft.net>
14216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14218 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14220 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14221 1 to avoid redefinition warning.
14222 (__USE_GNU): Don't define.
14223 (init_signaling_nan): Protoize.
14225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14227 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14229 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14231 (__cpymn): Likewise.
14232 (norm): Remove commented code.
14233 (denorm): Likewise.
14234 (__mp_dbl): Likewise.
14236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14237 (__cpymn): Likewise.
14238 (norm): Remove commented code.
14239 (denorm): Likewise.
14240 (__mp_dbl): Likewise.
14243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14244 mp_no value for 1.0 and 2.0.
14245 (norm): Use RADIXI instead of radixi.d.
14246 (denorm): Likewise.
14247 (__mul): Use 0.0 instead of zero.d.
14248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14249 mp_no value for 1.0 and 2.0.
14250 (norm): Use RADIXI instead of radixi.d.
14251 (denorm): Likewise.
14252 (__mul): Use 0.0 instead of zero.d.
14254 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14257 * math/s_casinh.c (__casinh): Reduce finite argument to first
14258 quadrant then set signs of results at the end.
14259 * math/s_casinhf.c (__casinhf): Likewise.
14260 * math/s_casinhl.c (__casinhl): Likewise.
14261 * math/libm-test.inc (casin_test): Add more tests.
14262 (casinh_test): Likewise.
14263 * sysdeps/i386/fpu/libm-test-ulps: Update.
14264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14266 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14268 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14270 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14272 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14274 (denorm): Likewise.
14275 (__mp_dbl): Likewise.
14278 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14279 and adjust the header comment.
14281 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14282 variable name from declaration.
14284 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14287 Initialize COMMON_CPUID_INDEX_7 element.
14288 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14289 (CPUID_RTM): Likewise.
14290 (HAS_RTM): Likewise.
14291 (COMMON_CPUID_INDEX_7): New enum.
14293 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14296 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14297 size is zero, record memory as freed.
14299 2013-01-03 Andreas Jaeger <aj@suse.de>
14301 * po/ia.po: Add new Interlingua translation.
14303 2012-01-03 Allan McRae <allan@archlinux.org>
14305 * locale/programs/localedef.c: Fix description of '--posix' flag.
14307 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14309 * NEWS: Update dates in second copyright notice.
14310 * README: Update copyright dates in example.
14311 * manual/libc.texinfo: Update copyright dates.
14312 * scripts/test-installation.pl: Update copyright date in --version
14315 * hurd/ctty-input.c: Fix copyright notice formatting.
14316 * hurd/ctty-output.c: Likewise.
14317 * hurd/dtable.c: Likewise.
14318 * hurd/hurd-raise.c: Likewise.
14319 * hurd/hurdprio.c: Likewise.
14320 * hurd/msgportdemux.c: Likewise.
14321 * misc/sys/file.h: Likewise.
14322 * misc/sys/ioctl.h: Likewise.
14323 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14324 * sysdeps/mach/hurd/chdir.c: Likewise.
14325 * sysdeps/mach/hurd/fchdir.c: Likewise.
14326 * sysdeps/mach/hurd/rename.c: Likewise.
14327 * sysdeps/mach/hurd/rmdir.c: Likewise.
14328 * sysdeps/mach/hurd/seekdir.c: Likewise.
14329 * sysdeps/mach/hurd/setsid.c: Likewise.
14330 * sysdeps/posix/wait3.c: Likewise.
14332 * All files with FSF copyright notices: Update copyright dates
14333 using scripts/update-copyrights.
14334 * intl/plural.c: Regenerated.
14335 * locale/programs/charmap-kw.h: Likewise.
14336 * locale/programs/locfile-kw.h: Likewise.
14338 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14340 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14344 calculation loop and add branch prediction.
14346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14347 check access beyond bounds of m1np.
14349 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14351 (__inv): Remove local variable MPTWO to use the global
14353 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14354 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14356 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14357 MP3HALFS static const.
14359 2013-01-01 David S. Miller <davem@davemloft.net>
14361 * po/ca.po: Update from translation team.
14363 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14365 * scripts/update-copyrights: New file.
14366 * Makeconfig: Reformat copyright notice.
14367 * ctype/ctype.h: Likewise.
14368 * debug/swprintf_chk.c: Likewise.
14369 * elf/dl-cache.c: Likewise.
14370 * elf/dl-debug.c: Likewise.
14371 * elf/dl-object.c: Likewise.
14372 * grp/initgroups.c: Likewise.
14373 * hurd/Makefile: Likewise.
14374 * hurd/hurd/signal.h: Likewise.
14375 * hurd/hurdfault.c: Likewise.
14376 * hurd/hurdioctl.c: Likewise.
14377 * hurd/hurdlookup.c: Likewise.
14378 * hurd/intr-msg.c: Likewise.
14379 * iconv/gconv_open.c: Likewise.
14380 * libio/swprintf.c: Likewise.
14381 * locale/lc-ctype.c: Likewise.
14382 * locale/nl_langinfo.c: Likewise.
14383 * mach/Machrules: Likewise.
14384 * mach/Makefile: Likewise.
14385 * malloc/obstack.h: Likewise.
14386 * manual/Makefile: Likewise.
14387 * manual/tsort.awk: Likewise.
14388 * misc/bits/stab.def: Likewise.
14389 * nis/nis_print_group_entry.c: Likewise.
14390 * nis/nis_table.c: Likewise.
14391 * nis/nss_compat/compat-pwd.c: Likewise.
14392 * nis/nss_compat/compat-spwd.c: Likewise.
14393 * po/Makefile: Likewise.
14394 * posix/fnmatch.c: Likewise.
14395 * posix/regex.h: Likewise.
14396 * resolv/Makefile: Likewise.
14397 * resolv/nss_dns/dns-network.c: Likewise.
14398 * resolv/res_hconf.c: Likewise.
14399 * scripts/gen-sorted.awk: Likewise.
14400 * soft-fp/soft-fp.h: Likewise.
14401 * stdio-common/printf.h: Likewise.
14402 * stdlib/monetary.h: Likewise.
14403 * stdlib/random.c: Likewise.
14404 * stdlib/random_r.c: Likewise.
14405 * sysdeps/generic/Makefile: Likewise.
14406 * sysdeps/gnu/Makefile: Likewise.
14407 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14409 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14414 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14415 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14417 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14418 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14419 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14422 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14426 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14427 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14428 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14429 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14430 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14432 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14433 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14434 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14435 * sysdeps/mach/hurd/errnos.awk: Likewise.
14436 * sysdeps/mach/hurd/fork.c: Likewise.
14437 * sysdeps/mach/hurd/getcwd.c: Likewise.
14438 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14439 * sysdeps/mach/hurd/mmap.c: Likewise.
14440 * sysdeps/mach/hurd/utimes.c: Likewise.
14441 * sysdeps/mach/hurd/xmknod.c: Likewise.
14442 * sysdeps/posix/profil.c: Likewise.
14443 * sysdeps/posix/readdir_r.c: Likewise.
14444 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14445 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14446 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14447 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14449 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14450 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14451 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14453 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14454 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14455 * sysdeps/pthread/lio_listio.c: Likewise.
14456 * sysdeps/sparc/dl-procinfo.h: Likewise.
14457 * sysdeps/unix/i386/sysdep.S: Likewise.
14458 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14459 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14460 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14461 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14463 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14464 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14465 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14466 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14467 * sysdeps/wordsize-32/divdi3.c: Likewise.
14468 * time/sys/time.h: Likewise.
14469 * wcsmbs/Makefile: Likewise.
14471 2013-01-01 David S. Miller <davem@davemloft.net>
14473 * po/fr.po: Update from translation team.
14475 * catgets/gencat.c: Update copyright year.
14476 * csu/version.c: Likewise.
14477 * debug/catchsegv.sh: Likewise.
14478 * debug/pcprofiledump.c: Likewise.
14479 * debug/xtrace.sh: Likewise.
14480 * elf/ldconfig.c: Likewise.
14481 * elf/ldd.bash.in: Likewise.
14482 * elf/pldd.c: Likewise.
14483 * elf/sotruss.ksh: Likewise.
14484 * elf/sprof.c: Likewise.
14485 * iconv/iconv_prog.c: Likewise.
14486 * iconv/iconvconfig.c: Likewise.
14487 * locale/programs/locale.c: Likewise.
14488 * locale/programs/localedef.c: Likewise.
14489 * login/programs/pt_chown.c: Likewise.
14490 * malloc/memusage.sh: Likewise.
14491 * malloc/memusagestat.c: Likewise.
14492 * malloc/mtrace.pl: Likewise.
14493 * nscd/nscd.c: Likewise.
14494 * nss/getent.c: Likewise.
14495 * nss/makedb.c: Likewise.
14496 * posix/getconf.c: Likewise.
14498 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14500 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14503 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14505 * math/bits/mathcalls.h (modf): Use __nonnull.
14507 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14509 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14510 (split): Use macro CN instead of the bare value.
14511 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14514 instead of the bare value.
14515 (power1): Likewise.
14517 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14519 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14521 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14523 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14525 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14526 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14527 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14528 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14530 2012-12-28 Andreas Jaeger <aj@suse.de>
14532 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14533 values are from Linux 3.7.
14535 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14536 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14538 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14540 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14543 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14545 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14546 variables with preprocessor constants.
14547 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14548 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14549 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14551 2012-12-27 Bruno Haible <bruno@clisp.org>
14554 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14557 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14560 and use variable directly.
14561 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14563 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14565 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14566 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14568 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14570 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14571 include directive. Remove local variable MPONE.
14572 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14573 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14574 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14576 2012-12-25 David S. Miller <davem@davemloft.net>
14578 * version.h (RELEASE): Set to "development".
14579 (VERSION): Set to "2.17.90".
14580 * NEWS: Add 2.18 section.
14582 2012-12-21 David S. Miller <davem@davemloft.net>
14584 * po/hr.po: Update from translation team.
14586 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14588 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14590 2012-12-19 Steve Ellcey <sellcey@mips.com>
14592 * NEWS: Mention new memcpy for MIPS.
14594 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14596 * manual/contrib.texi (Contributors): Spelling correction.
14598 2012-12-15 David S. Miller <davem@davemloft.net>
14600 * po/ru.po: Update from translation team.
14602 2012-12-13 David S. Miller <davem@davemloft.net>
14604 * NEWS: Mention IFUNC testsuite enhancements.
14606 * po/pl.po: Update from translation team.
14607 * po/bg.po: Likewise.
14609 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14610 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14612 2012-12-11 David S. Miller <davem@davemloft.net>
14614 * po/sv.po: Update from translation team.
14616 * po/vi.po: Update from translation team.
14618 * po/cs.po: Update from translation team.
14620 * po/de.po: Update from translation team.
14621 * po/eo.po: Likewise.
14622 * po/nl.po: Likewise.
14624 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14627 * manual/argp.texi (Argp Helper Functions): Move node to follow
14628 Argp Parsing State.
14631 * manual/conf.texi (Limits on File System Capacity): Mention if
14632 terminating null is included in the max size.
14634 2012-12-10 Andreas Jaeger <aj@suse.de>
14636 * po/cs.po: Update from translation team.
14638 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14640 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14641 void pointer and cast to uintptr_t.
14642 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14644 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14645 * sysdeps/s390/s390-64/memset.S: Likewise.
14647 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14650 * menual/message.texi (Message Translation): Fix typos.
14651 (Helper programs for gettext): Likewise.
14653 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14656 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14659 2012-12-07 David S. Miller <davem@davemloft.net>
14661 * po/libc.pot: Update.
14663 2012-12-07 Richard Henderson <rth@redhat.com>
14666 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14667 normal/normal case to before the switch.
14668 (_FP_DIV): Likewise.
14670 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14671 Mike Frysinger <vapier@gentoo.org>
14673 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14674 check for __NR_fadvise64_64.
14676 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14678 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14679 0, not just to plain "0" as a statement.
14680 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14683 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14685 * NEWS: Use sourceware.org in Bugzilla URL.
14687 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14690 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14692 * stdio-common/tst-put-error.c (do_test): Add newline to the
14693 padded test to ensure flush.
14695 2012-12-05 Jeff Law <law@redhat.com>
14697 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14699 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14701 * README: Don't refer to ports add-on as distributed separately.
14702 Mention AArch64 in list of systems supported in the ports add-on.
14704 * LICENSES: Add more non-FSF copyright and license notices.
14706 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14709 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14711 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14712 10000 as width of padded output.
14714 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14716 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14718 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14719 variable LX with __attribute__ ((unused)).
14720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14722 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14724 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14725 with __attribute__ ((unused)).
14727 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14729 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14731 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14733 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14734 (CFLAGS-nldbl-acos.c): New variable.
14735 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14736 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14737 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14738 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14739 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14740 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14741 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14742 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14743 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14744 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14745 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14746 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14747 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14748 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14749 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14750 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14751 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14752 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14753 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14754 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14755 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14756 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14757 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14758 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14759 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14760 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14761 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14762 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14763 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14764 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14765 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14766 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14767 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14768 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14769 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14770 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14771 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14772 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14773 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14774 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14775 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14776 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14777 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14778 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14779 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14780 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14781 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14782 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14783 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14784 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14785 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14786 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14787 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14788 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14789 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14790 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14791 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14792 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14793 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14794 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14795 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14796 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14797 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14798 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14799 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14800 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14801 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14802 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14803 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14804 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14805 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14806 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14807 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14808 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14809 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14810 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14811 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14812 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14813 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14814 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14815 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14816 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14817 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14818 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14819 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14820 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14821 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14822 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14823 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14824 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14825 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14826 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14827 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14828 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14829 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14830 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14831 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14834 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14837 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14838 whole low double instead of just low 47 bits when splitting values
14841 2012-12-03 Allan McRae <allan@archlinux.org>
14843 * manual/stdio.texi (Predefined Printf Handlers): Remove
14844 @hsep and @vsep usage.
14846 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14848 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14849 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14851 2012-12-03 Jeff Law <law@redhat.com>
14853 * time/sys/time.h (settimeofday): Do not mark TV argument
14856 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14858 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14859 when currently writing and seek to current position when not.
14860 * libio/Makefile (tests): Remove bug-fclose1.
14861 * libio/bug-fclose1.c: Delete.
14863 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14865 * manual/arith.texi (feenableexcept): Fix typo.
14866 (fedisableexcept): Likewise.
14868 2012-11-30 Roland McGrath <roland@hack.frob.com>
14870 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14871 second, differently-typed declaration, rather than a cast.
14873 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14875 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14876 * include/rpc/svc.h: ... here.
14878 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14881 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14882 depending n and resplen2 to catch cases where answer
14885 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14887 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14888 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14890 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14894 2012-11-29 Roland McGrath <roland@hack.frob.com>
14896 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14898 2012-11-28 Jeff Law <law@redhat.com>
14901 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14902 dataset_temporary. Track alloca usage into alloca_used.
14903 If dataset is large allocate and release it via malloc/free.
14905 2012-06-04 Florian Weimer <fweimer@redhat.com>
14908 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14910 2012-11-28 David S. Miller <davem@davemloft.net>
14912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14914 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14917 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14918 of pi/2 rounded to nearest to 64 bits.
14919 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14920 nearest to 64 bits.
14921 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14924 2012-11-28 Jeff Law <law@redhat.com>
14925 Martin Osvald <mosvald@redhat.com>
14928 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14929 * sunrpc/svc.c: Include time.h.
14930 (__svc_accept_failed): New function.
14931 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14932 any reason other than EINTR, call __svc_accept_failed.
14933 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14934 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14936 2012-11-28 Andreas Schwab <schwab@suse.de>
14938 * scripts/abilist.awk: Also handle indirect functions in .opd
14941 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14944 * sysdeps/x86/fpu/powl_helper.c: New file.
14945 * sysdeps/x86/fpu/Makefile: Likewise.
14946 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14948 (__ieee754_powl): Use __powl_helper for finite arguments except
14949 integer exponents below 8.
14950 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14952 (__ieee754_powl): Use __powl_helper for finite arguments except
14953 integer exponents below 8.
14954 * math/libm-test.inc (pow_test): Add more tests and enable some
14955 previously disabled tests.
14956 * sysdeps/i386/fpu/libm-test-ulps: Update.
14957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14959 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14960 Carlos O'Donell <carlos_odonell@mentor.com>
14962 * nss/makedb.c (is_prime): Assert that input is odd and greater
14963 than 4. Note that fact in a comment too.
14964 (next_prime): Add 4 to input.
14966 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14969 * libio/Makefile (tests): Add test case tst-fwrite-error.
14970 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14971 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14972 * libio/tst-fwrite-error.c: New test case.
14974 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14976 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14977 before casting to void *.
14978 * include/libc-internal.h (__pointer_type): New macro.
14979 (__integer_if_pointer_type_sub): Likewise.
14980 (__integer_if_pointer_type): Likewise.
14981 (cast_to_integer): Likewise.
14982 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14983 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14984 before casting to atomic64_t.
14985 (atomic_exchange_acq): Likewise.
14986 (__arch_exchange_and_add_body): Likewise.
14987 (__arch_add_body): Likewise.
14988 (atomic_add_negative): Likewise.
14989 (atomic_add_zero): Likewise.
14991 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14993 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14994 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14995 (add_fdes): Likewise.
14996 (linear_search_fdes): Likewise.
14997 (binary_search_unencoded_fdes): Likewise.
14999 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15001 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15003 2012-11-24 Adam Conrad <adconrad@0c3.net>
15005 * configure.in: Autodetect C++ header directories.
15006 * configure: Regenerated.
15008 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15010 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15012 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15016 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15018 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15019 LDBL_MANT_DIG == 106]: Disable some tests.
15020 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15022 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15026 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15027 input for small inputs. Return +/- pi/2 for large inputs.
15028 * math/libm-test.inc (atan_test): Add more tests.
15030 * sysdeps/generic/unwind-dw2-fde-glibc.c
15031 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15032 __attribute__ ((unused)).
15035 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15036 x * y if x and y are nonzero and z is zero.
15039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15040 nonzero exponents with absolute value below 0x1p-117 to +/-
15044 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15045 up arguments below 2**-450, not just those below 2**-500.
15046 * math/libm-test.inc (hypot_test): Add another test.
15049 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15050 Return a+b for ratio over 2**120, not 2**60.
15051 * math/libm-test.inc (hypot_test): Add another test.
15053 * math/libm-test.inc (clog_test): Use
15054 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15055 (clog10_test): Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15060 2012-11-22 Andreas Schwab <schwab@suse.de>
15062 * sysdeps/i386/fpu/libm-test-ulps: Update.
15064 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15066 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15067 printf output with newline.
15069 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15072 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15073 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15074 -z nodlopen, -z initfirst and -z execstack support.
15075 * configure: Regenerated.
15077 * elf/elf.h (DF_1_NODIRECT): New macro.
15078 (DF_1_IGNMULDEF): Likewise.
15079 (DF_1_NOKSYMS): Likewise.
15080 (DF_1_NOHDR): Likewise.
15081 (DF_1_EDITED): Likewise.
15082 (DF_1_NORELOC): Likewise.
15083 (DF_1_SYMINTPOSE): Likewise.
15084 (DF_1_GLOBAUDIT): Likewise.
15085 (DF_1_SINGLETON): Likewise.
15086 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15087 DT_1_SUPPORTED_MASK bits.
15088 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15090 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15092 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15094 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15096 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15099 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15100 (sendmmsg): Move declarations...
15101 * socket/sys/socket.h: ... here.
15102 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15103 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15105 * socket/recvmmsg.c: ... this new file.
15106 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15107 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15108 definition of __sendmmsg hidden.
15109 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15110 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15111 Move ENOSYS stub into and include it from...
15112 * socket/sendmmsg.c: ... this new file.
15113 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15114 (sysdep_routines): Move recvmmsg and sendmmsg...
15115 * socket/Makefile (routines): ... here.
15116 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15117 (GLIBC_PRIVATE): Add __sendmmsg.
15118 * include/sys/socket.h (__sendmmsg): Add declarations.
15119 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15122 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15124 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15125 variable I1 with __attribute__ ((unused)).
15126 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15128 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15130 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15131 DUMMY variables with __attribute__ ((unused)).
15133 * bits/byteswap.h: Include <bits/types.h>.
15134 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15136 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15138 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15139 string_t. Do not manually set errno.
15140 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15141 length with __strnlen. Make sure to both set errno and return it on
15144 2012-11-19 David S. Miller <davem@davemloft.net>
15146 With help from Joseph Myers.
15147 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15148 very large arguments properly.
15149 * math/libm-test.inc (atan_test): New tests.
15150 (atan2_test): New tests.
15151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15154 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15157 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15160 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15161 [POSIX] (EADDRNOTAVAIL): Likewise.
15162 [POSIX] (EAFNOSUPPORT): Likewise.
15163 [POSIX] (EALREADY): Likewise.
15164 [POSIX] (ECONNABORTED): Likewise.
15165 [POSIX] (ECONNREFUSED): Likewise.
15166 [POSIX] (ECONNRESET): Likewise.
15167 [POSIX] (EDESTADDRREQ): Likewise.
15168 [POSIX] (EDQUOT): Likewise.
15169 [POSIX] (EHOSTUNREACH): Likewise.
15170 [POSIX] (EIDRM): Likewise.
15171 [POSIX] (EISCONN): Likewise.
15172 [POSIX] (ELOOP): Likewise.
15173 [POSIX] (EMULTIHOP): Likewise.
15174 [POSIX] (ENETDOWN): Likewise.
15175 [POSIX] (ENETUNREACH): Likewise.
15176 [POSIX] (ENOBUFS): Likewise.
15177 [POSIX] (ENODATA): Likewise.
15178 [POSIX] (ENOLINK): Likewise.
15179 [POSIX] (ENOMSG): Likewise.
15180 [POSIX] (ENOPROTOOPT): Likewise.
15181 [POSIX] (ENOSR): Likewise.
15182 [POSIX] (ENOSTR): Likewise.
15183 [POSIX] (ENOTCONN): Likewise.
15184 [POSIX] (ENOTSOCK): Likewise.
15185 [POSIX] (EOPNOTSUPP): Likewise.
15186 [POSIX] (EOVERFLOW): Likewise.
15187 [POSIX] (EPROTO): Likewise.
15188 [POSIX] (EPROTONOSUPPORT): Likewise.
15189 [POSIX] (EPROTOTYPE): Likewise.
15190 [POSIX] (ESTALE): Likewise.
15191 [POSIX] (ETIME): Likewise.
15192 [POSIX] (ETXTBSY): Likewise.
15193 [POSIX] (EWOULDBLOCK): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15195 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15196 [POSIX] (SEEK_CUR): Likewise.
15197 [POSIX] (SEEK_END): Likewise.
15198 [POSIX || UNIX98] (mode_t): Do not require.
15199 [POSIX] (off_t): Likewise.
15200 [POSIX] (pid_t): Likewise.
15201 [POSIX] (sys/stat.h): Do not allow header.
15202 [POSIX] (unistd.h): Likewise.
15203 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15204 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15205 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15206 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15208 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15209 sigevent): Specify elements.
15210 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15212 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15213 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15215 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15216 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15217 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15218 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15219 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15220 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15221 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15222 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15223 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15224 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15225 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15226 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15227 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15228 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15230 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15232 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15234 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15236 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15237 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15238 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15239 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15240 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15241 Specify lower bound on value.
15242 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15243 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15244 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15245 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15246 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15247 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15248 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15249 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15251 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15253 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15254 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15255 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15256 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15257 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15258 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15259 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15260 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15261 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15262 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15263 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15264 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15265 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15266 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15267 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15268 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15270 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15272 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15273 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15274 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15275 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15276 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15277 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15279 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15280 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15281 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15282 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15283 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15284 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15285 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15287 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15288 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15289 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15290 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15291 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15292 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15293 specify as optional.
15294 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15295 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15296 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15297 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15298 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15299 [XPG3] (NL_LANGMAX): Likewise.
15300 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15301 [POSIX || XPG3] (NL_NMAX): Likewise.
15302 [POSIX || XPG3] (NL_SETMAX): Likewise.
15303 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15304 [XPG3] (NZERO): Likewise.
15305 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15306 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15307 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15308 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15309 (REG_ERANGE): Expect.
15310 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15312 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15313 Use (void) in prototype.
15314 [POSIX] (*_t): Allow.
15315 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15316 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15317 (WRDE_BADVAL): Expect.
15319 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15321 [XPG3 || XPG4] (O_RSYNC): Likewise.
15322 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15324 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15325 [XPG3 || XPG4] (sigqueue): Likewise.
15326 [XPG3 || XPG4] (sigtimedwait): Likewise.
15327 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15328 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15329 [XPG3 || XPG4] (vsnprintf): Likewise.
15330 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15332 [XPG3 || XPG4] (blksize_t): Likewise.
15333 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15335 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15336 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15337 [XPG3 || XPG4] (struct itimerspec): Likewise.
15338 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15339 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15340 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15341 [XPG3 || XPG4] (clockid_t): Likewise.
15342 [XPG3 || XPG4] (timer_t): Likewise.
15343 [XPG3 || XPG4] (clock_getres): Likewise.
15344 [XPG3 || XPG4] (clock_gettime): Likewise.
15345 [XPG3 || XPG4] (clock_settime): Likewise.
15346 [XPG3 || XPG4] (nanosleep): Likewise.
15347 [XPG3 || XPG4] (timer_create): Likewise.
15348 [XPG3 || XPG4] (timer_delete): Likewise.
15349 [XPG3 || XPG4] (timer_gettime): Likewise.
15350 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15351 [XPG3 || XPG4] (timer_settime): Likewise.
15352 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15353 [XPG3 || XPG4] (getlogin_r): Likewise.
15354 [XPG3 || XPG4] (pread): Likewise.
15355 [XPG3 || XPG4] (pthread_atfork): Likewise.
15356 [XPG3 || XPG4] (pwrite): Likewise.
15359 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15362 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15364 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15365 finalizing MALLSTREAM.
15367 * sysdeps/mach/hurd/syncfs.c: New file.
15369 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15372 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15373 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15374 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15375 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15376 (_nss_dns_gethostbyname4_r): Likewise.
15377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15378 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15380 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15383 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15385 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15387 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15388 * elf/cache.c (print_entry): Print ",AArch64" for
15391 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15392 * elf/cache.c (print_entry): Print ",hard-float" for
15395 2012-11-18 David S. Miller <davem@davemloft.net>
15397 With help from Joseph Myers.
15398 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15400 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15402 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15403 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15405 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15406 * math/libm-test.inc (y0_test): New tests.
15407 (y1_test): New tests.
15408 * sysdeps/i386/fpu/libm-test-ulps: Update.
15409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15412 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15414 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15416 * configure: Regenerated.
15418 2012-11-17 David S. Miller <davem@davemloft.net>
15421 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15422 nonzero exponents with absolute value below 0x1p-128 to +/-
15425 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15427 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15429 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15431 * posix/getconf-speclist.c: New file.
15432 * posix/posix-envs.def: Likewise.
15433 * posix/confstr.c (START_ENV_GROUP): New macro.
15434 (END_ENV_GROUP): Likewise.
15435 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15436 (KNOWN_PRESENT_ENV_STRING): Likewise.
15437 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15438 (UNKNOWN_ENVIRONMENT): Likewise.
15439 (confstr): Include posix-envs.def instead of handling
15440 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15441 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15442 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15443 (END_ENV_GROUP): Likewise.
15444 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15445 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15446 (UNKNOWN_ENVIRONMENT): Likewise.
15447 (__sysconf): Include posix-envs.def instead of handling associated
15448 cases directly here.
15449 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15450 preprocessing getconf-speclist.c rather than running getconf or
15451 generating empty file.
15453 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15455 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15457 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15460 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15462 2012-11-16 David S. Miller <davem@davemloft.net>
15464 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15465 smaller than LDBL_EPSILON/2.0L, just return xm1.
15467 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15469 * elf/tst-array1.c (init): Set constructor priority to 1000.
15470 (fini): Set destructor priority to 1000.
15471 * elf/tst-array2dep.c: Likewise.
15473 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15476 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15477 (_IO_new_file_xsputn): Also return EOF if none of the input
15478 data was written when overflow failed.
15479 * libio/iopadn.c (_IO_padn): Likewise.
15480 * libio/iowpadn.c (_IO_wpadn): Likewise.
15481 * stdio-common/tst-put-error.c: Add copyright notice.
15482 (do_test): Add case for printing padded string.
15483 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15484 _IO_padn returned error.
15485 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15486 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15489 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15491 * libio/libioP.h: Add comment note that the references to C++
15492 bits are now obsolete.
15494 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15496 * math/libm-test.inc (check_complex): Use asprintf.
15498 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15500 * debug/pcprofiledump.c (print_version): Update copyright year.
15501 * malloc/memusagestat.c (print_version): Likewise.
15503 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15506 * elf/Makefile (tests): Add tst-audit8.
15507 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15508 ($(objpfx)tst-audit8.out): New target.
15509 (tst-audit8-ENV): New variable.
15510 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15511 audit if l_reloc_result is NULL.
15512 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15513 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15514 * elf/tst-audit8.c: New file.
15516 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15518 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15519 * misc/Makefile (CFLAGS-select.c): Define.
15520 * posix/Makefile (CFLAGS-pause.c): Define.
15522 2012-11-13 David S. Miller <davem@davemloft.net>
15524 * crypt/Makefile: Move test targets after toplevel Rules
15525 inclusion. Grab any necessary sysdep routines when linking.
15526 * crypt/md5.c (md5_process_block): Remove define, we will always
15527 name it __md5_process_block.
15528 (md5_finish_ctx): Update md5_process_block call.
15529 (md5_stream): Likewise.
15530 (md5_process_bytes): Likewise.
15531 (md5_process_block): Rename to __md5_process_block and move to ...
15532 * crypt/md5-block.c: ... here.
15533 * crypt/sha256.c (sha256_process_block): Move to ...
15534 * crypt/sha256-block.c: ... here.
15535 * crypt/sha512.c (sha512_process_block): Move to ...
15536 * crypt/sha512-block.c: ... here.
15537 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15539 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15540 * sysdeps/sparc/sparc64/multiarch/Makefile
15541 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15543 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15544 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15546 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15547 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15548 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15549 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15550 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15551 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15552 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15553 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15554 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15556 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15557 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15559 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15561 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15563 * timezone/tzselect.ksh: Update from tzcode git revision
15564 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15565 * timezone/zdump.c: Likewise.
15566 * timezone/zic.c: Likewise.
15567 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15568 in TZVERSION setting, not $(PKGVERSION).
15569 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15570 REPORT_BUGS_TO settings.
15573 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15576 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15578 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15579 detection to immediately after _FP_ROUND().
15580 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15583 2012-11-11 David S. Miller <davem@davemloft.net>
15585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15587 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15588 __close rather than their public counterparts.
15590 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15592 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15594 [UNIX98] (sem_timedwait): Do not expect.
15595 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15596 [XPG4 || UNIX98] (sockatmark): Do not expect.
15597 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15598 (clock_getcpuclockid): Do not expect.
15599 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15600 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15602 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15603 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15604 [UNIX98] (vwscanf): Likewise.
15605 [UNIX98] (vswscanf): Likewise.
15607 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15609 * timezone/version.h: Remove file.
15610 * timezone/README: Do not refer to version.h.
15611 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15612 $(objpfx)version.h.
15613 ($(objpfx)zdump.o): Likewise.
15614 ($(objpfx)version.h): New target.
15616 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15618 * timezone/README: Don't mention modification to tzselect.ksh.
15619 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15620 work on unmodified tzselect.ksh. Substitute version numbers in
15623 * Makefile (format-me): Remove.
15624 (INSTALL): Adjust indentation. Use commands directly instead of
15625 using $(format-me).
15627 * aclocal.m4 (ACX_PKGVERSION): New macro.
15628 (ACX_BUGURL): Likewise.
15629 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15630 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15631 (REPORT_BUGS_TO): Likewise.
15632 * configure: Regenerated.
15633 * config.h.in (PKGVERSION): New macro.
15634 (REPORT_BUGS_TO): Likewise.
15635 * config.make.in (PKGVERSION): New variable.
15636 (PKGVERSION_TEXI): Likewise.
15637 (REPORT_BUGS_TO): Likewise.
15638 (REPORT_BUGS_TEXI): Likewise.
15639 * Makefile (format-me): Use -I$(common-objpfx)manual.
15640 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15641 ($(common-objpfx)manual/%): New target.
15642 (manual/%): Remove target.
15643 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15644 (print_version): Use PKGVERSION.
15645 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15646 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15647 and REPORT_BUGS_TO.
15648 ($(objpfx)xtrace): Likewise.
15649 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15650 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15651 (print_version): Use PKGVERSION.
15652 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15653 (do_version): Use PKGVERSION.
15654 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15656 (common-ldd-rewrite): Likewise.
15657 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15658 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15659 (print_version): Use PKGVERSION.
15660 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15661 * elf/pldd.c (argp_program_bug_address): Remove variable.
15662 (more_help): New function.
15663 (argp): Use more_help.
15664 (print_version): Use PKGVERSION.
15665 * elf/sln.c (main): Use PKGVERSION.
15666 (usage): Use REPORT_BUGS_TO.
15667 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15668 (top level): Use PKGVERSION.
15669 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15670 (print_version): Use PKGVERSION.
15671 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15672 (print_version): Use PKGVERSION.
15673 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15674 (print_version): Use PKGVERSION.
15675 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15676 (print_version): Use PKGVERSION.
15677 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15678 (print_version): Use PKGVERSION.
15679 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15680 (print_version): Use PKGVERSION.
15681 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15683 ($(objpfx)memusage): Likewise.
15684 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15685 (do_version): Use PKGVERSION.
15686 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15687 (print_version): Use PKGVERSION.
15688 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15689 ($PKGVERSION): New variable.
15690 ($REPORT_BUGS_TO): Likewise.
15691 (usage): Use $REPORT_BUGS_TO.
15692 (top level): Use $PKGVERSION.
15693 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15694 ($(objpfx)pkgvers.texi): New rule.
15695 ($(objpfx)stamp-pkgvers): Likewise.
15696 * manual/install.texi: Include pkgvers.texi.
15697 (--with-pkgversion): Document new configure option.
15698 (--with-bugurl): Likewise.
15699 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15700 than necessarily for this particular distribution. Use
15701 REPORT_BUGS_TO for where to report bugs.
15702 * INSTALL: Regenerated.
15703 * manual/libc.texinfo: Include pkgvers.texi.
15704 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15705 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15706 (print_version): Use PKGVERSION.
15707 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15708 (print_version): Use PKGVERSION.
15709 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15710 (print_version): Use PKGVERSION.
15711 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15712 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15714 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15715 (print_version): Use PKGVERSION.
15716 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15717 (print_version): Use PKGVERSION.
15718 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15721 * timezone/checktab.awk: Update from tzcode 2012i.
15722 * timezone/ialloc.c: Likewise.
15723 * timezone/private.h: Likewise.
15724 * timezone/scheck.c: Likewise.
15725 * timezone/tzfile.h: Likewise.
15726 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15727 (TZVERSION): Hardcode tzcode version number.
15728 * timezone/zdump.c: Update from tzcode 2012i.
15729 * timezone/zic.c: Likewise.
15730 * timezone/version.h: New file.
15731 * timezone/README: Describe version.h. Update upstream location.
15734 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15735 (mktemp): Enable declaration.
15736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15737 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15738 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15739 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15741 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15743 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15745 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15747 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15749 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15753 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15754 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15755 for copies of such integer values.
15756 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15757 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15759 2012-11-09 Andreas Jaeger <aj@suse.de>
15761 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15762 definitions and declarations that are provided by
15763 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15765 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15767 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15768 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15769 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15772 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15774 * elf/elf.h: Update comment before AArch64 relocations.
15776 2012-11-07 David S. Miller <davem@davemloft.net>
15778 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15779 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15780 (__start_context): Declare.
15781 (__makecontext_ret): Delete.
15782 (__makecontext): Hook up __start_context instead of
15784 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15785 (sysdep_routines): Add __start_context when in stdlib.
15787 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15789 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15790 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15791 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15793 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15794 (READELF): New variable. Use it instead of hardcoded "readelf".
15796 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15798 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15799 * sysdeps/x86/Makefile: Here.
15800 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15801 * sysdeps/x86/tst-xmmymm.sh: This.
15803 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15805 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15807 [UNIX98] (pthread_barrier_t): Do not expect.
15808 [UNIX98] (pthread_barrierattr_t): Likewise.
15809 [UNIX98] (pthread_spinlock_t): Likewise.
15810 [UNIX98] (pthread_barrier_destroy): Likewise.
15811 [UNIX98] (pthread_barrier_init): Likewise.
15812 [UNIX98] (pthread_barrier_wait): Likewise.
15813 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15814 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15815 [UNIX98] (pthread_barrierattr_init): Likewise.
15816 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15817 [UNIX98] (pthread_getcpuclockid): Likewise.
15818 [UNIX98] (pthread_mutex_timedlock): Likewise.
15819 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15820 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15821 [UNIX98] (pthread_sigmask): Likewise.
15822 [UNIX98] (pthread_spin_destroy): Likewise.
15823 [UNIX98] (pthread_spin_init): Likewise.
15824 [UNIX98] (pthread_spin_lock): Likewise.
15825 [UNIX98] (pthread_spin_trylock): Likewise.
15826 [UNIX98] (pthread_spin_unlock): Likewise.
15827 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15829 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15830 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15831 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15832 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15833 [XPG3 || XPG4] (pthread_key_t): Likewise.
15834 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15835 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15836 [XPG3 || XPG4] (pthread_once_t): Likewise.
15837 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15838 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15840 [XPG3 || XPG4] (pthread_t): Likewise.
15842 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15844 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15846 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15847 Change function return type to int.
15849 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15850 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15851 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15852 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15853 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15854 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15855 [!POSIX] (posix_madvise): Likewise.
15856 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15858 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15859 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15860 (mode_t): Likewise.
15861 (posix_mem_offset): Likewise.
15862 (posix_typed_mem_get_info): Likewise.
15863 (posix_typed_mem_open): Likewise.
15865 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15866 Change condition to [XOPEN2K8].
15868 * conform/conformtest.pl: Preprocess allow-header data with -x c
15869 instead of from stdin.
15870 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15871 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15872 [C99-based standards] (cerfc): Likewise.
15873 [C99-based standards] (cexp2): Likewise.
15874 [C99-based standards] (cexpm1): Likewise.
15875 [C99-based standards] (clog10): Likewise.
15876 [C99-based standards] (clog1p): Likewise.
15877 [C99-based standards] (clog2): Likewise.
15878 [C99-based standards] (clgamma): Likewise.
15879 [C99-based standards] (ctgamma): Likewise.
15880 [C99-based standards] (cerff): Likewise.
15881 [C99-based standards] (cerfcf): Likewise.
15882 [C99-based standards] (cexp2f): Likewise.
15883 [C99-based standards] (cexpm1f): Likewise.
15884 [C99-based standards] (clog10f): Likewise.
15885 [C99-based standards] (clog1pf): Likewise.
15886 [C99-based standards] (clog2f): Likewise.
15887 [C99-based standards] (clgammaf): Likewise.
15888 [C99-based standards] (ctgammaf): Likewise.
15889 [C99-based standards] (cerfl): Likewise.
15890 [C99-based standards] (cerfcl): Likewise.
15891 [C99-based standards] (cexp2l): Likewise.
15892 [C99-based standards] (cexpm1l): Likewise.
15893 [C99-based standards] (clog10l): Likewise.
15894 [C99-based standards] (clog1pl): Likewise.
15895 [C99-based standards] (clog2l): Likewise.
15896 [C99-based standards] (clgammal): Likewise.
15897 [C99-based standards] (ctgammal): Likewise.
15898 * conform/data/inttypes.h-data [C99-based standards]: Include
15899 stdint.h-data. Remove all expectations for stdint.h contents.
15900 [C99-based standards] (PRI*): Do not allow.
15901 [C99-based standards] (SCN*): Likewise.
15902 [C99-based standards] (*_t): Likewise.
15903 [C99-based-standards] (PRId8): Expect macro.
15904 [C99-based-standards] (PRIi8): Likewise.
15905 [C99-based-standards] (PRIo8): Likewise.
15906 [C99-based-standards] (PRIu8): Likewise.
15907 [C99-based-standards] (PRIx8): Likewise.
15908 [C99-based-standards] (PRIX8): Likewise.
15909 [C99-based-standards] (SCNd8): Likewise.
15910 [C99-based-standards] (SCNi8): Likewise.
15911 [C99-based-standards] (SCNo8): Likewise.
15912 [C99-based-standards] (SCNu8): Likewise.
15913 [C99-based-standards] (SCNx8): Likewise.
15914 [C99-based-standards] (PRIdLEAST8): Likewise.
15915 [C99-based-standards] (PRIiLEAST8): Likewise.
15916 [C99-based-standards] (PRIoLEAST8): Likewise.
15917 [C99-based-standards] (PRIuLEAST8): Likewise.
15918 [C99-based-standards] (PRIxLEAST8): Likewise.
15919 [C99-based-standards] (PRIXLEAST8): Likewise.
15920 [C99-based-standards] (SCNdLEAST8): Likewise.
15921 [C99-based-standards] (SCNiLEAST8): Likewise.
15922 [C99-based-standards] (SCNoLEAST8): Likewise.
15923 [C99-based-standards] (SCNuLEAST8): Likewise.
15924 [C99-based-standards] (SCNxLEAST8): Likewise.
15925 [C99-based-standards] (PRIdFAST8): Likewise.
15926 [C99-based-standards] (PRIiFAST8): Likewise.
15927 [C99-based-standards] (PRIoFAST8): Likewise.
15928 [C99-based-standards] (PRIuFAST8): Likewise.
15929 [C99-based-standards] (PRIxFAST8): Likewise.
15930 [C99-based-standards] (PRIXFAST8): Likewise.
15931 [C99-based-standards] (SCNdFAST8): Likewise.
15932 [C99-based-standards] (SCNiFAST8): Likewise.
15933 [C99-based-standards] (SCNoFAST8): Likewise.
15934 [C99-based-standards] (SCNuFAST8): Likewise.
15935 [C99-based-standards] (SCNxFAST8): Likewise.
15936 [C99-based-standards] (PRId16): Likewise.
15937 [C99-based-standards] (PRIi16): Likewise.
15938 [C99-based-standards] (PRIo16): Likewise.
15939 [C99-based-standards] (PRIu16): Likewise.
15940 [C99-based-standards] (PRIx16): Likewise.
15941 [C99-based-standards] (PRIX16): Likewise.
15942 [C99-based-standards] (SCNd16): Likewise.
15943 [C99-based-standards] (SCNi16): Likewise.
15944 [C99-based-standards] (SCNo16): Likewise.
15945 [C99-based-standards] (SCNu16): Likewise.
15946 [C99-based-standards] (SCNx16): Likewise.
15947 [C99-based-standards] (PRIdLEAST16): Likewise.
15948 [C99-based-standards] (PRIiLEAST16): Likewise.
15949 [C99-based-standards] (PRIoLEAST16): Likewise.
15950 [C99-based-standards] (PRIuLEAST16): Likewise.
15951 [C99-based-standards] (PRIxLEAST16): Likewise.
15952 [C99-based-standards] (PRIXLEAST16): Likewise.
15953 [C99-based-standards] (SCNdLEAST16): Likewise.
15954 [C99-based-standards] (SCNiLEAST16): Likewise.
15955 [C99-based-standards] (SCNoLEAST16): Likewise.
15956 [C99-based-standards] (SCNuLEAST16): Likewise.
15957 [C99-based-standards] (SCNxLEAST16): Likewise.
15958 [C99-based-standards] (PRIdFAST16): Likewise.
15959 [C99-based-standards] (PRIiFAST16): Likewise.
15960 [C99-based-standards] (PRIoFAST16): Likewise.
15961 [C99-based-standards] (PRIuFAST16): Likewise.
15962 [C99-based-standards] (PRIxFAST16): Likewise.
15963 [C99-based-standards] (PRIXFAST16): Likewise.
15964 [C99-based-standards] (SCNdFAST16): Likewise.
15965 [C99-based-standards] (SCNiFAST16): Likewise.
15966 [C99-based-standards] (SCNoFAST16): Likewise.
15967 [C99-based-standards] (SCNuFAST16): Likewise.
15968 [C99-based-standards] (SCNxFAST16): Likewise.
15969 [C99-based-standards] (PRId32): Likewise.
15970 [C99-based-standards] (PRIi32): Likewise.
15971 [C99-based-standards] (PRIo32): Likewise.
15972 [C99-based-standards] (PRIu32): Likewise.
15973 [C99-based-standards] (PRIx32): Likewise.
15974 [C99-based-standards] (PRIX32): Likewise.
15975 [C99-based-standards] (SCNd32): Likewise.
15976 [C99-based-standards] (SCNi32): Likewise.
15977 [C99-based-standards] (SCNo32): Likewise.
15978 [C99-based-standards] (SCNu32): Likewise.
15979 [C99-based-standards] (SCNx32): Likewise.
15980 [C99-based-standards] (PRIdLEAST32): Likewise.
15981 [C99-based-standards] (PRIiLEAST32): Likewise.
15982 [C99-based-standards] (PRIoLEAST32): Likewise.
15983 [C99-based-standards] (PRIuLEAST32): Likewise.
15984 [C99-based-standards] (PRIxLEAST32): Likewise.
15985 [C99-based-standards] (PRIXLEAST32): Likewise.
15986 [C99-based-standards] (SCNdLEAST32): Likewise.
15987 [C99-based-standards] (SCNiLEAST32): Likewise.
15988 [C99-based-standards] (SCNoLEAST32): Likewise.
15989 [C99-based-standards] (SCNuLEAST32): Likewise.
15990 [C99-based-standards] (SCNxLEAST32): Likewise.
15991 [C99-based-standards] (PRIdFAST32): Likewise.
15992 [C99-based-standards] (PRIiFAST32): Likewise.
15993 [C99-based-standards] (PRIoFAST32): Likewise.
15994 [C99-based-standards] (PRIuFAST32): Likewise.
15995 [C99-based-standards] (PRIxFAST32): Likewise.
15996 [C99-based-standards] (PRIXFAST32): Likewise.
15997 [C99-based-standards] (SCNdFAST32): Likewise.
15998 [C99-based-standards] (SCNiFAST32): Likewise.
15999 [C99-based-standards] (SCNoFAST32): Likewise.
16000 [C99-based-standards] (SCNuFAST32): Likewise.
16001 [C99-based-standards] (SCNxFAST32): Likewise.
16002 [C99-based-standards] (PRId64): Likewise.
16003 [C99-based-standards] (PRIi64): Likewise.
16004 [C99-based-standards] (PRIo64): Likewise.
16005 [C99-based-standards] (PRIu64): Likewise.
16006 [C99-based-standards] (PRIx64): Likewise.
16007 [C99-based-standards] (PRIX64): Likewise.
16008 [C99-based-standards] (SCNd64): Likewise.
16009 [C99-based-standards] (SCNi64): Likewise.
16010 [C99-based-standards] (SCNo64): Likewise.
16011 [C99-based-standards] (SCNu64): Likewise.
16012 [C99-based-standards] (SCNx64): Likewise.
16013 [C99-based-standards] (PRIdLEAST64): Likewise.
16014 [C99-based-standards] (PRIiLEAST64): Likewise.
16015 [C99-based-standards] (PRIoLEAST64): Likewise.
16016 [C99-based-standards] (PRIuLEAST64): Likewise.
16017 [C99-based-standards] (PRIxLEAST64): Likewise.
16018 [C99-based-standards] (PRIXLEAST64): Likewise.
16019 [C99-based-standards] (SCNdLEAST64): Likewise.
16020 [C99-based-standards] (SCNiLEAST64): Likewise.
16021 [C99-based-standards] (SCNoLEAST64): Likewise.
16022 [C99-based-standards] (SCNuLEAST64): Likewise.
16023 [C99-based-standards] (SCNxLEAST64): Likewise.
16024 [C99-based-standards] (PRIdFAST64): Likewise.
16025 [C99-based-standards] (PRIiFAST64): Likewise.
16026 [C99-based-standards] (PRIoFAST64): Likewise.
16027 [C99-based-standards] (PRIuFAST64): Likewise.
16028 [C99-based-standards] (PRIxFAST64): Likewise.
16029 [C99-based-standards] (PRIXFAST64): Likewise.
16030 [C99-based-standards] (SCNdFAST64): Likewise.
16031 [C99-based-standards] (SCNiFAST64): Likewise.
16032 [C99-based-standards] (SCNoFAST64): Likewise.
16033 [C99-based-standards] (SCNuFAST64): Likewise.
16034 [C99-based-standards] (SCNxFAST64): Likewise.
16035 [C99-based-standards] (PRIdMAX): Likewise.
16036 [C99-based-standards] (PRIiMAX): Likewise.
16037 [C99-based-standards] (PRIoMAX): Likewise.
16038 [C99-based-standards] (PRIuMAX): Likewise.
16039 [C99-based-standards] (PRIxMAX): Likewise.
16040 [C99-based-standards] (PRIXMAX): Likewise.
16041 [C99-based-standards] (SCNdMAX): Likewise.
16042 [C99-based-standards] (SCNiMAX): Likewise.
16043 [C99-based-standards] (SCNoMAX): Likewise.
16044 [C99-based-standards] (SCNuMAX): Likewise.
16045 [C99-based-standards] (SCNxMAX): Likewise.
16046 [C99-based-standards] (PRIdPTR): Likewise.
16047 [C99-based-standards] (PRIiPTR): Likewise.
16048 [C99-based-standards] (PRIoPTR): Likewise.
16049 [C99-based-standards] (PRIuPTR): Likewise.
16050 [C99-based-standards] (PRIxPTR): Likewise.
16051 [C99-based-standards] (PRIXPTR): Likewise.
16052 [C99-based-standards] (SCNdPTR): Likewise.
16053 [C99-based-standards] (SCNiPTR): Likewise.
16054 [C99-based-standards] (SCNoPTR): Likewise.
16055 [C99-based-standards] (SCNuPTR): Likewise.
16056 [C99-based-standards] (SCNxPTR): Likewise.
16057 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16059 * conform/data/stdint.h-data: Update comments to clarify
16061 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16063 [C99-based standards] (INT8_MAX): Likewise.
16064 [C99-based standards] (INT16_MIN): Likewise.
16065 [C99-based standards] (INT16_MAX): Likewise.
16066 [C99-based standards] (INT32_MIN): Likewise.
16067 [C99-based standards] (INT32_MAX): Likewise.
16068 [C99-based standards] (INT64_MIN): Likewise.
16069 [C99-based standards] (INT64_MAX): Likewise.
16070 [C99-based standards] (UINT8_MAX): Likewise.
16071 [C99-based standards] (UINT16_MAX): Likewise.
16072 [C99-based standards] (UINT32_MAX): Likewise.
16073 [C99-based standards] (UINT64_MAX): Likewise.
16074 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16075 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16076 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16077 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16078 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16079 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16080 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16081 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16082 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16083 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16084 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16085 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16086 [C99-based standards] (INT_FAST8_MIN): Likewise.
16087 [C99-based standards] (INT_FAST8_MAX): Likewise.
16088 [C99-based standards] (INT_FAST16_MIN): Likewise.
16089 [C99-based standards] (INT_FAST16_MAX): Likewise.
16090 [C99-based standards] (INT_FAST32_MIN): Likewise.
16091 [C99-based standards] (INT_FAST32_MAX): Likewise.
16092 [C99-based standards] (INT_FAST64_MIN): Likewise.
16093 [C99-based standards] (INT_FAST64_MAX): Likewise.
16094 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16095 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16096 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16097 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16098 [C99-based standards] (INTPTR_MIN): Likewise.
16099 [C99-based standards] (INTPTR_MAX): Likewise.
16100 [C99-based standards] (UINTPTR_MAX): Likewise.
16101 [C99-based standards] (INTMAX_MIN): Likewise.
16102 [C99-based standards] (INTMAX_MAX): Likewise.
16103 [C99-based standards] (UINTMAX_MAX): Likewise.
16104 [C99-based standards] (PTRDIFF_MIN): Likewise.
16105 [C99-based standards] (PTRDIFF_MAX): Likewise.
16106 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16107 [C99-based standards] (SIZE_MAX): Likewise.
16108 [C99-based standards] (WCHAR_MAX): Likewise.
16109 [C99-based standards] (WINT_MAX): Likewise.
16110 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16111 constraint on value.
16112 [C99-based standards] (WCHAR_MIN): Likewise.
16113 [C99-based standards] (WINT_MIN): Likewise.
16114 [C99-based standards] (*_t): Allow.
16115 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16116 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16117 Include math.h-data and complex.h-data. Remove all expectations
16118 of math.h and complex.h contents.
16119 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16121 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16122 (struct tm): Expect tag.
16123 [C99-based-standards] (wcstof): Expect function.
16124 [C99-based-standards] (wcstold): Likewise.
16125 [C99-based-standards] (wcstoll): Likewise.
16126 [C99-based-standards] (wcstoull): Likewise.
16127 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16128 macro-int-constant. Specify type.
16129 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16130 constraint on value.
16131 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16133 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16135 [ISO C standards]: Do not allow headers.
16136 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16137 wcs[abcdefghijklmnopqrstuvwxyz]*.
16138 [ISO C standards] (*_t): Do not allow.
16139 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16141 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16142 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16144 [ISO C standards]: Do not allow headers.
16145 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16146 is[abcdefghijklmnopqrstuvwxyz]*.
16147 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16148 to[abcdefghijklmnopqrstuvwxyz]*.
16149 [ISO C standards] (*_t): Do not allow.
16150 * conform/data/stdalign.h-data: New file.
16151 * conform/data/stdbool.h-data: Likewise.
16152 * conform/data/stdnoreturn.h-data: Likewise.
16154 2012-11-07 Roland McGrath <roland@hack.frob.com>
16157 * manual/filesys.texi (Directory Entries): Typo fix.
16158 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16160 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16162 * elf/elf.h (EM_AARCH64): New macro.
16163 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16164 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16165 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16166 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16167 (R_AARCH64_TLSDESC): Likewise.
16168 (NT_ARM_TLS): Likewise.
16169 (NT_ARM_HW_BREAK): Likewise.
16170 (NT_ARM_HW_WATCH): Likewise.
16172 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16175 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16176 (__ieee754_powl): Saturate nonzero exponents with absolute value
16177 below 0x1p-79 to +/- 0x1p-79.
16178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16179 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16180 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16181 nonzero exponents with absolute value below 0x1p-32 to +/-
16183 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16184 (__ieee754_powl): Saturate nonzero exponents with absolute value
16185 below 0x1p-79 to +/- 0x1p-79.
16186 * math/libm-test.inc (pow_test): Add more tests.
16188 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16190 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16191 _dl_s390_cap_flags with kernel. Increase string length.
16192 (_dl_s390_platforms): Add z196 and zEC12.
16194 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16196 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16197 Change XOPEN21K to XOPEN2K.
16199 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16201 * string/memmove.c: Use memcpy when possible.
16203 2012-11-06 Andreas Jaeger <aj@suse.de>
16205 * po/eo.po: Update from translation team.
16207 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16211 exponent and small x and y exponents, scale x or y up. Increase
16212 by 2 the exponent used in scaling up.
16213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16214 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16215 * math/libm-test.inc (fma_test): Add more tests.
16216 (fma_test_towardzero): Likewise.
16217 (fma_test_downward): Likewise.
16218 (fma_test_upward): Likewise.
16220 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16223 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16227 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16228 namespace for names of struct fields.
16229 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16231 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16232 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16234 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16237 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16239 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16241 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16245 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16248 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16252 definitely overflow as x * y not x * y + z.
16253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16255 * math/libm-test.inc (fma_test): Add more tests.
16256 (fma_test_towardzero): Likewise.
16257 (fma_test_downward): Likewise.
16258 (fma_test_upward): Likewise.
16260 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16264 * include/stub-tag.h: Remove file.
16265 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16267 * manual/maint.texi (Porting): Don't reference it.
16268 * Makerules ($(objpfx)stubs): Likewise.
16269 * dirent/closedir.c: Don't include <stub-tag.h>.
16270 * dirent/dirfd.c: Likewise.
16271 * dirent/fdopendir.c: Likewise.
16272 * dirent/getdents.c: Likewise.
16273 * dirent/getdents64.c: Likewise.
16274 * dirent/opendir.c: Likewise.
16275 * dirent/readdir.c: Likewise.
16276 * dirent/readdir64.c: Likewise.
16277 * dirent/readdir64_r.c: Likewise.
16278 * dirent/readdir_r.c: Likewise.
16279 * dirent/rewinddir.c: Likewise.
16280 * dirent/seekdir.c: Likewise.
16281 * dirent/telldir.c: Likewise.
16282 * gmon/profil.c: Likewise.
16283 * grp/setgroups.c: Likewise.
16284 * inet/if_index.c: Likewise.
16285 * io/access.c: Likewise.
16286 * io/chdir.c: Likewise.
16287 * io/chmod.c: Likewise.
16288 * io/chown.c: Likewise.
16289 * io/close.c: Likewise.
16290 * io/dup.c: Likewise.
16291 * io/dup2.c: Likewise.
16292 * io/dup3.c: Likewise.
16293 * io/euidaccess.c: Likewise.
16294 * io/faccessat.c: Likewise.
16295 * io/fchdir.c: Likewise.
16296 * io/fchmod.c: Likewise.
16297 * io/fchmodat.c: Likewise.
16298 * io/fchown.c: Likewise.
16299 * io/fchownat.c: Likewise.
16300 * io/fcntl.c: Likewise.
16301 * io/flock.c: Likewise.
16302 * io/fstatfs.c: Likewise.
16303 * io/fstatfs64.c: Likewise.
16304 * io/fstatvfs.c: Likewise.
16305 * io/fstatvfs64.c: Likewise.
16306 * io/futimens.c: Likewise.
16307 * io/fxstat.c: Likewise.
16308 * io/fxstat64.c: Likewise.
16309 * io/fxstatat.c: Likewise.
16310 * io/fxstatat64.c: Likewise.
16311 * io/getcwd.c: Likewise.
16312 * io/isatty.c: Likewise.
16313 * io/lchmod.c: Likewise.
16314 * io/lchown.c: Likewise.
16315 * io/link.c: Likewise.
16316 * io/linkat.c: Likewise.
16317 * io/lseek.c: Likewise.
16318 * io/lseek64.c: Likewise.
16319 * io/lxstat64.c: Likewise.
16320 * io/mkdir.c: Likewise.
16321 * io/mkdirat.c: Likewise.
16322 * io/mkfifo.c: Likewise.
16323 * io/mkfifoat.c: Likewise.
16324 * io/open.c: Likewise.
16325 * io/open64.c: Likewise.
16326 * io/openat.c: Likewise.
16327 * io/openat64.c: Likewise.
16328 * io/pipe.c: Likewise.
16329 * io/pipe2.c: Likewise.
16330 * io/poll.c: Likewise.
16331 * io/posix_fadvise.c: Likewise.
16332 * io/posix_fadvise64.c: Likewise.
16333 * io/posix_fallocate.c: Likewise.
16334 * io/posix_fallocate64.c: Likewise.
16335 * io/read.c: Likewise.
16336 * io/readlink.c: Likewise.
16337 * io/readlinkat.c: Likewise.
16338 * io/rmdir.c: Likewise.
16339 * io/sendfile.c: Likewise.
16340 * io/sendfile64.c: Likewise.
16341 * io/statfs.c: Likewise.
16342 * io/statfs64.c: Likewise.
16343 * io/statvfs.c: Likewise.
16344 * io/statvfs64.c: Likewise.
16345 * io/symlink.c: Likewise.
16346 * io/symlinkat.c: Likewise.
16347 * io/ttyname.c: Likewise.
16348 * io/ttyname_r.c: Likewise.
16349 * io/umask.c: Likewise.
16350 * io/unlink.c: Likewise.
16351 * io/unlinkat.c: Likewise.
16352 * io/utime.c: Likewise.
16353 * io/utimensat.c: Likewise.
16354 * io/write.c: Likewise.
16355 * io/xmknod.c: Likewise.
16356 * io/xmknodat.c: Likewise.
16357 * io/xstat.c: Likewise.
16358 * io/xstat64.c: Likewise.
16359 * login/getpt.c: Likewise.
16360 * login/grantpt.c: Likewise.
16361 * login/unlockpt.c: Likewise.
16362 * math/e_acoshl.c: Likewise.
16363 * math/e_acosl.c: Likewise.
16364 * math/e_asinl.c: Likewise.
16365 * math/e_atan2l.c: Likewise.
16366 * math/e_atanhl.c: Likewise.
16367 * math/e_coshl.c: Likewise.
16368 * math/e_expl.c: Likewise.
16369 * math/e_fmodl.c: Likewise.
16370 * math/e_gammal_r.c: Likewise.
16371 * math/e_hypotl.c: Likewise.
16372 * math/e_j0l.c: Likewise.
16373 * math/e_j1l.c: Likewise.
16374 * math/e_jnl.c: Likewise.
16375 * math/e_lgammal_r.c: Likewise.
16376 * math/e_log10l.c: Likewise.
16377 * math/e_log2l.c: Likewise.
16378 * math/e_logl.c: Likewise.
16379 * math/e_powl.c: Likewise.
16380 * math/e_rem_pio2l.c: Likewise.
16381 * math/e_sinhl.c: Likewise.
16382 * math/e_sqrtl.c: Likewise.
16383 * math/fclrexcpt.c: Likewise.
16384 * math/fedisblxcpt.c: Likewise.
16385 * math/feenablxcpt.c: Likewise.
16386 * math/fegetenv.c: Likewise.
16387 * math/fegetexcept.c: Likewise.
16388 * math/fegetround.c: Likewise.
16389 * math/feholdexcpt.c: Likewise.
16390 * math/fesetenv.c: Likewise.
16391 * math/fesetround.c: Likewise.
16392 * math/feupdateenv.c: Likewise.
16393 * math/fgetexcptflg.c: Likewise.
16394 * math/fraiseexcpt.c: Likewise.
16395 * math/fsetexcptflg.c: Likewise.
16396 * math/ftestexcept.c: Likewise.
16397 * math/k_cosl.c: Likewise.
16398 * math/k_rem_pio2l.c: Likewise.
16399 * math/k_sinl.c: Likewise.
16400 * math/k_tanl.c: Likewise.
16401 * math/s_asinhl.c: Likewise.
16402 * math/s_atanl.c: Likewise.
16403 * math/s_cbrtl.c: Likewise.
16404 * math/s_erfl.c: Likewise.
16405 * math/s_expm1l.c: Likewise.
16406 * math/s_log1pl.c: Likewise.
16407 * math/s_tanhl.c: Likewise.
16408 * misc/acct.c: Likewise.
16409 * misc/brk.c: Likewise.
16410 * misc/chflags.c: Likewise.
16411 * misc/chroot.c: Likewise.
16412 * misc/fchflags.c: Likewise.
16413 * misc/fgetxattr.c: Likewise.
16414 * misc/flistxattr.c: Likewise.
16415 * misc/fremovexattr.c: Likewise.
16416 * misc/fsetxattr.c: Likewise.
16417 * misc/fsync.c: Likewise.
16418 * misc/ftruncate.c: Likewise.
16419 * misc/futimes.c: Likewise.
16420 * misc/futimesat.c: Likewise.
16421 * misc/getdomain.c: Likewise.
16422 * misc/getdtsz.c: Likewise.
16423 * misc/gethostid.c: Likewise.
16424 * misc/gethostname.c: Likewise.
16425 * misc/getloadavg.c: Likewise.
16426 * misc/getpagesize.c: Likewise.
16427 * misc/getsysstats.c: Likewise.
16428 * misc/getxattr.c: Likewise.
16429 * misc/gtty.c: Likewise.
16430 * misc/ioctl.c: Likewise.
16431 * misc/lgetxattr.c: Likewise.
16432 * misc/listxattr.c: Likewise.
16433 * misc/llistxattr.c: Likewise.
16434 * misc/lremovexattr.c: Likewise.
16435 * misc/lsetxattr.c: Likewise.
16436 * misc/lutimes.c: Likewise.
16437 * misc/madvise.c: Likewise.
16438 * misc/mincore.c: Likewise.
16439 * misc/mlock.c: Likewise.
16440 * misc/mlockall.c: Likewise.
16441 * misc/mmap.c: Likewise.
16442 * misc/mprotect.c: Likewise.
16443 * misc/msync.c: Likewise.
16444 * misc/munlock.c: Likewise.
16445 * misc/munlockall.c: Likewise.
16446 * misc/munmap.c: Likewise.
16447 * misc/preadv.c: Likewise.
16448 * misc/preadv64.c: Likewise.
16449 * misc/ptrace.c: Likewise.
16450 * misc/pwritev.c: Likewise.
16451 * misc/pwritev64.c: Likewise.
16452 * misc/readv.c: Likewise.
16453 * misc/reboot.c: Likewise.
16454 * misc/remap_file_pages.c: Likewise.
16455 * misc/removexattr.c: Likewise.
16456 * misc/revoke.c: Likewise.
16457 * misc/select.c: Likewise.
16458 * misc/setdomain.c: Likewise.
16459 * misc/setegid.c: Likewise.
16460 * misc/seteuid.c: Likewise.
16461 * misc/sethostid.c: Likewise.
16462 * misc/sethostname.c: Likewise.
16463 * misc/setregid.c: Likewise.
16464 * misc/setreuid.c: Likewise.
16465 * misc/setxattr.c: Likewise.
16466 * misc/sstk.c: Likewise.
16467 * misc/stty.c: Likewise.
16468 * misc/swapoff.c: Likewise.
16469 * misc/swapon.c: Likewise.
16470 * misc/sync.c: Likewise.
16471 * misc/syncfs.c: Likewise.
16472 * misc/syscall.c: Likewise.
16473 * misc/truncate.c: Likewise.
16474 * misc/ualarm.c: Likewise.
16475 * misc/usleep.c: Likewise.
16476 * misc/ustat.c: Likewise.
16477 * misc/utimes.c: Likewise.
16478 * misc/vhangup.c: Likewise.
16479 * misc/writev.c: Likewise.
16480 * posix/_exit.c: Likewise.
16481 * posix/alarm.c: Likewise.
16482 * posix/execve.c: Likewise.
16483 * posix/fexecve.c: Likewise.
16484 * posix/fork.c: Likewise.
16485 * posix/fpathconf.c: Likewise.
16486 * posix/getaddrinfo.c: Likewise.
16487 * posix/getegid.c: Likewise.
16488 * posix/geteuid.c: Likewise.
16489 * posix/getgid.c: Likewise.
16490 * posix/getgroups.c: Likewise.
16491 * posix/getlogin.c: Likewise.
16492 * posix/getlogin_r.c: Likewise.
16493 * posix/getpgid.c: Likewise.
16494 * posix/getpid.c: Likewise.
16495 * posix/getppid.c: Likewise.
16496 * posix/getresgid.c: Likewise.
16497 * posix/getresuid.c: Likewise.
16498 * posix/getsid.c: Likewise.
16499 * posix/getuid.c: Likewise.
16500 * posix/glob64.c: Likewise.
16501 * posix/nanosleep.c: Likewise.
16502 * posix/pathconf.c: Likewise.
16503 * posix/pause.c: Likewise.
16504 * posix/posix_madvise.c: Likewise.
16505 * posix/pread.c: Likewise.
16506 * posix/pread64.c: Likewise.
16507 * posix/pwrite.c: Likewise.
16508 * posix/pwrite64.c: Likewise.
16509 * posix/sched_getaffinity.c: Likewise.
16510 * posix/sched_getp.c: Likewise.
16511 * posix/sched_gets.c: Likewise.
16512 * posix/sched_primax.c: Likewise.
16513 * posix/sched_primin.c: Likewise.
16514 * posix/sched_rr_gi.c: Likewise.
16515 * posix/sched_setaffinity.c: Likewise.
16516 * posix/sched_setp.c: Likewise.
16517 * posix/sched_sets.c: Likewise.
16518 * posix/sched_yield.c: Likewise.
16519 * posix/setgid.c: Likewise.
16520 * posix/setlogin.c: Likewise.
16521 * posix/setpgid.c: Likewise.
16522 * posix/setresgid.c: Likewise.
16523 * posix/setresuid.c: Likewise.
16524 * posix/setsid.c: Likewise.
16525 * posix/setuid.c: Likewise.
16526 * posix/sleep.c: Likewise.
16527 * posix/spawni.c: Likewise.
16528 * posix/sysconf.c: Likewise.
16529 * posix/times.c: Likewise.
16530 * posix/wait.c: Likewise.
16531 * posix/wait3.c: Likewise.
16532 * posix/wait4.c: Likewise.
16533 * posix/waitpid.c: Likewise.
16534 * resolv/gai_sigqueue.c: Likewise.
16535 * resource/getpriority.c: Likewise.
16536 * resource/getrlimit.c: Likewise.
16537 * resource/getrusage.c: Likewise.
16538 * resource/nice.c: Likewise.
16539 * resource/setpriority.c: Likewise.
16540 * resource/setrlimit.c: Likewise.
16541 * resource/ulimit.c: Likewise.
16542 * rt/aio_cancel.c: Likewise.
16543 * rt/aio_fsync.c: Likewise.
16544 * rt/aio_read.c: Likewise.
16545 * rt/aio_sigqueue.c: Likewise.
16546 * rt/aio_suspend.c: Likewise.
16547 * rt/aio_write.c: Likewise.
16548 * rt/clock_getres.c: Likewise.
16549 * rt/clock_gettime.c: Likewise.
16550 * rt/clock_nanosleep.c: Likewise.
16551 * rt/clock_settime.c: Likewise.
16552 * rt/lio_listio.c: Likewise.
16553 * rt/mq_close.c: Likewise.
16554 * rt/mq_getattr.c: Likewise.
16555 * rt/mq_notify.c: Likewise.
16556 * rt/mq_open.c: Likewise.
16557 * rt/mq_receive.c: Likewise.
16558 * rt/mq_send.c: Likewise.
16559 * rt/mq_setattr.c: Likewise.
16560 * rt/mq_timedreceive.c: Likewise.
16561 * rt/mq_timedsend.c: Likewise.
16562 * rt/mq_unlink.c: Likewise.
16563 * rt/shm_open.c: Likewise.
16564 * rt/shm_unlink.c: Likewise.
16565 * rt/timer_create.c: Likewise.
16566 * rt/timer_delete.c: Likewise.
16567 * rt/timer_getoverr.c: Likewise.
16568 * rt/timer_gettime.c: Likewise.
16569 * rt/timer_settime.c: Likewise.
16570 * setjmp/__longjmp.c: Likewise.
16571 * setjmp/setjmp.c: Likewise.
16572 * signal/kill.c: Likewise.
16573 * signal/killpg.c: Likewise.
16574 * signal/raise.c: Likewise.
16575 * signal/sigaction.c: Likewise.
16576 * signal/sigaltstack.c: Likewise.
16577 * signal/sigblock.c: Likewise.
16578 * signal/sigignore.c: Likewise.
16579 * signal/sigintr.c: Likewise.
16580 * signal/signal.c: Likewise.
16581 * signal/sigpause.c: Likewise.
16582 * signal/sigpending.c: Likewise.
16583 * signal/sigqueue.c: Likewise.
16584 * signal/sigreturn.c: Likewise.
16585 * signal/sigset.c: Likewise.
16586 * signal/sigsetmask.c: Likewise.
16587 * signal/sigstack.c: Likewise.
16588 * signal/sigsuspend.c: Likewise.
16589 * signal/sigtimedwait.c: Likewise.
16590 * signal/sigvec.c: Likewise.
16591 * signal/sigwait.c: Likewise.
16592 * signal/sigwaitinfo.c: Likewise.
16593 * signal/sysv_signal.c: Likewise.
16594 * socket/accept.c: Likewise.
16595 * socket/accept4.c: Likewise.
16596 * socket/bind.c: Likewise.
16597 * socket/connect.c: Likewise.
16598 * socket/getpeername.c: Likewise.
16599 * socket/getsockname.c: Likewise.
16600 * socket/getsockopt.c: Likewise.
16601 * socket/isfdtype.c: Likewise.
16602 * socket/listen.c: Likewise.
16603 * socket/recv.c: Likewise.
16604 * socket/recvfrom.c: Likewise.
16605 * socket/recvmsg.c: Likewise.
16606 * socket/send.c: Likewise.
16607 * socket/sendmsg.c: Likewise.
16608 * socket/sendto.c: Likewise.
16609 * socket/setsockopt.c: Likewise.
16610 * socket/shutdown.c: Likewise.
16611 * socket/sockatmark.c: Likewise.
16612 * socket/socket.c: Likewise.
16613 * socket/socketpair.c: Likewise.
16614 * stdio-common/ctermid.c: Likewise.
16615 * stdio-common/cuserid.c: Likewise.
16616 * stdio-common/remove.c: Likewise.
16617 * stdio-common/rename.c: Likewise.
16618 * stdio-common/renameat.c: Likewise.
16619 * stdio-common/tempname.c: Likewise.
16620 * stdlib/getcontext.c: Likewise.
16621 * stdlib/makecontext.c: Likewise.
16622 * stdlib/setcontext.c: Likewise.
16623 * stdlib/swapcontext.c: Likewise.
16624 * stdlib/system.c: Likewise.
16625 * streams/fattach.c: Likewise.
16626 * streams/fdetach.c: Likewise.
16627 * streams/getmsg.c: Likewise.
16628 * streams/getpmsg.c: Likewise.
16629 * streams/putmsg.c: Likewise.
16630 * streams/putpmsg.c: Likewise.
16631 * sysdeps/unix/bsd/getpt.c: Likewise.
16632 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16633 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16634 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16637 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16638 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16639 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16640 * sysvipc/msgctl.c: Likewise.
16641 * sysvipc/msgget.c: Likewise.
16642 * sysvipc/msgrcv.c: Likewise.
16643 * sysvipc/msgsnd.c: Likewise.
16644 * sysvipc/semctl.c: Likewise.
16645 * sysvipc/semget.c: Likewise.
16646 * sysvipc/semop.c: Likewise.
16647 * sysvipc/semtimedop.c: Likewise.
16648 * sysvipc/shmat.c: Likewise.
16649 * sysvipc/shmctl.c: Likewise.
16650 * sysvipc/shmdt.c: Likewise.
16651 * sysvipc/shmget.c: Likewise.
16652 * termios/tcdrain.c: Likewise.
16653 * termios/tcflow.c: Likewise.
16654 * termios/tcflush.c: Likewise.
16655 * termios/tcgetattr.c: Likewise.
16656 * termios/tcgetpgrp.c: Likewise.
16657 * termios/tcsendbrk.c: Likewise.
16658 * termios/tcsetattr.c: Likewise.
16659 * termios/tcsetpgrp.c: Likewise.
16660 * time/adjtime.c: Likewise.
16661 * time/clock.c: Likewise.
16662 * time/getitimer.c: Likewise.
16663 * time/gettimeofday.c: Likewise.
16664 * time/setitimer.c: Likewise.
16665 * time/settimeofday.c: Likewise.
16666 * time/stime.c: Likewise.
16667 * time/time.c: Likewise.
16669 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16671 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16674 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16676 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16678 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16682 FE_TONEAREST before applying Dekker multiplication and Knuth
16683 addition. Clear inexact exceptions and check for exact zero
16684 results afterwards.
16685 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16686 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16688 * math/libm-test.inc (fma_test): Add more tests.
16689 (fma_test_towardzero): Likewise.
16690 (fma_test_downward): Likewise.
16691 (fma_test_upward): Likewise.
16692 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16694 (libc_fesetround): New macro.
16695 (libc_fesetroundf): Likewise.
16696 (libc_fesetroundl): Likewise.
16697 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16699 (libc_fesetround_387): Likewise.
16700 (libc_fesetroundf): New macro.
16701 (libc_fesetround): Likewise.
16702 (libc_fesetroundl): Likewise.
16703 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16705 (libc_fesetroundf): New macro.
16706 (libc_fesetround): Likewise.
16707 (libc_fesetroundl): Likewise.
16708 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16709 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16710 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16712 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16713 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16715 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16716 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16718 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16722 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16723 integer constant usable in #if and use that to give value to enum
16725 (FE_DIVBYZERO): Likewise.
16726 (FE_UNDERFLOW): Likewise.
16727 (FE_OVERFLOW): Likewise.
16728 (FE_INVALID): Likewise.
16729 (FE_INVALID_SNAN): Likewise.
16730 (FE_INVALID_ISI): Likewise.
16731 (FE_INVALID_IDI): Likewise.
16732 (FE_INVALID_ZDZ): Likewise.
16733 (FE_INVALID_IMZ): Likewise.
16734 (FE_INVALID_COMPARE): Likewise.
16735 (FE_INVALID_SOFTWARE): Likewise.
16736 (FE_INVALID_SQRT): Likewise.
16737 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16738 (FE_TONEAREST): Likewise.
16739 (FE_TOWARDZERO): Likewise.
16740 (FE_UPWARD): Likewise.
16741 (FE_DOWNWARD): Likewise.
16742 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16743 (FE_DIVBYZERO): Likewise.
16744 (FE_OVERFLOW): Likewise.
16745 (FE_UNDERFLOW): Likewise.
16746 (FE_INEXACT): Likewise.
16747 (FE_TONEAREST): Likewise.
16748 (FE_DOWNWARD): Likewise.
16749 (FE_UPWARD): Likewise.
16750 (FE_TOWARDZERO): Likewise.
16751 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16752 (FE_UNDERFLOW): Likewise.
16753 (FE_OVERFLOW): Likewise.
16754 (FE_DIVBYZERO): Likewise.
16755 (FE_INVALID): Likewise.
16756 (FE_TONEAREST): Likewise.
16757 (FE_TOWARDZERO): Likewise.
16758 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16759 (FE_OVERFLOW): Likewise.
16760 (FE_UNDERFLOW): Likewise.
16761 (FE_DIVBYZERO): Likewise.
16762 (FE_INEXACT): Likewise.
16763 (FE_TONEAREST): Likewise.
16764 (FE_TOWARDZERO): Likewise.
16765 (FE_UPWARD): Likewise.
16766 (FE_DOWNWARD): Likewise.
16767 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16768 (FE_DIVBYZERO): Likewise.
16769 (FE_OVERFLOW): Likewise.
16770 (FE_UNDERFLOW): Likewise.
16771 (FE_INEXACT): Likewise.
16772 (FE_TONEAREST): Likewise.
16773 (FE_DOWNWARD): Likewise.
16774 (FE_UPWARD): Likewise.
16775 (FE_TOWARDZERO): Likewise.
16777 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16779 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16781 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16783 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16784 commands. Quote $PWD.
16785 (blacklist_exports): Don't use remove_newlines. Replace "declare
16787 (remove_newlines): Remove.
16789 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16791 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16792 * stdlib/stdlib.h (atof): Moved to ...
16793 * include/bits/stdlib-float.h: Here. New file.
16794 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16795 * stdlib/bits/stdlib-float.h: New file.
16796 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16798 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16801 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16803 * conform/conformtest.pl (@headers): Add fenv.h.
16804 * conform/data/fenv.h-data: New file.
16805 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16806 include of <math/fenv.h>.
16808 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16809 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16810 && !UNIX98]. Enables tests for XOPEN2K8.
16811 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16812 POSIX2008]: Likewise.
16814 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16815 (struct rusage): Do not expect type or its members.
16818 * math/math.h (FP_NAN): Define macro to integer constant usable in
16819 #if and use that to give value to enum constant.
16820 (FP_INFINITE): Likewise.
16821 (FP_ZERO): Likewise.
16822 (FP_SUBNORMAL): Likewise.
16823 (FP_NORMAL): Likewise.
16825 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16827 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16828 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16831 2012-11-02 Roland McGrath <roland@hack.frob.com>
16833 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16834 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16835 autoconf-time if not.
16836 * configure.in: Remove AC_PREREQ.
16838 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16840 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16841 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16842 of the internal implementation.
16844 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16846 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16847 except include of <misc/sys/syslog.h>.
16849 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16852 function returns with a NULL context exit with zero.
16854 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16856 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16858 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16860 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16861 (run_program_cmd): This.
16862 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16863 (tst_langinfo): New variable. Use it.
16865 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16867 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16868 floating point opcodes.
16870 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16872 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16875 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16877 * sysdeps/mach/hurd/powerpc: Remove directory.
16878 * sysdeps/mach/powerpc: Likewise.
16880 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16882 * scripts/check-local-headers.sh: Ignore c++ headers.
16884 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16886 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16887 __libc_cleanup_region_start argument.
16889 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16894 x * y using scaling, not as x * y + z.
16895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16897 * math/libm-test.inc (fma_test): Add more tests.
16898 (fma_test_towardzero): Likewise.
16899 (fma_test_downward): Likewise.
16900 (fma_test_upward): Likewise.
16902 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16904 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16906 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16908 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16911 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16913 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16915 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16922 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16925 Fix the order of the list for glibc 2.17.
16926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16929 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16933 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16936 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16937 for low part of x being zero before using __atanl (y).
16938 * math/libm-test.inc (atan2_test): Add another test.
16940 * manual/install.texi (Configuring and compiling): Document
16941 general use of test-wrapper and test-wrapper-env.
16942 * INSTALL: Regenerated.
16944 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16945 (__fma): Do not extract and scale down low bits on after-rounding
16946 systems when result rounded to normal precision would have normal
16948 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16949 (__fmal): Do not extract and scale down low bits on after-rounding
16950 systems when result rounded to normal precision would have normal
16952 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16953 (__fmal): Do not extract and scale down low bits on after-rounding
16954 systems when result rounded to normal precision would have normal
16956 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16958 (fma_test): Add more tests.
16959 (fma_test_towardzero): Likewise.
16960 (fma_test_downward): Likewise.
16961 (fma_test_upward): Likewise.
16963 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16965 * sysdeps/i386/tininess.h: Renamed to ...
16966 * sysdeps/x86/tininess.h: This.
16967 * sysdeps/x86_64/tininess.h: Removed.
16969 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16971 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16972 input. Use $(build-program-cmd).
16973 ($(objpfx)tst-array1-static.out): Likewise.
16974 ($(objpfx)tst-array2.out): Likewise.
16975 ($(objpfx)tst-array3.out): Likewise.
16976 ($(objpfx)tst-array4.out): Likewise.
16977 ($(objpfx)tst-array5.out): Likewise.
16978 ($(objpfx)tst-array5-static.out): Likewise.
16980 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16982 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16985 * nss/nsswitch.h (nss_interface_function): Provide new
16986 macro for use with NSS functions.
16987 * grp/initgroups.c: Use new macro.
16988 * nss/getXXbyYY.c: Likewise.
16989 * nss/getXXbyYY_r.c: Likewise.
16990 * nss/getXXent.c: Likewise.
16991 * nss/getXXent_r.c: Likewise.
16992 * sysdeps/posix/getaddrinfo.c: Likewise.
16994 2012-10-30 Andreas Jaeger <aj@suse.de>
16996 * po/ru.po: Update Russion translation from translation project.
16998 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17003 result and shift together with sticky bit instead of replicating
17004 round-to-nearest rounding.
17005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17007 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17008 missing underflow exceptions.
17009 (fma_test_towardzero): Add more tests.
17010 (fma_test_downward): Likewise.
17011 (fma_test_upward): Likewise.
17014 * sysdeps/generic/tininess.h: New file.
17015 * sysdeps/i386/tininess.h: Likewise.
17016 * sysdeps/sh/tininess.h: Likewise.
17017 * sysdeps/x86_64/tininess.h: Likewise.
17018 * stdlib/tst-strtod-underflow.c: Likewise.
17019 * stdlib/tst-tininess.c: Likewise.
17020 * stdlib/strtod_l.c: Include <tininess.h>.
17021 (round_and_return): Do not set errno for exact underflow cases.
17022 Force an underflow exception when setting errno for underflow.
17023 Determine underflow based on rounding to normal precision if
17024 TININESS_AFTER_ROUNDING.
17025 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17026 ERANGE for exact underflow cases.
17027 * stdlib/Makefile (tests): Add tst-tininess and
17028 tst-strtod-underflow.
17029 ($(objpfx)tst-tininess): Use $(link-libm).
17030 ($(objpfx)tst-strtod-underflow): Likewise.
17032 2012-10-30 Andreas Jaeger <aj@suse.de>
17035 * elf/Makefile (tests): Remove conditional for have-initfini-array
17036 since this is now always required and the variable does not exist
17038 (tests-static): Likewise.
17039 (modules-names): Likewise.
17041 * po/eo.po: Add Esperanto translation from translation project.
17043 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17044 merged with constructor/destructor.
17045 (init_array): Likewise.
17046 * elf/tst-array2dep.c (fini_array): Likewise.
17047 (init_array): Likewise.
17049 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17051 * manual/message.texi: Delete @cartouche tags.
17053 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17055 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17057 * sysdeps/mach/hurd/fsync.c: Likewise.
17059 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17060 [_POSIX_REALTIME_SIGNALS]: Change condition to
17061 [_POSIX_REALTIME_SIGNALS > 0].
17063 2012-10-27 Andreas Jaeger <aj@suse.de>
17065 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17066 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17068 [__WORDSIZE != 64]: Likewise.
17070 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17072 * iconvdata/tst-table.sh: Remove ${SHELL}.
17073 * iconvdata/tst-tables.sh: Likewise.
17075 2012-10-25 David S. Miller <davem@davemloft.net>
17077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17078 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17083 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17084 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17085 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17088 2012-10-25 Roland McGrath <roland@hack.frob.com>
17090 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17091 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17094 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17095 Jim Blandy <jimb@codesourcery.com>
17097 * scripts/cross-test-ssh.sh: New file.
17098 * manual/install.texi (Configuring and compiling): Document use of
17100 * INSTALL: Regenerated.
17102 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17104 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17107 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17109 * Makeconfig (run-program-prefix): Fix comment.
17111 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17112 Jim Blandy <jimb@codesourcery.com>
17114 * Makeconfig (test-wrapper): New variable,
17115 (test-wrapper-env): Likewise.
17116 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17117 (run-built-tests): Define to yes.
17118 (run-program-prefix): Use $(test-wrapper).
17119 (built-program-cmd): Likewise.
17120 * Rules (make-test-out): Use $(test-wrapper-env) and
17121 $(host-built-program-cmd).
17122 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17123 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17125 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17126 $(test-wrapper-env) to tst-rtld-load-self.sh.
17127 ($(objpfx)order2.out): Use $(test-wrapper).
17128 ($(objpfx)tst-initorder.out): Likewise.
17129 ($(objpfx)tst-initorder2.out): Likewise.
17130 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17131 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17132 (test_wrapper_env): New variable. Use it to run ld.so.
17133 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17134 Use it to run ld.so.
17135 (test_wrapper_env): Likewise.
17136 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17137 $(test-wrapper) to run-iconv-test.sh.
17138 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17139 (ICONV): Use $test_wrapper.
17140 * posix/Makefile ($(objpfx)globtest.out): Pass
17141 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17142 globtest.sh, not $(run-program-prefix).
17143 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17144 (test_wrapper): Likewise.
17145 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17146 set together with run_via_rtld_prefix.
17147 (run_program_prefix): Define in terms of test_wrapper and
17148 run_via_rtld_prefix.
17150 2012-10-24 Roland McGrath <roland@hack.frob.com>
17152 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17153 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17157 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17158 Declare __clock_getres, __clock_gettime, __clock_settime,
17159 __clock_nanosleep, and __clock_getcpuclockid.
17160 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17161 Remove librt_hidden_def (clock_gettime).
17162 * sysdeps/unix/clock_gettime.c: Likewise.
17163 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17164 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17165 * rt/clock_getres.c: Define __clock_getres as an alias.
17166 * sysdeps/posix/clock_getres.c: Likewise.
17167 * rt/clock_settime.c: Define __clock_settime as an alias.
17168 * sysdeps/unix/clock_settime.c: Likewise.
17169 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17170 * sysdeps/unix/clock_nanosleep.c: Likewise.
17171 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17172 * rt/clock-compat.c: New file.
17173 * rt/Makefile (librt-routines): Add clock-compat and move
17174 $(clock-routines) to ...
17175 (routines): ... here, new variable.
17176 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17177 Don't add get_clockfreq here.
17178 * rt/Versions (libc: GLIBC_2.17): New version set.
17179 Add clock_* symbols here.
17180 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17181 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17182 (GLIBC_2.17): Add clock_* symbols.
17183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17185 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17194 * NEWS: Mention the move.
17196 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17197 Use __open, __read, __close rather than their public counterparts.
17198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17199 (__get_clockfreq_via_cpuinfo): Likewise.
17200 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17201 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17203 * config.h.in (HAVE_IFUNC): New #undef.
17204 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17206 * configure: Regenerated.
17208 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17210 * configure.in: Move READELF check to start of file.
17211 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17212 libc_cv_asm_gnu_indirect_function in the process.
17213 * configure: Regenerated.
17215 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17217 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17218 send the output to /dev/null.
17219 (libc_cv_cc_with_libunwind): Likewise.
17220 (libc_cv_as_noexecstack): Likewise.
17221 * configure: Regenerate.
17223 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17225 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17227 * posix/globtest.sh (TMPDIR): Do not set.
17228 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17229 (testout): Likewise.
17231 2012-10-24 Andreas Jaeger <aj@suse.de>
17233 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17234 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17235 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17236 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17237 posix_fadvise64, posix_fallocate64.
17239 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17240 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17241 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17243 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17245 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17248 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17249 <bits/fcntl-linux.h>.
17250 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17253 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17254 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17255 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17256 [__WORDSIZE != 64]: Likewise.
17258 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17260 * Makeconfig (run-built-tests): New variable.
17261 * Rules [$(cross-compiling) = yes]: Change condition to
17262 [$(run-built-tests) = no].
17263 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17264 to [$(run-built-tests) = yes].
17265 * elf/Makefile [$(cross-compiling) = no]: Likewise
17266 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17267 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17268 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17269 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17270 * io/Makefile [$(cross-compiling) = no]: Likewise.
17271 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17272 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17273 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17274 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17275 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17276 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17277 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17278 * string/Makefile [$(cross-compiling) = no]: Likewise.
17280 * posix/Makefile ($(objpfx)globtest.out): Pass
17281 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17282 $(rtld-installed-name).
17283 * posix/globtest.sh (elf_objpfx): Remove variable.
17284 (rtld_installed_name): Likewise.
17285 (library_path): Likewise.
17286 (run_program_prefix): New variable. Use for running globtest
17289 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17290 Joseph Myers <joseph@codesourcery.com>
17292 * Makeconfig (host-built-program-cmd): New variable.
17293 * elf/Makefile (tst-stackguard1-ARGS): Use
17294 $(host-built-program-cmd).
17295 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17296 (tst-spawn-ARGS): Likewise.
17297 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17299 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17300 Jim Blandy <jimb@codesourcery.com>
17302 * Makeconfig (run-via-rtld-prefix): New variable.
17303 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17304 (built-program-cmd): Likewise.
17306 2012-10-22 Andreas Jaeger <aj@suse.de>
17308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17309 __O_RSYNC if it exists, otherwise to O_SYNC.
17311 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17312 Joseph Myers <joseph@codesourcery.com>
17314 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17316 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17318 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17321 2012-10-22 Andreas Jaeger <aj@suse.de>
17323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17328 bits/fcntl-linux.h.
17330 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17331 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17333 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17338 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17339 Joseph Myers <joseph@codesourcery.com>
17341 * config.make.in (NM): New variable.
17343 2012-10-21 Andreas Jaeger <aj@suse.de>
17345 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17346 definitions and declarations that are provided by
17347 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17349 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17352 * elf/Makefile (tests-static): Add tst-leaks1-static.
17353 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17354 ($(objpfx)tst-leaks1-static): New rule.
17355 ($(objpfx)tst-leaks1-static-mem): Likewise.
17356 (tst-leaks1-static-ENV): New macro.
17357 * elf/dl-open.c (dl_open_worker): Check the main application
17358 only if SHARED is defined.
17359 * elf/tst-leaks1-static.c: New file.
17361 2012-10-20 Andreas Jaeger <aj@suse.de>
17363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17364 generic values for Linux.
17365 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17366 and declarations that are provided by <bits/fcntl-linux.h> and
17367 include <bits/fcntl-linux.h>.
17368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17371 2012-10-20 Roland McGrath <roland@hack.frob.com>
17373 * io/fcntl.h: Move include of <bits/types.h> to the top and
17374 include it unconditionally.
17376 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17378 * wcsmbs/Makefile (tests-ifunc): New variable.
17379 (tests): Add $(tests-ifunc).
17380 * wcsmbs/test-wcschr-ifunc.c: New file.
17381 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17382 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17383 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17384 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17385 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17387 * string/Makefile (tests-ifunc): New variable.
17388 (tests): Add $(tests-ifunc).
17389 * string/test-memccpy.c (TEST_NAME): New macro.
17390 * string/test-memchr.c (TEST_NAME): Likewise.
17391 * string/test-memcmp.c (TEST_NAME): Likewise.
17392 * string/test-memcpy.c (TEST_NAME): Likewise.
17393 * string/test-memmem.c (TEST_NAME): Likewise.
17394 * string/test-memmove.c (TEST_NAME): Likewise.
17395 * string/test-memset.c (TEST_NAME): Likewise.
17396 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17397 * string/test-stpcpy.c (TEST_NAME): Likewise.
17398 * string/test-stpncpy.c (TEST_NAME): Likewise.
17399 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17400 * string/test-strcasestr.c (TEST_NAME): Likewise.
17401 * string/test-strcat.c (TEST_NAME): Likewise.
17402 * string/test-strchr.c (TEST_NAME): Likewise.
17403 * string/test-strcmp.c(TEST_NAME): Likewise.
17404 * string/test-strcpy.c (TEST_NAME): Likewise.
17405 * string/test-strcspn.c (TEST_NAME): Likewise.
17406 * string/test-strlen.c (TEST_NAME): Likewise.
17407 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17408 * string/test-strncmp.c (TEST_NAME): Likewise.
17409 * string/test-strncpy.c (TEST_NAME): Likewise.
17410 * string/test-strnlen.c (TEST_NAME): Likewise.
17411 * string/test-strpbrk.c (TEST_NAME): Likewise.
17412 * string/test-strrchr.c (TEST_NAME): Likewise.
17413 * string/test-strspn.c (TEST_NAME): Likewise.
17414 * string/test-strstr.c (TEST_NAME): Likewise.
17415 * string/test-bcopy-ifunc.c: New file.
17416 * string/test-bzero-ifunc.c: Likewise.
17417 * string/test-memccpy-ifunc.c: Likewise.
17418 * string/test-memchr-ifunc.c: Likewise.
17419 * string/test-memcmp-ifunc.c: Likewise.
17420 * string/test-memcpy-ifunc.c: Likewise.
17421 * string/test-memmem-ifunc.c: Likewise.
17422 * string/test-memmove-ifunc.c: Likewise.
17423 * string/test-mempcpy-ifunc.c: Likewise.
17424 * string/test-memset-ifunc.c: Likewise.
17425 * string/test-rawmemchr-ifunc.c: Likewise.
17426 * string/test-stpcpy-ifunc.c: Likewise.
17427 * string/test-stpncpy-ifunc.c: Likewise.
17428 * string/test-strcasecmp-ifunc.c: Likewise.
17429 * string/test-strcasestr-ifunc.c: Likewise.
17430 * string/test-strcat-ifunc.c: Likewise.
17431 * string/test-strchr-ifunc.c: Likewise.
17432 * string/test-strchrnul-ifunc.c: Likewise.
17433 * string/test-strcmp-ifunc.c: Likewise.
17434 * string/test-strcpy-ifunc.c: Likewise.
17435 * string/test-strcspn-ifunc.c: Likewise.
17436 * string/test-strlen-ifunc.c: Likewise.
17437 * string/test-strncasecmp-ifunc.c: Likewise.
17438 * string/test-strncat-ifunc.c: Likewise.
17439 * string/test-strncmp-ifunc.c: Likewise.
17440 * string/test-strncpy-ifunc.c: Likewise.
17441 * string/test-strnlen-ifunc.c: Likewise.
17442 * string/test-strpbrk-ifunc.c: Likewise.
17443 * string/test-strrchr-ifunc.c: Likewise.
17444 * string/test-strspn-ifunc.c: Likewise.
17445 * string/test-strstr-ifunc.c: Likewise.
17447 * debug/Makefile (tests-ifunc): New variable.
17448 (tests): Add $(tests-ifunc).
17449 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17450 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17451 * debug/test-stpcpy_chk-ifunc.c: New file.
17452 * debug/test-strcpy_chk-ifunc.c: Likewise.
17454 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17457 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17458 header is not read in.
17460 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17462 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17463 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17464 directly. Pass built executable to script as
17465 $(built-program-cmd).
17466 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17467 $testprogram without using LD_LIBRARY_PATH and $ldso.
17469 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17470 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17471 $(rtld-installed-name).
17472 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17473 (rtld_installed_name): Likewise.
17474 (library_path): Likewise.
17475 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17476 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17477 $(run-program-prefix) to tst-tables.sh.
17478 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17479 it to run tst-table-from and tst-table-to.
17480 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17481 Pass it to tst-table.sh.
17482 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17483 $(run-program-prefix) to tst-gettext.sh.
17484 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17486 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17488 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17489 to run tst-gettext.
17490 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17491 to run tst-gettext2.
17492 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17493 to run tst-translit.
17494 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17495 $(run-program-prefix) to tst-mtrace.sh.
17496 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17498 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17499 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17500 $(rtld-installed-name).
17501 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17502 (rtld_installed_name): Likewise.
17503 (run_program_prefix): New variable. Use it to run wordexp-test.
17505 * Makeconfig (ARCH): Remove all definitions.
17506 (machine): Likewise.
17507 [ARCH]: Remove conditional code.
17508 [!objdir]: Give error.
17509 [!objdir] (objpfx): Remove.
17510 [!objdir] (common-objpfx): Likewise.
17511 [!objdir] (common-objdir): Likewise.
17512 * configure.in (config_makefile): Remove. Hardcode Makefile in
17513 AC_CONFIG_FILES call.
17514 * configure: Regenerated.
17517 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17519 (testout): Likewise.
17521 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17522 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17523 $(rtld-installed-name).
17524 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17525 (rtld_installed_name): Likwise.
17526 (runit): Remove function.
17527 (run_getconf): New variable, Use it for running getconf binary.
17529 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17532 * string/test-memmem.c (check_result): New function.
17533 (do_one_test): Use it.
17534 (check1): New function.
17535 (test_main): Use it.
17537 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17539 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17541 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17543 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17544 (_G_LSEEK64): Likewise.
17545 (_G_MMAP64): Likewise.
17546 (_G_FSTAT64): Likewise.
17547 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17548 (_G_LSEEK64): Likewise.
17549 (_G_MMAP64): Likewise.
17550 (_G_FSTAT64): Likewise.
17551 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17552 unconditional. Call __mmap64 directly.
17553 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17554 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17555 __lseek64 directly.
17556 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17557 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17559 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17560 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17561 __lseek64 directly.
17562 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17563 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17564 __lseek64 directly.
17565 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17566 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17567 __lseek64 directly.
17568 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17569 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17570 __fxstat64 directly.
17571 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17572 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17574 (freopen64) [!_G_OPEN64]: Remove conditional code.
17575 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17577 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17578 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17580 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17581 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17583 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17584 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17586 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17587 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17589 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17590 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17592 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17593 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17595 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17597 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17600 * manual/memory.texi (Malloc Tunable Parameters): Add note
17601 about free list pointers overwriting some perturb bytes.
17602 Wording suggested by Roland McGrath.
17604 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17606 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17607 (lgamma_test): Likewise.
17608 (tgamma_test): Likewise.
17610 2012-10-16 Florian Weimer <fweimer@redhat.com>
17613 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17614 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17616 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17618 * NEWS: Mention BZ #14716.
17619 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17620 when removing AVAILABLE1_USES_J macro.
17622 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17624 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17625 (__bswap_64): __uint64_t for unsigned 64-bit int.
17627 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17629 * include/string.h (memmem): Declare libc hidden alias.
17630 * string/memmem.c (memmem): Define libc hidden alias.
17631 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17632 __read, __close instead of open, read, close.
17634 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17637 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17639 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17640 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17641 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17643 (__rawmemchr_sse2): Likewise.
17644 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17645 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17646 (__strchr_sse2): Likewise.
17647 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17648 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17649 (__strcasecmp_sse2): Likewise.
17650 (__strncasecmp_sse2): Likewise.
17651 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17652 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17653 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17654 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17655 (__strrchr_sse2): Likewise.
17656 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17658 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17659 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17660 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17661 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17662 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17663 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17664 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17665 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17666 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17667 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17668 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17669 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17670 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17671 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17672 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17673 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17674 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17675 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17676 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17677 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17678 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17679 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17680 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17681 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17682 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17683 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17684 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17685 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17686 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17687 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17689 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17691 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17692 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17693 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17694 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17696 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17698 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17699 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17700 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17701 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17703 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17704 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17705 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17706 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17707 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17708 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17709 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17710 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17711 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17712 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17713 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17714 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17715 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17716 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17717 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17718 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17719 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17720 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17721 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17722 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17723 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17724 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17725 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17726 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17727 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17728 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17729 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17730 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17731 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17732 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17733 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17734 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17735 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17736 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17737 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17738 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17739 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17740 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17741 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17742 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17743 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17745 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17746 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17747 * include/ifunc-impl-list.h: New file.
17748 * misc/ifunc-impl-list.c: Likewise.
17749 * misc/Makefile (routines): Add ifunc-impl-list.
17750 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17751 * string/test-string.h: Include <ifunc-impl-list.h>.
17752 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17753 impl_array): New variables.
17754 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17756 (test_init): Call __libc_ifunc_impl_list to initialize
17757 func_list if TEST_IFUNC and TEST_NAME are defined.
17759 * string/Makefile (strop-tests): Add bcopy and bzero.
17760 * string/test-bcopy.c: New file.
17761 * string/test-bzero.c: Likewise.
17762 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17764 * string/test-memset.c: Support bzero test if TEST_BZERO is
17766 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17768 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17770 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17773 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17775 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17776 * configure: Regenerated.
17778 * Makeconfig (+link-static-before-libc): Don't include
17779 $(link-static-libc).
17781 * libio/libio.h (_IO_pos_t): Remove.
17783 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17785 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17788 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17790 * crypt/crypt-entry.c: Include fips-private.h.
17791 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17792 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17793 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17794 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17796 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17798 * crypt/crypt-private.h: Include stdbool.h.
17799 (_ufc_setup_salt_r): Return bool.
17800 * crypt/crypt-entry.c: Include errno.h.
17801 (__crypt_r): Return NULL with EINVAL for bad salt.
17802 * crypt/crypt_util.c (bad_for_salt): New.
17803 (_ufc_setup_salt_r): Check that salt is long enough and within
17804 the specified alphabet.
17805 * crypt/badsalttest.c: New file.
17806 * crypt/Makefile (tests): Add it.
17807 ($(objpfx)badsalttest): New.
17809 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17811 * NEWS: Add entry for BZ #14602.
17813 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17815 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17817 * math/libm-test.inc: Update comment listing what functions and
17819 (isgreater_test): New function.
17820 (isgreaterequal_test): Likewise.
17821 (isless_test): Likewise.
17822 (islessequal_test): Likewise.
17823 (islessgreater_test): Likewise.
17824 (isunordered_test): Likewise.
17825 (main): Call the new functions.
17827 2012-10-09 Roland McGrath <roland@hack.frob.com>
17829 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17830 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17831 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17832 * sysdeps/i386/configure: Regenerated.
17833 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17834 * sysdeps/mach/configure: Regenerated.
17835 * sysdeps/mach/hurd/configure: Regenerated.
17836 * sysdeps/powerpc/configure: Regenerated.
17837 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17838 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17839 * sysdeps/s390/s390-32/configure: Regenerated.
17840 * sysdeps/s390/s390-64/configure: Regenerated.
17841 * sysdeps/sh/configure: Regenerated.
17842 * sysdeps/sparc/configure: Regenerated.
17843 * sysdeps/unix/sysv/linux/configure: Regenerated.
17844 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17845 * sysdeps/x86_64/configure: Regenerated.
17847 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17848 defined. Don't check if MAP is NULL.
17850 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17852 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17853 (_G_stat64): Likewise.
17854 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17855 (_G_stat64): Likewise.
17856 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17857 instead of struct _G_stat64.
17858 * libio/fileops.c (mmap_remap_check): Likewise.
17859 (decide_maybe_mmap): Likewise.
17860 (_IO_new_file_seekoff): Likewise.
17861 (_IO_file_stat): Likewise.
17862 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17864 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17865 instead of struct _G_stat64.
17866 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17868 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17871 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17873 (CHECK_EOL): New macro.
17874 (two_way_short_needle): Check beginning of haystack for EOL. Use
17876 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17877 Replace with CHECK_EOL.
17878 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17879 Replace with CHECK_EOL.
17881 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17883 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17885 * math/libm-test.inc: Update comment listing what functions and
17887 (finite_test): New function.
17888 (isinf_test): Likewise.
17889 (isnan_test): Likewise.
17890 (fpclassify_test): Test subnormal input.
17891 (isfinite_test): Likewise.
17892 (isnormal_test): Likewise.
17893 (main): Call the new functions.
17895 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17898 * Makerules (%.dynsym): Force C locale when running
17899 $(OBJDUMP) --dynamic-syms.
17901 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17903 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17906 2012-10-06 David S. Miller <davem@davemloft.net>
17908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17909 upper 32-bits of the length value in %o2 since we use branch-on-register
17910 tests which consider the entire 64-bit register.
17912 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17914 * string/test-strstr.c (check2): Add a test for page boundary.
17916 2012-10-05 David S. Miller <davem@davemloft.net>
17918 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17919 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17921 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17923 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17924 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17925 and bzero when HWCAP_SPARC_CRYPTO is present.
17927 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17930 * string/test-strstr.c (check2): New function.
17931 (test_main): Call check2.
17933 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17935 * string/bug-strcasestr1.c (do_test): Moved to ...
17936 * string/test-strcasestr.c (check1): Here. New function.
17937 (do_one_test): Break out result checking code into ...
17938 (check_result): This. New function.
17939 (do_one_test): Call check_result.
17940 (test_main): Call check1.
17941 * string/bug-strchr1.c (do_test): Moved to ...
17942 * string/test-strchr.c (check1): Here. New function.
17943 (do_one_test): Break out result checking code into ...
17944 (check_result): This. New function.
17945 (do_one_test): Call check_result.
17946 (test_main): Call check1.
17947 * string/bug-strstr1.c (main): Moved to ...
17948 * string/test-strstr.c (check1): Here. New function.
17949 (do_one_test): Break out result checking code into ...
17950 (check_result): This. New function.
17951 (do_one_test): Call check_result.
17952 (test_main): Call check1.
17953 * string/bug-strcasestr1.c: Removed.
17954 * string/bug-strchr1.c: Likewise.
17955 * string/bug-strstr1.c: Likewise.
17957 * elf/Makefile (dl-routines): Add hwcaps.
17958 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17959 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17960 (_dl_important_hwcaps): Moved to ...
17961 * elf/dl-hwcaps.c: Here. New file.
17962 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17965 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17966 if IS_IN_rtld isn't defined.
17968 * elf/dl-support.c (_dl_sysinfo_map): New.
17969 Include "get-dynamic-info.h" and "setup-vdso.h".
17970 (_dl_non_dynamic_init): Call setup_vdso.
17971 * elf/dynamic-link.h: Don't include <assert.h>.
17972 (elf_get_dynamic_info): Moved to ...
17973 * elf/get-dynamic-info.h: Here. New file.
17974 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17975 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17976 * elf/setup-vdso.h: Here. New file.
17977 * elf/rtld.c: Include "setup-vdso.h".
17978 (dl_main): Call setup_vdso.
17980 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17982 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17983 creal in comment listing functions tested. List finite, isinf,
17984 isnan, isless, islessequal, isgreater, isgreaterequal,
17985 islessgreater, isunordered, lgamma_r and pow10 as functions and
17986 macros not tested. Mention which functions not tested are aliases
17987 for other functions. Fix typo. Note that signs of NaNs are not
17990 * scripts/config.guess: Update from config.git.
17991 * scripts/config.sub: Likewise.
17993 2012-10-04 Roland McGrath <roland@hack.frob.com>
17995 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17996 * misc/madvise.c (madvise): Renamed to __madvise.
17997 Make madvise a weak alias.
17998 * include/sys/mman.h: Declare __madvise.
17999 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18000 * sysdeps/unix/syscalls.list
18001 (madvise): Make __madvise the strong name, and madvise a weak alias.
18002 * sysdeps/unix/sysv/linux/syscalls.list
18003 (madvise, mmap): Remove redundant entries.
18004 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18005 * malloc/malloc.c (mtrim): Likewise.
18006 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18008 2012-10-03 Roland McGrath <roland@hack.frob.com>
18010 * sysdeps/mach/hurd/dl-cache.c: File removed.
18011 * config.h.in (USE_LDCONFIG): New #undef.
18012 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18013 * configure: Regenerated.
18014 * elf/Makefile (dl-routines): Add dl-cache only under
18015 [$(use-ldconfig) = yes].
18016 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18017 cache on [USE_LDCONFIG].
18018 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18020 * elf/rtld.c (dl_main): Likewise.
18022 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18024 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18025 _SC_LEVEL4_CACHE_LINESIZE.
18027 2012-10-03 Roland McGrath <roland@hack.frob.com>
18029 * sysdeps/unix/bsd/confstr.h: File removed.
18031 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18033 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18036 2012-10-02 Roland McGrath <roland@hack.frob.com>
18038 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18039 Make 'mapoff' field ElfW(Off) rather than off_t.
18041 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18043 * nscd/Makefile: Remove nscd-cflags and all its users.
18044 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18045 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18048 * malloc.c (malloc_printerr): Clarify error message.
18050 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18054 Set bit_FMA_Usable if FMA is supported.
18055 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18057 (bit_FMA4_Usable): Updated.
18058 (index_FMA_Usable): New macro.
18059 (CPUID_FMA): Likewise
18060 (HAS_FMA): Defined with bit_FMA_Usable.
18062 2012-10-01 Roland McGrath <roland@hack.frob.com>
18064 * bits/types.h (__swblk_t): Type removed.
18065 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18066 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18067 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18068 (__SWBLK_T_TYPE): Likewise.
18069 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18070 (__SWBLK_T_TYPE): Likewise.
18071 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18072 (__SWBLK_T_TYPE): Likewise.
18073 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18074 (__SWBLK_T_TYPE): Likewise.
18076 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18077 Honza Horak <hhorak@redhat.com>
18079 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18080 (xdr_mapname): Use YPMAXMAP as maxsize.
18081 (xdr_peername): Use YPMAXPEER as maxsize.
18082 (xdr_keydat): Use YPAXRECORD as maxsize.
18083 (xdr_valdat): Use YPMAXRECORD as maxsize.
18085 2012-10-01 Roland McGrath <roland@hack.frob.com>
18087 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18089 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18090 * csu/init-first.c: ... here.
18091 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18092 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18093 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18094 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18095 * sysdeps/i386/init-first.c: File removed.
18096 * sysdeps/sh/init-first.c: File removed.
18098 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18102 if x * y might underflow to zero and z is zero.
18103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18105 * math/libm-test.inc (min_subnorm_value): New variable.
18106 (fma_test): Add more tests.
18107 (fma_test_towardzero): Likewise.
18108 (fma_test_downward): Likewise
18109 (fma_test_upward): Likewise.
18110 (initialize): Set min_subnorm_value.
18112 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18117 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18118 mode for addition resulting in exact zero.
18119 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18122 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18124 * math/libm-test.inc (fma_test): Add more tests.
18125 (fma_test_towardzero): New function.
18126 (fma_test_downward): Likewise.
18127 (fma_test_upward): Likewise.
18128 (main): Call the new functions.
18130 2012-09-28 David S. Miller <davem@davemloft.net>
18132 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18134 2012-09-28 Roland McGrath <roland@hack.frob.com>
18136 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18137 instead of SIGALRM.
18139 * sysdeps/gnu/_G_config.h: Moved to ...
18140 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18141 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18142 * sysdeps/generic/_G_config.h: ... here.
18144 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18146 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18148 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18149 Conditionalize target on [libnss_test1.so-version].
18151 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18153 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18154 (elfobjdir): Move out of conditionals.
18156 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18157 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18158 (__nss_lookup_function): Conditionalize label remove_from_tree on
18159 [!DO_STATIC_NSS || SHARED], matching its only use.
18161 2012-09-28 David S. Miller <davem@davemloft.net>
18163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18164 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18166 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18168 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18170 when HWCAP_SPARC_CRYPTO is present.
18172 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18174 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18176 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18179 * stdio-common/vfprintf.c (process_string_arg): Revert
18182 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18184 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18186 * stdio-common/tst-sprintf.c: Include <locale.h>
18187 (main): Test sprintf's handling of incomplete multibyte
18190 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18192 * elf/dl-runtime.c (VERSYMIDX): Removed.
18193 * elf/dl-version.c (VERSYMIDX): Likewise.
18194 * elf/do-rel.h (VERSYMIDX): Likewise.
18195 (VALIDX): Likewise.
18196 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18197 * elf/rtld.c (VALIDX): Likewise.
18198 (ADDRIDX): Likewise.
18199 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18200 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18201 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18202 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18203 (VALIDX): Likewise.
18204 (ADDRIDX): Likewise.
18206 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18208 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18210 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18213 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18215 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18216 addresses are in the same scope as 192.0.2/24.
18217 * posix/gai.conf: Document new scope table defaults.
18219 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18222 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18223 for ftell. Compute offsets from write pointers instead.
18224 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18226 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18229 * libio/Makefile (tests): New test case tst-fseek.
18230 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18231 combination works in wide mode.
18232 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18233 state when the external buffer state changes.
18235 2012-09-27 David S. Miller <davem@davemloft.net>
18238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18239 pass reloc->r_addend in as the 'high' argument to
18240 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18244 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18246 * rt/tst-aio2.c: Include <pthread.h>.
18247 * rt/tst-aio3.c: Likewise.
18249 2012-09-27 Steve Ellcey <sellcey@mips.com>
18251 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18253 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18255 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18256 contents on [SHARED].
18258 2012-09-26 Marek Polacek <polacek@redhat.com>
18262 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18263 for C++ and GCC <4.3 as well as for non GCC compilers.
18265 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18269 2012-09-25 Roland McGrath <roland@hack.frob.com>
18271 * Makefile.in (all, install): Declare with .PHONY.
18272 Reported by Michael Hope <michael.hope@linaro.org>.
18274 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18276 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18277 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18279 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18281 (sydep_routines): Add the new and the internal functions.
18282 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18283 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18285 (GLIBC_2.17): Add the new function.
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18287 (GLIBC_2.17): Likewise.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18289 (GLIBC_2.17): Likewise.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18291 (GLIBC_2.17): Likewise.
18292 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18294 2012-09-25 Alan Modra <amodra@gmail.com>
18296 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18297 Add release barrier before setting once_control to say
18298 initialisation is done. Add hints on lwarx. Use macro in
18300 (clear_once_control): Add release barrier.
18302 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18305 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18307 * math/s_clog10.c (__clog10): Likewise.
18308 * math/s_clog10f.c (__clog10f): Likewise.
18309 * math/s_clog10l.c (__clog10l): Likewise.
18310 * math/s_clogf.c (__clogf): Likewise.
18311 * math/s_clogl.c (__clogl): Likewise.
18312 * math/Makefile (libm-calls): Add x2y2m1.
18313 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18314 (__x2y2m1): Likewise.
18315 (__x2y2m1l): Likewise.
18316 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18317 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18322 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18323 * sysdeps/i386/fpu/libm-test-ulps: Update.
18324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18327 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18328 int as type of variable DEPTH.
18329 (glob): Use size_t instead of int as type of variables NEWCOUNT
18332 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18334 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18335 Add s_sincosf-sse2.
18336 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18337 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18338 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18339 macros for using routine as __sincosf_ia32.
18340 Use macro for function declaration and weak_alias.
18341 * sysdeps/i386/fpu/libm-test-ulps: Update.
18343 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18346 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18347 subnormal argument.
18348 * math/s_cexpf.c (__cexpf): Likewise.
18349 * math/s_csinf.c (__csinf): Likewise.
18350 * math/s_csinhf.c (__csinhf): Likewise.
18351 * math/s_ctanf.c (__ctanf): Likewise.
18352 * math/s_ctanhf.c (__ctanhf): Likewise.
18353 * math/s_ccosh.c (__ccoshf): Likewise.
18354 * math/s_cexp.c (__cexpl): Likewise.
18355 * math/s_csin.c (__csin): Likewise.
18356 * math/s_csinh.c (__csinh): Likewise.
18357 * math/s_ctan.c (__ctan): Likewise.
18358 * math/s_ctanh.c (ctanh): Likewise.
18359 * math/s_ccoshl.c (__ccoshl): Likewise.
18360 * math/s_cexpl.c (__cexpl): Likewise.
18361 * math/s_csinl.c (__csinl): Likewise.
18362 * math/s_csinhl.c (__csinhl): Likewise.
18363 * math/s_ctanl.c (__ctanl): Likewise.
18364 * math/s_ctanhl.c (__ctanhl): Likewise.
18366 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18368 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18369 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18370 (_IO_off_t): Define to __off_t, not _G_off_t.
18371 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18372 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18373 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18374 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18375 type of __dummy and __dummy2 fields.
18376 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18377 (_G_ssize_t): Likewise.
18378 (_G_off_t): Likewise.
18379 (_G_pid_t): Likewise.
18380 (_G_uid_t): Likewise.
18381 (_G_wchar_t): Likewise.
18382 (_G_wint_t): Likewise.
18383 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18384 (_G_ssize_t): Likewise.
18385 (_G_off_t): Likewise.
18386 (_G_pid_t): Likewise.
18387 (_G_uid_t): Likewise.
18388 (_G_wchar_t): Likewise.
18389 (_G_wint_t): Likewise.
18390 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18391 (_G_ssize_t): Likewise.
18392 (_G_off_t): Likewise.
18393 (_G_pid_t): Likewise.
18394 (_G_uid_t): Likewise.
18395 (_G_wchar_t): Likewise.
18396 (_G_wint_t): Likewise.
18398 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18400 * malloc/arena.c: Include malloc-sysdep.h.
18401 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18402 is sufficient to shrink the heap or an unmap is needed.
18403 * sysdeps/generic/malloc-sysdep.h: New file. Define
18404 new function check_may_shrink_heap.
18405 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18406 new function check_may_shrink_heap.
18408 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18410 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18413 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18415 * catgets/test-gencat.sh: Add "set -e".
18416 * elf/tst-pathopt.sh: Likewise.
18417 * grp/tst_fgetgrent.sh: Likewise.
18418 * iconvdata/run-iconv-test.sh: Likewise.
18419 * intl/tst-gettext.sh: Likewise.
18420 * intl/tst-gettext2.sh: Likewise.
18421 * intl/tst-gettext4.sh: Likewise.
18422 * intl/tst-gettext6.sh: Likewise.
18423 * intl/tst-translit.sh: Likewise.
18424 * io/ftwtest-sh: Likewise.
18425 * libio/test-freopen.sh: Likewise.
18426 * malloc/tst-mtrace.sh: Likewise.
18427 * posix/globtest.sh: Likewise.
18428 * posix/tst-getconf.sh: Likewise.
18429 * posix/wordexp-tst.sh: Likewise.
18430 * stdio-common/tst-printf.sh: Likewise.
18431 * stdio-common/tst-unbputc.sh: Likewise.
18432 * stdlib/tst-fmtmsg.sh: Likewise.
18433 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18434 * catgets/Makefile: Do not specify -e option when running
18435 testsuite shell scripts.
18436 * elf/Makefile: Likewise.
18437 * grp/Makefile: Likewise.
18438 * iconvdata/Makefile: Likewise.
18439 * intl/Makefile: Likewise.
18440 * io/Makefile: Likewise.
18441 * libio/Makefile: Likewise.
18442 * malloc/Makefile: Likewise.
18443 * posix/Makefile: Likewise.
18444 * stdio-common/Makefile: Likewise.
18445 * stdlib/Makefile: Likewise.
18446 * sysdeps/x86_64/Makefile: Likewise.
18448 * io/ftwtest-sh: Add copyright header.
18449 * posix/globtest.sh: Likewise.
18450 * posix/tst-getconf.sh: Likewise.
18451 * posix/wordexp-tst.sh: Likewise.
18452 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18454 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18457 * Makeconfig (+link): Defined as $(+link-static) if
18458 $(build-shared) isn't yes.
18459 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18461 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18463 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18466 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18467 new chunk size with MALLOC_ALIGN_MASK.
18469 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18472 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18474 (__printf_fphex): Determine rounding using get_rounding_mode and
18476 * stdio-common/tst-printf-round.c (struct hex_test): New
18478 (hex_tests): New variable.
18479 (test_hex_in_one_mode): New function.
18480 (do_test): Also run tests for hex float output.
18482 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18484 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18485 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18486 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18487 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18488 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18489 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18490 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18491 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18493 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18495 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18496 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18497 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18498 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18500 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18503 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18505 * elf/tst-rtld-load-self.sh: New test.
18506 * elf/Makefile: Run it.
18508 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18510 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18511 (tst-writev-ENV): Remove.
18512 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18514 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18516 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18518 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18520 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18522 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18524 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18525 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18526 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18529 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18532 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18533 * config.make.in (have-cpp-asm-debuginfo): Removed.
18534 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18535 * configure: Regenerated.
18537 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18540 * stdio-common/printf_fp.c: Include <stdbool.h> and
18542 (___printf_fp): Determine rounding using get_rounding_mode and
18544 * stdio-common/tst-printf-round.c: New file.
18545 * stdio-common/Makefile (tests): Add tst-printf-round.
18546 (link-libm): New variable.
18547 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18549 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18552 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18553 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18555 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18558 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18560 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18561 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18562 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18563 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18565 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18568 * include/rounding-mode.h: New file.
18569 * sysdeps/generic/get-rounding-mode.h: Likewise.
18570 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18571 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18572 (MAX_VALUE): New macro.
18573 (MIN_VALUE): Likewise.
18574 (overflow_value): New function.
18575 (underflow_value): Likewise.
18576 (round_and_return): Use overflow_value and underflow_value to
18577 determine return values in overflow and underflow cases. Use
18578 round_away to determine rounding depending on rounding mode.
18579 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18580 determine return values in overflow and underflow cases.
18581 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18582 (struct test_results): New structure.
18583 (struct test): Use struct test_results to store expected results
18584 for all rounding modes.
18585 (TEST): Include expected results for all rounding modes.
18586 (test_in_one_mode): New function.
18587 (do_test): Use test_in_one_mode to compute and check results.
18588 Check results for all rounding modes.
18589 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18592 2012-12-09 Allan McRae <allan@archlinux.org>
18594 * sysdeps/i386/fpu/libm-test-ulps: Update
18596 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18598 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18599 (_G_int32_t): Likewise.
18600 (_G_uint16_t): Likewise.
18601 (_G_uint32_t): Likewise.
18602 (_G_HAVE_BOOL): Likewise.
18603 (_G_HAVE_ATEXIT): Likewise.
18604 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18605 (_G_HAVE_IO_FILE_OPEN): Likewise.
18606 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18607 (_G_int32_t): Likewise.
18608 (_G_uint16_t): Likewise.
18609 (_G_uint32_t): Likewise.
18610 (_G_HAVE_BOOL): Likewise.
18611 (_G_HAVE_ATEXIT): Likewise.
18612 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18613 (_G_HAVE_IO_FILE_OPEN): Likewise.
18614 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18615 (_G_int32_t): Likewise.
18616 (_G_uint16_t): Likewise.
18617 (_G_uint32_t): Likewise.
18618 (_G_HAVE_BOOL): Likewise.
18619 (_G_HAVE_ATEXIT): Likewise.
18620 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18621 (_G_HAVE_IO_FILE_OPEN): Likewise.
18623 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18625 * csu/libc-tls.c: Update copyright years.
18627 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18629 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18630 [!_G_USING_THUNKS]: Remove conditional code.
18631 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18632 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18634 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18635 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18636 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18637 (_G_VTABLE_LABEL_PREFIX): Likewise.
18638 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18639 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18640 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18641 (_G_VTABLE_LABEL_PREFIX): Likewise.
18642 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18643 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18644 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18645 (_G_VTABLE_LABEL_PREFIX): Likewise.
18646 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18648 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18650 * libio/Makefile: Include ../Makeconfig before tests.
18651 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18652 only if $(build-shared) is yes.
18654 * iconv/gconv_db.c: Update copyright years.
18656 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18658 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18659 unwind info if defined PIC. Fix special cases description.
18660 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18662 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18664 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18666 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18668 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18670 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18673 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18674 (LDLIBS-tst-chk4): This.
18675 (LDFLAGS-tst-chk5): Renamed to ...
18676 (LDLIBS-tst-chk5): This.
18677 (LDFLAGS-tst-chk6): Renamed to ...
18678 (LDLIBS-tst-chk6): This.
18679 (LDFLAGS-tst-lfschk4): Renamed to ...
18680 (LDLIBS-tst-lfschk4): This.
18681 (LDFLAGS-tst-lfschk5): Renamed to ...
18682 (LDLIBS-tst-lfschk5): This.
18683 (LDFLAGS-tst-lfschk6): Renamed to ...
18684 (LDLIBS-tst-lfschk6): This.
18686 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18687 on $(common-objpfx)soversions.mk.
18689 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18692 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18695 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18697 * malloc/arena.c (arena_get_retry): New function that gets
18698 another arena for the caller to try its request on.
18699 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18700 current arena cannot fulfill the request.
18701 (__libc_memalign): Likewise.
18702 (__libc_memalign): Likewise.
18703 (__libc_pvalloc): Likewise.
18704 (__libc_calloc): Likewise.
18706 2012-09-05 John Tobey <john.tobey@gmail.com>
18709 * manual/arith.texi (Operations on Complex): Fix description
18710 of carg branch cut.
18712 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18715 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18719 * manual/memory.texi (Memory): Make order of menu items match
18722 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18724 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18725 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18726 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18728 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18730 * csu/libc-tls.c (static_dtv): Renamed to ...
18731 (_dl_static_dtv): This. Make it global.
18732 (_dl_initial_dtv): Removed.
18733 (__libc_setup_tls): Updated.
18734 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18735 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18738 2012-09-06 Petr Machata <pmachata@redhat.com>
18740 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18741 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18742 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18743 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18745 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18748 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18749 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18752 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18755 * Makeconfig (link-static-before-libc): Replace $(+prector)
18757 (link-static-after-libc): Replace $(+postctor) with
18759 (link-bounded): Replace $(+prector)/$(+postctor) with
18760 $(+prectorT)/$(+postctorT).
18761 (+prectorT): New macro.
18762 (+postctorT): Likewise.
18764 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18766 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18767 (round_str): Handle values above the maximum for IBM long double
18769 * stdlib/tst-strtod-round.c (tests): Regenerated.
18771 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18773 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18775 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18776 zarch_nohighgprs around the zarch optimized routines.
18777 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18778 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18779 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18782 2012-09-05 David S. Miller <davem@davemloft.net>
18784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18786 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18787 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18788 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18789 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18792 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18794 * malloc/arena.c: Fold copyright years.
18795 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18797 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18799 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18801 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18803 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18805 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18807 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18808 change internal state upon failure.
18810 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18812 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18813 * malloc/memusage.c (mmap): Likewise.
18814 (mmap64, mremap): Likewise. Adjust name in comment.
18816 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18818 * libio/fileops.c: Fix typos in comments.
18819 * libio/oldfileops.c: Likewise.
18820 * libio/wfileops.c: Likewise.
18822 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18825 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18826 (tst-malloc-usable-ENV): Set environment for test case.
18827 * malloc/hooks.c (malloc_check_get_size): New function to get
18829 * malloc/malloc.c (musable): Use malloc_check_get_size.
18830 * malloc/tst-malloc-usable.c: New test case.
18832 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18834 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18836 2012-09-05 Allan McRae <allan@archlinux.org>
18839 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18840 determine header location.
18841 * configure: Regenerated.
18843 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18845 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18847 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18848 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18850 (test): Regenerate.
18852 2012-09-04 David S. Miller <davem@davemloft.net>
18854 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18855 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18856 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18858 2012-09-04 Florian Weimer <fweimer@redhat.com>
18860 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18863 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18865 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18868 * libio/iogetdelim.c: Include <limits.h>.
18869 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18870 + len + 1 would overflow.
18872 2012-09-03 Andreas Jaeger <aj@suse.de>
18874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18875 * sysdeps/i386/fpu/libm-test-ulps: Update.
18877 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18879 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18880 Add s_sinf-sse2, s_conf-sse2.
18882 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18883 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18884 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18885 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18887 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18888 for using routine as __sinf_ia32.
18889 Use macro for function declaration and weak_alias.
18890 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18891 for using routine as __cosf_ia32.
18892 Use macro for function declaration and weak_alias.
18894 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18895 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18897 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18898 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18901 * math/libm-test.inc (cos_test): Add more test cases.
18902 (sin_test): Likewise.
18903 (sincos_test): Likewise.
18905 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18907 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18908 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18910 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18912 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18915 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18916 first element of the GOT.
18917 (elf_machine_load_address): Return the difference between
18918 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18920 2012-09-01 Allan McRae <allan@archlinux.org>
18923 * configure.in (AWK): Require gawk version 3.0 or later.
18924 * configure: Regenerated.
18926 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18928 * sysdeps/unix/sysv/linux/kernel-features.h
18929 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18930 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18931 [__NR_clock_getres]: Make code unconditional.
18932 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18933 (clock_getcpuclockid): Remove code left unreachable by removal of
18935 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18936 code unconditional.
18937 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18938 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18939 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18940 Make code unconditional.
18941 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18942 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18943 * sysdeps/unix/sysv/linux/clock_settime.c
18944 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18946 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18947 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18949 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18952 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18953 scripts/test-installation.pl.
18955 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18956 and $ld_so_version if it is set.
18958 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18961 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18962 failure if reading from procfs failed.
18963 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18965 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18967 * sysdeps/unix/sysv/linux/kernel-features.h
18968 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18969 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18970 Remove conditional code.
18971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18972 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18973 Remove conditional code.
18974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18975 * sysdeps/unix/sysv/linux/i386/fxstat.c
18976 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18978 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18979 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18980 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18981 * sysdeps/unix/sysv/linux/i386/lxstat.c
18982 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18983 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18984 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18985 Remove conditional code.
18986 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18987 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18988 Remove conditional code.
18989 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18990 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18991 <kernel-features.h>.
18992 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18994 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18995 Remove conditional code.
18996 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18997 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18998 Remove conditional.
19000 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19003 * NEWS: Add fixed bug number.
19005 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19008 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19009 underflowing exponent in case of negative sign.
19010 * stdlib/tst-strtod-round-data: Add more tests.
19011 * stdlib/tst-strtod-round.c (tests): Regenerated.
19014 * stdlib/strtod_l.c (NDIG): Remove.
19015 (HEXNDIG): Likewise.
19016 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19017 smallest representable value.
19018 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19019 lie within an exact representation of 1/2 ulp of the result.
19020 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19022 (TENS_P9_IDX): Define unconditionally.
19023 (TENS_P9_SIZE): Likewise.
19024 (TENS_P10_IDX): Likewise.
19025 (TENS_P10_SIZE): Likewise.
19026 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19027 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19028 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19029 entries for 10^2^13 and 10^2^14.
19030 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19031 (TENS_P13_IDX): Define.
19032 (TENS_P13_SIZE): Likewise.
19033 (TENS_P14_IDX): Likewise.
19034 (TENS_P14_SIZE): Likewise.
19035 (_fpioconst_pow10): Change array size to
19036 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19038 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19039 1024]: Add entries for 10^2^13 and 10^2^14.
19040 [LAST_POW10 > _LAST_POW10]: Remove #error.
19041 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19042 (_fpioconst_pow10): Change array size to
19043 FPIOCONST_POW10_ARRAY_SIZE.
19044 * stdlib/gen-fpioconst.c: New file.
19045 * stdlib/gen-tst-strtod-round.c: Likewise.
19046 * stdlib/tst-strtod-round-data: Likewise.
19047 * stdlib/tst-strtod-round.c: Likewise.
19048 * stdlib/Makefile (tests): Add tst-strtod-round.
19051 * stdlib/strtod_l.c: Include <stdint.h>.
19052 (NDEBUG): Do not define.
19053 (round_and_return): Change EXPONENT parameter to type intmax_t.
19054 Rearrange calculations to avoid internal overflow possibilities.
19055 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19056 Rearrange calculations to avoid internal overflow possibilities.
19057 Assert that number fits inside MPNSIZE limbs.
19058 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19059 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19060 calculations and add assertions to avoid internal overflow
19061 possibilities. Add casts to avoid signed/unsigned operations.
19062 * stdlib/tst-strtod-overflow.c: New file.
19063 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19065 2012-08-25 Marek Polacek <polacek@redhat.com>
19067 * time/time.h: Fix some typos in comments.
19069 2012-08-23 Roland McGrath <roland@hack.frob.com>
19071 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19072 * posix/tst-rfc3484-2.c: Likewise.
19073 * posix/tst-rfc3484-3.c: Likewise.
19075 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19077 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19078 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19080 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19082 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19083 #include of fxstatat64.c.
19085 2012-08-22 Roland McGrath <roland@hack.frob.com>
19087 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19088 * shadow/getspent_r.c: Likewise.
19089 * shadow/getspnam.c: Likewise.
19090 * shadow/getspnam_r.c: Likewise.
19091 * gshadow/getsgent.c: Likewise.
19092 * gshadow/getsgent_r.c: Likewise.
19093 * gshadow/getsgnam.c: Likewise.
19094 * gshadow/getsgnam_r.c: Likewise.
19095 * inet/getnetbyad.c: Likewise.
19096 * inet/getnetbyad_r.c: Likewise.
19097 * inet/getnetbynm.c: Likewise.
19098 * inet/getnetbynm_r.c: Likewise.
19099 * inet/getnetent.c: Likewise.
19100 * inet/getnetent_r.c: Likewise.
19101 * inet/getproto.c: Likewise.
19102 * inet/getproto_r.c: Likewise.
19103 * inet/getprtent.c: Likewise.
19104 * inet/getprtent_r.c: Likewise.
19105 * inet/getprtname.c: Likewise.
19106 * inet/getprtname_r.c: Likewise.
19107 * inet/getrpcbyname.c: Likewise.
19108 * inet/getrpcbyname_r.c: Likewise.
19109 * inet/getrpcbynumber.c: Likewise.
19110 * inet/getrpcbynumber_r.c: Likewise.
19111 * inet/getrpcent.c: Likewise.
19112 * inet/getrpcent_r.c: Likewise.
19113 * inet/getaliasent.c: Likewise.
19114 * inet/getaliasent_r.c: Likewise.
19115 * inet/getaliasname.c: Likewise.
19116 * inet/getaliasname_r.c: Likewise.
19117 * nscd/getgrgid_r.c: Likewise.
19118 * nscd/getgrnam_r.c: Likewise.
19119 * nscd/gethstbyad_r.c: Likewise.
19120 * nscd/gethstbynm3_r.c: Likewise.
19121 * nscd/getpwnam_r.c: Likewise.
19122 * nscd/getpwuid_r.c: Likewise.
19123 * nscd/getsrvbynm_r.c: Likewise.
19124 * nscd/getsrvbypt_r.c: Likewise.
19125 * nscd/gai.c: Likewise.
19127 * configure.in (build_nscd): New substituted variable, set
19128 by --disable-build-nscd and defaults to $use_nscd.
19129 * configure: Regenerated.
19130 * config.make.in (build-nscd): New substituted variable.
19131 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19132 Change conditional to require [$(build-nscd) = yes] as well.
19133 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19136 * configure.in (use_nscd): New substituted variable, set by
19137 --disable-nscd. If enabled, define USE_NSCD.
19138 * configure: Regenerated.
19139 * config.h.in: Add USE_NSCD.
19140 * config.make.in (use-nscd): New substituted variable.
19141 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19142 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19143 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19144 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19145 (CFLAGS-getgrnam_r.c): Likewise.
19146 (CFLAGS-initgroups.c): Likewise.
19147 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19148 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19150 * inet/getnetgrent_r.c
19151 (nscd_setnetgrent): New function, broken out of ...
19152 (setnetgrent): ... here. Call it.
19153 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19154 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19155 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19156 * nscd/Makefile (routines, aux): Move definitions after include of
19157 Makeconfig. Conditionalize on [$(use-nscd) != no].
19158 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19159 Conditionalize on [USE_NSCD].
19160 (is_nscd, nscd_init_cb): Likewise.
19161 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19162 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19163 * nss/nss_db/db-init.c: Likewise.
19164 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19166 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19167 (make_request): Use it.
19168 (cache_valid_p): New function.
19169 (__check_pf): Use it.
19170 * NEWS: Add item for --disable-nscd.
19172 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19174 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19175 to support sed >= 4.2.1-20-ga9bf076.
19176 * configure: Regenerated.
19178 2012-08-22 Roland McGrath <roland@hack.frob.com>
19180 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19181 Conditionalize whole body on [IREL].
19183 2012-08-22 Jeff Law <law@redhat.com>
19186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19187 if the family is PF_UNSPEC.
19189 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19191 * Makerules (lib-version): Rename from V.
19192 (install-lib-nosubdir): Change V to lib-version.
19194 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19197 * powerpc32/power6/wcschr.c: New file.
19198 * powerpc32/power6/wcscpy.c: New file.
19199 * powerpc32/power6/wcsrchr.c: New file.
19200 * powerpc64/power6/wcschr.c: New file.
19201 * powerpc64/power6/wcscpy.c: New file.
19202 * powerpc64/power6/wcsrchr.c: New file.
19204 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19206 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19207 (two_way_short_needle): Use it.
19208 * string/strstr.c (AVAILABLE1_USES_J): Define.
19209 * string/strcasestr.c: Likewise.
19211 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19213 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19216 * NEWS: Add an entry.
19217 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19218 define their defaults.
19219 (two_way_short_needle): Detect end-of-string on-the-fly.
19220 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19221 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19222 * string/bug-strcasestr1.c: New test.
19223 * string/Makefile: Run it.
19225 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19228 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19229 the first character.
19231 2012-08-21 Roland McGrath <roland@hack.frob.com>
19233 * csu/elf-init.c (__libc_csu_irel): Function removed.
19234 * csu/libc-start.c (apply_irel): New function.
19235 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19237 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19239 * sysdeps/unix/sysv/linux/kernel-features.h
19240 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19241 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19242 <kernel-features.h>.
19243 [__NR_fadvise64_64]: Make code unconditional.
19244 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19245 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19246 !__NR_fadvise64_64)]: Likewise.
19247 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19248 !__NR_fadvise64_64))]: Likewise.
19249 [__NR_fadvise64]: Make code unconditional.
19250 [!__NR_fadvise64]: Remove conditional code.
19251 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19252 <kernel-features.h>.
19253 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19255 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19258 not include <kernel-features.h>.
19259 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19261 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19263 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19264 include <kernel-features.h>.
19265 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19267 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19270 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19272 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19273 slight instruction rearrangements per scrollpipe analysis.
19274 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19276 2012-08-20 Roland McGrath <roland@hack.frob.com>
19278 * manual/syslog.texi (syslog; vsyslog, closelog):
19279 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19280 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19282 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19283 DSOCAPS to match condition on defining it.
19285 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19287 * sysdeps/unix/sysv/linux/kernel-features.h
19288 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19290 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19291 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19293 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19294 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19296 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19297 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19299 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19300 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19302 * sysdeps/unix/sysv/linux/kernel-features.h
19303 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19304 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19306 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19307 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19308 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19309 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19310 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19311 Make code unconditional.
19312 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19313 (__mmap64) [!__NR_mmap2]: Likewise.
19314 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19315 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19316 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19317 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19318 [__NR_mmap2]: Make code unconditional.
19319 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19320 (__mmap64) [!__NR_mmap2]: Likewise.
19322 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19324 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19326 2012-08-18 Andreas Jaeger <aj@suse.de>
19328 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19330 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19332 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19333 * include/unistd.h (__have_sock_cloexec): Likewise.
19334 (__have_pipe2): Likewise.
19335 (__have_dup3): Likewise.
19337 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19340 * include/unistd.h (__have_pipe2): Change define into an extern int.
19341 (__have_dup3): Likewise.
19342 * socket/have_sock_cloexec.c: Include fcntl.h.
19343 (__have_pipe2): New variable.
19344 (__have_dup3): Likewise.
19346 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19348 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19350 2012-08-17 Marek Polacek <polacek@redhat.com>
19352 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19353 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19355 2012-08-17 Roland McGrath <roland@hack.frob.com>
19357 * configure.in: Add AC_SUBST for sysheaders.
19358 * configure: Regenerated.
19359 * config.make.in (sysheaders): New substituted variable.
19361 * sysdeps/unix/mkfifo.c: Moved ...
19362 * sysdeps/posix/mkfifo.c: ... here.
19363 * sysdeps/unix/mkfifoat.c: Moved ...
19364 * sysdeps/posix/mkfifoat.c: ... here.
19366 * sysdeps/unix/utime.c: Moved ...
19367 * sysdeps/posix/utime.c: ... here.
19369 * sysdeps/unix/time.c: Moved ...
19370 * sysdeps/posix/time.c: ... here.
19371 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19372 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19374 * sysdeps/unix/nice.c: Moved ...
19375 * sysdeps/posix/nice.c: ... here.
19377 * sysdeps/unix/alarm.c: Moved ...
19378 * sysdeps/posix/alarm.c: ... here.
19380 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19382 2012-08-17 Jeff Law <law@redhat.com>
19384 * intl/Makefile (codeset_mo): New variable.
19385 ($(codeset_mo)): New target.
19386 (tst-codeset.out): Depend on that. Remove explicit rule.
19387 (tst-gettext3.out, tst-gettext5.out): Likewise.
19388 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19389 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19390 * intl/tst-codeset.sh: Remove.
19391 * intl/tst-gettext3.sh: Likewise.
19392 * intl/tst-gettext5.sh: Likewise.
19394 2012-08-17 Roland McGrath <roland@hack.frob.com>
19396 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19397 * sysdeps/unix/syscalls.list: ... here.
19399 * sysdeps/posix/getaddrinfo.c
19400 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19401 (gaiconf_init, gaiconf_reload): Use them.
19402 [!_STATBUF_ST_NSEC]
19403 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19404 Define using time_t rather than struct timespec.
19406 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19407 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19409 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19411 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19412 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19415 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19416 __libc_cleanup_push argument.
19418 * bits/param.h: New file.
19419 * misc/sys/param.h: New file.
19420 * include/sys/param.h: New file.
19421 * misc/Makefile (headers): Add bits/param.h.
19422 * sysdeps/generic/sys/param.h: File removed.
19423 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19424 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19425 * sysdeps/mach/hurd/bits/param.h: New file.
19426 * sysdeps/mach/hurd/sys/param.h: File removed.
19428 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19431 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19433 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19434 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19437 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19438 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19439 rather than -D_IO_MTSAFE_IO conditionally.
19440 * stdio-common/Makefile (CPPFLAGS): Likewise.
19441 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19442 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19443 Use $(libio-mtsafe).
19444 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19445 of -D_IO_MTSAFE_IO.
19446 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19447 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19448 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19449 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19450 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19451 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19452 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19453 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19454 (CFLAGS-fread_u_chk.c): Likewise.
19455 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19456 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19457 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19458 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19459 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19460 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19461 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19462 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19463 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19465 * libio/Makefile: Test [$(libc-reentrant) = yes]
19466 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19469 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19470 * sysdeps/pthread/configure: File removed.
19471 * sysdeps/pthread/Makeconfig: New file.
19472 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19473 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19475 2012-08-16 Gary Benson <gbenson@redhat.com>
19477 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19478 unmapping the first object in a namespace.
19480 2012-08-16 Roland McGrath <roland@hack.frob.com>
19482 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19483 (__internal_setnetgrent): ... this. Add internal_function to
19484 definition. Add libc_hidden_def.
19485 (setnetgrent): Update caller.
19486 (internal_endnetgrent): Renamed to ...
19487 (__internal_endnetgrent): ... this. Add internal_function to
19488 definition. Add libc_hidden_def.
19489 (endnetgrent): Update caller.
19490 (internal_getnetgrent_r): Renamed to ...
19491 (__internal_getnetgrent_r): ... this. Add internal_function to
19492 definition. Add libc_hidden_def.
19493 (__getnetgrent_r): Update caller.
19494 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19496 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19498 * stdlib/longlong.h: Update from GCC.
19500 2012-08-16 Roland McGrath <roland@hack.frob.com>
19502 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19503 on _QL, which is set by umul_ppmm but never used.
19504 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19505 variables, which are set by GMP macros but never used.
19506 * stdio-common/_itowa.c (_itowa): Likewise.
19507 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19508 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19510 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19512 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19513 struct La_sh_regs is not constant.
19514 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19515 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19516 and struct La_sparc64_regs are not constant.
19518 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19520 * sysdeps/unix/sysv/linux/kernel-features.h
19521 (__ASSUME_POSIX_TIMERS): Remove.
19522 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19523 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19524 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19525 Make code unconditional.
19526 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19527 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19528 Make code unconditional.
19529 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19530 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19531 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19532 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19533 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19534 Make code unconditional.
19535 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19536 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19537 (__libc_missing_posix_timers): Remove.
19539 2012-08-15 Roland McGrath <roland@hack.frob.com>
19541 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19542 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19544 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19546 * elf/dl-sym.c: Include <stdlib.h>.
19548 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19549 constants, which avoids warnings in 32-bit builds.
19551 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19552 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19554 * misc/lseek.c: File moved to ...
19555 * io/lseek.c: ... here.
19557 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19559 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19560 shifting LEN more than 31 bits at once.
19562 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19565 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19566 segmentation fault for a case of two empty input strings.
19567 * string/test-strncasecmp.c (check1): Renamed to...
19568 (bz12205): ...this.
19569 (bz14195): Add new testcase for two empty input strings and N > 0.
19570 (test_main): Call new testcase, adapt for renamed function.
19572 2012-08-15 Andreas Jaeger <aj@suse.de>
19575 * crypt/md5test2.c: New test, based on test supplied by Serge
19576 Belyshev <belyshev@depni.sinp.msu.ru>.
19577 * crypt/Makefile (xtests): Add md5test-giant..
19578 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19580 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19583 * crypt/md5.c (md5_process_block): Don't assume the buffer
19584 length is less than 2**32.
19585 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19586 length is less than 2**64.
19588 2012-08-15 Roland McGrath <roland@hack.frob.com>
19590 * string/str-two-way.h: Include <sys/param.h>.
19591 (MAX): Macro removed.
19593 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19594 Move #define and #undef of memmove to just before and after
19595 including <string.h>.
19597 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19598 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19599 and after including <string.h>. Move declarations of
19600 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19601 to before #include "string/memmove.c".
19603 * include/dirent.h: Declare __getdirentries.
19605 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19606 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19608 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19610 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19611 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19612 * sysdeps/i386/configure: Regenerated.
19613 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19614 STABS_CURRENT_FILE, and STABS_FUN.
19615 (END): Remove call to STABS_FUN_END.
19616 (STABS_CURRENT_FILE1): Delete.
19617 (STABS_CURRENT_FILE): Likewise.
19618 (STABS_FUN): Likewise.
19619 (STABS_FUN_END): Likewise.
19620 (STABS_FUN2): Likewise.
19621 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19622 * sysdeps/x86_64/configure: Regenerated.
19624 2012-08-14 Roland McGrath <roland@hack.frob.com>
19626 * elf/dl-open.c: Include <atomic.h>.
19627 * elf/dl-lookup.c: Likewise.
19629 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19631 * sysdeps/unix/sysv/linux/kernel-features.h
19632 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19633 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19635 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19637 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19638 condition on __ASSUME_CLONE_THREAD_FLAGS.
19640 2012-08-14 Andreas Jaeger <aj@suse.de>
19642 * sysdeps/i386/fpu/libm-test-ulps: Update.
19644 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19646 * include/atomic.h (atomic_exchange_and_add): Split into ...
19647 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19650 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19654 2012-08-13 Jeff Law <law@redhat.com>
19656 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19657 null byte in the output string.
19659 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19661 * sysdeps/unix/sysv/linux/kernel-features.h
19662 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19663 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19664 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19665 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19666 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19667 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19668 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19670 2012-08-09 Jeff Law <law@redhat.com>
19673 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19674 When avoid_arena is set, don't retry in the that arena. Pick the
19675 next one, whatever it might be.
19676 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19677 (arena_lock): Pass in new parameter to arena_get2.
19678 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19680 (__libc_malloc): Unify retrying after main arena failure with
19681 __libc_memalign version.
19682 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19684 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19687 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19688 to __redirect_strstr.
19689 (__strstr_sse42): Use typeof __redirect_strstr.
19690 (__strstr_ia32): Likewise.
19691 (__libc_strstr): New prototype.
19692 (strstr): Renamed to ...
19693 (__libc_strstr): This.
19694 (strstr): New strong alias of __libc_strstr.
19695 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19696 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19699 (__libc_time): New prototype.
19700 (time_ifunc): Replace time with __libc_time.
19701 (time): New strong alias and hidden definition of __libc_time.
19702 (__GI_time): Remove strong alias.
19703 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19704 Include <stddef.h>.
19705 (memmove): Redefined to __redirect_memmove.
19706 (__memmove_sse2): Use typeof __redirect_memmove.
19707 (__memmove_ssse3): Likewise.
19708 (__memmove_ssse3_back): Likewise.
19709 (__libc_memmove): New prototype.
19710 (memmove): Renamed to ...
19711 (__libc_memmove): This.
19712 (memmove): New strong alias of __libc_memmove.
19714 2012-08-08 Mark Salter <msalter@redhat.com>
19717 (R_MN10300_TLS_GD): Define.
19718 (R_MN10300_TLS_LD): Likewise.
19719 (R_MN10300_TLS_LDO): Likewise.
19720 (R_MN10300_TLS_GOTIE): Likewise.
19721 (R_MN10300_TLS_IE): Likewise.
19722 (R_MN10300_TLS_LE): Likewise.
19723 (R_MN10300_TLS_DTPMOD): Likewise.
19724 (R_MN10300_TLS_DTPOFF): Likewise.
19725 (R_MN10300_TLS_TPOFF): Likewise.
19726 (R_MN10300_SYM_DIFF): Likewise.
19727 (R_MN10300_ALIGN): Likewise.
19728 (R_MN10300_NUM): Update.
19730 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19732 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19735 2012-08-08 Roland McGrath <roland@hack.frob.com>
19737 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19739 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19740 sysdeps/unix -> sysdeps/posix move.
19741 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19743 2012-08-07 Allan McRae <allan@archlinux.org>
19746 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19747 (SUNOS_CPP): Likewise.
19748 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19750 (open_input): Call CPP using execvp.
19752 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19754 * sysdeps/unix/sysv/linux/kernel-features.h
19755 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19756 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19757 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19758 (__ASSUME_WAITID_SYSCALL): Likewise.
19759 * sysdeps/unix/sysv/linux/dl-execstack.c
19760 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19761 code unconditional.
19762 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19764 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19765 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19766 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19768 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19770 [__ASSUME_WAITID_SYSCALL]: Likewise.
19771 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19773 2012-08-07 Roland McGrath <roland@hack.frob.com>
19775 * sysdeps/unix/closedir.c: Renamed to ...
19776 * sysdeps/posix/closedir.c: ... here.
19777 * sysdeps/unix/dirfd.c: Renamed to ...
19778 * sysdeps/posix/dirfd.c: ... here.
19779 * sysdeps/unix/dirstream.h: Renamed to ...
19780 * sysdeps/posix/dirstream.h: ... here.
19781 * sysdeps/unix/fdopendir.c: Renamed to ...
19782 * sysdeps/posix/fdopendir.c: ... here.
19783 * sysdeps/unix/opendir.c: Renamed to ...
19784 * sysdeps/posix/opendir.c: ... here.
19785 * sysdeps/unix/readdir.c: Renamed to ...
19786 * sysdeps/posix/readdir.c: ... here.
19787 * sysdeps/unix/readdir_r.c: Renamed to ...
19788 * sysdeps/posix/readdir_r.c: ... here.
19789 * sysdeps/unix/rewinddir.c: Renamed to ...
19790 * sysdeps/posix/rewinddir.c: ... here.
19791 * sysdeps/unix/seekdir.c: Renamed to ...
19792 * sysdeps/posix/seekdir.c: ... here.
19793 * sysdeps/unix/telldir.c: Renamed to ...
19794 * sysdeps/posix/telldir.c: ... here.
19795 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19796 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19797 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19798 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19800 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19801 * bits/fcntl.h: ... here.
19803 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19805 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19806 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19807 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19808 (struct flock): Move l_start, l_len to the beginning.
19809 Use __pid_t for l_pid.
19810 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19811 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19812 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19813 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19814 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19815 [__USE_LARGEFILE64] (struct flock64): New type.
19816 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19818 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19819 * bits/dirent.h: ... here.
19821 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19822 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19824 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19826 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19827 Change from 2.6.0 to 2.6.16.
19828 * sysdeps/unix/sysv/linux/configure: Regenerated.
19829 * sysdeps/unix/sysv/linux/kernel-features.h
19830 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19831 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19833 (__ASSUME_UTIMES): Likewise.
19834 (__ASSUME_CLONE_STOPPED): Remove.
19835 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19836 architectures, not kernel version.
19837 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19838 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19839 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19840 (__ASSUME_WAITID_SYSCALL): Likewise.
19841 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19842 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19843 * README: State 2.6.16 as minimum Linux kernel version. Do not
19844 refer to older versions.
19846 2012-08-06 Roland McGrath <roland@hack.frob.com>
19848 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19849 Define alphasort64 as an alias.
19850 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19851 Define versionsort64 as an alias.
19852 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19853 Define scandir64 as an alias.
19854 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19855 Define scandirat64 as an alias.
19856 * dirent/alphasort64.c (alphasort64):
19857 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19858 * dirent/versionsort64.c: Likewise.
19859 * dirent/scandir64.c: Likewise.
19860 * dirent/scandirat64.c: Likewise.
19861 * sysdeps/wordsize-64/alphasort.c: File removed.
19862 * sysdeps/wordsize-64/alphasort64.c: File removed.
19863 * sysdeps/wordsize-64/scandir.c: File removed.
19864 * sysdeps/wordsize-64/scandir64.c: File removed.
19865 * sysdeps/wordsize-64/scandirat.c: File removed.
19866 * sysdeps/wordsize-64/scandirat64.c: File removed.
19867 * sysdeps/wordsize-64/versionsort.c: File removed.
19868 * sysdeps/wordsize-64/versionsort64.c: File removed.
19869 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19870 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19871 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19872 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19873 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19874 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19875 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19876 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19878 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19880 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19882 [defined __arch64__ || defined __sparcv9]
19883 (__INO_T_MATCHES_INO64_T): New macro.
19884 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19885 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19886 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19887 * sysdeps/unix/sysv/linux/bits/dirent.h
19888 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19889 (_DIRENT_MATCHES_DIRENT64): New macro.
19891 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19892 Define lockf64 as an alias.
19893 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19894 Define fseeko64 as an alias.
19895 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19896 Define ftello64 as an alias.
19897 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19898 Define _IO_fgetpos64 and fgetpos64 as aliases.
19899 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19900 Define _IO_fsetpos64 and fsetpos64 as aliases.
19901 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19902 Conditionalize body on this.
19903 * libio/fseeko64.c: Likewise.
19904 * libio/ftello64.c: Likewise.
19905 * libio/iofgetpos64.c: Likewise.
19906 * libio/iofsetpos64.c: Likewise.
19907 * sysdeps/wordsize-64/lockf.c: File removed.
19908 * sysdeps/wordsize-64/lockf64.c: File removed.
19909 * sysdeps/wordsize-64/fseeko.c: File removed.
19910 * sysdeps/wordsize-64/fseeko64.c: File removed.
19911 * sysdeps/wordsize-64/ftello.c: File removed.
19912 * sysdeps/wordsize-64/ftello64.c: File removed.
19913 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19914 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19915 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19916 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19917 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19918 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19919 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19920 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19921 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19922 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19923 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19924 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19925 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19926 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19928 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19929 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19930 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19932 [defined __arch64__ || defined __sparcv9]
19933 (__OFF_T_MATCHES_OFF64_T): New macro.
19934 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19935 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19937 (__OFF_T_MATCHES_OFF64_T): New macro.
19939 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19941 * stdlib/secure-getenv.c (__secure_getenv): Replace
19942 GLIBC_2_16 with GLIBC_2_17.
19944 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19946 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19947 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19949 2012-08-03 David S. Miller <davem@davemloft.net>
19951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19953 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19955 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19957 (__ASSUME_CORRECT_SI_PID): Likewise.
19958 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19959 (__ASSUME_TMPFS_NAME): Likewise.
19960 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19961 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19962 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19963 (HAVE_AUX_SECURE): Make definition unconditional.
19964 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19965 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19967 2012-08-03 Roland McGrath <roland@hack.frob.com>
19969 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19970 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19971 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19972 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19973 __eloop_threshold instead of SYMLOOP_MAX.
19975 * sysdeps/generic/eloop-threshold.h: New file.
19976 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19978 * elf/chroot_canon.c (chroot_canon): Likewise.
19980 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19983 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19984 Change to 2.6.0 everywhere.
19985 * sysdeps/unix/sysv/linux/configure: Regenerated.
19986 * sysdeps/unix/sysv/linux/kernel-features.h
19987 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19988 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19990 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19991 (__ASSUME_FUTEX_REQUEUE): Remove.
19992 (__ASSUME_STATFS64): Define unconditionally.
19993 (__ASSUME_AT_SECURE): Likewise.
19994 (__ASSUME_CORRECT_SI_PID): Likewise.
19995 (__ASSUME_TGKILL): Define without depending on kernel version for
19997 (__ASSUME_UTIMES): Likewise.
19998 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20000 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20001 (__ASSUME_TMPFS_NAME): Likewise.
20002 * README: Update reference to Linux kernel versions.
20004 2012-08-02 Marek Polacek <polacek@redhat.com>
20007 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20008 libc_cv_asm_type_prefix with %.
20009 * configure: Regenerated.
20010 * include/libc-symbols.h: Remove comment about
20011 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20012 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20013 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20014 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20015 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20016 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20017 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20018 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20019 * elf/tst-unique2mod1.c: Likewise.
20020 * elf/tst-unique1mod2.c: Likewise.
20021 * elf/tst-unique1mod1.c: Likewise.
20022 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20023 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20024 Replace ASM_TYPE_DIRECTIVE with .type.
20025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20026 * sysdeps/i386/sysdep.h: Likewise.
20027 * sysdeps/x86_64/sysdep.h: Likewise.
20028 * sysdeps/sh/sysdep.h: Likewise.
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20030 Do not define ASM_TYPE_DIRECTIVE.
20031 * sysdeps/powerpc/sysdep.h: Likewise.
20032 * sysdeps/powerpc/powerpc32/sysdep.h:
20033 Replace ASM_TYPE_DIRECTIVE with .type.
20034 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20035 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20036 * sysdeps/i386/fpu/e_powf.S: Likewise.
20037 * sysdeps/i386/fpu/e_expl.S: Likewise.
20038 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20039 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20040 * sysdeps/i386/fpu/e_pow.S: Likewise.
20041 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20042 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20043 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20044 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20045 * sysdeps/i386/fpu/e_log2.S: Likewise.
20046 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20047 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20048 * sysdeps/i386/fpu/e_powl.S: Likewise.
20049 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20050 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20051 * sysdeps/i386/fpu/e_logl.S: Likewise.
20052 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20053 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20054 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20055 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20056 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20057 * sysdeps/i386/fpu/e_log.S: Likewise.
20058 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20059 * sysdeps/i386/fpu/e_logf.S: Likewise.
20060 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20061 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20062 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20063 * sysdeps/i386/fpu/e_log10.S: Likewise.
20064 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20065 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20066 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20067 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20068 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20069 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20070 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20071 * sysdeps/i386/i686/strtok.S: Likewise.
20072 * sysdeps/i386/i386-mcount.S: Likewise.
20073 * sysdeps/i386/strtok.S: Likewise.
20074 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20075 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20076 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20077 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20078 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20079 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20080 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20081 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20082 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20083 * sysdeps/x86_64/_mcount.S: Likewise.
20084 * sysdeps/x86_64/strtok.S: Likewise.
20085 * sysdeps/sh/_mcount.S: Likewise.
20087 2012-08-01 Roland McGrath <roland@hack.frob.com>
20089 * libio/iofopen.c: Include <fcntl.h>.
20090 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20091 (_IO_fopen64, fopen64): Define as aliases.
20092 * libio/iofopen64.c: Include <fcntl.h>.
20093 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20094 Conditionalize body on this.
20095 * sysdeps/wordsize-64/iofopen.c: File removed.
20096 * sysdeps/wordsize-64/iofopen64.c: File removed.
20098 2012-08-01 Marek Polacek <polacek@redhat.com>
20100 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20101 Use dlfcn directly instead of a variable.
20102 (binfmt-subdir): Do not define.
20105 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20107 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20108 Remove all definitions.
20109 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20110 <kernel-features.h>.
20111 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20112 (miss_F_GETOWN_EX): Remove all definitions.
20113 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20115 [!__ASSUME_FCNTL64]: Remove conditional code.
20116 [__ASSUME_FCNTL64]: Make code unconditional.
20117 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20118 <kernel-features.h>.
20119 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20120 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20121 (lockf64) [__NR_fcntl64]: Make code unconditional.
20122 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20124 * sysdeps/unix/sysv/linux/kernel-features.h
20125 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20126 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20127 Make code unconditional.
20128 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20129 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20131 [__NR_vfork]: Make code unconditional.
20132 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20133 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20135 [__NR_vfork]: Make code unconditional.
20136 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20137 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20139 2012-08-01 Roland McGrath <roland@hack.frob.com>
20141 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20142 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20144 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20145 Define mkstemp64 as an alias.
20146 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20147 Define mkstemps64 as an alias.
20148 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20149 Define mkostemp64 as an alias.
20150 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20151 Define mkostemps64 as an alias.
20152 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20153 Conditionalize body on this.
20154 * misc/mkostemp64.c: Likewise.
20155 * misc/mkostemps64.c: Likewise.
20156 * misc/mkstemps64.c: Likewise.
20157 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20158 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20159 * sysdeps/wordsize-64/mkostemp.c: File removed.
20160 * sysdeps/wordsize-64/mkstemp.c: File removed.
20161 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20162 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20163 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20164 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20167 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20168 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20169 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20170 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20172 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20173 compat_symbol macros from <shlib-compat.h> rather than the underlying
20174 default_symbol_version and symbol_version macros, so that DEFAULT
20175 lines in shlib-versions are respected.
20176 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20178 2012-08-01 Florian Weimer <fweimer@redhat.com>
20180 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20181 Declare with warn_unused_result.
20182 (setgid, setregid, setegid, setresgid): Likewise.
20183 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20185 * WUR-REPORT: Remove set*id functions.
20187 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20189 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20191 2012-07-31 Roland McGrath <roland@hack.frob.com>
20194 * include/sys/socket.h (__libc_accept, __libc_accept4):
20195 Add attribute_hidden.
20196 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20198 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20200 * inet/getnetgrent_r.c (setup): Likewise.
20202 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20204 2012-07-31 David S. Miller <davem@davemloft.net>
20206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20208 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20211 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20212 value between 1.0 and 2.0 and smaller part has absolute value less
20214 * math/s_clog10.c (__clog10): Likewise.
20215 * math/s_clog10f.c (__clog10f): Likewise.
20216 * math/s_clog10l.c (__clog10l): Likewise.
20217 * math/s_clogf.c (__clogf): Likewise.
20218 * math/s_clogl.c (__clogl): Likewise.
20219 * math/libm-test.inc (clog_test): Add more tests.
20220 (clog10_test): Likewise.
20221 * sysdeps/i386/fpu/libm-test-ulps: Update.
20222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20224 2012-07-31 Florian Weimer <fweimer@redhat.com>
20226 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20227 Exit with zero in case no suitable GID is found, and write a
20228 message to standard error.
20230 2012-07-30 Roland McGrath <roland@hack.frob.com>
20232 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20234 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20235 (MAXPATHLEN): Removed.
20236 (NOGROUP, NODEV): New macros.
20237 (setbit, clrbit, isset, isclr): New macros.
20238 (howmany, roundup, powerof2): New macros.
20239 (DEV_BSIZE): New macro.
20241 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20242 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20244 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20245 definition on [!__NO_LONG_DOUBLE_MATH].
20247 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20248 PTR_MANGLE and PTR_DEMANGLE.
20250 * socket/accept4.c (accept4): Rename to __libc_accept4.
20251 Define accept4 as a weak alias.
20253 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20254 on [_DIRENT_HAVE_D_TYPE].
20255 * io/ftw.c (ftw_dir): Likewise.
20257 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20259 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20261 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20262 Use the BSD numbers rather than the arbitrary ones we had.
20263 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20264 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20265 (SIGXCPU, SIGXFSZ): New macros.
20268 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20269 initializer on [_LIBC_REENTRANT].
20271 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20272 definitions inside [_POSIX_MAPPED_FILES].
20274 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20276 * dirent/opendir.c: Include <fcntl.h>.
20278 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20279 (__libc_getspecific): Likewise.
20280 (__libc_key_create): Likewise.
20282 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20283 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20284 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20285 (tmpfile64): Define as alias.
20286 * sysdeps/wordsize-64/tmpfile.c: File removed.
20287 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20288 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20289 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20291 * stdio-common/vfscanf.c: Include <stdbool.h>.
20292 * nss/makedb.c: Likewise.
20293 * stdio-common/_i18n_number.h: Likewise.
20294 * argp/argp-help.c: Likewise.
20295 * posix/wordexp.c: Likewise.
20296 * sysdeps/posix/spawni.c: Likewise.
20297 * nss/nss_files/files-initgroups.c: Likewise.
20298 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20299 * nss/nss_files/files-initgroups.c: Likewise.
20300 * nss/nss_db/db-netgrp.c: Likewise.
20301 * nss/nss_db/db-initgroups.c: Likewise.
20302 * io/fchmodat.c: Include <sys/stat.h>.
20304 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20305 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20307 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20310 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20311 Add multiple inclusion protection.
20313 2012-07-27 David S. Miller <davem@davemloft.net>
20315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20317 2012-07-27 Gary Benson <gbenson@redhat.com>
20320 * elf/rtld.c: Include <stap-probe.h>.
20321 (dl_main): Added static probes "init_start" and "init_complete".
20322 * elf/dl-load.c: Include <stap-probe.h>.
20323 (lose): Take new parameter "nsid".
20324 Added static probe "map_failed".
20325 (_dl_map_object_from_fd): Pass namespace id to lose.
20326 Added static probe "map_start".
20327 (open_verify): Pass namespace id to lose.
20328 * elf/dl-open.c: Include <stap-probe.h>.
20329 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20330 and "reloc_complete".
20331 * elf/dl-close.c: Include <stap-probe.h>.
20332 (_dl_close_worker): Added static probes "unmap_start" and
20334 * elf/rtld-debugger-interface.txt: New file documenting the above.
20336 2012-07-26 Roland McGrath <roland@hack.frob.com>
20338 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20339 rather than a string variable.
20340 * sunrpc/rpc_main.c (h_output): Likewise.
20341 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20343 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20345 * inet/check_native.c: New file.
20347 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20350 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20351 if larger part has absolute value 1.0.
20352 * math/s_clog10.c (__clog10): Likewise.
20353 * math/s_clog10f.c (__clog10f): Likewise.
20354 * math/s_clog10l.c (__clog10l): Likewise.
20355 * math/s_clogf.c (__clogf): Likewise.
20356 * math/s_clogl.c (__clogl): Likewise.
20357 * math/libm-test.inc (clog_test): Add more tests.
20358 (clog10_test): Likewise.
20359 * sysdeps/i386/fpu/libm-test-ulps: Update.
20360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20362 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20363 (pltexit): Likewise.
20364 (La_regs): Likewise.
20365 (La_retval): Likewise.
20366 (int_retval): Likewise.
20367 Update #error for removed macros to refer only to definitions in
20369 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20371 (pltexit): Likewise.
20372 (La_regs): Likewise.
20373 (La_retval): Likewise.
20374 (int_retval): Likewise.
20375 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20377 (pltexit): Likewise.
20378 (La_regs): Likewise.
20379 (La_retval): Likewise.
20380 (int_retval): Likewise.
20381 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20383 (pltexit): Likewise.
20384 (La_regs): Likewise.
20385 (La_retval): Likewise.
20386 (int_retval): Likewise.
20387 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20389 (pltexit): Likewise.
20390 (La_regs): Likewise.
20391 (La_retval): Likewise.
20392 (int_retval): Likewise.
20393 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20395 (pltexit): Likewise.
20396 (La_regs): Likewise.
20397 (La_retval): Likewise.
20398 (int_retval): Likewise.
20399 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20401 (pltexit): Likewise.
20402 (La_regs): Likewise.
20403 (La_retval): Likewise.
20404 (int_retval): Likewise.
20405 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20406 macro definitions in tst-audit.h.
20407 * sysdeps/i386/tst-audit.h: New file.
20408 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20409 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20410 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20411 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20412 * sysdeps/sh/tst-audit.h: Likewise.
20413 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20414 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20415 * sysdeps/x86_64/tst-audit.h: Likewise.
20417 2012-07-26 Andreas Jaeger <aj@suse.de>
20419 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20422 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20423 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20424 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20426 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20427 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20428 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20430 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20433 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20435 (si_call_addr, si_syscall, si_arch): Define new macro.
20436 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20438 (si_call_addr, si_syscall, si_arch): Define new marcro.
20439 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20441 (si_call_addr, si_syscall, si_arch): Define new macro.
20442 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20444 (si_call_addr, si_syscall, si_arch): Define new macro.
20446 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20450 Change to 2.4.21 where previously 2.4.1.
20451 * sysdeps/unix/sysv/linux/configure: Regenerated.
20452 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20453 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20454 Linux kernel version.
20455 (__ASSUME_STD_AUXV): Remove.
20456 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20458 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20459 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20460 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20461 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20462 (__ASSUME_NETLINK_SUPPORT): Likewise.
20463 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20464 (__no_netlink_support): Remove conditional definition.
20465 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20467 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20468 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20469 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20470 (if_nameindex_ioctl): Remove.
20471 (if_nameindex_netlink): Do not handle __no_netlink_support.
20472 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20474 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20475 Remove conditional code.
20476 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20478 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20480 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20481 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20482 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20484 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20485 [!__ASSUME_STD_AUXV]: Remove conditional code.
20486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20487 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20488 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20490 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20491 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20493 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20495 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20496 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20498 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20500 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20503 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20506 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20507 code unconditional.
20508 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20510 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20512 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20515 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20517 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20520 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20521 code unconditional.
20522 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20524 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20526 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20529 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20530 code unconditional.
20531 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20533 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20535 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20538 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20540 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20541 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20542 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20543 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20544 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20545 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20546 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20547 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20548 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20549 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20550 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20551 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20552 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20553 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20555 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20556 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20558 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20560 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20561 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20562 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20564 2012-07-25 Florian Weimer <fweimer@redhat.com>
20566 * Versions.def: Add GLIBC_2.17.
20567 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20568 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20569 Introduce __libc_secure_getenv.
20570 * stdlib/Versions (2.17): Add secure_getenv
20571 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20572 * stdlib/secure-getenv.c: Rename __secure_getenv to
20573 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20574 symbol __secure_getenv for GLIBC_2.0.
20575 * stdlib/tst-secure-getenv.c: New.
20576 * stdlib/Makefile (tests): Add testcase.
20577 * manual/startup.texi (Environment Access): Document
20579 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20580 __libc_secure_getenv.
20581 * inet/ruserpass.c (ruserpass): Likewise.
20582 * malloc/mtrace.c (mtrace): Likewise.
20583 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20584 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20585 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20586 * sysdeps/posix/tempname.c: Likewise. Evaluate
20587 HAVE_SECURE_GETENV.
20588 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20589 __secure_getenv to __libc_secure_getenv.
20590 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20597 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20603 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20605 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20606 (struct La_i86_retval): Likewise.
20607 (struct La_x86_64_regs): Likewise.
20608 (struct La_x86_64_retval): Likewise.
20609 (struct La_x32_regs): Likewise.
20610 (struct La_x32_retval): Likewise.
20611 (struct La_ppc32_regs): Likewise.
20612 (struct La_ppc32_retval): Likewise.
20613 (struct La_ppc64_regs): Likewise.
20614 (struct La_ppc64_retval): Likewise.
20615 (struct La_sh_regs): Likewise.
20616 (struct La_sh_retval): Likewise.
20617 (struct La_s390_32_regs): Likewise.
20618 (struct La_s390_32_retval): Likewise.
20619 (struct La_s390_64_regs): Likewise.
20620 (struct La_s390_64_retval): Likewise.
20621 (struct La_sparc32_regs): Likewise.
20622 (struct La_sparc32_retval): Likewise.
20623 (struct La_sparc64_regs): Likewise.
20624 (struct La_sparc64_retval): Likewise.
20625 (struct audit_ifaces): Remove architecture-specific pltenter and
20627 * sysdeps/i386/ldsodefs.h: New file.
20628 * sysdeps/powerpc/ldsodefs.h: Likewise.
20629 * sysdeps/s390/ldsodefs.h: Likewise.
20630 * sysdeps/sh/ldsodefs.h: Likewise.
20631 * sysdeps/sparc/ldsodefs.h: Likewise.
20632 * sysdeps/x86_64/ldsodefs.h: Likewise.
20634 2012-07-25 Marek Polacek <polacek@redhat.com>
20637 * math/libm-test.inc (yn_test): Add another test.
20638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20639 to ERANGE when the result is +-Inf.
20640 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20641 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20642 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20643 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20645 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20647 * conform/data/time.h-data (NULL): Use macro-constant. Require
20649 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20651 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20653 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20655 * configure.in <sysdeps resolving>: Correct printing
20657 * configure: Regenerate.
20659 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20661 * math/w_ilogb.c: Include <limits.h>.
20662 * math/w_ilogbl.c: Likewise.
20664 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20666 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20667 va_copy. Document allowing for unavailable va_copy only as
20668 pre-C99 compatibility.
20669 * manual/string.texi (Copying and Concatenation): Use va_copy
20670 instead of __va_copy in concat example.
20672 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20674 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20675 (__sendto): Use create_address_port. Initialize APORT and deallocate
20678 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20679 with O_NOLINK passed to __file_name_lookup.
20681 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20682 with O_NOLINK passed to __file_name_lookup.
20684 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20685 negative N or less than NGIDS.
20687 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20688 type to string_t. Set ERANGE as errno and return it if NAME is not big
20689 enough. Use memcpy instead of strncpy.
20691 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20693 * elf/Makefile (check-data): Remove.
20694 (localplt.data): New vpath directive.
20695 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20696 instead of $(check-data).
20697 * scripts/data/localplt-generic.data: Move to ...
20698 * sysdeps/generic/localplt.data: ... here.
20699 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20700 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20701 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20704 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20707 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20710 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20713 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20716 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20720 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20722 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20723 PPC32 and PPC64 files.
20724 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20725 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20727 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20729 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20730 __makecontext_ret to ...
20731 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20732 ... here and call exit if uc_link is NULL. New file.
20733 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20734 __makecontext_ret.S.
20735 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20736 __makecontext_ret to ...
20737 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20738 ... here and call exit if uc_link is NULL. New file.
20739 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20740 __makecontext_ret.S.
20742 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20744 * elf/elf.h (R_390_IRELATIVE): New definition.
20745 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20746 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20747 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20748 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20749 (elf_machine_lazy_rel): Likewise.
20750 * sysdeps/s390/dl-irel.h: New file.
20751 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20752 * sysdeps/s390/s390-64/memset.S: New asm code.
20753 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20754 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20755 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20756 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20757 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20758 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20759 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20760 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20761 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20762 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20763 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20764 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20765 * sysdeps/s390/s390-32/memset.S: New asm code.
20766 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20768 2012-07-17 Marek Polacek <polacek@redhat.com>
20771 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20772 * sysdeps/s390/s390-64/configure.in: Likewise.
20773 * sysdeps/sparc/configure.in: Likewise.
20774 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20775 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20776 * sysdeps/i386/configure.in: Likewise.
20777 * sysdeps/x86_64/configure.in: Likewise.
20778 * sysdeps/sh/configure.in: Likewise.
20779 * sysdeps/s390/s390-32/configure: Regenerated.
20780 * sysdeps/s390/s390-64/configure: Likewise.
20781 * sysdeps/x86_64/configure: Likewise.
20782 * sysdeps/sh/configure: Likewise.
20783 * sysdeps/powerpc/powerpc64/configure: Likewise.
20784 * sysdeps/powerpc/powerpc32/configure: Likewise.
20785 * sysdeps/sparc/configure: Likwise.
20786 * sysdeps/i386/configure: Likewise.
20788 * elf/dl-open.c: Comment fixes.
20790 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20792 * Makefile [CXX] (check-data): Remove.
20793 [CXX] (c++-types.data): New vpath directive.
20794 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20795 vpath. Do not allow for C++ type data being missing.
20796 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20797 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20798 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20799 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20800 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20801 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20802 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20805 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20808 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20811 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20814 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20817 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20820 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20823 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20826 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20827 definitions to architecture-specific files.
20828 (TLS_IE): Likewise.
20829 (TLS_LD): Likewise.
20830 (TLS_GD): Likewise.
20831 * sysdeps/i386/tls-macros.h: New file.
20832 * sysdeps/powerpc/tls-macros.h: Likewise.
20833 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20834 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20835 * sysdeps/sh/tls-macros.h: Likewise.
20836 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20837 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20838 * sysdeps/x86_64/tls-macros.h: Likewise.
20840 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20842 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20843 zero value for regular exit case.
20845 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20846 (__start_context): Preserve zero value for regular exit case.
20848 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20849 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20851 * manual/setjmp.texi (setcontext): Clarify normal process
20852 termination when uc_link is the null pointer.
20853 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20856 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20858 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20859 preprocessor. Test for each exception mask separately.
20861 2012-07-16 Andreas Jaeger <aj@suse.de>
20863 * po/ru.po: Update from translation team.
20865 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20867 * conform/data/string.h-data (NULL): Use macro-constant. Require
20869 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20870 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20871 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20872 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20875 2012-07-13 Andreas Jaeger <aj@suse.de>
20877 * po/fr.po: Update from translation team.
20879 2012-07-12 Marek Polacek <polacek@redhat.com>
20882 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20883 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20886 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20890 Change to 2.4.1 where previously 2.4.0.
20891 * sysdeps/unix/sysv/linux/configure: Regenerated.
20892 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20893 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20895 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20896 (__ASSUME_AT_CLKTCK): Remove.
20897 (__ASSUME_AT_PAGESIZE): Likewise.
20898 (__ASSUME_AT_XID): Likewise.
20899 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20900 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20901 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20903 (HAVE_AUX_PAGESIZE): Likewise.
20904 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20905 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20906 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20908 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20912 the temporary buffer used to invoke __gethostbyname2_r,
20913 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20914 host_data / struct gaih_addrtuple.
20915 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20916 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20917 header file nss/nsswitch.h.
20918 * nss/nsswitch.h (global scope): Add definition of implementation
20919 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20920 resolv/nss_dns/dns-host.c).
20922 2012-07-11 Andreas Jaeger <aj@suse.de>
20924 * po/fr.po: Update from translation team.
20926 * po/sv.po: Update from translation team
20927 * po/fr.po: Another update from translation team.
20929 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20931 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20932 for subnormals or multiply small sinh result by itself.
20933 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20936 2012-07-11 David S. Miller <davem@davemloft.net>
20938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20940 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20943 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20944 (INTERNAL_MARK): Shift it here.
20946 2012-07-10 Marek Polacek <polacek@redhat.com>
20949 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20950 libc_cv_asm_global_directive with .globl.
20951 * configure: Regenerated.
20952 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20954 * sysdeps/i386/configure: Regenerated.
20955 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20957 * sysdeps/x86_64/configure: Regenerated.
20958 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20959 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20960 * elf/tst-unique2mod2.c: Likewise.
20961 * elf/tst-unique2mod1.c: Likewise.
20962 * elf/tst-unique1mod2.c: Likewise.
20963 * elf/tst-unique1mod1.c: Likewise.
20964 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20965 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20966 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20967 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20968 * sysdeps/mach/sysdep.h: Likewise.
20969 * sysdeps/i386/sysdep.h: Likewise.
20970 * sysdeps/i386/i386-mcount.S: Likewise.
20971 * sysdeps/x86_64/_mcount.S: Likewise.
20972 * sysdeps/x86_64/sysdep.h: Likewise.
20973 * sysdeps/sh/_mcount.S: Likewise.
20974 * sysdeps/sh/sysdep.h: Likewise.
20975 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20976 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20977 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20978 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20979 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20980 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20981 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20982 * locale/localeinfo.h: Likewise.
20983 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20984 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20986 2012-07-09 Roland McGrath <roland@hack.frob.com>
20989 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20991 * manual/message.texi (The Uniforum approach): Likewise.
20992 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20993 (glibc iconv Implementation): Likewise.
20995 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20998 * math/s_clog.c (__clog): Avoid scaling a value down where that
20999 could result in underflow.
21000 * math/s_clog10.c (__clog10): Likewise.
21001 * math/s_clog10f.c (__clog10f): Likewise.
21002 * math/s_clog10l.c (__clog10l): Likewise.
21003 * math/s_clogf.c (__clogf): Likewise.
21004 * math/s_clogl.c (__clogl): Likewise.
21005 * math/libm-test.inc (clog_test): Add more tests.
21006 (clog10_test): Likewise.
21007 * sysdeps/i386/fpu/libm-test-ulps: Update.
21008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21010 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21013 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21014 by 7 not 8 to examine high bit of fractional part.
21017 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21018 for call to __mcount_internal.
21019 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21020 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21021 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21023 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21026 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21027 approximation for values within 0x1p-13f of an odd multiple of
21029 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21030 exception. Add more tests.
21031 * sysdeps/i386/fpu/libm-test-ulps: Update.
21034 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21035 inputs and return -1 for them. Do not check for +Inf in case not
21036 reachable for +Inf.
21037 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21038 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21039 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21040 and return -1 for them. Do not check for +Inf in case not
21041 reachable for +Inf.
21042 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21044 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21045 and return -1 for them. Do not check for +Inf in case not
21046 reachable for +Inf.
21047 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21048 spurious underflow.
21049 * sysdeps/i386/fpu/libm-test-ulps: Update.
21050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21052 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21054 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21056 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21060 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21061 could result in spurious underflow. Scale down values above
21062 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21063 * math/s_csqrtf.c (__csqrtf): Likewise.
21064 * math/s_csqrtl.c (__csqrtl): Likewise.
21065 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21066 spurious underflow.
21067 * sysdeps/i386/fpu/libm-test-ulps: Update.
21068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21070 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21072 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21074 * catgets/xopen-msg.awk: New file.
21075 * catgets/xopen-msg.sed: Removed.
21077 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21079 * intl/po2test.awk: New file.
21080 * intl/po2test.sed: Removed.
21082 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21085 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21086 or multiply small sinh result by itself.
21087 * math/s_ctanf.c (__ctanf): Likewise.
21088 * math/s_ctanh.c (__ctanh): Likewise.
21089 * math/s_ctanhf.c (__ctanhf): Likewise.
21090 * math/s_ctanhl.c (__ctanhl): Likewise.
21091 * math/s_ctanl.c (__ctanl): Likewise.
21092 * math/libm-test.inc (ctan_test_tonearest): New function.
21093 (ctan_test_towardzero): Likewise.
21094 (ctan_test_downward): Likewise.
21095 (ctan_test_upward): Likewise.
21096 (ctanh_test_tonearest): Likewise.
21097 (ctanh_test_towardzero): Likewise.
21098 (ctanh_test_downward): Likewise.
21099 (ctanh_test_upward): Likewise.
21100 (main): Call these new functions.
21101 * sysdeps/i386/fpu/libm-test-ulps: Update.
21102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21104 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21106 * .gitignore: Delete /ports entry.
21108 2012-07-03 Andreas Jaeger <aj@suse.de>
21110 * po/bg.po: Update from translation team.
21111 * po/cs.po: Likewise.
21112 * po/de.po: Likewise.
21113 * po/hr.po: Likewise.
21114 * po/nl.pl: Likewise.
21115 * po/pl.po: Likewise.
21116 * po/vi.po: Likewise.
21118 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21120 * Makeconfig [!+link] (+link-before-libc): New variable.
21121 [!+link] (+link-after-libc): Likewise.
21122 [!+link] (+link-tests): Likewise.
21123 [!+link] (+link): Define in terms of $(+link-before-libc) and
21124 $(+link-after-libc).
21125 [!+link-static] (+link-static-before-libc): New variable.
21126 [!+link-static] (+link-static-after-libc): Likewise.
21127 [!+link-static] (+link-static-tests): Likewise.
21128 [!+link-static] (+link-static): Define in terms of
21129 $(+link-static-before-libc) and $(+link-static-after-libc).
21130 [build-shared] (link-libc-before-gnulib): New variable.
21131 [build-shared] (link-libc-tests): Likewise.
21132 [build-shared] (link-libc): Define in terms of
21133 $(link-libc-before-gnulib).
21134 [!build-shared] (link-libc-tests): New variable.
21135 (link-libc-static-tests): New variable.
21136 [!gnulib] (gnulib-arch): New variable.
21137 [!gnulib] (gnulib-tests): Likewise.
21138 [!gnulib] (static-gnulib-arch): Likewise.
21139 [!gnulib] (static-gnulib-tests): Likewise.
21140 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21141 Define with "=" instead of ":=".
21142 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21143 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21144 * Rules (binaries-all-notests): New variable.
21145 (binaries-all-tests): Likewise.
21146 (binaries-static-notests): Likewise.
21147 (binaries-static-tests): Likewise.
21148 (binaries-all): Define using $(binaries-all-notests) and
21149 $(binaries-all-tests).
21150 (binaries-static): Define using $(binaries-static-notests) and
21151 $(binaries-static-tests).
21152 (binaries-shared-tests): New variable.
21153 (binaries-shared-notests): Likewise.
21154 (binaries-shared): Remove variable.
21155 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21156 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21157 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21158 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21159 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21160 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21161 * elf/Makefile (sln-modules): New variable.
21162 (extra-objs): Add $(sln-modules:=.o).
21163 (ldconfig-modules): Add static-stubs.
21164 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21165 * elf/static-stubs.c: New file.
21168 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21169 by 7 not 8 to examine high bit of fractional part. Use volatile
21170 variables when splitting into final array of floats if
21171 __FLT_EVAL_METHOD__ != 0.
21172 * math/libm-test.inc (cos_test): Add another test.
21173 (sin_test): Likewise.
21174 * sysdeps/i386/fpu/libm-test-ulps: Update.
21177 * math/libm-test.inc (cosh_test): Add more tests.
21179 * version.h (RELEASE): Set to "development".
21180 (VERSION): Set to "2.16.90".
21182 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21184 * NEWS: Update copyright. Remove last-updated date.
21185 Mention math library bug fixes and timezone data changes.
21186 * README: Mention GNU/Hurd, x32, and HPPA support status.
21188 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21190 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21192 2012-06-27 Andreas Jaeger <aj@suse.de>
21194 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21196 2012-06-25 Andreas Jaeger <aj@suse.de>
21198 * sysdeps/s390/fpu/libm-test-ulps: Update.
21200 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21201 Thomas Schwinge <thomas@codesourcery.com>
21203 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21204 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21205 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21208 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21210 * sysdeps/mach/start.c: Remove file.
21211 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21212 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21213 * sysdeps/sh/init-first.c: Likewise.
21215 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21216 registers for frame unwinding purposes, add CFI directives.
21217 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21218 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21219 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21222 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21223 __fortify_fail returning.
21224 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21226 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21227 sysdeps/sh/____longjmp_chk.S.
21228 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21229 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21230 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21231 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21233 * sysdeps/sh/abort-instr.h: New file.
21234 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21235 process in case exit returns.
21237 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21238 initialize the GOT register before use.
21240 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21241 calculation of ARGC > 4.
21243 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21244 meaningful names to some local labels.
21246 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21247 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21249 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21250 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21251 (__arch_compare_and_exchange_val_16_acq): Likewise.
21252 (__arch_compare_and_exchange_val_32_acq): Likewise.
21253 (atomic_exchange_and_add): Fix gUSA sequence.
21254 (atomic_add): Likewise.
21255 (atomic_add_negative): Likewise.
21256 (atomic_add_zero): Likewise.
21257 (atomic_bit_test_set): Likewise.
21259 2012-06-22 Andreas Schwab <schwab@redhat.com>
21262 * include/link.h (struct link_map): Add l_free_initfini.
21263 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21265 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21266 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21267 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21270 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21272 * configure.in: Use AC_LANG_SOURCE.
21273 * configure: Regenerate.
21275 2012-06-22 Roland McGrath <roland@hack.frob.com>
21277 * configure.in (libc_cv_localstatedir): New substituted variable.
21278 * configure: Regenerated.
21279 * config.make.in (localstatedir): New variable, substituted from
21280 libc_cv_localstatedir.
21281 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21282 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21283 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21284 * sysdeps/gnu/configure: Regenerated.
21286 2012-06-21 Jeff Law <law@redhat.com>
21289 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21290 free. Simplify list management for _LIBC case.
21292 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21295 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21296 Clear sign bit of 64-bit integer value before comparing against
21299 * sysdeps/mach/configure: Regenerated.
21301 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21304 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21306 2012-06-21 Jeff Law <law@redhat.com>
21309 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21310 uint16_t for elements in the "seen" array to avoid char overflows.
21311 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21312 * elf/dl-open.c (dl_open_worker): Likewise.
21314 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21316 * scripts/list-sources.sh: Scan PORTS for translations.
21317 * po/libc.pot: Regenerated.
21319 2012-06-21 Andreas Jaeger <aj@suse.de>
21322 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21324 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21325 * bits/byteswap-16.h (__bswap_16): Likewise.
21326 * bits/byteswap.h (__bswap_constant_16): Likewise.
21328 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21331 * sysdeps/i386/fpu_control.h: Removed.
21332 * sysdeps/x86_64/fpu_control.h: Moved to ...
21333 * sysdeps/x86/fpu_control.h: Here.
21335 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21336 (_FPU_SETCW): Likewise.
21338 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21341 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21342 * sysdeps/x86/fpu/bits/mathinline.h: This.
21343 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21347 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21348 functions if __x86_64__ is defined.
21350 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21352 * string/endian.h: Add !__ASSEMBLER__ condition for including
21353 conversion interfaces.
21355 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21359 of ABS(x) in calculating zero to negative powers other than odd
21361 * math/libm-test.inc (pow_test): Add more tests.
21363 2012-06-15 Andreas Jaeger <aj@suse.de>
21365 * manual/contrib.texi (Contributors): Update entry of Liubov
21366 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21369 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21371 * string/string.h: Add __wur to GNU version of strerror_r.
21373 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21376 * string/Makefile (tests): Add tst-strtok_r.
21377 * string/tst-strtok_r.c: New file.
21378 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21379 RAX_LP/RDX_LP on SAVE_PTR.
21381 2012-06-14 Roland McGrath <roland@hack.frob.com>
21383 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21385 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21387 * libm_test.inc (csqrt_test): Allow more spurious underflow
21389 (j0_test): Likewise.
21390 (j1_test): Likewise.
21391 (y0_test): Likewise.
21392 (y1_test): Likewise.
21394 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21396 * po/Makefile (libc.pot): Use UTF-8 charset.
21398 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21401 Suppress sign-conversion warning from FD_SET.
21402 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21403 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21404 not unsigned long int.
21405 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21407 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21411 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21412 __extern_always_inline instead of __extern_inline.
21413 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21414 (__signbit): Likewise.
21415 (__signbitl): Support C++ namespace.
21416 (lrintf): New inline function.
21418 (llrintf): Likewise.
21419 (llrint): Likewise.
21429 (floorf): Likewise.
21430 (nearbyint): Likewise.
21431 (nearbyintf): Likewise.
21433 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21435 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21436 non-default versions.
21438 2012-06-11 Roland McGrath <roland@hack.frob.com>
21441 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21443 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21445 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21446 (FE_UPWARD, FE_DOWNWARD): Don't define.
21447 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21448 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21450 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21452 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21453 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21455 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21457 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21459 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21460 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21462 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21465 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21466 * sysdeps/i386/fpu/Implies: New file.
21467 * sysdeps/x86_64/fpu/Implies: Likewise.
21468 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21469 * sysdeps/x86/fpu/bits/fenv.h: This.
21471 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21474 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21477 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21478 character 0xffff that matches the last element of the
21481 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21483 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21486 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21489 values higher than 25.6283.
21491 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21493 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21494 subnormal exponent extraction and add some __builtin_expect.
21495 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21496 Fix for subnormal mantissa calculation.
21498 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21500 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21501 cpu2 is -1 and errno is not ENOSYS.
21503 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21506 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21507 * sysdeps/x86/bits/string.h: This.
21508 * sysdeps/x86_64/bits/string.h: Removed.
21510 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21511 if not compiling for x86-64, but compiling for >= i486.
21513 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21514 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21516 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21517 New macro from Linux kernel 3.4.0.
21518 (FP_XSTATE_MAGIC2): Likewise.
21519 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21520 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21521 (struct _fpx_sw_bytes): New struct.
21522 (struct _xsave_hdr): Likewise.
21523 (struct _ymmh_state): Likewise.
21524 (struct _xstate): Likewise.
21526 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21527 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21529 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21530 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21531 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21533 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21534 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21535 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21536 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21537 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21538 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21540 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21543 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21544 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21545 (sysdep_headers): Include sys/platform/ppc.h.
21546 * sysdeps/powerpc/test-gettimebase.c: Test for
21547 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21548 * manual/Makefile (appendices): Include platform.texi.
21549 * manual/contrib.texi (Contributors): Update @node pointers.
21550 * manual/maint.texi (Maintenance): Likewise.
21551 (Platform): New node.
21552 * manual/platform.texi: New file. Document the new features.
21554 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21555 Jakub Jelinek <jakub@redhat.com>
21558 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21559 where __builtin_expect is unavailable.
21561 2012-06-03 David S. Miller <davem@davemloft.net>
21563 * stdlib/longlong.h: Updated from GCC.
21565 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21568 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21569 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21572 (GLIBC_2.16): Likewise.
21574 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21576 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21578 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21581 (default-abi): New variable.
21582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21583 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21585 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21587 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21589 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21592 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21593 definition. Document in comment.
21595 2012-06-01 David S. Miller <davem@davemloft.net>
21597 * stdlib/longlong.h: Updated from GCC.
21599 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21602 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21603 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21604 sys/debugreg.h sys/io.h here.
21605 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21606 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21608 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21609 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21610 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21611 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21612 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21613 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21615 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21616 Define only if __x86_64__ is defined.
21618 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21621 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21622 Use int64_t for variable i.
21623 * math/libm-test.inc (fmod_test): Add more tests.
21625 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21626 z computation is not scheduled after fetestexcept.
21627 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21628 Use math_force_eval instead of asm to ensure calculation scheduled
21629 before exception test.
21630 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21631 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21633 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21636 computation is not scheduled after fetestexcept.
21638 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21641 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21642 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21644 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21646 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21647 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21649 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21652 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21654 (__WCHAR_MIN): Support __WORDSIZE == 64.
21655 (__WCHAR_MAX): Likewise.
21657 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21662 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21665 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21666 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21668 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21669 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21671 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21672 Defined to 1 if __x86_64__ isn't defined.
21673 (_STAT_VER_LINUX_OLD): New.
21674 (st_atime): Remove duplicate.
21675 (st_mtime): Likewise.
21676 (st_ctime): Likewise.
21678 2012-05-31 David S. Miller <davem@davemloft.net>
21680 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21683 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21685 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21689 * elf/dl-reloc.c: Include <_itoa.h>.
21690 (_dl_reloc_bad_type): Remove use of INTUSE.
21691 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21692 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21693 * stdio-common/psiginfo.c (psiginfo): Likewise.
21694 * stdio-common/psignal.c (psignal): Likewise.
21695 * string/strsignal.c (strsignal): Likewise.
21696 * include/signal.h (_sys_siglist): Declare hidden proto.
21697 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21698 INTVARDEF with libc_hidden_data_def.
21699 * stdio-common/itoa-udigits.c: Likewise.
21700 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21701 (_itoa_lower_digits_internal): Remove declaration.
21702 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21703 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21704 (_sys_sigabbrev_internal): Remove aliases.
21705 (_sys_siglist): Define hidden alias.
21707 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21712 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21715 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21716 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21718 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21719 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21720 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21721 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21723 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21725 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21726 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21727 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21729 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21737 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21738 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21739 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21741 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21742 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21743 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21744 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21745 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21746 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21748 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21749 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21751 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21752 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21755 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21756 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21758 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21759 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21761 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21763 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21764 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21765 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21767 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21769 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21771 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21773 * math/math.h (M_El): Use two more decimal places.
21774 (M_LOG2El): Likewise.
21775 (M_LOG10El): Likewise.
21776 (M_LN2l): Likewise.
21777 (M_LN10l): Likewise.
21779 (M_PI_2l): Likewise.
21780 (M_PI_4l): Likewise.
21781 (M_1_PIl): Likewise.
21782 (M_2_PIl): Likewise.
21783 (M_2_SQRTPIl): Likewise.
21784 (M_SQRT2l): Likewise.
21785 (M_SQRT1_2l): Likewise.
21787 2012-05-31 David S. Miller <davem@davemloft.net>
21789 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21790 values between float registers.
21791 * sysdeps/sparc/sparc64/memset.S: Likewise.
21792 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21794 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21796 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21797 -D_FORTIFY_SOURCE=1.
21798 (CPPFLAGS-tst-longjmp_chk.c): Define.
21799 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21800 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21801 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21802 CFLAGS-tst-wchar-h.c.
21804 2012-05-31 Marek Polacek <polacek@redhat.com>
21807 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21808 __endmntent_internal): Remove declaration.
21809 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21810 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21811 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21813 2012-05-30 David S. Miller <davem@davemloft.net>
21815 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21816 (___Q_simulate_exceptions): Use real FP ops rather than writing
21818 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21821 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21824 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21825 * sysdeps/x86/bits/xtitypes.h: This.
21827 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21828 * sysdeps/x86/bits/wordsize.h: This.
21830 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21831 * sysdeps/x86/bits/huge_vall.h: This.
21833 * sysdeps/i386/bits/select.h: Removed.
21834 * sysdeps/x86_64/bits/select.h: Renamed to ...
21835 * sysdeps/x86/bits/select.h: This.
21837 * sysdeps/i386/bits/setjmp.h: Removed.
21838 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21839 * sysdeps/x86/bits/setjmp.h: This.
21841 * sysdeps/i386/bits/mathdef.h: Removed.
21842 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21843 * sysdeps/x86/bits/mathdef.h: This.
21845 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21848 * include/sys/socket.h (__connect_internal)
21849 (__libc_sa_len_internal): Remove declaration.
21850 (__connect, __libc_sa_len): Declare hidden_proto.
21851 (SA_LEN): Remove use of INTUSE.
21852 * socket/connect.c: Add libc_hidden_def.
21853 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21854 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21855 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21857 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21858 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21859 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21860 of adding _internal alias.
21862 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21865 * sysdeps/i386/bits/link.h: Removed.
21866 * sysdeps/i386/bits/linkmap.h: Likewise.
21867 * sysdeps/x86_64/bits/link.h: Renamed to ...
21868 * sysdeps/x86/bits/link.h: This.
21869 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21870 * sysdeps/x86/bits/linkmap.h: This.
21872 * sysdeps/i386/bits/endian.h: Removed.
21873 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21874 * sysdeps/x86/bits/endian.h: This.
21876 * sysdeps/i386/bits/byteswap.h: Removed.
21877 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21878 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21879 * sysdeps/x86/bits/byteswap.h: This.
21880 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21881 * sysdeps/x86/bits/byteswap-16.h: This.
21882 * sysdeps/i386/Implies: Add x86.
21883 * sysdeps/x86_64/Implies: Likewise.
21885 2012-05-30 David S. Miller <davem@davemloft.net>
21887 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21888 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21889 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21890 (FP_TRAPPING_EXCEPTIONS): Define.
21891 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21892 (FP_TRAPPING_EXCEPTIONS): Define.
21893 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21894 subnormals only when inexact has been signalled or underflow
21895 exceptions are enabled.
21896 (_FP_PACK_CANONICAL): Likewise.
21898 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21902 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21904 2012-05-30 Richard Henderson <rth@twiddle.net>
21906 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21907 with #ifndef NOT_IN_libc.
21909 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21910 marked to avoid plt entry.
21912 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21915 * Makeconfig (default-abi): New macro.
21916 (abi-includes): Likewise.
21917 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21918 $(abi-$(default-abi)-lib-soname) for soname if defined.
21919 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21921 * Makefile (installed-stubs): Likewise.
21922 * include/stubs-biarch.h: Removed.
21923 * scripts/lib-names.awk: Only handle one library at a time.
21924 * scripts/soversions.awk: Remove WORDSIZE support.
21925 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21927 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21929 (syscall-list-default-condition): Likewise.
21930 (syscall-list-default-condition): Likewise.
21931 (syscall-list-includes): Likewise.
21932 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21933 syscall-list-* with abi-*. Handle undefined abi-variants.
21934 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21935 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21936 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21937 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21938 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21939 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21941 (syscall-list-32-options): Likewise.
21942 (syscall-list-32-condition): Likewise.
21943 (syscall-list-64-options): Likewise.
21944 (syscall-list-64-condition): Likewise.
21945 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21947 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21950 (abi-64-ld-soname): New macro.
21951 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21952 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21955 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21956 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21958 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21960 * sysdeps/unix/sysv/linux/kernel-features.h
21961 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21962 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21963 include <kernel-features.h>.
21964 [!__NR_ftruncate64]: Remove conditional code.
21965 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21966 [__NR_ftruncate64]: Make code unconditional.
21967 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21968 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21969 include <kernel-features.h>.
21970 [!__NR_ftruncate64]: Remove conditional code.
21971 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21972 [__NR_ftruncate64]: Make code unconditional.
21973 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21975 include <kernel-features.h>.
21976 [!__NR_ftruncate64]: Remove conditional code.
21977 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21978 [__NR_ftruncate64]: Make code unconditional.
21979 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21981 include <kernel-features.h>.
21982 [!__NR_ftruncate64]: Remove conditional code.
21983 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21984 [__NR_ftruncate64]: Make code unconditional.
21985 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21987 * configure.in (libc_cv_fpie): Weaken to a compile test using
21988 LIBC_TRY_CC_OPTION.
21989 * configure: Regenerated.
21991 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22006 2012-05-27 David S. Miller <davem@davemloft.net>
22008 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22010 (__Q_simulate_exceptions): Return void. Change to simulate
22011 exceptions by writing into the %fsr.
22012 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22013 (__Qp_handle_exceptions): Likewise.
22015 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22016 __Qp_handle_exceptions.
22017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22018 __Qp_handle_exceptions.
22019 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22020 as unused and give dummy FP_RND_NEAREST initializer.
22021 (FP_INHIBIT_RESULTS): Define.
22022 (___Q_simulate_exceptions): Update declaration.
22023 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22025 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22026 as unused and give dummy FP_RND_NEAREST initializer.
22027 (__Qp_handle_exceptions): Update declaration.
22028 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22031 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22033 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22034 the temporary FPU control word.
22035 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22036 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22037 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22038 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22039 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22040 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22041 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22042 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22043 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22044 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22045 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22047 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22049 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22052 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22054 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22055 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22056 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22057 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22059 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22060 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22063 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22065 * po/h.po: Update from translation team.
22067 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22069 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22071 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22072 handling of denormals.
22073 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22074 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22075 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22076 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22079 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22082 2012-05-26 Marek Polacek <polacek@redhat.com>
22085 * math/libm-test.inc (fma_test): Don't always expect underflow
22088 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22091 * elf/tst-execstack.c: Include stackinfo.h.
22092 (do_test): Adjust test case to ensure that pthread_getattr_np
22093 behaviour remains the same after marking stack executable.
22095 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22097 * sysdeps/unix/sysv/linux/kernel-features.h
22098 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22099 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22101 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22102 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22103 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22105 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22106 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22108 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22110 * configure.in: Define the default includes to being none.
22111 * configure: Regenerated.
22113 2012-05-25 Roland McGrath <roland@hack.frob.com>
22115 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22116 * sysdeps/x86_64/setjmp.S: Likewise.
22117 * sysdeps/i386/bsd-setjmp.S: Likewise.
22118 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22119 * sysdeps/i386/setjmp.S: Likewise.
22120 * sysdeps/i386/__longjmp.S: Likewise.
22121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22122 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22124 * include/stap-probe.h: New file.
22125 * configure.in: Handle --enable-systemtap.
22126 * configure: Regenerated.
22127 * config.h.in (USE_STAP_PROBE): New #undef.
22128 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22129 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22130 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22132 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22136 to 2.4.0 where earlier.
22137 * sysdeps/unix/sysv/linux/configure: Regenerated.
22138 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22139 <kernel-features.h>.
22140 [__ASSUME_32BITUIDS]: Make code unconditional.
22141 [!__ASSUME_32BITUIDS]: Remove conditional code.
22142 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22143 <kernel-features.h>.
22144 [__ASSUME_32BITUIDS]: Make code unconditional.
22145 [!__ASSUME_32BITUIDS]: Remove conditional code.
22146 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22147 [__ASSUME_32BITUIDS]: Make code unconditional.
22148 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22149 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22150 <kernel-features.h>.
22151 [__ASSUME_32BITUIDS]: Make code unconditional.
22152 [!__ASSUME_32BITUIDS]: Remove conditional code.
22153 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22154 <kernel-features.h>.
22155 [__ASSUME_32BITUIDS]: Make code unconditional.
22156 [!__ASSUME_32BITUIDS]: Remove conditional code.
22157 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22158 <kernel-features.h>.
22159 [__ASSUME_32BITUIDS]: Make code unconditional.
22160 [!__ASSUME_32BITUIDS]: Remove conditional code.
22161 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22162 <kernel-features.h>.
22163 [__ASSUME_32BITUIDS]: Make code unconditional.
22164 [!__ASSUME_32BITUIDS]: Remove conditional code.
22165 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22166 <kernel-features.h>.
22167 [__ASSUME_32BITUIDS]: Make code unconditional.
22168 [!__ASSUME_32BITUIDS]: Remove conditional code.
22169 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22170 <kernel-features.h>.
22171 [__ASSUME_32BITUIDS]: Make code unconditional.
22172 [!__ASSUME_32BITUIDS]: Remove conditional code.
22173 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22174 <kernel-features.h>.
22175 [__ASSUME_32BITUIDS]: Make code unconditional.
22176 [!__ASSUME_32BITUIDS]: Remove conditional code.
22177 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22178 <kernel-features.h>.
22179 [__ASSUME_32BITUIDS]: Make code unconditional.
22180 [!__ASSUME_32BITUIDS]: Remove conditional code.
22181 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22182 <kernel-features.h>.
22183 [__ASSUME_32BITUIDS]: Make code unconditional.
22184 [!__ASSUME_32BITUIDS]: Remove conditional code.
22185 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22186 <kernel-features.h>.
22187 [__ASSUME_32BITUIDS]: Make code unconditional.
22188 [!__ASSUME_32BITUIDS]: Remove conditional code.
22189 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22190 <kernel-features.h>.
22191 [__NR_setresgid] (__setresgid): Do not declare.
22192 [__ASSUME_32BITUIDS]: Make code unconditional.
22193 [!__ASSUME_32BITUIDS]: Remove conditional code.
22194 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22195 <kernel-features.h>.
22196 [__NR_setresuid] (__setresuid): Do not declare.
22197 [__ASSUME_32BITUIDS]: Make code unconditional.
22198 [!__ASSUME_32BITUIDS]: Remove conditional code.
22199 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22200 <kernel-features.h>.
22201 [__ASSUME_32BITUIDS]: Make code unconditional.
22202 [!__ASSUME_32BITUIDS]: Remove conditional code.
22203 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22204 <kernel-features.h>.
22205 [__ASSUME_32BITUIDS]: Make code unconditional.
22206 [!__ASSUME_32BITUIDS]: Remove conditional code.
22207 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22208 <kernel-features.h>.
22209 [__ASSUME_32BITUIDS]: Make code unconditional.
22210 [!__ASSUME_32BITUIDS]: Remove conditional code.
22211 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22212 <kernel-features.h>.
22213 [__ASSUME_32BITUIDS]: Make code unconditional.
22214 [!__ASSUME_32BITUIDS]: Remove conditional code.
22215 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22216 <kernel-features.h>.
22217 [__ASSUME_32BITUIDS]: Make code unconditional.
22218 [!__ASSUME_32BITUIDS]: Remove conditional code.
22219 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22220 <kernel-features.h>.
22221 [__ASSUME_32BITUIDS]: Make code unconditional.
22222 [!__ASSUME_32BITUIDS]: Remove conditional code.
22223 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22224 <kernel-features.h>.
22225 [__ASSUME_32BITUIDS]: Make code unconditional.
22226 [!__ASSUME_32BITUIDS]: Remove conditional code.
22227 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22228 <kernel-features.h>.
22229 [__ASSUME_32BITUIDS]: Make code unconditional.
22230 [!__ASSUME_32BITUIDS]: Remove conditional code.
22231 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22232 <kernel-features.h>.
22233 [__ASSUME_32BITUIDS]: Make code unconditional.
22234 [!__ASSUME_32BITUIDS]: Remove conditional code.
22235 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22236 <kernel-features.h>.
22237 [__ASSUME_32BITUIDS]: Make code unconditional.
22238 [!__ASSUME_32BITUIDS]: Remove conditional code.
22239 * sysdeps/unix/sysv/linux/kernel-features.h
22240 (__ASSUME_SETRESUID_SYSCALL): Remove.
22241 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22242 (__ASSUME_32BITUIDS): Likewise.
22243 (__ASSUME_LDT_WORKS): Likewise.
22244 (__ASSUME_O_DIRECTORY): Likewise.
22245 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22246 architecture but not kernel version.
22247 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22248 (__ASSUME_MMAP2_SYSCALL): Likewise.
22249 (__ASSUME_STAT64_SYSCALL): Likewise.
22250 (__ASSUME_IPC64): Likewise.
22251 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22252 <kernel-features.h>.
22253 [__ASSUME_32BITUIDS]: Make code unconditional.
22254 [!__ASSUME_32BITUIDS]: Remove conditional code.
22255 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22256 <kernel-features.h>.
22257 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22258 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22259 132096]: Remove conditional code.
22260 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22261 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22262 <kernel-features.h>.
22263 [__ASSUME_32BITUIDS]: Make code unconditional.
22264 [!__ASSUME_32BITUIDS]: Remove conditional code.
22265 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22266 <kernel-features.h>.
22267 [__ASSUME_32BITUIDS]: Make code unconditional.
22268 [!__ASSUME_32BITUIDS]: Remove conditional code.
22269 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22270 <kernel-features.h>.
22271 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22273 (__setresgid): Do not declare.
22274 [__ASSUME_32BITUIDS]: Make code unconditional.
22275 [!__ASSUME_32BITUIDS]: Remove conditional code.
22276 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22277 <kernel-features.h>.
22278 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22280 (__setresuid): Do not declare.
22281 [__ASSUME_32BITUIDS]: Make code unconditional.
22282 [!__ASSUME_32BITUIDS]: Remove conditional code.
22283 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22284 <kernel-features.h>.
22285 [__ASSUME_32BITUIDS]: Make code unconditional.
22286 [!__ASSUME_32BITUIDS]: Remove conditional code.
22287 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22288 <kernel-features.h>.
22289 [__ASSUME_32BITUIDS]: Make code unconditional.
22290 [!__ASSUME_32BITUIDS]: Remove conditional code.
22292 2012-05-25 Richard Henderson <rth@twiddle.net>
22294 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22295 dl_hwcap to ifunc resolver.
22296 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22298 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22299 dl_hwcap to ifunc resolver.
22300 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22302 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22305 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22306 for |x| <= 2**-26, not 2**-57.
22307 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22310 2012-05-24 Jeff Law <law@redhat.com>
22312 * stdio-common/Makefile (tests): Add bug25.
22313 * stdio-common/bug25.c: New test.
22315 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22318 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22319 multiple of MALLOC_ALIGNMENT in size.
22320 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22322 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22324 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22326 (FILENAME_MAX): Use macro-int-constant.
22327 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22328 (_IOFBF): Use macro-int-constant.
22329 (_IOLBF): Likewise.
22330 (_IONBF): Likewise.
22331 (SEEK_CUR): Likewise.
22332 (SEEK_END): Likewise.
22333 (SEEK_SET): Likewise.
22334 (TMP_MAX): Likewise.
22335 (EOF): Use macro-int-constant. Require < 0.
22336 (NULL): Use macro-constant. Require == 0.
22337 (stdin): Require type to be FILE *.
22338 (stdout): Likewise.
22339 (stderr): Likewise.
22340 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22341 macro-int-constant.
22342 (EXIT_SUCCESS): Likewise.
22343 (NULL): Use macro-constant. Require == 0.
22344 (RAND_MAX): Use macro-int-constant.
22345 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22346 [C99-based standards] (strtof): Require function.
22347 [C99-based standards] (strtold): Likewise.
22348 [C99-based standards] (strtoll): Likewise.
22349 [C99-based standards] (strtoull): Likewise.
22350 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22351 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22352 [ISO || ISO99 || ISO11] (math.h): Likewise.
22353 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22354 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22357 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22360 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22361 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22362 * intl/dgettext.c (DCGETTEXT): Likewise.
22363 * intl/gettext.c (DCGETTEXT): Likewise.
22364 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22365 * posix/regex_internal.h (gettext): Likewise.
22366 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22367 Remove declaration.
22368 * include/argz.h (__argz_count_internal)
22369 (__argz_stringify_internal): Remove declaration.
22370 (__argz_count, __argz_stringify): Declare hidden proto.
22371 * intl/dcgettext.c: Remove use of INTDEF.
22372 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22373 * string/argz-stringify.c: Likewise.
22374 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22375 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22376 Declare hidden proto.
22377 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22378 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22379 Declare hidden proto.
22380 * include/stdio.h (__asprintf_internal): Don't declare.
22381 (__asprintf): Don't define as macro. Declare hidden proto.
22382 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22383 (__fsetlocking): Declare hidden proto.
22384 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22385 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22387 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22388 (_IO_setlinebuf): Remove use of INTUSE.
22389 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22390 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22391 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22392 Remove declaration.
22393 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22394 (_IO_do_flush): Remove use of INTUSE.
22395 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22396 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22397 (_IO_adjust_column, _IO_least_wmarker)
22398 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22399 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22400 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22401 (_IO_default_doallocate, _IO_wdefault_doallocate)
22402 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22403 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22404 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22405 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22406 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22407 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22408 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22409 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22410 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22411 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22412 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22413 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22414 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22416 (_IO_flush_all_internal, _IO_adjust_column_internal)
22417 (_IO_default_uflow_internal, _IO_default_finish_internal)
22418 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22419 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22420 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22421 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22422 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22423 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22424 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22425 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22426 (_IO_file_close_internal, _IO_file_close_it_internal)
22427 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22428 (_IO_file_init_internal, _IO_file_attach_internal)
22429 (_IO_file_fopen_internal, _IO_file_read_internal)
22430 (_IO_file_sync_internal, _IO_file_seek_internal)
22431 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22432 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22433 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22434 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22435 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22436 (_IO_list_all_internal, _IO_link_in_internal)
22437 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22438 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22439 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22440 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22441 (_IO_do_write_internal, _IO_padn_internal)
22442 (_IO_getline_info_internal, _IO_getline_internal)
22443 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22444 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22445 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22446 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22447 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22448 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22449 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22450 with libc_hidden_ver, remove use of INTUSE.
22451 * libio/genops.c: Likewise.
22452 * libio/freopen.c: Likewise.
22453 * libio/freopen64.c: Likewise.
22454 * libio/iofclose.c: Likewise.
22455 * libio/iofdopen.c: Likewise.
22456 * libio/iofflush.c: Likewise.
22457 * libio/iofflush_u.c: Likewise.
22458 * libio/iofgets.c: Likewise.
22459 * libio/iofgets_u.c: Likewise.
22460 * libio/iofopen.c: Likewise.
22461 * libio/iofopncook.c: Likewise.
22462 * libio/iofread.c: Likewise.
22463 * libio/iofread_u.c: Likewise.
22464 * libio/ioftell.c: Likewise.
22465 * libio/iofwrite.c: Likewise.
22466 * libio/iogetline.c: Likewise.
22467 * libio/iogets.c: Likewise.
22468 * libio/iogetwline.c: Likewise.
22469 * libio/iopadn.c: Likewise.
22470 * libio/iopopen.c: Likewise.
22471 * libio/ioseekoff.c: Likewise.
22472 * libio/ioseekpos.c: Likewise.
22473 * libio/iosetbuffer.c: Likewise.
22474 * libio/iosetvbuf.c: Likewise.
22475 * libio/ioungetc.c: Likewise.
22476 * libio/ioungetwc.c: Likewise.
22477 * libio/iovdprintf.c: Likewise.
22478 * libio/iovsprintf.c: Likewise.
22479 * libio/iovsscanf.c: Likewise.
22480 * libio/memstream.c: Likewise.
22481 * libio/obprintf.c: Likewise.
22482 * libio/oldfileops.c: Likewise.
22483 * libio/oldiofclose.c: Likewise.
22484 * libio/oldiofdopen.c: Likewise.
22485 * libio/oldiofopen.c: Likewise.
22486 * libio/oldiopopen.c: Likewise.
22487 * libio/oldstdfiles.c: Likewise.
22488 * libio/putc.c: Likewise.
22489 * libio/setbuf.c: Likewise.
22490 * libio/setlinebuf.c: Likewise.
22491 * libio/stdfiles.c: Likewise.
22492 * libio/strops.c: Likewise.
22493 * libio/vasprintf.c: Likewise.
22494 * libio/vscanf.c: Likewise.
22495 * libio/vsnprintf.c: Likewise.
22496 * libio/vswprintf.c: Likewise.
22497 * libio/wfiledoalloc.c: Likewise.
22498 * libio/wfileops.c: Likewise.
22499 * libio/wgenops.c: Likewise.
22500 * libio/wmemstream.c: Likewise.
22501 * libio/wstrops.c: Likewise.
22502 * libio/__fpurge.c: Likewise.
22503 * libio/__fsetlocking.c: Likewise.
22504 * assert/assert.c: Likewise.
22505 * debug/fgets_chk.c: Likewise.
22506 * debug/fgets_u_chk.c: Likewise.
22507 * debug/fread_chk.c: Likewise.
22508 * debug/fread_u_chk.c: Likewise.
22509 * debug/gets_chk.c: Likewise.
22510 * debug/obprintf_chk.c: Likewise.
22511 * debug/vasprintf_chk.c: Likewise.
22512 * debug/vdprintf_chk.c: Likewise.
22513 * debug/vsnprintf_chk.c: Likewise.
22514 * debug/vsprintf_chk.c: Likewise.
22515 * malloc/mtrace.c: Likewise.
22516 * misc/error.c: Likewise.
22517 * misc/syslog.c: Likewise.
22518 * stdio-common/asprintf.c: Likewise.
22519 * stdio-common/fxprintf.c: Likewise.
22520 * stdio-common/getw.c: Likewise.
22521 * stdio-common/isoc99_fscanf.c: Likewise.
22522 * stdio-common/isoc99_scanf.c: Likewise.
22523 * stdio-common/isoc99_vfscanf.c: Likewise.
22524 * stdio-common/isoc99_vscanf.c: Likewise.
22525 * stdio-common/isoc99_vsscanf.c: Likewise.
22526 * stdio-common/printf-prs.c: Likewise.
22527 * stdio-common/printf_fp.c: Likewise.
22528 * stdio-common/printf_fphex.c: Likewise.
22529 * stdio-common/printf_size.c: Likewise.
22530 * stdio-common/putw.c: Likewise.
22531 * stdio-common/scanf.c: Likewise.
22532 * stdio-common/sprintf.c: Likewise.
22533 * stdio-common/tmpfile.c: Likewise.
22534 * stdio-common/vfprintf.c: Likewise.
22535 * stdio-common/vfscanf.c: Likewise.
22536 * stdlib/strfmon_l.c: Likewise.
22537 * sunrpc/openchild.c: Likewise.
22538 * sunrpc/xdr_stdio.c: Likewise.
22539 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22540 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22542 2012-05-24 Roland McGrath <roland@hack.frob.com>
22544 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22546 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22547 in the third column, to generate for the shared library an IFUNC
22548 that uses _dl_vdso_vsym.
22549 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22550 * Makeconfig (object-suffixes-noshared): New variable.
22552 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22553 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22554 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22555 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22558 * include/sys/time.h (__gettimeofday): Remove macro.
22559 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22560 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22562 (__gettimeofday): Add libc_hidden_def.
22563 (gettimeofday): Add libc_hidden_weak.
22564 * sysdeps/mach/gettimeofday.c: Likewise.
22565 * sysdeps/posix/gettimeofday.c: Likewise.
22566 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22567 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22568 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22569 (__gettimeofday_internal): Remove strong_alias.
22570 (__gettimeofday): Add libc_hidden_def.
22571 (gettimeofday): Add libc_hidden_weak.
22572 * sysdeps/unix/syscalls.list (gettimeofday):
22573 Remove __gettimeofday_internal alias.
22575 2012-05-24 Daniel Jacobowitz <drow@false.org>
22576 H.J. Lu <hongjiu.lu@intel.com>
22579 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22580 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22581 (largebin_index_32_big): New.
22582 (largebin_index): Use it for 16-byte alignment.
22583 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22584 correction with front_misalign.
22586 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22614 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22615 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22617 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22621 * math/libm-test.inc (exp_test): Add test from bug 14036.
22622 (pow_test): Add test from bug 10846.
22624 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22626 (special_function): Do not include flags in test name.
22627 (parse_args): Likewise.
22628 * sysdeps/i386/fpu/libm-test-ulps: Update.
22629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22630 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22631 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22634 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22636 * math/libm-test.inc ("Philosophy"): Update comment about
22638 (UNDERFLOW_EXCEPTION): New macro.
22639 (UNDERFLOW_EXCEPTION_OK): Likewise.
22640 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22641 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22642 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22643 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22644 (INVALID_EXCEPTION_OK): Update value.
22645 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22646 (OVERFLOW_EXCEPTION_OK): Likewise.
22647 (IGNORE_ZERO_INF_SIGN): Likewise.
22648 (test_exceptions): Handle underflow exceptions.
22649 (acos_test): Update for underflow exception expectations.
22650 (cexp_test): Likewise.
22651 (clog_test): Likewise.
22652 (clog10_test): Likewise.
22653 (csqrt_test): Likewise.
22654 (ctan_test): Likewise.
22655 (ctanh_test): Likewise.
22656 (exp_test): Likewise.
22657 (exp10_test): Likewise.
22658 (exp2_test): Likewise.
22659 (expm1_test): Likewise.
22660 (fma_test): Likewise.
22661 (j0_test): Likewise.
22662 (jn_test): Likewise.
22663 (nexttoward_test): Likewise.
22664 (pow_test): Likewise.
22665 (scalbn_test): Likewise.
22666 (scalbln_test): Likewise.
22667 (tan_test): Likewise.
22668 (y1_test): Likewise.
22669 * sysdeps/i386/fpu/libm-test-ulps: Update.
22670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22672 2012-05-23 David S. Miller <davem@davemloft.net>
22674 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22675 (__libc_sigaction): Remove unused local variables.
22677 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22679 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22681 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22683 mktime: avoid signed integer overflow
22684 * time/mktime.c (__mktime_internal): Do not mishandle the case
22685 where diff == INT_MIN.
22687 mktime: simplify computation of average
22688 * time/mktime.c (ranged_convert): Use new time_t_avg function
22689 instead of rolling our own (probably-slower) code.
22691 mktime: do not assume signed right shift propagates sign bit
22692 * time/mktime.c (isdst_differ): New static function.
22693 (__mktime_internal): No need to normalize tm_isdst now.
22694 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22697 mktime: merge another wrapv change from gnulib
22698 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22699 from some compilers.
22701 mktime: remove incorrect attempt at unusual arithmetics
22702 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22703 The code didn't really work on such machines anyway.
22704 (TYPE_MINIMUM): Assume two's complement.
22705 (twos_complement_arithmetic): Verify that long_int and time_t
22706 are two's complement (or unsigned, in the latter case).
22708 mktime: check signed shifts on long_int and time_t, too
22709 * time/mktime.c (SHR): Check that shifts work as desired
22710 on the types long_int and time_t too, as SHR is used on
22713 mktime: do not assume 'long' is wide enough
22714 * time/mktime.c (verify): Move decl up.
22715 (long_int): New type.
22716 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22717 to remove assumption in the code that 'long' is wide enough to
22718 store year values. This assumption is not true on x32 and on
22719 some non-glibc platforms.
22721 mktime: merge wrapv change from gnulib
22722 * time/mktime.c (WRAPV): New macro.
22723 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22724 (guess_time_tm, __mktime_internal): Do not assume that signed
22725 integer overflow wraps around; modern compilers generate code
22726 where this assumption is no longer valid.
22728 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22730 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22731 Replace "jmp L(pseudo_end)" with "ret".
22732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22735 2012-05-23 Andreas Jaeger <aj@suse.de>
22737 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22738 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22740 2012-05-23 Andreas Jaeger <aj@suse.de>
22741 Maximilian Attems <max@stro.at>
22743 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22746 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22748 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22749 code so that pseudo_end is just ret and the stack pointer is
22750 correct also for static library in error case.
22752 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22754 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22755 move to syscalls.list.
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22761 * manual/install.texi (Running make install): Do not mention Linux
22762 kernel version for which pt_chown is not needed.
22763 (Linux): Do not mention problems with nscd with 2.0 kernels.
22764 * INSTALL: Regenerated.
22766 2012-05-23 Andreas Jaeger <aj@suse.de>
22768 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22769 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22771 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22773 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22774 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22775 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22776 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22778 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22779 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22780 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22781 * sysdeps/unix/sysv/linux/bits/in.h
22782 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22784 2012-05-22 Roland McGrath <roland@hack.frob.com>
22786 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22787 (PREPARE_VERSION): Just use assert instead, it will be elided
22788 under [NDEBUG] anyway.
22790 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22792 * sysdeps/unix/sysv/linux/Makefile: Include
22793 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22794 (sysdep_routines): Remove sysctl.
22795 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22796 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22797 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22798 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22799 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22801 2012-05-22 Andreas Jaeger <aj@suse.de>
22803 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22804 that pseudo_end is just ret and the stack pointer is correct also
22805 for static library in error case.
22807 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22810 * nss/nsswitch.c (defconfig_entries): New variable.
22811 (__nss_database_lookup): Don't leak defconfig entries.
22812 (nss_parse_service_list): Don't leak on error paths.
22813 (free_database_entries): New function.
22814 (free_defconfig): New function.
22815 (free_mem): Move common code to free_database_entries.
22817 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22819 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22821 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22823 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22824 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22827 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22828 (INTERNAL_SYSCALL_TYPES): Likewise.
22829 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22830 (LOAD_REGS_TYPES_[1-6]): Likewise.
22831 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22832 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22834 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22836 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22837 copysignl for GLIBC_2_0.
22838 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22839 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22841 logbl for GLIBC_2_0.
22842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22843 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22845 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22847 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22848 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22850 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22853 * time/mktime.c: Update copyright years.
22855 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22857 mktime: merge comment-quoting-style change from gnulib
22858 * time/mktime.c: Quote 'like this' in comments.
22859 The GNU coding standards suggest that we no longer quote `like this',
22860 as "`" and "'" are typically rendered asymmetrically nowadays.
22861 The typical gnulib style is to quote 'like this' when quoting
22862 code, and "like this" when quoting English.
22864 * time/mktime.c (compile-command): Add "-I.".
22866 mktime: merge mktime-internal.h change from gnulib
22867 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22869 mktime: merge time_r change from gnulib
22870 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22872 mktime: merge DEBUG change from gnulib
22873 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22874 case system <time.h> has a #define.
22876 mktime: merge <sys/types.h> change from gnulib
22877 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22878 since <time.t> is now guaranteed to define time_t.
22880 mktime: merge HAVE_CONFIG_H change from gnulib
22881 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22883 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22888 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22890 (struct rusage): Use anonymous union to pad each field to
22893 2012-05-21 David S. Miller <davem@davemloft.net>
22895 * Makefules (o-iterator): Remove .s cases.
22896 (compile-command.s): Delete.
22897 (COMPILE.s): Delete.
22898 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22900 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22902 * configure.in (libc_cv_predef_stack_protector): Only consider
22903 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22904 * configure: Regenerated.
22906 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22909 New macro. Use R*LP on int and pointer.
22910 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22911 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22912 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22913 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22915 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22916 [__WORDSIZE_TIME64_COMPAT32] instead of
22917 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22918 (struct utmp): Likewise.
22919 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22920 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22922 (__WORDSIZE_TIME64_COMPAT32): This.
22923 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22924 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22925 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22926 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22927 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22928 (__WORDSIZE_TIME64_COMPAT32): New macro.
22930 2012-05-21 Andreas Jaeger <aj@suse.de>
22932 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22933 only if [SHARED]. Add prototype for __wcschr_ia32.
22935 2012-05-21 Roland McGrath <roland@hack.frob.com>
22937 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22938 of %rbp unmolested in the jmp_buf while mangling the low bits.
22939 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22940 unmolested high bits of %rbp while demangling the low bits.
22941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22943 2012-05-21 Andreas Jaeger <aj@suse.de>
22945 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22946 * sunrpc/svc_simple.c: Use it for registerrpc.
22947 * sunrpc/xcrypt.c: Use it for passwd2des.
22949 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22951 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22953 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22954 Don't define if [__SYSCALL_WORDSIZE != 32].
22955 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22958 2012-05-21 Bruno Haible <bruno@clisp.org>
22959 Andreas Jaeger <aj@suse.de>
22961 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22962 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22963 inptr and inend for must_buffer_ch.
22964 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22965 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22966 * stdio-common/Makefile (tests): Remove bug15.
22967 (bug15-ENV): Remove macro.
22968 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22971 2012-05-19 Andreas Jaeger <aj@suse.de>
22972 Roland McGrath <roland@hack.frob.com>
22974 * manual/contrib.texi: Completely rewritten. It contains now an
22975 alphabetical list of contributors and their contributions.
22977 2012-05-21 Richard Henderson <rth@twiddle.net>
22979 * misc/getauxval.c (__getauxval): Use unsigned long int.
22980 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22981 (getauxval): Use unsigned long int.
22983 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22985 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22987 2012-05-21 Roland McGrath <roland@hack.frob.com>
22989 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22990 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22991 __alignof__ (long double).
22993 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22997 2012-05-20 Richard Henderson <rth@twiddle.net>
22999 * misc/getauxval.c: New file.
23000 * misc/sys/auxv.h: New file.
23001 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23002 (routines): Add getauxval.
23003 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23004 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23005 * elf/dl-sysdep.c (_dl_auxv): Remove.
23006 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23007 * elf/dl-support.c (_dl_auxv): New variable.
23008 (_dl_aux_init): Initialize it.
23009 * manual/startup.texi (Auxiliary Vector): New node.
23010 * sysdeps/generic/bits/hwcap.h: New file.
23011 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23012 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23013 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23014 * sysdeps/sparc/sysdep.h: ... here. Include it.
23015 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23016 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23028 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23032 2012-05-19 David S. Miller <davem@davemloft.net>
23034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23036 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23039 * math/s_ccosh.c: Include <float.h>
23040 (__ccosh): Avoid internal overflow calculating sinh and cosh
23041 values before multiplying by sin and cos values.
23042 * math/s_ccoshf.c: Likewise.
23043 * math/s_ccoshl.c: Likewise.
23044 * math/s_csin.c: Likewise.
23045 * math/s_csinf.c: Likewise.
23046 * math/s_csinl.c: Likewise.
23047 * math/s_csinh.c: Likewise.
23048 * math/s_csinhf.c: Likewise.
23049 * math/s_csinhl.c: Likewise.
23050 * math/libm-test.inc (ccos_test): Add more tests.
23051 (ccosh_test): Likewise.
23052 (csin_test): Likewise.
23053 (csinh_test): Likewise.
23054 * sysdeps/i386/fpu/libm-test-ulps: Update.
23055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23057 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23059 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23060 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23062 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23064 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23066 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23067 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23068 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23069 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23070 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23071 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23072 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23073 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23074 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23075 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23076 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23077 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23078 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23079 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23080 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23081 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23082 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23083 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23084 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23085 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23086 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23087 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23088 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23089 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23090 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23091 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23092 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23093 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23094 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23095 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23096 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23098 2012-05-18 Andreas Jaeger <aj@suse.de>
23100 * csu/.gitignore: Delete.
23102 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23104 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23105 (timex): Use __syscall_slong_t.
23107 2012-05-18 Andreas Jaeger <aj@suse.de>
23108 Carlos O'Donell <carlos_odonell@mentor.com>
23110 * manual/install.texi (Configuring and compiling): Update
23111 description about files modified in the source directory.
23112 * INSTALL: Regenerated.
23114 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23116 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23117 value. Use "or" to set return value to -1.
23118 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23119 negate return value.
23121 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23123 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23124 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23125 failure if the compiler has Graphite support disabled.
23126 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23128 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23129 CFLAGS-memmove.c): Likewise.
23130 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23133 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23135 * sysdeps/x86_64/x32/_itoa.h: New file.
23137 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23138 getdents system call only if kernel and user dirents have the
23139 same d_ino and d_off.
23141 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23142 LLONG_MAX != LONG_MAX.
23143 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23144 (_fitoa_word): Likewise.
23146 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23148 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23149 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23150 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23152 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23153 include <bits/wordsize.h>. Check __x86_64__ instead of
23155 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23156 if __x86_64__ is defined. Use anonymous union on fpstate.
23158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23161 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23163 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23164 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23165 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23166 Refer to _rtld_local_ro instead of _rtld_global_ro.
23167 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23169 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23171 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23173 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23174 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23175 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23177 * sysdeps/powerpc/powerpc32/dl-machine.c
23178 (__elf_machine_runtime_setup) [PROF]: Don't reference
23181 2012-05-18 Andreas Jaeger <aj@suse.de>
23183 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23184 function only available for GCCs before 3.4 since GCC 3.4
23185 introduced a builtin.
23187 (llrintf): Likewise.
23188 (llrint): Likewise.
23195 (nearbyint): Likewise.
23196 (nearbyintf): Likewise.
23200 (floorf): Likewise.
23202 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23204 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23205 on both fields and cast pointer to __syscall_ulong_t.
23207 * bits/types.h (__fsword_t): New type.
23208 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23209 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23211 (__FSWORD_T_TYPE): Likewise.
23212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23213 (__FSWORD_T_TYPE): Likewise.
23214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23215 (__FSWORD_T_TYPE): Likewise.
23216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23217 (__FSWORD_T_TYPE): Likewise.
23218 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23219 __SWORD_TYPE with __fsword_t.
23220 (statfs64): Likewise.
23222 2012-05-17 David S. Miller <davem@davemloft.net>
23224 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23226 2012-05-17 Andreas Jaeger <aj@suse.de>
23228 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23231 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23233 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23235 2012-05-17 Andreas Jaeger <aj@suse.de>
23237 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23240 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23242 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23244 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23246 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23247 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23249 2012-05-17 Andreas Jaeger <aj@suse.de>
23250 Carlos O'Donell <carlos_odonell@mentor.com>
23253 * sysdeps/x86_64/multiarch/init-arch.h
23254 (bit_YMM_Usable): Rename to...
23255 (bit_AVX_Usable): ... this.
23256 (bit_FMA4_Usable): New macro.
23257 (bit_XMM_state): New macro.
23258 (bit_YMM_state): New macro.
23259 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23260 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23261 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23262 (CPUID_OSXSAVE): New macro.
23263 (CPUID_AVX): New macro.
23264 (CPUID_FMA4): New macro.
23265 (index_YMM_Usable): Rename to...
23266 (index_AVX_Usable): ... this.
23267 (HAS_AVX): Use HAS_ARCH_FEATURE.
23268 (HAS_FMA4): Likewise.
23269 (HAS_YMM_USABLE): Remove.
23270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23271 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23273 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23274 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23275 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23276 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23277 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23279 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23281 * math/libm-test.c: Support platforms without multiple rounding modes.
23282 * math/bug-nextafter.c: Support platforms without FP exceptions.
23283 * math/bug-nexttoward.c: Likewise.
23284 * math/test-fenv.c: Likewise.
23285 * math/test-misc.c: Likewise.
23286 * stdlib/bug-getcontext.c: Likewise.
23288 2012-05-17 Andreas Jaeger <aj@suse.de>
23290 * manual/examples/search.c (critter_cmp): Change signature to
23292 * manual/string.texi (Collation Functions): Likewise.
23294 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23296 * bits/types.h: Fold copyright years.
23297 * bits/typesizes.h: Likewise.
23298 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23302 * time/time.h: Likewise.
23304 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23307 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23308 in instead of returning them. Return void.
23309 (__libc_mallinfo): Accumulate over all arenas.
23310 (__malloc_stats): Adjust for change in int_mallinfo interface.
23312 2012-05-16 Roland McGrath <roland@hack.frob.com>
23315 * configure.in (NM): Add AC_CHECK_TOOL for it.
23316 (libc_extra_cflags): New substituted variable.
23317 Check for -fstack-protector being used implicitly.
23318 * configure: Regenerated.
23319 * config.make.in (config-extra-cflags): New variable,
23320 gets @libc_extra_cflags@.
23321 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23324 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23325 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23326 * configure: Regenerated.
23327 * config.make.in (CPPUNDEFS): New substituted variable.
23328 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23329 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23330 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23332 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23334 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23335 (mq_attr): Use __syscall_slong_t.
23337 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23339 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23340 Check __x86_64__ instead of __WORDSIZE.
23341 (_STAT_VER_LINUX): Likewise.
23342 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23343 __syscall_ulong_t and __syscall_slong_t.
23344 (stat64): Likewise.
23346 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23350 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23352 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23354 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23356 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23359 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23360 include <bits/wordsize.h>. Check __x86_64__ instead of
23362 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23364 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23367 include <bits/wordsize.h>. Check __x86_64__ instead of
23369 (user_regs_struct): Use "__extension__ unsigned long long"
23370 instead of "unsigned long" if __x86_64__ is defined.
23371 (user): Likewise. Pad after pointer field if __ILP32__ is
23374 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23376 * configure.in (makeinfo): Require version 4.5 or later. Allow
23378 * configure: Regenerated.
23379 * manual/install.texi (texinfo): Increase version requirement to
23381 * INSTALL: Regenerated.
23383 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23385 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23387 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23389 * sysdeps/x86_64/x32/ffs.c: New file.
23391 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23393 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23394 defined. Use __syscall_ulong_t.
23395 (shminfo): Use __syscall_ulong_t.
23396 (shm_info): Likewise.
23398 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23401 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23403 (msgqnum_t): Use __syscall_ulong_t.
23404 (msglen_t): Likewise.
23405 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23408 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23409 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23411 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23413 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23414 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23416 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23419 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23420 include <bits/wordsize.h>. Check __x86_64__ instead of
23423 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23424 "unsigned long long int" if __x86_64__ is defined.
23425 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23427 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23428 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23429 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23431 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23433 (GET_PC): Cast to uintptr_t first.
23434 (GET_FRAME): Likewise.
23435 (GET_STACK): Likewise.
23437 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23438 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23439 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23440 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23441 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23442 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23443 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23444 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23445 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23446 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23447 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23448 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23449 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23450 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23451 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23452 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23453 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23454 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23455 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23456 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23457 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23458 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23459 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23460 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23461 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23462 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23464 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23467 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23469 * Makerules (+depfiles): Also collect depfiles from .oS in
23471 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23472 .oS, $(libnldbl-routines)).
23474 * Makerules (native-compile-mkdep-flags): Define.
23475 * sunrpc/Makefile (extra-objs): Add $(addprefix
23476 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23477 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23478 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23479 calling $(make-target-directory).
23481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23483 * bits/types.h (__snseconds_t): Removed.
23484 * time/time.h (struct timespec): Replace __snseconds_t with
23486 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23487 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23489 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23490 (__SNSECONDS_T_TYPE): Likewise.
23491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23492 (__SNSECONDS_T_TYPE): Likewise.
23493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23494 (__SNSECONDS_T_TYPE): Likewise.
23496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23498 * sysdeps/mach/hurd/bits/typesizes.h
23499 (__SYSCALL_SLONG_TYPE): New macro.
23500 (__SYSCALL_ULONG_TYPE): Likewise.
23502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23504 * bits/types.h (__syscall_slong_t): New type.
23505 (__syscall_ulong_t): Likewise.
23507 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23508 (__SYSCALL_ULONG_TYPE): Likewise.
23509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23510 (__SYSCALL_SLONG_TYPE): Likewise.
23511 (__SYSCALL_ULONG_TYPE): Likewise.
23512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23513 (__SYSCALL_SLONG_TYPE): Likewise.
23514 (__SYSCALL_ULONG_TYPE): Likewise.
23515 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23516 (__SYSCALL_SLONG_TYPE): Likewise.
23517 (__SYSCALL_ULONG_TYPE): Likewise.
23519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23521 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23522 Add sigaltstack-offsets.sym.
23523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23524 <sigaltstack-offsets.h>.
23525 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23526 longjmp_msg pointer.
23527 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23528 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23530 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23532 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23534 * elf/stackguard-macros.h: Remove file.
23535 * sysdeps/generic/stackguard-macros.h: New file.
23536 * sysdeps/i386/stackguard-macros.h: Likewise.
23537 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23538 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23539 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23540 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23541 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23542 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23543 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23544 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23545 <elf/stackguard-macros.h>.
23548 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23549 __aligned__ in attribute.
23550 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23551 (gregset_t): Likewise.
23553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23555 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23556 * sysdeps/x86_64/64/Implies-after: Here. New file.
23557 * sysdeps/x86_64/x32/Implies-after: New file.
23559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23561 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23562 and access return value for _dl_profile_fixup. Use R10_LP to
23565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23567 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23571 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23572 * sysdeps/x86_64/x32/sysdep.h: New file.
23574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23576 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23577 * sysdeps/x86_64/setjmp.S: Likewise.
23579 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23581 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23582 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23583 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23584 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23585 remove unused global constant.
23587 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23589 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23590 include of <not-cancel.h>.
23592 2012-05-15 Roland McGrath <roland@hack.frob.com>
23594 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23596 2012-05-15 Jeff Law <law@redhat.com>
23597 Andreas Jaeger <aj@suse.de>
23600 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23602 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23603 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23604 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23605 code changing __hst_map_handle.map.
23607 2012-05-15 Roland McGrath <roland@hack.frob.com>
23609 * configure.in (sysnames): Look for Implies-before and Implies-after
23611 * configure: Regenerated.
23613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23615 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23616 8-byte data alignment with LP_SIZE alignment.
23618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23620 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23625 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23629 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23630 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23631 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23633 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23637 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23638 (stackinfo_sub_sp): Likewise.
23640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23642 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23647 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23652 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23657 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23659 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23661 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23662 into R11_LP and load __x86_64_shared_cache_size_half into
23665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23667 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23670 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23678 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23679 powerpc32/power7/fpu/s_logb.c via #include.
23680 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23681 powerpc32/power7/fpu/s_logbf.c via #include.
23682 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23683 powerpc32/power7/fpu/s_logbl.c via #include.
23685 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23687 * README.libm: Remove file.
23689 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23691 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23692 count for x32. Use R*_LP and omit operand-size suffix.
23694 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23696 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23697 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23698 * sysdeps/x86_64/x32/shlib-versions: New file.
23700 2012-05-14 Roland McGrath <roland@hack.frob.com>
23702 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23703 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23704 Use _dl_fatal_printf instead.
23706 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23708 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23709 set if not set by the user. Do not allow for being unset.
23710 * sysdeps/unix/sysv/linux/configure: Regenerated.
23712 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23714 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23715 the `q' suffix from lea and replace .quad with ASM_ADDR.
23717 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23720 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23722 (PTR_DEMANGLE): Likewise.
23724 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23726 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23728 (ASM_ADDR): Likewise.
23729 (RAX_LP): Likewise.
23730 (RBP_LP): Likewise.
23731 (RBX_LP): Likewise.
23732 (RCX_LP): Likewise.
23733 (RDI_LP): Likewise.
23734 (RSI_LP): Likewise.
23735 (RSP_LP): Likewise.
23738 (R10_LP): Likewise.
23739 (R10_LP): Likewise.
23740 (R11_LP): Likewise.
23741 (R12_LP): Likewise.
23742 (R13_LP): Likewise.
23743 (R14_LP): Likewise.
23744 (R15_LP): Likewise.
23746 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23748 * sysdeps/x86_64/x32/dl-machine.h: New file.
23750 2012-05-14 Andreas Jaeger <aj@suse.de>
23752 * manual/Makefile (subdir): Remove export of subdir.
23753 (all): Remove target.
23754 (.PHONY): Remove all from list.
23755 (mkinstalldirs): Remove.
23756 (.PHONY): Remove installdirs from list.
23757 ($(inst_infodir)/libc.info): Use make-target-directory.
23758 (installdirs): Remove.
23759 (subdir_%): Remove.
23760 (glibc-targets): Remove.
23763 ($(objpfx)stubs ../po/manual.pot): Remove.
23764 ($(objpfx)stamp%): Remove.
23765 (make-target-directory): Remove.
23766 (subdir_install): Remove.
23767 (routines): Remove.
23774 * manual/.gitignore: Remove, it's not needed anymore.
23775 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23777 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23779 (texis): Renamed to $(objpfx)texis.
23780 (texis-path): New, contains path to generated files.
23781 (chapters.%): Use texis-path for complete path, add extra argument
23783 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23784 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23785 (summary,texi, stamp-summary): Use complete path of
23786 files. Generate files in build dir.
23787 (dir-add.texi): Build in build dir.
23788 (libm-err.texi,stamp-libm-err): Likewise.
23789 (version.texi, stamp-version): Likewise.
23790 (.%c.texi): Likewise.
23791 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23792 (mostlyclean): Remove target.
23793 (realclean): Remove target.
23794 (generated): Add new variable with contents from mostlyclean and
23795 realclean, remove entries duplicated in common-mostlyclean, add
23796 stamp-libm-err and stamp-version.
23797 (generated-dirs): Add libc directory.
23798 ($(inst_infodir)/libc.info): Install files from build dir.
23800 * manual/install.texi (Configuring and compiling): Adjust since
23801 the info files are not part of the tar ball anymore.
23803 2012-05-14 Andreas Jaeger <aj@suse.de>
23805 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23808 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23812 to 2.2.0 where earlier.
23813 * sysdeps/unix/sysv/linux/configure: Regenerated.
23814 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23815 Remove conditional code.
23816 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23817 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23818 Remove conditional code.
23819 [!__NR_lchown]: Likewise.
23820 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23821 [__NR_lchown]: Likewise.
23822 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23823 comment referencing __ASSUME_LCHOWN_SYSCALL.
23824 * sysdeps/unix/sysv/linux/i386/sigaction.c
23825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23827 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23828 Remove conditional code.
23829 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23830 (__protocol_available): Remove #if 0 code.
23831 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23833 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23834 * sysdeps/unix/sysv/linux/kernel-features.h
23835 (__ASSUME_GETCWD_SYSCALL): Don't define.
23836 (__ASSUME_REALTIME_SIGNALS): Likewise.
23837 (__ASSUME_PREAD_SYSCALL): Likewise.
23838 (__ASSUME_PWRITE_SYSCALL): Likewise.
23839 (__ASSUME_POLL_SYSCALL): Likewise.
23840 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23841 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23843 (__ASSUME_SIOCGIFNAME): Don't define.
23844 (__ASSUME_MSG_NOSIGNAL): Likewise.
23845 (__ASSUME_SENDFILE): Define unconditionally.
23846 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23847 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23849 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23850 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23851 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23852 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23853 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23854 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23855 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23857 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23860 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23863 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23864 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23866 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23867 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23869 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23872 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23875 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23876 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23878 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23879 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23880 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23881 Remove conditional code.
23882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23883 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23884 Remove conditional code.
23885 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23886 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23887 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23888 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23889 Remove conditional code.
23890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23891 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23892 Remove conditional code.
23893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23894 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23895 Remove conditional code.
23896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23897 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23898 Remove conditional code.
23899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23900 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23901 Remove conditional code.
23902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23903 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23904 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23905 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23906 * sysdeps/unix/sysv/linux/sigaction.c
23907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23909 * sysdeps/unix/sysv/linux/sigpending.c
23910 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23911 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23912 * sysdeps/unix/sysv/linux/sigprocmask.c
23913 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23914 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23915 * sysdeps/unix/sysv/linux/sigsuspend.c
23916 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23917 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23919 (__libc_missing_rt_sigs): Remove.
23920 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23921 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23922 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23923 Remove conditional code.
23924 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23925 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23927 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23928 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23929 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23930 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23932 2012-05-14 Andreas Jaeger <aj@suse.de>
23934 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23935 it's not used in glibc.
23936 (__coshm1): Likewise.
23937 (__acosh1p): Likewise.
23940 * manual/string.texi (Copying and Concatenation): Add missing
23941 variable in concat example.
23942 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23944 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23947 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23948 __builtin_clzl with __builtin_clzll.
23950 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23953 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23956 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23958 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23959 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23960 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23961 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23963 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23965 * NEWS: Update ia64 info.
23967 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23969 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23972 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23974 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23975 * sysdeps/unix/syscalls.list (dup3): Likewise.
23976 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23977 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23979 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23981 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23982 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23984 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23986 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23988 (TLS_IE): Use mov/add instead of movq/addq to load thread
23990 (TLS_GD_PREFIX): New.
23993 2012-05-11 David S. Miller <davem@davemloft.net>
23995 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23996 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23997 (_FPU_SETCW): Likewise.
23999 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24001 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24002 is 32-byte aligned.
24004 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24007 * iconvdata/gb18030.c: Update tables.
24008 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24009 characters specially.
24010 (BODY for TO_LOOP): Add encoding of missing ranges.
24012 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24015 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24016 * sysdeps/mach/hurd/dup3.c: Likewise.
24017 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24018 * sysdeps/powerpc/memmove.c:: Likewise.
24020 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24023 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24025 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24027 * elf/elf.h (R_X86_64_RELATIVE64): New.
24028 (R_X86_64_NUM): Updated.
24029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24030 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24031 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24032 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24033 tst-quad1pie tst-quad2pie
24034 (modules-names): Add tst-quadmod1 tst-quadmod2.
24035 ($(objpfx)tst-quad1): New dependency.
24036 ($(objpfx)tst-quad2): Likewise.
24037 ($(objpfx)tst-quad1pie): Likewise.
24038 ($(objpfx)tst-quad2pie): Likewise.
24039 * sysdeps/x86_64/tst-quad1.c: New file.
24040 * sysdeps/x86_64/tst-quad1pie.c: New file.
24041 * sysdeps/x86_64/tst-quad2.c: Likewise.
24042 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24043 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24044 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24045 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24046 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24050 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24051 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24052 * streams/stropts.h (t_scalar_t): Define type.
24054 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24055 (_PATH_PRESERVE): Set to "/var/lib".
24056 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24058 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24061 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24062 if __dir_mkfile succeeded.
24064 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24065 checking for _hurd_dtablesize. Unlock it right after having
24066 finished _hurd_dtable allocation.
24068 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24070 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24071 * sysdeps/mach/hurd/configure: Regenerated.
24072 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24073 special-casing to...
24074 * sysdeps/gnu/configure.in: ... this new file.
24075 * sysdeps/unix/sysv/linux/configure: Regenerated.
24076 * sysdeps/gnu/configure: New generated file.
24078 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24079 for Linux: use nsec instead of usec, as well as:
24080 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24081 members of type struct timespec.
24082 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24084 (struct stat64): Likewise.
24085 (_STATBUF_ST_NSEC): New macro.
24086 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24088 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24089 __strtoul_internal rather than strtoul.
24091 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24093 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24098 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24099 which preserves existing values.
24100 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24102 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24104 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24105 TIMEOUT values. Return EINVAL for NFDS values either negative or
24106 greater than FD_SETSIZE.
24108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24110 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24111 allocated, call __vm_protect to finish enabling the existing space, and
24112 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24113 allocate the remainder.
24115 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24117 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24118 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24120 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24122 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24123 sysdeps/mach/hurd/readlink.c.
24125 * posix/tst-sysconf.c (posix_options): Only use
24126 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24127 _POSIX_SYNCHRONIZED_IO when they are defined
24128 * sysdeps/mach/hurd/bits/posix_opt.h:
24129 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24130 (_XOPEN_REALTIME): Undefine macro.
24131 (_XOPEN_REALTIME_THREADS): Undefine macro.
24132 (_XOPEN_SHM): Undefine macro.
24133 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24135 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24137 (_POSIX_ASYNC_IO): Undefine macro.
24138 (_POSIX_PRIORITIZED_IO): Undefine macro.
24139 (_POSIX_SPIN_LOCKS): Define macro to -1.
24141 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24142 SA_NODEFER, SA_RESETHAND.
24143 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24144 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24147 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24149 * elf/Makefile (pldd-modules): Define unconditionally.
24151 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24153 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24157 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24158 Return ENOENT when name is empty.
24159 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24163 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24165 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24167 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24169 Fix mlock in all cases except non-readable pages.
24170 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24171 instead of VM_PROT_ALL as parameter to __vm_wire function.
24173 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24174 (__mkdir): When path is `/', just fail with EEXIST.
24175 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24179 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24180 <sys/uio.h> (for writev).
24181 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24182 and <sys/param.h> (for MIN).
24184 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24186 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24187 REQUESTED_TIME. Properly set the remaining time and return EINTR
24190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24192 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24193 Depend on against $(link-rpcuserlibs).
24195 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24197 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24198 (__libc_stack_end): Do not use attribute_relro.
24199 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24200 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24201 to libthread-provided value.
24202 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24205 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24208 * bits/libc-lock.h (__libc_once_get): New macro.
24209 * sysdeps/mach/bits/libc-lock.h: Likewise.
24210 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24212 instead of using implementation details.
24214 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24215 * libio/freopen.c: Likewise.
24216 * libio/freopen64.c: Likewise.
24217 * misc/syslog.c: Likewise.
24218 * nscd/connections.c: Likewise.
24219 * nscd/netgroupcache.c: Likewise.
24220 * sysdeps/posix/getcwd.c: Likewise.
24222 2012-05-10 Roland McGrath <roland@hack.frob.com>
24224 * math/w_ilogbf.c: Add #include <limits.h>.
24226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24228 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24229 path instead of returning without unlocking.
24231 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24232 immediate-write ioctls.
24233 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24235 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24237 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24238 __builtin_frame_address instead of making assumptions about the
24239 location of the return address relative to DATA. Force early load of
24240 the return address.
24241 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24242 __builtin_frame_address.
24245 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24246 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24247 implement dup3 and do some further code clean-ups.
24248 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24249 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24251 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24253 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24255 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24256 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24257 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24258 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24259 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24262 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24263 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24264 when handler == SIG_ERR, not when handler != SIG_ERR.
24266 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24268 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24269 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24272 accept4 for GNU Hurd.
24273 * include/sys/socket.h (__libc_accept4): New prototype.
24274 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24275 to implement __libc_accept4.
24276 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24278 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24280 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24281 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24282 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24283 signal-defines.sym.
24285 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24287 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24289 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24291 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24292 assertion on O_CLOEXEC flag.
24293 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24294 * hurd/intern-fd.c: Likewise.
24295 * hurd/port2fd.c: Likewise.
24297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24300 * bits/in.h (IPV6_PKTINFO): Define new macro.
24301 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24303 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24308 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24310 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24311 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24313 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24314 * math/libm-test.inc (logb_test) : Additional logb tests.
24316 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24317 Andreas Jaeger <aj@suse.de>
24319 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24320 * configure: Regenerated.
24321 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24322 * config.make.in (link-obsolete-rpc): New substituted variable.
24323 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24324 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24325 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24326 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24327 so that libc.a contains the symbols.
24328 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24329 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24330 * sunrpc/auth_none.c: Likewise.
24331 * sunrpc/auth_unix.c: Likewise.
24332 * sunrpc/authdes_prot.c: Likewise.
24333 * sunrpc/authuxprot.c: Likewise.
24334 * sunrpc/clnt_gen.c: Likewise.
24335 * sunrpc/clnt_perr.c: Likewise.
24336 * sunrpc/clnt_raw.c: Likewise.
24337 * sunrpc/clnt_simp.c: Likewise.
24338 * sunrpc/clnt_tcp.c: Likewise.
24339 * sunrpc/clnt_udp.c: Likewise.
24340 * sunrpc/clnt_unix.c: Likewise.
24341 * sunrpc/des_crypt.c: Likewise.
24342 * sunrpc/des_soft.c: Likewise.
24343 * sunrpc/get_myaddr.c: Likewise.
24344 * sunrpc/key_call.c: Likewise.
24345 * sunrpc/key_prot.c: Likewise.
24346 * sunrpc/netname.c: Likewise.
24347 * sunrpc/pm_getmaps.c: Likewise.
24348 * sunrpc/pm_getport.c: Likewise.
24349 * sunrpc/pmap_clnt.c: Likewise.
24350 * sunrpc/pmap_prot.c: Likewise.
24351 * sunrpc/pmap_prot2.c: Likewise.
24352 * sunrpc/pmap_rmt.c: Likewise.
24353 * sunrpc/publickey.c: Likewise.
24354 * sunrpc/rpc_cmsg.c: Likewise.
24355 * sunrpc/rpc_common.c: Likewise.
24356 * sunrpc/rpc_dtable.c: Likewise.
24357 * sunrpc/rpc_prot.c: Likewise.
24358 * sunrpc/rpc_thread.c: Likewise.
24359 * sunrpc/rtime.c: Likewise.
24360 * sunrpc/svc.c: Likewise.
24361 * sunrpc/svc_auth.c: Likewise.
24362 * sunrpc/svc_raw.c: Likewise.
24363 * sunrpc/svc_run.c: Likewise.
24364 * sunrpc/svc_tcp.c: Likewise.
24365 * sunrpc/svc_udp.c: Likewise.
24366 * sunrpc/svc_unix.c: Likewise.
24367 * sunrpc/svcauth_des.c: Likewise.
24368 * sunrpc/xcrypt.c: Likewise.
24369 * sunrpc/xdr.c: Likewise.
24370 * sunrpc/xdr_array.c: Likewise.
24371 * sunrpc/xdr_float.c: Likewise.
24372 * sunrpc/xdr_intXX_t.c: Likewise.
24373 * sunrpc/xdr_mem.c: Likewise.
24374 * sunrpc/xdr_rec.c: Likewise.
24375 * sunrpc/xdr_ref.c: Likewise.
24376 * sunrpc/xdr_sizeof.c: Likewise.
24377 * sunrpc/xdr_stdio.c: Likewise.
24379 2012-05-10 Roland McGrath <roland@hack.frob.com>
24381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24382 change. Update copyright years.
24384 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24386 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24388 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24389 Joseph Myers <joseph@codesourcery.com>
24390 Paul Pluzhnikov <ppluzhnikov@google.com>
24393 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24395 [cross-compiling] (extra-libs): Likewise.
24396 [cross-compiling] (extra-libs-others): Likewise.
24397 [cross-compiling] (librpcsvc-routines): Likewise.
24398 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24399 [cross-compiling] (omit-deps): Likewise.
24400 (sunrpc-CPPFLAGS): New variable.
24401 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24402 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24403 (cross-rpcgen-objs): New variable.
24404 (extra-objs): Append $(cross-rpcgen-objs).
24405 ($(cross-rpcgen-objs)): New rule.
24406 ($(objpfx)cross-rpcgen): Likewise.
24407 (rpcgen-cmd): Define to use $(built-program-file). Expand
24409 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24410 ($(objpfx)x%.stmp): Likewise.
24411 * sunrpc/proto.h [IS_IN_build] (_): Define.
24412 [IS_IN_build] (_libc_intl_domainname): Likewise.
24414 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24417 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24418 and R_X86_64_TPOFF64.
24420 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24422 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24423 sysdeps/unix/sysv/syscalls.list.
24426 * sysdeps/unix/sysv/syscalls.list: Remove file.
24428 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24431 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24432 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24433 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24434 (__LC_IDENTIFICATION): Make these macros useful in #if
24435 expressions, as required by C99.
24437 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24439 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24440 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24443 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24445 * stdlib/longlong.h: Updated from GCC.
24447 2012-05-09 Andreas Jaeger <aj@suse.de>
24449 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24450 default is first entry.
24451 (run_mode): Set type.
24452 (main): Remove informal message about syslog.
24453 (options): Fix typo.
24456 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24459 (llrintf): Likewise.
24460 (llrint): Likewise.
24463 (nearbyint): Likewise.
24464 (nearbyintf): Likewise.
24466 2012-05-09 Andreas Jaeger <aj@suse.de>
24467 Pedro Alves <palves@redhat.com>
24469 * nscd/nscd.c (run_mode): Use enum.
24470 (main): Cleanup coding style issue.
24472 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24473 Andreas Jaeger <aj@suse.de>
24475 * nscd/nscd.c (go_background): Replaced with...
24476 (run_mode): ... this.
24477 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24478 (options): Add -F --foreground.
24479 (main): Implement it.
24480 (parse_opt): Parse it.
24482 2012-05-09 Andreas Jaeger <aj@suse.de>
24485 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24486 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24487 -Wconversion warning.
24488 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24491 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24493 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24495 (LC_ALL): Use macro-int-constant.
24496 (LC_COLLATE): Likewise.
24497 (LC_CTYPE): Likewise.
24498 (LC_MESSAGES): Likewise.
24499 (LC_MONETARY): Likewise.
24500 (LC_NUMERIC): Likewise.
24501 (LC_TIME): Likewise.
24502 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24503 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24505 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24507 [C99-based standards] (float_t): Expect type.
24508 [C99-based standards] (double_t): Expect type.
24509 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24511 [C99-based standards] (HUGE_VALL): Likewise.
24512 [C99-based standards] (INFINITY): Likewise.
24513 [C99-based standards] (NAN): Likewise.
24514 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24515 [C99-based standards] (FP_NAN): Likewise.
24516 [C99-based standards] (FP_NORMAL): Likewise.
24517 [C99-based standards] (FP_SUBNORMAL): Likewise.
24518 [C99-based standards] (FP_ZERO): Likewise.
24519 [C99-based standards] (FP_FAST_FMA): Use
24520 optional-macro-int-constant. Specify type. Require == 1.
24521 [C99-based standards] (FP_FAST_FMAF): Likewise.
24522 [C99-based standards] (FP_FAST_FMAL): Likewise.
24523 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24524 [C99-based standards] (FP_ILOGBNAN): Likewise.
24525 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24527 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24528 [C99-based standards] (math_errhandling): Specify type.
24529 [ISO99 || ISO11] (signgam): Do not allow.
24530 [non-C99-based standards] (copysignf): Do not allow.
24531 [non-C99-based standards] (exp2f): Likewise.
24532 [non-C99-based standards] (log2f): Likewise.
24533 [non-C99-based standards] (modff): Allow.
24534 [non-C99-based standards] (erff): Do not allow.
24535 [non-C99-based standards] (erfcf): Likewise.
24536 [non-C99-based standards] (gammaf): Likewise.
24537 [non-C99-based standards] (hypotf): Likewise.
24538 [non-C99-based standards] (j0f): Likewise.
24539 [non-C99-based standards] (j1f): Likewise.
24540 [non-C99-based standards] (jnf): Likewise.
24541 [non-C99-based standards] (lgammaf): Likewise.
24542 [non-C99-based standards] (tgammaf): Likewise.
24543 [non-C99-based standards] (y0f): Likewise.
24544 [non-C99-based standards] (y1f): Likewise.
24545 [non-C99-based standards] (ynf): Likewise.
24546 [non-C99-based standards] (isnanf): Likewise.
24547 [non-C99-based standards] (acoshf): Likewise.
24548 [non-C99-based standards] (asinhf): Likewise.
24549 [non-C99-based standards] (atanhf): Likewise.
24550 [non-C99-based standards] (cbrtf): Likewise.
24551 [non-C99-based standards] (expm1f): Likewise.
24552 [non-C99-based standards] (ilogbf): Likewise.
24553 [non-C99-based standards] (log1pf): Likewise.
24554 [non-C99-based standards] (logbf): Likewise.
24555 [non-C99-based standards] (nextafterf): Likewise.
24556 [non-C99-based standards] (remainderf): Likewise.
24557 [non-C99-based standards] (rintf): Likewise.
24558 [non-C99-based standards] (scalbf): Likewise.
24559 [non-C99-based standards] (copysignl): Likewise.
24560 [non-C99-based standards] (exp2l): Likewise.
24561 [non-C99-based standards] (log2l): Likewise.
24562 [non-C99-based standards] (modfl): Allow.
24563 [non-C99-based standards] (erfl): Do not allow.
24564 [non-C99-based standards] (erfcl): Likewise.
24565 [non-C99-based standards] (gammal): Likewise.
24566 [non-C99-based standards] (hypotl): Likewise.
24567 [non-C99-based standards] (j0l): Likewise.
24568 [non-C99-based standards] (j1l): Likewise.
24569 [non-C99-based standards] (jnl): Likewise.
24570 [non-C99-based standards] (lgammal): Likewise.
24571 [non-C99-based standards] (tgammal): Likewise.
24572 [non-C99-based standards] (y0l): Likewise.
24573 [non-C99-based standards] (y1l): Likewise.
24574 [non-C99-based standards] (ynl): Likewise.
24575 [non-C99-based standards] (isnanl): Likewise.
24576 [non-C99-based standards] (acoshl): Likewise.
24577 [non-C99-based standards] (asinhl): Likewise.
24578 [non-C99-based standards] (atanhl): Likewise.
24579 [non-C99-based standards] (cbrtl): Likewise.
24580 [non-C99-based standards] (expm1l): Likewise.
24581 [non-C99-based standards] (ilogbl): Likewise.
24582 [non-C99-based standards] (log1pl): Likewise.
24583 [non-C99-based standards] (logbl): Likewise.
24584 [non-C99-based standards] (nextafterl): Likewise.
24585 [non-C99-based standards] (remainderl): Likewise.
24586 [non-C99-based standards] (rintl): Likewise.
24587 [non-C99-based standards] (scalbl): Likewise.
24588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24589 [non-C99-based standards] (FP_*): Do not allow.
24590 [C99-based standards] (FP_*): Change to
24591 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24592 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24594 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24595 (SIG_ERR): Likewise.
24596 [X/Open-based standards] (SIG_HOLD): Likewise.
24597 (SIG_IGN): Likewise.
24598 (SIGABRT): Use macro-int-constant. Specify type. Require
24600 (SIGFPE): Likewise.
24601 (SIGILL): Likewise.
24602 (SIGINT): Likewise.
24603 (SIGSEGV): Likewise.
24604 (SIGTER): Likewise.
24605 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24606 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24607 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24608 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24609 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24610 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24611 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24612 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24613 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24614 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24615 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24616 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24617 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24618 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24619 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24620 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24621 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24622 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24623 [X/Open-based standards] (SIGTRAP): Likewise.
24624 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24625 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24626 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24627 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24628 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24631 2012-05-08 Ian Wienand <ianw@vmware.com>
24634 * time/tzset.c (__tzset_parse_tz): Update default rules for
24635 daylight time changes in the Energy Policy Act of 2005.
24637 2012-05-09 Andreas Jaeger <aj@suse.de>
24640 * elf/ldconfig.c (parse_conf): Change string to make clear that
24641 ldconfig only issued a warning if ld.so.conf does not exist.
24643 2012-05-08 David S. Miller <davem@davemloft.net>
24645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24646 movxtod instead of popping the value on the stack.
24648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24650 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24652 * config.h.in: Add HAVE_ARM_PCS_VFP.
24654 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24657 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24658 checking but the checks are disabled for any reason.
24660 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24662 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24663 and ELF64_R_TYPE with ELFW(R_TYPE).
24665 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24667 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24668 (ulimit): Likewise.
24670 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24671 (settimeofday): Likewise.
24673 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24675 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24676 a struct th_u2 inside the union, and move tu_block/tu_code into
24677 a new th_u3 union of tu_block/tu_code inside of that. Move
24678 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24679 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24680 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24681 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24682 (th_stuff): Change to th_u1.tu_stuff.
24684 (th_msg): Change to th_u1.th_u2.tu_data.
24686 2012-05-07 David S. Miller <davem@davemloft.net>
24688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24691 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24692 (SETUP_PIC_REG): Use it.
24693 (SETUP_PIC_REG_LEAF): Use it.
24695 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24699 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24701 (EXPL_FINITE): Likewise.
24702 (FLDLOG): Likewise.
24703 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24704 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24708 (EXPL_FINITE): Likewise.
24709 (FLDLOG): Likewise.
24710 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24711 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24713 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24714 test of -max_value argument for long double.
24715 * sysdeps/i386/fpu/libm-test-ulps: Update.
24716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24718 2012-05-06 David S. Miller <davem@davemloft.net>
24720 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24721 quad soft-float symbols whose references which are compiler
24723 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24725 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24729 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24731 (EXPL_FINITE): Likewise.
24732 (FLDLOG): Likewise.
24735 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24736 Adjust comments for base varying.
24737 (__expl_finite): Change alias to EXPL_FINITE.
24738 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24740 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24741 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24743 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24744 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24746 (EXPL_FINITE): Likewise.
24747 (FLDLOG): Likewise.
24750 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24751 Adjust comments for base varying.
24752 (__expl_finite): Change alias to EXPL_FINITE.
24753 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24758 * math/libm-test.inc (check_float_internal): Correct ulp
24759 calculation for subnormal expected results.
24761 2012-05-06 Andreas Jaeger <aj@suse.de>
24763 * Makeconfig (+math-flags): New, set to -frounding-math.
24764 (+cflags): Add +math-flags so that all of glibc gets compiled with
24767 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24769 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24771 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24777 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24778 (__ieee754_expl): Allow for and saturate large arguments.
24779 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24780 (u_threshold): Likewise.
24781 (__exp): Call __ieee754_exp before checking for overflow and
24783 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24784 (u_threshold): Likewise.
24785 (__expf): Call __ieee754_expf before checking for overflow and
24787 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24788 (u_threshold): Likewise.
24789 (__expl): Call __ieee754_expl before checking for overflow and
24791 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24792 (__ieee754_expl): Allow for and saturate large arguments.
24793 * math/libm-test.inc (exp_test): Add another test. Do not allow
24794 missing overflow exception on overflow.
24795 (expm1_test): Do not allow missing overflow exception on overflow.
24797 * sysdeps/i386/fpu/e_expl.c: Move to ...
24798 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24799 rather than using inline asm.
24800 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24801 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24802 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24804 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24807 (signal): Likewise.
24811 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24813 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24814 sysdeps/unix/common/syscalls.list.
24815 (fchmod): Likewise.
24816 (fchown): Likewise.
24817 (ftruncate): Likewise.
24818 (getrusage): Likewise.
24819 (gettimeofday): Likewise.
24820 (setpgid): Likewise.
24821 (setregid): Likewise.
24822 (setreuid): Likewise.
24823 (sigaction): Likewise.
24824 (truncate): Likewise.
24825 (vhangup): Likewise.
24826 * sysdeps/unix/common/syscalls.list: Remove file.
24827 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24828 * sysdeps/unix/sysv/linux/Implies: Likewise.
24830 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24832 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24834 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24838 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24841 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24844 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24847 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24850 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24853 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24856 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24860 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24864 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24867 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24871 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24875 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24877 * sysdeps/unix/common/bits/dirent.h: Remove file.
24878 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24880 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24881 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24882 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24883 * sysdeps/unix/bsd/isatty.c: Likewise.
24884 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24885 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24886 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24888 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24891 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24892 long double comparison inaccuracies.
24893 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24896 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24898 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24899 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24901 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24904 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24905 nonzero digits before rounding a hex value.
24906 * stdlib/tst-strtod.c (tests): Add another test.
24908 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24910 * sysdeps/s390/fpu/libm-test-ulps: Update.
24912 2012-05-03 Andreas Jaeger <aj@suse.de>
24914 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24915 does not get optimized out.
24916 (malloc_opt_barrier): New.
24918 2012-05-03 Andreas Jaeger <aj@suse.de>
24919 Roland McGrath <roland@hack.frob.com>
24921 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24922 intermediate file deletion.
24923 (generated): Add .symlist files.
24925 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24928 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24929 Redirect under this condition.
24930 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24931 [__USE_GNU] (__dprintf_chk): Not under this condition.
24932 [__USE_GNU] (__vdprintf_chk): Likewise.
24933 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24934 under this condition.
24935 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24936 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24937 [__USE_XOPEN2K8] (vdprintf): Likewise.
24938 [__USE_GNU] (__dprintf_chk): Not under this condition.
24939 [__USE_GNU] (__vdprintf_chk): Likewise.
24940 [__USE_GNU] (dprintf): Likewise.
24941 [__USE_GNU] (vdprintf): Likewise.
24943 2012-05-03 Roland McGrath <roland@hack.frob.com>
24945 * elf/Makefile (common-generated): Set this instead of generated for
24946 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24947 $(all-built-dso)-derived lists.
24949 2012-05-03 Andreas Jaeger <aj@suse.de>
24951 * sysdeps/i386/fpu/libm-test-ulps: Update.
24954 * FAQ.in: Likewise.
24955 * scripts/gen-FAQ.pl: Likewise.
24956 * manual/install.texi (Installation): Point to online location of
24958 * Makefile (files-for-dist): Remove FAQ.
24961 2012-05-02 Allan McRae <allan@archlinux.org>
24963 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24964 (LDFLAGS-reldepmod5.so): Likewise.
24965 (LDFLAGS-reldep6mod1.so): Likewise.
24966 (LDFLAGS-reldep6mod4.so): Likewise.
24967 (LDFLAGS-reldep8mod3.so): Likewise.
24968 (LDFLAGS-unload4mod1.so): Likewise.
24969 (LDFLAGS-unload4mod2.so): Likewise.
24970 (LDFLAGS-tst-initorder): Likewise.
24971 (LDFLAGS-tst-initordera2.so): Likewise.
24972 (LDFLAGS-tst-initordera3.so): Likewise.
24973 (LDFLAGS-tst-initordera4.so): Likewise.
24974 (LDFLAGS-tst-initorderb2.so): Likewise.
24975 (LDFLAGS-noload): Likewise.
24976 (LDFLAGS-next): Likewise.
24977 (LDFLAGS-order2mod1.so): Likewise.
24978 (LDFLAGS-order2mod2.so): Likewise.
24979 (LDFLAGS-tst-initorder2): Likewise.
24980 (LDFLAGS-tst-initorder2a.so): Likewise.
24981 (LDFLAGS-tst-initorder2b.so): Likewise.
24982 (LDFLAGS-tst-initorder2c.so): Likewise.
24983 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24985 2012-05-02 David S. Miller <davem@davemloft.net>
24987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24989 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24992 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24994 2012-05-02 Andreas Jaeger <aj@suse.de>
24996 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24997 since we manipulate rounding mode.
24998 (CPPFLAGS-test-idouble.c): Likewise.
24999 (CPPFLAGS-test-ifloat.c): Likewise.
25000 (CFLAGS-test-ldouble.c): Likewise.
25001 (CFLAGS-test-double.c): Likewise.
25002 (CFLAGS-test-float.c): Likewise.
25003 (CFLAGS-test-misc.c): Likewise.
25004 (CFLAGS-test-test-fenv.c): Likewise.
25006 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25011 comparisons to determine direction to adjust input.
25013 2012-05-01 Roland McGrath <roland@hack.frob.com>
25015 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25016 output to the target.
25018 * scripts/localplt.awk: New file.
25019 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25020 (check-localplt-CFLAGS): Variable removed.
25021 ($(all-built-dso:=.jmprel)): New static pattern rule.
25022 (generated): Add those targets.
25023 (localplt-built-dso): New variable.
25024 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25026 * elf/check-localplt.c: File removed.
25028 * scripts/check-execstack.awk: New file.
25029 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25030 (check-execstack-CFLAGS): Variable removed.
25031 ($(objpfx)check-execstack.h): Target removed.
25032 ($(objpfx)execstack-default): New target.
25033 (generated): Add that instead of check-execstack.h.
25034 ($(all-built-dso:=.phdr)): New static pattern rule.
25035 (generated): Add those targets.
25036 * elf/check-execstack.c: File removed.
25038 * scripts/check-textrel.awk: New file.
25039 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25040 (check-textrel-CFLAGS): Variable removed.
25041 (all-built-dso): Use := to define.o
25042 ($(all-built-dso:=.dyn)): New static pattern rule.
25043 (generated): Add those targets.
25044 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25045 * config.make.in (READELF): New substituted variable.
25046 * elf/check-textrel.c: File removed.
25048 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25050 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25052 * conform/data/ctype.h-data [C99-based standards] (isblank):
25054 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25055 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25057 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25058 Specify type. Require positive value.
25059 (EILSEQ): Likewise.
25060 (ERANGE): Likewise.
25061 [ISO || POSIX] (EILSEQ): Do not expect.
25062 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25063 Specify type. Require positive value.
25064 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25065 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25066 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25067 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25068 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25069 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25070 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25071 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25072 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25073 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25074 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25075 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25076 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25077 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25078 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25079 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25080 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25081 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25082 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25083 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25084 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25085 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25086 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25087 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25088 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25089 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25090 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25091 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25092 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25093 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25094 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25095 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25096 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25097 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25098 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25099 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25100 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25101 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25102 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25103 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25104 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25105 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25106 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25107 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25108 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25109 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25110 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25111 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25112 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25113 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25114 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25115 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25116 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25117 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25118 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25119 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25120 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25121 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25122 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25123 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25124 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25125 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25126 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25127 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25128 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25129 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25130 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25131 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25132 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25133 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25134 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25135 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25136 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25137 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25138 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25139 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25140 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25142 (FLT_ROUNDS): Expect as macro, not constant.
25143 (FLT_MANT_DIG): Use macro-int-constant.
25144 (DBL_MANT_DIG): Likewise.
25145 (LDBL_MANT_DIG): Likewise.
25146 (FLT_DIG): Likewise.
25147 (DBL_DIG): Likewise.
25148 (LDBL_DIG): Likewise.
25149 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25150 (DBL_MIN_EXP): Likewise.
25151 (LDBL_MIN_EXP): Likewise.
25152 (FLT_MAX_EXP): Use macro-int-constant.
25153 (DBL_MAX_EXP): Likewise.
25154 (LDBL_MAX_EXP): Likewise.
25155 (FLT_MAX_10_EXP): Likewise.
25156 (DBL_MAX_10_EXP): Likewise.
25157 (LDBL_MAX_10_EXP): Likewise.
25158 (FLT_MAX): Use macro-constant.
25159 (DBL_MAX): Likewise.
25160 (LDBL_MAX): Likewise.
25161 (FLT_EPSILON): Use macro-constant. Give upper bound.
25162 (DBL_EPSILON): Likewise.
25163 (LDBL_EPSILON): Likewise.
25164 (FLT_MIN): Likewise.
25165 (DBL_MIN): Likewise.
25166 (LDBL_MIN): Likewise.
25167 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25168 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25169 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25170 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25171 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25172 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25173 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25174 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25175 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25176 [ISO11] (FLT_TRUE_MIN): Likewise.
25177 [ISO11] (LDBL_TRUE_MIN): Likewise.
25178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25179 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25180 (SCHAR_MIN): Use macro-int-constant. Specify type.
25181 (SCHAR_MAX): Likewise.
25182 (UCHAR_MAX): Likewise.
25183 (CHAR_MIN): Likewise.
25184 (CHAR_MAX): Likewise.
25185 (MB_LEN_MAX): Use macro-int-constant.
25186 (SHRT_MIN): Use macro-int-constant. Specify type.
25187 (SHRT_MAX): Likewise.
25188 (USHRT_MAX): Likewise.
25189 (INT_MAX): Likewise.
25190 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25192 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25194 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25196 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25197 bound negative. Suffix upper bound with "L".
25198 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25200 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25202 [C99-based standards] (LLONG_MAX): Likewise.
25203 [C99-based standards] (ULLONG_MAX): Likewise.
25204 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25206 [ISO11] (max_align_t): Require type.
25207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25209 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25210 from $CFLAGS, without defining away __attribute__ calls.
25211 (checknamespace): Use $CFLAGS_namespace.
25213 * conform/conformtest.pl (@keywords): Only include C99 keywords
25214 for standards based on C99 or C11.
25216 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25218 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25221 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25222 usability of symbols in #if.
25224 * conform/conformtest.pl: If macro or constant types start
25225 "promoted:", expect the symbol to be of the following type
25226 promoted by the integer promotions.
25228 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25229 in one place. Also handle "macro-constant".
25231 * conform/conformtest.pl: Only accept expected macro values with
25232 "==". Parse all "macro" lines in one place.
25233 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25235 * conform/conformtest.pl: Handle braced types on "constant" lines
25236 instead of handling "typed-constant".
25237 * conform/data/signal.h-data: Use "constant" instead of
25240 * conform/conformtest.pl: Handle "optional-" at start of lines in
25241 one place rather than duplicating several cases. Handle each
25242 format of "macro" line with initial "optional-".
25244 * conform/conformtest.pl: Only accept expected constant or
25245 optional-constant values with "==". Parse all "constant" lines in
25246 one place. Parse all "optional-constant" lines in one place.
25247 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25248 * conform/data/fmtmsg.h-data: Likewise.
25249 * conform/data/netinet/in.h-data: Likewise.
25250 * conform/data/tar.h-data: Likewise.
25251 * conform/data/limits.h-data: Use "==" form on "constant" and
25252 "optional-constant" lines.
25254 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25255 Use -std=c99 for XOPEN2K.
25256 (@knownproblems): Remove.
25257 (newtoken): Don't check %isknown.
25259 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25260 Do not expect macro.
25261 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25262 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25263 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25264 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25265 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25266 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25267 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25268 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25269 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25270 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25271 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25272 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25273 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25274 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25275 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25276 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25277 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25278 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25279 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25280 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25281 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25282 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25283 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25284 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25285 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25286 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25287 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25288 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25289 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25290 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25291 [XPG3] (acosh): Likewise.
25292 [XPG3] (asinh): Likewise.
25293 [XPG3] (atanh): Likewise.
25294 [XPG3] (cbrt): Likewise.
25295 [XPG3] (expm1): Likewise.
25296 [XPG3] (ilogb): Likewise.
25297 [XPG3] (log1p): Likewise.
25298 [XPG3] (logb): Likewise.
25299 [XPG3] (nextafter): Likewise.
25300 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25301 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25302 [XPG3] (remainder): Likewise.
25303 [XPG3] (rint): Likewise.
25304 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25305 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25306 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25307 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25308 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25309 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25310 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25311 [UNIX98 || XOPEN2K] (scalb): Expect.
25312 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25313 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25314 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25315 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25316 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25317 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25318 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25319 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25320 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25321 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25322 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25323 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25324 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25325 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25326 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25327 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25328 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25329 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25330 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25331 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25332 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25333 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25334 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25335 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25336 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25337 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25338 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25339 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25340 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25341 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25342 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25343 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25344 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25345 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25346 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25347 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25348 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25349 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25350 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25351 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25352 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25353 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25354 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25355 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25356 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25357 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25358 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25359 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25360 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25361 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25362 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25363 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25364 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25365 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25366 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25367 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25368 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25369 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25370 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25371 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25372 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25373 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25374 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25375 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25376 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25377 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25378 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25379 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25380 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25381 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25382 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25383 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25384 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25385 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25386 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25387 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25388 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25389 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25390 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25391 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25392 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25393 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25394 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25395 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25396 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25397 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25398 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25399 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25400 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25401 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25402 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25403 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25404 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25405 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25406 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25407 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25408 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25409 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25410 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25411 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25412 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25413 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25414 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25415 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25416 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25417 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25418 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25419 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25420 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25421 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25422 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25423 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25424 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25425 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25426 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25427 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25428 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25429 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25430 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25431 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25432 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25433 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25434 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25435 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25436 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25437 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25438 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25439 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25440 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25441 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25442 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25443 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25444 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25445 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25446 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25447 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25448 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25450 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25451 _XOPEN_SOURCE_EXTENDED for XPG4.
25453 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25455 * Makeconfig (localtime): Remove variable.
25456 (inst_localtime-file): Likewise.
25458 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25479 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25483 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25484 comparisons to determine direction to adjust input.
25485 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25486 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25487 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25489 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25491 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25493 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25494 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25496 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25498 * math/libm-test.inc (nexttoward_test): Add more tests.
25500 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25503 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25504 in version GLIBC_2.1, not GLIBC_2.0.
25505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25508 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25511 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25513 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25514 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25515 * math/libm-test.inc (acos_test): Add more tests.
25516 (asin_test): Likewise.
25517 * sysdeps/i386/fpu/libm-test-ulps: Update.
25518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25521 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25523 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25524 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25525 * math/libm-test.inc (acos_test_tonearest): New function.
25526 (acos_test_towardzero): Likewise.
25527 (acos_test_downward): Likewise.
25528 (acos_test_upward): Likewise.
25529 (asin_test_tonearest): Likewise.
25530 (asin_test_towardzero): Likewise.
25531 (asin_test_downward): Likewise.
25532 (asin_test_upward): Likewise.
25533 (main): Call the new functions.
25534 * sysdeps/i386/fpu/libm-test-ulps: Update.
25535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25539 * math/e_exp10.c: Include <float.h>.
25540 (__ieee754_exp10): Handle underflow here rather than multiplying
25541 large negative argument by M_LN10.
25542 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25544 * math/e_exp10l.c: Include <float.h>.
25545 (__ieee754_exp10l): Handle underflow here rather than multiplying
25546 large negative argument by M_LN10l.
25547 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25548 spurious overflow exception on underflow.
25550 2012-04-29 Marek Polacek <polacek@redhat.com>
25552 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25553 (__fortify_function): New macro.
25554 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25555 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25556 __extern_always_inline.
25557 * libio/bits/stdio2.h: Likewise.
25558 * libio/bits/stdio.h: Likewise.
25559 * string/string.h: Likewise.
25560 * string/bits/string3.h: Likewise.
25561 * include/stdio.h: Likewise.
25562 * stdlib/bits/stdlib.h: Likewise.
25563 * stdlib/stdlib.h: Likewise.
25564 * rt/bits/mqueue2.h: Likewise.
25565 * rt/mqueue.h: Likewise.
25566 * posix/bits/unistd.h: Likewise.
25567 * posix/unistd.h: Likewise.
25568 * io/bits/poll2.h: Likewise.
25569 * io/bits/fcntl2.h: Likewise.
25570 * io/fcntl.h: Likewise.
25571 * io/sys/poll.h: Likewise.
25572 * misc/bits/syslog.h: Likewise.
25573 * misc/bits/syslog-ldbl.h: Likewise.
25574 * misc/sys/syslog.h: Likewise.
25575 * socket/bits/socket2.h: Likewise.
25576 * socket/sys/socket.h: Likewise.
25577 * debug/tst-chk1.c: Likewise.
25578 * wcsmbs/bits/wchar2.h: Likewise.
25579 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25580 * wcsmbs/wchar.h: Likewise.
25582 2012-04-29 Andreas Jaeger <aj@suse.de>
25584 * Makerules (tests): Remove enable-check-abi protection.
25585 (check-abi-warn): Remove.
25586 (check-abi-%): Remove check-abi-warn usage.
25588 * configure.in: Remove check-abi configure option.
25589 * configure: Regenerated.
25590 * config.make.in (enable-check-abi): Remove.
25592 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25595 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25596 double functions to double *_finite functions.
25599 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25600 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25602 * stdio-common/Makefile (tests): Add tst-sprintf3.
25603 * stdio-common/tst-sprintf3.c: New file.
25605 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25606 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25608 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25610 * conform/conformtest.pl: Remove duplicate typed-constant
25613 2012-04-28 David S. Miller <davem@davemloft.net>
25615 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25616 (check-abi-%): Remove AWK script prerequisite and explicit
25618 (check-abi): Rewrite to just diff the symlist with the abilist.
25619 (config-tls, config-abi-config): Delete, no longer used.
25620 (update-abi-%): Remove AWK script and explicit abilist directory.
25621 (update-abi): Rewrite to simply compare and conditionally copy the
25622 symlist and the sysdep abilist file. Remove update-abi-config
25624 * abilist/ld.abilist: Remove.
25625 * abilist/libBrokenLocale.abilist: Remove.
25626 * abilist/libanl.abilist: Remove.
25627 * abilist/libcrypt.abilist: Remove.
25628 * abilist/libdl.abilist: Remove.
25629 * abilist/librt.abilist: Remove.
25630 * abilist/libthread_db.abilist: Remove.
25631 * abilist/libutil.abilist: Remove.
25632 * scripts/extract-abilist.awk: Remove.
25633 * scripts/merge-abilist.awk: Remove.
25634 * sysdeps/generic/libcidn.abilist: New file.
25635 * sysdeps/generic/libnss_compat.abilist: New file.
25636 * sysdeps/generic/libnss_db.abilist: New file.
25637 * sysdeps/generic/libnss_dns.abilist: New file.
25638 * sysdeps/generic/libnss_files.abilist: New file.
25639 * sysdeps/generic/libnss_hesiod.abilist: New file.
25640 * sysdeps/generic/libnss_nis.abilist: New file.
25641 * sysdeps/generic/libnss_nisplus.abilist: New file.
25642 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25643 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25644 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25647 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25648 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25649 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25650 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25651 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25652 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25653 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25654 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25656 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25657 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25658 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25659 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25661 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25662 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25663 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25664 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25665 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25666 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25668 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25669 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25670 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25672 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25775 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25776 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25777 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25779 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25780 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25781 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25782 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25783 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25784 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25785 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25786 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25787 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25788 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25840 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25842 * conform/conformtest.pl: Fix typo in handling typed-constant from
25845 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25847 * README: Cut down references to pre-2.6 Linux kernels and
25848 Linuxthreads. Update lists of configurations in libc and ports
25849 and sort alphabetically. Say "or newer" with Linux kernel version
25852 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25854 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25857 * math/libm-test.inc (logb_test_downward): New test to expose
25858 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25861 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25864 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25866 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25867 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25869 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25871 * sysdeps/unix/i386/brk.S: Remove file.
25872 * sysdeps/unix/i386/dl-brk.S: Likewise.
25873 * sysdeps/unix/i386/pipe.S: Likewise.
25874 * sysdeps/unix/i386/sigreturn.S: Likewise.
25875 * sysdeps/unix/i386/syscall.S: Likewise.
25876 * sysdeps/unix/i386/vfork.S: Likewise.
25877 * sysdeps/unix/i386/wait.S: Likewise.
25879 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25880 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25882 * configure.in (arm*-none*): Do not allow without
25883 --enable-hacker-mode.
25884 (netbsd*): Remove case setting base_os.
25885 (386bsd*): Likewise.
25886 (freebsd*): Likewise.
25889 (sunos*): Likewise.
25890 (ultrix*): Likewise.
25891 (newsos*): Likewise.
25892 (dynix*): Likewise.
25898 (minix*): Likewise.
25899 (irix4*): Likewise.
25900 (irix6*): Likewise.
25901 (solaris[2-9]*): Likewise.
25903 * configure: Regenerated.
25905 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25908 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25909 overflow or cancellation in calculating denominator.
25910 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25912 down expression to avoid unexpected rounding in newer GCCs.
25913 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25915 2012-04-26 David S. Miller <davem@davemloft.net>
25917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25918 long-double compat symbols.
25919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25933 2012-04-25 David S. Miller <davem@davemloft.net>
25935 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25936 HWCAP_* values only after the memory barriers have been defined.
25937 (atomic_full_barrier): Define.
25938 (atomic_read_barrier): Define.
25939 (atomic_write_barrier): Define.
25941 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25943 * shlib-versions: Add libgcc_s version information.
25944 * sysdeps/generic/libgcc_s.h: Remove.
25945 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25947 * sysdeps/gnu/unwind-resume.c: Likewise.
25948 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25950 2012-04-25 David S. Miller <davem@davemloft.net>
25952 * sysdeps/unix/sparc/brk.S: Delete.
25953 * sysdeps/unix/sparc/dl-brk.S: Delete.
25954 * sysdeps/unix/sparc/pipe.S: Delete.
25955 * sysdeps/unix/sparc/sysdep.S: Delete.
25956 * sysdeps/unix/sparc/sysdep.h: Delete.
25957 * sysdeps/unix/sparc/vfork.S: Delete.
25958 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25959 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25960 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25961 ret_ERRVAL, r0, r1, MOVE): Define.
25962 (JUMPTARGET): Remove.
25963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25964 sysdeps/unix/sparc/sysdep.h
25965 (ENTRY, END): Remove.
25966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25968 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25970 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25971 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25974 * timezone/README: Update upstream location and email address for
25976 * timezone/zdump.c: Update from tzcode 2012b.
25977 * timezone/zic.c: Likewise.
25979 * configure.in (libc_cv_as_needed): Remove test.
25980 * configure: Regenerated.
25981 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25982 conditional definition.
25983 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25984 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25985 * config.make.in (have-as-needed): Remove variable.
25987 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25988 Paul Pluzhnikov <ppluzhnikov@google.com>
25990 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25993 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25995 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25996 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25997 * sysdeps/sh/strlen.S: Likewise.
25999 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26001 * sysdeps/unix/fork.S: Remove file.
26002 * sysdeps/unix/i386/fork.S: Likewise.
26003 * sysdeps/unix/sparc/fork.S: Likewise.
26005 * sysdeps/unix/system.c: Remove file.
26006 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26008 * sysdeps/unix/getegid.S: Remove file.
26009 * sysdeps/unix/geteuid.S: Likewise.
26011 2012-04-24 Roland McGrath <roland@hack.frob.com>
26013 * scripts/check-localplt.awk: New file.
26014 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26016 * scripts/data/localplt-generic.data: Add a comment.
26018 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26019 NODE when __dir_mkfile failed.
26020 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26021 Reported by Ludovic Courtès <ludo@gnu.org>.
26023 2012-04-24 Andreas Jaeger <aj@suse.de>
26025 * Makerules (common-clean): Also remove gen-as-const-headers
26028 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26030 * Makerules (native-compile): Do not change working directory for
26031 build. Use $(OUTPUT_OPTION) in command.
26032 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26034 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26037 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26038 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26039 * math/libm-test.inc (floor_test): Add more tests.
26040 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26042 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26044 * sysdeps/unix/getdents.c: Remove file.
26045 * sysdeps/unix/sysv/getdents.c: Likewise.
26046 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26048 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26049 sysdeps/unix/mman/syscalls.list.
26051 (mprotect): Likewise.
26053 (munmap): Likewise.
26054 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26055 * sysdeps/unix/mman/syscalls.list: Remove.
26056 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26058 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26059 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26060 * configure: Regenerated.
26061 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26062 $(libgcc_s_suffix).
26063 * config.make.in (libgcc_s_suffix): Remove variable.
26065 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26067 * sysdeps/unix/sysv/gethostname.c: Move to ...
26068 * sysdeps/posix/gethostname.c: ... here.
26070 * sysdeps/unix/execve.S: Remove file.
26072 * sysdeps/unix/_exit.S: Remove file.
26074 2012-04-23 Andreas Jaeger <aj@suse.de>
26077 * manual/Makefile: Remove make dist support, there's no
26078 need for a stand-alone documentation tar ball.
26079 (TEXI2DVI): Define always, it's not in Makeconfig.
26082 (edition): Removed.
26083 (glibc-doc-$(edition).tar): Removed
26087 (ETAGS): Remove, it's in Makeconfig.
26088 (move-if-change): Remove, it's in Makeconfig.
26090 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26093 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26094 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26095 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26096 (strtod_l, strtof_l, strtold_l): Remove __wur.
26097 It is not necessarily an error to ignore strtol's return value.
26098 One can reliably look at the stored endptr to decide whether
26099 the number had valid syntax.
26101 2012-04-21 Andreas Jaeger <aj@suse.de>
26104 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26106 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26108 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26109 * sysdeps/unix/sysv/Versions: Remove file.
26111 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26116 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26120 version from __vm86.
26122 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26124 * sysdeps/unix/common/lxstat.c: Remove file.
26125 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26127 * sysdeps/unix/sysv/Makefile: Remove file.
26129 * sysdeps/unix/sysv/direct.h: Remove file.
26131 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26132 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26133 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26134 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26135 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26136 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26137 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26139 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26141 * sysdeps/unix/xmknod.c: Remove file.
26142 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26144 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26146 * sysdeps/unix/sysv/i386/time.S: Remove file.
26148 * sysdeps/unix/fxstat.c: Remove file.
26149 * sysdeps/unix/xstat.c: Likewise.
26150 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26152 * sysdeps/unix/sysv/sigaction.c: Remove file.
26154 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26155 (sysdep_headers): Remove variable.
26156 [termio.h not in sysdep_headers] (generated): Likewise.
26157 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26158 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26159 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26160 * sysdeps/unix/sysv/tcflow.c: Likewise.
26161 * sysdeps/unix/sysv/tcflush.c: Likewise.
26162 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26163 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26164 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26165 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26166 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26168 * sysdeps/unix/siglist.c: Remove file.
26170 * sysdeps/unix/getppid.S: Remove file.
26172 * sysdeps/unix/mkdir.c: Remove file.
26173 * sysdeps/unix/rmdir.c: Likewise.
26175 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26177 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26179 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26180 errlist-compat value.
26182 2012-04-18 David S. Miller <davem@davemloft.net>
26184 * sysdeps/generic/memcopy.h (reg_char): Delete.
26185 * debug/strcat_chk.c: Use char, not reg_char.
26186 * debug/strcpy_chk.c: Likewise.
26187 * debug/strncat_chk.c: Likewise.
26188 * debug/strncpy_chk.c: Likewise.
26189 * string/memchr.c: Likewise.
26190 * string/memrchr.c: Likewise.
26191 * string/rawmemchr.c: Likewise.
26192 * string/strcat.c: Likewise.
26193 * string/strchr.c: Likewise.
26194 * string/strchrnul.c: Likewise.
26195 * string/strcmp.c: Likewise.
26196 * string/strcpy.c: Likewise.
26197 * string/strncat.c: Likewise.
26198 * string/strncmp.c: Likewise.
26199 * string/strncpy.c: Likewise.
26201 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26203 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26204 __builtin_memcopy is called when src and dest ranges are known to not
26207 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26209 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26210 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26211 fwd_align_merge macro call.
26212 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26213 bwd_align_merge macro call.
26214 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26216 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26218 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26219 bwd_align_merge macros.
26220 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26221 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26222 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26224 2012-04-18 David S. Miller <davem@davemloft.net>
26226 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26228 2012-04-18 Andreas Jaeger <aj@suse.de>
26231 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26232 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26233 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26236 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26237 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26239 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26240 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26241 Adjust for changed ldbl-128 files.
26243 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26244 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26245 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26247 2012-04-17 David S. Miller <davem@davemloft.net>
26249 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26251 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26253 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26254 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26255 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26256 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26257 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26258 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26260 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26263 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26264 * math/libm-test.inc: Add ilogb errno and exception tests.
26265 * math/w_ilogb.c: New file: ilogb wrapper.
26266 * math/w_ilogbf.c: New file: ilogbf wrapper.
26267 * math/w_ilogbl.c: New file: ilogbl wrapper.
26268 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26269 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26270 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26271 exception being thrown with 0.0 as argument.
26272 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26273 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26274 exception being thrown with 0.0 as argument.
26275 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26276 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26277 exception being thrown with 0.0 as argument.
26278 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26279 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26280 exception being thrown with 0.0 as argument.
26281 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26282 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26283 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26284 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26285 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26286 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26287 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26288 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26289 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26291 2012-04-17 Petr Baudis <pasky@ucw.cz>
26293 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26296 2012-04-16 Marek Polacek <polacek@redhat.com>
26298 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26300 2012-04-16 Marek Polacek <polacek@redhat.com>
26302 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26303 operands of fdivp instruction.
26305 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26307 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26308 * elf/tst-auditmod3b.c: Likewise.
26309 * elf/tst-auditmod4b.c: Likewise.
26310 * elf/tst-auditmod5b.c: Likewise.
26311 * elf/tst-auditmod6b.c: Likewise.
26312 * elf/tst-auditmod6c.c: Likewise.
26313 * elf/tst-auditmod7b.c: Likewise.
26314 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26315 * sysdeps/x86_64/preconfigure.in: Likewise.
26316 * sysdeps/x86_64/preconfigure: Regenerated.
26318 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26320 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26323 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26326 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26328 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26331 * locale/iso-639.def: Fix gl language name. Spotted by
26334 2012-04-12 Roland McGrath <roland@hack.frob.com>
26337 * libio/libio.h (__io_write_fn): Update comment.
26339 2012-04-12 Petr Baudis <pasky@ucw.cz>
26342 * stdio.texi (Hook Functions): The user provided writer function
26343 is not allowed to return -1.
26345 2012-04-11 David S. Miller <davem@davemloft.net>
26347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26349 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26351 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26352 Add a leading slash to rtkaio.
26354 2012-04-11 Jim Meyering <meyering@redhat.com>
26357 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26358 It is not necessarily an error to ignore fwrite's return
26359 value. One can reliably use ferror to test for errors after
26362 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26364 * bits/types.h (__snseconds_t): New type.
26365 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26367 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26369 (__SNSECONDS_T_TYPE): Likewise.
26370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26371 (__SNSECONDS_T_TYPE): Likewise.
26372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26373 (__SNSECONDS_T_TYPE): Likewise.
26375 2012-04-10 Andreas Jaeger <aj@suse.de>
26378 * manual/time.texi (Processor Time): Return type of times is
26379 elapsed real time since an arbitrary point in the past.
26380 (CPU Time): Move CLK_TCK from here...
26381 (Processor Time): ...to here. Correct description.
26382 * manual/conf.texi (Constants for Sysconf): Correct description of
26385 2012-04-10 David S. Miller <davem@davemloft.net>
26388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26389 where the is a gap between DT_REL(A) and DT_JMPREL.
26391 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26393 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26394 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26395 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26397 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26399 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26400 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26401 (dl_main): Handle --inhibit-cache.
26402 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26404 * elf/dl-load.c (_dl_map_object): Use it.
26405 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26407 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26410 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26411 (__ieee754_powl): Saturate large exponents rather than testing for
26412 overflow of y*log2(x).
26413 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26414 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26418 * math/s_ctan.c: Include <float.h>.
26419 (__ctan): Avoid internal overflow or cancellation in calculating
26421 * math/s_ctanf.c: Likewise.
26422 * math/s_ctanl.c: Likewise.
26423 * math/s_ctanh.c: Likewise.
26424 * math/s_ctanhf.c: Likewise.
26425 * math/s_ctanhl.c: Likewise.
26426 * math/libm-test.inc (ctan_test): Add more tests.
26427 (ctanh_test): Likewise.
26428 * sysdeps/i386/fpu/libm-test-ulps: Update.
26429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26431 2012-04-09 Andreas Jaeger <aj@suse.de>
26434 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26435 is an optional BSD extension.
26438 * manual/stdio.texi (Opening Streams): Document additional fopen
26441 2012-04-09 Roland McGrath <roland@hack.frob.com>
26443 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26444 %eax without telling the compiler.
26446 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26449 * manual/install.texi: Use sourceware.org.
26451 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26454 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26455 (__ieee754_pow): Generate overflow and underflow using huge*huge
26456 and tiny*tiny rather than just returning constant infinity or zero
26457 for large exponents.
26458 * math/libm-test.inc (pow_test): Require overflow exceptions for
26459 applicable cases of large exponents.
26462 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26463 (__ieee754_pow): Use iterative multiplication algorithm only for
26464 integer exponents with absolute value below 1024. Check for odd
26465 integer exponents when using algorithm for real exponents.
26466 * math/libm-test.inc (pow_test): Add more tests.
26467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26469 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26472 * math/libm-test.inc (exp_test): Do not allow overflow exception
26475 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26478 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26479 instead of __kernel_standard_f.
26481 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26483 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26484 * sysdeps/x86_64/memset_chk.S: Likewise.
26486 2012-04-08 Andreas Jaeger <aj@suse.de>
26489 * manual/startup.texi (Environment Access): Describe return value
26490 for putenv and setenv.
26493 * manual/filesys.texi (Directory Entries): Add description for
26497 * manual/filesys.texi (Directory Entries): Clarify that it's file
26498 system not operating system in the description of DT_UNKNOWN.
26501 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26503 2012-04-08 Stephen Compall <s11@member.fsf.org>
26506 * manual/llio.texi (Opening and Closing Files): Add cross
26507 reference to explain mode argument.
26509 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26511 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26512 * sysdeps/x86_64/memset_chk.S: Likewise.
26514 2012-04-07 David S. Miller <davem@davemloft.net>
26516 * elf/elf.h (R_SPARC_WDISP10): Define.
26517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26519 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26520 R_SPARC_SIZE64 and R_SPARC_H34.
26522 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26524 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26525 conditions and remove no longer applicable assertion.
26527 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26529 * bits/byteswap.h: Include <features.h>.
26530 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26531 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26533 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26535 * bits/byteswap.h (__bswap_16): Removed.
26536 Include <bits/byteswap-16.h> to get __bswap_16.
26537 * sysdeps/i386/bits/byteswap.h: Likewise.
26538 * sysdeps/s390/bits/byteswap.h: Likewise.
26539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26540 * bits/byteswap-16.h: New file.
26541 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26542 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26543 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26544 * string/Makefile (headers): Add bits/byteswap-16.h.
26546 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26549 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26551 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26552 * nss/tst-nss-static.c: New.
26554 2012-04-06 Robert Millan <rmh@gnu.org>
26557 * manual/llio.texi (File Position Primitive): lseek
26558 refers to WHENCE when it really means OFFSET.
26560 2012-04-06 Andreas Jaeger <aj@suse.de>
26562 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26563 strncmp declarations.
26565 * abilist/libc.abilist: Add __poll and __ppoll.
26567 2012-04-05 David S. Miller <davem@davemloft.net>
26569 * scripts/check-local-headers.sh: Accept a host triplet in the
26570 path matched by the exclude regexp.
26572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26574 * sysdeps/powerpc/powerpc32/dl-machine.h
26575 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26576 * sysdeps/s390/s390-32/dl-machine.h
26577 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26578 * sysdeps/sparc/sparc32/dl-machine.h
26579 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26580 * sysdeps/sparc/sparc64/dl-machine.h
26581 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26583 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26585 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26586 undefined symbol errors.
26588 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26591 2012-04-05 Michael Matz <matz@suse.de>
26594 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26596 2012-04-05 Andreas Jaeger <aj@suse.de>
26599 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26602 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26604 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26605 which ROUND is no valid rounding mode.
26607 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26609 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26611 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26613 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26615 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26616 an exception using FPU order intentionally.
26618 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26620 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26621 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26622 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26623 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26625 2012-04-05 Simon Josefsson <simon@josefsson.org>
26628 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26629 EINVAL when BUFLEN is too smal.
26631 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26634 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26635 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26637 2012-04-03 Andreas Jaeger <aj@suse.de>
26640 * manual/setjmp.texi (System V contexts): Fix sentence.
26643 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26644 New macro for this case.
26645 [!__GNUC__] (__bswap_64): New inline function for this case.
26646 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26647 * bits/byteswap.h: Likewise.
26648 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26649 ull, guard with __GLIBC_HAVE_LONG_LONG.
26651 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26652 __GLIBC_HAVE_LONG_LONG.
26654 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26655 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26657 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26660 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26661 inptr and inend, rather than using last_ch.
26663 2012-04-02 David S. Miller <davem@davemloft.net>
26665 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26666 * stdio-common/printf-parse.h (read_int): Change return type to
26667 'int', return -1 on INT_MAX overflow.
26668 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26669 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26670 overflows INT_MAX. Check for overflow of in-format-string precision
26671 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26672 SIZE_MAX not INT_MAX for integer overflow test.
26673 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26674 skip the construct in the format string but do not record anything.
26675 * stdio-common/bug22.c: Adjust to test both width/prevision
26676 INT_MAX overflow as well as total length INT_MAX overflow. Check
26677 explicitly for proper errno values.
26679 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26681 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26683 * string/test-strcmp.c [! WIDE]: Likewise.
26684 * time/tst-mktime2.c: Likewise for INT_MAX.
26685 * string/test-string.h: #include <sys/param.h> for MIN.
26687 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26688 * sysdeps/i386/init-first.c (init): Likewise.
26689 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26690 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26691 * sysdeps/sh/init-first.c (init): Likewise.
26693 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26695 * po/ru.po: Update from translation team.
26696 * po/vi.po: Likewise.
26698 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26700 * resolv/nss_dns/dns-host.c: Merge copyright years.
26702 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26704 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26705 Optimize memcpy with prefetch if
26706 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26707 src, dst pointers have unequal 16 byte alignments.
26709 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26712 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26713 from a CNAME entry and return the minimum ttl for the query.
26714 (gaih_getanswer_slice): Likewise.
26716 2012-03-30 Jeff Law <law@redhat.com>
26718 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26720 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26721 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26723 * resolv/nss_dns/dns-host.c: Update copyright year.
26725 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26727 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26728 requests to save a system call. Fix check that all bytes are sent.
26730 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26731 comments for sendmmsg.
26733 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26736 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26737 with only 1 character between 0x0041 and 0x01b0.
26738 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26739 * wcsmbs/tst-mbsnrtowcs.c: New file.
26741 2012-03-29 David S. Miller <davem@davemloft.net>
26743 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26744 small copies by hand.
26746 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26749 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26750 _nss_compat_initgroups_dyn): Fall back to malloc/free
26751 for large group memberships.
26753 2012-03-28 David S. Miller <davem@davemloft.net>
26755 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26756 that branches into memcpy.
26757 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26759 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26760 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26763 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26764 implementation too.
26765 * sysdeps/sparc/mempcpy.S: New file.
26767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26768 the IFUNC routine in the libc case.
26769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26771 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26772 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26773 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26774 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26775 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26776 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26777 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26778 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26780 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26781 loop to 256 bytes instead of 64 bytes and fix test signedness.
26783 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26784 * sysdeps/sparc/sparc32/Makefile: rather than here...
26785 * sysdeps/sparc/sparc64/Makefile: and here.
26787 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26789 * malloc/mallocbug.c: Avoid warnings about unused variables.
26791 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26794 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26795 in the right place. Discard and retry query if response is
26796 larger than input buffer size.
26798 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26803 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26804 x for large integer exponent.
26805 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26806 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26807 sign of result as needed afterwards.
26808 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26809 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26810 result for underflowing pow the same as for overflow.
26811 (__kernel_standard_l): Handle powl overflow and underflow here
26812 rather than calling __kernel_standard.
26813 * math/libm-test.inc (pow_test): Add more tests.
26828 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26829 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26830 (__kernel_standard_l): New function.
26831 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26833 * math/w_acosl.c (__acosl): Likewise.
26834 * math/w_asinl.c (__asinl): Likewise.
26835 * math/w_atan2l.c (__atan2l): Likewise.
26836 * math/w_atanhl.c (__atanhl): Likewise.
26837 * math/w_coshl.c (__coshl): Likewise.
26838 * math/w_exp10l.c (__exp10l): Likewise.
26839 * math/w_exp2l.c (__exp2l): Likewise.
26840 * math/w_fmodl.c (__fmodl): Likewise.
26841 * math/w_hypotl.c (__hypotl): Likewise.
26842 * math/w_j0l.c (__j0l, __y0l): Likewise.
26843 * math/w_j1l.c (__j1l, __y1l): Likewise.
26844 * math/w_jnl.c (__jnl, __ynl): Likewise.
26845 * math/w_lgammal.c (__lgammal): Likewise.
26846 * math/w_log10l.c (__log10l): Likewise.
26847 * math/w_log2l.c (__log2l): Likewise.
26848 * math/w_logl.c (__logl): Likewise.
26849 * math/w_powl.c (__powl): Likewise.
26850 * math/w_remainderl.c (__remainderl): Likewise.
26851 * math/w_scalbl.c (sysv_scalbl): Likewise.
26852 * math/w_sinhl.c (__sinhl): Likewise.
26853 * math/w_sqrtl.c (__sqrtl): Likewise.
26854 * math/w_tgammal.c (__tgammal): Likewise.
26855 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26856 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26857 * math/libm-test.inc (acos_test): Add more tests.
26858 (acosh_test): Likewise.
26859 (asin_test): Likewise.
26860 (atanh_test): Likewise.
26861 (exp_test): Likewise.
26862 (exp10_test): Likewise.
26863 (exp2_test): Likewise.
26864 (expm1_test): Likewise.
26865 (lgamma_test): Likewise.
26866 (log_test): Likewise.
26867 (log10_test): Likewise.
26868 (log1p_test): Likewise.
26869 (log2_test): Likewise.
26870 (pow_test): Do not allow some spurious overflow exceptions.
26871 (sqrt_test): Add more tests.
26872 (tgamma_test): Likewise.
26873 (y0_test): Likewise.
26874 (y1_test): Likewise.
26875 (yn_test): Likewise.
26877 2012-03-27 Anton Blanchard <anton@samba.org>
26879 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26881 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26882 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26883 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26885 2012-03-27 David S. Miller <davem@davemloft.net>
26887 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26889 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26890 have-as-vis3 check.
26892 2012-03-27 Andreas Jaeger <aj@suse.de>
26894 * sysdeps/x86_64/elf/configure.in: Moved to ...
26895 * sysdeps/x86_64/configure.in: ... here.
26896 * sysdeps/x86_64/elf/start.S: Moved to ...
26897 * sysdeps/x86_64/start.S: ... here.
26898 * sysdeps/x86_64/elf/configure: Delete.
26900 * sysdeps/x86_64/configure.in: Merge contents from
26901 sysdeps/i386/configure.in (without i686 check).
26903 * sysdeps/i386/elf/Versions: Merge into ...
26904 * sysdeps/i386/Versions: ... this.
26905 * sysdeps/i386/elf/Versions: Delete file.
26906 * sysdeps/i386/elf/start.S: Moved to ...
26907 * sysdeps/i386/start.S: ...here.
26908 * sysdeps/i386/elf/configure.in: Merge into...
26909 * sysdeps/i386/configure.in: ...here.
26910 * sysdeps/i386/elf/configure.in: Delete file.
26911 * sysdeps/i386/elf/configure: Delete file.
26913 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26914 * debug/backtracesyms.c: ... here.
26915 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26916 * debug/backtracesymsfd.c: ... here.
26917 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26918 * sysdeps/generic/ifunc-sel.h: ... here.
26920 * sysdeps/unix/i386/start.c: Delete file.
26921 * sysdeps/unix/sparc/start.c: Delete file.
26922 * sysdeps/unix/start.c: Delete file.
26924 * sysdeps/sh/elf/configure.in: Moved to ...
26925 * sysdeps/sh/configure.in: ... here.
26926 * sysdeps/sh/elf/start.S: Moved to ...
26927 * sysdeps/sh/start.S: ... here.
26928 * sysdeps/sh/elf/configure: Delete file.
26930 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26931 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26932 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26933 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26934 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26935 * sysdeps/powerpc/powerpc64/start.S: here.
26936 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26937 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26938 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26939 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26940 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26942 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26943 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26944 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26945 * sysdeps/powerpc/powerpc32/start.S: ... here.
26946 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26947 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26948 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26950 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26951 * sysdeps/powerpc/ifunc-sel.h: ... here.
26952 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26953 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26955 * sysdeps/sparc/elf/configure.in: Moved to ...
26956 * sysdeps/sparc/configure.in: ... here.
26957 * sysdeps/sparc/elf/configure: Delete file.
26958 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26959 * sysdeps/sparc/sparc32/start.S: ... here.
26960 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26961 * sysdeps/sparc/sparc64/start.S: ... here.
26962 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26963 * sysdeps/sparc/sparc32/Makefile: ... this.
26964 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26965 * sysdeps/sparc/sparc64/Makefile: ... this.
26967 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26968 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26969 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26970 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26971 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26972 * sysdeps/s390/s390-32/setjmp.S: ... here.
26973 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26974 * sysdeps/s390/s390-32/configure.in: ... here.
26975 * sysdeps/s390/s390-32/elf/configure: Delete file.
26976 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26977 * sysdeps/s390/s390-32/start.S: ... here.
26979 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26980 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26981 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26982 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26983 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26984 * sysdeps/s390/s390-64/setjmp.S: ... here.
26985 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26986 * sysdeps/s390/s390-64/configure.in: ... here
26987 * sysdeps/s390/s390-64/elf/configure: Delete file.
26988 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26989 * sysdeps/s390/s390-64/start.S: ... here.
26990 * sysdeps/s390/s390-64/elf/configure: Delete.
26992 * configure.in: Remove support for elf directories in sysdeps.
26994 * configure: Regenerated.
26995 * sysdeps/i386/configure: Regenerated.
26996 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26997 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26998 * sysdeps/s390/s390-32/configure: Regenerated.
26999 * sysdeps/s390/s390-64/configure: Regenerated.
27000 * sysdeps/sh/configure: Regenerated.
27001 * sysdeps/sparc/configure: Regenerated.
27002 * sysdeps/x86_64/configure: Regenerated.
27004 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27009 denormal result into account.
27011 2012-03-25 Roland McGrath <roland@hack.frob.com>
27013 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27014 Reported by Allan McRae <allan@archlinux.org>.
27016 2012-03-23 Jeff Law <law@redhat.com>
27018 * nss/getnssent.c (__nss_getent): Fix typo.
27020 2012-03-23 David S. Miller <davem@davemloft.net>
27022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27024 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27026 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27027 to pad to uint64_t for each field.
27028 (dl_tls_index): Replace unsigned long with uint64_t.
27030 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27031 Paul Pluzhnikov <ppluzhnikov@google.com>
27034 * grp/Makefile (otherlibs): Don't set it.
27035 * inet/Makefile (otherlibs): Likewise.
27036 * login/Makefile (otherlibs): Likewise.
27037 * nscd/Makefile (otherlibs): Likewise.
27038 * posix/Makefile (otherlibs): Likewise.
27039 * pwd/Makefile (otherlibs): Likewise.
27040 * rt/Makefile (otherlibs): Likewise.
27041 * sunrpc/Makefile (otherlibs): Likewise.
27042 * nss/Makefile (otherlibs): Likewise.
27043 Add libnss_files to routines and static-only-routines.
27044 ($(objpfx)getent): Remove rule.
27045 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27046 static-only-routines.
27048 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27051 * math/s_cexp.c: Include <float.h>.
27052 (__cexp): Handle exp result overflowing not necessarily
27053 overflowing both real and imaginary parts of result.
27054 * math/s_cexpf.c: Likewise.
27055 * math/s_cexpl.c: Likewise.
27056 * math/libm-test.inc (cexp_test): Add more tests.
27057 * sysdeps/i386/fpu/libm-test-ulps: Update.
27058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27060 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27062 * include/link.h (ELFW): New macro.
27063 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27064 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27066 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27068 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27071 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27073 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27075 (struct La_x32_retval): Likewise.
27077 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27079 * sysdeps/x86_64/preconfigure.in: New file.
27080 * sysdeps/x86_64/preconfigure: New generated file.
27082 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27085 * math/e_exp2l.c: Include <float.h>.
27086 (__ieee754_exp2l): Handle overflow and underflow cases
27087 separately. Only pass fractional part of argument to
27089 * math/libm-test.inc (exp2_test): Add more tests.
27091 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27092 negating x to take absolute value.
27093 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27095 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27096 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27098 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27099 computing low part if x was negated.
27100 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27102 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27104 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27105 la_x32_gnu_pltexit.
27106 (pltexit): Cast int_retval to ptrdiff_t.
27107 * elf/tst-auditmod3b.c: Likewise.
27108 * elf/tst-auditmod4b.c: Likewise.
27109 * elf/tst-auditmod5b.c: Likewise.
27110 * elf/tst-auditmod6b.c: Likewise.
27111 * elf/tst-auditmod6c.c: Likewise.
27112 * elf/tst-auditmod7b.c: Likewise.
27114 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27115 and x32_gnu_pltexit.
27117 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27118 __ELF_NATIVE_CLASS.
27119 (La_x32_regs): New macro.
27120 (La_x32_retval): Likewise.
27121 (la_x32_gnu_pltenter): New function prototype.
27122 (la_x32_gnu_pltexit): Likewise.
27124 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27131 * configure.in (libc_cv_cc_nofma): Check for option to disable
27132 generation of FMA instructions.
27133 * configure: Regenerate.
27134 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27135 * sysdeps/ieee754/dbl-64/Makefile: New file.
27136 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27137 Remove brandred-fma4.
27138 (CFLAGS-brandred-fma4.c): Remove.
27139 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27140 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27142 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27145 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27147 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27148 LLONG_MAX != LONG_MAX.
27149 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27150 (_fitoa_word): Likewise.
27151 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27152 LLONG_MAX != LONG_MAX.
27153 * stdio-common/_itowa.h: Include <_itoa.h>.
27154 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27155 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27156 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27157 only if not defined.
27158 (_ITOA_WORD_TYPE): Likewise.
27159 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27160 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27162 2012-03-21 David S. Miller <davem@davemloft.net>
27164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27166 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27168 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27169 of x86_64 when setting libc_cv_slibdir, libdir and
27171 * sysdeps/unix/sysv/linux/configure: Regenerated.
27173 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27175 * manual/lang.texi (Old Varargs): Remove section.
27176 (How Variadic): Update menu.
27177 (va_start): Do not mention varargs.h.
27179 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27180 Joseph Myers <joseph@codesourcery.com>
27182 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27184 * configure: Regenerated.
27186 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27188 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27189 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27192 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27195 * Makefile (files-for-dist): Remove NOTES.
27196 (NOTES): Remove rule.
27197 * README: Don't refer to NOTES.
27198 * manual/creature.texi: Don't include macros.texi.
27199 * manual/intro.texi (creature.texi): Remove comment referring to
27202 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27203 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27204 * configure: Regenerated.
27205 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27206 LIBC_TRY_CC_OPTION.
27207 (libc_cv_as_i686): Likewise.
27208 (libc_cv_cc_avx): Likewise.
27209 (libc_cv_cc_sse2avx): Likewise.
27210 (libc_cv_cc_fma4): Likewise.
27211 (libc_cv_cc_novzeroupper): Likewise.
27212 * sysdeps/i386/configure: Regenerated.
27215 * sysdeps/i386/fpu/s_cexp.S: Remove.
27216 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27217 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27218 * math/libm-test.inc (cexp_test): Add more tests.
27219 * sysdeps/i386/fpu/libm-test-ulps: Update.
27220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27222 2012-03-21 Allan McRae <allan@archlinux.org>
27224 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27226 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27229 * math/w_exp2.c: Do not include <float.h>.
27230 (o_threshold, u_threshold): Remove.
27231 (__exp2): Calculate result before checking finiteness and calling
27233 * math/w_exp2f.c: Likewise.
27234 * math/w_exp2l.c: Likewise.
27235 * math/libm-test.inc (exp2_test): Require overflow exception for
27239 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27240 range of signed 64-bit integers before using fistpll. Remove
27241 checks for whether integers fit in mantissa bits.
27242 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27243 the range of signed 32-bit integers before using fistpl. Remove
27244 checks for whether integers fit in mantissa bits.
27245 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27246 (__ieee754_powl): Test for y outside the range of signed 64-bit
27247 integers before using fistpll. Reduce 64-bit values to 63-bit
27249 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27250 divide-by-zero is raised for zero to large negative powers.
27251 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27252 (__ieee754_powl): Test for y outside the range of signed 64-bit
27253 integers before using fistpll. Reduce 64-bit values to 63-bit
27255 * math/libm-test.inc (pow_test): Add more tests.
27257 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27259 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27260 <stdio-common/_itoa.h>.
27261 * debug/segfault.c: Likewise.
27262 * elf/dl-cache.c: Likewise.
27263 * elf/dl-minimal.c: Likewise.
27264 * elf/dl-misc.c: Likewise.
27265 * elf/dl-sysdep.c: Likewise.
27266 * elf/dl-version.c: Likewise.
27267 * elf/rtld.c: Likewise.
27268 * hurd/hurdsock.c: Likewise.
27269 * hurd/lookup-retry.c: Likewise.
27270 * malloc/malloc.c: Likewise.
27271 * malloc/mtrace.c: Likewise.
27272 * nscd/nscd_getgr_r.c: Likewise.
27273 * nscd/nscd_getpw_r.c: Likewise.
27274 * nscd/nscd_getserv_r.c: Likewise.
27275 * posix/getopt_init.c: Likewise.
27276 * posix/wordexp.c: Likewise.
27277 * stdio-common/_itoa.c: Likewise.
27278 * stdio-common/printf_fphex.c: Likewise.
27279 * stdio-common/vfprintf.c: Likewise.
27280 * string/_strerror.c: Likewise.
27281 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27282 * sysdeps/i386/i686/hp-timing.h: Likewise.
27283 * sysdeps/mach/_strerror.c: Likewise.
27284 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27285 * sysdeps/mach/hurd/sethostid.c: Likewise.
27286 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27287 * sysdeps/mach/xpg-strerror.c: Likewise.
27288 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27289 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27290 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27291 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27292 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27293 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27294 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27295 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27296 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27297 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27298 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27299 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27300 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27301 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27302 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27303 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27304 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27305 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27306 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27307 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27308 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27310 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27312 * stdio-common/_itoa.h: Moved to ...
27313 * sysdeps/generic/_itoa.h: Here.
27315 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27317 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27318 instead of "_itoa.h" and "_itowa.h".
27319 * stdio-common/vfprintf.: Likewise.
27321 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27323 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27325 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27326 (__signbit): Likwise.
27327 (llrintf): Likwise.
27330 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27332 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27335 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27337 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27338 OVERFLOW_EXCEPTION_OK.
27339 * math/libm-test.inc ("Philosophy"): Update comment about
27341 (OVERFLOW_EXCEPTION): Define.
27342 (OVERFLOW_EXCEPTION_OK): Likewise.
27343 (INVALID_EXCEPTION_OK): Renumber.
27344 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27345 (IGNORE_ZERO_INF_SIGN): Likewise.
27346 (test_exceptions): Handle FE_OVERFLOW.
27347 (exp10_test): Expect overflow exceptions.
27348 (exp2_test): Likewise.
27349 (expm1_test): Likewise.
27350 (nextafter_test): Likewise.
27351 (pow_test): Likewise.
27352 (scalbn_test): Likewise.
27353 (scalbln_test): Likewise.
27355 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27357 * sysdeps/x86_64/bits/atomic.h
27358 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27360 (atomic_exchange_acq): Likewise.
27361 (__arch_exchange_and_add_body): Likewise.
27362 (__arch_add_body): Likewise.
27363 (atomic_add_negative): Likewise.
27364 (atomic_add_zero): Likewise.
27366 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27368 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27369 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27371 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27373 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27374 Check __x86_64__ instead of __WORDSIZE.
27376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27378 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27380 2012-03-19 David S. Miller <davem@davemloft.net>
27382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27384 * sysdeps/sparc/fpu/fenv_private.h: New file.
27385 * sysdeps/sparc/fpu/math_private.h: Use it.
27386 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27388 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27389 (libc_feholdexcept_setroundl): Remove.
27390 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27392 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27393 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27395 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27397 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27398 int64_t instead of long int.
27399 (INSERT_WORDS64): Likwise.
27401 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27403 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27404 _Unwind_GetCFA return to _Unwind_Ptr first.
27406 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27409 * math/s_clog.c: Include <float.h>.
27410 (__clog): Scale large or subnormal inputs.
27411 * math/s_clogf.c: Likewise.
27412 * math/s_clogl.c: Likewise.
27413 * math/s_clog10.c: Include <float.h>.
27414 (M_LOG10_2): Define.
27415 (__clog10): Scale large or subnormal inputs.
27416 * math/s_clog10f.c: Likewise.
27417 * math/s_clog10l.c: Likewise.
27418 * math/libm-test.inc (clog_test): Add more tests.
27419 (clog10_test): Likewise.
27420 * sysdeps/i386/fpu/libm-test-ulps: Update.
27421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27424 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27426 * math/libm-test.inc (atan2_test): Add another test.
27428 * Makerules (common-objdir-compile): Remove.
27429 * sysdeps/unix/Makefile (config-generated): Do not add
27430 $(unix-generated) to variable.
27431 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27432 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27434 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27436 [generic bits/local_lim.h] (before-compile): Do not append to
27438 [generic bits/local_lim.h] (common-generated): Likewise.
27439 [generic sys/param.h] (before-compile): Do not append to variable.
27440 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27441 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27442 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27443 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27445 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27446 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27447 [generic sys/param.h] ($(addprefix
27448 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27449 [generic sys/param.h] (common-generated): Do not append to
27451 [generic sys/param.h] (sysdep_headers): Likewise.
27452 [generic bits/errno.h] (before-compile): Do not append to
27454 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27456 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27457 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27458 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27459 [generic bits/errno.h] (common-generated): Do not append to
27461 [generic bits/ioctls.h] (before-compile): Do not append to
27463 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27465 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27466 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27467 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27469 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27470 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27471 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27472 [generic bits/ioctls.h] (common-generated): Do not append to
27474 [generic sys/syscall.h] (syscall.h): Remove variable.
27475 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27477 [generic sys/syscall.h] (before-compile): Do not append to
27479 [generic sys/syscall.h] (common-generated): Likewise.
27480 * sysdeps/unix/errnos-tmpl.c: Remove file.
27481 * sysdeps/unix/errnos.awk: Likewise.
27482 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27483 * sysdeps/unix/ioctls.awk: Likewise.
27484 * sysdeps/unix/mk-local_lim.c: Likewise.
27485 * sysdeps/unix/snarf-ioctls: Likewise.
27487 2012-03-19 Richard Henderson <rth@twiddle.net>
27489 * sysdeps/i386/fpu/fenv_private.h: New file.
27490 * sysdeps/i386/fpu/math_private.h: Use it.
27491 (math_opt_barrier, math_force_eval): Remove.
27492 (libc_feholdexcept_setround_53bit): Remove.
27493 (libc_feupdateenv_53bit): Remove.
27494 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27495 (math_opt_barrier, math_force_eval): Remove.
27496 (libc_feholdexcept): Remove.
27497 (libc_feholdexcept_setround): Remove.
27498 (libc_fetestexcept, libc_fesetenv): Remove.
27499 (libc_feupdateenv_test): Remove.
27500 (libc_feupdateenv, libc_feholdsetround): Remove.
27501 (libc_feresetround): Remove.
27503 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27504 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27506 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27507 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27508 (libc_feupdateenv_testl): New.
27509 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27510 (libc_feupdateenv_testf): New.
27511 (libc_feupdateenv): Use libc_feupdateenv_test.
27512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27515 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27516 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27517 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27518 (libc_feresetround_noex): New.
27519 (libc_feresetround_noexf): New.
27520 (libc_feresetround_noexl): New.
27521 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27522 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27523 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27524 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27529 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27530 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27531 SET_RESTORE_ROUND_NOEX.
27532 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27533 SET_RESTORE_ROUND_NOEXF.
27534 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27535 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27536 (libc_feholdsetroundf): New.
27537 (libc_feresetround, libc_feresetroundf): New.
27539 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27540 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27541 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27543 * sysdeps/generic/math_private.h: Include <fenv.h>.
27544 (default_libc_feholdexcept): New.
27545 (default_libc_feholdexcept_setround): New.
27546 (default_libc_fesetenv, default_libc_feupdateenv): New.
27547 (libc_feholdexcept): Only define if undefined.
27548 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27549 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27550 (libc_feholdexcept_setroundl): Likewise.
27551 (libc_feholdexcept_setround_53bit): Likewise.
27552 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27553 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27554 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27555 (libc_feupdateenv_53bit): Likewise.
27556 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27557 (libc_feholdexcept): Convert from macro to inline function.
27558 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27559 (libc_fesetenv, libc_feupdateenv): Likewise.
27561 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27562 not previously defined.
27563 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27564 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27565 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27566 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27567 * sysdeps/ieee754/flt-32/math_private.h: New file.
27568 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27569 math_private.h below SET_FLOAT_WORD.
27570 (__isnan, __isinf_ns, __finite): Remove.
27571 (__isnanf, __isinf_nsf, __finitef): Remove.
27573 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27577 2012-03-17 David S. Miller <davem@davemloft.net>
27580 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27583 2012-03-16 David S. Miller <davem@davemloft.net>
27585 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27589 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27591 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27592 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27593 sysdep_routines when subdir is sysvipc.
27594 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27595 __getshmlba helper.
27597 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27599 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27601 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27604 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27606 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27607 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27608 (__lround): Renamed to ...
27609 (__llround): This. Replace long int with long long int.
27610 Define lround functions as aliases of llround functions.
27611 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27613 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27615 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27616 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27617 adresses to uintptr_t. Replace "long int" and "unsigned long
27618 int" with "greg_t" on va_arg.
27620 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27622 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27623 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27625 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27626 Move e_machine check before EI_CLASS check. Handle x32
27627 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27628 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27629 SKIP_EM_IA_64 and include
27630 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27632 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27633 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27634 (add_system_dir): New macro.
27636 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27637 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27639 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27650 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27652 * math/w_j0f.c (j0f): Likewise.
27654 * math/w_j0l.c (__j0l): Likewise.
27656 * math/w_j1.c (j1): Likewise.
27658 * math/w_j1f.c (j1f): Likewise.
27660 * math/w_j1l.c (__j1l): Likewise.
27662 * math/w_jn.c (jn): Likewise.
27664 * math/w_jnf.c (jnf): Likewise.
27666 * math/w_jnl.c (__jnl): Likewise.
27668 * math/libm-test.inc (j0_test): Add more tests.
27669 (j1_test): Likewise.
27670 (jn_test): Likewise. Add trailing semicolon to existing test.
27671 (y0_test): Likewise.
27672 (y1_test): Likewise.
27673 * sysdeps/i386/fpu/libm-test-ulps: Update.
27674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27678 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27679 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27680 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27681 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27682 (__tanl): Set errno for infinite argument.
27683 * sysdeps/i386/fpu/mptan.c: Remove.
27684 * sysdeps/i386/fpu/s_tan.S: Likewise.
27685 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27686 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27687 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27688 * math/libm-test.inc (tan_test): Add more tests and enable more
27689 tests for double and long double.
27690 * sysdeps/i386/fpu/libm-test-ulps: Update.
27691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27693 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27695 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27696 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27698 2012-03-16 Roland McGrath <roland@hack.frob.com>
27700 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27701 * configure.in: Use it for both main tree and add-ons.
27702 * configure: Regenerated.
27704 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27706 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27708 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27710 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27714 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27715 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27720 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27721 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27722 != 0 for prec == 2.
27723 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27724 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27725 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27726 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27727 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27728 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27729 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27730 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27731 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27732 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27733 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27734 * math/libm-test.inc (cos_test): Add more tests and enable more
27735 tests for long double.
27736 (sin_test): Likewise.
27737 (sincos_test): Likewise.
27738 * sysdeps/i386/fpu/libm-test-ulps: Update.
27739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27741 2012-03-16 David S. Miller <davem@davemloft.net>
27743 * sysdeps/sparc/fpu/math_private.h: New file.
27745 2012-03-15 David S. Miller <davem@davemloft.net>
27747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27761 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27762 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27764 * sysdeps/sparc/sparc-ifunc.h: New file.
27765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27803 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27804 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27805 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27806 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27810 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27812 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27816 2012-03-15 Andreas Jaeger <aj@suse.de>
27819 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27820 ieee754/flt-32 implementation for sin, cos and sincos.
27821 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27822 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27823 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27824 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27825 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27826 ieee754/flt-32 implementation for tan.
27828 * math/libm-test.inc (cos_test): Enable some large input tests for
27830 (sin_test): Likewise.
27831 (sincos_test): Likewise.
27832 (tan_test): Add tests for large input.
27834 * sysdeps/i386/fpu/libm-test-ulps: Update.
27836 2012-03-15 Andreas Jaeger <aj@suse.de>
27839 * math/libm-test.inc (cos_test): Add more test cases.
27840 (sin_test): Likewise.
27841 (sincos_test): Likewise.
27843 2012-03-15 Andreas Jaeger <aj@suse.de>
27846 * math/libm-test.inc (cos_test): Add a test case for large input
27848 (sin_test): Likewise.
27849 (sincos_test): Likewise.
27851 2012-03-15 Andreas Jaeger <aj@suse.de>,
27852 Joseph Myers <joseph@codesourcery.com>
27855 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27856 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27857 * sysdeps/i386/fpu/branred.c: Likewise.
27858 * sysdeps/i386/fpu/dosincos.c: Likewise.
27859 * sysdeps/i386/fpu/mpa.c: Likewise.
27860 * sysdeps/i386/fpu/s_cos.S: Likewise.
27861 * sysdeps/i386/fpu/s_sin.S: Likewise.
27862 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27863 * sysdeps/i386/fpu/sincos32.c: Likewise.
27865 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27867 (libc_feupdateenv_53bit): Define.
27868 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27870 (libc_feupdateenv_53bit): Define.
27872 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27873 53 bit (without extend i386 double precision).
27875 * math/libm-test.inc (sincos_test): Add tests for large input.
27879 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27881 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27885 2012-03-15 David S. Miller <davem@davemloft.net>
27887 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27888 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27889 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27890 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27915 fmin/fmax sysdep routines.
27916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27918 2012-03-14 David S. Miller <davem@davemloft.net>
27920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27941 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27942 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27992 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27997 * sysdeps/sparc/configure.in: New file.
27998 * sysdeps/sparc/configure: Generate.
27999 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28000 * configure: Regenerate.
28001 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28002 * config.make.in (have-as-vis3): New.
28003 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28004 available use -Av9d instead of -Av9a.
28005 * sysdeps/sparc/sparc64/Makefile: Likewise.
28006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28016 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28017 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28021 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28022 fzeros/fnegs to load 0x80000000 into a float register instead of
28024 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28026 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28030 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28031 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28032 ($(inst_includedir)/bits/syscall.h): Remove rule.
28033 ($(objpfx)bits/syscall.d): Include instead of
28034 $(objpfx)syscall-list.d.
28035 (generated): Change syscall-list.h and syscall-list.d to
28036 bits/syscall.h and bits/syscall.d.
28038 2012-03-14 Roland McGrath <roland@hack.frob.com>
28041 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28043 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28046 * math/s_csqrt.c: Include <float.h>.
28047 (__csqrt): Scale large or subnormal inputs.
28048 * math/s_csqrtf.c: Likewise.
28049 * math/s_csqrtl.c: Likewise.
28050 * math/libm-test.inc (csqrt_test): Add more tests.
28051 * sysdeps/i386/fpu/libm-test-ulps: Update.
28052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28055 * math/libm-test.inc (hypot_test): Add more tests.
28057 2012-03-13 David S. Miller <davem@davemloft.net>
28060 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28061 double-precision for the calculation instead of scaling.
28063 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28065 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28066 manipulate bits before adding and subtracting TWO52[sx].
28067 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28068 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28070 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28072 2012-03-13 David S. Miller <davem@davemloft.net>
28074 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28075 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28077 rtld-global-offsets.h
28078 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28080 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28083 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28085 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28086 'err' in the ifdef scope in which it is actually used.
28088 * nss/nss_db/db-init.c: Include string.h
28090 2012-03-12 David S. Miller <davem@davemloft.net>
28092 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28093 masking out of the most significant byte of random value used.
28094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28095 Fix coding style in previous change.
28097 * sysdeps/unix/sysv/linux/kernel-features.h
28098 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28099 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28101 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28104 2012-03-11 David S. Miller <davem@davemloft.net>
28106 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28107 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28108 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28109 for 'resultvar' otherwise things get truncated on 64-bit.
28111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28112 Fix masking out of the most significant byte of random value used.
28114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28116 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28120 2012-03-09 David S. Miller <davem@davemloft.net>
28122 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28123 variables with appropriate CPP guards.
28124 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28125 frame pointer, not the stack pointer. Correct layout comments. Fix test
28126 on resulting framesize and the management of the outregs buffer for pltexit.
28127 Preserve floating point return values across _dl_call_pltexit call.
28128 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28129 framesize and the management of the outregs buffer for pltexit.
28130 Preserve floating point return values across _dl_call_pltexit
28132 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28133 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28134 (print_exit): Fix format string for return register value.
28136 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28138 * sunrpc/Makefile (others): Add rpcgen.
28139 ($(objpfx)rpcgen): Remove special build rule and dependency on
28141 * sunrpc/rpcgen.c: New file.
28143 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28146 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28147 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28148 * sysdeps/i386/crti.S: Likewise.
28149 * sysdeps/i386/crtn.S: Likewise.
28150 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28151 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28152 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28153 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28154 * sysdeps/sh/crti.S: Likewise.
28155 * sysdeps/sh/crtn.S: Likewise.
28156 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28159 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28161 * locale/programs/locfile-kw.gperf: Likewise.
28162 * locale/programs/charmap-kw.h: Regenerated.
28163 * locale/programs/locfile-kw.h: Likewise.
28166 * intl/plural.y: Replace FSF snail mail address with URL.
28167 * intl/plural.c: Regenerated.
28169 2012-03-09 Richard Henderson <rth@twiddle.net>
28171 * include/math_private.h: Remove file.
28172 * math/math_private.h: Move file ...
28173 * sysdeps/generic/math_private.h: ... here.
28175 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28176 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28177 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28179 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28180 and <math_private.h>.
28181 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28182 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28183 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28184 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28185 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28186 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28187 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28189 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28190 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28192 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28193 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28195 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28196 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28197 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28198 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28199 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28202 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28203 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28205 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28206 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28207 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28211 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28212 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28213 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28214 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28215 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28216 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28217 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28218 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28219 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28220 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28221 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28222 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28223 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28224 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28225 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28226 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28227 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28228 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28229 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28232 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28238 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28239 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28240 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28242 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28244 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28245 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28246 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28247 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28248 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28249 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28250 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28251 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28252 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28253 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28254 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28255 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28265 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28266 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28268 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28269 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28270 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28271 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28272 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28273 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28274 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28275 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28276 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28277 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28278 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28279 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28280 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28281 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28282 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28283 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28284 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28285 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28286 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28287 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28288 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28289 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28290 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28291 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28292 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28293 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28294 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28295 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28296 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28297 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28298 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28299 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28300 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28301 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28302 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28303 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28304 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28305 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28306 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28307 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28308 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28309 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28310 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28311 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28312 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28313 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28314 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28315 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28316 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28317 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28318 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28319 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28320 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28322 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28323 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28324 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28325 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28326 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28327 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28328 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28329 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28330 * sysdeps/ieee754/k_standard.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28335 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28358 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28362 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28364 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28367 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28374 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28376 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28381 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28382 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28383 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28386 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28389 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28390 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28391 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28392 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28393 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28394 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28397 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28398 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28400 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28403 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28404 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28408 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28409 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28410 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28413 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28414 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28415 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28416 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28417 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28418 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28419 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28420 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28422 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28424 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28432 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28434 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28435 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28437 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28438 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28439 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28440 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28441 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28442 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28443 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28444 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28445 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28446 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28447 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28448 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28449 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28450 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28451 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28452 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28453 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28454 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28455 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28456 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28457 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28458 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28459 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28460 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28461 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28462 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28463 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28464 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28465 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28466 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28467 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28468 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28469 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28470 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28471 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28472 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28473 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28474 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28475 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28476 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28477 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28480 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28481 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28482 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28483 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28484 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28485 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28486 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28487 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28488 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28489 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28490 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28491 * sysdeps/ieee754/s_lib_version.c: Likewise.
28492 * sysdeps/ieee754/s_matherr.c: Likewise.
28493 * sysdeps/ieee754/s_signgam.c: Likewise.
28494 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28495 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28496 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28497 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28498 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28499 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28500 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28501 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28502 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28503 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28504 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28505 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28506 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28507 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28508 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28509 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28510 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28511 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28516 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28518 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28519 * sunrpc/rpc_main.c: Likewise.
28520 * sunrpc/rpc_svcout.c: Likewise.
28522 2012-03-09 David S. Miller <davem@davemloft.net>
28524 * include/math_private.h: New file.
28526 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28528 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28529 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28530 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28531 from <bits/socket_type.h>.
28532 (enum __socket_type): Don't define here.
28533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28535 bits/socket_type.h.
28538 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28539 checking __USE_GNU.
28541 * Makerules ($(inst_includedir)/%.h): New rule.
28542 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28543 (install-others): Remove variable setting.
28544 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28546 2012-03-08 Richard Henderson <rth@twiddle.net>
28548 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28549 from macro to inline function; merge with the
28550 !__LIBC_INTERNAL_MATH_INLINES version.
28551 (__ieee754_sqrtf): Likewise.
28553 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28554 to inline function.
28555 (__rintf, __floor, __floorf): Likewise.
28557 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28558 macro to inline function.
28559 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28561 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28562 not <math/math_private.h>.
28564 2012-03-08 David S. Miller <davem@davemloft.net>
28566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28568 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28570 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28572 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28574 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28575 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28577 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28579 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28580 be defined individually, they must be defined as a block. Define
28581 S for printing a string instead of hidint the different by using a
28582 macro for adding the 'l'.
28583 * stdio-common/tst-fphex-wide.c: Adjust.
28585 2012-03-07 Marek Polacek <polacek@redhat.com>
28587 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28589 2012-03-08 Marek Polacek <polacek@redhat.com>
28592 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28593 * stdio-common/tst-fphex.c: Define a few macros to make the
28594 test reusable. Use them.
28595 * stdio-common/tst-fphex-wide.c: New file.
28597 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28600 * manual/macros.texi (gnusystems): New macro.
28601 (nongnusystems): Likewise.
28602 (gnulinuxhurdsystems): Likewise.
28603 (gnuhurdsystems): Likewise..
28604 (gnulinuxsystems): Likewise.
28605 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28606 variants of the GNU system, not "GNU system".
28607 * manual/conf.texi: Likewise.
28608 * manual/errno.texi: Likewise. Update example of errno macro
28610 * manual/filesys.texi: Likewise.
28611 (getumask): Document as specific to GNU/Hurd.
28612 * manual/install.texi: Likewise. Reword some references to
28614 * manual/intro.texi: Likewise.
28615 * manual/io.texi: Likewise.
28616 (File Name Portability): Detail which constraints are inapplicable
28617 to all GNU systems and which are only inapplicable to GNU/Hurd.
28618 * manual/job.texi: Likewise.
28619 * manual/llio.texi: Likewise.
28620 (O_NOCTTY): Document as present on GNU/Linux.
28621 * manual/maint.texi: Likewise.
28622 * manual/memory.texi: Likewise.
28623 * manual/pattern.texi: Likewise.
28624 * manual/pipe.texi: Likewise.
28625 * manual/process.texi: Likewise.
28626 * manual/resource.texi: Likewise.
28627 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28629 * manual/setjmp.texi: Likewise.
28630 * manual/signal.texi: Likewise.
28631 * manual/startup.texi: Likewise.
28632 * manual/stdio.texi: Likewise.
28633 * manual/terminal.texi: Likewise.
28634 (ONLCR): Document as POSIX.
28635 (OXTABS): Document availability on GNU/Linux as XTABS.
28636 (ONOEOT): Document availability separately from other bits.
28637 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28638 * manual/time.texi: Likewise.
28639 * manual/users.texi: Likewise.
28640 * INSTALL: Regenerated.
28641 * sysdeps/gnu/errlist.c: Regenerated.
28643 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28644 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28645 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28647 * configure: Regenerated.
28649 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28651 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28652 default includes instead of AC_HEADER_CHECK.
28653 * sysdeps/i386/configure: Regenerated.
28656 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28657 * math/s_cacoshf.c (__cacoshf): Likewise.
28658 * math/s_cacoshl.c (__cacoshl): Likewise.
28659 * math/s_casinh.c (__casinh): Set signs of result from argument.
28660 * math/s_casinhf.c (__casinhf): Likewise.
28661 * math/s_casinhl.c (__casinhl): Likewise.
28662 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28663 (casinh_test): Add more tests.
28664 * sysdeps/i386/fpu/libm-test-ulps: Update.
28665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28667 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28669 * po/zh_TW.po: Update from translation team.
28671 * login/Makefile (distribute): Remove variable.
28672 * catgets/Makefile: Likewise.
28673 * mach/Makefile: Likewise.
28674 * malloc/Makefile: Likewise.
28675 * misc/Makefile: Likewise.
28676 * iconv/Makefile: Likewise.
28677 * nscd/Makefile: Likewise.
28678 * hurd/Makefile: Likewise.
28679 * manual/Makefile: Likewise.
28680 * locale/Makefile: Likewise.
28681 * intl/Makefile: Likewise.
28682 * conform/Makefile: Likewise.
28683 * nss/Makefile: Likewise.
28684 * time/Makefile: Likewise.
28685 * soft-fp/Makefile: Likewise.
28686 * dirent/Makefile: Likewise.
28687 * gmon/Makefile: Likewise.
28688 * po/Makefile: Likewise.
28689 * rt/Makefile: Likewise.
28690 * socket/Makefile: Likewise.
28691 * math/Makefile: Likewise.
28692 * signal/Makefile: Likewise.
28693 * debug/Makefile: Likewise.
28694 * elf/Makefile: Likewise.
28695 * timezone/Makefile: Likewise.
28696 * stdlib/Makefile: Likewise.
28697 * iconvdata/Makefile: Likewise.
28698 * sunrpc/Makefile: Likewise.
28699 * io/Makefile: Likewise.
28700 * argp/Makefile: Likewise.
28701 * inet/Makefile: Likewise.
28702 * hesiod/Makefile: Likewise.
28703 * grp/Makefile: Likewise.
28704 * csu/Makefile: Likewise.
28705 * wctype/Makefile: Likewise.
28706 * crypt/Makefile: Likewise.
28707 * libio/Makefile: Likewise.
28708 * string/Makefile: Likewise.
28709 * nis/Makefile: Likewise.
28710 * resolv/Makefile: Likewise.
28711 * stdio-common/Makefile: Likewise.
28712 * wcsmbs/Makefile: Likewise.
28713 * dlfcn/Makefile: Likewise.
28714 * posix/Makefile: Likewise.
28717 * timezone/Makefile: Don't install timezone files, just the programs
28720 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28722 * nss/databases.def: Add missing gshadow entry.
28724 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28726 2012-03-06 Marek Polacek <polacek@redhat.com>
28729 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28730 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28731 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28732 * stdio-common/tst-long-dbl-fphex.c: New file.
28734 2012-03-06 David S. Miller <davem@davemloft.net>
28736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28737 (set_obp_int): New function.
28738 (get_obp_int): New function.
28739 (__get_clockfreq_via_dev_openprom): Likewise.
28740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28741 Avoid unused variable warnings on 'val' and use builtin_expect.
28742 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28744 (INLINE_CLONE_SYSCALL): Likewise.
28746 2012-03-05 David S. Miller <davem@davemloft.net>
28748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28750 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28755 only for |x| >= 40.
28756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28758 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28760 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28761 Replace gettimeofday with __vdso_gettimeofday.
28763 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28764 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28765 __vdso_clock_gettime and __vdso_getcpu.
28767 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28768 time with __vdso_time.
28770 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28772 * manual/lang.texi (size_t): Note types to which size_t may be
28773 equivalent with the GNU C Library, but do not describe when
28774 differences between them are significant.
28776 2012-03-05 Andreas Jaeger <aj@suse.de>
28778 * sysdeps/i386/fpu/libm-test-ulps: Update.
28780 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28783 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28784 (__ieee754_pow): Save and restore rounding mode and use
28785 round-to-nearest for main computations.
28786 * math/libm-test.inc (pow_test_tonearest): New function.
28787 (pow_test_towardzero): Likewise.
28788 (pow_test_downward): Likewise.
28789 (pow_test_upward): Likewise.
28790 (main): Call the new functions.
28791 * sysdeps/i386/fpu/libm-test-ulps: Update.
28792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28795 * math/libm-test.inc (cosh_test_tonearest): New function.
28796 (cosh_test_towardzero): Likewise.
28797 (cosh_test_downward): Likewise.
28798 (cosh_test_upward): Likewise.
28799 (sinh_test_tonearest): Likewise.
28800 (sinh_test_towardzero): Likewise.
28801 (sinh_test_downward): Likewise.
28802 (sinh_test_upward): Likewise.
28803 (main): Call the new functions.
28804 * sysdeps/i386/fpu/libm-test-ulps: Update.
28805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28807 2012-03-05 Tom de Vries <tom@codesourcery.com>
28809 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28810 default stack guard is set in last bytes.
28811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28813 2012-03-05 Kees Cook <keescook@chromium.org>
28815 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28818 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28819 possibly allocate from heap instead of stack.
28820 * stdio-common/bug-vfprintf-nargs.c: New file.
28821 * stdio-common/Makefile (tests): Add nargs overflow test.
28823 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28827 2012-03-03 Marek Polacek <polacek@redhat.com>
28829 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28830 * math/math_private.h: Likewise.
28831 * stdlib/tst-strtod.c: Likewise.
28832 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28833 * sysdeps/x86_64/bits/atomic.h: Likewise.
28835 2012-03-02 David S. Miller <davem@davemloft.net>
28837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28841 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28842 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28843 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28844 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28846 2012-03-02 Roland McGrath <roland@hack.frob.com>
28849 * manual/examples/README: New file, says the example source files
28850 can be used under GPL>=2.
28851 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28852 line containing just "*/".
28853 * manual/examples/add.c: Add copyright header (GPL>=2).
28854 * manual/examples/argp-ex1.c: Likewise.
28855 * manual/examples/argp-ex2.c: Likewise.
28856 * manual/examples/argp-ex3.c: Likewise.
28857 * manual/examples/argp-ex4.c: Likewise.
28858 * manual/examples/atexit.c: Likewise.
28859 * manual/examples/db.c: Likewise.
28860 * manual/examples/dir.c: Likewise.
28861 * manual/examples/dir2.c: Likewise.
28862 * manual/examples/execinfo.c: Likewise.
28863 * manual/examples/filecli.c: Likewise.
28864 * manual/examples/filesrv.c: Likewise.
28865 * manual/examples/fmtmsgexpl.c: Likewise.
28866 * manual/examples/genpass.c: Likewise.
28867 * manual/examples/inetcli.c: Likewise.
28868 * manual/examples/inetsrv.c: Likewise.
28869 * manual/examples/isockad.c: Likewise.
28870 * manual/examples/longopt.c: Likewise.
28871 * manual/examples/memopen.c: Likewise.
28872 * manual/examples/memstrm.c: Likewise.
28873 * manual/examples/mkfsock.c: Likewise.
28874 * manual/examples/mkisock.c: Likewise.
28875 * manual/examples/mygetpass.c: Likewise.
28876 * manual/examples/pipe.c: Likewise.
28877 * manual/examples/popen.c: Likewise.
28878 * manual/examples/rprintf.c: Likewise.
28879 * manual/examples/search.c: Likewise.
28880 * manual/examples/select.c: Likewise.
28881 * manual/examples/setjmp.c: Likewise.
28882 * manual/examples/sigh1.c: Likewise.
28883 * manual/examples/sigusr.c: Likewise.
28884 * manual/examples/stpcpy.c: Likewise.
28885 * manual/examples/strdupa.c: Likewise.
28886 * manual/examples/strftim.c: Likewise.
28887 * manual/examples/strncat.c: Likewise.
28888 * manual/examples/subopt.c: Likewise.
28889 * manual/examples/swapcontext.c: Likewise.
28890 * manual/examples/termios.c: Likewise.
28891 * manual/examples/testopt.c: Likewise.
28892 * manual/examples/testpass.c: Likewise.
28893 * manual/examples/timeval_subtract.c: Likewise.
28896 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28898 * manual/timeval_subtract.c.texi: ... here, new file.
28900 2012-03-02 David S. Miller <davem@davemloft.net>
28902 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28904 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28907 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28908 (__sin): Save and restore rounding mode and use round-to-nearest
28909 for all computations.
28910 (__cos): Save and restore rounding mode and use round-to-nearest
28911 for all computations.
28912 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28914 (tan): Save and restore rounding mode and use round-to-nearest for
28916 * math/libm-test.inc (cos_test_tonearest): New function.
28917 (cos_test_towardzero): Likewise.
28918 (cos_test_downward): Likewise.
28919 (cos_test_upward): Likewise.
28920 (sin_test_tonearest): Likewise.
28921 (sin_test_towardzero): Likewise.
28922 (sin_test_downward): Likewise.
28923 (sin_test_upward): Likewise.
28924 (tan_test_tonearest): Likewise.
28925 (tan_test_towardzero): Likewise.
28926 (tan_test_downward): Likewise.
28927 (tan_test_upward): Likewise.
28928 (main): Call the new functions.
28929 * sysdeps/i386/fpu/libm-test-ulps: Update.
28930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28933 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28934 small n, then large n, before computing and testing k+n.
28935 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28936 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28940 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28941 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28942 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28943 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28944 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28945 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28948 * math/libm-test.inc (scalbn_test): Add more tests.
28949 (scalbln_test): Likewise.
28951 * manual/filesys.texi (mode_t): Describe constraints on size and
28952 signedness, not exact equivalence to a particular type.
28954 (ino64_t): Likewise.
28956 (nlink_t): Likewise.
28957 (blkcnt_t): Likewise.
28958 (blkcnt64_t): Likewise.
28959 * manual/llio.texi (off_t): Likewise.
28962 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28963 (__ieee754_exp): Save and restore rounding mode and use
28964 round-to-nearest for all computations.
28965 * math/libm-test.inc (exp_test_tonearest): New function.
28966 (exp_test_towardzero): Likewise.
28967 (exp_test_downward): Likewise.
28968 (exp_test_upward): Likewise.
28969 (main): Call the new functions.
28970 * sysdeps/i386/fpu/libm-test-ulps: Update.
28971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28973 2012-03-01 Chris Demetriou <cgd@google.com>
28975 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28976 have predictable order.
28978 2012-03-01 David S. Miller <davem@davemloft.net>
28980 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28982 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28983 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28984 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28985 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28987 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28988 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28989 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28991 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28992 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28993 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28994 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28995 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29000 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29001 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29003 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29004 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29005 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29006 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29007 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29008 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29010 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29011 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29012 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29013 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29016 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29017 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29019 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29020 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29021 * sysdeps/sparc/elf/configure: Regenerated.
29023 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29025 * configure.in (AS, LD): Require binutils 2.20 or later.
29026 * configure: Regenerated.
29027 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29028 as required minimum version.
29029 * INSTALL: Regenerated.
29033 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29034 before squaring exponent.
29035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29036 bottom long double and 27 bits of top long double before squaring
29038 * math/libm-test.inc (erfc_test): Add more tests.
29039 * sysdeps/i386/fpu/libm-test-ulps: Update.
29040 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29043 2012-03-01 Kai Tietz <ktietz@redhat.com>
29045 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29046 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29047 containing bit-fields.
29048 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29049 * soft-fp/single.h (_FP_UNION_S): Likewise.
29050 * soft-fp/double.h (_FP_UNION_D): Likewise.
29052 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29055 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29056 not include ../strcmp.S.
29057 [USE_AS_STRNCASECMP_L]: Likewise.
29058 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29059 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29060 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29061 (__strncasecmp_l_ia32): Define as alias to
29062 __strncasecmp_l_nonascii.
29065 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29066 * sysdeps/i386/fpu/libm-test-ulps: Update.
29067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29069 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29072 2012-02-29 Jeff Law <law@redhat.com>
29074 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29075 out of bounds read.
29077 2012-02-29 Marek Polacek <polacek@redhat.com>
29080 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29081 * elf/Makefile: Add rules to run tst-unused-dep.out.
29083 2012-02-28 David S. Miller <davem@davemloft.net>
29085 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29086 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29087 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29088 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29089 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29090 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29092 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29094 * math/libm-test.inc (llround_test): Move one test from
29095 lround_test. Use TEST_f_L in moved test.
29096 (lround_test): Move misplaced test to llround_test. Add testcase
29099 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29101 * sysdeps/x86_64/fpu/e_expf.S: New file.
29102 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29104 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29107 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29108 of remain_len that may cause incomplete multi-byte character and
29110 * posix/bug-regex33.c: New file.
29111 * posix/Makefile (tests): Add bug-regex33.
29113 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29115 * manual/macros.texi: New file.
29116 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29117 * manual/libc.texinfo: Include macros.texi.
29118 * manual/creatute.texi: Likewise.
29119 * manual/install.texi: Likewise.
29120 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29121 @glibcadj{} in references to the GNU C Library.
29122 * manual/charset.texi: Likewise.
29123 * manual/conf.texi: Likewise.
29124 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29125 when not using those macros.
29126 * manual/creature.texi: Likewise.
29127 * manual/crypt.texi: Likewise.
29128 * manual/errno.texi: Likewise.
29129 * manual/filesys.texi: Likewise.
29130 * manual/header.texi: Likewise.
29131 * manual/install.texi: Likewise.
29132 * manual/intro.texi: Likewise.
29133 * manual/io.texi: Likewise.
29134 * manual/job.texi: Likewise.
29135 * manual/lang.texi: Likewise.
29136 * manual/libc.texiinfo: Likewise.
29137 * manual/llio.texi: Likewise.
29138 * manual/locale.texi: Likewise.
29139 * manual/maint.texi: Likewise.
29140 * manual/math.texi: Likewise.
29141 * manual/memory.texi: Likewise.
29142 * manual/message.texi: Likewise.
29143 * manual/nss.texi: Likewise.
29144 * manual/pattern.texi: Likewise.
29145 * manual/process.texi: Likewise.
29146 * manual/resource.texi: Likewise.
29147 * manual/search.texi: Likewise.
29148 * manual/setjmp.texi: Likewise.
29149 * manual/signal.texi: Likewise.
29150 * manual/socket.texi: Likewise.
29151 * manual/startup.texi: Likewise.
29152 * manual/stdio.texi: Likewise.
29153 * manual/string.texi: Likewise.
29154 * manual/sysinfo.texi: Likewise.
29155 * manual/syslog.texi: Likewise.
29156 * manual/terminal.texi: Likewise.
29157 * manual/time.texi: Likewise.
29158 * manual/users.texi: Likewise.
29159 * INSTALL: Regenerated.
29160 * NOTES: Regenerated.
29161 * sysdeps/gnu/errlist.c: Regenerated.
29163 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29165 * include/dirent.h: Include <dirstream.h> before
29168 2012-02-28 David S. Miller <davem@davemloft.net>
29170 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29171 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29172 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29173 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29175 2012-02-27 David S. Miller <davem@davemloft.net>
29177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29179 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29180 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29183 frame pointer instead of stack pointer relative arg slot.
29184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29185 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29186 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29188 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29191 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29193 2012-02-27 David S. Miller <davem@davemloft.net>
29195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29199 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29200 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29201 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29202 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29204 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29206 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29207 later. Allow versions 5-9.
29208 * configure: Regenerated.
29209 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29210 required minimum version and 4.6 as recommended version. Do not
29211 mention bugs in GCC 2.7 and 2.8.
29212 * INSTALL: Regenerated.
29214 2012-02-27 David S. Miller <davem@davemloft.net>
29216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29220 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29221 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29222 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29223 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29226 manipulate bits before adding and subtracting TWO112[sx].
29227 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29229 2012-02-27 Roland McGrath <roland@hack.frob.com>
29232 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29233 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29234 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29235 being in POSIX, because they are in 1003.1-2008.
29237 * rt/tst-aio.c: Include <fcntl.h>.
29238 * rt/tst-aio7.c: Likewise.
29239 * rt/tst-aio64.c: Likewise.
29241 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29243 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29245 * manual/install.texi (--with-headers): Describe headers as
29246 interface headers, not private headers.
29247 (Specific advice for GNU/Linux systems): Describe use of headers
29248 from "make headers_install", not private headers from older
29250 * INSTALL: Regenerated.
29251 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29253 * sysdeps/unix/sysv/linux/configure: Regenerated.
29255 * manual/llio.texi (fclean): Remove documentation.
29257 * manual/Makefile (libc-texi-generated): New variable. Include
29259 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29260 $(libc-texi-generated), not duplicated list of files.
29261 (version.texi, stamp-version): New rules.
29262 (realclean): Remove $(libc-texi-generated), not individual files
29263 from that list. Do not remove dir-add.texinfo.
29264 * manual/libc.texinfo: Comment out uses of edition numbers and
29265 references to printed manual. Remove last-updated dates.
29266 (EDITION): Comment out.
29268 (VERSION, UPDATED): Remove.
29269 (version.texi): Include.
29271 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29273 * sysdeps/posix/spawni.c: Include <signal.h>.
29274 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29275 * sysdeps/pthread/aio_fsync.c: Likewise.
29277 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29279 * conform/Makefile (tests): Run only when not cross-compiling and
29280 when fast-check is not defined.
29282 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29283 * conform/data/limits.h-data: Fixes for POSIX2008.
29284 * conform/run-conformtest.sh: Run all tests.
29285 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29287 * include/bits/dlfcn.h: Likewise.
29288 * include/langinfo.h: Likewise.
29289 * include/monetary.h: Likewise.
29290 * include/sys/poll.h: Likewise.
29292 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29294 * posix/spawn.h: Define __need_sigset_t.
29295 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29296 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29297 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29298 to get sigevent_t only.
29299 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29300 only for __USE_GNU.
29301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29302 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29303 process_vm_writev only for __USE_GNU.
29304 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29306 * conform/Makefile: For now ignore errors from run-conformtest.
29307 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29308 POSIX to avoid namespace pollution. Don't prepend headers.
29309 * conform/data/aio.h-data: Fixes for POSIX testing.
29310 * conform/data/fcntl.h-data: Likewise.
29311 * conform/data/glob.h-data: Likewise.
29312 * conform/data/grp.h-data: Likewise.
29313 * conform/data/pthread.h-data: Likewise.
29314 * conform/data/pwd.h-data: Likewise.
29315 * conform/data/signal.h-data: Likewise.
29316 * conform/data/spawn.h-data: Likewise.
29317 * conform/data/stdio.h-data: Likewise.
29318 * conform/data/stdlib.h-data: Likewise.
29319 * conform/data/stropts.h-data: Likewise.
29320 * conform/data/sys/mman.h-data: Likewise.
29321 * conform/data/sys/stat.h-data: Likewise.
29322 * conform/data/sys/types.h-data: Likewise.
29323 * conform/data/sys/wait.h-data: Likewise.
29324 * conform/data/time.h-data: Likewise.
29325 * conform/data/unistd.h-data: Likewise.
29326 * conform/data/utime.h-data: Likewise.
29328 * io/sys/stat.h: fchmod was always in POSIX.
29329 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29330 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29331 * rt/aio.h: Define __need_timespec before including <time.h>.
29332 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29333 struct. Add forward declaration of pthread_attr_t and use it in
29335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29336 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29337 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29338 always remove CLK_TCK definition.
29340 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29342 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29344 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29346 * conform/run-conformtest.sh: New file.
29347 * conform/Makefile: Run run-conformtest for tests.
29348 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29351 * conform/data/uchar.h-data: New file.
29352 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29353 * conform/data/arpa/inet.h-data: Likewise.
29354 * conform/data/assert.h-data: Likewise.
29355 * conform/data/complex.h-data: Likewise.
29356 * conform/data/cpio.h-data: Likewise.
29357 * conform/data/ctype.h-data: Likewise.
29358 * conform/data/dirent.h-data: Likewise.
29359 * conform/data/dlfcn.h-data: Likewise.
29360 * conform/data/errno.h-data: Likewise.
29361 * conform/data/fcntl.h-data: Likewise.
29362 * conform/data/float.h-data: Likewise.
29363 * conform/data/fmtmsg.h-data: Likewise.
29364 * conform/data/fnmatch.h-data: Likewise.
29365 * conform/data/ftw.h-data: Likewise.
29366 * conform/data/glob.h-data: Likewise.
29367 * conform/data/grp.h-data: Likewise.
29368 * conform/data/iconv.h-data: Likewise.
29369 * conform/data/inttypes.h-data: Likewise.
29370 * conform/data/langinfo.h-data: Likewise.
29371 * conform/data/libgen.h-data: Likewise.
29372 * conform/data/limits.h-data: Likewise.
29373 * conform/data/locale.h-data: Likewise.
29374 * conform/data/math.h-data: Likewise.
29375 * conform/data/monetary.h-data: Likewise.
29376 * conform/data/mqueue.h-data: Likewise.
29377 * conform/data/ndbm.h-data: Likewise.
29378 * conform/data/net/if.h-data: Likewise.
29379 * conform/data/netdb.h-data: Likewise.
29380 * conform/data/netinet/in.h-data: Likewise.
29381 * conform/data/nl_types.h-data: Likewise.
29382 * conform/data/poll.h-data: Likewise.
29383 * conform/data/pthread.h-data: Likewise.
29384 * conform/data/pwd.h-data: Likewise.
29385 * conform/data/regex.h-data: Likewise.
29386 * conform/data/sched.h-data: Likewise.
29387 * conform/data/search.h-data: Likewise.
29388 * conform/data/semaphore.h-data: Likewise.
29389 * conform/data/setjmp.h-data: Likewise.
29390 * conform/data/signal.h-data: Likewise.
29391 * conform/data/spawn.h-data: Likewise.
29392 * conform/data/stdarg.h-data: Likewise.
29393 * conform/data/stdio.h-data: Likewise.
29394 * conform/data/stdlib.h-data: Likewise.
29395 * conform/data/string.h-data: Likewise.
29396 * conform/data/strings.h-data: Likewise.
29397 * conform/data/stropts.h-data: Likewise.
29398 * conform/data/sys/ipc.h-data: Likewise.
29399 * conform/data/sys/mman.h-data: Likewise.
29400 * conform/data/sys/msg.h-data: Likewise.
29401 * conform/data/sys/resource.h-data: Likewise.
29402 * conform/data/sys/select.h-data: Likewise.
29403 * conform/data/sys/sem.h-data: Likewise.
29404 * conform/data/sys/shm.h-data: Likewise.
29405 * conform/data/sys/socket.h-data: Likewise.
29406 * conform/data/sys/stat.h-data: Likewise.
29407 * conform/data/sys/statvfs.h-data: Likewise.
29408 * conform/data/sys/time.h-data: Likewise.
29409 * conform/data/sys/timeb.h-data: Likewise.
29410 * conform/data/sys/times.h-data: Likewise.
29411 * conform/data/sys/types.h-data: Likewise.
29412 * conform/data/sys/uio.h-data: Likewise.
29413 * conform/data/sys/un.h-data: Likewise.
29414 * conform/data/sys/utsname.h-data: Likewise.
29415 * conform/data/sys/wait.h-data: Likewise.
29416 * conform/data/syslog.h-data: Likewise.
29417 * conform/data/tar.h-data: Likewise.
29418 * conform/data/termios.h-data: Likewise.
29419 * conform/data/utime.h-data: Likewise.
29420 * conform/data/utmpx.h-data: Likewise.
29421 * conform/data/varargs.h-data: Likewise.
29422 * conform/data/wchar.h-data: Likewise.
29423 * conform/data/wctype.h-data: Likewise.
29424 * conform/data/wordexp.h-data: Likewise.
29426 * include/stropts.h: New file.
29427 * include/uchar.h: New file.
29428 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29429 * include/assert.h: Likewise.
29430 * include/ctype.h: Likewise.
29431 * include/dirent.h: Likewise.
29432 * include/dlfcn.h: Likewise.
29433 * include/fcntl.h: Likewise.
29434 * include/fnmatch.h: Likewise.
29435 * include/glob.h: Likewise.
29436 * include/grp.h: Likewise.
29437 * include/libio.h: Likewise.
29438 * include/locale.h: Likewise.
29439 * include/math.h: Likewise.
29440 * include/net/if.h: Likewise.
29441 * include/netdb.h: Likewise.
29442 * include/netinet/in.h: Likewise.
29443 * include/pthread.h: Likewise.
29444 * include/pwd.h: Likewise.
29445 * include/regex.h: Likewise.
29446 * include/sched.h: Likewise.
29447 * include/search.h: Likewise.
29448 * include/setjmp.h: Likewise.
29449 * include/signal.h: Likewise.
29450 * include/stdio.h: Likewise.
29451 * include/stdlib.h: Likewise.
29452 * include/string.h: Likewise.
29453 * include/sys/cdefs.h: Likewise.
29454 * include/sys/mman.h: Likewise.
29455 * include/sys/msg.h: Likewise.
29456 * include/sys/resource.h: Likewise.
29457 * include/sys/select.h: Likewise.
29458 * include/sys/socket.h: Likewise.
29459 * include/sys/stat.h: Likewise.
29460 * include/sys/statvfs.h: Likewise.
29461 * include/sys/time.h: Likewise.
29462 * include/sys/times.h: Likewise.
29463 * include/sys/uio.h: Likewise.
29464 * include/sys/utsname.h: Likewise.
29465 * include/sys/wait.h: Likewise.
29466 * include/termios.h: Likewise.
29467 * include/time.h: Likewise.
29468 * include/ulimit.h: Likewise.
29469 * include/unistd.h: Likewise.
29470 * include/utime.h: Likewise.
29471 * include/wchar.h: Likewise.
29472 * include/wctype.h: Likewise.
29473 * include/wordexp.h: Likewise.
29475 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29477 * time/time.h: TIME_UTC must be a macro.
29478 Make timespec_get available for ISO C11 only as well.
29480 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29482 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29483 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29485 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29487 * configure.in: Use -o not -a in test for unsupported multi-arch.
29489 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29491 * manual/texinfo.tex: Update to version 2012-01-19.16.
29493 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29495 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29497 2012-02-24 Roland McGrath <roland@hack.frob.com>
29500 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29501 * manual/fdl-1.3.texi: New file.
29502 * manual/fdl-1.1.texi: File removed.
29505 * manual/libc.texinfo (FDL_VERSION): New @set.
29506 Use it for mention of FDL in cover text.
29507 (Documentation License): Use it in @include file name.
29509 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29510 Roland McGrath <roland@hack.frob.com>
29513 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29514 not LONG_LONG_MAX and LONG_LONG_MIN.
29515 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29516 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29518 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29520 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29524 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29525 manipulate bits before adding and subtracting TWO23[sx].
29526 * math/libm-test.inc (nearbyint_test): Add more tests.
29528 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29531 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29532 bits before adding and subtracting TWO23[sx].
29533 * math/libm-test.inc (rint_test): Add more tests.
29534 (rint_test_tonearest): Likewise.
29535 (rint_test_towardzero): Likewise.
29536 (rint_test_downward): Likewise.
29537 (rint_test_upward: Likewise.
29539 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29542 * include/stdc-predef.h: New file. Extracted from features.h.
29543 * include/features.h: Include stdc-predef.h.
29544 * Makefile (headers): Add stdc-predef.h.
29545 * CONFORMANCE (Compiler limitations): Update.
29547 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29549 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29551 2012-02-21 David S. Miller <davem@davemloft.net>
29553 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29556 2012-02-20 David S. Miller <davem@davemloft.net>
29558 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29559 using a normal save/restore sequence, rather than allocating a
29560 dummy stack frame just to store a frame pointer and restore.
29561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29563 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29565 * manual/install.texi: Fix stray word in line-wrapped comment.
29567 2012-02-20 David S. Miller <davem@davemloft.net>
29569 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29570 both binutils and gcc support GOTDATA.
29572 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29573 "rd %pc" in the PIC register setup sequences.
29575 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29576 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29577 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29578 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29579 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29582 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29584 (SYSCALL_ERROR_HANDLER): Likewise.
29585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29586 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29588 (SYSCALL_ERROR_HANDLER): Likewise.
29590 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29591 (HAVE_GCC_GOTDATA): New.
29592 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29593 relocation support in both binutils and gcc.
29594 * sysdeps/sparc/elf/configure: Regenerate.
29596 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29597 * sysdeps/sparc/sparc32/elf/configure: Delete.
29598 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29599 * sysdeps/sparc/sparc64/elf/configure: Delete.
29600 * sysdeps/sparc/elf/configure.in: New file.
29601 * sysdeps/sparc/elf/configure: Generate.
29603 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29604 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29605 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29606 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29607 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29609 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29611 * manual/install.texi: Do not mention specific glibc version
29613 * manual/libc.texinfo (VERSION, UPDATED): Update.
29614 (@copying): Use @copyright{} and range of years.
29616 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29619 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29620 [crti.S not in sysdirs] (generated): Do not append.
29621 [crti.S not in sysdirs] (omit-deps): Likewise.
29622 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29623 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29624 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29625 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29626 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29628 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29629 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29630 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29631 * csu/defs.awk: Remove file.
29632 * sysdeps/generic/initfini.c: Likewise.
29633 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29635 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29638 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29640 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29641 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29642 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29643 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29644 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29645 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29647 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29648 (__EPOLL_PACKED): Define to empty if not defined by
29650 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29654 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29656 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29657 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29658 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29659 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29661 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29665 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29667 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29670 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29671 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29674 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29676 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29677 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29679 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29681 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29682 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29684 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29686 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29689 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29691 * math/w_acos.c: Use non-signaling floating-point comparisons.
29692 * math/w_acosf.c: Likewise.
29693 * math/w_acosh.c: Likewise.
29694 * math/w_acoshf.c: Likewise.
29695 * math/w_acoshl.c: Likewise.
29696 * math/w_acosl.c: Likewise.
29697 * math/w_asin.c: Likewise.
29698 * math/w_asinf.c: Likewise.
29699 * math/w_asinl.c: Likewise.
29700 * math/w_atanh.c: Likewise.
29701 * math/w_atanhf.c: Likewise.
29702 * math/w_atanhl.c: Likewise.
29703 * math/w_exp2.c: Likewise.
29704 * math/w_exp2f.c: Likewise.
29705 * math/w_exp2l.c: Likewise.
29706 * math/w_j0.c: Likewise.
29707 * math/w_j0f.c: Likewise.
29708 * math/w_j0l.c: Likewise.
29709 * math/w_j1.c: Likewise.
29710 * math/w_j1f.c: Likewise.
29711 * math/w_j1l.c: Likewise.
29712 * math/w_jn.c: Likewise.
29713 * math/w_jnf.c: Likewise.
29714 * math/w_log.c: Likewise.
29715 * math/w_log10.c: Likewise.
29716 * math/w_log10f.c: Likewise.
29717 * math/w_log10l.c: Likewise.
29718 * math/w_log2.c: Likewise.
29719 * math/w_log2f.c: Likewise.
29720 * math/w_log2l.c: Likewise.
29721 * math/w_logf.c: Likewise.
29722 * math/w_logl.c: Likewise.
29723 * math/w_sqrt.c: Likewise.
29724 * math/w_sqrtf.c: Likewise.
29725 * math/w_sqrtl.c: Likewise.
29726 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29727 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29728 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29729 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29730 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29732 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29735 * manual/string.texi (strnlen): Use correct parameter name in
29736 equivalent expression.
29738 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29741 * manual/users.texi (seteuid): Consistently use neweuid for
29744 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29747 * manual/nss.texi (Services in the NSS configuration): Correct
29748 list of services in example configuration file.
29750 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29753 * manual/arith.texi: Remove statements about negative zero
29754 behaving identically to zero.
29756 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29759 * manual/install.texi: Do not document upgrading from libc5.
29761 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29764 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29766 2012-02-18 David S. Miller <davem@davemloft.net>
29768 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29769 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29770 %o7 across the call.
29771 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29774 SETUP_PIC_REG_LEAF.
29775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29776 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29777 * sysdeps/sparc/crtn.S: Likewise.
29779 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29781 * aout/Makefile: Remove.
29783 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29786 * manual/examples/argp-ex1.c (main): Format definition in GNU
29788 * manual/examples/argp-ex2.c (main): Likewise.
29789 * manual/examples/argp-ex3.c (main): Likewise.
29790 * manual/examples/argp-ex4.c (main): Likewise.
29791 * manual/examples/longopt.c (main): Use new-style prototype
29793 * manual/examples/strncat.c (main): Specify return type and use
29794 (void) for arguments.
29795 * manual/examples/subopt.c (main): Use char **argv argument.
29797 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29800 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29803 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29806 * manual/string.texi (strchr): Change when strchrnul is
29809 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29812 * manual/locale.texi (setlocale): Document LOCPATH.
29814 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29817 * manual/process.texi (execle): Move @dots{} before last argument.
29819 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29822 * manual/charset.texi (Generic Charset Conversion): Fix typo
29823 (LC_TYPE -> LC_CTYPE).
29825 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29828 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29829 (scalbnf): Likewise.
29830 (scalbnl): Likewise.
29831 (scalbln): Likewise.
29832 (scalblnf): Likewise.
29833 (scalblnl): Likewise.
29834 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29835 (vwarnx): Likewise.
29838 * manual/filesys.texi (telldir): Use braces around return type.
29839 * manual/llio.texi (mmap): Add space after comma.
29840 (mmap64): Likewise.
29841 * manual/math.texi (jn): Use @var{} on parameter names.
29847 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29849 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29851 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29852 (sched_get_priority_max): Likewise.
29853 * manual/signal.texi (sigvec): Add space after comma.
29854 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29856 (if_indextoname): Likewise.
29857 (if_freenameindex): Likewise.
29858 (sendto): Use ',' instead of '.' in prototype.
29859 * manual/startup.texi (syscall): Use @dots{} instead of literal
29861 * manual/stdio.texi (__fpending): Separate initial words of
29862 paragraph from @deftypefun line.
29863 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29865 (vsyslog): Use @var{} on parameter names.
29866 * manual/terminal.texi (stty): Use @var{} on parameter names.
29867 * manual/users.texi (getutmp): Use @var{} on parameter names.
29868 (getutmpx): Likewise.
29870 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29873 * manual/stdio.texi (fopen): Fix typos in description of
29876 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29879 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29880 get clock_id definition.
29882 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29885 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29886 (madvise): Cast every argument to void on its own.
29888 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29891 * manual/startup.texi (Exit Status): Fix typo.
29893 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29896 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29897 * manual/examples/argp-ex2.c: Likewise.
29898 * manual/examples/argp-ex3.c: Likewise.
29900 2012-02-16 Richard Henderson <rth@redhat.com>
29902 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29903 * sysdeps/s390/s390-32/initfini.c: Remove.
29904 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29905 * sysdeps/s390/s390-64/initfini.c: Remove.
29907 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29909 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29910 compiler output for sysdeps/generic/initfini.c.
29911 * sysdeps/sh/elf/initfini.c: Remove file.
29913 2012-02-16 David S. Miller <davem@davemloft.net>
29916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29918 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29919 * sysdeps/sparc/crti.S: New file.
29920 * sysdeps/sparc/crtn.S: New file.
29921 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29922 * sysdeps/sparc/sparc64/Makefile: Likewise.
29924 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29927 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29929 2012-02-15 Roland McGrath <roland@hack.frob.com>
29932 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29934 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29935 (write, read, close): Likewise.
29936 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29938 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29940 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29941 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29942 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29943 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29945 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29949 2012-02-14 Marek Polacek <polacek@redhat.com>
29951 * sysdeps/x86_64/crti.S: New file.
29952 * sysdeps/x86_64/crtn.S: New file.
29953 * sysdeps/x86_64/elf/initfini.c: Remove file.
29955 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29957 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29958 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29959 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29960 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29962 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29966 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29968 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29969 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29970 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29971 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29973 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29977 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29979 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29980 __feraiseexcept instead of feraiseexcept.
29982 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29983 nanosleep invocations.
29984 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29985 strings, and add error checking for a nanosleep invocations.
29987 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29989 Replace FSF snail mail address with URLs, as per GNU coding standards.
29990 Most of the snail mail addresses were wrong anyway, and omitting
29991 them makes the source code easier to maintain. Almost all of the
29992 changes are to license notices and to locale LC_IDENTIFICATION
29993 addresses, except for this one:
29994 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29995 not its snail mail address.
29997 2012-02-09 Richard Henderson <rth@twiddle.net>
29999 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30000 of kernel-features.h.
30002 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30004 2012-02-08 Marek Polacek <polacek@redhat.com>
30006 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30007 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30008 * sysdeps/gnu/_G_config.h: Likewise.
30009 * sysdeps/generic/_G_config.h: Likewise.
30011 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30013 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30017 * sysdeps/powerpc/powerpc32/crti.S: New file.
30018 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30019 * sysdeps/powerpc/powerpc64/crti.S: New file.
30020 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30022 * Makeconfig (have-initfini): Don't set.
30023 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30024 * configure.in (nopic_initfini): Don't substitute.
30025 * config.h.in (HAVE_INITFINI): Don't #undef.
30026 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30027 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30029 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30031 Support crti.S and crtn.S provided directly by architectures.
30032 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30033 [crti.S in sysdirs] (omit-deps): Likewise.
30034 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30035 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30036 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30037 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30038 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30039 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30040 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30041 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30042 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30043 compiler output for sysdeps/generic/initfini.c.
30044 * sysdeps/i386/elf/Makefile: Remove file.
30045 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30047 2012-02-07 Marek Polacek <polacek@redhat.com>
30049 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30050 * sysdeps/gnu/_G_config.h: Likewise.
30051 * sysdeps/mach/hurd/_G_config.h: Likewise.
30053 2012-02-07 Marek Polacek <polacek@redhat.com>
30055 * math/Makefile (tests): Add tst-CMPLX2.
30056 * math/tst-CMPLX2.c: New file.
30058 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30060 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30062 * math/libm-test.inc (jn_test): Add missing L suffix.
30064 2012-02-06 Marek Polacek <polacek@redhat.com>
30066 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30067 * sysdeps/i386/fpu/e_powf.S: Likewise.
30068 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30069 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30070 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30071 * sysdeps/i386/fpu/e_pow.S: Likewise.
30072 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30073 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30074 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30075 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30076 * sysdeps/i386/fpu/e_log2.S: Likewise.
30077 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30078 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30079 * sysdeps/i386/fpu/e_powl.S: Likewise.
30080 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30081 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30082 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30083 * sysdeps/i386/fpu/e_logl.S: Likewise.
30084 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30085 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30086 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30087 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30089 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30090 * sysdeps/i386/fpu/e_log.S: Likewise.
30091 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30092 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30093 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30094 * sysdeps/i386/fpu/e_logf.S: Likewise.
30095 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30097 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30098 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30099 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30100 * sysdeps/i386/fpu/e_log10.S: Likewise.
30101 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30103 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30104 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30105 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30106 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30107 * sysdeps/i386/asm-syntax.h: Likewise.
30108 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30110 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30111 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30112 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30113 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30114 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30115 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30116 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30117 * sysdeps/powerpc/sysdep.h: Likewise.
30118 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30119 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30121 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30124 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30126 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30128 * sysdeps/i386/sysdep.h: Include <features.h>.
30129 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30132 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30134 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30136 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30139 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30141 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30142 (SETUP_PIC_REG): Use GET_PC_THUNK.
30143 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30146 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30148 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30149 for non-PIC compilation.
30150 (SETUP_PIC_REG): Add .p2align directive.
30151 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30152 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30153 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30154 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30155 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30156 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30157 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30158 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30159 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30160 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30161 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30162 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30163 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30164 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30165 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30166 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30167 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30168 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30169 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30170 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30171 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30172 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30173 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30174 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30175 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30177 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30179 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30180 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30181 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30183 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30184 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30185 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30186 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30187 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30188 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30189 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30190 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30191 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30193 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30195 * math/tst-CMPLX.c: Include <stdio.h>.
30197 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30199 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30201 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30202 * sysdeps/sparc/bits/mathdef.h: Likewise.
30204 2012-01-31 Marek Polacek <polacek@redhat.com>
30206 * libio/libio.h: Don't define _PARAMS.
30207 * locale/programs/config.h: Don't define PARAMS.
30208 * stdlib/strtol_l.c: Likewise.
30209 (__strtol_l): Remove PARAMS from the prototype.
30211 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30213 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30214 names. Just use the correct names. Remove unnecessary wrapper
30216 * malloc/arena.c: Likewise.
30217 * malloc/hooks.c: Likewise.
30219 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30220 ARENA_TEST says not to. Simplify test for creation of a new arena.
30221 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30223 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30225 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30227 (update_get_addr): New function.
30228 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30229 GET_ADDR_MODULE parameter.
30231 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30233 * crypt/cert.c: Remove __STDC__ conditionals.
30234 * crypt/crypt-entry.c: Likewise.
30235 * crypt/crypt_util.c: Likewise.
30236 * libio/filedoalloc.c: Likewise.
30237 * libio/fileops.c: Likewise.
30238 * libio/genops.c: Likewise.
30239 * libio/iofclose.c: Likewise.
30240 * libio/iofdopen.c: Likewise.
30241 * libio/iofopen.c: Likewise.
30242 * libio/iofopen64.c: Likewise.
30243 * libio/iogetdelim.c: Likewise.
30244 * libio/iopopen.c: Likewise.
30245 * libio/obprintf.c: Likewise.
30246 * libio/oldfileops.c: Likewise.
30247 * libio/oldiofclose.c: Likewise.
30248 * libio/oldiofdopen.c: Likewise.
30249 * libio/oldiofopen.c: Likewise.
30250 * libio/oldiopopen.c: Likewise.
30251 * libio/wfiledoalloc.c: Likewise.
30252 * libio/wgenops.c: Likewise.
30253 * locale/programs/xmalloc.c: Likewise.
30254 * misc/syslog.c: Likewise.
30255 * stdio-common/xbug.c: Likewise.
30256 * string/memchr.c: Likewise.
30257 * string/memcmp.c: Likewise.
30258 * string/memrchr.c: Likewise.
30259 * string/rawmemchr.c: Likewise.
30260 * sysdeps/posix/getcwd.c: Likewise.
30261 * time/strftime_l.c: Likewise.
30263 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30265 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30266 * config.make.in (config-cflags-sse2avx): Define.
30267 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30270 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30272 * scripts/config.guess: Update from upstream config git repository.
30273 * scripts/config.sub: Likewise.
30275 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30277 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30279 (R_TILEPRO_*, R_TILEGX_*): New macros.
30281 * scripts/firstversions.awk: Fix bug in version range handling.
30283 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30285 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30287 * include/sys/epoll.h: New file.
30288 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30291 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30293 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30294 Avoid unnecessary __WORDSIZE == 64 test.
30295 (fmaxf): Use VEX format if possible.
30300 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30301 * math/math_private.h: Remove libc_fegetround* and
30303 * sysdeps/i386/configure.in: Check for -msse2avx.
30304 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30305 also if SSE2AVX is defined.
30306 Remove libc_fegetround* and libc_fesetround*.
30307 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30308 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30309 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30312 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30314 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30317 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30319 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30321 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30323 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30325 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30328 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30330 * Makeconfig (libm): Define.
30331 * elf/Makefile: Add rules to build and run tst-relsort1.
30332 * elf/tst-relsort1.c: New file.
30333 * elf/tst-relsort1mod1.c: New file.
30334 * elf/tst-relsort1mod2.c: New file.
30336 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30338 * math/s_ldexp.c: Remove __STDC__ conditionals.
30339 * math/s_ldexpf.c: Likewise.
30340 * math/s_ldexpl.c: Likewise.
30341 * math/s_nextafter.c: Likewise.
30342 * math/s_nexttowardf.c: Likewise.
30343 * math/s_significand.c: Likewise.
30344 * math/s_significandf.c: Likewise.
30345 * math/s_significandl.c: Likewise.
30346 * math/w_jnl.c: Likewise.
30347 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30348 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30349 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30350 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30351 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30353 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30354 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30355 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30356 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30357 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30359 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30360 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30361 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30362 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30363 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30364 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30366 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30367 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30368 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30369 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30371 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30372 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30373 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30374 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30375 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30376 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30377 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30378 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30379 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30380 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30381 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30382 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30383 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30384 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30385 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30386 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30387 * sysdeps/ieee754/k_standard.c: Likewise.
30388 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30389 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30390 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30391 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30392 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30393 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30395 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30396 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30397 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30398 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30399 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30400 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30401 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30402 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30403 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30404 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30405 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30406 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30407 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30410 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30411 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30412 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30413 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30417 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30418 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30419 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30420 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30423 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30424 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30425 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30426 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30427 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30428 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30431 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30432 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30433 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30434 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30435 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30436 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30437 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30438 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30439 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30440 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30441 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30442 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30443 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30444 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30445 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30446 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30447 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30448 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30449 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30450 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30451 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30452 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30453 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30454 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30455 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30456 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30457 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30458 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30459 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30460 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30461 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30462 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30463 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30464 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30465 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30467 * sysdeps/ieee754/s_matherr.c: Likewise.
30468 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30469 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30473 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30475 * crypt/md5.h: Remove __STDC__ conditionals.
30476 * libio/libioP.h: Likewise.
30477 * locale/programs/config.h: Likewise.
30478 * sysdeps/generic/sysdep.h: Likewise.
30479 * sysdeps/i386/asm-syntax.h: Likewise.
30480 * sysdeps/s390/asm-syntax.h: Likewise.
30481 * sysdeps/unix/sysdep.h: Likewise.
30482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30485 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30487 * libio/libio.h: Remove __STDC__ conditionals.
30488 * malloc/obstack.h: Likewise.
30489 * math/complex.h: Likewise.
30490 * math/math.h: Likewise.
30491 * sysdeps/generic/_G_config.h: Likewise.
30492 * sysdeps/gnu/_G_config.h: Likewise.
30493 * sysdeps/mach/hurd/_G_config.h: Likewise.
30494 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30496 * sysdeps/sparc/bits/mathdef.h: Likewise.
30498 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30501 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30502 Clean up HAS_* macros.
30503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30504 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30511 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30514 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30516 * elf/tst-unique3.cc (gets): Remove declaration.
30517 * elf/tst-unique3lib.cc (gets): Likewise.
30518 * elf/tst-unique3lib2.cc (gets): Likewise.
30519 * elf/tst-unique4.cc (gets): Likewise.
30521 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30523 * include/stdio.h: Add C++ protection. Add gets declarations and
30525 * debug/tst-chk1.c: Don't declare gets here.
30526 * stdio-common/tst-gets.c: Likewise.
30528 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30530 * posix/glob: Remove directory.
30532 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30534 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30536 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30538 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30539 of the non-standard EPFNOSUPPORT.
30541 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30543 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30544 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30545 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30547 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30549 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30551 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30553 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30555 * nscd/grpcache.c (cache_addgr): Likewise.
30556 * nscd/hstcache.c (cache_addhst): Likewise.
30557 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30558 * nscd/pwdcache.c (cache_addpw): Likewise.
30559 * nscd/servicescache.c (cache_addserv): Likewise.
30561 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30563 * malloc/malloc.c: Various cleanups.
30564 * malloc/hooks.c: Likewise.
30566 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30567 * stdlib/bug-fmtmsg1.c: New file.
30569 * stdlib/fmtmsg.c (init): Add missing unlock.
30570 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30572 2012-01-12 Marek Polacek <polacek@redhat.com>
30574 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30577 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30579 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30580 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30581 macro to ensure uniqueness of label name.
30582 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30583 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30585 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30587 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30590 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30591 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30594 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30596 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30598 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30599 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30600 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30602 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30604 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30605 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30606 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30609 * math/bits/math-finite.h: Add ldexp support.
30611 2012-01-10 Marek Polacek <polacek@redhat.com>
30613 * locale/programs/localedef.h (show_archive_content): Add noreturn
30616 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30618 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30620 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30622 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30624 * io/Makefile (headers): Add bits/poll2.h.
30626 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30629 typo #include statement.
30631 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30633 * include/sys/cdefs.h: Define __attribute_alloc_size.
30634 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30635 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30636 * elf/pldd.c: Likewise.
30637 * iconv/iconv_charmap.c: Likewise.
30638 * iconv/iconvconfig.c: Likewise.
30639 * iconv/strtab.c: Likewise.
30640 * locale/programs/locale.c: Likewise.
30641 * locale/programs/localedef.h: Likewise.
30642 * locale/programs/simple-hash.c: Likewise.
30643 * nscd/nscd.h: Likewise.
30644 * nss/makedb.c: Likewise.
30645 * sysdeps/generic/ldconfig.h: Likewise.
30646 * locale/programs/localedef.c: Remove xmalloc prototype.
30647 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30649 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30651 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30654 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30656 * math/Makefile (tests): Add tst-CMPLX.
30657 * math/tst-CMPLX.c: New file.
30659 * math/complex.h (CMPLXL): Fix typo.
30661 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30662 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30664 * debug/tst-chk1.c: Add poll and ppoll tests.
30665 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30666 * include/sys/poll.h: Add hidden proto for ppoll.
30667 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30668 * sysdeps/mach/hurd/ppoll.c: Likewise.
30669 * io/ppoll.c: Likewise.
30670 * debug/poll_chk.c: New file.
30671 * debug/ppoll_chk.c: New file.
30672 * include/bits/poll2.h: New file.
30673 * io/bits/poll2.h: New file.
30676 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30678 * configure.in: static is always set to yes. Remove.
30679 * config.make.in: Don't set build-static.
30680 * Makeconfig: Remove use of build-static.
30681 * dlfcn/Makefile: Likewise.
30682 * elf/Makefile: Likewise.
30683 * math/Makefile: Likewise.
30684 * misc/Makefile: Likewise.
30685 * nptl/Makefile: Likewise.
30686 * sysdeps/mach/hurd/Makefile: Likewise.
30688 * configure.in: PWD_P is not used anymore.
30689 * config.make.in: Remove PWD_P entry.
30691 * configure.in: Remove last remnants of RANLIB.
30692 No need to check for signed size_t anymore.
30693 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30695 Remove __builtin_expect test because we require at least gcc 3.4.
30696 * aclocal.m4: Likewise.
30698 * wcsmbs/mbrtoc16.c: Implement using towc function.
30699 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30700 * wcsmbs/wcsmbsload.c: Likewise.
30701 * iconv/gconv_simple.c: Likewise.
30702 * iconv/gconv_int.h: Likewise.
30703 * iconv/gconv_builtin.h: Likewise.
30704 * iconv/iconv_prog.c: Remove CHAR16 handling.
30706 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30708 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30710 * configure.in: Remove --with-elf and --enable-bounded options.
30711 Dont set base_machine for ia64. More non-ELF conditions removed.
30712 Remove testing and setting of leading underscore information.
30713 * config.make.in (build-bounded): Set to no.
30714 * config.h.in: Remove NO_UNDERSCORES entry.
30715 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30717 * csu/start.c: Remove !NO_UNDERSCORE code.
30718 * locale/localeinfo.h: Likewise.
30719 * sysdeps/generic/machine-gmon.h: Likewise.
30720 * sysdeps/generic/sysdep.h: Likewise.
30721 * sysdeps/i386/sysdep.h: Likewise.
30722 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30723 * sysdeps/mach/sysdep.h: Likewise.
30724 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30725 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30726 * sysdeps/sh/sysdep.h: Likewise.
30727 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30728 * sysdeps/unix/i386/sysdep.S: Likewise.
30729 * sysdeps/unix/sparc/start.c: Likewise.
30730 * sysdeps/unix/sparc/sysdep.S: Likewise.
30731 * sysdeps/unix/sparc/sysdep.h: Likewise.
30732 * sysdeps/unix/start.c: Likewise.
30733 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30734 * sysdeps/x86_64/sysdep.h: Likewise.
30736 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30739 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30741 * argp/argp-fmtstream.h: Use const instead __const.
30742 * argp/argp.h: Likewise.
30743 * assert/assert.h: Likewise.
30744 * bits/fenv.h: Likewise.
30745 * bits/sched.h: Likewise.
30746 * bits/sigset.h: Likewise.
30747 * bits/sigthread.h: Likewise.
30748 * catgets/nl_types.h: Likewise.
30749 * conform/data/pthread.h-data: Likewise.
30750 * crypt/crypt-private.h: Likewise.
30751 * crypt/crypt.h: Likewise.
30752 * crypt/crypt_util.c: Likewise.
30753 * ctype/ctype.h: Likewise.
30754 * debug/execinfo.h: Likewise.
30755 * debug/mbsnrtowcs_chk.c: Likewise.
30756 * debug/mbsrtowcs_chk.c: Likewise.
30757 * debug/wcsnrtombs_chk.c: Likewise.
30758 * debug/wcsrtombs_chk.c: Likewise.
30759 * debug/wcstombs_chk.c: Likewise.
30760 * dirent/dirent.h: Likewise.
30761 * dlfcn/dlfcn.h: Likewise.
30762 * elf/neededtest4.c: Likewise.
30763 * grp/grp.h: Likewise.
30764 * gshadow/gshadow.h: Likewise.
30765 * iconv/gconv.h: Likewise.
30766 * iconv/gconv_int.h: Likewise.
30767 * iconv/gconv_simple.c: Likewise.
30768 * iconv/iconv.h: Likewise.
30769 * iconv/loop.c: Likewise.
30770 * iconv/skeleton.c: Likewise.
30771 * include/aio.h: Likewise.
30772 * include/aliases.h: Likewise.
30773 * include/argz.h: Likewise.
30774 * include/arpa/inet.h: Likewise.
30775 * include/assert.h: Likewise.
30776 * include/dirent.h: Likewise.
30777 * include/dlfcn.h: Likewise.
30778 * include/execinfo.h: Likewise.
30779 * include/fcntl.h: Likewise.
30780 * include/fenv.h: Likewise.
30781 * include/glob.h: Likewise.
30782 * include/grp.h: Likewise.
30783 * include/libintl.h: Likewise.
30784 * include/mntent.h: Likewise.
30785 * include/netdb.h: Likewise.
30786 * include/pwd.h: Likewise.
30787 * include/rpc/netdb.h: Likewise.
30788 * include/sched.h: Likewise.
30789 * include/search.h: Likewise.
30790 * include/shadow.h: Likewise.
30791 * include/signal.h: Likewise.
30792 * include/stdio.h: Likewise.
30793 * include/stdlib.h: Likewise.
30794 * include/string.h: Likewise.
30795 * include/sys/socket.h: Likewise.
30796 * include/sys/stat.h: Likewise.
30797 * include/sys/statfs.h: Likewise.
30798 * include/sys/statvfs.h: Likewise.
30799 * include/sys/syslog.h: Likewise.
30800 * include/sys/time.h: Likewise.
30801 * include/sys/uio.h: Likewise.
30802 * include/time.h: Likewise.
30803 * include/unistd.h: Likewise.
30804 * include/utmp.h: Likewise.
30805 * include/wchar.h: Likewise.
30806 * include/wctype.h: Likewise.
30807 * inet/aliases.h: Likewise.
30808 * inet/arpa/inet.h: Likewise.
30809 * inet/netinet/ether.h: Likewise.
30810 * inet/netinet/in.h: Likewise.
30811 * intl/libintl.h: Likewise.
30812 * io/bits/fcntl2.h: Likewise.
30813 * io/fcntl.h: Likewise.
30814 * io/ftw.h: Likewise.
30815 * io/sys/poll.h: Likewise.
30816 * io/sys/stat.h: Likewise.
30817 * io/sys/statfs.h: Likewise.
30818 * io/sys/statvfs.h: Likewise.
30819 * io/utime.h: Likewise.
30820 * libio/bits/stdio.h: Likewise.
30821 * libio/bits/stdio2.h: Likewise.
30822 * libio/libio.h: Likewise.
30823 * libio/libioP.h: Likewise.
30824 * libio/stdio.h: Likewise.
30825 * locale/lc-ctype.c: Likewise.
30826 * locale/locale.h: Likewise.
30827 * login/utmp.h: Likewise.
30828 * malloc/arena.c: Likewise.
30829 * malloc/malloc.c: Likewise.
30830 * malloc/malloc.h: Likewise.
30831 * malloc/mcheck.c: Likewise.
30832 * malloc/mtrace.c: Likewise.
30833 * math/bits/mathcalls.h: Likewise.
30834 * math/fenv.h: Likewise.
30835 * math/math_private.h: Likewise.
30836 * misc/bits/error.h: Likewise.
30837 * misc/bits/syslog.h: Likewise.
30838 * misc/err.h: Likewise.
30839 * misc/error.h: Likewise.
30840 * misc/fstab.h: Likewise.
30841 * misc/mntent.h: Likewise.
30842 * misc/regexp.h: Likewise.
30843 * misc/search.h: Likewise.
30844 * misc/sgtty.h: Likewise.
30845 * misc/sys/mman.h: Likewise.
30846 * misc/sys/syslog.h: Likewise.
30847 * misc/sys/uio.h: Likewise.
30848 * misc/sys/xattr.h: Likewise.
30849 * misc/ttyent.h: Likewise.
30850 * nis/rpcsvc/ypclnt.h: Likewise.
30851 * nss/nss.h: Likewise.
30852 * posix/bits/unistd.h: Likewise.
30853 * posix/fnmatch.h: Likewise.
30854 * posix/glob.h: Likewise.
30855 * posix/sched.h: Likewise.
30856 * posix/spawn.h: Likewise.
30857 * posix/sys/wait.h: Likewise.
30858 * posix/unistd.h: Likewise.
30859 * posix/wordexp.h: Likewise.
30860 * pwd/pwd.h: Likewise.
30861 * resolv/netdb.h: Likewise.
30862 * resource/sys/resource.h: Likewise.
30863 * rt/aio.h: Likewise.
30864 * rt/bits/mqueue2.h: Likewise.
30865 * rt/mqueue.h: Likewise.
30866 * shadow/shadow.h: Likewise.
30867 * signal/signal.h: Likewise.
30868 * socket/send.c: Likewise.
30869 * socket/sendto.c: Likewise.
30870 * socket/sys/socket.h: Likewise.
30871 * stdio-common/printf.h: Likewise.
30872 * stdlib/bits/stdlib.h: Likewise.
30873 * stdlib/fmtmsg.h: Likewise.
30874 * stdlib/monetary.h: Likewise.
30875 * stdlib/stdlib.h: Likewise.
30876 * stdlib/ucontext.h: Likewise.
30877 * streams/stropts.h: Likewise.
30878 * string/argz.h: Likewise.
30879 * string/bits/string2.h: Likewise.
30880 * string/string.h: Likewise.
30881 * string/strings.h: Likewise.
30882 * sunrpc/rpc/auth.h: Likewise.
30883 * sunrpc/rpc/auth_des.h: Likewise.
30884 * sunrpc/rpc/clnt.h: Likewise.
30885 * sunrpc/rpc/netdb.h: Likewise.
30886 * sunrpc/rpc/pmap_clnt.h: Likewise.
30887 * sunrpc/rpc/xdr.h: Likewise.
30888 * sysdeps/generic/inttypes.h: Likewise.
30889 * sysdeps/generic/net/if.h: Likewise.
30890 * sysdeps/generic/sys/swap.h: Likewise.
30891 * sysdeps/gnu/net/if.h: Likewise.
30892 * sysdeps/gnu/utmpx.h: Likewise.
30893 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30894 * sysdeps/i386/i486/bits/string.h: Likewise.
30895 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30896 * sysdeps/s390/bits/string.h: Likewise.
30897 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30898 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30899 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30900 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30901 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30902 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30903 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30904 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30905 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30906 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30907 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30908 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30909 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30910 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30911 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30912 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30913 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30915 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30916 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30917 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30918 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30919 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30920 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30921 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30922 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30923 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30924 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30925 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30926 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30927 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30928 * sysvipc/sys/ipc.h: Likewise.
30929 * sysvipc/sys/msg.h: Likewise.
30930 * sysvipc/sys/sem.h: Likewise.
30931 * sysvipc/sys/shm.h: Likewise.
30932 * termios/termios.h: Likewise.
30933 * time/sys/time.h: Likewise.
30934 * time/time.h: Likewise.
30935 * wcsmbs/bits/wchar2.h: Likewise.
30936 * wcsmbs/uchar.h: Likewise.
30937 * wcsmbs/wchar.h: Likewise.
30938 * wctype/wctype.h: Likewise.
30941 * Makeconfig: Remove all but ELF support including AIX support.
30942 * Makerules: Likewise.
30943 * config.h.in: Likewise.
30944 * config.make.in: Likewise.
30945 * configure: Likewise.
30946 * configure.in: Likewise.
30947 * csu/Makefile: Likewise.
30948 * csu/version.c: Likewise.
30949 * debug/Makefile: Likewise.
30950 * dlfcn/Makefile: Likewise.
30951 * elf/Makefile: Likewise.
30952 * extra-lib.mk: Likewise.
30953 * iconv/Makefile: Likewise.
30954 * include/libc-symbols.h: Likewise.
30955 * include/shlib-compat.h: Likewise.
30956 * resolv/Makefile: Likewise.
30957 * resolv/res_libc.c: Likewise.
30958 * rt/Makefile: Likewise.
30959 * sysdeps/i386/asm-syntax.h: Likewise.
30960 * sysdeps/i386/sysdep.h: Likewise.
30961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30962 * sysdeps/mach/sysdep.h: Likewise.
30963 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30964 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30965 * sysdeps/s390/asm-syntax.h: Likewise.
30966 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30967 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30968 * sysdeps/sh/sysdep.h: Likewise.
30969 * sysdeps/unix/sparc/sysdep.h: Likewise.
30970 * sysdeps/wordsize-32/divdi3.c: Likewise.
30971 * sysdeps/x86_64/sysdep.h: Likewise.
30973 * argp/Versions: Remove _argp_unlock_xxx.
30976 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30977 * abilist/libBrokenLocale.abilist: Likewise.
30978 * abilist/libanl.abilist: Likewise.
30979 * abilist/libc.abilist: Likewise.
30980 * abilist/libcrypt.abilist: Likewise.
30981 * abilist/libdl.abilist: Likewise.
30982 * abilist/libm.abilist: Likewise.
30983 * abilist/libnsl.abilist: Likewise.
30984 * abilist/libpthread.abilist: Likewise.
30985 * abilist/libresolv.abilist: Likewise.
30986 * abilist/librt.abilist: Likewise.
30987 * abilist/libthread_db.abilist: Likewise.
30988 * abilist/libutil.abilist: Likewise.
30989 * abilist/libnss_db.abilist: New file.
30991 * scripts/abilist.awk: Add support for indirect functions.
30993 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30995 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30997 * shlib-versions: Remove entries for ports architectures.
30999 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31001 * elf/stackguard-macros.h: Remove support for IA-64.
31002 * elf/tst-auditmod1.c: Likewise.
31003 * sysdeps/generic/ldsodefs.h: Likewise.
31005 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31006 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31010 * configure.in: Remove --enable-omitfp support.
31012 * config.make.in: Likewise.
31013 * Makeconfig: Likewise.
31014 * manual/install.texi: Likewise.
31016 In case anyone cares, the IA-64 architecture could move to ports.
31017 * sysdeps/ia64/*: Removed.
31018 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31019 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31022 * configure.in: Remove entries for unsupported architectures.
31025 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31026 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31028 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31029 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31030 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31031 fall back to using wcrtomb.
31032 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31033 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31035 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31036 * wcsmbs/tst-c16c32-1.c: New file.
31038 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31041 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31043 * elf/tst-unique3.cc: Add explicit declaration of gets.
31044 * elf/tst-unique3lib.cc: Likewise.
31045 * elf/tst-unique3lib2.cc: Likewise.
31046 * elf/tst-unique4.cc: Likewise.
31048 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31050 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31053 * assert/assert.h (static_assert): Don't define for C++.
31054 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31055 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31057 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31059 * iconv/loop.c (single loop): Fix assertion in storing of
31062 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31064 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31066 * posix/getconf.c: Update copyright year.
31067 * nss/getent.c: Likewise.
31068 * nss/makedb.c: Likewise.
31069 * iconv/iconvconfig.c: Likewise.
31070 * iconv/iconv_prog.c: Likewise.
31071 * elf/ldconfig.c: Likewise.
31072 * elf/pldd.c: Likewise.
31073 * elf/sotruss.ksh: Likewise.
31074 * catgets/gencat.c: Likewise.
31075 * csu/version.c: Likewise.
31076 * elf/ldd.bash.in: Likewise.
31077 * elf/sprof.c (print_version): Likewise.
31078 * locale/programs/locale.c: Likewise.
31079 * locale/programs/localedef.c: Likewise.
31080 * login/programs/pt_chown.c: Likewise.
31081 * nscd/nscd.c (print_version): Likewise.
31082 * debug/xtrace.sh: Likewise.
31083 * malloc/memusage.sh: Likewise.
31084 * malloc/mtrace.pl: Likewise.
31085 * debug/catchsegv.sh: Likewise.
31087 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31089 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31092 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31095 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31096 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31098 * iconv/gconv_int.h: Likewise.
31099 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31100 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31101 from libc for GLIBC_2.16.
31102 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31103 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31104 * wcsmbs/uchar.h: Really define mbstate_t.
31105 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31106 * wcsmbs/c16rtomb.c: New file.
31107 * wcsmbs/mbrtoc16.c: New file.
31108 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31109 for C/POSIX locale.
31110 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31111 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31113 * wcsmbs/wchar.h: Add missing __restrict.
31115 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31118 * time/Makefile (routines): Add timespec_get.
31119 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31120 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31121 timespec for ISO C11.
31122 * time/timespec_get.c: New file.
31123 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31124 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31127 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31128 * stdlib/stdlib.h: Declare aligned_alloc.
31129 * Versions.def: Add GLIBC_2.16 for libc.
31130 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31133 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31136 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31140 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31143 * assert/assert.h (static_assert): Define.
31145 * version.h: Update for 2.16 development version.
31148 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31151 * version.h (RELEASE): Bump for 2.15 release.
31152 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31154 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31155 Patch by Marek Polacek <mpolacek@redhat.com>.
31157 * bits/byteswap.h: Protect long long constants with __extension__.
31158 * sysdeps/i386/bits/byteswap.h: Likewise.
31159 * sysdeps/ia64/bits/byteswap.h: Likewise.
31160 * sysdeps/s390/bits/byteswap.h: Likewise.
31161 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31163 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31166 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31167 destination buffer.
31168 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31170 2011-12-23 Marek Polacek <polacek@redhat.com>
31172 * elf/dl-addr.c (determine_info): Add inline keyword.
31173 * elf/tst-auditmod4b.c (check_avx): Likewise.
31174 * elf/tst-auditmod6b.c (check_avx): Likewise.
31175 * elf/tst-auditmod6c.c (check_avx): Likewise.
31176 * elf/tst-auditmod7b.c (check_avx): Likewise.
31178 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31180 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31183 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31186 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31187 processing for last bytes.
31189 2011-08-06 Bruno Haible <bruno@clisp.org>
31192 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31193 U+0385, not to U+1FEE.
31196 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31197 entry for U+00A5 U+0301.
31199 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31202 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31203 buffer for the output is too small.
31205 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31209 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31210 SSE flags if possible.
31212 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31215 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31216 processing for last bytes.
31218 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31220 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31221 (syscall-list-default-options, syscall-list-default-condition)
31222 (syscall-list-includes): Define.
31223 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31224 list of ABIs and options and #if conditions for each ABI. Do not
31225 handle common syscalls between ABIs specially.
31226 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31228 (syscall-list-variants, syscall-list-32bit-options)
31229 (syscall-list-32bit-condition, syscall-list-64bit-options)
31230 (syscall-list-64bit-condition): Define.
31231 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31232 (syscall-list-variants, syscall-list-32bit-options)
31233 (syscall-list-32bit-condition, syscall-list-64bit-options)
31234 (syscall-list-64bit-condition): Define.
31235 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31237 (syscall-list-variants, syscall-list-32bit-options)
31238 (syscall-list-32bit-condition, syscall-list-64bit-options)
31239 (syscall-list-64bit-condition): Define.
31240 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31242 (syscall-list-variants, syscall-list-32bit-options)
31243 (syscall-list-32bit-condition, syscall-list-64bit-options)
31244 (syscall-list-64bit-condition): Define.
31246 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31248 * locale/iso-639.def: Add brx entry.
31251 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31252 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31254 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31255 __feraiseexcept_renamed.
31257 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31260 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31261 EPOLLET with unsigned values.
31262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31265 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31266 to large cancellation.
31267 * math/s_cacoshf.c: Likewise.
31268 * math/s_cacoshl.c: Likewise.
31270 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31274 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31275 * math/s_cacoshf.c: Likewise.
31276 * math/s_cacoshl.c: Likewise.
31278 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31281 * iconv/gconv.h: Define __GCONV_SWAP.
31282 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31283 * iconvdata/utf-16.c: Likewise.
31284 * iconvdata/utf-32.c: Likewise.
31286 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31289 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31290 numerator after shifting it by one limb.
31292 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31294 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31295 under [__USE_EXTERN_INLINES].
31297 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31300 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31302 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31304 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31305 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31307 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31308 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31309 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31310 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31311 for strncasecmp/strncasecmp_l compilation.
31312 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31313 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31315 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31318 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31321 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31324 * time/tzfile.c (__tzfile_read): Check values from file header.
31326 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31328 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31329 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31330 * powerpc/powerpc32/dl-start.S: Likewise.
31331 * powerpc/powerpc32/elf/start.S: Likewise.
31332 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31333 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31334 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31335 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31336 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31337 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31338 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31339 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31340 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31341 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31342 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31343 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31344 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31345 * powerpc/powerpc32/memset.S: Likewise.
31346 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31347 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31348 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31349 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31350 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31351 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31352 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31353 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31354 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31355 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31356 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31357 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31358 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31360 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31362 * math/libm-test.inc: Added more nearbyint tests.
31363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31364 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31368 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31370 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31373 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31375 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31376 Add wcscpy-ssse3 wcscpy-c.
31377 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31378 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31379 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31380 * sysdeps/x86_64/wcschr.S: New file.
31381 * sysdeps/x86_64/wcsrchr.S: New file.
31382 * string/test-strcmp.c: Remove checking of wcscmp function for
31384 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31385 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31386 wcsrchr-sse2 wcsrchr-c.
31387 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31388 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31389 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31390 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31391 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31392 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31393 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31394 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31395 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31396 * wcsmbc/wcschr.c (WCSCHR): New macro.
31398 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31400 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31401 * wcsmbs/test-wcsrchr.c: New file.
31402 * string/test-strrchr.c: Add wcsrchr support.
31404 * wcsmbs/test-wcscpy.c: New file.
31405 * string/test-strcpy.c: Add wcscpy support.
31408 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31410 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31413 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31416 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31418 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31420 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31421 Minor optimizations.
31423 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31424 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31425 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31427 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31429 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31430 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31431 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31432 for gcc to avoid warnings.
31433 * inet/Makefile (tests): Add tst-checks.
31434 * inet/tst-checks.c: New file.
31436 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31439 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31442 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31443 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31445 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31447 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31449 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31452 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31454 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31456 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31457 conditional on GCC version.
31458 (__arch_compare_and_exchange_val_8_acq)
31459 (__arch_compare_and_exchange_val_16_acq)
31460 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31461 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31462 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31464 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31466 * sysdeps/sh/backtrace.c: New file.
31468 2011-12-02 Andreas Schwab <schwab@redhat.com>
31470 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31473 2011-12-01 Andreas Schwab <schwab@redhat.com>
31475 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31476 falling back to utime.
31478 2011-11-30 Andreas Schwab <schwab@redhat.com>
31480 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31481 expectations for float.
31483 2011-11-29 Andreas Schwab <schwab@redhat.com>
31485 * locale/weight.h (findidx): Add parameter len.
31486 * locale/weightwc.h (findidx): Likewise.
31487 * posix/fnmatch_loop.c (FCT): Adjust caller.
31488 * posix/regcomp.c (build_equiv_class): Likewise.
31489 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31490 * posix/regexec.c (check_node_accept_bytes): Likewise.
31491 * string/strcoll_l.c (STRCOLL): Likewise.
31492 * string/strxfrm_l.c (STRXFRM): Likewise.
31494 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31496 * Makefile.in: Remove CVSOPT handling.
31497 * configure.in: Remove use of AC_REVISION.
31498 * iconvdata/Makefile (distribute): No need to filter out CVS.
31499 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31502 2011-11-16 Andreas Schwab <schwab@redhat.com>
31504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31505 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31506 [USE_AS_STRNCASECMP_L]: Likewise.
31507 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31508 NO_TLS_DIRECT_SEG_REFS.
31509 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31510 Fix argument offsets for non-PIC.
31511 [USE_AS_STRNCASECMP_L]: Likewise.
31512 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31513 NO_TLS_DIRECT_SEG_REFS.
31515 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31517 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31519 * locale/loadlocale.c (_nl_load_locale): Likewise.
31521 2011-11-15 Andreas Schwab <schwab@redhat.com>
31523 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31524 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31525 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31526 (SYSCALL_GETTIME): Set errno on error.
31528 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31529 count references to noai6ai_cached.
31531 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31533 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31535 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31536 FD_CLOEXEC for /proc/self/maps.
31538 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31539 FD_CLOEXEC for /proc/meminfo.
31541 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31544 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31545 FD_CLOEXEC for given file.
31547 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31549 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31550 FD_CLOEXEC for /etc/hosts.
31551 (_gethtent): Likewise.
31553 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31555 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31556 cancellation and set FD_CLOEXEC for /etc/netgroup.
31558 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31559 reading /etc/publickey.
31561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31562 allow cancellation when reading /etc/group.
31564 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31566 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31568 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31569 when using data file.
31571 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31573 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31574 (write_nis_obj): Use "c" and "e" in fopen.
31576 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31578 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31580 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31582 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31584 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31587 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31589 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31591 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31593 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31594 file parsing and set FD_CLOEXEC.
31596 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31598 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31600 2011-11-14 Andreas Schwab <schwab@redhat.com>
31602 * malloc/arena.c (arena_get2): Don't call reused_arena when
31603 _int_new_arena failed.
31605 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31607 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31608 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31609 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31610 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31611 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31613 to compile strcasecmp and strncasecmp.
31614 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31615 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31619 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31621 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31622 locale-defines.sym to gen-as-const-headers.
31623 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31624 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31626 to compile strcasecmp and strncasecmp.
31627 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31628 strcasecmp_l and strncasecmp_l.
31629 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31630 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31631 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31632 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31633 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31634 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31635 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31636 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31637 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31638 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31639 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31641 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31643 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31644 result of SYSDEP_GETTIME_CPU to retval.
31645 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31646 parameter list to macro. Remove trailing semicolon. Adjust users.
31648 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31651 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31653 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31655 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31656 from unused variable.
31658 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31660 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31663 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31666 * sunrpc/rpc_prot.c (rejected): Fix case value.
31668 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31669 unsigned long long int to avoid warnings in shift.
31671 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31673 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31676 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31677 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31678 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31680 * nis/nis_table.c (nis_list): Use variable of correct type for
31681 result of __follow_path call.
31683 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31685 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31686 of math functions ceil, trunc, floor, round, and sqrt, when
31687 avaliable on the platform.
31688 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31690 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31691 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31692 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31694 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31696 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31697 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31699 2011-11-11 Roland McGrath <roland@hack.frob.com>
31701 * include/unistd.h: Fix __readlink return type.
31702 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31704 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31706 * stdlib/ucontext.h: Undo last change for makecontext.
31708 2011-11-11 Andreas Schwab <schwab@redhat.com>
31710 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31712 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31713 * setjmp/setjmp.h: Mark functions as non-leaf.
31714 * setjmp/bits/setjmp2.h: Likewise.
31715 * stdlib/ucontext.h: Likewise.
31717 2011-11-10 Andreas Schwab <schwab@redhat.com>
31719 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31720 (reused_arena): Don't check arena limit.
31721 (arena_get2): Atomically check arena limit.
31723 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31725 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31726 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31731 2011-11-07 Andreas Schwab <schwab@redhat.com>
31733 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31734 handler when locking.
31736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31737 Fix size of allocated buffer.
31739 2011-11-04 Andreas Schwab <schwab@redhat.com>
31742 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31743 declarations for long double functions.
31744 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31746 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31748 2011-11-03 Andreas Schwab <schwab@redhat.com>
31750 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31753 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31756 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31758 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31760 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31762 * include/alloca.h (stackinfo_alloca_round): Define.
31763 (extend_alloca): Use it.
31764 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31765 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31768 * scripts/check-local-headers.sh: Ignore libaudit.h.
31770 * nscd/Makefile (extra-objs): Make recursively expanded.
31772 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31774 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31777 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31778 * posix/tst-rfc3484-2.c: Likewise.
31779 * posix/tst-rfc3484-3.c: Likewise.
31781 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31783 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31785 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31786 process_vm_writev from libc using GLIBC_2.15 version.
31788 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31790 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31792 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31795 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31798 * nss/getent.c (initgroups_keys): Show error message in case no group
31801 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31802 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31803 __bump_nl_timestamp.
31804 * nscd/connections (nscd_init): When host database is served open
31805 netlink socket and request notification about configuration changes.
31806 (main_loop_poll): Track netlink file descriptor and bump timestamp
31807 in case data becomes available.
31808 (main_loop_epoll): Likewise.
31809 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31810 (database_pers_head): Add extra_data fileds.
31811 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31812 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31813 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31816 in6ai data, call __free_in6ai.
31817 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31818 Add -DHAVE_NETLINK.
31819 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31820 interface information. Reuse previous data if netlink timestamp
31822 (__bump_nl_timestamp): New function.
31823 (__free_in6ai): New function.
31825 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31828 close_not_cancel_no_status here.
31829 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31831 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31834 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31837 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31838 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31839 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31841 2011-07-03 Andreas Jaeger <aj@suse.de>
31844 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31845 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31846 * math/libm-test.inc (sin_test): Add test case.
31848 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31851 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31852 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31854 * elf/chroot_canon.c (chroot_canon): Cleanups.
31856 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31859 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31860 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31862 * string/test-strchr.c: Make usable for strchrnul testing.
31863 * string/test-strchrnul.c: New file.
31864 * string/Makefile (strop-tests): Add strchrnul.
31866 * po/it.po: Update from translation team.
31867 * po/es.po: Likewise.
31869 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31871 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31872 the three constants needed as parameters. Drop the others.
31873 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31874 __m128i_strloadu_tolower.
31875 Create and initialize variable zero and use it in all the places
31876 where _mm_setzero_si128 was used.
31878 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31879 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31880 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31881 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31883 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31884 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31885 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31886 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31887 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31888 __mpranred, __mptan.
31889 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31890 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31891 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31892 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31893 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31894 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31895 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31896 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31899 2011-10-28 Andreas Schwab <schwab@redhat.com>
31901 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31902 redefine if SHARED.
31903 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31906 wide char related routines to wcsmbs subdir.
31908 2011-10-27 Andreas Schwab <schwab@redhat.com>
31911 * misc/sys/cdefs.h (__THROWNL): Define.
31912 * posix/unistd.h: Use __THREADNL instead of __THREAD
31913 for memory synchronization functions.
31915 2011-10-26 Roland McGrath <roland@hack.frob.com>
31918 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31920 * manual/stdio.texi (Obstack Streams): Node removed.
31922 2011-10-26 Andreas Schwab <schwab@redhat.com>
31924 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31925 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31926 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31928 * math/math_private.h (math_force_eval): Allow non-addressable
31930 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31932 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31934 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31935 file is not needed.
31937 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31939 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31940 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31944 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31946 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31947 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31948 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31949 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31950 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31951 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31952 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31953 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31954 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31955 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31956 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31957 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31958 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31959 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31960 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31961 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31962 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31963 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31964 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31966 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31967 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31969 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31970 place. Use VEX encoding when compiling for AVX.
31972 2011-10-25 Andreas Schwab <schwab@redhat.com>
31974 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31975 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31977 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31979 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31981 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31982 useless if() expression.
31983 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31984 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31985 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31987 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31988 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31989 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31992 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31993 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31994 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31995 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31996 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31997 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31998 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32000 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32001 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32003 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32005 2011-10-25 Andreas Schwab <schwab@redhat.com>
32007 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32009 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32011 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32013 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32014 .text section. Avoid duplicate constants.
32015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32023 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32024 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32025 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32026 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32027 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32028 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32029 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32031 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32032 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32033 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32038 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32039 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32040 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32041 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32042 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32043 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32044 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32045 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32046 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32048 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32049 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32050 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32051 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32053 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32054 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32055 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32056 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32057 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32058 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32059 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32061 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32063 * sysdeps/x86_64/dla.h: Move to ...
32064 * sysdeps/x86_64/fpu/dla.h: ...here.
32065 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32066 situations. Use __builtin_fma only for gcc 4.6 and up.
32068 * config.make.in: Add have-mfma4 entry.
32069 * configure.in: Substitute libc_cv_cc_fma4.
32070 * math/Makefile (dbl-only-routines): Add sincostab.
32071 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32072 Use __sincostab not sincos.
32073 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32080 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32081 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32082 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32083 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32085 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32086 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32088 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32089 define aliases when function name is a macro.
32090 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32091 sysdeps/ieee754/dbl-64/sincos.tbl.
32092 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32093 fma4-enabled routines.
32094 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32095 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32096 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32097 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32098 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32099 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32100 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32102 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32103 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32104 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32105 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32106 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32109 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32110 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32111 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32112 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32114 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32115 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32119 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32120 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32121 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32122 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32123 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32125 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32134 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32136 2011-10-24 Andreas Schwab <schwab@redhat.com>
32138 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32140 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32144 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32148 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32149 Remove unused variable magic_bits.
32150 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32152 * string/strnlen.c: Define and use STRNLEN macro.
32153 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32154 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32156 * wcsmbs/wcslen.c: Define and use WCSLEN.
32157 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32158 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32159 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32160 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32161 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32162 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32163 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32165 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32168 strnlen-sse2-no-bsf.
32169 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32171 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32172 Add strnlen support.
32173 (USE_AS_STRNLEN): New macro.
32174 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32176 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32177 * sysdeps/x86_64/wcslen.S: New file.
32179 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32182 XMM-moves are used for copying on small sizes.
32184 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32186 * wcsmbs/Makefile (strop-tests): Add wcschr.
32187 * wcsmbs/test-wcschr.c: New file.
32188 * string/test-strchr.c: Update.
32189 Add wcschr support.
32192 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32194 * wcsmbs/Makefile (strop-tests): Add wcslen.
32195 * wcsmbs/test-wcslen.c: New file.
32196 * string/test-strlen.c: Update.
32197 Add wcslen support.
32200 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32202 * po/it.po: Update from translation team.
32204 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32206 * sysdeps/x86_64/wcscmp.S: Update.
32207 Fix wrong comparison semantics.
32208 wcscmp shall use signed comparison not unsigned.
32209 Don't use substraction to avoid overflow bug.
32210 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32211 * wcsmbc/wcscmp.c: Likewise.
32212 * string/test-strcmp.c: Likewise.
32213 Add new tests to check cases with negative values.
32215 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32217 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32218 * sysdeps/x86_64/dla.h: ...here. New file.
32219 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32224 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32229 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32232 __ynl_finite aliases.
32234 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32238 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32240 [DLA_FMA] (EMULV): Use DLA_FMA.
32241 [DLA_FMA] (MUL12): Use EMULV.
32242 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32243 that are not needed.
32244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32252 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32254 * math/s_nan.c: Undef __nan.
32255 * math/s_nanf.c: Undef __nanf.
32256 * math/s_nanl.c: Undef __nanl.
32257 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32260 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32262 * math/s_catan.c: Add branch predictions.
32263 * math/s_catanf.c: Likewise.
32264 * math/s_catanh.c: Likewise.
32265 * math/s_catanhf.c: Likewise.
32266 * math/s_catanhl.c: Likewise.
32267 * math/s_catanl.c: Likewise.
32268 * math/s_cexp.c: Likewise.
32269 * math/s_cexpf.c: Likewise.
32270 * math/s_cexpl.c: Likewise.
32271 * math/s_clog.c: Likewise.
32272 * math/s_clog10.c: Likewise.
32273 * math/s_clog10f.c: Likewise.
32274 * math/s_clog10l.c: Likewise.
32275 * math/s_clogf.c: Likewise.
32276 * math/s_clogl.c: Likewise.
32277 * math/s_csqrt.c: Likewise.
32278 * math/s_csqrtf.c: Likewise.
32279 * math/s_csqrtl.c: Likewise.
32280 * math/s_ctanf.c: Likewise.
32281 * math/s_ctanh.c: Likewise.
32282 * math/s_ctanhf.c: Likewise.
32283 * math/s_ctanhl.c: Likewise.
32284 * math/s_ctanl.c: Likewise.
32286 * math/math_private.h: Define __nan, __nanf, __nanl.
32287 * math/s_cacosh.c: Include <math_private.h>.
32288 * math/s_cacoshl.c: Likewise.
32289 * math/s_casinh.c: Likewise.
32290 * math/s_casinhf.c: Likewise.
32291 * math/s_casinhl.c: Likewise.
32292 * math/s_ccos.c: Rely entire on ccosh.
32293 * math/s_ccosf.c: Rely entire on ccoshf.
32294 * math/s_ccosl.c: Rely entirely on ccoshl.
32295 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32296 Remove tests for FE_INVALID.
32297 * math/s_ccoshf.c: Likewise.
32298 * math/s_ccoshl.c: Likewise.
32299 * math/s_csin.c: Likewise.
32300 * math/s_csinf.c: Likewise.
32301 * math/s_csinh.c Likewise.
32302 * math/s_csinhf.c: Likewise.
32303 * math/s_csinhl.c: Likewise.
32304 * math/s_csinl.c: Likewise.
32305 * math/s_ctan.c: Likewise.
32306 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32307 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32310 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32313 compilation problems.
32315 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32318 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32320 * sysdeps/i386/configure.in: Test for -mfma4 option.
32321 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32322 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32323 COMMON_CPUID_INDEX_80000001.
32324 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32325 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32326 use it if FMA3 is not supported.
32327 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32329 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32330 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32332 2011-10-20 Andreas Schwab <schwab@redhat.com>
32335 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32336 it would create a cycle with a link time dependency.
32338 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32340 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32342 * string/Makefile (strop-tests): Add rawmemchr.
32343 * string/test-rawmemchr.c: New file.
32345 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32347 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32348 when compiling str{,n}casecmp and when AVX is available. Hook up
32349 new optimized code in initializers.
32351 2011-10-19 Andreas Schwab <schwab@redhat.com>
32353 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32354 __feraiseexcept instead of feraiseexcept.
32356 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32358 * math/math_private.h: Define defaults for libc_fetestexcept and
32360 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32361 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32362 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32363 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32364 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32365 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32366 libc_fetestexcept and libc_feupdateenv.
32368 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32369 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32370 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32371 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32372 libc_feholdexcept_setround.
32374 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32375 Add s_nearbyint-c and s_nearbyintf-c.
32376 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32377 nearbyintf inlines.
32378 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32379 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32380 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32381 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32383 * math/math_private.h: Define defaults for libc_fegetround,
32384 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32385 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32386 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32387 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32388 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32389 standard functions.
32390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32391 Remove comments and hacks for old compiler versions.
32392 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32393 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32394 libc_feholdexceptl.
32396 2011-10-18 Andreas Schwab <schwab@redhat.com>
32398 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32399 (__feraiseexcept_renamed): Add __NTH.
32400 (feraiseexcept): Add __NTH. Rename local variables to fix
32401 namespace violations.
32403 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32405 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32407 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32409 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32410 recently added interfaces.
32411 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32413 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32414 about macro parameter expansion.
32416 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32417 __NO_MATH_INLINES is defined. Cleanups.
32419 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32420 and __floorf is target has SSE4.1.
32421 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32422 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32423 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32424 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32426 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32428 (floorf): Likewise.
32430 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32432 2011-10-17 Andreas Schwab <schwab@redhat.com>
32434 * misc/sys/cdefs.h: Fix last change.
32436 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32439 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32441 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32443 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32444 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32445 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32446 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32447 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32449 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32450 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32451 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32453 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32454 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32455 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32456 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32457 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32458 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32459 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32460 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32461 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32462 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32463 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32464 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32466 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32467 ceil, ceilf, floor, floorf.
32469 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32470 Perform IRELATIVE relocations last.
32472 * elf/do-rel.h: Add another parameter nrelative, replacing the
32473 local variable with the same name. Change name of the function
32474 to end in Rel or Rela (uppercase).
32475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32476 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32477 elf_dynamic_do_##reloc function.
32479 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32481 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32482 is sufficient, at least on modern CPUs.
32484 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32486 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32487 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32489 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32491 * math/bits/math-finite.h: Add entries for exp.
32492 * math/e_expl.c: Add __*_finite alias.
32493 * sysdeps/i386/fpu/e_exp.S: Likewise.
32494 * sysdeps/i386/fpu/e_expf.S: Likewise.
32495 * sysdeps/i386/fpu/e_expl.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32498 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32499 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32501 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32502 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32504 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32505 is sufficient, at least on modern CPUs.
32507 * ctype/ctype-info.c (__ctype_init): Define.
32508 * include/ctype.h (__ctype_init): Declare.
32509 (__ctype_b_loc): The variable is always initialized.
32510 (__ctype_toupper_loc): Likewise.
32511 (__ctype_tolower_loc): Likewise.
32512 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32513 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32515 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32517 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32519 * configure.in: Also look in $cxxmachine/include for C++ system
32522 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32524 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32525 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32526 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32527 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32528 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32529 (USE_AS_WMEMCMP): New macro.
32531 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32532 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32533 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32534 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32536 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32537 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32538 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32539 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32540 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32541 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32542 (USE_AS_WMEMCMP): New macro.
32543 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32544 * sysdeps/string/test-memcmp.c: Update.
32545 Fix simple_wmemcmp.
32547 * wcsmbs/wmemcmp.c: Update.
32548 (WMEMCMP): New macro.
32551 2011-10-12 Andreas Jaeger <aj@suse.de>
32554 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32556 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32558 * libio/iofwide.c (do_length): Avoid warning.
32560 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32562 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32564 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32566 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32567 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32568 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32569 * sysdeps/i386/i686/fpu/e_log.S: New file.
32570 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32571 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32573 * ctype/ctype.h: Add support for inlined isXXX functions when
32574 compiling C++ code.
32576 2011-10-14 Andreas Schwab <schwab@redhat.com>
32578 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32580 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32582 2011-10-13 Roland McGrath <roland@hack.frob.com>
32585 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32587 2011-10-13 Andreas Schwab <schwab@redhat.com>
32589 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32590 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32593 * sysdeps/x86_64/memrchr.S: Check for zero size.
32595 * string/stratcliff.c: Add memrchr tests.
32597 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32600 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32601 rawmemchr-sse2 rawmemchr-sse2-bsf.
32602 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32603 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32604 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32605 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32606 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32607 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32608 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32609 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32610 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32611 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32612 * string/memrchr.c (MEMRCHR): New macro.
32614 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32616 Add integration with gcc's -ffinite-math-only and optimize wrapper
32618 * Versions.def: Define GLIBC_2.15 version for libm.
32619 * math/Makefile (headers): Add bits/math-finite.h.
32620 * math/bits/math-finite.h: New file.
32621 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32622 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32623 * math/e_acoshl.c: Add __*_finite alias.
32624 * math/e_acosl.c: Likewise.
32625 * math/e_asinl.c: Likewise.
32626 * math/e_atan2l.c: Likewise.
32627 * math/e_atanhl.c: Likewise.
32628 * math/e_coshl.c: Likewise.
32629 * math/e_exp10.c: Likewise.
32630 * math/e_exp10f.c: Likewise.
32631 * math/e_exp10l.c: Likewise.
32632 * math/e_exp2l.c: Likewise.
32633 * math/e_fmodl.c: Likewise.
32634 * math/e_gammal_r.c: Likewise.
32635 * math/e_hypotl.c: Likewise.
32636 * math/e_j0l.c: Likewise.
32637 * math/e_j1l.c: Likewise.
32638 * math/e_jnl.c: Likewise.
32639 * math/e_lgammal_r.c: Likewise.
32640 * math/e_log10l.c: Likewise.
32641 * math/e_log2l.c: Likewise.
32642 * math/e_logl.c: Likewise.
32643 * math/e_powl.c: Likewise.
32644 * math/e_sinhl.c: Likewise.
32645 * math/e_sqrtl.c: Likewise.
32646 * math/e_scalb.c: Completely rewritten and optimized.
32647 * math/e_scalbf.c: Likewise.
32648 * math/e_scalbl.c: Likewise.
32649 * math/w_acos.c: Likewise.
32650 * math/w_acosf.c: Likewise.
32651 * math/w_acosl.c: Likewise.
32652 * math/w_acosh.c: Likewise.
32653 * math/w_acoshf.c: Likewise.
32654 * math/w_acoshl.c: Likewise.
32655 * math/w_asin.c: Likewise.
32656 * math/w_asinf.c: Likewise.
32657 * math/w_asinl.c: Likewise.
32658 * math/w_atan2.c: Likewise.
32659 * math/w_atan2f.c: Likewise.
32660 * math/w_atan2l.c: Likewise.
32661 * math/w_atanh.c: Likewise.
32662 * math/w_atanhf.c: Likewise.
32663 * math/w_atanhl.c: Likewise.
32664 * math/w_exp10.c: Likewise.
32665 * math/w_exp10f.c: Likewise.
32666 * math/w_exp10l.c: Likewise.
32667 * math/w_fmod.c: Likewise.
32668 * math/w_fmodf.c: Likewise.
32669 * math/w_fmodl.c: Likewise.
32670 * math/w_j0.c: Likewise.
32671 * math/w_j0f.c: Likewise.
32672 * math/w_j0l.c: Likewise.
32673 * math/w_j1.c: Likewise.
32674 * math/w_j1f.c: Likewise.
32675 * math/w_j1l.c: Likewise.
32676 * math/w_jn.c: Likewise.
32677 * math/w_jnf.c: Likewise.
32678 * math/w_log.c: Likewise.
32679 * math/w_logf.c: Likewise.
32680 * math/w_logl.c: Likewise.
32681 * math/w_log10.c: Likewise.
32682 * math/w_log10f.c: Likewise.
32683 * math/w_log10l.c: Likewise.
32684 * math/w_log2.c: Likewise.
32685 * math/w_log2f.c: Likewise.
32686 * math/w_log2l.c: Likewise.
32687 * math/w_pow.c: Likewise.
32688 * math/w_powf.c: Likewise.
32689 * math/w_powl.c: Likewise.
32690 * math/w_remainder.c: Likewise.
32691 * math/w_remainderf.c: Likewise.
32692 * math/w_remainderl.c: Likewise.
32693 * math/w_scalb.c: Likewise.
32694 * math/w_scalbf.c: Likewise.
32695 * math/w_scalbl.c: Likewise.
32696 * math/w_sqrt.c: Likewise.
32697 * math/w_sqrtf.c: Likewise.
32698 * math/w_sqrtl.c: Likewise.
32699 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32700 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32702 * math/math_private.h: Declare __kernel_standard_f.
32703 * math/w_cosh.c: Remove cruft and optimize a bit.
32704 * math/w_coshf.c: Likewise.
32705 * math/w_coshl.c: Likewise.
32706 * math/w_exp2.c: Likewise.
32707 * math/w_exp2f.c: Likewise.
32708 * math/w_exp2l.c: Likewise.
32709 * math/w_hypot.c: Likewise.
32710 * math/w_hypotf.c: Likewise.
32711 * math/w_hypotl.c: Likewise.
32712 * math/w_lgamma.c: Likewise.
32713 * math/w_lgamma_r.c: Likewise.
32714 * math/w_lgammaf.c: Likewise.
32715 * math/w_lgammaf_r.c: Likewise.
32716 * math/w_lgammal.c: Likewise.
32717 * math/w_lgammal_r.c: Likewise.
32718 * math/w_sinh.c: Likewise.
32719 * math/w_sinhf.c: Likewise.
32720 * math/w_sinhl.c: Likewise.
32721 * math/w_tgamma.c: Likewise.
32722 * math/w_tgammaf.c: Likewise.
32723 * math/w_tgammal.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32725 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32726 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32727 Minor optimizations. Pretty printing. Remove cruft.
32728 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32729 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32732 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32733 * sysdeps/i386/fpu/e_asin.S: Likewise.
32734 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32735 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32736 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32737 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32741 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32742 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32743 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32744 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32745 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32746 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32747 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32748 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32749 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32750 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32751 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32752 * sysdeps/i386/fpu/e_log.S: Likewise.
32753 * sysdeps/i386/fpu/e_log10.S: Likewise.
32754 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32755 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32756 * sysdeps/i386/fpu/e_log2.S: Likewise.
32757 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32758 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32759 * sysdeps/i386/fpu/e_logf.S: Likewise.
32760 * sysdeps/i386/fpu/e_logl.S: Likewise.
32761 * sysdeps/i386/fpu/e_pow.S: Likewise.
32762 * sysdeps/i386/fpu/e_powf.S: Likewise.
32763 * sysdeps/i386/fpu/e_powl.S: Likewise.
32764 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32765 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32766 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32767 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32768 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32769 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32770 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32771 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32772 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32773 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32774 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32776 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32777 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32778 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32779 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32780 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32781 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32782 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32783 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32784 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32787 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32789 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32790 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32791 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32793 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32794 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32795 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32796 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32797 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32798 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32799 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32800 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32801 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32802 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32803 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32804 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32805 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32806 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32807 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32808 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32809 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32810 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32811 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32812 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32813 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32814 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32815 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32816 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32817 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32818 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32819 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32820 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32821 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32822 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32823 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32824 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32825 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32826 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32828 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32829 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32830 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32831 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32832 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32833 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32835 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32836 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32837 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32838 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32841 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32843 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32844 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32845 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32846 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32847 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32848 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32850 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32851 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32852 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32854 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32855 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32856 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32857 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32858 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32860 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32861 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32862 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32863 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32864 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32865 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32866 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32867 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32868 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32869 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32870 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32871 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32872 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32873 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32874 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32875 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32876 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32877 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32878 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32879 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32881 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32883 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32884 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32885 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32886 (__isnanf): Likewise.
32887 (__isinf_ns): Likewise.
32888 (__isinf_nsf): Likewise.
32889 (__finite): Likewise.
32890 (__finitef): Likewise.
32891 (__ieee754_sqrt): Define as macro.
32892 (__ieee754_sqrtf): Define as macro.
32893 (__ieee754_sqrtl): Define as macro.
32894 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32896 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32897 __FINITE_MATH_ONLY__ consistent.
32898 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32900 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32902 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32905 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32907 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32909 * po/ja.po: Update from translation team.
32911 2011-10-08 Roland McGrath <roland@hack.frob.com>
32913 * locale/programs/locarchive.c (prepare_address_space): New function.
32914 (create_archive, enlarge_archive, open_archive): Use it.
32916 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32917 inside [SHARED], where it is used.
32919 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32921 * nss/getent.c (netgroup_keys): Remove unused variable.
32922 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32924 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32926 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32927 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32929 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32930 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32931 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32932 * math/Makefile (libm-calls): Add s_isinf_ns.
32933 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32934 * math/multc3.c: Likewise.
32935 * math/s_casin.c: Likewise.
32936 * math/s_casinf.c: Likewise.
32937 * math/s_casinl.c: Likewise.
32938 * math/s_ccos.c: Likewise.
32939 * math/s_ccosf.c: Likewise.
32940 * math/s_ccosl.c: Likewise.
32941 * math/s_ctan.c: Likewise.
32942 * math/s_ctanf.c: Likewise.
32943 * math/s_ctanh.c: Likewise.
32944 * math/s_ctanhf.c: Likewise.
32945 * math/s_ctanhl.c: Likewise.
32946 * math/s_ctanl.c: Likewise.
32947 * math/w_fmod.c: Likewise.
32948 * math/w_fmodf.c: Likewise.
32949 * math/w_fmodl.c: Likewise.
32950 * math/w_remainder.c: Likewise.
32951 * math/w_remainderf.c: Likewise.
32952 * math/w_remainderl.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32954 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32955 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32957 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32958 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32959 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32960 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32962 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32964 * stdio-common/printf_fphex.c: Likewise.
32965 * stdio-common/printf_size.c: Likewise.
32967 * math/e_exp10.c: Include math_private.h using <...> not "...".
32968 * math/e_exp10f.c: Likewise.
32969 * math/e_exp10l.c: Likewise.
32970 * math/e_exp2l.c: Likewise.
32971 * math/e_j0l.c: Likewise.
32972 * math/e_j1l.c: Likewise.
32973 * math/e_jnl.c: Likewise.
32974 * math/e_lgammal_r.c: Likewise.
32975 * math/e_rem_pio2l.c: Likewise.
32976 * math/e_scalb.c: Likewise.
32977 * math/e_scalbf.c: Likewise.
32978 * math/e_scalbl.c: Likewise.
32979 * math/k_cosl.c: Likewise.
32980 * math/k_sinl.c: Likewise.
32981 * math/k_tanl.c: Likewise.
32982 * math/s_cacoshf.c: Likewise.
32983 * math/s_catan.c: Likewise.
32984 * math/s_catanf.c: Likewise.
32985 * math/s_catanh.c: Likewise.
32986 * math/s_catanhf.c: Likewise.
32987 * math/s_catanhl.c: Likewise.
32988 * math/s_catanl.c: Likewise.
32989 * math/s_ccosh.c: Likewise.
32990 * math/s_ccoshf.c: Likewise.
32991 * math/s_ccoshl.c: Likewise.
32992 * math/s_cexp.c: Likewise.
32993 * math/s_cexpf.c: Likewise.
32994 * math/s_cexpl.c: Likewise.
32995 * math/s_clog.c: Likewise.
32996 * math/s_clog10.c: Likewise.
32997 * math/s_clog10f.c: Likewise.
32998 * math/s_clog10l.c: Likewise.
32999 * math/s_clogf.c: Likewise.
33000 * math/s_clogl.c: Likewise.
33001 * math/s_csin.c: Likewise.
33002 * math/s_csinf.c: Likewise.
33003 * math/s_csinh.c: Likewise.
33004 * math/s_csinhf.c: Likewise.
33005 * math/s_csinhl.c: Likewise.
33006 * math/s_csinl.c: Likewise.
33007 * math/s_csqrt.c: Likewise.
33008 * math/s_csqrtf.c: Likewise.
33009 * math/s_csqrtl.c: Likewise.
33010 * math/s_ctan.c: Likewise.
33011 * math/s_ctanf.c: Likewise.
33012 * math/s_ctanh.c: Likewise.
33013 * math/s_ctanhf.c: Likewise.
33014 * math/s_ctanhl.c: Likewise.
33015 * math/s_ctanl.c: Likewise.
33016 * math/s_ldexp.c: Likewise.
33017 * math/s_ldexpf.c: Likewise.
33018 * math/s_ldexpl.c: Likewise.
33019 * math/s_significand.c: Likewise.
33020 * math/s_significandf.c: Likewise.
33021 * math/s_significandl.c: Likewise.
33022 * math/w_acos.c: Likewise.
33023 * math/w_acosf.c: Likewise.
33024 * math/w_acosh.c: Likewise.
33025 * math/w_acoshf.c: Likewise.
33026 * math/w_acoshl.c: Likewise.
33027 * math/w_acosl.c: Likewise.
33028 * math/w_asin.c: Likewise.
33029 * math/w_asinf.c: Likewise.
33030 * math/w_asinl.c: Likewise.
33031 * math/w_atan2.c: Likewise.
33032 * math/w_atan2f.c: Likewise.
33033 * math/w_atan2l.c: Likewise.
33034 * math/w_atanh.c: Likewise.
33035 * math/w_atanhf.c: Likewise.
33036 * math/w_atanhl.c: Likewise.
33037 * math/w_cosh.c: Likewise.
33038 * math/w_coshf.c: Likewise.
33039 * math/w_coshl.c: Likewise.
33040 * math/w_dremf.c: Likewise.
33041 * math/w_exp10.c: Likewise.
33042 * math/w_exp10f.c: Likewise.
33043 * math/w_exp10l.c: Likewise.
33044 * math/w_exp2.c: Likewise.
33045 * math/w_exp2f.c: Likewise.
33046 * math/w_fmod.c: Likewise.
33047 * math/w_fmodf.c: Likewise.
33048 * math/w_fmodl.c: Likewise.
33049 * math/w_hypot.c: Likewise.
33050 * math/w_hypotf.c: Likewise.
33051 * math/w_hypotl.c: Likewise.
33052 * math/w_j0.c: Likewise.
33053 * math/w_j0f.c: Likewise.
33054 * math/w_j0l.c: Likewise.
33055 * math/w_j1.c: Likewise.
33056 * math/w_j1f.c: Likewise.
33057 * math/w_j1l.c: Likewise.
33058 * math/w_jn.c: Likewise.
33059 * math/w_jnf.c: Likewise.
33060 * math/w_jnl.c: Likewise.
33061 * math/w_lgamma.c: Likewise.
33062 * math/w_lgamma_r.c: Likewise.
33063 * math/w_lgammaf.c: Likewise.
33064 * math/w_lgammaf_r.c: Likewise.
33065 * math/w_lgammal.c: Likewise.
33066 * math/w_lgammal_r.c: Likewise.
33067 * math/w_log.c: Likewise.
33068 * math/w_log10.c: Likewise.
33069 * math/w_log10f.c: Likewise.
33070 * math/w_log10l.c: Likewise.
33071 * math/w_log2.c: Likewise.
33072 * math/w_log2f.c: Likewise.
33073 * math/w_log2l.c: Likewise.
33074 * math/w_logf.c: Likewise.
33075 * math/w_logl.c: Likewise.
33076 * math/w_pow.c: Likewise.
33077 * math/w_powf.c: Likewise.
33078 * math/w_powl.c: Likewise.
33079 * math/w_remainder.c: Likewise.
33080 * math/w_remainderf.c: Likewise.
33081 * math/w_remainderl.c: Likewise.
33082 * math/w_scalb.c: Likewise.
33083 * math/w_scalbf.c: Likewise.
33084 * math/w_scalbl.c: Likewise.
33085 * math/w_sinh.c: Likewise.
33086 * math/w_sinhf.c: Likewise.
33087 * math/w_sinhl.c: Likewise.
33088 * math/w_sqrt.c: Likewise.
33089 * math/w_sqrtf.c: Likewise.
33090 * math/w_sqrtl.c: Likewise.
33091 * math/w_tgamma.c: Likewise.
33092 * math/w_tgammaf.c: Likewise.
33093 * math/w_tgammal.c: Likewise.
33095 * po/ja.po: Update from translation team.
33097 2011-09-29 Andreas Jaeger <aj@suse.de>
33100 * sunrpc/netname.c (netname2host): Fix logic.
33104 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33106 * math/w_remainder.c (__remainder): Likewise.
33107 * math/w_remainderf.c (__remainderf): Likewise.
33108 * math/libm-test.inc (remainder_test): Add test cases.
33110 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33112 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33115 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33117 * string/test-memcmp.c: Avoid unncessary #defines.
33118 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33120 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33122 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33123 Use new sse2 version for core i3 - i7 as it's faster
33124 than sse42 version.
33125 (bit_Prefer_PMINUB_for_stringop): New.
33126 * sysdeps/x86_64/rawmemchr.S: Update.
33127 Replace with faster SSE2 version.
33128 * sysdeps/x86_64/memrchr.S: New file.
33129 * sysdeps/x86_64/memchr.S: Update.
33130 Replace with faster SSE2 version.
33132 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33134 * elf/dl-load.c (lose): Add cast to avoid warning.
33136 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33138 * po/ca.po: Update from translation team.
33140 * inet/getnetgrent_r.c: Hook up nscd.
33141 * nscd/Makefile (routines): Add nscd_netgroup.
33142 (nscd-modules): Add netgroupcache.
33143 (CFLAGS-netgroupcache.c): Define.
33144 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33145 (cache_search): Add const to second parameter.
33146 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33148 (dbs): Add netgrdb entry.
33149 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33150 (verify_persistent_db): Handle netgrdb.
33151 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33152 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33154 (netgroup_response_header): Define.
33155 (innetgroup_response_header): Define.
33156 (datahead): Add netgroup_response_header and innetgroup_response_header
33158 * nscd/nscd.conf: Add entries for netgroup cache.
33159 * nscd/nscd.h (dbtype): Add netgrdb.
33160 (_PATH_NSCD_NETGROUP_DB): Define.
33161 (netgroup_iov_disabled): Declare.
33162 (xmalloc, xcalloc, xrealloc): Move declarations here.
33163 (cache_search): Adjust prototype.
33164 Add netgroup-related prototypes.
33165 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33166 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33167 (__nscd_innetgr): Declare.
33168 * nscd/selinux.c (perms): Use access_vector_t as element type and
33169 add netgroup-related initializers.
33170 * nscd/netgroupcache.c: New file.
33171 * nscd/nscd_netgroup.c: New file.
33172 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33173 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33174 For four parameters use innetgr.
33175 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33176 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33177 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33178 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33180 * nscd/connections.c (register_traced_file): Don't register file
33181 for disabled databases.
33183 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33185 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33187 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33188 from tree and freeing node.
33190 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33192 * nss/nsswitch.c (__nss_database_lookup): Handle
33193 nss_parse_service_list out of memory case.
33195 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33197 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33198 out of memory case.
33200 2011-10-04 Andreas Schwab <schwab@redhat.com>
33202 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33203 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33205 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33206 elf_machine_rela, elf_machine_lazy_rel.
33207 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33208 (ELF_DYNAMIC_DO_REL): Likewise.
33209 (ELF_DYNAMIC_DO_RELA): Likewise.
33210 (ELF_DYNAMIC_RELOCATE): Likewise.
33211 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33212 to ELF_DYNAMIC_DO_REL.
33213 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33214 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33215 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33217 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33218 skip_ifunc, don't call ifunc function if non-zero.
33219 (elf_machine_rela): Likewise.
33220 (elf_machine_lazy_rel): Likewise.
33221 (elf_machine_lazy_rela): Likewise.
33222 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33223 (elf_machine_lazy_rel): Likewise.
33224 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33226 (elf_machine_lazy_rel): Likewise.
33227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33229 (elf_machine_lazy_rel): Likewise.
33230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33231 (elf_machine_lazy_rel): Likewise.
33232 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33233 (elf_machine_lazy_rel): Likewise.
33234 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33235 (elf_machine_lazy_rel): Likewise.
33236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33237 (elf_machine_lazy_rel): Likewise.
33238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33239 (elf_machine_lazy_rel): Likewise.
33240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33241 (elf_machine_lazy_rel): Likewise.
33243 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33245 * nss/nss_files/files-init.c (_nss_files_init): Use static
33246 initialization for all the *_traced_file variables.
33248 2011-09-28 Andreas Schwab <schwab@redhat.com>
33250 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33252 2011-09-27 Roland McGrath <roland@hack.frob.com>
33255 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33257 2011-09-27 Andreas Schwab <schwab@redhat.com>
33259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33260 Reread the line before reparsing it.
33262 2011-09-26 Andreas Schwab <schwab@redhat.com>
33264 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33266 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33267 Maxim Kuvyrkov <maxim@codesourcery.com>
33268 Joseph Myers <joseph@codesourcery.com>
33270 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33271 if needed for __stack_chk_guard.
33273 2011-09-19 Roland McGrath <roland@hack.frob.com>
33275 * sysdeps/posix/spawni.c (script_execute): Always define it.
33276 It will be optimized away if unused.
33277 (maybe_script_execute): New function.
33278 (__spawni): Call it.
33280 * Makerules: Don't include tls.make.
33281 (config-tls): Always set to thread.
33282 * tls.make.c: File removed.
33284 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33286 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33287 * config.make.in (CPPFLAGS-config): New substituted variable.
33289 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33294 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33295 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33297 2011-09-15 Roland McGrath <roland@hack.frob.com>
33299 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33300 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33302 (CALL_FAIL): Likewise.
33303 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33304 (CALL_FAIL): Macro removed.
33305 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33307 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33309 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33310 for __FINITE_MATH_ONLY__ == 1.
33312 2011-09-15 Andreas Schwab <schwab@redhat.com>
33314 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33315 __ieee754_sqrt instead of sqrt.
33316 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33317 __ieee754_sqrtf instead of sqrtf.
33318 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33319 __floorf instead of floorf.
33320 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33321 __floorf, __truncf instead of floorf, truncf.
33323 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33325 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33327 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33328 __extern_always_inline.
33329 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33332 2011-09-14 Andreas Schwab <schwab@redhat.com>
33334 * elf/rtld.c (dl_main): Also relocate in dependency order when
33335 doing symbol dependency testing.
33337 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33340 Always define `refsym'.
33342 2011-09-13 Andreas Schwab <schwab@redhat.com>
33344 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33345 (__FD_ELT): Renamed from __FDELT.
33346 * misc/bits/select2.h (__FD_ELT): Likewise.
33347 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33348 __FD_MASK instead of __FDELT, __FDMASK.
33349 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33351 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33354 * elf/Makefile (gen-ldd): Fix pattern.
33356 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33357 (init_tls): Likewise.
33359 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33363 2011-09-12 Andreas Schwab <schwab@redhat.com>
33365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33366 `struct cmsghdr *' instead of `void *'.
33367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33370 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33372 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33374 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33375 ldd_rewrite_script.
33377 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33379 * configure.in: Remove --with-tls option.
33380 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33381 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33382 out in case it is missing.
33383 * sysdeps/ia64/elf/configure.in: Likewise.
33384 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33385 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33386 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33387 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33388 * sysdeps/sh/elf/configure.in: Likewise.
33389 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33391 * sysdeps/x86_64/elf/configure.in: Likewise.
33392 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33393 * sysdeps/mach/hurd/tls.h: Likewise.
33396 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33399 * configure.in: Fix use of AC_INIT.
33401 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33403 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33405 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33407 * malloc/hooks.c: Likewise.
33410 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33411 variables statically.
33412 (narenas): Initialize.
33413 (list_lock): Initialize.
33414 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33415 initializtion of main_arena and list_lock. Small cleanups.
33416 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33417 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33418 Add initializers to main_arena and mp_.
33419 (malloc_state): Remove pagesize member. Change all users to use
33422 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33423 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33424 is always initialized.
33426 * malloc/malloc.c: Removed unused configurations and dead code.
33427 * malloc/arena.c: Likewise.
33428 * malloc/hooks.c: Likewise.
33429 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33431 * include/tls.h: Removed. USE___THREAD must always be defined.
33432 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33433 * elf/dl-libc.c: Likewise.
33434 * elf/dl-tsd.c: Likewise.
33435 * include/errno.h: Likewise.
33436 * include/netdb.h: Likewise.
33437 * include/resolv.h: Likewise.
33438 * inet/herrno-loc.c: Likewise.
33439 * inet/herrno.c: Likewise.
33440 * malloc/arena.c: Likewise.
33441 * malloc/hooks.c: Likewise.
33442 * malloc/malloc.c: Likewise.
33443 * resolv/res-state.c: Likewise.
33444 * resolv/res_libc.c: Likewise.
33445 * sysdeps/i386/dl-machine.h: Likewise.
33446 * sysdeps/ia64/dl-machine.h: Likewise.
33447 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33448 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33449 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33450 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33451 * sysdeps/sh/dl-machine.h: Likewise.
33452 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33453 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33454 * sysdeps/unix/i386/sysdep.S: Likewise.
33455 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33456 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33457 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33461 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33463 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33465 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33466 * sysdeps/x86_64/dl-machine.h: Likewise.
33467 * tls.make.c: Likewise.
33469 * configure.in: Remove --with-__thread option. Make tests for
33470 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33471 tls_model attribute fail if no support is available. Remove
33473 * Makeconfig: Adjust for dropped configure option. All features are
33475 * Makerules: Likewise.
33476 * Versions.def: Likewise.
33477 * argp/argp-fmtstream.c: Likewise.
33478 * argp/argp-fmtstream.h: Likewise.
33479 * argp/argp-help.c: Likewise.
33480 * assert/assert.c: Likewise.
33481 * config.h.in: Likewise.
33482 * config.make.in: Likewise.
33483 * configure: Likewise.
33484 * configure.in: Likewise.
33485 * csu/Versions: Likewise.
33486 * csu/init.c: Likewise.
33487 * elf/tst-audit2.c: Likewise.
33488 * elf/tst-tls10.c: Likewise.
33489 * elf/tst-tls10.h: Likewise.
33490 * elf/tst-tls11.c: Likewise.
33491 * elf/tst-tls12.c: Likewise.
33492 * elf/tst-tls14.c: Likewise.
33493 * elf/tst-tlsmod11.c: Likewise.
33494 * elf/tst-tlsmod12.c: Likewise.
33495 * elf/tst-tlsmod13.c: Likewise.
33496 * elf/tst-tlsmod13a.c: Likewise.
33497 * elf/tst-tlsmod14a.c: Likewise.
33498 * elf/tst-tlsmod15b.c: Likewise.
33499 * elf/tst-tlsmod16a.c: Likewise.
33500 * elf/tst-tlsmod16b.c: Likewise.
33501 * elf/tst-tlsmod7.c: Likewise.
33502 * elf/tst-tlsmod8.c: Likewise.
33503 * elf/tst-tlsmod9.c: Likewise.
33504 * gmon/gmon.c: Likewise.
33505 * grp/fgetgrent_r.c: Likewise.
33506 * grp/putgrent.c: Likewise.
33507 * hurd/fopenport.c: Likewise.
33508 * include/libc-symbols.h: Likewise.
33509 * include/tls.h: Likewise.
33510 * intl/gettextP.h: Likewise.
33511 * intl/loadinfo.h: Likewise.
33512 * locale/global-locale.c: Likewise.
33513 * locale/localeinfo.h: Likewise.
33514 * mach/devstream.c: Likewise.
33515 * malloc/arena.c: Likewise.
33516 * malloc/set-freeres.c: Likewise.
33517 * misc/err.c: Likewise.
33518 * misc/getttyent.c: Likewise.
33519 * misc/mntent_r.c: Likewise.
33520 * posix/getopt.c: Likewise.
33521 * posix/wordexp.c: Likewise.
33522 * pwd/fgetpwent_r.c: Likewise.
33523 * resolv/Versions: Likewise.
33524 * resolv/res_hconf.c: Likewise.
33525 * shadow/fgetspent_r.c: Likewise.
33526 * shadow/putspent.c: Likewise.
33527 * stdio-common/printf_fphex.c: Likewise.
33528 * stdio-common/tmpfile.c: Likewise.
33529 * stdlib/abort.c: Likewise.
33530 * stdlib/fmtmsg.c: Likewise.
33531 * sunrpc/auth_unix.c: Likewise.
33532 * sunrpc/clnt_perr.c: Likewise.
33533 * sunrpc/clnt_tcp.c: Likewise.
33534 * sunrpc/clnt_udp.c: Likewise.
33535 * sunrpc/clnt_unix.c: Likewise.
33536 * sunrpc/openchild.c: Likewise.
33537 * sunrpc/svc_simple.c: Likewise.
33538 * sunrpc/svc_tcp.c: Likewise.
33539 * sunrpc/svc_udp.c: Likewise.
33540 * sunrpc/svc_unix.c: Likewise.
33541 * sunrpc/xdr.c: Likewise.
33542 * sunrpc/xdr_array.c: Likewise.
33543 * sunrpc/xdr_rec.c: Likewise.
33544 * sunrpc/xdr_ref.c: Likewise.
33545 * sunrpc/xdr_stdio.c: Likewise.
33547 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33549 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33551 2011-07-03 Andreas Jaeger <aj@suse.de>
33553 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33554 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33555 regenerate with gen-libm-tests.pl.
33557 2010-05-12 Petr Baudis <pasky@suse.cz>
33560 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33561 around j0() zero points by switching to j1().
33562 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33563 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33565 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33567 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33569 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33571 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33574 Patch in part by Pavel Roskin <proski@gnu.org>.
33577 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33579 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33580 Free memory block if necessary.
33583 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33584 be NULL. Don't lock in this case.
33586 2011-09-09 Roland McGrath <roland@hack.frob.com>
33588 * elf/elf.h (ELFOSABI_GNU): New macro.
33589 (ELFOSABI_LINUX): Define to that.
33591 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33593 * string/strncat.c (strncat): Undef the symbol in case it has been
33594 defined in bits/string.h.
33596 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33598 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33600 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33603 2011-08-17 Andreas Jaeger <aj@suse.de>
33605 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33607 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33608 Ian Lance Taylor <iant@google.com>
33610 * math/libm-test.inc (lround_test): New testcase.
33611 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33613 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33615 * Makefile: Remove support for automatic cvs check-ins.
33616 * Makerules: Likewise.
33617 * config.make.in: Likewise.
33618 * configure.in: Likewise.
33619 * intl/Makefile: Likewise.
33620 * locale/Makefile: Likewise.
33621 * po/Makefile: Likewise.
33622 * posix/Makefile: Likewise.
33623 * sysdeps/gnu/Makefile: Likewise.
33624 * sysdeps/mach/hurd/Makefile: Likewise.
33625 * sysdeps/sparc/sparc32/Makefile: Likewise.
33628 * posix/Makefile (bug-regex32-ENV): Define.
33629 Patch by John Stanley <jpsinthemix@verizon.net>.
33631 * misc/Makefile (headers): Add bits/select2.h.
33632 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33633 * misc/bits/select2.h: New file.
33634 * include/bits/select2.h: New file.
33635 * debug/Makefile (routines): Add fdelt_chk.
33636 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33637 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33639 * debug/fdelt_chk.c: New file.
33641 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33642 * wcsmbs/test-wmemcmp.c: Likewise.
33643 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33644 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33646 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33648 * string/Makefile (strop-tests): Add memcmp.
33649 * string/test-wmemcmp.c: New file.
33650 * string/test-memcmp.c: Add wmemcmp support.
33652 2011-09-08 Roland McGrath <roland@hack.frob.com>
33655 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33658 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33659 garbage value in a __mach_port_mod_refs call in the cases of the
33660 task-self and thread-self ports.
33662 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33664 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33666 2011-09-08 Andreas Schwab <schwab@redhat.com>
33668 * elf/dl-load.c (lose): Check for non-null L.
33670 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33672 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33674 * elf/dl-libc.c (dlerror_run): Pass back error code from
33678 * elf/dl-load.c (lose): Free l_origin if it is valid.
33680 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33682 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33685 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33686 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33687 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33689 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33691 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33692 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33693 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33694 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33695 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33696 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33697 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33698 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33699 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33700 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33702 2011-08-15 Alan Modra <amodra@gmail.com>
33705 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33706 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33707 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33708 ppc_mcount to static-only-routines.
33709 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33711 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33712 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33714 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33716 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33717 for finite and infinity parameters.
33719 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33722 and add nop instructions for throughput optimization.
33723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33725 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33727 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33728 aligned copy for power7 with vector-scalar instructions.
33729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33731 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33736 2011-09-07 Andreas Schwab <schwab@redhat.com>
33739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33742 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33744 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33745 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33746 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33747 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33750 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33753 Forgot to demangle the pointer.
33755 * sysdeps/i386/sysdep.h: Define atom_text_section.
33756 * sysdeps/x86_64/sysdep.h: Likewise.
33757 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33758 section with atom_text_section.
33759 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33760 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33761 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33762 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33763 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33765 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33766 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33767 already be defined. Change to take two parameters and don't assign
33768 result to variable. Adjust all users.
33769 Define INTERNAL_GETTIME if not already defined.
33770 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33773 HAVE_CLOCK_GETTIME_VSYSCALL.
33774 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33777 gettimeofday vsyscall, just use time.
33779 2011-09-06 Andreas Schwab <schwab@redhat.com>
33781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33784 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33786 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33790 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33791 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33792 syscall if possible.
33794 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33796 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33797 e_ident. Don't pass to find_mapsXX.
33798 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33800 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33803 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33804 * sysdeps/x86_64/multiarch/strchr.S: Update.
33805 Check bit_slow_BSF bit.
33806 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33807 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33808 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33810 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33813 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33815 (tryshell): Define.
33816 (__spawni): Change last parameter to be flag. Test
33817 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33818 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33819 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33820 * posix/spawni.c: Likewise.
33821 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33822 * posix/spawnp.c: Likewise. Change normal version to use
33823 SPAWN_XFLAGS_USE_PATH.
33824 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33825 SPAWN_XFLAGS_TRY_SHELL.
33828 * posix/glob.h: Remove gcc 1.x support.
33831 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33833 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33836 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33838 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33839 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33840 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33841 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33842 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33843 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33845 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33847 * sysdeps/x86_64/wcscmp.S: New file.
33849 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33850 wcscmp-c wcscmp-sse2
33851 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33852 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33853 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33854 * wcsmbs/wcscmp.c: Allow renaming.
33856 2011-09-05 David S. Miller <davem@davemloft.net>
33858 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33859 stack slot, rather than the struct return pointer slot.
33860 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33861 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33863 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33865 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33867 * po/ja.po: Update from translation team.
33870 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33871 kernel in 64-bit binaries.
33873 2011-09-01 David S. Miller <davem@davemloft.net>
33875 * elf/elf.h (HWCAP_SPARC_*): Move to..
33876 * sysdeps/sparc/sysdep.h: this new file and add new values.
33877 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33878 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33879 _DL_HWCAP_COUNT to 24.
33880 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33882 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33883 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33884 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33886 instead of magic constants.
33887 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33889 2011-08-31 David S. Miller <davem@davemloft.net>
33891 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33893 Reimplement to do errno handling inline.
33894 (SYSCALL_ERROR_HANDLER): New macro.
33895 (__SYSCALL_STRING): Do not do errno handling in asm.
33896 (__CLONE_SYSCALL_STRING): Delete.
33897 (__INTERNAL_SYSCALL_STRING): Delete.
33898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33899 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33900 (PSEUDO): Reimplement to do errno handling inline.
33901 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33902 (SYSCALL_ERROR_HANDLER): New macro.
33903 (__SYSCALL_STRING): Do not do errno handling in asm.
33904 (__CLONE_SYSCALL_STRING): Delete.
33905 (__INTERNAL_SYSCALL_STRING): Delete.
33906 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33907 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33909 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33910 (inline_syscall*): Add 'err' argument.
33911 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33912 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33913 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33914 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33916 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33917 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33919 2011-08-30 Andreas Schwab <schwab@redhat.com>
33921 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33923 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33925 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33928 2011-08-24 David S. Miller <davem@davemloft.net>
33930 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33932 2011-08-24 Andreas Schwab <schwab@redhat.com>
33934 * elf/Makefile: Add rules to build and run unload8 test.
33935 * elf/unload8.c: New file.
33936 * elf/unload8mod1.c: New file.
33937 * elf/unload8mod1x.c: New file.
33938 * elf/unload8mod2.c: New file.
33939 * elf/unload8mod3.c: New file.
33941 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33944 2011-08-23 David S. Miller <davem@davemloft.net>
33946 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33947 subtract stack bias.
33948 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33949 %sp not %fp in calculations.
33950 (_JMPBUF_UNWINDS_ADJ): Likewise.
33952 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33953 (aio_suspend): Call it to force an exception region around the
33954 AIO_MISC_WAIT() invocation.
33956 2011-08-23 Andreas Schwab <schwab@redhat.com>
33958 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33961 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33963 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33965 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33966 and <dl-machine.h>.
33967 (Elf64_FuncDesc): Remove.
33969 2011-08-22 David S. Miller <davem@davemloft.net>
33971 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33972 sigaltstack check, add missing cfi directives.
33973 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33974 missing cfi directives, and sigaltstack handling.
33976 2011-08-16 Andreas Schwab <schwab@redhat.com>
33979 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33980 object is seen twice.
33981 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33983 * elf/Makefile (distribute): Add tst-initorder2.c.
33984 (tests): Add tst-initorder2.
33985 (modules-names): Add tst-initorder2a tst-initorder2b
33986 tst-initorder2c tst-initorder2d. Add rules to build them.
33987 ($(objpfx)tst-initorder2.out): New rule.
33988 * elf/tst-initorder2.c: New file.
33989 * elf/tst-initorder2.exp: New file.
33991 2011-08-22 Andreas Schwab <schwab@redhat.com>
33993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33995 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33996 dependencies back to end of function.
33998 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33999 $(elfobjdir)/ld.so.
34001 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34004 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34006 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34007 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34008 of __vdso_gettimeofday.
34009 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34010 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34012 (_libc_vdso_platform_setup): Remove initialization of
34013 __vdso_gettimeofday and __vdso_time.
34015 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34017 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34018 and fgetc_unlocked.
34019 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34022 * elf/dl-open.c (add_to_global): Report additions to the global scope
34023 for LD_DEBUG=scopes.
34024 (dl_open_worker): Also print scope of newly loaded dependencies.
34025 (_dl_show_scope): Indicate if there is no scope.
34028 * stdio-common/Makefile (tests): Add bug24.
34029 * stdio-common/bug24.c: New file.
34031 2011-08-19 Andreas Jaeger <aj@suse.de>
34034 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34035 non-existant file when using close-on-exec mode.
34037 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34039 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34040 the very first instruction.
34042 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34043 the CFI state in the end.
34044 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34045 inclusion of dl-trampoline.h.
34046 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34048 2011-08-19 Andreas Schwab <schwab@redhat.com>
34050 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34051 expectations for long double.
34053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34054 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34056 2011-08-14 David S. Miller <davem@davemloft.net>
34058 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34059 artificual limit depends upon the system page size.
34061 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34063 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34064 * resolv/Makefile: Define CFLAGS-libresolv.
34066 2011-08-17 Andreas Schwab <schwab@redhat.com>
34068 * nss/makedb.c (compute_tables): Make variables used in nested
34071 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34073 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34074 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34075 if buffer was too small.
34077 * elf/pldd.c (main): Attach to all threads in the process.
34078 Rewrite /proc handling to use *at functions.
34080 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34082 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34083 specifies first scope to show.
34084 (dl_open_worker): Update callers. Move printing scope of new
34085 object to before the relocation.
34086 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34087 * sysdeps/generic/ldsodefs.h: Update declaration.
34089 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34090 string for the scope number.
34092 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34094 * nscd/servicescache.c (cache_addserv): Make sure written is always
34097 2011-08-14 Roland McGrath <roland@hack.frob.com>
34099 * sysdeps/i386/i486/bits/atomic.h
34100 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34101 statement expression, so as to suppress "set but not used" warning.
34102 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34104 * string/strncat.c (STRNCAT): Use prototype definition.
34106 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34107 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34109 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34110 (localedef-modules): Add localedef.
34111 (locale-modules): Add locale.
34113 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34114 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34115 to avoid a warning.
34117 2011-08-14 David S. Miller <davem@davemloft.net>
34119 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34120 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34122 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34124 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34125 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34126 * elf/rtld.c (dl_main): Set l_name of vDSO.
34127 Call _dl_show_scope when DL_DEBUG_SCOPES.
34128 (process_dl_debug): Recognize scopes flag and also set it for all.
34129 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34130 Declare _dl_show_scope.
34132 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34133 (do_dlopen): Pass caller_dlopen to dl_open.
34134 (__libc_dlopen_mode): Initialize caller_dlopen.
34136 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34137 of libc. Make tolower call locale-independent. Optimize a bit by
34138 using isdigit instead of isalnum.
34139 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34141 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34143 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34144 was a dependency or dynamically loaded.
34146 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34148 * intl/l10nflist.c: Allow architecture-specific pop function.
34149 * sysdeps/x86_64/l10nflist.c: New file.
34151 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34154 2011-08-10 Andreas Schwab <schwab@redhat.com>
34156 * include/dirent.h: Add libc_hidden_proto for scandirat and
34157 scandirat64. Don't declare __scandirat64.
34158 * dirent/scandirat.c: Add libc_hidden_def.
34159 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34160 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34162 2011-08-10 David S. Miller <davem@davemloft.net>
34164 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34168 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34170 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34172 * Versions.def [libc]: Add GLIBC_2.15.
34173 * dirent/Makefile (routines): Add scandirat and scandirat64.
34174 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34176 * dirent/dirent.h: Declare scandirat and scandirat64.
34177 * dirent/scandirat.c: New file.
34178 * dirent/scandirat64.c: New file.
34179 * sysdeps/wordsize-64/scandirat.c: New file.
34180 * sysdeps/wordsize-64/scandirat64.c: New file.
34181 * dirent/opendir.c: Define opendirat.
34182 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34184 * dirent/scandir64.c: Adjust for scandir.c change.
34185 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34186 __scandirat64, and __scandir_cancel_handler.
34187 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34188 additional parameter and use openat instead of open (outside of ld.so).
34189 Add new __opendir as wrapper around __opendirat.
34190 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34191 here without requiring old scandirat implementation.
34193 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34195 * dirent/scandir.c (cancel_handler): Renamed to
34196 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34197 defined. Adjust users.
34198 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34199 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34201 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34203 * string/test-string.h (IMPL): Use __STRING to expand name and then
34206 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34209 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34211 * string/Makefile: Update.
34212 (strop-tests): Append strncat.
34213 * string/test-wcscmp.c: New file.
34214 New comprehensive test for wcscmp.
34215 * string/test-strcmp.c: Update.
34216 (WIDE): New define.
34218 2011-07-22 Andreas Schwab <schwab@redhat.com>
34220 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34223 2011-07-26 Andreas Schwab <schwab@redhat.com>
34225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34226 encoding to ACE if AI_IDN.
34228 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34231 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34233 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34236 Fix overflow bug in strncat.
34237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34239 * string/test-strncat.c: Update.
34240 Add new tests for checking overflow bugs.
34242 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34245 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34246 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34247 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34248 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34249 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34250 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34251 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34252 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34255 (USE_AS_STRCAT): Define.
34256 Add strcat and strncat support.
34257 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34259 2011-07-25 Andreas Schwab <schwab@redhat.com>
34261 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34262 __n bigger than INT_MAX+1.
34263 (__strncmp_g): Likewise.
34265 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34267 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34268 * libio/stido.h: Likewise.
34270 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34275 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34276 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34278 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34282 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34287 (_dl_x86_64_save_sse): Likewise.
34289 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34293 (_dl_x86_64_save_sse): Likewise.
34295 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34297 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34299 2011-07-21 Andreas Schwab <schwab@redhat.com>
34301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34303 (_dl_x86_64_save_sse): Use correct AVX check.
34305 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34307 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34308 bug in strncpy/strncat.
34309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34311 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34313 * string/tester.c (test_strcat): Add tests for different alignments
34314 of source and destination.
34315 (test_strncat): Likewise.
34317 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34320 * posix/glob.c (glob): Check passed in values before using them in
34321 expressions to avoid some overflows.
34322 (glob_in_dir): Likewise.
34325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34326 check for AVX enablement so that we don't crash with old kernels and
34328 * elf/tst-audit4.c: Add same checks here.
34329 * elf/tst-audit6.c: Likewise.
34331 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34333 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34335 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34337 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34339 * po/cs.po: Update from translation team.
34340 * po/bg.po: Likewise.
34342 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34344 * misc/sys/cdefs.h: Add support for const attribute.
34345 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34346 to gnu_dev_{major,minor,makedev} functions.
34348 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34350 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34352 2011-07-20 Andreas Schwab <schwab@redhat.com>
34354 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34357 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34360 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34361 register in order to avoid conflicts with the soft frame pointer
34362 being held in r11 when necessary.
34363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34364 (INTERNAL_VSYSCALL_NCS): Likewise.
34366 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34368 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34369 * elf/dl-fini.c (_dl_fini): Adjust caller.
34370 * elf/dl-close.c (_dl_close_worker): Likewise.
34371 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34373 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34375 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34376 "aux_cache->nlibs < 0".
34378 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34379 in the reload-count case.
34381 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34384 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34385 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34386 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34387 * sysdeps/x86_64/multiarch/strcat.S: New file.
34388 * sysdeps/x86_64/multiarch/strncat.S: New file.
34389 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34390 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34391 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34392 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34393 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34394 (USE_AS_STRCAT): Define.
34395 Add strcat and strncat support.
34396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34397 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34398 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34399 * string/strncat.c: Update.
34400 (USE_AS_STRNCAT): Define.
34401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34402 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34404 * sysdeps/x86_64/multiarch/init-arch.h
34405 (bit_Prefer_PMINUB_for_stringop): New.
34406 (index_Prefer_PMINUB_for_stringop): Likewise.
34407 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34408 bit_Prefer_PMINUB_for_stringop.
34410 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34412 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34414 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34415 of casting of buffer.
34416 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34417 buffer32 and buffer64.
34418 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34419 writes instead of casting of buffer.
34420 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34422 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34425 2011-07-19 Andreas Schwab <schwab@redhat.com>
34427 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34429 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34431 * nscd/nscd.c (termination_handler): Don't do anything for a database
34432 if it has not yet been initialized.
34434 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34436 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34438 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34440 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34442 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34444 * po/nl.po: Update from translation team.
34445 * po/sv.po: Likewise.
34447 2011-07-16 Roland McGrath <roland@hack.frob.com>
34449 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34450 now disallowed by GCC.
34452 * configure.in (use-default-link): Default to yes if a test -shared
34453 link meets our qualifications.
34454 * configure: Regenerated.
34456 * config.make.in (output-format): New variable.
34457 * configure.in: Check for ld --print-output-format support.
34458 * configure: Regenerated.
34459 * Makerules ($(common-objpfx)format.lds)
34460 [$(output-format) != unknown]: Just use $(output-format),
34461 instead of the linker-script munging.
34463 2011-07-14 Roland McGrath <roland@hack.frob.com>
34465 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34466 of $(common-objpfx)shlib.lds.
34467 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34469 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34470 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34472 * configure.in (-z relro check): Adjust test code to add a large
34473 writable data section after it.
34474 * configure: Regenerated.
34476 2011-07-11 Roland McGrath <roland@hack.frob.com>
34478 * configure.in (-z relro check): Fix test code to make the variable
34480 * configure: Regenerated.
34482 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34484 * nscd/nscd.h (struct traced_file): Define.
34485 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34486 elements. Add traced_files.
34487 (inotify_fd): Declare.
34488 (register_traced_file): Declare.
34489 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34490 (inotify_fd): Export.
34491 (resolv_conf_descr): Remove.
34492 (nscd_init): Move inotify descriptor creation to main.
34493 Don't register files for notification here.
34494 (register_traced_file): New function.
34495 (invalidate_cache): Don't use reset_res to determine whether to call
34496 res_init, go through the list of registered files.
34497 (main_loop_poll): The inotify descriptors are now stored in the
34498 structures for the traced files.
34499 (main_loop_epoll): Likewise
34500 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34501 to __nss_disable_nscd.
34502 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34503 for a database anymore. Check the records for all the registered
34505 * nss/Makefile (libnss_files-routines): Add files-init.
34506 (libnss_db-routines): Add db-init.
34507 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34508 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34509 * nss/nss_db/db-init.c: New file.
34510 * nss/nss_files/files-init.c: New file.
34511 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34512 __nss_lookup_function.
34513 (__nss_lookup_function): Call nss_load_library.
34514 (nss_load_all_libraries): New function.
34515 (__nss_disable_nscd): Take parameter with callback function for files
34516 to register. Set is_nscd. Load all the DSOs for the NSS modules
34517 used for the cached services.
34518 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34519 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34520 options for features to all the files in nscd.
34522 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34524 2011-07-10 Roland McGrath <roland@hack.frob.com>
34526 * csu/elf-init.c (__libc_csu_init): Comment typo.
34528 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34530 * po/pl.po: Update from translation team.
34531 * po/ja.po: Likewise.
34532 * po/ru.po: Likewise.
34533 * po/ko.po: Likewise.
34534 * po/fr.po: Likewise.
34536 2011-07-09 Roland McGrath <roland@hack.frob.com>
34538 * configure.in (.ctors/.dtors header and trailer check):
34539 Use an empirical test on a built program.
34540 * configure: Regenerated.
34542 * configure.in (-z relro check): Use an empirical test on a built DSO.
34543 Detect, but do not require, on ia64.
34544 * configure: Regenerated.
34546 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34547 Update tests that use readelf to use $READELF instead.
34548 * configure: Regenerated.
34550 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34552 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34553 if the result is not used.
34555 2011-07-05 Andreas Jaeger <aj@suse.de>
34558 * stdlib/tst-strtod.c: Add testcase.
34560 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34562 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34563 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34564 The latter has a higher limit. Take additional parameter to pass to
34566 (__pathconf): Pass file to __statfs_link_max.
34567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34569 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34573 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34574 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34577 (__statfs_filesize_max): Likewise.
34578 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34580 2011-07-05 Andreas Jaeger <aj@suse.de>
34582 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34584 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34586 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34588 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34591 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34593 * Makefile (strop-tests): Add strncat.
34594 * string/test-strncat.c: New file.
34596 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34598 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34600 2011-06-21 Andreas Jaeger <aj@suse.de>
34602 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34603 Copy rule from iconvdata/Makefile.
34605 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34608 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34609 but no long options are defined, just return 'W'.
34611 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34614 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34616 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34618 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34620 (innetgr): Likewise.
34622 2011-07-05 Roland McGrath <roland@hack.frob.com>
34624 * config.make.in (install_root): Default to $(DESTDIR).
34626 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34628 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34630 2011-07-02 Roland McGrath <roland@hack.frob.com>
34632 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34634 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34635 containing directory rather than embedding absolute directory names.
34637 * scripts/check-local-headers.sh: Rewritten using awk.
34638 Match by word, not by line. Print error messages for matches.
34639 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34641 * Makerules [shlib-lds-flags empty]:
34642 ($(common-objpfx)libc_pic.opts): New target.
34643 ($(common-objpfx)libc_pic.os.clean): New target.
34644 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34646 * config.make.in (OBJCOPY): New variable.
34647 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34648 * configure: Regenerated.
34650 * config.make.in (use-default-link): New variable.
34651 * configure.in (use_default_link): Grok --with-default-link to set it.
34652 * configure: Regenerated.
34653 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34654 (shlib-lds, shlib-lds-flags): Define to empty.
34656 * Makerules (shlib-lds): New variable.
34657 (shlib-lds-flags): New variable.
34658 (build-shlib, build-moduile, build-module-asneeded): Use it.
34659 ($(common-objpfx)libc.so): Use $(shlib-lds).
34660 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34661 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34663 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34664 DT_FLAGS/DT_FLAGS_1 with zero flags.
34666 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34667 linker script munging.
34669 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34671 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34673 * crypt/sha512.c (sha512_process_block): Perform total addition using
34674 128-bit if possible.
34675 (__sha512_finish_ctx): Likewise.
34676 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34678 * crypt/sha256.c (SWAP64): Define.
34679 (sha256_process_block): Perform total addition using 64-bit if
34681 (__sha256_finish_ctx): Likewise.
34683 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34685 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34686 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34687 * nscd/hstcache.c (cache_addhst): Likewise.
34688 * nscd/grpcache.c (cache_addgr): Likewise.
34689 * nscd/aicache.c (addhstaiX): Likewise
34690 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34692 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34694 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34696 * nscd/hstcache.c (cache_addhst): Likewise.
34697 * nscd/grpcache.c (cache_addgr): Likewise.
34698 * nscd/aicache.c (addhstaiX): Likewise
34700 2011-07-01 Andreas Schwab <schwab@redhat.com>
34702 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34703 domain only when needed.
34705 2011-06-30 Andreas Schwab <schwab@redhat.com>
34707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34708 is always restored.
34710 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34712 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34713 are re-adding the entry.
34714 * nscd/servicescache.c (cache_addserv): Likewise.
34716 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34718 * sysdeps/generic/dl-irel.h: fix protection against multiple
34720 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34722 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34725 * malloc/memusage.sh: Fix quoting in message.
34726 * debug/xtrace.sh: Likewise.
34728 * configure.in: Remove support for --experimental-malloc option, make
34730 * config.make.in: Likewise.
34731 * malloc/Makefile: Likewise.
34733 2011-06-27 Andreas Schwab <schwab@redhat.com>
34735 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34736 two-byte characters.
34738 2011-06-27 Roland McGrath <roland@hack.frob.com>
34740 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34741 AC_CACHE_CHECK invocation.
34742 * configure: Regenerated.
34744 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34746 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34749 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34750 bit from old_res_options.
34752 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34754 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34755 value type for setfct.
34757 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34760 __gettimeofday instead of gettimeofday.
34762 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34764 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34766 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34768 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34773 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34776 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34777 strcpy-sse2-unaligned strncpy-sse2-unaligned
34778 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34779 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34780 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34781 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34782 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34783 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34785 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34786 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34787 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34788 (STRCPY): Support SSE2 and SSSE3 versions.
34790 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34793 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34794 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34795 kernels which artificially limit size of requests.
34797 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34800 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34801 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34802 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34803 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34804 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34805 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34806 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34807 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34809 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34810 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34811 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34812 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34813 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34815 Enable unaligned load optimization for Intel Core i3, i5 and i7
34817 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34819 (index_Fast_Unaligned_Load): Define.
34820 (HAS_FAST_UNALIGNED_LOAD): Define.
34822 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34824 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34826 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34830 until it is clear that the information is realy needed.
34831 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34833 2011-06-22 Andreas Schwab <schwab@redhat.com>
34835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34837 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34840 /sys/devices/system/cpu/online if it is usable.
34842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34843 reading the information from the /proc filesystem to once a second.
34845 2011-06-21 Andreas Jaeger <aj@suse.de>
34847 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34848 NULL after inclusion of kernel headers.
34850 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34852 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34853 calls to internal_setent.
34856 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34857 addresses using gethostbyname4_r ignore IPv4 addresses.
34859 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34860 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34862 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34864 2011-06-20 David S. Miller <davem@davemloft.net>
34866 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34868 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34870 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34871 (elf_irel): Use it.
34872 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34873 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34874 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34875 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34876 * sysdeps/x86_64/dl-irel.h: Likewise.
34878 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34879 * elf/dl-sym.c: Likewise.
34881 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34883 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34884 need to dereference resplen2.
34886 2011-06-14 Andreas Schwab <schwab@redhat.com>
34888 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34890 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34892 * Makeconfig: Define vardbdir and inst_vardbdir.
34893 * nss/Makefile: Add rules to install db-Makefile.
34895 * nss/nss_db/db-XXX.c: Cleanup.
34897 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34898 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34900 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34901 * nss/makedb.c: Implement -g option to specify that value strings
34902 are generated and should not be added to table iterated over for
34904 * nss/nss_db/db-initgroups.c: New file.
34906 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34909 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34910 (internal_getgrouplist): Adjust to name change.
34911 Update use_initgroups_entry if this is not the first call.
34912 * nss/databases.def: Add initgroups entry.
34914 * nss/makedb.c (compute_tables): Check result of multiple hash table
34915 sizes to minimize maximum chain length.
34917 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34919 * Versions.def: Add entry for libnss_db.
34920 * shlib-versions: Likewise.
34921 * nss/Makefile: Add rules to build libnss_db.
34922 * nss/Versions: Add libnss_db information. Organize libnss_files
34924 * nss/db-Makefile: Add gshadow support. Change rules for the new
34925 makedb progra. Some minor improvements to generate smaller files.
34926 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34928 * nss/makedb.c: ...here.
34929 Improve database format to be smaller and require less memory at
34931 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34933 * nss/nss_db/db-netgrp.c: Likewise.
34934 * nss/nss_db/db-open.c: Likewise.
34935 * nss/nss_files/flies-XXX.x: Adjust comments.
34936 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34937 * nss/nss_files/files-grp.c: Likewise.
34938 * nss/nss_files/files-hosts.c: Likewise.
34939 * nss/nss_files/files-network.c: Likewise.
34940 * nss/nss_files/files-proto.c: Likewise.
34941 * nss/nss_files/files-pwd.c: Likewise.
34942 * nss/nss_files/files-rpc.c: Likewise.
34943 * nss/nss_files/files-service.c: Likewise.
34944 * nss/nss_files/files-sgrp.c: Likewise.
34945 * nss/nss_files/files-spwd.c: Likewise.
34946 * nss/nss_db/db-alias.c: Removed.
34947 * nss/nss_db/dummy-db.h: Removed.
34949 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34951 * nss/makedb.c: Rewritten to not use database library.
34952 * nss/Makefile: Update to build new makedb program.
34954 2011-06-14 Andreas Jaeger <aj@suse.de>
34956 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34957 memset declaration.
34959 2011-06-10 Andreas Schwab <schwab@redhat.com>
34961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34964 2011-06-10 Roland McGrath <roland@hack.frob.com>
34966 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34967 * elf/Makefile ($(objpfx)ld.so): Likewise.
34969 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34970 Don't list ld.so twice in dependencies.
34972 * posix/bug-regex31.c: Include <stdlib.h>.
34974 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34976 * nis/nss_compat/compat-spwd.c
34977 (getspent_next_nss_netgr): Remove unused variable.
34978 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34980 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34981 nonmembers" output to use the right array.
34983 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34985 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34987 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34988 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34989 * catgets/gencat.c (read_input_file): Likewise.
34990 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34992 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34993 variable definition inside #if's controlling its use.
34995 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34997 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34999 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35001 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35004 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35006 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35007 * configure: Regenerated.
35009 * Makerules: Revert last change.
35010 * elf/Makefile: Likewise.
35012 2011-06-09 Roland McGrath <roland@hack.frob.com>
35014 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35015 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35016 (reloc-link): Likewise.
35018 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35020 * elf/Makefile: Add rules to build pldd.
35021 * elf/pldd.c: New file.
35022 * elf/pldd-xx.c: New file.
35024 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35026 * version.h: Update for 2.15 development version.
35028 2011-06-07 David S. Miller <davem@davemloft.net>
35030 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35032 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35033 elf_machine_lazy_rel): Likewise.
35034 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35035 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35036 elf_machine_lazy_rel): Likewise.
35037 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35038 dl_hwcap via passed in argument.
35039 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35042 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35044 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35046 2011-06-06 Roland McGrath <roland@hack.frob.com>
35049 * manual/fdl-1.1.texi: New file, verbatim from:
35050 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35051 * manual/lgpl-2.1.texi: New file, verbatim from:
35052 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35053 * manual/Makefile (licenses): New variable, list those new file names.
35055 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35057 * manual/fdl.texi: File removed.
35058 * manual/lesser.texi: File removed.
35059 * manual/libc.texinfo (Copying, Documentation License):
35060 Use new @include file names, put @appendix directive before @include.
35062 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35065 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35066 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35067 (mq_open): Add __NTH.
35069 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35072 Assume Intel Core i3/i5/i7 processor if AVX is available.
35074 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35079 2011-05-31 Andreas Schwab <schwab@redhat.com>
35081 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35082 memory. Use alloca_account. Fix memory leak when retrying.
35084 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35086 * version.h (RELEASE): Bump for 2.14 release.
35087 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35089 * config.make.in (RANLIB): Remove entry.
35091 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35093 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35094 (libc.pot): Work around missing support for .ksh extension in xgettext.
35097 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35098 if both request failed.
35099 (send_dg): In case of server errors clear resplen or *resplen2.
35102 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35103 when there are multiple maps.
35104 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35105 (_dl_fini): Remove test here.
35107 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35109 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35112 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35113 bit from old_res_options.
35114 (gaih_inet): Likewise.
35117 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35120 * resolv/res_init.c (res_setoptions): Make the code more compact.
35123 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35127 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35129 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35132 * malloc/malloc.h: Declare malloc hook variables as volatile.
35134 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35138 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35139 raise in the comment.
35140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35141 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35142 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35144 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35147 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35148 grow the buffers more if it already has to be sufficient.
35149 (build_wcs_upper_buffer): Likewise.
35150 * posix/regexec.c (check_matching): Likewise.
35151 (clean_state_log_if_needed): Likewise.
35152 (extend_buffers): Don't enlarge buffers beyond size of the input
35154 Patches mostly by Emil Wojak <emil@wojak.eu>.
35155 * posix/bug-regex32.c: New file.
35156 * posix/Makefile (tests): Add bug-regex32.
35158 * locale/findlocale.c (_nl_find_locale): Return right away if
35159 _nl_explode_name failed.
35160 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35162 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35164 * debug/xtrace.sh: Unify messages.
35165 * malloc/memusage.sh: Likewise.
35168 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35169 time symbol from vDSO. Substitute with vsyscall if not available.
35170 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35173 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35174 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35175 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35176 Add sendmmsg and internal_sendmmsg.
35177 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35178 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35179 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35181 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35182 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35183 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35185 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35188 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35189 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35191 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35195 * iconvdata/Makefile (tests): Add bug-iconv9.
35196 * iconvdata/bug-iconv9.c: New file.
35198 2011-05-27 Andreas Schwab <schwab@redhat.com>
35201 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35203 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35205 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35206 (struct user_regs_struct): Change intcs field back to cs.
35208 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35210 * po/ja.po: Update from translation team.
35212 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35215 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35218 2011-05-20 Andreas Schwab <schwab@redhat.com>
35220 * stdlib/longlong.h: Update from GCC.
35222 2011-05-23 Andreas Schwab <schwab@redhat.com>
35224 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35226 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35227 Add parameter name.
35228 (__sysconf): Pass it down.
35230 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35233 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35236 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35237 add in in __libc_use_alloca calls. Adjust callers.
35238 (glob): Use malloc in some situations.
35240 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35241 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35244 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35246 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35247 and CLOCK_BOOTTIME_ALARM.
35250 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35253 * string/_strerror.c (__strerror_r): Print negative errors as signed
35257 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35258 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35259 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35261 * configure.in: Fix typo in redirection and correct removal of test
35262 files in two cases.
35265 * locale/setlocale.c (new_composite_name): Fix test to check for
35266 identical name of all categories.
35269 * libio/filedoalloc.c (local_isatty): New function.
35270 (_IO_file_doallocate): Use local_isatty.
35271 * stdio-common/perror.c (perror): In case a new stream is used
35272 forward the stream error.
35273 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35276 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35281 * include/alloca.h (extend_alloca_account): Define.
35284 * posix/regex.h: Fix comments with documentation of user-accessible
35285 fields after compilation and describe correct free'ing of pattern
35286 after re_compile_pattern.
35287 Patch by Reuben Thomas <rrt@sc3d.org>.
35289 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35291 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35292 and -mno-altivec to prevent the compiler from using Altivec and/or
35293 VSX instructions when the corresponding registers are not available.
35295 2011-05-19 Andreas Schwab <schwab@redhat.com>
35297 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35299 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35301 * libio/freopen.c (freopen): Use __dup2, not dup2.
35302 * libio/freopen64.c (freopen64): Likewise.
35304 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35307 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35308 * math/Makefile (tests): Add test-powl.
35309 (CFLAGS-test-powl.c): Define.
35310 * math/test-powl.c: New file.
35312 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35314 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35316 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35319 * iconvdata/gb18030.c: Update to GB18020-2005.
35321 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35323 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35324 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35325 Patch by Aharon Robbins <arnold@skeeve.com>.
35328 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35332 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35333 through underflows.
35336 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35337 point to strings before performing equality test for error_one_per_line
35341 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35344 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35345 (struct user_fpregs_struct): Avoid __uint*_t types.
35348 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35349 symbol info. Use it instead of calling _dl_addr locally.
35350 (lock_and_info): New function.
35351 (tr_freehook): Call lock_and_info and pass symbol info as additional
35352 parameter to tr_where.
35353 (tr_mallochook): Likewise.
35354 (tr_reallochook): Likewise.
35355 (tr_memalignhook): Likewise.
35357 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35358 used and couldn't be at all thread-safe.
35360 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35362 * libio/freopen.c (freopen): Don't close old file descriptor
35363 before the new one is opened. Instead dup the new file descriptor
35364 to the old one after the new stream is created.
35365 * libio/freopen64.c (freopen64): Likewise.
35366 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35367 * libio/fileops.c (_IO_new_file_close_it): Handle new
35368 _IO_FLAGS2_NOCLOSE flag.
35369 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35370 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35371 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35372 _IO_FLAGS2_NOCLOSE flag.
35373 * include/unistd.h: Add hidden_proto for dup3.
35374 Define __have_dup3.
35375 * io/dup3.c: Define hidden symbol.
35376 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35379 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35380 when an incomplete long option is used.
35381 * posix/tst-getopt_long1.c: New file.
35382 * posix/Makefile (tests): Add tst-getopt_long1.
35385 * scripts/config.guess: Update from autoconf-2.68.
35386 * scripts/config.sub: Likewise.
35389 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35391 (has_cpuclock): ...this. New function.
35392 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35393 macro here based on has_cpuclock code.
35396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35397 First byte (not low byte) is now always NUL.
35398 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35401 Use non-cancelable interfaces.
35404 * locale/iso-639.def: Add entry for Sorani.
35407 * include/stdlib.h: Move include protection to the right place.
35408 Define abort_msg_s. Declare __abort_msg with it.
35409 * stdlib/abort.c (__abort_msg): Adjust type.
35410 * assert/assert.c (__assert_fail_base): New function. Majority
35411 of code from __assert_fail. Allocate memory for __abort_msg with
35413 (__assert_fail): Now call __assert_fail_base.
35414 * assert/assert-perr.c: Remove bulk of implementation. Use
35415 __assert_fail_base.
35416 * include/assert.hL Declare __assert_fail_base.
35417 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35419 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35421 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35425 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35426 until all modules are registered in the DTV.
35427 * elf/Makefile: Add rules to build and run tst-tls19.
35428 * elf/tst-tls19.c: New file.
35429 * elf/tst-tls19mod1.c: New file.
35430 * elf/tst-tls19mod2.c: New file.
35431 * elf/tst-tls19mod3.c: New file.
35432 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35435 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35439 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35440 two-byte sequence errors.
35441 * iconvdata/Makefile (tests): Add bug-iconv8.
35442 * iconvdata/bug-iconv8.c: New file.
35445 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35448 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35451 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35452 (dummy_getcfa): New function.
35453 (init): Get _Unwind_GetCFA address, use dummy if not found.
35454 (backtrace_helper): In recursion check, also check whether CFA changes.
35455 (__backtrace): Completely initialize arg.
35457 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35458 storing incomplete byte sequence in state object. Avoid testing for
35459 guaranteed too small input if we know there is enough data available.
35461 2011-05-11 Andreas Schwab <schwab@redhat.com>
35463 * Makeconfig (+link-pie): Indent.
35464 * Rules (binaries-pie): Define if $(have-fpie) and
35466 (binaries-shared): Also filter out $(binaries-pie).
35467 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35468 * nscd/Makefile (others-pie): Add nscd.
35469 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35470 ($(objpfx)nscd): Remove command override.
35471 * login/Makefile (others-pie): Add pt_chown.
35472 ($(objpfx)pt_chown): Remove command override.
35473 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35474 remove command overrides.
35476 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35478 * libio/tst_putwc.c: Fix error messages.
35481 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35482 currently writing and seek to current position when not.
35483 * libio/Makefile (tests): Add bug-fclose1.
35484 * libio/bug-fclose1.c: New file.
35486 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35489 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35490 don't set DF_1_NODELETE here.
35491 (do_lookup_x): When entering new entry test for copy relocation
35492 and if necessary set DF_1_NODELETE flag.
35493 * elf/tst-unique4.cc: New file.
35494 * elf/tst-unique4.h: New file.
35495 * elf/tst-unique4lib.cc: New file.
35496 * elf/Makefile: Add rules to build and run tst-unique4.
35497 Patch by Piotr Bury <pbury@goahead.com>.
35499 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35502 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35505 * misc/mntent_r.c (addmntent): Flush the stream after the output
35508 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35509 (is_trusted_path_normalize): Skip initial colon. Append slash
35510 to empty buffer. Duplicate is_trusted_path code but allow
35511 constructed patch to be prefix.
35512 (is_dst): Allow $ORIGIN followed by /.
35513 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35514 Correct testing of result of is_trusted_path_normalize
35515 (decompose_rpath): Fix warning.
35517 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35520 * grp/initgroups.c (internal_getgrouplist): When we found the service
35521 list through the initgroups entry in nsswitch.conf do not always
35522 continue on a successful lookup. Don't always use the
35523 __nss_group_database value if it is set.
35524 * nss/nsswitch.conf (initgroups): Change action for successful db
35525 lookup to continue for compatibility.
35527 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35530 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35532 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35534 * iconvdata/tst-tables.sh: Likewise.
35535 * iconvdata/cp770.c: New file.
35536 * iconvdata/cp771.c: New file.
35537 * iconvdata/cp772.c: New file.
35538 * iconvdata/cp773.c: New file.
35539 * iconvdata/cp774.c: New file.
35540 * iconvdata/testdata/CP770: New file.
35541 * iconvdata/testdata/CP770..UTF8: New file.
35542 * iconvdata/testdata/CP771: New file.
35543 * iconvdata/testdata/CP771..UTF8: New file.
35544 * iconvdata/testdata/CP772: New file.
35545 * iconvdata/testdata/CP772..UTF8: New file.
35546 * iconvdata/testdata/CP773: New file.
35547 * iconvdata/testdata/CP773..UTF8: New file.
35548 * iconvdata/testdata/CP774: New file.
35549 * iconvdata/testdata/CP774..UTF8: New file.
35551 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35553 * iconvdata/gen-8bit-gap.sh: Likewise.
35554 * iconvdata/gen-8bit.sh: Likewise.
35556 * locale/iso-639.def: Add ary entry.
35559 * locale/C-translit.h.in: Add U20A1 transliteration.
35562 * locale/iso-639.def: Add wae entry.
35563 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35566 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35570 * locale/C-translit.h.in: Add entry for U20B9.
35571 Patch by pravin.d.s@gmail.com.
35573 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35576 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35577 ENAMETOOLONG use generic getcwd.
35578 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35579 in rtld. Use *stat64.
35580 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35581 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35582 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35583 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35584 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35585 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35586 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35587 __fstatat64 macros.
35588 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35589 * dirent/rewinddir.c: Add libc_hidden_def.
35590 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35591 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35593 * include/dirent.h (__alloc_dir): Add flags parameter.
35594 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35595 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35597 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35598 from fdopendir if O_CLOEXEC is already set.
35600 2011-03-15 Alan Modra <amodra@gmail.com>
35602 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35603 l_tls_firstbyte_offset non-zero. Save padding offset in
35604 l_tls_firstbyte_offset for later use.
35605 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35606 freeing static tls block.
35608 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35610 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35611 where #ifdef was intended. The intent is to prevent ARG_MAX from
35612 being defined by the kernel headers.
35614 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35617 * resolv/resolv.h: Define RES_NOTLDQUERY.
35618 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35619 no-tld-query and set RES_NOTLDQUERY.
35620 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35621 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35622 modern BIND to search name as TLD unless forbidden.
35624 2011-05-07 Petr Baudis <pasky@suse.cz>
35625 Ulrich Drepper <drepper@gmail.com>
35628 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35629 (is_trusted_path): ...to here.
35630 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35631 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35632 using is_trusted_path_normalize() in setuid scripts.
35634 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35636 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35637 __BEGIN/__END_DECLS.
35639 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35642 NSS_STATUS_NOTFOUND if no record was found.
35644 2011-05-05 Andreas Schwab <schwab@redhat.com>
35646 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35647 (headers-not-in-tirpc): Remove rpc/netdb.h
35648 * resolv/netdb.h: Revert last change.
35650 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35652 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35653 circular dependency between libgcc.a and libc.a.
35655 2011-05-05 Andreas Schwab <schwab@redhat.com>
35657 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35658 * nis/Makefile: Don't install rpcsvc/*.
35659 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35660 instead of <rpc/types.h>.
35661 (MAXHOSTNAMELEN): Define.
35663 2011-05-03 Andreas Schwab <schwab@redhat.com>
35665 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35667 2011-04-28 Maciej Babinski <mbabinski@google.com>
35670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35671 gethostbyname4_r when IPv6 results are possible.
35673 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35676 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35677 _PC_PIPE_BUF handling.
35679 2011-04-30 Bruno Haible <bruno@clisp.org>
35682 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35683 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35685 * inet/getnameinfo.c (getnameinfo): Likewise.
35687 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35689 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35690 to groups setting in database lookup.
35691 * nss/nsswitch.conf: Add initgroups entry.
35693 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35696 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35698 Patch by Eric Blake <eblake@redhat.com>.
35700 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35702 * sunrpc/Makefile (need-export-routines): Add svc_run.
35703 (routines): Remove svc_run.
35704 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35705 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35706 * sunrpc/svc_run.c (svc_run): Likewise.
35707 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35709 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35712 problem in reallocation in last patch.
35714 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35716 * sunrpc/Makefile: Move inclusion of Rules.
35718 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35720 * nss/nss_files/files-initgroups.c: New file.
35721 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35722 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35723 _nss_files_initgroups_dyn.
35725 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35727 * elf/elf.h (R_ARM_IRELATIVE): Define.
35729 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35731 * po/ru.po: Update from translation team.
35733 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35735 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35738 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35741 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35742 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35745 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35747 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35751 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35755 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35758 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35760 * stdlib/bug-getcontext.c: New file.
35761 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35763 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35765 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35766 instructions into .machine "z9-109".
35767 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35768 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35770 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35772 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35773 between environment variables and auxiliary vector.
35775 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35777 * Makefile: Add rules to build linkobj/libc.so.
35778 * include/libc-symbols.h: Define libc_hidden_nolink.
35779 * include/rpc/auth.h: Mark functions which are to be hidden.
35780 * include/rpc/auth_des.h: Likewise.
35781 * include/rpc/auth_unix.h: Likewise.
35782 * include/rpc/clnt.h: Likewise.
35783 * include/rpc/des_crypt.h: Likewise.
35784 * include/rpc/key_prot.h: Likewise.
35785 * include/rpc/pmap_clnt.h: Likewise.
35786 * include/rpc/pmap_prot.h: Likewise.
35787 * include/rpc/pmap_rmt.h: Likewise.
35788 * include/rpc/rpc_msg.h: Likewise.
35789 * include/rpc/svc.h: Likewise.
35790 * include/rpc/svc_auth.h: Likewise.
35791 * include/rpc/xdr.h: Likewise.
35792 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35793 * nss/Makefile: Likewise.
35794 * sunrpc/Makefile: Don't install headers. Build library with normal
35795 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35796 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35797 for the compat linking library. Remove use of INTDEF/INTUSE.
35798 * sunrpc/auth_none.c: Likewise.
35799 * sunrpc/auth_unix.c: Likewise.
35800 * sunrpc/authdes_prot.c: Likewise.
35801 * sunrpc/authuxprot.c: Likewise.
35802 * sunrpc/clnt_gen.c: Likewise.
35803 * sunrpc/clnt_perr.c: Likewise.
35804 * sunrpc/clnt_raw.c: Likewise.
35805 * sunrpc/clnt_simp.c: Likewise.
35806 * sunrpc/clnt_tcp.c: Likewise.
35807 * sunrpc/clnt_udp.c: Likewise.
35808 * sunrpc/clnt_unix.c: Likewise.
35809 * sunrpc/des_crypt.c: Likewise.
35810 * sunrpc/des_soft.c: Likewise.
35811 * sunrpc/get_myaddr.c: Likewise.
35812 * sunrpc/key_call.c: Likewise.
35813 * sunrpc/key_prot.c: Likewise.
35814 * sunrpc/netname.c: Likewise.
35815 * sunrpc/pm_getmaps.c: Likewise.
35816 * sunrpc/pm_getport.c: Likewise.
35817 * sunrpc/pmap_clnt.c: Likewise.
35818 * sunrpc/pmap_prot.c: Likewise.
35819 * sunrpc/pmap_prot2.c: Likewise.
35820 * sunrpc/pmap_rmt.c: Likewise.
35821 * sunrpc/publickey.c: Likewise.
35822 * sunrpc/rpc_cmsg.c: Likewise.
35823 * sunrpc/rpc_common.c: Likewise.
35824 * sunrpc/rpc_dtable.c: Likewise.
35825 * sunrpc/rpc_prot.c: Likewise.
35826 * sunrpc/rpc_thread.c: Likewise.
35827 * sunrpc/rtime.c: Likewise.
35828 * sunrpc/svc.c: Likewise.
35829 * sunrpc/svc_auth.c: Likewise.
35830 * sunrpc/svc_authux.c: Likewise.
35831 * sunrpc/svc_raw.c: Likewise.
35832 * sunrpc/svc_run.c: Likewise.
35833 * sunrpc/svc_simple.c: Likewise.
35834 * sunrpc/svc_tcp.c: Likewise.
35835 * sunrpc/svc_udp.c: Likewise.
35836 * sunrpc/svc_unix.c: Likewise.
35837 * sunrpc/svcauth_des.c: Likewise.
35838 * sunrpc/xcrypt.c: Likewise.
35839 * sunrpc/xdr.c: Likewise.
35840 * sunrpc/xdr_array.c: Likewise.
35841 * sunrpc/xdr_float.c: Likewise.
35842 * sunrpc/xdr_intXX_t.c: Likewise.
35843 * sunrpc/xdr_mem.c: Likewise.
35844 * sunrpc/xdr_rec.c: Likewise.
35845 * sunrpc/xdr_ref.c: Likewise.
35846 * sunrpc/xdr_sizeof.c: Likewise.
35847 * sunrpc/xdr_stdio.c: Likewise.
35849 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35852 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35853 * sysdeps/ia64/dl-tls.h: Likewise.
35854 * sysdeps/powerpc/dl-tls.h: Likewise.
35855 * sysdeps/s390/dl-tls.h: Likewise.
35856 * sysdeps/sh/dl-tls.h: Likewise.
35857 * sysdeps/sparc/dl-tls.h: Likewise.
35858 * sysdeps/x86_64/dl-tls.h: Likewise.
35859 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35861 2011-03-14 Andreas Schwab <schwab@redhat.com>
35863 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35864 rpath element also skip the following colon.
35865 (expand_dynamic_string_token): Add is_path parameter and pass
35866 down to DL_DST_REQUIRED and _dl_dst_substitute.
35867 (decompose_rpath): Call expand_dynamic_string_token with
35868 non-zero is_path. Ignore empty rpaths.
35869 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35872 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35877 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35880 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35881 Patch by Filipe David Manana <fdmanana@apache.org>.
35883 2011-04-07 Andreas Schwab <schwab@redhat.com>
35885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35886 Maintain aligned stack.
35887 (CHECK_RSP): Remove unused macro.
35889 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35891 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35892 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35894 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35896 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35898 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35900 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35903 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35904 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35905 * sysdeps/x86_64/memmove.c: New file.
35906 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35907 (memcpy): Renamed to ...
35908 (__new_memcpy): This.
35909 (memcpy): Provide GLIBC_2_14 memcpy.
35910 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35911 (memcpy): Provide GLIBC_2_2_5 memcpy.
35913 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35916 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35918 2011-03-30 Andreas Schwab <schwab@redhat.com>
35920 * misc/syncfs.c: New file.
35921 * misc/Makefile (routines): Add syncfs.
35922 * posix/unistd.h: Declare syncfs.
35923 * sysdeps/unix/syscalls.list: Add syncfs.
35925 2011-04-01 Andreas Schwab <schwab@redhat.com>
35927 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35930 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35934 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35935 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35937 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35939 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35940 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35941 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35942 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35943 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35945 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35947 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35948 sync_file_range.c with -fexceptions.
35949 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35950 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35951 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35952 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35953 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35954 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35955 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35956 sync_file_range as cancellation point
35957 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35958 now a wrapper around __call_sync_file_range with cancellation handling.
35959 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35960 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35961 function name to __call_sync_file_range.
35962 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35963 Add call_sync_file_range.
35965 2011-04-01 Andreas Schwab <schwab@redhat.com>
35967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35970 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35972 * iconv/iconv.h: Fix typo in comment.
35973 * io/fcntl.h: Likewise.
35974 * libio/stdio.h: Likewise.
35975 * posix/spawn.h: Likewise.
35976 * posix/unistd.h: Likewise.
35977 * stdlib/stdlib.h: Likewise.
35978 * time/time.h: Likewise.
35979 * wcsmbs/wchar.h: Likewise.
35981 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35982 open_by_handle): Add.
35983 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35984 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35985 Augment a few comments.
35986 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35990 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35991 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35994 * io/fcntl.h (AT_EMPTY_PATH): Define.
35996 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35998 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35999 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36000 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36002 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36003 * Versions.def: Add GLIBC_2.14.
36004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36007 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36009 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36011 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36013 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36016 * string/test-strncmp.c (do_page_test): New function.
36017 (check2): Likewise.
36018 (test_main): Call check2.
36019 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36021 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36024 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36025 Handle cache information in CPU leaf 4.
36026 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36028 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36031 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36032 character representation.
36033 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36035 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36037 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36038 END(__isnan) to END(__isnanf) to match function entry point/label
36039 EALIGN(__isnanf,...).
36041 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36043 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36045 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36048 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36049 copy from the symbol referenced in the relocation to initialize the
36051 Patch by Piotr Bury <pbury@goahead.com>.
36052 * elf/Makefile: Add rules to build and tst-unique3.
36053 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36054 * elf/tst-unique3.cc: New file.
36055 * elf/tst-unique3.h: New file.
36056 * elf/tst-unique3lib.cc: New file.
36057 * elf/tst-unique3lib2.cc: New file.
36059 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36061 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36063 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36064 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36067 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36069 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36070 to-be-loaded object along a path to loader is ld.so.
36072 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36073 Ulrich Drepper <drepper@gmail.com>
36075 * sysdeps/x86_64/memset.S: After aligning destination, code
36076 branches to different locations depending on the value of
36077 misalignment, when multiarch is enabled. Fix this.
36079 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36081 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36082 Set _x86_64_preferred_memory_instruction for AMD processsors.
36083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36084 Set bit_Prefer_SSE_for_memop for AMD processors.
36086 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36088 * libio/fmemopen.c (fmemopen): Optimize a bit.
36090 2011-03-03 Andreas Schwab <schwab@redhat.com>
36092 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36094 2011-03-03 Roland McGrath <roland@redhat.com>
36096 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36098 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36100 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36101 __bzero_ultra1 instead of __memset_ultra1.
36103 2011-02-23 Andreas Schwab <schwab@redhat.com>
36104 Ulrich Drepper <drepper@gmail.com>
36107 * include/link.h (struct link_map): Add l_orig_initfini.
36108 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36109 returning unsuccessfully.
36110 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36111 close of a file loaded at startup, restore the original l_initfini
36113 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36114 list, store the pointer.
36115 * elf/Makefile ($(objpfx)noload-mem): New rule.
36116 (noload-ENV): Define.
36117 (tests): Add $(objpfx)noload-mem.
36118 * elf/noload.c: Include <memcheck.h>.
36119 (main): Call mtrace. Close all opened handles.
36121 2011-02-17 Andreas Schwab <schwab@redhat.com>
36124 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36125 dependencies are missing.
36127 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36129 Fix __if_freereq crash: Unlike the generic version which uses free,
36131 * sysdeps/mach/hurd/ifreq.h: New file.
36133 2011-01-27 Petr Baudis <pasky@suse.cz>
36134 Ulrich Drepper <drepper@gmail.com>
36137 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36138 to extend_alloca().
36139 * stdio-common/bug23.c: New file.
36140 * stdio-common/Makefile (tests): Add bug23.
36142 2010-09-28 Andreas Schwab <schwab@redhat.com>
36143 Ulrich Drepper <drepper@gmail.com>
36146 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36147 before performing relro protection. At old place add assertion
36148 to make sure nothing changed.
36150 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36151 Glauber de Oliveira Costa <glommer@gmail.com>
36153 * elf/elf.h: Add new ARM TLS relocs.
36155 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36158 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36160 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36162 * sysdeps/wordsize-64/tst-writev.c: New file.
36164 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36166 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36167 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36168 insns in _dl_start to prevent a TOC reference before relocs are
36171 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36174 * Makeconfig: Remove RANLIB definition.
36175 * Makerules: Don't use RANLIB.
36176 * aclocal.m4: Remove ranlib test.
36177 * configure.in: No need to check for ranlib.
36178 * elf/rtld-Rules: Don't use RANLIB.
36180 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36182 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36184 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36185 inclusion protection macro.
36187 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36188 SIGRTMIN and SIGRTMAX and print information in that case only when
36189 SIGRTMIN is defined.
36191 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36193 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36194 arginfo fn returning -1.
36196 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36197 and thousands string is zero terminated.
36199 2011-02-03 Andreas Schwab <schwab@redhat.com>
36201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36202 sysdeps/unix/sysv/linux/bits/socket.h.
36204 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36206 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36207 (__CPU_COUNT): Remove old macros.
36208 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36209 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36210 (__CPU_ALLOC, __CPU_FREE): Add macros.
36211 (__sched_cpualloc, __sched_cpufree): Add declarations.
36213 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36215 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36216 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36217 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36218 (readdhstai): Return value of addhstaiX call.
36219 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36220 (addgrbyX): Return value returned by cache_addgr.
36221 (readdgrbyname): Return value returned by addgrbyX.
36222 (readdgrbygid): Likewise.
36223 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36224 (addpwbyX): Return value returned by cache_addpw.
36225 (readdpwbyname): Return value returned by addhstbyX.
36226 (readdpwbyuid): Likewise.
36227 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36228 (addservbyX): Return value returned by cache_addserv.
36229 (readdservbyname): Return value returned by addservbyX:
36230 (readdservbyport): Likewise.
36231 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36232 (addhstbyX): Return value returned by cache_addhst.
36233 (readdhstbyname): Return value returned by addhstbyX.
36234 (readdhstbyaddr): Likewise.
36235 (readdhstbynamev6): Likewise.
36236 (readdhstbyaddrv6): Likewise.
36237 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36238 (readdinitgroups): Return value returned by addinitgroupsX.
36239 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36240 (prune_cache): Keep track of timeout value of re-added entries.
36241 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36242 * nscd/nscd.h: Adjust prototypes of readd* functions.
36244 2011-02-04 Roland McGrath <roland@redhat.com>
36246 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36247 (nis_stats): Likewise.
36248 * nis/nis_modify.c (nis_modify): Likewise.
36249 * nis/nis_remove.c (nis_remove): Likewise.
36250 * nis/nis_add.c (nis_add): Likewise.
36252 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36254 * posix/fnmatch_loop.c: Add some consts.
36256 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36258 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36261 * config.make.in (config-cflags-novzeroupper): Define.
36262 * configure.in: Substitute libc_cv_cc_novzeroupper.
36263 * elf/Makefile (AVX-CFLAGS): Define.
36264 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36265 (CFLAGS-tst-auditmod4a.c): Likewise.
36266 (CFLAGS-tst-auditmod4b.c): Likewise.
36267 (CFLAGS-tst-auditmod6b.c): Likewise.
36268 (CFLAGS-tst-auditmod6c.c): Likewise.
36269 (CFLAGS-tst-auditmod7b.c): Likewise.
36270 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36272 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36274 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36275 function to the callback.
36276 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36278 2011-02-02 Andreas Schwab <schwab@redhat.com>
36280 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36283 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36286 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36288 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36290 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36293 * elf/Makefile: Add rules to build and run new test.
36294 * elf/tst-initorder.c: New file.
36295 * elf/tst-initorder.exp: New file.
36296 * elf/tst-initordera1.c: New file.
36297 * elf/tst-initordera2.c: New file.
36298 * elf/tst-initordera3.c: New file.
36299 * elf/tst-initordera4.c: New file.
36300 * elf/tst-initorderb1.c: New file.
36301 * elf/tst-initorderb2.c: New file.
36302 * elf/tst-order-a1.c: New file.
36303 * elf/tst-order-a2.c: New file.
36304 * elf/tst-order-a3.c: New file.
36305 * elf/tst-order-a4.c: New file.
36306 * elf/tst-order-b1.c: New file.
36307 * elf/tst-order-b2.c: New file.
36308 * elf/tst-order-main.c: New file.
36309 New test case by George Gensure <werkt0@gmail.com>.
36311 2010-10-01 Andreas Schwab <schwab@redhat.com>
36313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36314 decoding ACE if AI_CANONIDN.
36316 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36318 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36320 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36322 * version.h (RELEASE): Bump for 2.13 release.
36323 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36325 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36327 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36329 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36330 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36331 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36332 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36333 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36334 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36336 * posix/getconf.c: Update copyright year.
36337 * catgets/gencat.c: Likewise.
36338 * csu/version.c: Likewise.
36339 * debug/catchsegv.sh: Likewise.
36340 * debug/xtrace.sh: Likewise.
36341 * elf/ldconfig.c: Likewise.
36342 * elf/ldd.bash.in: Likewise.
36343 * elf/sprof.c (print_version): Likewise.
36344 * iconv/iconv_prog.c: Likewise.
36345 * iconv/iconvconfig.c: Likewise.
36346 * locale/programs/locale.c: Likewise.
36347 * locale/programs/localedef.c: Likewise.
36348 * malloc/memusage.sh: Likewise.
36349 * malloc/mtrace.pl: Likewise.
36350 * nscd/nscd.c (print_version): Likewise.
36351 * nss/getent.c: Likewise.
36353 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36354 PF_CAIF, and PF_ALG.
36355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36357 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36359 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36360 (modules-names): Use them.
36361 (ifunc-test-modules, ifunc-pie-tests): Define.
36362 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36363 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36364 (test-extras): Likewise.
36365 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36366 $(compile-command.c).
36367 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36368 (all-built-dso): Define.
36369 (check-textrel.out, check-execstack.out): Depend on it.
36371 * configure.in: Don't override --enable-multi-arch.
36373 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36376 * nscd/hstcache.c (tryagain): Define.
36377 (cache_addhst): Return tryagain not notfound for temporary errors.
36378 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36381 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36384 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36385 to make the syscall.
36386 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36389 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36390 and fall back to matching as normal character if the string ends before
36391 the matching ']' is found. This is what POSIX requires.
36392 * posix/testfnm.c: Adjust test result.
36393 * posix/globtest.sh: Adjust test result. Add new test.
36394 * posix/tst-fnmatch.input: Likewise.
36395 * posix/tst-fnmatch2.c: Add new test.
36397 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36399 * elf/Makefile (check-execstack): Revert last change. Depend on
36401 (check-execstack.h): New target.
36402 (generated): Add check-execstack.h.
36403 * elf/check-execstack.c: Include "check-execstack.h".
36404 (main): Revert last change.
36405 (handle_file): Return zero if GNU_STACK is absent and
36406 DEFAULT_STACK_PERMS doesn't include PF_X.
36408 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36410 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36411 in child fails because the descriptor is already closed.
36412 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36413 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36414 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36417 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36421 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36422 temporary buffer used to handle multi lookups locally.
36423 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36425 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36427 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36430 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36432 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36433 alignment for SSE2.
36435 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36438 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36439 characters. When rounding increased number of integer digits recompute
36441 * stdio-common/tst-grouping.c: New file.
36442 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36444 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36446 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36447 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36449 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36451 * bits/select.h: Likewise.
36453 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36455 * po/ja.po: Update from translation team.
36457 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36460 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36461 implementation just like for lxstat, fxstatat, et al.
36463 2010-12-27 Jim Meyering <meyering@redhat.com>
36466 * posix/regexec.c (build_trtable): Return failure indication upon
36467 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36469 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36472 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36473 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36474 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36475 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36478 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36481 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36482 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36484 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36486 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36487 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36488 script has SORT_BY_INIT_PRIORITY.
36489 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36490 NO_CTORS_DTORS_SECTIONS is defined.
36491 * elf/soinit.c: Likewise.
36492 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36493 NO_CTORS_DTORS_SECTIONS is defined.
36494 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36495 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36496 * sysdeps/sh/init-first.c: Likewise.
36497 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36499 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36501 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36502 always use the slow path.
36504 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36506 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36507 similar rule which adds the sysdep directories to the header search in
36508 order to pick up the correct platform stackinfo.h.
36509 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36510 perform test if it is, otherwise return successfully without testing.
36511 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36512 DEFAULT_STACK_PERMS define in stackinfo.h.
36513 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36514 defined in stackinfo.h.
36515 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36516 DEFAULT_STACK_PERMS defined in stackinfo.h.
36517 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36518 * sysdeps/ia64/stackinfo.h: Likewise.
36519 * sysdeps/s390/stackinfo.h: Likewise.
36520 * sysdeps/sh/stackinfo.h: Likewise.
36521 * sysdeps/sparc/stackinfo.h: Likewise.
36522 * sysdeps/x86_64/stackinfo.h: Likewise.
36523 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36524 PF_X for powerpc64. Retain PF_X for powerpc32.
36526 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36528 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36530 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36531 GETDENTS_64BIT_ALIGNED.
36533 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36535 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36537 2010-12-10 Andreas Schwab <schwab@redhat.com>
36539 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36542 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36543 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36545 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36546 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36548 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36551 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36554 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36556 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36558 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36560 * po/it.po: Update from translation team.
36562 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36567 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36569 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36571 2010-11-24 Andreas Schwab <schwab@redhat.com>
36573 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36575 (gaih_getanswer_slice): Likewise.
36577 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36581 2010-05-31 Petr Baudis <pasky@suse.cz>
36584 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36585 silently even in the chroot mode.
36587 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36589 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36590 last patch a bit. Pretty printing
36592 2010-05-31 Petr Baudis <pasky@suse.cz>
36595 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36596 initialization of skip_initgroups_dyn.
36598 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36600 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36601 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36603 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36605 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36607 2010-11-11 Andreas Schwab <schwab@redhat.com>
36609 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36610 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36611 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36612 ($(objpfx)tst-fnmatch-mem): New rule.
36613 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36614 * posix/tst-fnmatch.c (main): Call mtrace.
36616 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36619 Support Intel processor model 6 and model 0x2c.
36621 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36623 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36626 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36629 * string/test-strncasecmp.c (check_result): New function.
36630 (do_one_test): Use it.
36631 (check1): New function.
36632 (test_main): Use it.
36633 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36634 Support strcasecmp and strncasecmp.
36636 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36639 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36640 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36642 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36644 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36648 * sysdeps/x86_64/multiarch/bzero.S: New file.
36649 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36650 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36651 * sysdeps/x86_64/multiarch/memset.S: New file.
36652 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36654 Set bit_Prefer_SSE_for_memop for Intel processors.
36655 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36657 (index_Prefer_SSE_for_memop): Define.
36658 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36660 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36662 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36663 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36665 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36668 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36669 (__x86_64_raw_data_cache_size_half): Likewise.
36670 (__x86_64_raw_shared_cache_size): Likewise.
36671 (__x86_64_raw_shared_cache_size_half): Likewise.
36673 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36674 (__x86_64_raw_data_cache_size_half): Likewise.
36675 (__x86_64_raw_shared_cache_size): Likewise.
36676 (__x86_64_raw_shared_cache_size_half): Likewise.
36677 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36678 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36679 and __x86_64_raw_shared_cache_size_half. Round
36680 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36681 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36682 to multiple of 256 bytes.
36684 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36687 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36688 of inacessible symlinks. Verify result of symlink before returning it.
36689 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36690 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36692 2010-10-28 Erich Ritz <erichritz@gmail.com>
36694 * math/math.h (isinf): Fix typo in comment.
36696 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36698 * po/da.po: Update from translation team.
36700 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36702 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36703 is added to the list.
36705 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36706 Ulrich Drepper <drepper@gmail.com>
36708 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36709 the global list here. Move code to...
36710 (_dl_add_to_namespace_list): ...here. New function.
36711 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36712 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36713 * elf/dl-load.c (lose): Don't remove the element from the list.
36714 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36715 (_dl_map_object): Likewise.
36717 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36720 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36721 into all bytes of SSE register.
36722 Patch by Richard Li <richardpku@gmail.com>.
36724 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36727 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36730 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36732 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36733 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36734 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36735 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36740 2010-10-22 Andreas Schwab <schwab@redhat.com>
36742 * include/dlfcn.h (__RTLD_SECURE): Define.
36743 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36744 mode & __RTLD_SECURE instead.
36745 (open_path): Rename preloaded parameter to secure.
36746 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36747 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36748 * elf/dl-deps.c (openaux): Likewise.
36749 * elf/rtld.c (struct map_args): Remove is_preloaded.
36750 (map_doit): Don't use it.
36751 (dl_main): Likewise.
36752 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36753 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36755 2010-09-09 Andreas Schwab <schwab@redhat.com>
36757 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36758 (sysd-rules-targets): Remove duplicates.
36759 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36760 rtld-%.$o dependency.
36762 2010-10-18 Andreas Schwab <schwab@redhat.com>
36764 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36765 _dl_map_object do it.
36767 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36769 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36770 fast fma builtins, define the macros in the C99 standard.
36771 (FP_FAST_FMAF): Likewise.
36772 (FP_FAST_FMAL): Likewise.
36773 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36775 * bits/mathdef.h: Update copyright year.
36776 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36778 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36780 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36781 builtins, define the macros in the C99 standard.
36782 (FP_FAST_FMAF): Likewise.
36783 (FP_FAST_FMAL): Likewise.
36784 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36786 (FP_FAST_FMAF): Likewise.
36788 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36791 * math/libm-test.inc (fma_test): Some new testcases.
36792 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36793 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36794 y and infinite z. Do multiplication by C already in long double.
36795 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36797 y and infinite z. Do bitwise or of inexact bit into u.d.
36798 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36799 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36800 * sysdeps/i386/fpu/s_fma.S: Removed.
36801 * sysdeps/i386/fpu/s_fmal.S: Removed.
36803 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36806 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36808 computation is not scheduled after fetestexcept. Fix value
36809 of minimum denormal long double.
36811 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36814 * math/libm-test.inc (fma_test): Add some more tests.
36815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36818 2010-10-15 Andreas Schwab <schwab@redhat.com>
36820 * scripts/data/localplt-s390-linux-gnu.data: New file.
36821 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36823 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36826 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36827 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36829 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36831 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36833 if one of x and y is very large and the other is subnormal.
36834 * sysdeps/s390/fpu/s_fmaf.c: New file.
36835 * sysdeps/s390/fpu/s_fma.c: New file.
36836 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36837 * sysdeps/powerpc/fpu/s_fma.S: New file.
36838 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36839 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36840 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36842 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36845 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36847 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36848 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36849 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36850 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36851 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36852 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36853 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36855 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36858 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36859 * posix/bug-regex31.input: Add test case.
36861 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36863 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36864 * posix/bug-regex31.input: New file.
36867 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36868 (parse_sub_exp): Fix last change, use postorder.
36870 * posix/bug-regex31.c: New file.
36871 * posix/Makefile: Add rules to build and run bug-regex31.
36873 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36876 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36879 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36880 to have entries in sys_siglist.
36883 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36886 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36889 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36890 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36891 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36892 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36893 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36894 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36895 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36896 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36897 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36898 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36899 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36900 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36901 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36902 * math/ftestexcept.c (fetestexcept): Likewise.
36903 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36904 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36905 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36906 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36907 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36908 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36909 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36911 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36914 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36917 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36919 * string/bug-strstr1.c: New file.
36920 * string/Makefile: Add rules to build and run bug-strstr1.
36922 2010-10-05 Eric Blake <eblake@redhat.com>
36925 * string/str-two-way.h (two_way_long_needle): Always clear memory
36926 when skipping input due to the shift table.
36928 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36931 * malloc/mcheck.c: Handle large requests.
36934 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36935 for strncmp and strncasecmp.
36936 * string/stratcliff.c: Add tests for strcmp and strncmp.
36937 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36939 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36941 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36944 2010-09-30 Andreas Jaeger <aj@suse.de>
36946 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36947 (CGROUP_SUPER_MAGIC): Define.
36948 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36949 Handle btrfs and cgroup file systems.
36950 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36953 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36955 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36956 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36958 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36961 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36962 trying to locate the ELF header.
36964 2010-09-27 Andreas Schwab <schwab@redhat.com>
36967 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36968 Mask out sign-bit copies when constructing f_fsid.
36970 2010-09-24 Petr Baudis <pasky@suse.cz>
36972 * debug/stack_chk_fail_local.c: Add missing licence exception.
36973 * debug/warning-nop.c: Likewise.
36975 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36977 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36978 implementing getdents64 using getdents syscall, set d_type if
36979 __ASSUME_GETDENTS32_D_TYPE.
36981 2010-09-16 Andreas Schwab <schwab@redhat.com>
36983 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36984 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36986 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36989 * posix/unistd.h: Undo change of feature selection for ftruncate from
36992 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36994 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36997 2010-09-20 Andreas Schwab <schwab@redhat.com>
36999 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37003 2010-09-14 Andreas Schwab <schwab@redhat.com>
37005 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37006 variables after CHECK_SP call.
37007 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37009 2010-09-13 Andreas Schwab <schwab@redhat.com>
37010 Ulrich Drepper <drepper@redhat.com>
37012 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37013 re-relocationg ld.so.
37014 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37015 _dl_init_paths call.
37016 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37019 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37021 * resolv/res_init.c (__res_vinit): Count the default server we added.
37023 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37024 Ulrich Drepper <drepper@redhat.com>
37027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37028 (____longjmp_chk): Use %ebx for saving value across system call.
37031 2010-09-06 Andreas Schwab <schwab@redhat.com>
37033 * manual/Makefile: Don't mix pattern rules with normal rules.
37035 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37037 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37039 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37040 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37041 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37042 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37046 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37049 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37050 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37052 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37054 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37055 * sysdeps/x86_64/addmul_1.S: Likewise.
37056 * sysdeps/x86_64/lshift.S: Likewise.
37057 * sysdeps/x86_64/mul_1.S: Likewise.
37058 * sysdeps/x86_64/rshift.S: Likewise.
37059 * sysdeps/x86_64/sub_n.S: Likewise.
37060 * sysdeps/x86_64/submul_1.S: Likewise.
37062 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37064 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37065 Define __sched_param instead of SCHED_* and sched_param when
37066 <bits/sched.h> is included with __need_schedparam defined.
37067 * bits/sched.h [__need_schedparam]
37068 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37069 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37070 (__defined_schedparam): Define to 1.
37071 (__sched_param): New structure, identical to sched_param.
37072 (__need_schedparam): Undefine.
37074 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37076 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37077 (epoll_create1): Declare.
37079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37081 2010-08-31 Andreas Schwab <schwab@redhat.com>
37084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37085 shifting retval into place.
37087 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37089 * nis/rpcsvc/nis.h: Update copyright notice.
37090 * nis/rpcsvc/nis.x: Likewise.
37091 * nis/rpcsvc/nis_callback.h: Likewise.
37092 * nis/rpcsvc/nis_callback.x: Likewise.
37093 * nis/rpcsvc/nis_object.x: Likewise.
37094 * nis/rpcsvc/nis_tags.h: Likewise.
37095 * nis/rpcsvc/yp.h: Likewise.
37096 * nis/rpcsvc/yp.x: Likewise.
37097 * nis/rpcsvc/ypupd.h: Likewise.
37098 * nis/yp_xdr.c: Likewise.
37099 * nis/ypupdate_xdr.c: Likewise.
37101 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37102 mainly the body of pmap_getport. Add parameters to specify timeouts.
37103 (pmap_getport): Use __libc_rpc_getport.
37104 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37105 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37106 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37108 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37113 2010-08-27 Roland McGrath <roland@redhat.com>
37115 * sysdeps/i386/i686/multiarch/Makefile
37116 (CFLAGS-varshift.c): New variable.
37118 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37120 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37121 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37125 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37127 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37129 * sysdeps/x86_64/strlen.S: Unroll the loop.
37130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37131 strlen-sse2 strlen-sse2-bsf.
37132 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37133 __strlen_no_bsf if bit_Slow_BSF is set.
37134 (__strlen_sse42): Removed.
37135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37136 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37138 2010-08-25 Roland McGrath <roland@redhat.com>
37140 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37141 * sysdeps/x86_64/multiarch/varshift.c: New file.
37142 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37143 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37144 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37145 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37147 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37150 strlen-sse2 strlen-sse2-bsf.
37151 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37152 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37153 (__strlen_sse2): Removed.
37154 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37157 bit_Slow_BSF for Atom.
37158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37159 (index_Slow_BSF): Define.
37160 (HAS_SLOW_BSF): Define.
37162 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37165 * resolv/res_init.c (__res_vinit): When no server address at all
37166 is given default to loopback.
37168 2010-08-24 Roland McGrath <roland@redhat.com>
37170 * configure.in: Remove config-name.h generation.
37171 * configure: Regenerated.
37172 * config-name.in: File removed.
37173 * scripts/config-uname.sh: New file.
37174 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37175 ($(objdir)config-name.h): New target.
37177 * sunrpc/rpc_parse.h: Avoid nested comment.
37179 2010-08-24 Richard Henderson <rth@redhat.com>
37180 Ulrich Drepper <drepper@redhat.com>
37181 H.J. Lu <hongjiu.lu@intel.com>
37183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37185 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37186 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37187 _mm_alignr_epi8 with _mm_loadu_si128.
37188 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37189 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37190 (__m128i_shift_right): Removed.
37191 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37192 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37193 * sysdeps/x86_64/multiarch/varshift.h: New file.
37194 * sysdeps/x86_64/multiarch/varshift.S: New file.
37196 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37198 * configure.in: Move assembler checks to before sysdep dir checking.
37200 2010-08-20 Petr Baudis <pasky@suse.cz>
37202 * LICENSES: Sync the sunrpc license.
37204 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37206 * sunrpc/auth_des.c: Update copyright notice once again.
37207 * sunrpc/auth_none.c: Likewise.
37208 * sunrpc/auth_unix.c: Likewise.
37209 * sunrpc/authdes_prot.c: Likewise.
37210 * sunrpc/authuxprot.c: Likewise.
37211 * sunrpc/bindrsvprt.c: Likewise.
37212 * sunrpc/clnt_gen.c: Likewise.
37213 * sunrpc/clnt_perr.c: Likewise.
37214 * sunrpc/clnt_raw.c: Likewise.
37215 * sunrpc/clnt_simp.c: Likewise.
37216 * sunrpc/clnt_tcp.c: Likewise.
37217 * sunrpc/clnt_udp.c: Likewise.
37218 * sunrpc/clnt_unix.c: Likewise.
37219 * sunrpc/des_crypt.c: Likewise.
37220 * sunrpc/des_soft.c: Likewise.
37221 * sunrpc/get_myaddr.c: Likewise.
37222 * sunrpc/getrpcport.c: Likewise.
37223 * sunrpc/key_call.c: Likewise.
37224 * sunrpc/key_prot.c: Likewise.
37225 * sunrpc/openchild.c: Likewise.
37226 * sunrpc/pm_getmaps.c: Likewise.
37227 * sunrpc/pm_getport.c: Likewise.
37228 * sunrpc/pmap_clnt.c: Likewise.
37229 * sunrpc/pmap_prot.c: Likewise.
37230 * sunrpc/pmap_prot2.c: Likewise.
37231 * sunrpc/pmap_rmt.c: Likewise.
37232 * sunrpc/rpc/auth.h: Likewise.
37233 * sunrpc/rpc/auth_unix.h: Likewise.
37234 * sunrpc/rpc/clnt.h: Likewise.
37235 * sunrpc/rpc/des_crypt.h: Likewise.
37236 * sunrpc/rpc/key_prot.h: Likewise.
37237 * sunrpc/rpc/netdb.h: Likewise.
37238 * sunrpc/rpc/pmap_clnt.h: Likewise.
37239 * sunrpc/rpc/pmap_prot.h: Likewise.
37240 * sunrpc/rpc/pmap_rmt.h: Likewise.
37241 * sunrpc/rpc/rpc.h: Likewise.
37242 * sunrpc/rpc/rpc_des.h: Likewise.
37243 * sunrpc/rpc/rpc_msg.h: Likewise.
37244 * sunrpc/rpc/svc.h: Likewise.
37245 * sunrpc/rpc/svc_auth.h: Likewise.
37246 * sunrpc/rpc/types.h: Likewise.
37247 * sunrpc/rpc/xdr.h: Likewise.
37248 * sunrpc/rpc_clntout.c: Likewise.
37249 * sunrpc/rpc_cmsg.c: Likewise.
37250 * sunrpc/rpc_common.c: Likewise.
37251 * sunrpc/rpc_cout.c: Likewise.
37252 * sunrpc/rpc_dtable.c: Likewise.
37253 * sunrpc/rpc_hout.c: Likewise.
37254 * sunrpc/rpc_main.c: Likewise.
37255 * sunrpc/rpc_parse.c: Likewise.
37256 * sunrpc/rpc_parse.h: Likewise.
37257 * sunrpc/rpc_prot.c: Likewise.
37258 * sunrpc/rpc_sample.c: Likewise.
37259 * sunrpc/rpc_scan.c: Likewise.
37260 * sunrpc/rpc_scan.h: Likewise.
37261 * sunrpc/rpc_svcout.c: Likewise.
37262 * sunrpc/rpc_tblout.c: Likewise.
37263 * sunrpc/rpc_util.c: Likewise.
37264 * sunrpc/rpc_util.h: Likewise.
37265 * sunrpc/rpcinfo.c: Likewise.
37266 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37267 * sunrpc/rpcsvc/key_prot.x: Likewise.
37268 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37269 * sunrpc/rpcsvc/mount.x: Likewise.
37270 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37271 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37272 * sunrpc/rpcsvc/rex.x: Likewise.
37273 * sunrpc/rpcsvc/rstat.x: Likewise.
37274 * sunrpc/rpcsvc/rusers.x: Likewise.
37275 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37276 * sunrpc/rpcsvc/spray.x: Likewise.
37277 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37278 * sunrpc/rtime.c: Likewise.
37279 * sunrpc/svc.c: Likewise.
37280 * sunrpc/svc_auth.c: Likewise.
37281 * sunrpc/svc_authux.c: Likewise.
37282 * sunrpc/svc_raw.c: Likewise.
37283 * sunrpc/svc_run.c: Likewise.
37284 * sunrpc/svc_simple.c: Likewise.
37285 * sunrpc/svc_tcp.c: Likewise.
37286 * sunrpc/svc_udp.c: Likewise.
37287 * sunrpc/svc_unix.c: Likewise.
37288 * sunrpc/svcauth_des.c: Likewise.
37289 * sunrpc/xcrypt.c: Likewise.
37290 * sunrpc/xdr.c: Likewise.
37291 * sunrpc/xdr_array.c: Likewise.
37292 * sunrpc/xdr_float.c: Likewise.
37293 * sunrpc/xdr_mem.c: Likewise.
37294 * sunrpc/xdr_rec.c: Likewise.
37295 * sunrpc/xdr_ref.c: Likewise.
37296 * sunrpc/xdr_sizeof.c: Likewise.
37297 * sunrpc/xdr_stdio.c: Likewise.
37299 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37302 2010-08-19 Andreas Schwab <schwab@redhat.com>
37304 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37306 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37308 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37309 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37310 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37311 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37312 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37313 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37314 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37315 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37316 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37317 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37318 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37319 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37320 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37321 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37323 2010-07-26 Anton Blanchard <anton@samba.org>
37325 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37326 * malloc/arena.c (heap_trim): Likewise.
37328 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37330 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37332 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37333 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37335 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37337 * sysdeps/i386/elf/Makefile: New file.
37339 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37341 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37342 from fanotify_init.
37343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37346 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37348 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37350 * sysdeps/multiarch/strcmp.S: Likewise.
37352 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37355 strncase_l-nonascii.
37356 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37357 Add strncase_l-ssse3.
37358 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37359 * sysdeps/x86_64/strcmp.S: Likewise.
37360 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37361 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37362 * sysdeps/x86_64/strncase.S: New file.
37363 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37364 * sysdeps/x86_64/strncase_l.S: New file.
37365 * string/Makefile (strop-tests): Add strncasecmp.
37366 * string/test-strncasecmp.c: New file.
37368 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37371 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37372 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37374 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37376 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37378 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37380 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37381 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37382 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37384 2010-05-01 Alan Modra <amodra@gmail.com>
37386 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37387 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37388 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37389 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37390 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37391 tidying. Don't tail-call __sigjmp_save for static lib.
37392 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37394 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37395 (CALL_MCOUNT): Add eh info, and nop after bl.
37396 (TAIL_CALL_SYSCALL_ERROR): New macro.
37397 (PSEUDO_RET): Use it.
37398 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37399 Correct save location of integer regs and cr.
37400 (_dl_profile_resolve): Correct cr save location. Delete nops
37401 after bl when SHARED. Reduce cfi size a little by better
37402 placement of cfi directives.
37403 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37404 make a stack frame. Instead use parm save area as a temp.
37405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37406 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37408 Don't make a stack frame for parent, use parm save area.
37409 Increase child stack frame to 112 bytes. Don't save unused reg,
37410 and adjust reg usage. Set up cfi on error recovery and
37411 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37413 (__makecontext): Add dummy nop after jump to exit.
37414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37415 Use correct parm save area and cr save, reduce stack frame.
37416 Correct cfi for possible PSEUDO_RET frame setup.
37417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37418 Branch to local label emitted by PSEUDO_RET rather than
37421 2010-08-12 Andreas Schwab <schwab@redhat.com>
37424 * locale/programs/locale.c (print_assignment): New function.
37425 (show_locale_vars): Use it.
37427 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37429 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37431 (struct statfs64): Likewise.
37432 (_STATFS_F_FLAGS): Define.
37433 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37434 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37435 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37436 (ST_VALID): Define locally.
37437 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37438 __statvfs_getflags, use the provided value.
37439 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37440 __ASSUME_STATFS_F_FLAGS.
37442 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37444 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37445 Add sys/fanotify.h.
37446 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37447 fanotify_mask for GLIBC_2.13.
37448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37449 fanotify_init and fanotify_mark.
37450 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37451 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37453 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37455 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37456 prlimit64 for GLIBC_2.13.
37457 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37459 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37462 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37463 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37464 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37467 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37470 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37471 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37473 * nss/Makefile: Add rules to build and run tst-nss-test1.
37474 * shlib-versions: Add entry for libnss_test1.
37475 * nss/nss_test1.c: New file.
37476 * nss/tst-nss-test1.c: New file.
37478 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37479 (__nss_configure_lookup): Set appropriate entry in
37480 __nss_configure_lookup to true.
37481 * nss/nsswitch.h: Define enum with indeces of databases in
37482 databases and __nss_database_custom arrays. Declare
37483 __nss_database_custom.
37484 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37485 to avoid using nscd when custom rules are installed.
37486 * nss/getXXbyYY_r.c: Likewise.
37487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37489 * nss/nss_files/files-parse.c: Whitespace fixes.
37491 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37494 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37495 * posix/fnmatch_loop.c: Likewise.
37497 2010-07-17 Andi Kleen <ak@linux.intel.com>
37499 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37500 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37501 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37502 * Versions.def [GLIBC_2.13]: Add.
37504 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37507 Also fail if tpwd after pwuid call is NULL.
37509 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37511 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37512 when converting to ms.
37514 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37516 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37517 EOPNOTSUPP errors with ENOTTY.
37518 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37519 EOPNOTSUPP errors with ENOTTY.
37521 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37523 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37524 Add strcasecmp_l-ssse3.
37525 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37527 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37528 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37529 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37531 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37533 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37535 * string/Makefile (strop-tests): Add strcasecmp.
37536 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37537 strcasecmp_l-nonascii.
37538 (gen-as-const-headers): Add locale-defines.sym.
37539 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37540 * sysdeps/x86_64/strcasecmp.S: New file.
37541 * sysdeps/x86_64/strcasecmp_l.S: New file.
37542 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37543 * sysdeps/x86_64/locale-defines.sym: New file.
37544 * string/test-strcasecmp.c: New file.
37546 * string/test-strcasestr.c: Test both ends of the range of characters.
37547 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37549 2010-07-29 Roland McGrath <roland@redhat.com>
37552 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37554 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37556 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37559 2010-07-27 Andreas Schwab <schwab@redhat.com>
37561 * manual/memory.texi (Malloc Tunable Parameters): Document
37564 2010-07-26 Roland McGrath <roland@redhat.com>
37567 * configure.in (-fgnu89-inline check): Set and substitute
37568 gnu89_inline, not libc_cv_gnu89_inline.
37569 * configure: Regenerated.
37570 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37572 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37574 * string/test-strnlen.c: New file.
37575 * string/Makefile (strop-tests): Add strnlen.
37576 * string/tester.c (test_strnlen): Add a few more test cases.
37577 * string/tst-strlen.c: Better error reporting.
37579 * sysdeps/x86_64/strnlen.S: New file.
37581 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37583 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37584 lower-latency instructions.
37586 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37588 * string/test-strcasestr.c: New file.
37589 * string/test-strstr.c: New file.
37590 * string/Makefile (strop-tests): Add strstr and strcasestr.
37591 * string/str-two-way.h: Don't undefine MAX.
37592 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37594 2010-07-21 Andreas Schwab <schwab@redhat.com>
37596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37597 strcasestr-nonascii.
37598 (CFLAGS-strcasestr-nonascii.c): Define.
37599 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37600 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37601 Remove unused attribute.
37603 2010-07-20 Roland McGrath <roland@redhat.com>
37605 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37606 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37607 ld.so.cache was broken. With it, there is no way to disable dsocaps
37608 like LD_HWCAP_MASK can disable hwcaps.
37610 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37612 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37614 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37616 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37617 call in strcasestr.
37618 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37619 __strcasestr_sse42_nonascii.
37620 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37621 strcasestr-nonascii.c.
37622 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37624 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37626 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37627 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37629 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37631 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37633 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37636 2010-07-06 Andreas Schwab <schwab@redhat.com>
37639 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37642 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37644 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37645 _PC_PIPE_BUF using F_GETPIPE_SZ.
37647 2010-07-05 Roland McGrath <roland@redhat.com>
37649 * manual/arith.texi (Rounding Functions): Fix rint description
37650 implicit in round description.
37652 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37654 * elf/Makefile: Fix linking for a few tests to make recent linker
37657 2010-06-30 Andreas Schwab <schwab@redhat.com>
37659 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37660 $(common-objpfx)libc_nonshared.a.
37662 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37664 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37665 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37666 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37667 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37668 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37669 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37670 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37671 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37686 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37687 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37688 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37689 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37690 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37691 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37692 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37693 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37694 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37695 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37696 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37697 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37713 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37715 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37716 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37717 * string/memmove.c (memmove): Renamed to ...
37718 (MEMMOVE): ...this. Default to memmove.
37719 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37720 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37723 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37724 mempcpy-ssse3-back memmove-ssse3-back.
37725 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37727 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37728 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37729 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37730 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37731 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37732 * sysdeps/x86_64/multiarch/memmove.c: New file.
37733 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37734 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37735 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37736 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37738 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37740 (index_Fast_Copy_Backward): Define.
37741 (HAS_ARCH_FEATURE): Define.
37742 (HAS_FAST_REP_STRING): Define.
37743 (HAS_FAST_COPY_BACKWARD): Define.
37745 2010-06-21 Andreas Schwab <schwab@redhat.com>
37747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37748 Restore proper fallback handling.
37750 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37753 * posix/group_member.c (__group_member): Correct checking loop.
37755 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37756 OOM in getpwuid_r correctly. Return error number when the caller
37757 should return, otherwise -1.
37758 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37759 call returning > 0 value.
37760 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37762 2010-06-07 Andreas Schwab <schwab@redhat.com>
37764 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37765 libc_nonshared.a from targets in modules-names.
37767 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37769 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37772 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37774 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37775 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37776 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37777 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37779 2010-06-02 Andreas Schwab <schwab@redhat.com>
37781 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37783 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37787 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37788 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37791 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37792 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37794 2010-06-14 Roland McGrath <roland@redhat.com>
37796 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37798 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37800 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37801 __REDIRECT followed by __THROW.
37802 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37803 * posix/getopt.h (getopt): Likewise.
37805 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37807 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37808 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37809 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37811 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37812 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37814 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37816 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37818 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37822 Properly check family and model.
37824 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37826 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37828 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37830 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37832 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37834 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37837 2010-05-19 Andreas Schwab <schwab@redhat.com>
37839 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37842 2010-05-21 Andreas Schwab <schwab@redhat.com>
37844 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37845 and internal_recvmmsg.
37846 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37847 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37848 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37849 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37851 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37852 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37853 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37855 2010-05-20 Andreas Schwab <schwab@redhat.com>
37857 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37859 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37861 POWER7 optimizations.
37862 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37863 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37865 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37867 * version.h: Update for 2.13 development version.
37869 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37871 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37872 exceptions. Return 0.
37874 2010-05-07 Roland McGrath <roland@redhat.com>
37876 * elf/ldconfig.c (main): Add a const.
37878 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37880 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37881 (args_options): Add no-idn option.
37882 (ahosts_keys_int): Add idn_flags to ai_flags.
37883 (parse_option): Handle 'i' option to clear idn_flags.
37885 * malloc/malloc.c (_int_free): Possible race in the most recently
37886 added check. Only act on the data if no current modification
37889 See ChangeLog.17 for earlier changes.