1 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4 Use M to change sign of result instead of X. Assume X is
10 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17 (sloww1): Don't adjust sign of DX.
19 (sloww2): Use X directly and don't adjust sign of DX.
22 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24 * math/auto-libm-test-in: Add tests of cabs and carg.
25 * math/auto-libm-test-out: Regenerated.
26 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27 (carg_test_data): Likewise.
28 * math/gen-auto-libm-tests.c (func_calc_method): Add value
30 (func_calc_desc): Add mpc_c_f union field.
31 (test_functions): Add cabs and carg.
32 (calc_generic_results): Handle mpc_c_f.
34 * sysdeps/powerpc/powerpc32/libgcc-compat.S
35 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
36 as a macro and a compat symbol.
37 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
46 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
54 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
64 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
65 (__signal_safe_memalign, __signal_safe_free): Use it.
66 (__signal_safe_realloc): Likewise.
68 2013-12-19 Joseph Myers <joseph@codesourcery.com>
70 * manual/texinfo.tex: Update to version 2013-11-26.10 with
71 trailing whitespace removed.
72 * scripts/config.guess: Update to version 2013-11-29.
73 * scripts/config.sub: Update to version 2013-10-01.
75 * math/auto-libm-test-in: Add tests of sincos.
76 * math/auto-libm-test-out: Regenerated.
77 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
78 * math/gen-auto-libm-tests.c (func_calc_method): Add value
80 (func_calc_desc): Add mpfr_f_11 union field.
81 (test_functions): Add sincos.
82 (calc_generic_results): Handle mpfr_f_11.
83 * sysdeps/i386/fpu/libm-test-ulps: Update.
84 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86 2013-12-19 Andreas Schwab <schwab@suse.de>
88 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
90 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
91 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
92 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
94 2013-12-19 Joseph Myers <joseph@codesourcery.com>
96 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
97 * sysdeps/i386/fpu/libm-test-ulps: Update.
98 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
101 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
102 round-to-nearest mode when using frndint.
103 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
104 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
105 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
107 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
109 * math/auto-libm-test-out: Regenerated.
110 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
111 (TEST_COND_x86): Likewise.
112 (expm1_tonearest_test_data): New array.
113 (expm1_test_tonearest): New function.
114 (expm1_towardzero_test_data): New array.
115 (expm1_test_towardzero): New function.
116 (expm1_downward_test_data): New array.
117 (expm1_test_downward): New function.
118 (expm1_upward_test_data): New array.
119 (expm1_test_upward): New function.
120 (main): Run the new test functions.
121 * sysdeps/i386/fpu/libm-test-ulps: Update.
122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
124 * include/features.h: Update comment documenting feature test
125 macros. Mention _DEFAULT_SOURCE in comment.
126 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
127 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
128 _BSD_SOURCE and _SVID_SOURCE.
129 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
130 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
131 !_SVID_SOURCE]: Likewise.
132 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
133 (__USE_POSIX_IMPLICITLY): Define.
134 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
135 (_POSIX_SOURCE): Undefine and redefine.
136 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
137 (_POSIX_C_SOURCE): Likewise.
138 * manual/creature.texi (_DEFAULT_SOURCE): Document.
139 (Feature Test Macros): Update documentation of default features.
141 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
143 * benchtests/Makefile: Add bench-strtok.
144 * benchtests/bench-strtok.c: New file: strtok benchtest.
146 2013-12-19 Allan McRae <allan@archlinux.org>
148 * manual/install.texi: Suppress menu for plain text output.
149 * INSTALL: Regenerated.
151 2013-12-18 Andrew Hunter <ahh@google.com>
153 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
154 (__signal_safe_malloc, __signal_safe_free): Likewise.
155 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
156 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
157 (__signal_safe_memalign, __signal_safe_malloc): New function.
158 (__signal_safe_free, __signal_safe_realloc): Likewise.
159 (__signal_safe_calloc): Likewise.
160 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
162 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
164 2013-12-18 Andrew Hunter <ahh@google.com>
166 * elf/Versions (ld): Add _dl_clear_dtv.
167 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
168 * elf/dl-tls.c (_dl_clear_dtv): New function.
169 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
171 2013-12-18 Andrew Hunter <ahh@google.com>
173 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
174 (_dl_unmask_signals): Likewise.
175 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
176 (_dl_unmask_all_signals): Likewise.
177 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
178 (_dl_unmask_all_signals): Likewise.
179 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
180 (_dl_unmask_signals): Likewise.
182 2013-12-18 Brooks Moses <bmoses@google.com>
185 * misc/getauxval.c: Include errno.h.
186 (__getauxval): Set errno to ENOENT if the requested type is not
188 * misc/sys/auxv.h (getauxval): Document that it may set errno;
189 don't declare with __attribute_const__.
190 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
191 * manual/startup.texi: Document that getauxval sets errno.
193 2013-12-18 Joseph Myers <joseph@codesourcery.com>
195 * math/auto-libm-test-in: Add tests of jn and yn.
196 * math/auto-libm-test-out: Regenerated.
197 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
198 (yn_test_data): Likewise.
199 * math/gen-auto-libm-tests.c (func_calc_method): Add value
201 (func_calc_desc): Add mpfr_if_f union field.
202 (FUNC_mpfr_if_f): New macro.
203 (test_functions): Add jn and yn.
204 (calc_generic_results): Assert type of second input for
205 mpfr_ff_f. Handle mpfr_if_f.
206 (output_for_one_input_case): Disable all checking for arguments
207 fitting floating-point types in case of an integer argument.
208 * sysdeps/i386/fpu/libm-test-ulps: Update.
209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
212 Don't expect fegetround reference in libm.so.
214 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
216 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
217 $(config-cflags-nofma).
219 2013-12-18 Joseph Myers <joseph@codesourcery.com>
221 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
222 * math/auto-libm-test-out: Regenerated.
225 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
226 to determine exponent and adjust argument to have exponent of -1.
227 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
229 * math/auto-libm-test-out: Regenerated.
230 * sysdeps/i386/fpu/libm-test-ulps: Update.
231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
233 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
235 * manual/probes.texi: Remove cases when per-thread arenas are
238 2013-12-18 Andreas Schwab <schwab@suse.de>
240 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
241 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
242 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
243 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
244 * sysdeps/i386/i686/multiarch/Makefile: Update.
245 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
247 2013-12-17 Joseph Myers <joseph@codesourcery.com>
249 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
250 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
252 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
254 Support TZ transition times < 00:00:00.
255 This is needed for version-3 tz-format files; it supports time
256 stamps past 2037 for America/Godthab (the only entry in the tz
257 database for which this change is relevant).
258 * manual/time.texi (TZ Variable): Document transition times
259 from -167:59:59 through -00:00:01.
260 * time/tzset.c (tz_rule): Time of day is now signed.
261 (__tzset_parse_tz): Parse negative time of day.
263 Document TZ transition times >= 25:00:00.
264 * manual/time.texi (TZ Variable): Document transition times from
265 25:00:00 through 167:59:59. These are already supported, and this
266 support will help with version-3 tz-format files.
268 * manual/time.texi (TZ Variable): Modernize North America example
269 to reflect current (i.e., 2007-and-later) daylight saving rules.
271 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
273 2013-12-17 Joseph Myers <joseph@codesourcery.com>
275 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
276 * sysdeps/unix/bsd/bits/stat.h: Likewise.
277 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
279 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
280 * sysdeps/unix/bsd/bsdstat.h: Likewise.
281 * sysdeps/unix/bsd/clock.c: Likewise.
282 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
283 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
284 * sysdeps/unix/bsd/init-posix.c: Likewise.
285 * sysdeps/unix/bsd/poll.c: Likewise.
286 * sysdeps/unix/bsd/ptsname.c: Likewise.
287 * sysdeps/unix/bsd/seekdir.c: Likewise.
288 * sysdeps/unix/bsd/setegid.c: Likewise.
289 * sysdeps/unix/bsd/seteuid.c: Likewise.
290 * sysdeps/unix/bsd/setgid.c: Likewise.
291 * sysdeps/unix/bsd/setrgid.c: Likewise.
292 * sysdeps/unix/bsd/setruid.c: Likewise.
293 * sysdeps/unix/bsd/setsid.c: Likewise.
294 * sysdeps/unix/bsd/setuid.c: Likewise.
295 * sysdeps/unix/bsd/sigaction.c: Likewise.
296 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
297 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
298 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
299 * sysdeps/unix/bsd/telldir.c: Likewise.
300 * sysdeps/unix/bsd/times.c: Likewise.
301 * sysdeps/unix/bsd/usleep.c: Likewise.
303 * misc/Makefile (install-lib): Remove libbsd-compat.a.
304 ($(objpfx)libbsd-compat.a): Remove rule.
306 * include/features.h (__FAVOR_BSD): Do not define.
307 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
308 features conflicting with POSIX.
309 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
310 (_BSD_SOURCE): Remove description of not being a subset of other
312 * manual/job.texi (getpgrp): Do not document BSD version.
313 (getpgid): Do not document by reference to BSD getpgrp.
314 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
315 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
316 * signal/signal.h [__FAVOR_BSD]: Likewise.
317 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
318 instead of making contents conditional on [__FAVOR_BSD].
319 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
321 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
325 2013-12-17 Joseph Myers <joseph@codesourcery.com>
328 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
329 values below 2**-450, not 2**-500.
330 * math/auto-libm-test-in: Don't allow spurious underflow from
332 * math/auto-libm-test-out: Regenerated.
336 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
337 values of ha and hb and sort them after adjusting subnormal
339 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
341 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
342 values of ea and eb and sort them after adjusting subnormal
344 * math/auto-libm-test-in: Do not expect some hypot tests of
345 subnormals to fail. Add more hypot tests.
346 * math/auto-libm-test-out: Regenerated.
348 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
351 * sysdeps/sh/s_fma.c: New file.
352 * sysdeps/sh/s_fmaf.c: New file.
353 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
355 * sysdeps/sh/Implies: Add sh/soft-fp.
357 2013-12-16 Roland McGrath <roland@hack.frob.com>
359 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
360 level of indirection to members `objname', `errstring', `malloced'.
361 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
362 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
363 it as the __longjmp argument (just pass 1 instead).
364 (_dl_catch_error): Initialize C with argument pointers and address of
365 volatile local ERRCODE rather than copying values out of C at return.
367 2013-12-16 Joseph Myers <joseph@codesourcery.com>
369 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
370 * math/auto-libm-test-out: Regenerated.
371 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
372 (hypot_test_data): Likewise.
373 (pow_test_data): Likewise.
374 (pow_tonearest_test_data): Likewise.
375 * math/gen-auto-libm-tests.c (func_calc_method): Add value
377 (func_calc_desc): Add mpfr_ff_f union field.
378 (FUNC_mpfr_ff_f): New macro.
379 (test_functions): Add atan2, hypot and pow.
380 (special_fill_min): New function.
381 (special_fill_minus_min): Likewise.
382 (special_fill_min_subnorm): Likewise.
383 (special_fill_minus_min_subnorm): Likewise.
384 (special_real_inputs): Add min, -min, min_subnorm and
386 (calc_generic_results): Handle mpfr_ff_f.
387 * sysdeps/i386/fpu/libm-test-ulps: Update.
388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
390 2013-12-16 Will Newton <will.newton@linaro.org>
392 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
393 (Aligned Memory Blocks): Add documentation for aligned_alloc
394 and suggest it as an alternative to posix_memalign.
395 (Hooks for Malloc): Document __memalign_hook is also called
396 for aligned_alloc. (Summary of Malloc): Add summary for
397 aligned alloc. Document __memalign_hook is also called
400 2013-12-16 Will Newton <will.newton@linaro.org>
402 * manual/memory.texi (Malloc Examples): Clarify default
403 alignment documentation. Suggest posix_memalign rather
404 than memalign or valloc.
405 (Aligned Memory Blocks): Remove suggestion to use memalign
406 or valloc. Remove obsolete comment about BSD.
407 Document memalign errno values and mark the function obsolete.
408 Document posix_memalign returned error codes. Mark valloc
409 as obsolete. (Hooks for Malloc): __memalign_hook is also
410 called for posix_memalign and valloc.
411 (Summary of Malloc): Add posix_memalign to function summary.
412 __memalign_hook is also called for posix_memalign and valloc.
414 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
416 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
420 (sloww): Use mynumber union. Expand ternary operator into
422 (cslow): use mynumber union.
424 2013-12-16 Allan McRae <allan@archlinux.org>
426 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
427 * configure: Regenerated.
429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
432 * configure.ac: Added --enable-maintainer-mode. Check for
433 autoconf when enabled.
434 * configure: Regenerated.
436 * nscd/nscd.service: New file.
437 * nscd/nscd.tmpfiles: New file.
439 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
442 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
443 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
444 * sysdeps/x86_64/multiarch/strstr.c: ... here.
445 (strstr): Add __strstr_sse2_unaligned ifunc.
446 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
447 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
448 (strcasestr): Remove __strcasestr_sse42 ifunc.
449 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
453 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
455 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
456 * sysdeps/sh/bits/fenv.h: ... here.
457 * sysdeps/sh/sh4/fpu/bits: Remove directory.
459 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
461 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
463 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
466 hypotf multiarch implementations.
467 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
469 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
470 multiarch hypot for PPC64.
471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
472 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
474 multiarch hypotf for PPC64.
476 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
479 modff multiarch implementations.
480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
483 multiarch modf for PPC64.
484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
487 multiarch modff for PPC64.
489 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
492 and logl multiarch implementations.
493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
496 multiarch logb for PPC64.
497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
500 multiarch logb for PPC64.
501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
504 multiarch logb for PPC64.
506 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
509 isinff multiarch implementation.
510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
514 multiarch isinf for PPC64.
515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
518 multiarch isinff for PPC64.
520 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
523 finitef multiarch implementation.
524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
528 multiarch finite for PPC64.
529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
532 multiarch finitef for PPC64.
534 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
537 lrint multiarch implementation.
538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
542 multiarch llrint for PPC64.
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
544 multiarch lrint for PPC64.
546 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
549 copysignf multiarch implementation.
550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
555 multiarch copysign for PPC64.
556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
557 multiarch copysignf for PPC64.
559 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
562 multiarch implementation.
563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
571 multiarch llround for PPC64.
572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
573 multiarch trunc for PPC64.
574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
575 multiarch truncf for PPC64.
577 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
580 multiarch implementation.
581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
589 multiarch llround for PPC64.
590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
591 multiarch round for PPC64.
592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
593 multiarch roundf for PPC64.
595 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
598 multiarch implementation.
599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
607 multiarch llround for PPC64.
608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
609 multiarch floor for PPC64.
610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
611 multiarch floorf for PPC64.
613 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
616 multiarch implementation.
617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
625 multiarch llround for PPC64.
626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
627 multiarch ceil for PPC64.
628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
629 multiarch ceilf for PPC64.
631 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
634 multiarch implementation.
635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
642 multiarch llround for PPC64.
643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
644 multiarch lround for PPC64.
646 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
649 multiarch implementation.
650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
657 multiarch isnan for PPC64.
658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
659 multiarch isnanf for PPC64.
661 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
663 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
664 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
665 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
666 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
667 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
670 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
672 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
673 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
677 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
680 multiarch implementations.
681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
682 (__libc_ifunc_impl_list): Likewise.
683 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
684 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
685 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
686 multiarch stpcpy for PPC64.
688 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
691 multiarch implementations.
692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
693 (__libc_ifunc_impl_list): Likewise.
694 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
695 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
696 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
697 multiarch strcpy for PPC64.
699 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
701 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
702 redefine function name.
703 (_wordcopy_fwd_dest_aligned): Likewise.
704 (_wordcopy_bwd_aligned): Likewise.
705 (_wordcopy_bwd_dest_aligned): Likewise.
706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
707 multiarch implementations.
708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
709 (__libc_ifunc_impl_list): Likewise.
710 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
711 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
712 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
713 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.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 wcscpy
719 multiarch implementations.
720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
721 (__libc_ifunc_impl_list): Likewise.
722 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
723 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
724 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
725 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
726 multiarch wcscpy for PPC64.
728 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
731 multiarch implementations.
732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
733 (__libc_ifunc_impl_list): Likewise.
734 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
735 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
736 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
737 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
738 multiarch wcsrchr for PPC64.
740 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
743 multiarch implementations.
744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
745 (__libc_ifunc_impl_list): Likewise.
746 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
747 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
748 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
749 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
750 multiarch wcschr for PPC64.
752 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
755 multiarch implementations.
756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
757 (__libc_ifunc_impl_list): Likewise.
758 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
759 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
760 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
761 multiarch strchrnul for PPC64.
763 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
768 (__libc_ifunc_impl_list): Likewise.
769 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
770 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
771 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
772 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
775 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
780 (__libc_ifunc_impl_list): Likewise.
781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
782 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
783 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
784 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
787 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
790 multiarch implementations.
791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
792 (__libc_ifunc_impl_list): Likewise.
793 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
794 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
795 strncasecmp for PPC64.
796 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
797 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
798 multiarch strncasecmp_l for PPC64.
800 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
803 multiarch implementations.
804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
805 (__libc_ifunc_impl_list): Likewise.
806 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
808 multiarch strcasecmp for PPC64.
809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
811 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
812 multiarch strcasecmp_l for PPC64.
814 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
819 (__libc_ifunc_impl_list): Likewise.
820 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
821 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
822 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
825 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
830 (__libc_ifunc_impl_list): Likewise.
831 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
832 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
833 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
836 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
841 (__libc_ifunc_impl_list): Likewise.
842 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
843 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
844 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
845 rawmemrchr for PPC64.
847 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
852 (__libc_ifunc_impl_list): Likewise.
853 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
854 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
855 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
858 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
863 (__libc_ifunc_impl_list): Likewise.
864 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
865 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
866 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
869 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
874 (__libc_ifunc_impl_list): Likewise.
875 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
876 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
877 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
880 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
882 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
883 avoid cretion of __bzero symbol.
884 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
886 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
888 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
891 multiarch implementations.
892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
893 (__libc_ifunc_impl_list): Likewise.
894 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
895 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
896 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
897 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
899 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
900 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
901 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
902 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
903 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
905 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
907 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
909 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
913 (__libc_ifunc_impl_list): Likewise.
914 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
915 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
916 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
917 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
920 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
923 multiarch for POWER/PPC64.
924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
925 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
926 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
927 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
929 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
932 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
935 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
937 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
938 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
939 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
940 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
941 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
942 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
943 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
944 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
945 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
946 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
947 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
948 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
949 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
950 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
951 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
960 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
964 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
966 * benchtests/Makefile (bench): Add exp2 and log2.
967 (LDLIBS-bench-exp2): Add -lm.
968 (LDLIBS-bench-log2): Likewise.
969 * benchtests/exp2-inputs: New inputs file.
970 * benchtests/log2-inputs: New inputs file.
971 * benchtests/log-inputs: Add new inputs.
972 * benchtests/tan-inputs: Likewise.
974 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
976 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
978 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
979 csloww1, csloww2): ... from here.
981 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
982 instead of structures.
983 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
984 (POLYNOMIAL): Likewise.
985 (TAYLOR_SLOW): Likewise.
1000 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1002 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1003 (__malloc_assert, __libc_realloc, __libc_calloc,
1004 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1006 * malloc/hooks.c (realloc_check): Likewise.
1008 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1010 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1011 * malloc/arena.c: Remove PER_THREAD conditional.
1012 [!PER_THREAD]: Remove code.
1013 (ptmalloc_unlock_all2): Likewise.
1014 (ptmalloc_init): Likewise.
1015 (_int_new_arena): Likewise.
1016 (arena_get2): Likewise.
1017 * malloc/hooks.c (__malloc_get_state): Likewise.
1018 (__malloc_set_state): Likewise.
1019 * malloc/malloc.c: Likewise.
1020 (struct malloc_state): Likewise.
1021 (struct malloc_par): Likewise.
1022 (__libc_realloc): Likewise.
1023 (__libc_mallopt): Likewise.
1025 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1027 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1029 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1031 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1032 macro to a function. Check for zero perturb_byte.
1033 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1035 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1037 * malloc/malloc.c: (force_reg): Remove.
1038 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1039 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1040 force_reg by atomic_forced_read.
1041 * malloc/arena.c (ptmalloc_init): Likewise.
1042 * malloc/hooks.c (top_check): Likewise.
1044 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1048 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1052 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1054 * math/auto-libm-test-in: Add tests of lgamma.
1055 * math/auto-libm-test-out: Regenerated.
1056 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1057 (M_LOG_2_SQRT_PIl): Likewise.
1058 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1059 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1061 (func_calc_desc): Add mpfr_f_f1 union field.
1070 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1071 (test_functions): Add lgamma.
1072 (calc_generic_results): Handle mpfr_f_f1.
1073 * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1076 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1079 __mpn_add_n for PowerPC64/POWER7.
1080 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1081 __mpn_sub_n for PowerPC64/POWER7.
1083 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1086 __mpn_addmul_1 for PowerPC64.
1087 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1088 __mpn_submul_1 for PowerPC64.
1089 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1091 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1094 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1097 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1099 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1101 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1103 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1105 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1106 add multiarch folders.
1107 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1108 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1109 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1110 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1111 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1112 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1113 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1114 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1115 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1116 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1117 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1125 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1128 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1134 multiarch __ieee754_hypot for PowerPC32.
1135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1140 multiarch __ieee754_hypotf for PowerPC32.
1142 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1145 long_double_symbol only if __logbl is defined.
1146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1147 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1149 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1151 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1152 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1153 path for implementation.
1154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1155 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1157 logb, and logbl multiarch implementations for PowerPC32.
1158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1163 multiarch logb for PowerPC32.
1164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1169 multiarch logbf for PowerPC32.
1170 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1174 multiarch logbl implementation for PowerPC32.
1176 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1179 and modff multiarch implementations.
1180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1185 multiarch modf for PowerPC32.
1186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1191 multiarch modff for PowerPC32.
1193 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1196 and lrintf multiarch implementations.
1197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1202 multiarch lrint for PowerPC32.
1203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1204 file: multiarch lrintf for PowerPC32.
1206 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1209 and lroundf multiarch implementations.
1210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1217 multiarch lround for PowerPC32.
1218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1219 file: multiarch lroundf for PowerPC32.
1221 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1224 copysign and copysignf multiarch implementations.
1225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1230 file: multiarch copysign for PowerPC32.
1231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1232 file: multiarch copysignf for PowerPC32.
1234 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1237 and truncf multiarch implementations.
1238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1243 multiarch trunc for PowerPC32.
1244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1249 multiarch truncf for PowerPC32.
1251 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1254 and roundf multiarch implementations.
1255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1260 multiarch round for PowerPC32.
1261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1266 multiarch roundf for PowerPC32.
1268 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1271 and floorf multiarch implementations.
1272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1277 multiarch floor for PowerPC32.
1278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1283 multiarch floorf for PowerPC32.
1285 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1288 and ceilf multiarch implementations.
1289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1294 multiarch ceil for PowerPC32.
1295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1300 multiarch ceilf for PowerPC32.
1302 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1306 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1309 and finitef multiarch implementations.
1310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1315 multiarch finite for PowerPC32.
1316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1319 file: multiarch finitef for PowerPC32.
1321 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1324 and isinff multiarch implementations.
1325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1330 multiarch isinf for PowerPC32.
1331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1334 multiarch isinff for PowerPC32.
1336 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1339 alias when __isnan is defined.
1340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1341 and isnanf multiarch implementations.
1342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1351 multiarch isnan for PowerPC32.
1352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1357 multiarch isnanf for PowerPC32.
1359 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1362 and sqrtf multiarch implementations.
1363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1368 multiarch sqrt for PowerPC32.
1369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1374 multiarch sqrtf for PowerPC32.
1376 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1379 and llroundf multiarch implementations.
1380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1387 file: multiarch llround for PowerPC32.
1388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1389 file: multiarch llroundf for PowerPC32.
1391 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1394 multiarch PowerPC32 fpu implementations.
1395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1400 multiarch llrint for PowerPC32.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1408 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1412 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1414 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1416 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1418 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1420 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1421 multiarch wordcopy for PPC32.
1422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1425 (__libc_ifunc_impl_list): Likewise.
1426 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1427 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1428 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1429 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1430 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1431 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1433 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1443 multiarch wcscpy for PPC32.
1444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1447 (__libc_ifunc_impl_list): Likewise.
1448 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1449 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1450 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1451 sysdeps/powerpc/power6/wcscpy.c.
1453 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1455 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1456 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1463 multiarch wcsrchr for PPC32.
1464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1467 (__libc_ifunc_impl_list): Likewise.
1468 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1469 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1470 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1471 sysdeps/powerpc/power6/wcsrchr.c.
1473 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1477 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1481 multiarch wcschr for PPc32.
1482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1485 (__libc_ifunc_impl_list): Likewise.
1486 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1487 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1488 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1489 sysdeps/powerpc/power6/wcschr.c.
1491 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1493 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1494 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1496 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1497 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1498 file: multiarch strchr for PPC32.
1499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1502 (__libc_ifunc_impl_list): Likewise.
1504 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1506 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1508 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1510 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1512 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1513 multiarch strchrnul for PPC32.
1514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1517 (__libc_ifunc_impl_list): Likewise.
1519 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1521 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1523 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1524 multiarch strncasecmp for PPC32.
1525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1527 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1528 multiarch strncasecmp_l for PPC32.
1529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1530 strncasecmp multiarch objects.
1531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1532 (__libc_ifunc_impl_list): Likewise.
1534 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1536 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1539 multiarch strncasecmp for PPC32.
1540 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1542 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1543 multiarch strcasecmp_l for PPC32.
1544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1547 (__libc_ifunc_impl_list): Likewise.
1549 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1553 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1556 multiarch strncmp for PPC32.
1557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
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/rtld-strnlen.c: New file.
1565 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1567 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1568 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
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/strlen-power7.S: New
1578 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1580 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1584 (__libc_ifunc_impl_list): Likewise.
1586 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1588 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1590 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1592 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1593 multiarch rawmemchr for PPC32.
1594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1597 (__libc_ifunc_impl_list): Likewise.
1599 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1601 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1603 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1605 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1606 file: memrchr multiarch for PPC32.
1607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1610 (__libc_ifunc_impl_list): Likewise.
1612 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1614 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1615 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1617 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1618 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1619 multiarch memchr for PPC32.
1620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1623 (__libc_ifunc_impl_list): Likewise.
1625 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1628 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1630 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1632 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1633 file: multiarch mempcpy for PPC32.
1634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1637 (__libc_ifunc_impl_list): Likewise.
1639 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1642 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1643 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1644 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1645 multiarch bzero for PPC32.
1646 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1648 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1650 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1651 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1652 file: multiarch memset for PPC32.
1653 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1655 memset multiarch objects.
1656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1657 (__libc_ifunc_impl_list): Likewise.
1659 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1663 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1666 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1670 (__libc_ifunc_impl_list): Likewise.
1672 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1674 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1675 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1676 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1680 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1682 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1683 multiarch memcpy for PPC32.
1684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1687 (__libc_ifunc_impl_list): Likewise.
1689 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1692 support multiarch for POWER/PPC32.
1693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1695 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1697 Implies file to make multiarch folder appers before the fpu and
1698 default folder for power4 configuration.
1700 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1702 * scripts/bench.pl: Append volatile keyword to type.
1704 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1706 * sysdeps/sh/sotruss-lib.c: New file.
1707 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1709 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1713 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1716 * math/w_tgamma.c: Include <errno.h>.
1717 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1718 * math/w_tgammaf.c: Include <errno.h>.
1719 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1720 * math/w_tgammal.c: Include <errno.h>.
1721 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1722 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1723 underflow. Add more tgamma tests.
1724 * math/auto-libm-test-out: Regenerated.
1725 * sysdeps/i386/fpu/libm-test-ulps: Update.
1726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1728 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1729 sin, sinh, tan, tanh, tgamma, y0 and y1.
1730 * math/auto-libm-test-out: Regenerated.
1731 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1732 (TEST_COND_x86): Likewise.
1733 (M_E2l): Remove macro.
1735 (M_2_SQRT_PIl): Likewise.
1736 (M_SQRT_PIl): Likewise.
1737 (M_1_DIV_El): Likewise.
1738 (log_test_data): Use AUTO_TESTS_f_f.
1739 (log10_test_data): Likewise.
1740 (log1p_test_data): Likewise.
1741 (log2_test_data): Likewise.
1742 (sin_test_data): Likewise.
1743 (sin_tonearest_test_data): Likewise.
1744 (sin_towardzero_test_data): Likewise.
1745 (sin_downward_test_data): Likewise.
1746 (sin_upward_test_data): Likewise.
1747 (sinh_test_data): Likewise.
1748 (sinh_tonearest_test_data): Likewise.
1749 (sinh_towardzero_test_data): Likewise.
1750 (sinh_downward_test_data): Likewise.
1751 (sinh_upward_test_data): Likewise.
1752 (tan_test_data): Likewise.
1753 (tan_tonearest_test_data): Likewise.
1754 (tan_towardzero_test_data): Likewise.
1755 (tan_downward_test_data): Likewise.
1756 (tan_upward_test_data): Likewise.
1757 (tanh_test_data): Likewise.
1758 (tgamma_test_data): Likewise.
1759 (y0_test_data): Likewise.
1760 (y1_test_data): Likewise.
1761 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1762 (special_real_inputs): Add pi/4.
1763 * sysdeps/i386/fpu/libm-test-ulps: Update.
1764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1766 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1768 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1769 "longjmp_target" static probes.
1770 (__longjmp): Rename to __longjmp_symbol.
1771 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1772 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1773 on which longjmp to generate.
1774 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1775 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1777 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1778 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1779 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1780 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1781 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1782 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1784 __longjmp_symbol based on which __longjmp to generate.
1785 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1787 (setjmp): Rename to setjmp_symbol.
1788 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1789 (_setjmp): Rename to _setjmp_symbol.
1790 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1791 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1792 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1793 which setjmp to generate.
1794 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1795 "longjmp_target" static probes.
1797 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1799 * benchtests/README: Add note about output arguments.
1800 * benchtests/bench-sincos.c: Remove file.
1801 * benchtests/sincos-inputs: New file.
1802 * scripts/bench.pl: Identify output arguments and define
1803 static variables for them.
1805 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1808 * Makefile (INSTALL): Add install-plain.texi as the primary
1810 * manual/install-plain.texi: New file.
1811 * manual/install.texi: Include node directive only for
1812 non-plaintext output.
1814 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1816 * stdlib/longlong.h: Update from GCC.
1820 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1821 * math/w_j0f.c (y0f): Likewise.
1822 * math/w_j0l.c (__y0l): Likewise.
1823 * math/w_j1.c (y1): Likewise.
1824 * math/w_j1f.c (y1f): Likewise.
1825 * math/w_j1l.c (__y1l): Likewise
1826 * math/w_jn.c (yn): Likewise.
1827 * math/w_jnf.c (ynf): Likewise.
1828 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1829 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1830 value for Bessel function domain errors outside _SVID_ mode.
1831 Adjust sign of return value for yn (negative integer, 0).
1832 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1833 by zero in return for negative x and set sign appropriately for
1835 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1836 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1837 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1838 expectations in error cases.
1839 (y1_test_data): Likewise.
1840 (yn_test_data): Likewise.
1841 * sysdeps/i386/fpu/libm-test-ulps: Update.
1842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1844 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1846 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1847 "64" to "64-v1". Add "64-v2".
1848 (abi-64-options): Rename to ...
1849 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1850 (abi-64-condition): Rename to ...
1851 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1852 (abi-64-ld-soname): Rename to ...
1853 (abi-64-v1-ld-soname): ... this.
1854 (abi-64-v2-options): Define.
1855 (abi-64-v2-condition): Likewise.
1856 (abi-64-v2-ld-soname): Likewise.
1857 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1858 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1863 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1864 Alan Modra <amodra@gmail.com>
1866 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1867 New versions for use with the ELFv2 ABI.
1868 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1869 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1871 (struct La_ppc64v2_retval): Likewise.
1872 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1873 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1874 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1875 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1876 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1877 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1878 Do not save or restore CR.
1879 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1880 (_dl_profile_resolve): Do no save or restore CR. Support extended
1881 return values for ELFv2 ABI. Fix location of FPR return registers.
1882 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1883 updated values for _CALL_ELF == 2.
1884 (La_regs, La_retval, int_retval): Likewise.
1886 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1888 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1889 (FRAME_MIN_SIZE_PARM): Likewise.
1890 (FRAME_BACKCHAIN): Likewise.
1891 (FRAME_CR_SAVE): Likewise.
1892 (FRAME_LR_SAVE): Likewise.
1893 (FRAME_TOC_SAVE): Likewise.
1894 (FRAME_PARM_SAVE): Likewise.
1895 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1896 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1897 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1898 (call_mcount_parm_offset): New macro.
1899 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1900 (PROF): Use symbolic stack frame offsets.
1901 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1902 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1903 Redefine in terms of FRAME_MIN_SIZE.
1904 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1905 (_dl_profile_resolve): Likewise. Update comment.
1906 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1907 symbols stack frame offsets.
1908 (__sigsetjmp): Likewise.
1909 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1910 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1911 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1912 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1915 (FRAME_BACKCHAIN): Remove.
1916 (FRAME_CR_SAVE): Likewise.
1917 (FRAME_LR_SAVE): Likewise.
1918 (FRAME_COMPILER_DW): Likewise.
1919 (FRAME_LINKER_DW): Likewise.
1920 (FRAME_TOC_SAVE): Likewise.
1921 (FRAME_PARM_SAVE): Likewise.
1922 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1923 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1924 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1926 (CHECK_SP): Use symbolic stack frame offsets.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1928 zone" instead of caller's parameter save area for temp storage.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1930 Likewise. Also, use symbolic stack frame offsets.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1932 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1933 our own stack frame instead of the caller's.
1934 (__socket): Use symbolic stack frame offsets.
1936 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1937 Alan Modra <amodra@gmail.com>
1939 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1941 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1942 PPC64_LOCAL_ENTRY_OFFSET): Define.
1943 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1945 (elf_machine_fixup_plt): Call it.
1946 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1948 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1949 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1950 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1951 r2 before calling target.
1953 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1954 Alan Modra <amodra@gmail.com>
1956 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1957 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1958 versions of macros to support ELFv2 ABI.
1959 (LOCALENTRY): New macro.
1960 (ENTRY, EALIGN): Use it.
1961 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1962 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1963 fall through into ENTRY entry point.
1964 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1965 Only define if _CALL_ELF != 2.
1967 (elf_machine_matches_host): Verify ABI version matches.
1968 (RTLD_START): Use LOCALENTRY.
1969 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1970 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1971 (PLT_ENTRY_WORDS): New macro.
1972 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1973 (elf_machine_runtime_setup): Support ELFv2 ABI.
1974 (elf_machine_fixup_plt): Likewise.
1975 (elf_machine_plt_conflict): Likewise.
1976 (resolve_ifunc): Likewise.
1977 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1978 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1981 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1983 (makecontext): Support ELFv2 ABI.
1984 * elf/elf.h (EF_PPC64_ABI): Define.
1986 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1988 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1989 New assembler macro.
1990 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1991 [ASSEMBLER] (ENTRY): ... but instead here ...
1992 [ASSEMBLER] (EALIGN): ... and here.
1993 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1994 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1995 [!ASSEMBLER] (ENTRY_2): Use it.
1996 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1997 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1998 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1999 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2000 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2002 Use PPC64_LOAD_FUNCPTR.
2004 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2006 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2008 2013-12-04 Alan Modra <amodra@gmail.com>
2010 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2011 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2012 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2013 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2015 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2016 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2017 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2018 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2019 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2020 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2022 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2025 (__makecontext): Fix incorrect CFI when backtracing out of
2026 context created via makecontext.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2028 (__setcontext): Fix incorrect CFI during switch to new context.
2029 (__novec_setcontext): Likewise.
2031 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2034 * time/strptime_l.c (__strptime_internal): Allow modifiers
2036 * time/tst-strptime.c (day_tests): Add testcase.
2039 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2041 * scripts/bench.pl: Skip over blank lines.
2043 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2046 * manual/time.texi (Calendar Time): Clarify what timezone functions
2049 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2053 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2055 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2057 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2058 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2059 * debug/memset_chk.c (__memset_chk): Likewise.
2060 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2061 * debug/strncpy_chk.c: Likewise.
2063 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2068 (__ieee754_exp): For possibly underflowing results, check size of
2069 result and force underflow exception if required.
2070 * math/auto-libm-test-in: Add more tests of exp.
2071 * math/auto-libm-test-out: Regenerated.
2072 * sysdeps/i386/fpu/libm-test-ulps: Update.
2073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2076 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2077 * math/w_exp2f.c (__exp2f): Likewise.
2078 * math/w_exp2l.c (__exp2l): Likewise.
2079 * math/auto-libm-test-in: Do not allow missing errno on exp2
2081 * math/auto-libm-test-out: Regenerated.
2083 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2086 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2087 handle filename validation.
2088 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2091 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2094 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2095 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2096 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2098 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2099 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2100 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2102 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2103 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2104 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2105 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2106 Add more erfc tests.
2107 * math/auto-libm-test-out: Regenerated.
2108 * sysdeps/i386/fpu/libm-test-ulps: Update.
2109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2111 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2112 exp2, expm1, j0 and j1.
2113 * math/auto-libm-test-out: Regenerated.
2114 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2115 (erfc_test_data): Likewise.
2116 (exp_test_data): Likewise.
2117 (exp_tonearest_test_data): Likewise.
2118 (exp_towardzero_test_data): Likewise.
2119 (exp_downward_test_data): Likewise.
2120 (exp_upward_test_data): Likewise.
2121 (exp10_test_data): Likewise.
2122 (exp2_test_data): Likewise.
2123 (expm1_test_data): Likewise.
2124 (j0_test_data): Likewise.
2125 (j1_test_data): Likewise.
2126 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2127 (input_flag_type): Add flag_xfail_rounding.
2128 (input_flags): Add xfail-rounding.
2129 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2130 (output_for_one_input_case): Handle flag_xfail_rounding.
2131 * sysdeps/i386/fpu/libm-test-ulps: Update.
2132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2137 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2140 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2143 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2144 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2145 (STAP_PROBE0): New macro.
2146 (STAP_PROBE1): Likewise.
2147 (STAP_PROBE2): Likewise.
2148 (STAP_PROBE3): Likewise.
2149 (STAP_PROBE4): Likewise.
2151 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2153 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2155 2013-12-02 Steve Ellcey <sellcey@mips.com>
2157 * benchtests/Makefile (bench): Add sqrt.
2158 (LDLIBS-bench-sqrt): New.
2159 * benchtests/sqrt-input: New.
2161 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2163 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2164 (GAIH_EAI): Likewise.
2165 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2166 (gaih_inet): Likewise.
2167 (getaddrinfo): Don't use GAIH_EAI.
2169 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2170 (struct gaih): Remove definition.
2172 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2174 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2175 Use HERRNOP directly.
2177 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2181 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2183 * math/gen-auto-libm-tests.c (test_functions): Add more
2184 single-argument functions.
2185 (special_fill_pi_2): New function.
2186 (special_fill_minus_pi_2): Likewise.
2187 (special_fill_pi_6): Likewise.
2188 (special_fill_minus_pi_6): Likewise.
2189 (special_fill_pi_3): Likewise.
2190 (special_fill_2pi_3): Likewise.
2191 (special_fill_e): Likewise.
2192 (special_fill_1_e): Likewise.
2193 (special_fill_e_minus_1): Likewise.
2194 (special_real_inputs): Add more special inputs.
2195 (output_for_one_input_case): Do not require ERANGE on underflow to
2196 zero if round-to-nearest result does not underflow to zero, unless
2197 exact results required.
2198 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2199 atan, atanh, cbrt, cos and cosh.
2200 * math/auto-libm-test-out: Regenerated.
2201 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2202 (acos_tonearest_test_data): Likewise.
2203 (acos_towardzero_test_data): Likewise.
2204 (acos_downward_test_data): Likewise.
2205 (acos_upward_test_data): Likewise.
2206 (acosh_test_data): Likewise.
2207 (asin_test_data): Likewise.
2208 (asin_tonearest_test_data): Likewise.
2209 (asin_towardzero_test_data): Likewise.
2210 (asin_upward_test_data): Likewise.
2211 (asinh_test_data): Likewise.
2212 (atan_test_data): Likewise.
2213 (atanh_test_data): Likewise.
2214 (cbrt_test_data): Likewise.
2215 (cos_test_data): Likewise.
2216 (cos_tonearest_test_data): Likewise.
2217 (cos_towardzero_test_data): Likewise.
2218 (cos_downward_test_data): Likewise.
2219 (cos_upward_test_data): Likewise.
2220 (cosh_test_data): Likewise.
2221 (cosh_tonearest_test_data): Likewise.
2222 (cosh_towardzero_test_data): Likewise.
2223 (cosh_downward_test_data): Likewise.
2224 (cosh_upward_test_data): Likewise.
2225 * sysdeps/i386/fpu/libm-test-ulps: Update.
2226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2228 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2231 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2232 * math/w_exp10f.c (__exp10f): Likewise.
2233 * math/w_exp10l.c (__exp10l): Likewise.
2234 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2235 errno settings in existing tests.
2238 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2239 precision control set to double precision.
2240 * sysdeps/i386/fpu/w_sqrt.c: New file.
2241 * math/auto-libm-test-in: Add more tests.
2242 * math/auto-libm-test-out: Update.
2244 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2245 (sqrt_test_tonearest): New function.
2246 (sqrt_towardzero_test_data): New variable.
2247 (sqrt_test_towardzero): New function.
2248 (sqrt_downward_test_data): New variable.
2249 (sqrt_test_downward): New function.
2250 (sqrt_upward_test_data): New variable.
2251 (sqrt_test_upward): New function.
2252 (main): Call the new functions.
2254 * math/gen-auto-libm-tests.c: New file.
2255 * math/auto-libm-test-in: Likewise.
2256 * math/auto-libm-test-out: New generated file.
2257 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2259 (%beautify): Add generated representations of zero.
2260 (top level): Set $auto_input and call parse_auto_input.
2261 (beautify): Remove trailing "f" from hex float constants.
2262 (parse_args): Handle XFAIL_TEST.
2263 (convert_condition): New function.
2264 (or_value): Likewise.
2265 (or_cond_value): Likewise.
2266 (generate_testfile): Handle AUTO_TESTS_* lines.
2267 (parse_auto_input): New function.
2268 * math/libm-test.inc (XFAIL_TEST): New macro.
2269 (ERRNO_UNCHANGED): Update value.
2270 (ERRNO_EDOM): Likewise.
2271 (ERRNO_ERANGE): Likewise.
2272 (IGNORE_RESULT): Likewise.
2273 (TEST_COND_flt_32): New macro.
2274 (TEST_COND_dbl_64): Likewise.
2275 (TEST_COND_ldbl_96_intel): Likewise.
2276 (TEST_COND_ldbl_96_m68k): Likewise.
2277 (TEST_COND_ldbl_128): Likewise.
2278 (TEST_COND_ldbl_128ibm): Likewise.
2279 (TEST_COND_long32): Likewise.
2280 (TEST_COND_long64): Likewise.
2281 (TEST_COND_before_rounding): Likewise.
2282 (TEST_COND_after_rounding): Likewise.
2283 (enable_test): Handle XFAIL_TEST flag.
2284 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2285 with finite results.
2286 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2289 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2290 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2293 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2294 __tls_get_addr_internal instead of __tls_get_offset in order to
2295 avoid GOT pointer dependency. Make rtld export
2296 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2297 __tls_get_addr since we are a __tls_get_offset platform.
2298 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2299 GOT pointer being set up before.
2300 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2302 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2304 * manual/math.texi (Errors in Math Functions): Document accuracy
2308 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2309 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2312 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2314 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2325 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2326 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2327 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2328 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2329 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2331 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2333 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2335 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2336 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2337 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2338 atomic-feupdateenv and flt-rounds.
2339 * sysdeps/powerpc/nofpu/Versions (libc): Add
2340 __atomic_feholdexcept, __atomic_feclearexcept,
2341 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2342 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2343 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2344 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2345 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2350 * manual/arith.texi (FP Exceptions): Document that exceptions may
2351 not be raised when matherr is used.
2352 (Math Error Reporting): Document overflow in directed rounding
2353 modes. Document that errno may not be set when finite values are
2354 returned on overflow. Document intent to set errno on underflow
2355 only for underflow to zero.
2358 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2359 round-to-nearest then adjust result for other rounding modes.
2360 * include/fenv.h (fegetround): Use libm_hidden_proto.
2361 * math/fegetround.c (fegetround): Use libm_hidden_def.
2362 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2363 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2364 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2365 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2367 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2368 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2369 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2370 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2372 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2375 * nss/Versions (libnss_files): Add
2376 _nss_files_gethostbyname3_r.
2377 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2379 (HOST_DB_LOOKUP): Remove macro.
2380 (_nss_files_gethostbyname_r): Implement function without the
2381 HOST_DB_LOOKUP macro.
2382 (_nss_files_gethostbyname2_r): Likewise.
2384 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2386 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2388 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2390 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2391 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2394 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2396 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2397 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2398 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2399 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2400 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2401 __fe_nomask_env_priv and attribute_hidden.
2402 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2403 (libc_feupdateenv_test_ppc): Likewise.
2404 (libc_feresetround_ppc): Likewise.
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2406 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2407 compat_symbol macro.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2409 (__fe_nomask_env): Likewise.
2410 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2412 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2414 * string/Makefile: Remove ifunc tests.
2415 * string/test-string.h: Define TEST_IFUNC.
2416 * string/test-bcopy-ifunc.c: Remove.
2417 * string/test-bzero-ifunc.c: Likewise.
2418 * string/test-memccpy-ifunc.c: Likewise.
2419 * string/test-memchr-ifunc.c: Likewise.
2420 * string/test-memcmp-ifunc.c: Likewise.
2421 * string/test-memcpy-ifunc.c: Likewise.
2422 * string/test-memmem-ifunc.c: Likewise.
2423 * string/test-memmove-ifunc.c: Likewise.
2424 * string/test-mempcpy-ifunc.c: Likewise.
2425 * string/test-memrchr-ifunc.c: Likewise.
2426 * string/test-memset-ifunc.c: Likewise.
2427 * string/test-rawmemchr-ifunc.c: Likewise.
2428 * string/test-stpcpy-ifunc.c: Likewise.
2429 * string/test-stpncpy-ifunc.c: Likewise.
2430 * string/test-strcasecmp-ifunc.c: Likewise.
2431 * string/test-strcasestr-ifunc.c: Likewise.
2432 * string/test-strcat-ifunc.c: Likewise.
2433 * string/test-strchr-ifunc.c: Likewise.
2434 * string/test-strchrnul-ifunc.c: Likewise.
2435 * string/test-strcmp-ifunc.c: Likewise.
2436 * string/test-strcpy-ifunc.c: Likewise.
2437 * string/test-strcspn-ifunc.c: Likewise.
2438 * string/test-strlen-ifunc.c: Likewise.
2439 * string/test-strncasecmp-ifunc.c: Likewise.
2440 * string/test-strncat-ifunc.c: Likewise.
2441 * string/test-strncmp-ifunc.c: Likewise.
2442 * string/test-strncpy-ifunc.c: Likewise.
2443 * string/test-strnlen-ifunc.c: Likewise.
2444 * string/test-strpbrk-ifunc.c: Likewise.
2445 * string/test-strrchr-ifunc.c: Likewise.
2446 * string/test-strspn-ifunc.c: Likewise.
2447 * string/test-strstr-ifunc.c: Likewise.
2449 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2451 * benchtests/Makefile: Remove ifunc tests.
2452 * benchtests/bench-string.h: Define TEST_IFUNC.
2453 * benchtests/bench-bcopy-ifunc.c: Remove.
2454 * benchtests/bench-bzero-ifunc.c: Likewise.
2455 * benchtests/bench-memccpy-ifunc.c: Likewise.
2456 * benchtests/bench-memchr-ifunc.c: Likewise.
2457 * benchtests/bench-memcmp-ifunc.c: Likewise.
2458 * benchtests/bench-memcpy-ifunc.c: Likewise.
2459 * benchtests/bench-memmem-ifunc.c: Likewise.
2460 * benchtests/bench-memmove-ifunc.c: Likewise.
2461 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2462 * benchtests/bench-memrchr-ifunc.c: Likewise.
2463 * benchtests/bench-memset-ifunc.c: Likewise.
2464 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2465 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2466 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2467 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2468 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2469 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2470 * benchtests/bench-strcat-ifunc.c: Likewise.
2471 * benchtests/bench-strchr-ifunc.c: Likewise.
2472 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2473 * benchtests/bench-strcmp-ifunc.c: Likewise.
2474 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2475 * benchtests/bench-strcpy-ifunc.c: Likewise.
2476 * benchtests/bench-strcspn-ifunc.c: Likewise.
2477 * benchtests/bench-strlen-ifunc.c: Likewise.
2478 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2479 * benchtests/bench-strncat-ifunc.c: Likewise.
2480 * benchtests/bench-strncmp-ifunc.c: Likewise.
2481 * benchtests/bench-strncpy-ifunc.c: Likewise.
2482 * benchtests/bench-strnlen-ifunc.c: Likewise.
2483 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2484 * benchtests/bench-strrchr-ifunc.c: Likewise.
2485 * benchtests/bench-strsep-ifunc.c: Likewise.
2486 * benchtests/bench-strspn-ifunc.c: Likewise.
2487 * benchtests/bench-strstr-ifunc.c: Likewise.
2489 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2491 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2493 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2495 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2496 * rt/aio.h: Likewise.
2497 * sysdeps/gnu/bits/utmp.h: Likewise.
2498 * sysdeps/gnu/bits/utmpx.h: Likewise.
2499 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2500 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2501 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2502 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2503 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2504 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2505 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2506 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2508 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2509 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2511 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2514 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2515 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2516 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2517 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2518 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2519 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2520 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2521 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2522 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2523 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2525 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2526 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2528 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2529 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2533 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2534 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2535 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2536 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2537 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2538 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2539 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2540 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2542 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2545 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2546 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2548 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2550 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2551 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2554 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2557 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2558 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2559 (__fesetround): Remove define.
2560 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2561 rounding and exceptions handling.
2562 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2563 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2564 (__fe_nomask_env): Likewise.
2565 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2566 __fegetround instead of fegetround.
2567 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2568 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2570 2013-11-21 Roland McGrath <roland@hack.frob.com>
2572 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2575 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2577 2013-11-21 Meador Inge <meadori@codesourcery.com>
2580 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2581 (encrypt_r): Likewise.
2582 * malloc/obstack.h (obstack_free): Likewise.
2583 * posix/unistd.h (encrypt): Likewise.
2585 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2587 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2588 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2589 DL_CALL_DT_FINI() that call the functions directly.
2590 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2591 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2592 * elf/dl-fini.c: Likewise.
2594 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2596 * malloc/hooks.c (memalign_check): Add alignment rounding.
2597 * malloc/malloc.c (_mid_memalign): New function.
2598 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2599 Implement by calling _mid_memalign.
2600 * manual/probes.texi (Memory Allocation Probes): Remove
2601 memory_valloc_retry and memory_pvalloc_retry.
2603 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2605 * locale/programs/locarchive.c (open_archive): Add const
2606 qualifier to ARCHIVEFNAME and copy default fname to
2610 * libio/tst-widetext.input: Rename Oriya to Odia.
2611 * locale/iso-639.def: Likewise.
2613 * manual/probes.texi (Mathematical Function Probes): Add
2614 documentation for sin, cos, asin and acos probes.
2615 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2616 (__sin32): Add slowasin probe.
2617 (__cos32): Add slowacos probe.
2618 (__mpsin): Add slowsin probe.
2619 (__mpcos): Add slowcos probe.
2621 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2624 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2625 thread-local __sim_exceptions_thread and global
2626 __sim_exceptions_global.
2627 (__sim_disabled_exceptions): Change to thread-local
2628 __sim_disabled_exceptions_thread and global
2629 __sim_disabled_exceptions_global.
2630 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2631 and global __sim_round_mode_global.
2632 (__simulate_exceptions): Use thread-local floating-point state and
2633 set global state from it as needed.
2634 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2635 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2636 __sim_round_mode_thread.
2637 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2638 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2639 and global __sim_exceptions_global.
2640 (__sim_disabled_exceptions): Change to thread-local
2641 __sim_disabled_exceptions_thread and global
2642 __sim_disabled_exceptions_global.
2643 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2644 and global __sim_round_mode_global.
2645 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2646 (SIM_SET_GLOBAL): Likewise.
2647 * sysdeps/powerpc/soft-fp/sfp-machine.h
2648 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2649 __sim_round_mode_thread.
2650 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2651 __sim_disabled_exceptions_thread.
2652 (__sim_exceptions): Change to __sim_exceptions_thread.
2653 (__sim_disabled_exceptions): Change to
2654 __sim_disabled_exceptions_thread.
2655 (__sim_round_mode): Change to __sim_round_mode_thread.
2656 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2657 thread-local floating-point state and set global state from it as
2659 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2660 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2661 (__sim_disabled_exceptions): Remove extern declaration.
2662 (feenableexcept): Use thread-local floating-point state and set
2663 global state from it as needed.
2664 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2666 (__sim_disabled_exceptions): Likewise.
2667 (__sim_round_mode): Likewise.
2668 (__fegetenv): Use thread-local floating-point state.
2669 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2670 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2671 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2672 floating-point state and set global state from it as needed.
2673 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2674 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2675 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2677 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2678 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2680 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2681 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2682 Use __sim_round_mode_thread.
2683 * math/test-fenv-tls.c: New file.
2684 * math/Makefile (tests): Add test-fenv-tls.
2685 ($(objpfx)test-fenv-tls): Depend on
2686 $(common-objpfx)nptl/libpthread.so.
2688 2013-11-19 Andreas Schwab <schwab@suse.de>
2690 * locale/programs/locale.c (show_info): Decode wordarray elements.
2691 * locale/categories.def (LC_MONETARY): Add element for
2692 _NL_MONETARY_CRNCYSTR.
2693 * locale/C-monetary.c (conversion_rate): New variable.
2694 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2697 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2699 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2700 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2702 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2704 * elf/Makefile (tst-auxv): New test.
2705 * elf/tst-auxv.c: New
2706 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2708 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2710 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2711 (hidden_proto): Caller changed.
2712 (hidden_tls_proto): New macro.
2713 (libc_hidden_tls_proto): Likewise.
2714 (rtld_hidden_tls_proto): Likewise.
2715 (libm_hidden_tls_proto): Likewise.
2716 (libresolv_hidden_tls_proto): Likewise.
2717 (librt_hidden_tls_proto): Likewise.
2718 (libdl_hidden_tls_proto): Likewise.
2719 (libnss_files_hidden_tls_proto): Likewise.
2720 (libnsl_hidden_tls_proto): Likewise.
2721 (libnss_nisplus_hidden_tls_proto): Likewise.
2722 (libutil_hidden_tls_proto): Likewise.
2724 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2727 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2728 (decompose_rpath): Defer expansion to fillin_rpath.
2729 (_dl_init_paths): Pass linkmap to fillin_rpath.
2731 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2733 * benchtests/Makefile: Add strsep.
2734 * benchtests/bench-strsep.c: New file: strsep benchtest.
2735 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2737 2013-11-18 Andreas Schwab <schwab@suse.de>
2739 * locale/programs/locale.c (show_info) [case byte]: Check for
2740 '\377' instead of '\177'.
2741 * locale/C-monetary.c (not_available): Always use "\377".
2742 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2743 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2744 detect unavailable sign_posn locale elements.
2745 * locale/localeconv.c (__localeconv): For grouping and
2746 mon_grouping handle "\177" and "\377" like no grouping.
2747 (INT_ELEM): New macro. Use it to set all numeric members.
2748 * locale/programs/ld-monetary.c (monetary_read)
2749 <tok_mon_grouping>: Normalize single -1 to the empty string.
2750 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2753 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2756 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2757 when we match (nil).
2758 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2760 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2762 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2763 (NO_TEST_INLINE): Update value.
2764 (ERRNO_UNCHANGED): Likewise.
2765 (ERRNO_EDOM): Likewise.
2766 (ERRNO_ERANGE): Likewise.
2767 (IGNORE_RESULT): Likewise.
2768 (check_float_internal): Check signs of NaN results if
2770 (check_complex): Pass TEST_NAN_SIGN flag through to second
2771 check_float_internal call.
2772 (copysign_test_data): Add tests with quiet NaNs as second
2773 argument. Use TEST_NAN_SIGN.
2774 (fabs_test_data): Add test of negative quiet NaN argument. Use
2776 (signbit_test_data): Add tests of quiet NaN argument.
2777 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2779 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2781 (parse_args): Handle function results specified as IGNORE.
2782 * math/libm-test.inc (IGNORE_RESULT): New macro.
2783 (check_float_internal): Do not check numerical result if flag
2785 (check_complex): Pass through IGNORE_RESULT to second
2786 check_float_internal call.
2787 (check_int): Do not check numerical result if flag IGNORE_RESULT
2789 (check_long): Likewise.
2790 (check_bool): Likewise.
2791 (check_longlong): Likewise.
2792 (lrint_test_data): Add tests of infinite and NaN arguments.
2793 (lrint_tonearest_test_data): Likewise.
2794 (lrint_towardzero_test_data): Likewise.
2795 (lrint_downward_test_data): Likewise.
2796 (lrint_upward_test_data): Likewise.
2797 (llrint_test_data): Likewise.
2798 (llrint_tonearest_test_data): Likewise.
2799 (llrint_towardzero_test_data): Likewise.
2800 (llrint_downward_test_data): Likewise.
2801 (llrint_upward_test_data): Likewise.
2802 (lround_test_data): Likewise.
2803 (llround_test_data): Likewise.
2805 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2806 (ERRNO_UNCHANGED): Update value.
2807 (ERRNO_EDOM): Likewise.
2808 (ERRNO_ERANGE): Likewise.
2809 (NO_TEST_INLINE_FLOAT): New macro.
2810 (NO_TEST_INLINE_DOUBLE): Likewise.
2811 (enable_test): New function.
2812 (RUN_TEST_f_f): Check enable_test before running test.
2813 (RUN_TEST_2_f): Likewise.
2814 (RUN_TEST_fff_f): Likewise.
2815 (RUN_TEST_c_f): Likewise.
2816 (RUN_TEST_f_f1): Likewise.
2817 (RUN_TEST_fF_f1): Likewise.
2818 (RUN_TEST_fI_f1): Likewise.
2819 (RUN_TEST_ffI_f1): Likewise.
2820 (RUN_TEST_c_c): Likewise.
2821 (RUN_TEST_cc_c): Likewise.
2822 (RUN_TEST_f_i): Likewise.
2823 (RUN_TEST_f_i_tg): Likewise.
2824 (RUN_TEST_ff_i_tg): Likewise.
2825 (RUN_TEST_f_b): Likewise.
2826 (RUN_TEST_f_b_tg): Likewise.
2827 (RUN_TEST_f_l): Likewise.
2828 (RUN_TEST_f_L): Likewise.
2829 (RUN_TEST_fFF_11): Likewise.
2830 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2832 (cosh_test_data): Likewise.
2833 (exp_test_data): Likewise.
2834 (expm1_test_data): Likewise.
2835 (hypot_test_data): Likewise.
2836 (pow_test_data): Likewise.
2837 (sinh_test_data): Likewise.
2838 (tanh_test_data): Likewise.
2839 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2842 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2843 tests with quiet NaN input and output.
2844 (acosh_test_data): Likewise.
2845 (asin_test_data): Likewise.
2846 (asinh_test_data): Likewise.
2847 (atan_test_data): Likewise.
2848 (atanh_test_data): Likewise.
2849 (atan2_test_data): Likewise.
2850 (cbrt_test_data): Likewise.
2851 (cos_test_data): Likewise.
2852 (cosh_test_data): Likewise.
2853 (erf_test_data): Likewise.
2854 (erfc_test_data): Likewise.
2855 (exp_test_data): Likewise.
2856 (exp10_test_data): Likewise.
2857 (exp2_test_data): Likewise.
2858 (expm1_test_data): Likewise.
2859 (hypot_test_data): Likewise.
2860 (j0_test_data): Likewise.
2861 (j1_test_data): Likewise.
2862 (jn_test_data): Likewise.
2863 (lgamma_test_data): Likewise.
2864 (log_test_data): Likewise.
2865 (log10_test_data): Likewise.
2866 (log1p_test_data): Likewise.
2867 (log2_test_data): Likewise.
2868 (pow_test_data): Likewise.
2869 (scalb_test_data): Likewise.
2870 (sin_test_data): Likewise.
2871 (sincos_test_data): Likewise.
2872 (sinh_test_data): Likewise.
2873 (tan_test_data): Likewise.
2874 (tanh_test_data): Likewise.
2875 (tgamma_test_data): Likewise.
2876 (y0_test_data): Likewise.
2877 (y1_test_data): Likewise.
2878 (yn_test_data): Likewise.
2881 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2882 argument being NaN and avoid computations with second argument in
2884 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2885 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2886 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2888 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2890 * locale/iso-639.def: Add Chitwani Tharu (the).
2892 2013-11-14 Andreas Schwab <schwab@suse.de>
2894 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2895 word instead of empty string.
2897 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2900 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2902 (__fe_nomask_env): Likewise.
2904 2013-11-13 Steve Ellcey <sellcey@mips.com>
2906 * benchtests/bench-timing.h: Include time.h.
2908 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2911 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2913 * sysdeps/unix/sysv/linux/configure: Regenerated.
2915 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2918 * stdlib/strtod_l.c (round_and_return): Do not consider
2919 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2920 exponent one less than half the least subnormal exponent.
2921 * stdlib/test-strtod-round-data: Add more tests.
2922 * stdlib/tst-strtod-round.c (tests): Regenerated.
2924 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2928 (__fe_mask_env): Likewise.
2929 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2930 libm_hidden_proto and add function prototype.
2931 (__fe_mask_env): Add function prototype.
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2933 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2935 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2937 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2939 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2941 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2942 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2944 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2946 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2947 of htab_find_slot().
2949 2013-11-11 David S. Miller <davem@davemloft.net>
2952 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2953 symbol in the non-vis3 case in static builds.
2954 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2955 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2956 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2957 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2959 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2962 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2965 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967 * benchtests/Makefile: Add bench-strtod.
2968 * benchtests/bench-strtod.c: New file: strtod benchtest
2970 2013-11-11 Andreas Schwab <schwab@suse.de>
2973 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2974 terminating NUL in key length.
2976 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2978 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2979 Add artificial ODP entry for vDSO symbol for PPC64.
2980 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2981 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2983 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2986 * nss/getent.c (services_keys): Recognize services starting with digit.
2988 2013-11-06 David S. Miller <davem@davemloft.net>
2991 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2992 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2994 2013-11-06 Will Newton <will.newton@linaro.org>
2996 * manual/memory.texi (Malloc Examples): Remove register
2997 keyword from examples.
2999 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3001 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3003 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3005 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3006 depending on [__GCC_IEC_559 > 0].
3007 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3008 depending on [__GCC_IEC_559_COMPLEX > 0].
3010 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3012 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3015 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3017 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3019 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3022 * malloc/malloc (malloc_info): Do not handle first bin as
3025 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3027 * locale/iso-639.def: Add Central Nahuatl (nhn).
3029 2013-11-01 Bruno Haible <bruno@clisp.org>
3032 * manual/math.texi (BSD Random): Specify range upper bound as
3035 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3037 * locale/iso-639.def: Add Meadow Mari (mhr).
3039 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3041 [BZ #14752], [BZ #15763]
3042 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3044 * rt/tst_shm.c: Add test for escaping directory.
3046 2013-10-31 Andreas Schwab <schwab@suse.de>
3049 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3050 followed by 'x' as part of digit sequence.
3051 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3053 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3056 * configure.ac: allow GNU Make 4.0 and greater.
3057 * configure: Regenerated.
3059 2013-10-30 Will Newton <will.newton@linaro.org>
3062 * malloc/hooks.c (memalign_check): Limit alignment to the
3063 maximum representable power of two.
3064 * malloc/malloc.c (__libc_memalign): Likewise.
3065 * malloc/tst-memalign.c (do_test): Add test for very
3066 large alignment values.
3067 * malloc/tst-posix_memalign.c (do_test): Likewise.
3069 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3072 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3073 (munmap_chunk): Likewise.
3074 (mremap_chunk): Likewise.
3076 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3079 * stdlib/div.c (div): Remove obsolete code.
3080 * stdlib/ldiv.c (ldiv): Likewise.
3081 * stdlib/lldiv.c (lldiv): Likewise.
3083 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3086 * nss/nss_files/files-XXX.c (get_contents_ret): New
3088 (get_contents): New function.
3089 (internal_getent): Use it. Expand size of LINEBUFLEN.
3091 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3093 * configure.in: Moved to ...
3094 * configure.ac: ... here. Change reference to configure.in
3096 * sysdeps/arm/preconfigure.ac: ... here.
3097 configure.in to configure.ac.
3098 * sysdeps/gnu/configure.in: Moved to ...
3099 * sysdeps/gnu/configure.ac: ... here.
3100 * sysdeps/i386/configure.in: Moved to ...
3101 * sysdeps/i386/configure.ac: ... here.
3102 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3103 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3104 * sysdeps/mach/configure.in: Moved to ...
3105 * sysdeps/mach/configure.ac: ... here.
3106 * sysdeps/mach/hurd/configure.in: Moved to ...
3107 * sysdeps/mach/hurd/configure.ac: ... here.
3108 * sysdeps/powerpc/configure.in: Moved to ...
3109 * sysdeps/powerpc/configure.ac: ... here.
3110 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3111 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3112 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3113 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3114 * sysdeps/s390/s390-32/configure.in: Moved to ...
3115 * sysdeps/s390/s390-32/configure.ac: ... here.
3116 * sysdeps/s390/s390-64/configure.in: Moved to ...
3117 * sysdeps/s390/s390-64/configure.ac: ... here.
3118 * sysdeps/sh/configure.in: Moved to ...
3119 * sysdeps/sh/configure.ac: ... here.
3120 * sysdeps/sparc/configure.in: Moved to ...
3121 * sysdeps/sparc/configure.ac: ... here.
3122 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3123 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3124 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3125 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3126 * sysdeps/x86_64/configure.in: Moved to ...
3127 * sysdeps/x86_64/configure.ac: ... here.
3128 * sysdeps/x86_64/preconfigure.in: Moved to ...
3129 * sysdeps/x86_64/preconfigure.ac: ... here.
3130 * aclocal.m4: Change reference to configure.in to configure.ac.
3131 * config.h.in: Likewise.
3132 * manual/install.texi: Likewise.
3133 * manual/maint.texi: Likewise.
3134 * Makefile: Likewise.
3135 * malloc/Makefile: Likewise.
3136 * nscd/Makefile: Likewise.
3137 * Makeconfig: Change reference to configure.in and
3138 preconfigure.in to configure.ac and preconfigure.ac
3140 * INSTALL: Regenerated.
3141 * configure: Likewise.
3142 * sysdeps/gnu/configure: Likewise.
3143 * sysdeps/i386/configure: Likewise.
3144 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3145 * sysdeps/mach/configure: Likewise.
3146 * sysdeps/mach/hurd/configure: Likewise.
3147 * sysdeps/powerpc/configure: Likewise.
3148 * sysdeps/powerpc/powerpc32/configure: Likewise.
3149 * sysdeps/powerpc/powerpc64/configure: Likewise.
3150 * sysdeps/s390/s390-32/configure: Likewise.
3151 * sysdeps/s390/s390-64/configure: Likewise.
3152 * sysdeps/sh/configure: Likewise.
3153 * sysdeps/sparc/configure: Likewise.
3154 * sysdeps/unix/sysv/linux/configure: Likewise.
3155 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3156 * sysdeps/x86_64/configure: Likewise.
3157 * sysdeps/x86_64/preconfigure: Likewise.
3159 2013-10-29 Andreas Schwab <schwab@suse.de>
3161 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3163 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3165 * benchtests/pow-inputs: Add new inputs.
3167 * benchtests/exp-inputs: Add new inputs.
3169 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3170 conditional check for return value.
3171 (__cos32): Likewise.
3173 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3175 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3176 to provide a boost for large inputs with word alignment.
3177 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3178 implementation based on optimized PPC64 strcpy.
3179 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3180 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3181 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3182 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3184 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3187 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3189 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3192 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3193 * time/tst-strptime.c (day_tests): Add testcase.
3195 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3198 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3200 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3203 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3204 MAP_FAILED on error.
3206 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3209 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3210 heap for large requests.
3212 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3215 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3216 result if the result has no associated interface.
3217 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3218 interface for all 127.X.Y.Z addresses.
3220 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3222 * locale/iso-639.def: Add Ligurian (lij)
3224 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3227 * sunrpc/rpc_main.c: Document rpcgen -5.
3229 2013-10-19 Michael Stahl <mstahl@redhat.com>
3231 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3233 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3236 * posix/glob.c: Match only directories when trailing slash is present.
3237 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3238 (main): Add testcase.
3240 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3243 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3245 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3247 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3248 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3249 AUTH_DES and cindex for FIPS 140-2.
3250 (DES Encryption): Add cindex FIPS 46-3.
3252 * locale/locarchive.h (struct locarhandle): Add fname.
3253 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3254 if an optional argument was specified to --list-archive,
3256 * locale/programs/locarchive.c (show_archive_content): Take new
3257 argument fname and pass it via ah.fname to open_archive.
3258 * locale/programs/localedef.h: Update decl.
3259 (open_archive): If AH->fname is non-null, open that file
3260 rather than the default file name, and don't ignore ENOENT.
3261 (create_archive): Set AH.fname to NULL.
3262 (delete_locales_from_archive): Likewise.
3263 (add_locales_to_archive): Likewise.
3264 * locale/programs/locfile.c (write_all_categories): Likewise.
3266 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3267 Aldy Hernandez <aldyh@redhat.com>
3269 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3270 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3271 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3272 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3273 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3274 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3275 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3276 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3277 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3278 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3279 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3280 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3281 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3282 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3283 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3285 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3287 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3289 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3291 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3292 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3294 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3295 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3296 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3297 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3299 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3300 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3301 * sysdeps/powerpc/preconfigure: Likewise.
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3304 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3305 Replace contents of file by #include of <fenv_libc.h>.
3306 * sysdeps/powerpc/soft-fp/sfp-machine.h
3307 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3309 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3310 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3311 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3312 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3313 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3314 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3316 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3322 Allow copysignl PLT reference to be missing.
3324 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3325 Joseph Myers <joseph@codesourcery.com
3328 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3330 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3332 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3334 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3335 * elf/tst-tls1.c: Likewise.
3336 * elf/tst-tls10.h: Likewise.
3337 * elf/tst-tls14.c: Likewise.
3338 * elf/tst-tls2.c: Likewise.
3339 * elf/tst-tls3.c: Likewise.
3340 * elf/tst-tls4.c: Likewise.
3341 * elf/tst-tls5.c: Likewise.
3342 * elf/tst-tls6.c: Likewise.
3343 * elf/tst-tls7.c: Likewise.
3344 * elf/tst-tls8.c: Likewise.
3345 * elf/tst-tls9.c: Likewise.
3346 * elf/tst-tlsmod1.c: Likewise.
3347 * elf/tst-tlsmod13.c: Likewise.
3348 * elf/tst-tlsmod13a.c: Likewise.
3349 * elf/tst-tlsmod14a.c: Likewise.
3350 * elf/tst-tlsmod16a.c: Likewise.
3351 * elf/tst-tlsmod16b.c: Likewise.
3352 * elf/tst-tlsmod2.c: Likewise.
3353 * elf/tst-tlsmod3.c: Likewise.
3354 * elf/tst-tlsmod4.c: Likewise.
3355 * elf/tst-tlsmod5.c: Likewise.
3356 * elf/tst-tlsmod6.c: Likewise.
3358 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3361 * malloc/malloc.c: remove checks for statistics.
3363 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3366 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3367 * inet/tst-network.c: Add testcase.
3369 2013-10-17 Andreas Schwab <schwab@suse.de>
3372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3373 to determine canonical name.
3375 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3377 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3378 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3382 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3383 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3384 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3385 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3386 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3387 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3391 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3392 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3394 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3395 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3396 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3397 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3400 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3401 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3402 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3406 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3407 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3408 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3410 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3411 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3412 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3413 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3414 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3415 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3416 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3417 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3418 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3419 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3420 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3423 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3427 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3428 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3429 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3431 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3432 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3433 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3434 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3436 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3439 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3440 make result into a quiet NaN.
3442 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3444 * soft-fp/adddf3.c: Fix horizontal whitespace.
3445 * soft-fp/addsf3.c: Likewise.
3446 * soft-fp/addtf3.c: Likewise.
3447 * soft-fp/divdf3.c: Likewise.
3448 * soft-fp/divsf3.c: Likewise.
3449 * soft-fp/divtf3.c: Likewise.
3450 * soft-fp/double.h: Likewise.
3451 * soft-fp/eqdf2.c: Likewise.
3452 * soft-fp/eqsf2.c: Likewise.
3453 * soft-fp/eqtf2.c: Likewise.
3454 * soft-fp/extenddftf2.c: Likewise.
3455 * soft-fp/extended.h: Likewise.
3456 * soft-fp/extendsfdf2.c: Likewise.
3457 * soft-fp/extendsftf2.c: Likewise.
3458 * soft-fp/extendxftf2.c: Likewise.
3459 * soft-fp/fixdfdi.c: Likewise.
3460 * soft-fp/fixdfsi.c: Likewise.
3461 * soft-fp/fixdfti.c: Likewise.
3462 * soft-fp/fixsfdi.c: Likewise.
3463 * soft-fp/fixsfsi.c: Likewise.
3464 * soft-fp/fixsfti.c: Likewise.
3465 * soft-fp/fixtfdi.c: Likewise.
3466 * soft-fp/fixtfsi.c: Likewise.
3467 * soft-fp/fixtfti.c: Likewise.
3468 * soft-fp/fixunsdfdi.c: Likewise.
3469 * soft-fp/fixunsdfsi.c: Likewise.
3470 * soft-fp/fixunsdfti.c: Likewise.
3471 * soft-fp/fixunssfdi.c: Likewise.
3472 * soft-fp/fixunssfsi.c: Likewise.
3473 * soft-fp/fixunssfti.c: Likewise.
3474 * soft-fp/fixunstfdi.c: Likewise.
3475 * soft-fp/fixunstfsi.c: Likewise.
3476 * soft-fp/fixunstfti.c: Likewise.
3477 * soft-fp/floatdidf.c: Likewise.
3478 * soft-fp/floatdisf.c: Likewise.
3479 * soft-fp/floatditf.c: Likewise.
3480 * soft-fp/floatsidf.c: Likewise.
3481 * soft-fp/floatsisf.c: Likewise.
3482 * soft-fp/floatsitf.c: Likewise.
3483 * soft-fp/floattidf.c: Likewise.
3484 * soft-fp/floattisf.c: Likewise.
3485 * soft-fp/floattitf.c: Likewise.
3486 * soft-fp/floatundidf.c: Likewise.
3487 * soft-fp/floatundisf.c: Likewise.
3488 * soft-fp/floatunditf.c: Likewise.
3489 * soft-fp/floatunsidf.c: Likewise.
3490 * soft-fp/floatunsisf.c: Likewise.
3491 * soft-fp/floatunsitf.c: Likewise.
3492 * soft-fp/floatuntidf.c: Likewise.
3493 * soft-fp/floatuntisf.c: Likewise.
3494 * soft-fp/floatuntitf.c: Likewise.
3495 * soft-fp/fmadf4.c: Likewise.
3496 * soft-fp/fmasf4.c: Likewise.
3497 * soft-fp/fmatf4.c: Likewise.
3498 * soft-fp/gedf2.c: Likewise.
3499 * soft-fp/gesf2.c: Likewise.
3500 * soft-fp/getf2.c: Likewise.
3501 * soft-fp/ledf2.c: Likewise.
3502 * soft-fp/lesf2.c: Likewise.
3503 * soft-fp/letf2.c: Likewise.
3504 * soft-fp/muldf3.c: Likewise.
3505 * soft-fp/mulsf3.c: Likewise.
3506 * soft-fp/multf3.c: Likewise.
3507 * soft-fp/negdf2.c: Likewise.
3508 * soft-fp/negsf2.c: Likewise.
3509 * soft-fp/negtf2.c: Likewise.
3510 * soft-fp/op-1.h: Likewise.
3511 * soft-fp/op-2.h: Likewise.
3512 * soft-fp/op-4.h: Likewise.
3513 * soft-fp/op-8.h: Likewise.
3514 * soft-fp/op-common.h: Likewise.
3515 * soft-fp/quad.h: Likewise.
3516 * soft-fp/single.h: Likewise.
3517 * soft-fp/soft-fp.h: Likewise.
3518 * soft-fp/sqrtdf2.c: Likewise.
3519 * soft-fp/sqrtsf2.c: Likewise.
3520 * soft-fp/sqrttf2.c: Likewise.
3521 * soft-fp/subdf3.c: Likewise.
3522 * soft-fp/subsf3.c: Likewise.
3523 * soft-fp/subtf3.c: Likewise.
3524 * soft-fp/truncdfsf2.c: Likewise.
3525 * soft-fp/trunctfdf2.c: Likewise.
3526 * soft-fp/trunctfsf2.c: Likewise.
3527 * soft-fp/trunctfxf2.c: Likewise.
3528 * soft-fp/unorddf2.c: Likewise.
3529 * soft-fp/unordsf2.c: Likewise.
3530 * soft-fp/unordtf2.c: Likewise.
3532 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3534 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3535 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3537 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3539 * elf/dl-libc.c: Clear initfini list after freeing.
3541 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3543 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3544 * soft-fp/addsf3.c: Likewise.
3545 * soft-fp/addtf3.c: Likewise.
3546 * soft-fp/divdf3.c: Likewise.
3547 * soft-fp/divsf3.c: Likewise.
3548 * soft-fp/divtf3.c: Likewise.
3549 * soft-fp/double.h: Likewise.
3550 * soft-fp/eqdf2.c: Likewise.
3551 * soft-fp/eqsf2.c: Likewise.
3552 * soft-fp/eqtf2.c: Likewise.
3553 * soft-fp/extenddftf2.c: Likewise.
3554 * soft-fp/extended.h: Likewise.
3555 * soft-fp/extendsfdf2.c: Likewise.
3556 * soft-fp/extendsftf2.c: Likewise.
3557 * soft-fp/extendxftf2.c: Likewise.
3558 * soft-fp/fixdfdi.c: Likewise.
3559 * soft-fp/fixdfsi.c: Likewise.
3560 * soft-fp/fixdfti.c: Likewise.
3561 * soft-fp/fixsfdi.c: Likewise.
3562 * soft-fp/fixsfsi.c: Likewise.
3563 * soft-fp/fixsfti.c: Likewise.
3564 * soft-fp/fixtfdi.c: Likewise.
3565 * soft-fp/fixtfsi.c: Likewise.
3566 * soft-fp/fixtfti.c: Likewise.
3567 * soft-fp/fixunsdfdi.c: Likewise.
3568 * soft-fp/fixunsdfsi.c: Likewise.
3569 * soft-fp/fixunsdfti.c: Likewise.
3570 * soft-fp/fixunssfdi.c: Likewise.
3571 * soft-fp/fixunssfsi.c: Likewise.
3572 * soft-fp/fixunssfti.c: Likewise.
3573 * soft-fp/fixunstfdi.c: Likewise.
3574 * soft-fp/fixunstfsi.c: Likewise.
3575 * soft-fp/fixunstfti.c: Likewise.
3576 * soft-fp/floatdidf.c: Likewise.
3577 * soft-fp/floatdisf.c: Likewise.
3578 * soft-fp/floatditf.c: Likewise.
3579 * soft-fp/floatsidf.c: Likewise.
3580 * soft-fp/floatsisf.c: Likewise.
3581 * soft-fp/floatsitf.c: Likewise.
3582 * soft-fp/floattidf.c: Likewise.
3583 * soft-fp/floattisf.c: Likewise.
3584 * soft-fp/floattitf.c: Likewise.
3585 * soft-fp/floatundidf.c: Likewise.
3586 * soft-fp/floatundisf.c: Likewise.
3587 * soft-fp/floatunsidf.c: Likewise.
3588 * soft-fp/floatunsisf.c: Likewise.
3589 * soft-fp/floatuntidf.c: Likewise.
3590 * soft-fp/floatuntisf.c: Likewise.
3591 * soft-fp/floatuntitf.c: Likewise.
3592 * soft-fp/fmadf4.c: Likewise.
3593 * soft-fp/fmasf4.c: Likewise.
3594 * soft-fp/fmatf4.c: Likewise.
3595 * soft-fp/gedf2.c: Likewise.
3596 * soft-fp/gesf2.c: Likewise.
3597 * soft-fp/getf2.c: Likewise.
3598 * soft-fp/ledf2.c: Likewise.
3599 * soft-fp/lesf2.c: Likewise.
3600 * soft-fp/letf2.c: Likewise.
3601 * soft-fp/muldf3.c: Likewise.
3602 * soft-fp/mulsf3.c: Likewise.
3603 * soft-fp/multf3.c: Likewise.
3604 * soft-fp/negdf2.c: Likewise.
3605 * soft-fp/negsf2.c: Likewise.
3606 * soft-fp/negtf2.c: Likewise.
3607 * soft-fp/op-1.h: Likewise.
3608 * soft-fp/op-2.h: Likewise.
3609 * soft-fp/op-4.h: Likewise.
3610 * soft-fp/op-8.h: Likewise.
3611 * soft-fp/op-common.h: Likewise.
3612 * soft-fp/quad.h: Likewise.
3613 * soft-fp/single.h: Likewise.
3614 * soft-fp/soft-fp.h: Likewise.
3615 * soft-fp/sqrtdf2.c: Likewise.
3616 * soft-fp/sqrtsf2.c: Likewise.
3617 * soft-fp/sqrttf2.c: Likewise.
3618 * soft-fp/subdf3.c: Likewise.
3619 * soft-fp/subsf3.c: Likewise.
3620 * soft-fp/subtf3.c: Likewise.
3621 * soft-fp/truncdfsf2.c: Likewise.
3622 * soft-fp/trunctfdf2.c: Likewise.
3623 * soft-fp/trunctfsf2.c: Likewise.
3624 * soft-fp/trunctfxf2.c: Likewise.
3625 * soft-fp/unorddf2.c: Likewise.
3626 * soft-fp/unordsf2.c: Likewise.
3627 * soft-fp/unordtf2.c: Likewise.
3629 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3632 * misc/error.c (error_tail): Fix possible buffer overflow.
3634 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3637 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3640 2013-10-14 P. J. McDermott <pj@pehjota.net>
3643 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3644 testing pipefail option.
3646 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3648 * soft-fp/double.h: Indent preprocessor directives inside #if.
3649 * soft-fp/extended.h: Likewise.
3650 * soft-fp/op-2.h: Likewise.
3651 * soft-fp/op-4.h: Likewise.
3652 * soft-fp/op-common.h: Likewise.
3653 * soft-fp/quad.h: Likewise.
3654 * soft-fp/single.h: Likewise.
3655 * soft-fp/soft-fp.h: Likewise.
3657 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3659 * iconv/iconv_prog.c: Fix typos.
3660 * stdio-common/psiginfo-data.h: Likewise.
3662 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3665 * locale/setlocale.c: Fix typo.
3667 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3670 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3671 signaling NaN arguments.
3672 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3673 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3676 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3678 * soft-fp/gesf2.c (__gesf2): Likewise.
3679 * soft-fp/getf2.c (__getf2): Likewise.
3680 * soft-fp/ledf2.c (__ledf2): Likewise.
3681 * soft-fp/lesf2.c (__lesf2): Likewise.
3682 * soft-fp/letf2.c (__letf2): Likewise.
3684 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3685 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3686 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3687 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3688 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3689 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3690 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3691 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3692 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3693 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3694 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3695 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3696 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3697 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3698 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3699 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3700 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3701 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3702 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3703 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3704 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3705 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3706 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3707 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3708 * soft-fp/floattidf.c (__floattidf): Likewise.
3709 * soft-fp/floattisf.c (__floattisf): Likewise.
3710 * soft-fp/floattitf.c (__floattitf): Likewise.
3711 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3712 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3713 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3714 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3715 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3716 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3717 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3718 * soft-fp/gesf2.c (__gesf2): Likewise.
3719 * soft-fp/getf2.c (__getf2): Likewise.
3720 * soft-fp/ledf2.c (__ledf2): Likewise.
3721 * soft-fp/lesf2.c (__lesf2): Likewise.
3722 * soft-fp/letf2.c (__letf2): Likewise.
3724 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3725 Undefine and redefine.
3726 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3727 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3728 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3729 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3730 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3731 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3732 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3733 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3734 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3735 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3736 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3737 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3738 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3739 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3740 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3743 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3744 without decrementing exponent if mantissa >= that for the
3746 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3747 denominator, not >. Decrement exponent in < case instead of
3748 incrementing in >= case.
3749 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3750 without decrementing exponent if mantissa >= that for the
3753 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3754 computing saturated result for unsigned overflow.
3756 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3757 Jeff Law <law@redhat.com>
3759 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3760 (atan2Mp): Add systemtap probe marker.
3761 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3762 (__ieee754_log): Add systemtap probe marker.
3763 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3764 (atanMp): Add systemtap probe marker.
3765 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3766 (tanMp): Add systemtap probe marker.
3767 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3768 (__slowexp): Add systemtap probe marker.
3769 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3770 (__slowpow): Add systemtap probe marker.
3771 * manual/probes.texi: Document probes.
3773 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3776 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3778 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3780 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3781 written to buffer but not flushed.
3782 * libio/iofwrite_u.c: Likewise.
3783 * libio/iopadn.c: Return bytes returned even if EOF was
3785 * libio/iowpadn.c: Likewise.
3786 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3787 if _IO_padn does not write the whole buffer.
3788 [!COMPILE_WPRINTF] (PAD): Likewise.
3790 2013-10-10 David S. Miller <davem@davemloft.net>
3792 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3795 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3797 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3798 instead of FSF address.
3799 * soft-fp/fixdfti.c: Likewise.
3800 * soft-fp/fixsfti.c: Likewise.
3801 * soft-fp/fixtfti.c: Likewise.
3802 * soft-fp/fixunsdfti.c: Likewise.
3803 * soft-fp/fixunssfti.c: Likewise.
3804 * soft-fp/fixunstfti.c: Likewise.
3805 * soft-fp/floattidf.c: Likewise.
3806 * soft-fp/floattisf.c: Likewise.
3807 * soft-fp/floattitf.c: Likewise.
3808 * soft-fp/floatuntidf.c: Likewise.
3809 * soft-fp/floatuntisf.c: Likewise.
3810 * soft-fp/floatuntitf.c: Likewise.
3811 * soft-fp/trunctfxf2.c: Likewise.
3813 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3814 * soft-fp/fixdfti.c: Likewise.
3815 * soft-fp/fixsfti.c: Likewise.
3816 * soft-fp/fixtfti.c: Likewise.
3817 * soft-fp/fixunsdfti.c: Likewise.
3818 * soft-fp/fixunssfti.c: Likewise.
3819 * soft-fp/fixunstfti.c: Likewise.
3820 * soft-fp/floattidf.c: Likewise.
3821 * soft-fp/floattisf.c: Likewise.
3822 * soft-fp/floattitf.c: Likewise.
3823 * soft-fp/floatuntidf.c: Likewise.
3824 * soft-fp/floatuntisf.c: Likewise.
3825 * soft-fp/floatuntitf.c: Likewise.
3826 * soft-fp/trunctfxf2.c: Likewise.
3828 2013-10-10 David S. Miller <davem@davemloft.net>
3830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3832 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3834 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3835 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3836 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3837 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3838 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3839 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3840 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3843 for NaNs before doing comparisons on argument.
3844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3847 2013-10-10 Will Newton <will.newton@linaro.org>
3849 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3850 passed to _int_memalign does not overflow.
3852 2013-10-10 Torvald Riegel <triegel@redhat.com>
3854 * scripts/bench.pl: Add include-sources directive.
3855 * benchtests/README: Update documentation.
3857 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3859 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3860 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3861 instead of FP_INIT_ROUNDMODE.
3862 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3863 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3866 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3867 copy class of input value.
3868 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3869 not handle exceptions.
3870 * soft-fp/negsf2.c (__negsf2): Likewise.
3871 * soft-fp/negtf2.c (__negtf2): Likewise.
3872 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3874 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3876 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3877 semicolon. From Linux kernel.
3879 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3881 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3883 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3886 * manual/socket.texi: Added statement about buffer
3887 for gethostbyname2_r.
3889 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3891 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3892 Use .p2align directive instead, throughout.
3893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3894 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3895 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3898 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3899 * sysdeps/x86_64/strchr.S: Likewise.
3900 * sysdeps/x86_64/strrchr.S: Likewise.
3902 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3904 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3906 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3908 * sysdeps/generic/math_private.h (__mpsin1): Remove
3910 (__mpcos1): Likewise.
3911 (__mpsin): New argument __range_reduce.
3912 (__mpcos): Likewise.
3913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3914 (slow): Use __mpsin and __mpcos.
3921 (bsloww1): Likewise.
3922 (bsloww2): Likewise.
3925 (csloww1): Likewise.
3926 (csloww2): Likewise.
3927 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3928 range_reduce. Merge in __mpsin1.
3929 (__mpcos): Likewise.
3931 (__mpcos1): Likewise.
3933 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3935 * locale/loadlocale.c (_nl_intern_locale_data): Use
3937 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3938 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3939 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3940 obstack data is appropriately aligned.
3941 (obstack_int32_grow_fast): Likewise.
3942 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3943 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3944 (add_locale_uint32_array): Likewise.
3946 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3948 * benchtests/Makefile: Remove ARGLIST and RET variables.
3949 ($(objpfx)bench-%.c): Pass only function name to the script.
3950 * benchtests/README: Update documentation.
3951 * benchtests/acos-inputs: Add new directives.
3952 * benchtests/acosh-inputs: Likewise.
3953 * benchtests/asin-inputs: Likewise.
3954 * benchtests/asinh-inputs: Likewise.
3955 * benchtests/atan-inputs: Likewise.
3956 * benchtests/atanh-inputs: Likewise.
3957 * benchtests/cos-inputs: Likewise.
3958 * benchtests/cosh-inputs: Likewise.
3959 * benchtests/exp-inputs: Likewise.
3960 * benchtests/log-inputs: Likewise.
3961 * benchtests/pow-inputs: Likewise.
3962 * benchtests/rint-inputs: Likewise.
3963 * benchtests/sin-inputs: Likewise.
3964 * benchtests/sinh-inputs: Likewise.
3965 * benchtests/tan-inputs: Likewise.
3966 * benchtests/tanh-inputs: Likewise.
3967 * scripts/bench.pl: Add support for new directives.
3969 2013-10-07 Alan Modra <amodra@gmail.com>
3971 * README: Fix careless merge.
3973 2013-10-05 Alan Modra <amodra@gmail.com>
3975 * NEWS: Mention powerpc64le support and bugs fixed.
3976 * README: Both big-endian and little-endian powerpc64 supported.
3978 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3980 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3981 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3982 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3983 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3985 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3987 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3990 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3992 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3993 Move -mhard-float appending from
3994 ports/sysdeps/powerpc/powerpc32/Makefile.
3995 [$(with-fp) = yes] (ASFLAGS): Likewise.
3996 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3997 * sysdeps/powerpc/nofpu: Move directory from
3998 ports/sysdeps/powerpc/nofpu.
3999 * sysdeps/powerpc/soft-fp: Move directory from
4000 ports/sysdeps/powerpc/soft-fp.
4001 * sysdeps/powerpc/powerpc32/405: Move directory from
4002 ports/sysdeps/powerpc/powerpc32/405.
4003 * sysdeps/powerpc/powerpc32/440: Move directory from
4004 ports/sysdeps/powerpc/powerpc32/440.
4005 * sysdeps/powerpc/powerpc32/464: Move directory from
4006 ports/sysdeps/powerpc/powerpc32/464.
4007 * sysdeps/powerpc/powerpc32/476: Move directory from
4008 ports/sysdeps/powerpc/powerpc32/476.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4010 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4012 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4014 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4016 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4018 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4019 * README: Update for powerpc-*-linux-gnu software floating point
4022 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4023 case to powerpc/powerpc32*.
4024 * sysdeps/unix/sysv/linux/configure: Regenerated.
4026 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4027 (_FPU_MASK_OM): Define as 0x04.
4028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4036 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4039 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4042 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4043 and setcontext_e500.
4045 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4047 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4049 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4051 * manual/threads.texi (Default Thread Attributes): Fix typo.
4053 2013-10-04 Will Newton <will.newton@linaro.org>
4055 * malloc/Makefile: Add tst-memalign.
4056 * malloc/tst-memalign.c: New file.
4058 * malloc/tst-posix_memalign.c: Add comments.
4059 (do_test): Add comments and call free on all potentially
4060 allocated pointers. Add space after cast.
4062 * malloc/tst-pvalloc.c: Add comments.
4063 (do_test): Add comments and call free on all potentially
4064 allocated pointers. Remove duplicate check for NULL pointer.
4065 Add space after cast.
4067 * malloc/tst-valloc.c: Add comments.
4068 (do_test): Add comments and call free on all potentially
4069 allocated pointers. Remove duplicate check for NULL pointer.
4070 Add space after cast.
4072 2013-10-04 Alan Modra <amodra@gmail.com>
4074 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4075 Use stdint types in rather than __attribute__((mode())).
4076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4078 2013-10-04 Alan Modra <amodra@gmail.com>
4080 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4081 Correct handling of unaligned relocs for little-endian.
4082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4084 2013-10-04 Alan Modra <amodra@gmail.com>
4086 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4087 * configure: Regenerate.
4088 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4089 * shlib-versions: Likewise.
4091 2013-10-04 Alan Modra <amodra@gmail.com>
4093 * string/tester.c (test_memrchr): Increment reported test cycle.
4095 2013-10-04 Alan Modra <amodra@gmail.com>
4097 * string/test-memcpy.c (do_one_test): When reporting errors, print
4098 string address and don't overrun end of string.
4100 2013-10-04 Alan Modra <amodra@gmail.com>
4102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4103 insrdi. Make better use of reg selection to speed exit slightly.
4104 Schedule entry path a little better. Remove useless "are we done"
4105 checks on entry to main loop. Handle wrapping around zero address.
4106 Correct main loop count. Handle single left-over word from main
4107 loop inline rather than by using loop_small. Remove extra word
4108 case in loop_small caused by wrong loop count. Add little-endian
4110 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4111 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4113 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4114 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4115 support. Avoid rlwimi.
4116 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4118 2013-10-04 Alan Modra <amodra@gmail.com>
4120 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4122 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4123 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4124 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4125 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4126 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4127 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4129 2013-10-04 Alan Modra <amodra@gmail.com>
4131 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4132 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4133 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4134 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4135 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4136 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4137 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4138 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4139 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4140 use of regs. Use power7 mtocrf. Tidy function tails.
4142 2013-10-04 Alan Modra <amodra@gmail.com>
4144 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4145 Formatting. Consistently use rXXX register defines or rN defines.
4146 Use early exit labels that avoid restoring unused non-volatile regs.
4147 Make cr field use more consistent with rWORDn compares. Rename
4148 regs used as shift registers for unaligned loop, using rN defines
4149 for short lifetime/multiple use regs.
4150 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4151 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4152 addi 1,1,64 to pop stack frame. Simplify return value code.
4153 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4155 2013-10-04 Alan Modra <amodra@gmail.com>
4157 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4158 support. Correct typos, formatting. Optimize tail. Use insrdi
4160 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4161 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4162 little-endian support. Correct typos.
4163 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4165 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4166 in loop and entry code to keep "and." results.
4167 (strchr): Add little-endian support. Comment. Move cntlzd
4169 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4171 2013-10-04 Alan Modra <amodra@gmail.com>
4173 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4174 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4175 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4176 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4178 2013-10-04 Alan Modra <amodra@gmail.com>
4180 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4181 (rTMP): Define as r11.
4182 (strcmp): Add little-endian support. Optimise tail.
4183 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4184 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4185 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4186 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4187 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4188 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4189 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4191 2013-10-04 Alan Modra <amodra@gmail.com>
4193 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4194 little-endian support. Remove unnecessary "are we done" tests.
4195 Handle "s" wrapping around zero and extremely large "size".
4196 Correct main loop count. Handle single left-over word from main
4197 loop inline rather than by using small_loop. Correct comments.
4198 Delete "zero" tail, use "end_max" instead.
4199 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4201 2013-10-04 Alan Modra <amodra@gmail.com>
4203 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4204 support. Don't branch over align.
4205 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4206 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4207 support. Rearrange tmp reg use to suit. Comment.
4208 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4210 2013-10-04 Alan Modra <amodra@gmail.com>
4212 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4214 2013-10-04 Alan Modra <amodra@gmail.com>
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4217 conditional form of branch and link when obtaining pc.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4220 2013-10-04 Alan Modra <amodra@gmail.com>
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4227 2013-10-04 Alan Modra <amodra@gmail.com>
4229 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4230 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4231 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4232 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4233 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4234 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4235 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4236 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4237 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4238 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4240 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4241 Alistair Popple <alistair@ozlabs.au.ibm.com>
4242 Alan Modra <amodra@gmail.com>
4245 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4246 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4247 _dl_hwcap access for little-endian.
4248 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4249 destroy vmx regs when saving unaligned.
4250 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4251 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4252 destroy vmx regs when saving unaligned.
4254 2013-10-04 Alan Modra <amodra@gmail.com>
4256 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4257 Don't use a union to pack hi/low value.
4259 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4261 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4263 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4265 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4266 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4267 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4269 2013-10-04 Alan Modra <amodra@gmail.com>
4271 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4272 constants to usual value for .cst8 section, and remove redundant
4274 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4275 constant for 0x1p52. Load little-endian words of double from
4276 correct stack offsets.
4278 2013-10-04 Alan Modra <amodra@gmail.com>
4280 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4281 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4282 words of double from correct stack offsets.
4283 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4284 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4285 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4286 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4287 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4288 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4290 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4291 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4292 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4293 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4294 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4295 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4296 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4297 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4298 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4299 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4301 2013-10-04 Alan Modra <amodra@gmail.com>
4303 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4304 64-bit int/double union.
4305 (_FPU_SETCW): Likewise.
4306 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4307 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4309 2013-10-04 Alan Modra <amodra@gmail.com>
4311 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4312 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4314 2013-10-04 Alan Modra <amodra@gmail.com>
4316 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4317 use vector int constants.
4318 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4320 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4322 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4323 array with long long.
4324 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4325 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4326 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4327 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4328 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4329 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4330 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4331 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4332 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4333 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4334 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4335 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4336 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4338 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4340 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4341 (__signbit): Likewise. Correct for little-endian.
4342 (__signbitl): Call __signbit.
4343 (lrint): Correct for little-endian.
4344 (lrintf): Call lrint.
4346 2013-10-04 Alan Modra <amodra@gmail.com>
4348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4349 union 32-bit int array member with 64-bit int array.
4350 (t515, tm256): Double rather than long double.
4351 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4353 2013-10-04 Alan Modra <amodra@gmail.com>
4355 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4357 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4358 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4359 version of math_ldbl.h.
4361 2013-10-04 Alan Modra <amodra@gmail.com>
4363 [BZ #15734], [BZ #15735]
4364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4365 all uses of ieee875 long double macros and unions. Simplify test
4366 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4367 ldbl_extract_mantissa value for ix,iy exponents. Properly
4368 normalize after ldbl_extract_mantissa, and don't add hidden bit
4369 already handled. Don't treat low word of ieee854 mantissa like
4370 low word of IBM long double and mask off bit when testing for
4372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4373 all uses of ieee875 long double macros and unions. Simplify tests
4374 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4375 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4376 two1022, instead use their values. Recognise that tests for large
4377 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4378 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4379 Rewrite all uses of ieee875 long double macros and unions. Simplify
4380 test for 0.0L and nan. Correct negation.
4381 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4382 ieee875 long double macros and unions. Correct output for large
4383 magnitude x. Correct absolute value calculation.
4384 (__erfcl): Likewise.
4385 * math/libm-test.inc: Add tests for errors discovered in IBM long
4386 double versions of fmodl, remainderl, erfl and erfcl.
4388 2013-10-04 Alan Modra <amodra@gmail.com>
4390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4391 all uses of ieee854 long double macros and unions. Simplify tests
4392 for long doubles that are fully specified by the high double.
4393 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4395 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4396 Remove dead code too.
4397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4398 (__ieee754_ynl): Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4402 Remove dead code too.
4403 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4413 Comment on variable precision.
4414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4417 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4419 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4421 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4423 2013-10-04 Alan Modra <amodra@gmail.com>
4425 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4426 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4427 all uses of ieee854 long double macros and unions.
4428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4441 Simplify sign and nan test too.
4442 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4447 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4457 2013-10-04 Alan Modra <amodra@gmail.com>
4459 * stdio-common/printf_size.c (__printf_size): Don't use
4460 union ieee854_long_double in fpnum union.
4461 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4462 signbit macro to retrieve sign from long double.
4463 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4464 retrieve sign from long double.
4465 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4466 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4467 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4468 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4469 * math/test-misc.c (main): Don't use union ieee854_long_double.
4471 2013-10-04 Alan Modra <amodra@gmail.com>
4474 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4475 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4476 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4477 calculation. Remove unnecessary test for denormal exponent.
4478 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4479 Correct handling of denormals. Avoid undefined shift behaviour.
4480 Correct normalisation of low mantissa when low double is denormal.
4481 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4482 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4483 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4484 Correct normalisation of low mantissa. Test for overflow of high
4485 mantissa and normalise.
4486 (ldbl_nearbyint): Use more readable constant for two52.
4487 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4488 (__mpn_construct_long_double): Fix test for overflow of high
4489 mantissa and correct normalisation. Avoid undefined shift.
4491 2013-10-04 Alan Modra <amodra@gmail.com>
4493 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4494 (union ibm_extended_long_double): Define as an array of ieee754_double.
4495 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4496 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4497 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4498 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4499 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4501 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4502 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4503 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4504 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4505 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4507 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4509 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4510 page size instead of calling getpagesize.
4512 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4513 (LOCFILE_ALIGN_MASK): Likewise.
4514 (LOCFILE_ALIGN_UP): Likewise.
4515 (LOCFILE_ALIGNED_P): Likewise.
4516 * locale/programs/ld-collate.c (collate_output): Use the new
4517 macros instead of __alignof__ (int32_t).
4518 * locale/weight.h (findidx): Likewise.
4520 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4523 * manual/string.texi: Fix strncat and wcsncat.
4525 2013-10-03 Brooks Moses <bmoses@google.com>
4528 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4529 * Makerules: ...here, and adjust associated comments.
4531 2013-10-02 Will Newton <will.newton@linaro.org>
4533 * malloc/Makefile: Add tst-pvalloc.
4534 * malloc/tst-pvalloc.c: New file.
4536 2013-10-02 Will Newton <will.newton@linaro.org>
4538 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4539 improve test coverage.
4541 2013-10-02 Will Newton <will.newton@linaro.org>
4543 * malloc/Makefile: Add tst-posix_memalign.
4544 * malloc/tst-posix_memalign.c: New file.
4546 2013-10-01 Eric Blake <eblake@redhat.com>
4548 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4549 Use __THROWNL rather than __THROW on static functions.
4551 2013-09-30 Petr Machata <pmachata@redhat.com>
4553 * elf/elf.h (R_AARCH64_ABS16): New macro.
4554 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4555 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4556 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4557 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4558 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4559 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4560 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4561 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4562 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4563 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4564 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4565 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4566 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4567 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4568 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4569 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4570 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4571 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4572 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4573 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4574 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4575 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4576 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4577 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4578 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4579 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4580 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4581 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4582 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4583 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4584 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4585 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4586 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4587 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4588 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4589 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4590 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4591 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4592 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4593 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4594 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4595 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4596 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4597 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4598 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4599 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4600 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4601 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4602 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4603 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4604 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4605 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4606 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4607 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4608 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4609 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4610 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4611 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4612 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4613 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4614 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4615 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4616 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4617 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4618 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4619 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4620 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4621 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4622 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4623 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4624 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4625 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4626 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4627 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4628 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4629 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4630 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4631 (R_AARCH64_TLSDESC_LDR): Likewise.
4632 (R_AARCH64_TLSDESC_ADD): Likewise.
4633 (R_AARCH64_TLSDESC_CALL): Likewise.
4635 2013-09-30 Andreas Schwab <schwab@suse.de>
4638 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4639 the nss database lookup.
4640 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4643 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4645 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4647 2013-09-28 P. J. McDermott <pj@pehjota.net>
4649 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4650 ${Bash-specific parameter/pattern/string} parameter expansion.
4651 * sysdeps/unix/make-syscalls.sh: Likewise.
4653 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4655 * sysdeps/sh/stackguard-macros.h: New file.
4657 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4661 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4662 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4663 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4664 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4666 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4668 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4669 Fix thread ID register.
4671 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4673 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4674 [POSIX || UNIX98]: Require rather than permitting all symbols from
4676 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4677 element of struct sched_param.
4678 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4679 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4680 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4681 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4684 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4686 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4687 argument calculation.
4689 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4691 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4693 [POSIX] (pthread_attr_t): Do not require type.
4694 [POSIX] (pthread_cond_t): Likewise.
4695 [POSIX] (pthread_condattr_t): Likewise.
4696 [POSIX] (pthread_key_t): Likewise.
4697 [POSIX] (pthread_mutex_t): Likewise.
4698 [POSIX] (pthread_mutexattr_t): Likewise.
4699 [POSIX] (pthread_once_t): Likewise.
4700 [POSIX] (pthread_t): Likewise.
4701 [POSIX-based standards] (pthread_atfork): Expect function.
4703 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4704 Richard Sandiford <richard@codesourcery.com>
4706 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4707 (swap_endianness_p): New extern variable.
4708 (set_big_endian): New inline function.
4709 (maybe_swap_uint32): Likewise.
4710 (maybe_swap_uint32_array): Likewise.
4711 (maybe_swap_uint32_obstack): Likewise.
4712 * locale/programs/locfile.c: Include <stdbool.h>.
4713 (swap_endianness_p): New variable.
4714 (add_locale_uint32): Call maybe_swap_uint32.
4715 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4716 (write_locale_data): Call maybe_swap_uint32_array.
4717 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4719 (obstack_int32_grow_fast): Likewise.
4720 (output_weightwc): Call maybe_swap_uint32_obstack.
4721 (collate_output): Likewise.
4722 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4723 (OPT_LITTLE_ENDIAN): Likewise.
4724 (options): Add --little-endian and --big-endian options.
4725 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4726 * locale/programs/locarchive.c: Include "locfile.h".
4730 (create_archive): Use the new macros to access fields of
4731 structures directly mapped from or written to locale archives.
4732 (oldlocrecentcmp): Likewise.
4733 (enlarge_archive): Likewise.
4734 (insert_name): Likewise.
4735 (add_alias): Likewise.
4736 (add_locale): Likewise.
4737 (delete_locales_from_archive): Likewise.
4738 (show_archive_content): Likewise.
4739 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4742 2013-09-24 Roland McGrath <roland@hack.frob.com>
4744 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4745 http://www.gnu.org/doc/freemanuals.texi.
4746 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4748 2013-09-24 Will Newton <will.newton@linaro.org>
4750 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4753 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4755 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4758 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4760 * manual/threads.texi (POSIX Threads): Fix a typo.
4762 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4765 * string/tst-strcoll-overflow.c: New test case.
4766 * string/Makefile (xtests): Add tst-strcoll-overflow.
4767 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4768 cache if string sizes may cause integer overflow.
4771 * string/strcoll_l.c (coll_seq): New members rule, idx,
4772 save_idx and back_us.
4773 (get_next_seq_nocache): New function.
4774 (do_compare_nocache): New function.
4775 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4778 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4781 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4782 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4783 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4786 * elf/Makefile (tests): Add tst-ptrguard1.
4787 (tests-static): Add tst-ptrguard1-static.
4788 (tst-ptrguard1-ARGS): Define.
4789 (tst-ptrguard1-static-ARGS): Define.
4790 * elf/tst-ptrguard1.c: New file.
4791 * elf/tst-ptrguard1-static.c: New file.
4792 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4793 * sysdeps/i386/stackguard-macros.h: Likewise.
4794 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4795 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4796 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4797 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4798 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4799 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4801 2013-09-23 Hector Marco <hecmargi@upv.es>
4802 Ismael Ripoll <iripoll@disca.upv.es>
4803 Carlos O'Donell <carlos@redhat.com>
4806 * sysdeps/generic/stackguard-macros.h: Define
4807 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4808 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4809 Define __pointer_chk_guard_local.
4810 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4811 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4813 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4816 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4818 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4820 * include/string.h (__ffs): Declare as hidden.
4821 * string/ffs.c (__ffs): Define as hidden.
4822 * sysdeps/i386/ffs.c (__ffs): Likewise.
4823 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4824 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4825 * sysdeps/s390/ffs.c (__ffs): Likewise.
4826 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4828 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4830 * NEWS: Mention malloc probes.
4832 * malloc/arena.c (new_heap): New memory_heap_new probe.
4833 (grow_heap): New memory_heap_more probe.
4834 (shrink_heap): New memory_heap_less probe.
4835 (heap_trim): New memory_heap_free probe.
4836 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4837 (systrim): New memory_sbrk_less probe.
4838 * manual/probes.texi: Document them.
4840 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4841 * manual/probes.texi: Document it.
4843 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4844 (__libc_realloc): Add memory_realloc_retry probe.
4845 (__libc_memalign): Add memory_memalign_retry probe.
4846 (__libc_valloc): Add memory_valloc_retry probe.
4847 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4848 (__libc_calloc): Add memory_calloc_retry probe.
4849 * manual/probes.texi: Document them.
4851 * malloc/arena.c (get_free_list): Add probe
4852 memory_arena_reuse_free_list.
4853 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4854 and memory_arena_reuse.
4855 (arena_get2) [!PER_THREAD]: Likewise.
4856 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4857 memory_arena_reuse_realloc.
4858 * manual/probes.texi: Document them.
4860 * malloc/malloc.c (__libc_free): Add
4861 memory_mallopt_free_dyn_thresholds probe.
4862 (__libc_mallopt): Add multiple memory_mallopt probes.
4863 * manual/probes.texi: Document them.
4865 * malloc/malloc.c: Include stap-probe.h.
4866 (__libc_mallopt): Add memory_mallopt probe.
4867 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4868 * manual/probes.texi: New.
4869 * manual/Makefile (chapters): Add probes.
4870 * manual/threads.texi: Set next node.
4872 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4875 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4876 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4877 Add `Chinese' to `nan' entry name.
4879 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4881 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4882 (POLYNOMIAL): Likewise.
4883 (TAYLOR_SINCOS): Likewise.
4884 (TAYLOR_SLOW): Likewise.
4885 (__sin): Use TAYLOR_SINCOS.
4887 (slow): Use TAYLOR_SLOW.
4892 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4894 * stdlib/strtod_l.c: Fix buffer overrun.
4896 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4898 * benchtests/Makefile (bench): Add sincos.
4899 * benchtests/bench-sincos.c: New file.
4901 * math/libm-test.inc (cos_test_data): New test inputs.
4902 (sin_test_data): Likewise.
4904 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4912 (bsloww1): Likewise.
4913 (bsloww2): Likewise.
4915 (csloww1): Likewise.
4916 (csloww2): Likewise.
4918 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4927 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4929 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4930 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4931 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4932 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4933 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4934 * elf/cache.c (print_entry): Handle the new cache flags.
4936 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4937 Aldy Hernandez <aldyh@redhat.com>
4939 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4940 Change condition to [_SOFT_FLOAT].
4941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4953 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4956 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4959 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4961 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4962 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4963 (__longjmp): Use LOAD_GP to load saved GPRs.
4964 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4965 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4966 (__sigsetjmp): Use SAVE_GP to save GPRs.
4968 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4969 Do not append -msoft-float.
4970 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4972 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4974 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4976 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4979 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4980 (_FPU_GETCW): Use initial "__" on variable and field names but not
4981 on macro parameter name.
4982 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4983 parentheses around reference to macro parameter.
4985 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4987 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4989 (ctype_startup): Use uint32_t in cast and sizeof for
4992 2013-09-11 Jia Liu <proljc@gmail.com>
4994 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4996 [__FreeBSD__]: Likewise.
4998 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5001 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5002 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5003 (strchr): Remove __strchr_sse42 ifunc selection.
5004 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5005 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5007 2013-09-11 Will Newton <will.newton@linaro.org>
5009 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5010 parameter to RES. Remove hardcoded 1000 value.
5011 * benchtests/bench-skeleton.c (main): Pass RES parameter
5012 to TIMING_INIT and multiply result by 1000.
5014 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5018 2013-09-11 Andreas Schwab <schwab@suse.de>
5020 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5022 (O_TMPFILE) [__USE_GNU]: Define.
5023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5026 2013-09-11 Will Newton <will.newton@linaro.org>
5029 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5032 2013-09-11 Will Newton <will.newton@linaro.org>
5035 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5038 2013-09-11 Will Newton <will.newton@linaro.org>
5041 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5044 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5046 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5047 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5048 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5049 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5050 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5052 2013-09-10 Allan McRae <allan@archlinux.org>
5055 * manual/arith.texi (Parsing of Floats): Clarify
5059 * manual/install.texi (Running make install): Mention
5061 * INSTALL: Regenerated.
5063 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5065 * csu/init-first.c (_init): Remove the !SHARED condition around
5066 FPU control word initialization.
5067 * elf/dl-support.c (_dl_fpu_control): New variable.
5068 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5069 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5070 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5071 * math/test-fpucw-static.c: New file.
5072 * math/test-fpucw-ieee.c: New file.
5073 * math/test-fpucw-ieee-static.c: New file.
5074 * math/Makefile (tests): Add `test-fpucw-ieee' and
5076 (tests-static): New variable.
5077 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5079 [($(build-shared),yes)]
5080 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5082 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5085 2013-09-09 Allan McRae <allan@archlinux.org>
5088 * manual/string.texi (Collation Functions): Fix typo in
5090 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5093 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5096 * libio/memstream.c (open_memstream): Fix memory leak.
5097 * libio/wmemstream.c (open_wmemstream): Likewise.
5100 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5102 2013-09-09 Will Newton <will.newton@linaro.org>
5104 * malloc/Makefile: Add tst-realloc to tests.
5105 * malloc/tst-realloc.c: New file.
5107 2013-09-09 Allan McRae <allan@archlinux.org>
5110 * COPYING: Update from GNU website to fix FSF address.
5111 * COPYING.LIB: Likewise.
5113 2013-09-06 David S. Miller <davem@davemloft.net>
5115 * po/zh_TW.po: Update Chinese (traditional) translation from
5116 translation project.
5118 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5119 Joseph Myers <joseph@codesourcery.com>
5121 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5123 (obstack_chunk_alloc): New macro.
5124 (obstack_chunk_free): Likewise.
5125 (record_offset): New function.
5126 (init_locale_data): Likewise.
5127 (align_locale_data): Likewise.
5128 (add_locale_empty): Likewise.
5129 (add_locale_raw_data): Likewise.
5130 (add_locale_raw_obstack): Likewise.
5131 (add_locale_string): Likewise.
5132 (add_locale_wstring): Likewise.
5133 (add_locale_uint32): Likewise.
5134 (add_locale_uint32_array): Likewise.
5135 (add_locale_char): Likewise.
5136 (start_locale_structure): Likewise.
5137 (end_locale_structure): Likewise.
5138 (start_locale_prelude): Likewise.
5139 (end_locale_prelude): Likewise.
5140 (write_locale_data): Take locale_file structure rather than an
5142 * locale/programs/locfile.h: Include "obstack.h".
5143 (struct locale_file): Change to store locale file contents instead
5145 (init_locale_data): New prototype.
5146 (align_locale_data): Likewise.
5147 (add_locale_empty): Likewise.
5148 (add_locale_raw_data): Likewise.
5149 (add_locale_raw_obstack): Likewise.
5150 (add_locale_string): Likewise.
5151 (add_locale_wstring): Likewise.
5152 (add_locale_uint32): Likewise.
5153 (add_locale_uint32_array): Likewise.
5154 (add_locale_char): Likewise.
5155 (start_locale_structure): Likewise.
5156 (end_locale_structure): Likewise.
5157 (start_locale_prelude): Likewise.
5158 (end_locale_prelude): Likewise.
5159 (write_locale_data): Update prototype.
5160 * locale/programs/3level.h (struct TABLE): Remove result field.
5161 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5162 Use new locale_file interface.
5163 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5164 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5165 * locale/programs/ld-address.c (address_output): Use new
5166 locale_file interface.
5167 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5169 (collate_finish): Don't call collseq_table_finalize.
5170 (collate_output): Use new locale_file interface.
5171 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5173 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5174 (TABLE): Move defines earlier in file.
5175 (ELEMENT): Likewise.
5176 (DEFAULT): Likewise.
5177 (wctrans_table_add): Move macro and inline function earlier in
5179 (struct wctype_table): Move type earlier in file.
5180 (add_locale_wctype_table): New static prototype.
5181 (struct locale_ctype_t): Use logical types instead of struct iovec
5182 pointers for members.
5183 (ctype_output): Use new locale_file interface.
5184 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5185 new locale_file interface.
5186 (allocate_arrays): Update for use of new locale_file interface.
5187 * locale/programs/ld-identification.c (identification_output): Use
5188 new locale_file interface.
5189 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5190 * locale/programs/ld-messages.c (messages_output): Likewise.
5191 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5192 * locale/programs/ld-name.c (name_output): Likewise.
5193 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5194 * locale/programs/ld-paper.c (paper_output): Likewise.
5195 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5196 * locale/programs/ld-time.c (time_output): Likewise.
5198 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5200 * benchtests/Makefile: Add memrchr benchmark.
5201 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5202 benchmark as memrchr.
5203 * benchtests/bench-memrchr-ifunc.c: New file.
5204 * benchtests/bench-memrchr.c: New file.
5206 2013-09-06 Will Newton <will.newton@linaro.org>
5208 * benchtests/Makefile (string-bench): Add memcpy.
5210 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5211 Cong Wang <amwang@redhat.com>
5213 * sysdeps/unix/sysv/linux/bits/in.h
5214 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5215 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5216 before __USE_KERNEL_IPV6_DEFS uses.
5217 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5219 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5220 sockaddr_in6, or ipv6_mreq.
5222 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5224 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5225 memory access for final bytes in some large inputs.
5226 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5228 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5230 * string/test-memrchr.c: New file.
5231 * string/test-memrchr-ifunc.c: New file.
5232 * string/Makefile: Add new memrchr testcase.
5234 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5236 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5237 fanotify_init returns EPERM.
5239 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5241 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5243 (top level): Treat second token from macro or constant entries for
5244 allowed headers as allowed.
5245 * include/complex.h: Condition internal declarations on
5247 * include/fenv.h: Condition include of <stdbool.h> and internal
5248 declarations on [!_ISOMAC].
5250 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5253 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5255 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5257 * configure.in (--enable-versioning): Remove configure option.
5258 (libc_cv_asm_symver_directive): Remove configure test.
5259 (libc_cv_ld_version_script_option): Likewise.
5260 (VERSIONING): Remove variable and AC_SUBST.
5261 (DO_VERSIONING): Remove AC_DEFINE.
5262 * configure: Regenerated.
5263 * config.h.in (DO_VERSIONING): Remove macro.
5264 * Makerules [$(versioning) = yes]: Change conditionals to
5265 [$(build-shared) = yes].
5266 * config.make.in (versioning): Remove variable.
5267 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5268 [$(build-shared) = yes].
5269 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5270 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5271 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5272 [$(build-shared) = yes].
5273 * extra-lib.mk [$(versioning) = yes]: Likewise.
5274 * hurd/Makefile [$(versioning) = yes]: Likewise.
5275 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5277 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5279 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5280 [SHARED && !NO_HIDDEN].
5281 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5283 [SHARED && DO_VERSIONING]: Likewise..
5284 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5285 [$(build-shared) = yes].
5286 * manual/install.texi (--disable-versioning): Remove
5288 * INSTALL: Regenerated.
5289 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5291 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5292 [$(build-shared) = yes].
5293 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5294 * sysdeps/i386/i686/multiarch/strstr-c.c
5295 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5296 [SHARED && !NO_HIDDEN].
5297 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5298 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5299 * sysdeps/powerpc/powerpc32/dl-machine.c
5300 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5301 * sysdeps/powerpc/powerpc32/sysdep.h
5302 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5303 to [SHARED && PIC && !NO_HIDDEN].
5304 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5305 conditional to [SHARED].
5307 2013-09-04 Will Newton <will.newton@linaro.org>
5309 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5310 * benchtests/bench-string.h: Include bench-timing.h instead
5311 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5312 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5313 call to HP_TIMING_DIFF_INIT.
5314 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5315 instead of hp-timing.h macros.
5316 * benchtests/bench-memchr.c: Likewise.
5317 * benchtests/bench-memcmp.c: Likewise.
5318 * benchtests/bench-memcpy.c: Likewise.
5319 * benchtests/bench-memmem.c: Likewise.
5320 * benchtests/bench-memmove.c: Likewise.
5321 * benchtests/bench-memset.c: Likewise.
5322 * benchtests/bench-rawmemchr.c: Likewise.
5323 * benchtests/bench-strcasecmp.c: Likewise.
5324 * benchtests/bench-strcasestr.c: Likewise.
5325 * benchtests/bench-strcat.c: Likewise.
5326 * benchtests/bench-strchr.c: Likewise.
5327 * benchtests/bench-strcmp.c: Likewise.
5328 * benchtests/bench-strcpy.c: Likewise.
5329 * benchtests/bench-strcpy_chk.c: Likewise.
5330 * benchtests/bench-strlen.c: Likewise.
5331 * benchtests/bench-strncasecmp.c: Likewise.
5332 * benchtests/bench-strncat.c: Likewise.
5333 * benchtests/bench-strncmp.c: Likewise.
5334 * benchtests/bench-strncpy.c: Likewise.
5335 * benchtests/bench-strnlen.c: Likewise.
5336 * benchtests/bench-strpbrk.c: Likewise.
5337 * benchtests/bench-strrchr.c: Likewise.
5338 * benchtests/bench-strspn.c: Likewise.
5339 * benchtests/bench-strstr.c: Likewise.
5341 2013-09-04 Will Newton <will.newton@linaro.org>
5343 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5345 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5348 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5349 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5350 * math/libm-test.inc (lgamma_test_data): Add more tests.
5351 * sysdeps/i386/fpu/libm-test-ulps: Update.
5352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5354 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5356 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5360 Add strcmp-sse2-unaligned
5361 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5363 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5365 * Versions.def (libc): Add GLIBC_2.19.
5367 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5369 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5370 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5372 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5375 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5376 intermediate calculations in recurrence.
5377 (__ieee754_ynf): Likewise.
5378 * math/libm-test.inc (jn_test_data): Do not allow spurious
5379 underflow exception. Add more tests.
5380 (yn_test_data): Add more tests.
5381 * sysdeps/i386/fpu/libm-test-ulps: Update.
5382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5384 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5386 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5388 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5390 * csu/init-first.c: Fix then/than typos.
5391 * locale/programs/ld-collate.c: Likewise.
5392 * locale/programs/linereader.h: Likewise.
5393 * manual/charset.texi: Likewise.
5394 * manual/filesys.texi: Likewise.
5395 * manual/stdio.texi: Likewise.
5396 * manual/string.texi: Likewise.
5397 * stdlib/fmtmsg.c: Likewise.
5398 * sysdeps/i386/stpncpy.S: Likewise.
5399 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5400 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5401 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5402 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5404 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5406 * elf/dl-open.c: Fix typos.
5407 * iconvdata/gbbig5.c: Likewise.
5408 * iconvdata/iso-2022-jp.c: Likewise.
5409 * iconv/gconv_int.h: Likewise.
5410 * iconv/loop.c: Likewise.
5411 * nis/rpcsvc/nis.h: Likewise.
5412 * resolv/ns_name.c: Likewise.
5413 * stdio-common/vfscanf.c: Likewise.
5414 * streams/stropts.h: Likewise.
5415 * sunrpc/rpc_thread.c: Likewise.
5416 * sysdeps/i386/strpbrk.S: Likewise.
5417 * sysdeps/ieee754/k_standard.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5420 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5421 * sysdeps/mach/hurd/profil.c: Likewise.
5422 * sysdeps/s390/dl-procinfo.h: Likewise.
5423 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5424 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5425 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5426 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5427 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5429 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5431 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5434 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5436 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5438 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5439 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5440 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5441 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5442 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5443 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5444 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5445 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5447 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5448 Roland McGrath <roland@hack.frob.com>
5450 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5451 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5453 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5455 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5456 __executable_start symbol instead of _start.
5458 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5460 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5461 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5463 * sysdeps/gnu/ldsodefs.h: ... this new file.
5465 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5466 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5467 instead of ELFOSABI_LINUX.
5469 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5470 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5471 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5472 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5474 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5475 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5478 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5479 (ibm_extended_long_double): Add ieee_nan member.
5480 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5481 (do_test): New function.
5483 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5485 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5486 functions, renamed from truncdfsf_test, trunctfsf_test,
5488 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5490 (do_test): Run all these.
5492 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5494 * argp/argp-help.c: Fix typos.
5495 * argp/argp-parse.c: Likewise.
5496 * debug/backtracesyms.c: Likewise.
5497 * elf/elf.h: Likewise.
5498 * malloc/malloc.c: Likewise.
5499 * nis/nis_print.c: Likewise.
5500 * resolv/res_comp.c: Likewise.
5501 * stdlib/stdlib.h: Likewise.
5502 * sunrpc/clnt_tcp.c: Likewise.
5503 * sunrpc/clnt_udp.c: Likewise.
5504 * sunrpc/clnt_unix.c: Likewise.
5505 * sysdeps/unix/bsd/ptsname.c: Likewise.
5506 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5507 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5514 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5516 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5518 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5521 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5524 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5525 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5526 ($(objpfx)bug-dl-leaf): New rule.
5527 ($(objpfx)bug-dl-leaf.so): Likewise.
5528 ($(objpfx)bug-dl-leaf.out): Likewise.
5529 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5530 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5531 * dlfcn/bug-dl-leaf.c: New test.
5532 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5533 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5534 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5535 (dlclose): Likewise.
5536 (dlmopen): Likewise.
5538 2013-08-27 Roland McGrath <roland@hack.frob.com>
5540 * include/netdb.h [!_ISOMAC]:
5541 Don't include <tls.h>.
5542 (h_errno, __libc_h_errno): Move declaration and macros out of
5545 * include/resolv.h [_RESOLV_H_]:
5546 Don't include <tls.h>.
5547 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5548 * resolv/res_libc.c: Don't include <tls.h>.
5549 (_res): Use __attribute__ ((nocommon)) in place of
5550 __attribute__ ((section (".bss"))).
5552 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5553 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5555 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5557 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5558 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5560 * resolv/res_mkquery.c: Include <sys/time.h>.
5562 * inet/ifreq.c: Moved to ...
5563 * sysdeps/unix/ifreq.c: ... here.
5564 * inet/ifreq.c: New file, true stub version.
5566 * socket/sa_len.c: New file.
5567 * socket/Makefile (aux): Add it.
5568 * sysdeps/unix/sysv/linux/Makefile
5569 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5570 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5571 and #include <socket/sa_len.c>.
5572 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5573 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5575 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5576 * bits/socket.h: ... here.
5578 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5579 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5580 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5582 2013-08-27 Andreas Schwab <schwab@suse.de>
5585 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5586 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5587 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5588 * string/test-strcasecmp.c (test_main): Run tests in several
5590 * string/test-strncasecmp.c (test_main): Likewise.
5592 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5593 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5594 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5596 (__strncasecmp_ssse3) [PIC]: Likewise.
5598 2013-08-26 Roland McGrath <roland@hack.frob.com>
5600 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5602 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5603 instead of explicitly declaring xdecrypt.
5604 * nis/nss_nis/nis-publickey.c: Likewise.
5606 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5609 * nscd/aicache.c: Include res_hconf.h.
5610 (addhstaiX): Initialize res_hconf.
5612 2013-08-26 Andreas Schwab <schwab@suse.de>
5614 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5615 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5617 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5619 * nscd/aicache.c (addhstaiX): Fix indentation.
5621 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5623 * configure.ac: Quote $build_pt_chown test.
5624 * configure: Regenerated.
5626 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5629 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5630 * math/s_cexpf.c (__cexpf): Likewise.
5631 * math/s_cexpl.c (__cexpl): Likewise.
5632 * math/libm-test.inc (cexp_test_data): Correct expected return
5633 value for NaN + i0. Add another test.
5635 2013-08-22 David S. Miller <davem@davemloft.net>
5637 * po/ca.po: Update Catalan translation from translation project.
5638 * po/uk.po: Add Ukrainian translations from translation project.
5640 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5643 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5644 is infinite, not alongside NaN test.
5645 * math/s_fdimf.c (__fdimf): Likewise.
5646 * math/s_fdiml.c (__fdiml): Likewise.
5647 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5650 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5652 * argp/argp-help.c: Fix typos.
5653 * crypt/speeds.c: Likewise.
5654 * csu/check_fds.c: Likewise.
5655 * elf/dl-load.c: Likewise.
5656 * elf/dl-open.c: Likewise.
5657 * elf/reldep3.c: Likewise.
5658 * elf/reldep.c: Likewise.
5659 * elf/sprof.c: Likewise.
5660 * iconv/iconv_charmap.c: Likewise.
5661 * iconv/skeleton.c: Likewise.
5662 * iconv/strtab.c: Likewise.
5663 * io/lockf64.c: Likewise.
5664 * libio/libioP.h: Likewise.
5665 * resolv/gai_notify.c: Likewise.
5666 * resolv/ns_name.c: Likewise.
5667 * resolv/ns_samedomain.c: Likewise.
5668 * resolv/res_send.c: Likewise.
5669 * stdlib/random.c: Likewise.
5670 * sunrpc/rpc/xdr.h: Likewise.
5671 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5672 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5673 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5674 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5676 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5677 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5678 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5679 * sysdeps/mach/hurd/check_fds.c: Likewise.
5680 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5681 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5682 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5683 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5684 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5685 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5686 * sysdeps/pthread/aio_notify.c: Likewise.
5687 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5688 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5689 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5690 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5691 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5693 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5695 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5696 version if bit_Slow_SSE4_2 is set.
5697 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5698 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5700 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5703 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5704 trampoline stack frame information.
5705 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5707 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5708 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5709 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5710 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5711 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5712 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5714 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5715 interrupting a syscall and set with option SA_SIGINFO.
5717 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5720 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5721 argument is infinite.
5722 * math/s_cprojf.c (__cprojf): Likewise.
5723 * math/s_cprojl.c (__cprojl): Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5725 * math/libm-test.inc (cproj_test_data): Add more tests.
5727 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5729 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5730 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5731 size. Use __ffs to determine corresponding shift.
5733 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5734 Roland McGrath <roland@hack.frob.com>
5736 * Makefile (INSTALL): Remove trailing blank lines from output of
5739 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5741 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5742 Align 32 bit compat elf_greg to 8 bytes.
5744 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5746 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5748 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5750 * string/strcoll_l.c (coll_seq): New structure.
5751 (get_next_seq_cached): New function.
5752 (get_next_seq): New function.
5753 (do_compare): New function.
5754 (STRCOLL): Use GNU style definition. Simplify implementation
5755 by using get_next_seq, get_next_seq_cached and do_compare.
5757 2013-08-16 Florian Weimer <fweimer@redhat.com>
5761 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5763 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5765 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5766 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5767 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5769 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5770 GETDENTS_64BIT_ALIGNED.
5771 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5772 * manual/filesys.texi (Reading/Closing Directory): Document
5773 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5775 * manual/conf.texi (Limits for Files): Add portability note to
5777 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5779 2013-08-13 Andreas Schwab <schwab@suse.de>
5782 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5784 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5785 LDBL_MAX_EXP >= 16384]: Add tests for it.
5787 2013-08-12 David S. Miller <davem@davemloft.net>
5789 * version.h (RELEASE): Set to "development".
5790 (VERSION): Set to "2.18.90".
5791 * NEWS: Add 2.19 section.
5793 2013-08-03 David S. Miller <davem@davemloft.net>
5795 * po/ko.po: Update Korean translation from translation project.
5797 2013-08-01 David S. Miller <davem@davemloft.net>
5799 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5800 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5803 2013-07-30 David S. Miller <davem@davemloft.net>
5805 * po/fr.po: Update French translation from translation project.
5807 2013-07-28 David S. Miller <davem@davemloft.net>
5809 * po/cs.po: Update Czech translation from translation project.
5811 * po/sv.po: Update Swedish translation from translation project.
5813 2013-07-27 David S. Miller <davem@davemloft.net>
5815 * po/eo.po: Update Esperanto translation from translation project.
5817 * po/vi.po: Update Vietnamese translation from translation project.
5819 * po/de.po: Update German translation from translation project.
5821 2013-07-26 David S. Miller <davem@davemloft.net>
5823 * po/bg.po: Update Bulgarian translation from translation project.
5825 * po/nl.po: Update Dutch translation from translation project.
5826 * po/pl.po: Update Polish translation from translation project.
5827 * po/ru.po: Update Russian translation from translation project.
5829 2013-07-24 David S. Miller <davem@davemloft.net>
5831 * po/libc.pot: Update.
5833 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5835 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5837 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5838 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5839 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5841 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5843 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5845 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5846 Andreas Schwab <schwab@suse.de>
5847 Roland McGrath <roland@hack.frob.com>
5848 Joseph Myers <joseph@codesourcery.com>
5849 Carlos O'Donell <carlos@redhat.com>
5852 * config.h.in: Define HAVE_PT_CHOWN.
5853 * config.make.in (build-pt-chown): New variable.
5854 * configure.in (--enable-pt_chown): New configure option.
5855 * configure: Regenerate.
5856 * login/Makefile: Include Makeconfig. Build pt_chown only if
5857 build-pt-chown is enabled.
5858 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5859 pt_chown to fix pty ownership.
5860 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5862 * manual/install.texi (Configuring and compiling): Mention
5863 --enable-pt_chown. Add @findex for grantpt.
5864 * INSTALL: Regenerate.
5866 2013-07-20 David S. Miller <davem@davemloft.net>
5868 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5869 difference between 32-bit and 64-bit.
5871 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5874 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5875 Avoid system header dependency with -ffreestanding.
5876 ($(objpfx)bits/syscall%d): Likewise.
5878 2013-07-13 David S. Miller <davem@davemloft.net>
5880 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5881 underflows from atanl/atan2l due to bug 15319.
5882 (casinh_test_data): Likewise.
5884 2013-07-07 David S. Miller <davem@davemloft.net>
5886 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5888 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5890 * sysdeps/i386/fpu/libm-test-ulps: Update.
5891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5893 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5895 * configure.in (--enable-lock-elision): Fix message text.
5896 * INSTALL: Regenerate.
5897 * configure: Regenerate.
5899 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5903 2013-07-03 Andreas Jaeger <aj@suse.de>
5905 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5907 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5908 (ptrace_peeksiginfo_args): Add.
5909 (__ptrace_peeksiginfo_flags): Add.
5910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5911 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5912 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5914 2013-07-03 Allan McRae <allan@archlinux.org>
5916 * sysdeps/i386/fpu/libm-test-ulps: Update.
5918 2013-07-02 David S. Miller <davem@davemloft.net>
5920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5922 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5926 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5928 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931 2013-07-02 Andi Kleen <ak@linux.intel.com>
5933 * config.h.in (ENABLE_LOCK_ELISION): Add.
5934 * configure.in (--enable-lock-elision): Add option.
5935 * manual/install.texi: Document --enable lock elision.
5936 * configure: Regenerate
5937 * INSTALL: Regenerate.
5939 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5941 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5942 SSE4.2 strcasecmp for libc.a.
5943 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5945 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5948 * soft-fp/op-common.h (_FP_FMA): New macro.
5949 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5950 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5951 (_FP_MUL_MEAT_1_imm): ... here.
5952 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5953 (_FP_MUL_MEAT_1_wide): ... here.
5954 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5955 (_FP_MUL_MEAT_1_hard): ... here.
5956 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5957 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5958 (_FP_MUL_MEAT_2_wide): ... here.
5959 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5960 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5961 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5962 (_FP_MUL_MEAT_2_gmp): ... here.
5963 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5964 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5965 (_FP_MUL_MEAT_4_wide): ... here.
5966 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5967 (_FP_MUL_MEAT_4_gmp): ... here.
5968 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5969 (_FP_WFRACBITS_DW_S): Likewise.
5970 (_FP_WFRACXBITS_DW_S): Likewise.
5971 (_FP_HIGHBIT_DW_S): Likewise.
5972 (FP_FMA_S): Likewise.
5973 (_FP_FRAC_HIGH_DW_S): Likewise.
5974 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5975 (_FP_WFRACBITS_DW_D): Likewise.
5976 (_FP_WFRACXBITS_DW_D): Likewise.
5977 (_FP_HIGHBIT_DW_D): Likewise.
5978 (FP_FMA_D): Likewise.
5979 (_FP_FRAC_HIGH_DW_D): Likewise.
5980 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5981 (_FP_WFRACBITS_DW_E): Likewise.
5982 (_FP_WFRACXBITS_DW_E): Likewise.
5983 (_FP_HIGHBIT_DW_E): Likewise.
5984 (FP_FMA_E): Likewise.
5985 (_FP_FRAC_HIGH_DW_E): Likewise.
5986 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5987 (_FP_WFRACBITS_DW_Q): Likewise.
5988 (_FP_WFRACXBITS_DW_Q): Likewise.
5989 (_FP_HIGHBIT_DW_Q): Likewise.
5990 (FP_FMA_Q): Likewise.
5991 (_FP_FRAC_HIGH_DW_Q): Likewise.
5992 * soft-fp/fmasf4.c: New file.
5993 * soft-fp/fmadf4.c: Likewise.
5994 * soft-fp/fmatf4.c: Likewise.
5996 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5999 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6001 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6003 (index_Slow_SSE4_2): Likewise.
6004 (index_Prefer_PMINUB_for_stringop): Likewise.
6005 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6006 bit_Slow_SSE4_2 is set.
6007 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6008 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6010 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6012 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6013 rtld_global._dl_hwcap2.
6014 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6016 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6017 POWER8 feature descriptions defined in _dl_hwcap2.
6018 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6019 string handling for POWER8 feature bits.
6020 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6021 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6022 _dl_powerpc_cap_flags.
6023 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6024 * sysdeps/powerpc/rtld-global-offsets.sym
6025 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6026 _dl_hwcap2 in the rtld_global_ro structure.
6028 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6030 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6031 hardware capabilities in support of AT_HWCAP2.
6032 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6033 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6035 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6036 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6037 explicitly the unknown a_type display mechanism is used.
6038 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6039 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6041 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6042 to macro prototype for AT_HWCAP2 support.
6043 * sysdeps/i386/dl-procinfo.h: Likewise.
6044 * sysdeps/s390/dl-procinfo.h: Likewise.
6045 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6046 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6047 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6048 return -1 for unknown a_type display fallback.
6049 * sysdeps/sparc/dl-procinfo.h: Likewise.
6050 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6051 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6053 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6055 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6056 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6058 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6061 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6062 mprotect making __stack_prot writable.
6064 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6065 Joseph Myers <joseph@codesourcery.com>
6067 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6068 as being properly aligned.
6070 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6072 * dlfcn/modstatic5.c: New file.
6073 * dlfcn/tststatic5.c: New file.
6074 * dlfcn/Makefile (tests): Add tststatic5.
6075 (tests-static): Likewise.
6076 (modules-names): Add modstatic5.
6077 (tststatic5-ENV): New variable.
6078 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6081 * elf/dl-support.c (_dl_main_map): New variable.
6082 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6083 (_dl_nns, _dl_load_adds): Set to 1.
6084 (_dl_initial_searchlist): Refer to _dl_main_map.
6085 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6086 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6087 call to _dl_get_origin.
6088 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6090 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6091 * dlfcn/modstatic3.c: New file.
6092 * dlfcn/tststatic3.c: New file.
6093 * dlfcn/tststatic4.c: New file.
6094 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6095 (tests-static): Likewise.
6096 (modules-names): Add modstatic3.
6097 (tststatic3-ENV, tststatic4-ENV): New variables.
6098 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6099 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6101 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6103 * configure.in (CC): Require GCC version 4.4 or later.
6104 * configure: Regenerated.
6105 * manual/install.texi (Tools for Compilation): Update GCC version
6107 * INSTALL: Regenerated.
6109 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6112 * string/test-memcmp.c (check2): New.
6113 (main): Call check2.
6115 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6117 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6120 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6122 (dl_open_worker) [!SHARED]: ... here.
6124 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6126 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6128 2013-06-25 Richard Henderson <rth@redhat.com>
6130 * locale/programs/locarchive.c: Include <libc-internal.h>
6132 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6134 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6135 trailing whitespace removed.
6137 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6140 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6141 * locale/programs/locarchive.c: Include libc-mmap.h.
6142 (prepare_address_space): Take two new outputs (the mmap base and len).
6143 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6145 (create_archive): Declare new mmap base and len values for
6146 prepare_address_space, and store the result in ah.
6147 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6148 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6149 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6150 Declare new mmap base and len values for
6151 prepare_address_space, and store the result in new_ah.
6152 (open_archive): Declare new mmap base and len values for
6153 prepare_address_space, and store the result in ah.
6154 (close_archive): If ah->mmap_base is not NULL, use that and
6155 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6156 * sysdeps/generic/libc-mmap.h: New file.
6158 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6160 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6161 (ALIGN_UP): Likewise.
6162 (PTR_ALIGN_DOWN): Likewise.
6163 (PTR_ALIGN_UP): Likewise.
6165 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6167 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6168 entry mapped to PPC_PLATFORM_POWER8.
6169 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6171 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6172 (_dl_string_platform): Add case for exporting platform position for
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6175 search path to sysdeps/powerpc/powerpc32/power8 directory.
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6177 search path to sysdeps/powerpc/powerpc64/power8 directory.
6178 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6180 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6183 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6185 * INSTALL: Regenerate.
6187 * nscd/connections.c (nscd_init): Fix comment.
6189 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6191 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6194 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6195 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6197 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6199 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6201 (DL_DST_REQ_STATIC): Remove macro.
6203 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6206 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6207 with a shift of 0 bits.
6209 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6211 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6214 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6217 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6219 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6221 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6222 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6223 accepts -fno-tree-loop-distribute-patterns.
6224 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6225 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6227 * string/memset.c (memset): Likewise.
6228 * string/test-memmove.c (simple_memmove): Disable loop transformation
6230 * string/test-memset.c (simple_memset): Likewise.
6231 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6232 * benchtests/bench-memset.c (simple_memset): Likewise.
6233 * configure: Regenerated.
6235 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6237 * math/test-misc.c (main): Ignore fesetround failure when failures
6238 of subsequent rounding tests would be ignored.
6241 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6242 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6243 * math/fegetenv.c (__fegetenv): Return 0.
6244 * math/fegetexcept.c (fegetexcept): Return 0.
6245 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6247 * math/feholdexcpt.c (feholdexcept): Return 0.
6248 * math/fesetenv.c (__fesetenv): Return 0.
6249 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6250 argument FE_TONEAREST.
6251 * math/feupdateenv.c (__feupdateenv): Return 0.
6252 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6254 2013-06-18 Roland McGrath <roland@hack.frob.com>
6256 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6257 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6258 ($(objpfx)rtld-%.os rules): Use them.
6260 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6265 2013-06-17 Roland McGrath <roland@hack.frob.com>
6267 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6268 length of target pattern, then descending length of dependency pattern.
6269 * configure.in (AWK): Require gawk 3.1.2 or newer.
6270 * manual/install.texi (Tools for Compilation): Say that we do.
6271 * configure: Regenerated.
6273 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6274 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6275 * scripts/sysd-rules.awk: ... this new script.
6276 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6277 than a glob-style pattern.
6279 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6281 * math/test-misc.c (main): Do not treat incorrectly rounded
6282 conversions as failure unless ROUNDING_TESTS passes.
6284 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6287 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6288 restore exception state around main square root computation, then
6289 check for inexactness explicitly.
6291 * math/libm-test.inc (fma_test_data): Add another test.
6293 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6295 * manual/threads.texi (Non-POSIX Extensions): New document
6296 node. Document pthread_getattr_default_np and
6297 pthread_setattr_default_np.
6299 * Versions.def (libpthread): Add GLIBC_2.18.
6300 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6309 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6320 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6323 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6325 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6326 H.J. Lu <hjl.tools@gmail.com>
6329 * sysdeps/x86_64/rtld-memset.c: Remove file.
6330 * sysdeps/x86_64/rtld-memset.S: New file.
6332 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6334 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6335 (test_in_one_mode): Take arguments for whether the rounding mode
6336 is supported for each floating-point type.
6337 (do_test): Pass new arguments to test_in_one_mode using
6340 2013-06-13 Roland McGrath <roland@hack.frob.com>
6342 * posix/tst-waitid.c (do_test): Distinguish different instances of
6343 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6344 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6345 before entering the kernel for waitpid.
6347 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6349 * NEWS: Fix note on clock function precision. Text by Roland
6352 2013-06-13 Roland McGrath <roland@hack.frob.com>
6354 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6355 it into place only when and if the sanity check passes.
6357 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6359 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6360 output for whether conversion result is exact. Take argument
6361 indicating whether type is IBM long double.
6362 (round_for_all): Change need_exact field to ibm_ld.
6363 * stdlib/tst-strtod-round.c (struct exactness): New type.
6364 (struct test): Change bool ld_ok field to struct exactness exact.
6365 (TEST): Update all definitions for change to field.
6366 (tests): Regenerate array contents.
6367 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6368 field value. Check for IBM long double here.
6369 (do_test): Update calls to test_in_one_mode.
6371 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6374 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6375 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6377 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6380 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6381 generated by the compiler on loop optimizations.
6382 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6383 general definitions.
6385 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6387 * math/bug-nextafter.c: Include <math-tests.h>.
6388 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6390 * math/bug-nexttoward.c: Include <math-tests.h>.
6391 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6393 * math/test-misc.c: Include <math-tests.h>.
6394 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6397 2013-06-12 Andreas Jaeger <aj@suse.de>
6399 * po/ia.po: Update Interlingua translation from translation
6402 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6404 * include/fenv.h: Include stdbool.h.
6405 (struct rm_ctx): New structure.
6406 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6408 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6409 (SET_RESTORE_ROUNDF): Likewise.
6410 (SET_RESTORE_ROUNDL): Likewise.
6411 (SET_RESTORE_ROUND_NOEX): Likewise.
6412 (SET_RESTORE_ROUND_NOEXF): Likewise.
6413 (SET_RESTORE_ROUND_NOEXL): Likewise.
6414 (SET_RESTORE_ROUND_53BIT): Likewise.
6415 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6416 (libc_feresetround_noexf_ctx): Likewise.
6417 (libc_feresetround_noexl_ctx): Likewise.
6418 (libc_feholdsetround_53bit_ctx): Likewise.
6419 (libc_feresetround_53bit_ctx): Likewise.
6420 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6421 (libc_feholdexcept_setround_sse_ctx): New function.
6422 (libc_fesetenv_sse_ctx): Likewise.
6423 (libc_feupdateenv_sse_ctx): Likewise.
6424 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6425 (libc_feholdexcept_setround_387_ctx): Likewise.
6426 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6427 (libc_feholdsetround_387_prec_ctx): Likewise.
6428 (libc_feholdsetround_387_ctx): Likewise.
6429 (libc_feholdsetround_387_53bit_ctx): Likewise.
6430 (libc_feholdsetround_sse_ctx): Likewise.
6431 (libc_feresetround_sse_ctx): Likewise.
6432 (libc_feresetround_387_ctx): Likewise.
6433 (libc_feupdateenv_387_ctx): Likewise.
6434 (libc_feholdexcept_setroundf_ctx): Define macro.
6435 (libc_fesetenvf_ctx): Likewise.
6436 (libc_feupdateenvf_ctx): Likewise.
6437 (libc_feholdsetroundf_ctx): Likewise.
6438 (libc_feresetroundf_ctx): Likewise.
6439 (libc_feholdexcept_setround_ctx): Likewise.
6440 (libc_fesetenv_ctx): Likewise.
6441 (libc_feupdateenv_ctx): Likewise.
6442 (libc_feholdsetround_ctx): Likewise.
6443 (libc_feresetround_ctx): Likewise.
6444 (libc_feholdexcept_setroundl_ctx): Likewise.
6445 (libc_feupdateenvl_ctx): Likewise.
6446 (libc_feholdsetroundl_ctx): Likewise.
6447 (libc_feresetroundl_ctx): Likewise.
6448 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6449 (libc_feresetround_53bit_ctx): Likewise.
6451 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6453 * locale/iso-639.def: Convert to UTF-8.
6455 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6457 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6458 (EXCEPTION_TESTS_double): Likewise.
6459 (EXCEPTION_TESTS_long_double): Likewise.
6460 (EXCEPTION_TESTS): Likewise.
6461 * math/libm-test.inc (test_exceptions): Only test exceptions if
6462 EXCEPTION_TESTS (FLOAT).
6464 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6466 * benchtests/Makefile (string-bench): Add strcpy_chk and
6468 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6469 * benchtests/bench-stpcpy_chk.c: New file.
6470 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6471 * benchtests/bench-strcpy_chk.c: New file.
6472 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6474 (do_test): Likewise.
6476 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6478 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6479 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6480 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6481 with tabs where appropriate.
6482 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6484 [PPC_PLATFORM_PPC440]: Likewise.
6485 [PPC_PLATFORM_PPC464]: Likewise.
6486 [PPC_PLATFORM_PPC476]: Likewise.
6487 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6488 ppc464, and ppc476 platform strings merging from ports/
6491 2013-06-11 Andreas Schwab <schwab@suse.de>
6494 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6495 (from_ucs4_idx): Regenerate.
6496 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6497 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6498 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6499 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6500 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6501 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6502 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6503 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6504 from FROM_LOOP and TO_LOOP specific macros.
6505 (BODY): Handle combining characters.
6506 * iconvdata/BIG5HKSCS.irreversible: Update.
6507 * iconvdata/BIG5HKSCS.precomposed: New file.
6508 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6510 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6512 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6514 * include/sys/time.h: Fix indentation and add copyright header.
6516 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6517 (do_test): Likewise.
6518 * string/test-memchr.c (do_one_test): Likewise.
6519 (do_test): Likewise.
6520 * string/test-memcmp.c (do_one_test): Likewise.
6521 (do_test): Likewise.
6522 * string/test-memcpy.c (do_one_test): Likewise.
6523 (do_test): Likewise.
6524 * string/test-memmem.c (do_one_test): Likewise.
6525 (do_test): Likewise.
6526 (do_random_tests): Likewise.
6527 * string/test-memmove.c (do_one_test): Likewise.
6528 (do_test): Likewise.
6529 * string/test-memset.c (do_one_test): Likewise.
6530 (do_test): Likewise.
6531 * string/test-rawmemchr.c (do_one_test): Likewise.
6532 (do_test): Likewise.
6533 * string/test-strcasecmp.c (do_one_test): Likewise.
6534 (do_test): Likewise.
6535 * string/test-strcasestr.c (do_one_test): Likewise.
6536 (do_test): Likewise.
6537 * string/test-strcat.c (do_one_test): Likewise.
6538 (do_test): Likewise.
6539 * string/test-strchr.c (do_one_test): Likewise.
6540 (do_test): Likewise.
6541 * string/test-strcmp.c (do_one_test): Likewise.
6542 (do_test): Likewise.
6543 * string/test-strcpy.c (do_one_test): Likewise.
6544 (do_test): Likewise.
6545 * string/test-string.h: Likewise.
6546 (test_init): Likewise.
6547 * string/test-strlen.c (do_one_test): Likewise.
6548 (do_test): Likewise.
6549 * string/test-strncasecmp.c (do_one_test): Likewise.
6550 (do_test): Likewise.
6551 * string/test-strncat.c (do_one_test): Likewise.
6552 (do_test): Likewise.
6553 * string/test-strncmp.c (do_one_test): Likewise.
6554 (do_test_limit): Likewise.
6555 (do_test): Likewise.
6556 * string/test-strncpy.c (do_one_test): Likewise.
6557 (do_test): Likewise.
6558 * string/test-strnlen.c (do_one_test): Likewise.
6559 (do_test): Likewise.
6560 * string/test-strpbrk.c (do_one_test): Likewise.
6561 (do_test): Likewise.
6562 * string/test-strrchr.c (do_one_test): Likewise.
6563 (do_test): Likewise.
6564 * string/test-strspn.c (do_one_test): Likewise.
6565 (do_test): Likewise.
6566 * string/test-strstr.c (do_one_test): Likewise.
6567 (do_test): Likewise.
6569 * benchtests/Makefile (string-bench): Add string benchmarks.
6570 * benchtests/bench-bcopy-ifunc.c: New file.
6571 * benchtests/bench-bcopy.c: New file.
6572 * benchtests/bench-bzero-ifunc.c: New file.
6573 * benchtests/bench-bzero.c: New file.
6574 * benchtests/bench-memccpy-ifunc.c: New file.
6575 * benchtests/bench-memccpy.c: New file.
6576 * benchtests/bench-memchr-ifunc.c: New file.
6577 * benchtests/bench-memchr.c: New file.
6578 * benchtests/bench-memcmp-ifunc.c: New file.
6579 * benchtests/bench-memcmp.c: New file.
6580 * benchtests/bench-memmem-ifunc.c: New file.
6581 * benchtests/bench-memmem.c: New file.
6582 * benchtests/bench-memmove-ifunc.c: New file.
6583 * benchtests/bench-memmove.c: New file.
6584 * benchtests/bench-mempcpy-ifunc.c: New file.
6585 * benchtests/bench-mempcpy.c: New file.
6586 * benchtests/bench-memset-ifunc.c: New file.
6587 * benchtests/bench-memset.c: New file.
6588 * benchtests/bench-rawmemchr-ifunc.c: New file.
6589 * benchtests/bench-rawmemchr.c: New file.
6590 * benchtests/bench-stpcpy-ifunc.c: New file.
6591 * benchtests/bench-stpcpy.c: New file.
6592 * benchtests/bench-stpncpy-ifunc.c: New file.
6593 * benchtests/bench-stpncpy.c: New file.
6594 * benchtests/bench-strcasecmp-ifunc.c: New file.
6595 * benchtests/bench-strcasecmp.c: New file.
6596 * benchtests/bench-strcasestr-ifunc.c: New file.
6597 * benchtests/bench-strcasestr.c: New file.
6598 * benchtests/bench-strcat-ifunc.c: New file.
6599 * benchtests/bench-strcat.c: New file.
6600 * benchtests/bench-strchr-ifunc.c: New file.
6601 * benchtests/bench-strchr.c: New file.
6602 * benchtests/bench-strchrnul-ifunc.c: New file.
6603 * benchtests/bench-strchrnul.c: New file.
6604 * benchtests/bench-strcmp-ifunc.c: New file.
6605 * benchtests/bench-strcmp.c: New file.
6606 * benchtests/bench-strcpy-ifunc.c: New file.
6607 * benchtests/bench-strcpy.c: New file.
6608 * benchtests/bench-strcspn-ifunc.c: New file.
6609 * benchtests/bench-strcspn.c: New file.
6610 * benchtests/bench-strlen-ifunc.c: New file.
6611 * benchtests/bench-strlen.c: New file.
6612 * benchtests/bench-strncasecmp-ifunc.c: New file.
6613 * benchtests/bench-strncasecmp.c: New file.
6614 * benchtests/bench-strncat-ifunc.c: New file.
6615 * benchtests/bench-strncat.c: New file.
6616 * benchtests/bench-strncmp-ifunc.c: New file.
6617 * benchtests/bench-strncmp.c: New file.
6618 * benchtests/bench-strncpy-ifunc.c: New file.
6619 * benchtests/bench-strncpy.c: New file.
6620 * benchtests/bench-strnlen-ifunc.c: New file.
6621 * benchtests/bench-strnlen.c: New file.
6622 * benchtests/bench-strpbrk-ifunc.c: New file.
6623 * benchtests/bench-strpbrk.c: New file.
6624 * benchtests/bench-strrchr-ifunc.c: New file.
6625 * benchtests/bench-strrchr.c: New file.
6626 * benchtests/bench-strspn-ifunc.c: New file.
6627 * benchtests/bench-strspn.c: New file.
6628 * benchtests/bench-strstr-ifunc.c: New file.
6629 * benchtests/bench-strstr.c: New file.
6631 * benchtests/Makefile: Disable parallel execution of targets.
6632 (string-bench): Add memcpy.
6633 (benchset): New variable to store a list of benchmark sets.
6634 (bench-func): Renamed from bench.
6635 (bench-set): New target.
6636 (bench): Depend on bench-func and bench-set.
6637 * benchtests/README: Add section on benchmark sets.
6638 * benchtests/bench-memcpy-ifunc.c: New file.
6639 * benchtests/bench-memcpy.c: New file.
6640 * benchtests/bench-string.h: New file.
6642 2013-06-11 Andreas Schwab <schwab@suse.de>
6645 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6646 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6647 values in the triple.
6648 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6649 terminator in the group key.
6651 2013-06-11 Andreas Jaeger <aj@suse.de>
6653 * po/zh_TW.po: Update Chinese (traditional) translation from
6654 translation project.
6656 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6658 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6659 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6660 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6661 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6662 (clock_getcpuclockid): Likewise.
6663 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6664 Add weak_alias and libc_hidden_def.
6665 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6666 * rt/clock_gettime.c (clock_gettime): Rename to
6667 __clock_gettime. Add weak_alias and libc_hidden_def.
6668 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6669 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6670 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6671 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6672 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6674 * rt/clock_settime.c (clock_settime): Rename to
6675 __clock_settime. Add weak_alias and libc_hidden_def.
6676 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6678 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6680 * mach/err_boot.sub: Remove trailing whitespace.
6681 * mach/err_ipc.sub: Likewise.
6682 * mach/err_mach.sub: Likewise.
6684 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6685 (ROUNDING_TESTS_double): Likewise.
6686 (ROUNDING_TESTS_long_double): Likewise.
6687 (ROUNDING_TESTS): Likewise.
6688 * math/libm-test.inc: Include <math-tests.h>.
6689 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6690 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6691 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6692 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6694 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6696 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6699 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6702 otherwise empty TRANS lines.
6703 * sysdeps/gnu/errlist.c: Regenerated.
6705 * catgets/gencat.c (error_print): Use (void) in function
6707 * crypt/crypt_util.c (__init_des): Likewise.
6708 * crypt/speeds.c (Stop): Likewise.
6710 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6711 * inet/ruserpass.c (token): Likewise.
6712 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6713 * intl/localealias.c (extend_alias_table): Likewise.
6714 * intl/plural-exp.c (init_germanic_plural): Likewise.
6715 * libio/fcloseall.c (__fcloseall): Likewise.
6716 * libio/genops.c (_IO_flush_all): Likewise.
6717 (_IO_flush_all_linebuffered): Likewise.
6718 (_IO_cleanup): Likewise.
6719 (_IO_iter_begin): Likewise.
6720 (_IO_iter_end): Likewise.
6721 (_IO_list_lock): Likewise.
6722 (_IO_list_unlock): Likewise.
6723 (_IO_list_resetlock): Likewise.
6724 * libio/getchar.c (getchar): Likewise.
6725 * libio/getchar_u.c (getchar_unlocked): Likewise.
6726 * libio/getwchar.c (getwchar): Likewise.
6727 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6728 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6729 * login/getpt.c (__getpt): Likewise.
6730 * login/tst-utmp.c (main): Likewise.
6731 * malloc/hooks.c (__malloc_check_init): Likewise.
6732 * malloc/malloc.c (__malloc_stats): Likewise.
6733 * malloc/mtrace.c (tr_break): Likewise.
6735 (muntrace): Likewise.
6736 * misc/fstab.c (endfsent): Likewise.
6737 * misc/getclktck.c (__getclktck): Likewise.
6738 * misc/getdtsz.c (__getdtablesize): Likewise.
6739 * misc/gethostid.c (gethostid): Likewise.
6740 * misc/getpagesize.c (__getpagesize): Likewise.
6741 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6742 (__get_nprocs): Likewise.
6743 (__get_phys_pages): Likewise.
6744 (__get_avphys_pages): Likewise.
6745 * misc/getttyent.c (getttyent): Likewise.
6746 (setttyent): Likewise.
6747 (endttyent): Likewise.
6748 * misc/getusershell.c (getusershell): Likewise.
6749 (endusershell): Likewise.
6750 (setusershell): Likewise.
6751 (initshells): Likewise.
6752 * misc/hsearch.c (__hdestroy): Likewise.
6753 * misc/sync.c (sync): Likewise.
6754 * misc/syslog.c (closelog_internal): Likewise.
6755 (closelog): Likewise.
6756 * misc/ttyslot.c (ttyslot): Likewise.
6757 * misc/vhangup.c (vhangup): Likewise.
6758 * posix/fork.c (__fork): Likewise.
6759 * posix/getegid.c (__getegid): Likewise.
6760 * posix/geteuid.c (__geteuid): Likewise.
6761 * posix/getgid.c (__getgid): Likewise.
6762 * posix/getpid.c (__getpid): Likewise.
6763 * posix/getppid.c (__getppid): Likewise.
6764 * posix/getuid.c (__getuid): Likewise.
6765 * posix/pause.c (pause): Likewise.
6766 * posix/setpgrp.c (setpgrp): Likewise.
6767 * posix/setsid.c (__setsid): Likewise.
6768 * posix/test-vfork.c (noop): Likewise.
6769 * resolv/gethnamaddr.c (_endhtent): Likewise.
6770 (_gethtent): Likewise.
6771 (ht_endhostent): Likewise.
6772 (gethostent): Likewise.
6773 (dns_service): Likewise.
6774 * stdlib/drand48.c (drand48): Likewise.
6775 * stdlib/lrand48.c (lrand48): Likewise.
6776 * stdlib/mrand48.c (mrand48): Likewise.
6777 * stdlib/rand.c (rand): Likewise.
6778 * stdlib/random.c (__random): Likewise.
6779 * stdlib/setenv.c (clearenv): Likewise.
6780 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6781 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6782 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6783 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6784 (__get_nprocs): Likewise.
6785 (__get_phys_pages): Likewise.
6786 (__get_avphys_pages): Likewise.
6787 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6788 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6789 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6790 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6791 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6792 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6793 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6794 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6795 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6796 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6797 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6798 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6799 * sysdeps/posix/clock.c (clock): Likewise.
6800 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6801 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6802 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6803 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6804 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6805 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6806 (__get_nprocs_conf): Likewise.
6807 (__get_phys_pages): Likewise.
6808 (__get_avphys_pages): Likewise.
6809 * time/clock.c (clock): Likewise.
6810 * time/tzset.c (__tzname_max): Likewise.
6812 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6814 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6815 (__bswap_32): Do not use "register".
6816 * crypt/crypt.c (_ufc_doit_r): Likewise.
6817 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6818 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6819 * gmon/gmon.c (__monstartup): Likewise.
6820 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6821 * hurd/hurdmalloc.c (more_memory): Likewise.
6824 (realloc): Likewise.
6825 (malloc_fork_prepare): Likewise.
6826 (malloc_fork_parent): Likewise.
6827 (malloc_fork_child): Likewise.
6828 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6829 (_svcauth_des): Likewise.
6830 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6831 * inet/inet_net.c (inet_network): Likewise.
6832 * inet/inet_netof.c (inet_netof): Likewise.
6833 * inet/rcmd.c (__validuser2_sa): Likewise.
6834 * io/fts.c (fts_open): Likewise.
6835 (fts_load): Likewise.
6836 (fts_close): Likewise.
6837 (fts_read): Likewise.
6838 (fts_children): Likewise.
6839 (fts_build): Likewise.
6840 (fts_stat): Likewise.
6841 (fts_sort): Likewise.
6842 (fts_alloc): Likewise.
6843 (fts_lfree): Likewise.
6844 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6845 (_IO_file_xsgetn): Likewise.
6846 (_IO_file_xsgetn_mmap): Likewise.
6847 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6848 (_IO_cookie_write): Likewise.
6849 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6850 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6851 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6852 * malloc/obstack.c (_obstack_begin): Likewise.
6853 (_obstack_begin_1): Likewise.
6854 (_obstack_newchunk): Likewise.
6855 (_obstack_allocated_p): Likewise.
6856 (obstack_free): Likewise.
6857 (_obstack_memory_used): Likewise.
6858 * misc/getttyent.c (getttynam): Likewise.
6859 (getttyent): Likewise.
6862 * misc/getusershell.c (initshells): Likewise.
6863 * misc/syslog.c (__vsyslog_chk): Likewise.
6864 * misc/ttyslot.c (ttyslot): Likewise.
6865 * nis/nis_hash.c (__nis_hash): Likewise.
6866 * posix/fnmatch_loop.c (FCT): Likewise.
6867 * posix/getconf.c (print_all): Likewise.
6869 * posix/getopt.c (exchange): Likewise.
6870 * posix/glob.c (globfree): Likewise.
6871 (prefix_array): Likewise.
6872 (__glob_pattern_type): Likewise.
6873 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6874 (NS_GET32): Likewise.
6875 (NS_PUT16): Likewise.
6876 (NS_PUT32): Likewise.
6877 * resolv/gethnamaddr.c (getanswer): Likewise.
6878 (gethostbyname2): Likewise.
6879 (gethostbyaddr): Likewise.
6880 (_gethtent): Likewise.
6881 (_gethtbyname2): Likewise.
6882 (_gethtbyaddr): Likewise.
6883 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6884 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6885 * resolv/res_init.c (__res_vinit): Likewise.
6886 (net_mask): Likewise.
6887 * resolv/res_mkquery.c (outchar): Likewise.
6889 * stdio-common/printf_fp.c (outchar): Likewise.
6891 * stdio-common/printf_fphex.c (outchar): Likewise.
6893 * stdio-common/printf_size.c (outchar): Likewise.
6895 * stdio-common/test_rdwr.c (main): Likewise.
6896 * stdio-common/tfformat.c (matches): Likewise.
6897 * stdio-common/vfprintf.c (outchar): Likewise.
6898 (printf_unknown): Likewise.
6899 (buffered_vfprintf): Likewise.
6900 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6901 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6902 (ReadFile): Likewise.
6903 * stdlib/qsort.c (SWAP): Likewise.
6904 (_quicksort): Likewise.
6905 * stdlib/setenv.c (__add_to_environ): Likewise.
6906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6907 * stdlib/strtol_l.c (__strtol_l): Likewise.
6908 * stdlib/tst-strtod.c (main): Likewise.
6909 * stdlib/tst-strtol.c (main): Likewise.
6910 * stdlib/tst-strtoll.c (main): Likewise.
6911 * string/bits/string2.h (__strcmp_cc): Likewise.
6912 (__strcmp_cg): Likewise.
6913 (__strcspn_c1): Likewise.
6914 (__strcspn_c2): Likewise.
6915 (__strcspn_c3): Likewise.
6916 (__strspn_c1): Likewise.
6917 (__strspn_c2): Likewise.
6918 (__strspn_c3): Likewise.
6919 (__strsep_1c): Likewise.
6920 (__strsep_2c): Likewise.
6921 (__strsep_3c): Likewise.
6922 * string/memccpy.c (__memccpy): Likewise.
6923 * string/stpcpy.c (__stpcpy): Likewise.
6924 * string/strcmp.c (strcmp): Likewise.
6925 * string/strrchr.c (strrchr): Likewise.
6926 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6928 * sysdeps/mach/hurd/getcwd.c
6929 (_hurd_canonicalize_directory_name_internal): Likewise.
6930 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6931 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6932 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6933 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6934 Likewise, in both definitions.
6935 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6937 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6938 64] (__bswap_64): Likewise.
6939 * time/test_time.c (main): Likewise.
6940 * time/tzfile.c (__tzfile_read): Likewise.
6941 (__tzfile_compute): Likewise.
6942 * time/tzset.c (__tzset_parse_tz): Likewise.
6943 (tzset_internal): Likewise.
6944 (compute_change): Likewise.
6945 * wcsmbs/wcscat.c (__wcscat): Likewise.
6946 * wcsmbs/wcschr.c (wcschr): Likewise.
6947 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6948 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6949 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6950 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6951 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6952 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6953 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6954 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6955 * wcsmbs/wmemset.c (wmemset): Likewise.
6957 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6959 * scripts/config.guess: Update to version 2013-05-16.
6960 * scripts/config.sub: Update to version 2013-04-24.
6961 * scripts/install-sh: Update to version 2011-11-20.07.
6962 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6963 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6965 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6967 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6968 * elf/sln.c: Likewise.
6969 * hurd/hurd/ioctl.h: Likewise.
6970 * hurd/hurdmalloc.c: Likewise.
6971 * hurd/xattr.c: Likewise.
6972 * include/shlib-compat.h: Likewise.
6973 * inet/ruserpass.c: Likewise.
6974 * libio/iofgets_u.c: Likewise.
6975 * libio/iofgetws_u.c: Likewise.
6976 * locale/programs/ld-identification.c: Likewise.
6977 * locale/programs/ld-time.c: Likewise.
6978 * mach/msg-destroy.c: Likewise.
6979 * nss/nss_files/files-netgrp.c: Likewise.
6980 * resolv/res_data.c: Likewise.
6981 * soft-fp/op-1.h: Likewise.
6982 * soft-fp/op-2.h: Likewise.
6983 * soft-fp/op-4.h: Likewise.
6984 * soft-fp/op-common.h: Likewise.
6985 * stdio-common/printf_fphex.c: Likewise.
6986 * stdlib/strtod_l.c: Likewise.
6987 * sunrpc/rpc/clnt.h: Likewise.
6988 * sysdeps/generic/framestate.c: Likewise.
6989 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6990 * sysdeps/i386/bsd-setjmp.S: Likewise.
6991 * sysdeps/i386/__longjmp.S: Likewise.
6992 * sysdeps/i386/setjmp.S: Likewise.
6993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6994 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7011 * sysdeps/ieee754/support.c: Likewise.
7012 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7013 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7014 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7015 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7016 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7017 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7018 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7019 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7020 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7021 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7022 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7023 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7024 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7025 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7026 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7027 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7028 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7031 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7033 * posix/transbug.c: Remove executable mode.
7035 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7037 * crypt/speeds.c: Remove trailing whitespace.
7038 * dlfcn/default.c: Likewise.
7039 * elf/ifuncdep2.c: Likewise.
7040 * elf/ifuncmain1.c: Likewise.
7041 * elf/ifuncmain1vis.c: Likewise.
7042 * elf/testobj.h: Likewise.
7043 * elf/tst-stackguard1.c: Likewise.
7044 * gmon/sys/gmon.h: Likewise.
7045 * hurd/hurdmsg.c: Likewise.
7046 * hurd/new-fd.c: Likewise.
7047 * hurd/ports-get.c: Likewise.
7048 * iconvdata/ibm1008_420.c: Likewise.
7049 * inet/tst-getni1.c: Likewise.
7050 * inet/tst-getni2.c: Likewise.
7051 * libio/ioungetc.c: Likewise.
7052 * libio/wfiledoalloc.c: Likewise.
7053 * manual/libm-err-tab.pl: Likewise.
7054 * math/w_dremf.c: Likewise.
7055 * misc/ftruncate.c: Likewise.
7056 * posix/bug-glob2.c: Likewise.
7057 * posix/tst-pcre.c: Likewise.
7058 * posix/wait4.c: Likewise.
7059 * resolv/README: Likewise.
7060 * resolv/res_debug.h: Likewise.
7061 * resolv/tst-inet_ntop.c: Likewise.
7062 * setjmp/bug269-setjmp.c: Likewise.
7063 * soft-fp/extended.h: Likewise.
7064 * soft-fp/op-1.h: Likewise.
7065 * soft-fp/op-2.h: Likewise.
7066 * soft-fp/op-4.h: Likewise.
7067 * soft-fp/op-8.h: Likewise.
7068 * soft-fp/testit.c: Likewise.
7069 * stdio-common/bug16.c: Likewise.
7070 * stdlib/random.c: Likewise.
7071 * sunrpc/rpcsvc/rquota.x: Likewise.
7072 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7073 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7075 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7076 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7077 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7078 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7080 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7099 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7101 * sysdeps/ieee754/s_lib_version.c: Likewise.
7102 * sysdeps/mach/hurd/check_fds.c: Likewise.
7103 * sysdeps/mach/hurd/getsockname.c: Likewise.
7104 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7105 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7106 * sysdeps/powerpc/bits/link.h: Likewise.
7107 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7108 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7109 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7110 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7111 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7112 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7113 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7114 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7115 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7116 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7117 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7118 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7119 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7120 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7121 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7122 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7123 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7124 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7125 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7126 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7127 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7128 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7130 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7131 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7132 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7133 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7134 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7135 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7136 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7137 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7138 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7140 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7141 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7142 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7143 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7144 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7145 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7146 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7147 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7148 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7149 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7150 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7151 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7152 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7153 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7154 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7155 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7156 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7158 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7159 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7160 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7161 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7162 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7163 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7164 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7165 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7166 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7167 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7168 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7169 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7170 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7171 * sysdeps/powerpc/sysdep.h: Likewise.
7172 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7173 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7174 * sysdeps/sh/dl-trampoline.S: Likewise.
7175 * sysdeps/sh/memset.S: Likewise.
7176 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7177 * sysdeps/sh/strlen.S: Likewise.
7178 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7179 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7180 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7181 * sysdeps/sparc/sparc32/rem.S: Likewise.
7182 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7183 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7184 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7185 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7186 * sysdeps/sparc/sparc32/urem.S: Likewise.
7187 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7188 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7189 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7190 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7191 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7192 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7193 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7194 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7195 * sysdeps/unix/bsd/times.c: Likewise.
7196 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7197 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7201 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7202 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7203 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7204 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7205 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7206 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7207 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7208 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7209 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7210 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7211 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7212 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7213 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7214 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7215 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7216 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7217 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7218 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7219 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7220 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7221 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7222 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7223 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7224 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7225 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7226 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7227 * sysdeps/x86_64/strcspn.S: Likewise.
7229 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7231 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7232 generated file. Regenerate properly from gen-translit.pl.
7233 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7234 locale/C-translit.h.
7236 2013-06-05 Andreas Schwab <schwab@suse.de>
7239 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7240 week as 6 instead of -1.
7241 * time/tst-strptime.c (day_tests): Add test case.
7243 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7245 * sysdeps/generic/math_private.h
7246 (libc_feholdexcept_setround_53bit): Replace with
7247 libc_feholdsetround_53bit.
7248 (libc_feupdateenv_53bit): Replace with
7249 libc_feresetround_53bit.
7250 (SET_RESTORE_ROUND_53BIT): Adjust.
7252 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7254 * string/test-strchrnul.c: Add copyright header.
7256 * posix/tst-getaddrinfo4.c: Increase test timeout.
7258 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7261 * math/libm-test.inc (MAX_EXP): Remove
7263 (ulp): Use MIN_EXP - MANT_DIG.
7264 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7266 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7268 * po/be.po: Revert last change.
7269 * po/zh_CN.po: Likewise.
7270 * po/header.pot: Likewise.
7272 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7274 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7275 link-libc-deps to empty as target-specific variable.
7276 * Makerules (link-libc-args): New variable.
7277 (libc-for-link): Likewise.
7278 (link-libc-deps): Likewise.
7279 (lib%.so): Depend on $(link-libc-deps). Link with
7281 (build-module): Link with $(link-libc-args).
7282 (build-module-asneeded): Likewise.
7283 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7285 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7286 target-specific variable.
7287 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7288 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7289 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7291 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7293 ($(objpfx)libpcprofile.so): Likewise.
7294 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7296 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7297 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7298 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7300 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7301 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7302 * login/Makefile ($(objpfx)libutil.so): Likewise.
7303 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7304 * math/Makefile ($(objpfx)libm.so): Likewise.
7305 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7306 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7307 variable instead of depending directly on libc.
7308 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7309 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7311 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7313 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7314 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7315 ($(objpfx)libanl.so): Likewise.
7316 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7318 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7320 * sysdeps/i386/fpu/Makefile: Remove file.
7321 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7322 ($(objpfx)libm.so): Remove dependency on ld.so.
7324 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7327 * nis/yp_xdr.c (XDRMAXNAME): Define.
7328 (XDRMAXRECORD): Define.
7329 (xdr_domainname): Use XDRMAXNAME.
7330 (xdr_mapname): Likewise.
7331 (xdr_peername): Likewise.
7332 (xdr_keydat): Use XDRMAXRECORD.
7333 (xdr_valdat): Likewise.
7335 2013-05-30 Jeff Law <law@redhat.com>
7338 * manual/errno.texi (ESTALE): Update to account for more than
7339 just NFS file systems.
7340 * sysdeps/gnu/errlist.c: Regenerated.
7342 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7345 * elf/Makefile (tests): Add tst-null-argv.
7346 (modules-names): Add tst-null-argv-lib.
7347 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7348 (tst-null-argv-ENV): Set environment for tst-null-argv.
7349 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7350 (RTLD_PROGNAME): New macro.
7351 * elf/tst-null-argv.c: New test case.
7352 * elf/tst-null-argv-lib.c: Library for test case.
7353 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7354 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7355 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7356 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7357 * elf/dl-init.c (call_init): Likewise.
7358 (_dl_init): Likewise.
7359 * elf/dl-load.c (print_search_path): Likewise.
7360 (_dl_map_object): Likewise.
7361 * elf/dl-lookup.c (do_lookup_x): Likewise.
7362 (add_dependency): Likewise.
7363 (_dl_lookup_symbol_x): Likewise.
7364 (_dl_debug_bindings): Likewise.
7365 * elf/dl-open.c (_dl_show_scope): Likewise.
7366 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7367 * elf/dl-version.c (match_symbol): Likewise.
7368 (_dl_check_map_versions): Likewise.
7369 * elf/rtld.c (dl_main): Likewise.
7370 (print_unresolved): Use RTLD_PROGNAME.
7371 (print_missing_version): Likewise.
7372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7373 (elf_machine_rela): Likewise.
7374 * sysdeps/powerpc/powerpc32/dl-machine.c
7375 (__process_machine_rela): Likewise.
7376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7378 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7380 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7382 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7383 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7385 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7387 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7389 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7391 * po/be.po: Add descriptive title.
7392 * po/zh_CN.po: Likewise.
7393 * po/header.pot: Likewise.
7395 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7397 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7399 (enlarge_archive): Likewise.
7401 2013-05-28 Ben North <ben@redfrontdoor.org>
7403 * manual/arith.texi (frexp): It is the magnitude of the return
7404 value which lies in [0.5, 1), not the return value itself.
7406 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7410 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7412 * stdio-common/bug26.c (main): Correct fscanf template.
7414 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7415 declare _dl_skip_args.
7417 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7420 * manual/platform.texi: Add missing @end deftypefun.
7422 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7425 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7426 bit of mantissa of 2^16382.
7427 * math/libm-test.inc (hypot_test_data): Add more tests.
7429 * math/libm-test.inc: Add drem and pow10 to list of tested
7431 (pow10_test): New function.
7432 (drem_test): Likewise.
7433 (drem_test_tonearest): Likewise.
7434 (drem_test_towardzero): Likewise.
7435 (drem_test_downward): Likewise.
7436 (drem_test_upward): Likewise.
7437 (main): Call the new functions.
7439 * math/libm-test.inc (finite_test_data): Remove.
7440 (finite_test): Run tests from isfinite_test_data.
7441 (gamma_test_data): Remove.
7442 (gamma_test): Run tests from lgamma_test_data.
7443 * sysdeps/i386/fpu/libm-test-ulps: Update.
7444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7446 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7448 * manual/platform.texi: Add PowerPC PPR function set documentation.
7449 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7452 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7454 * math/libm-test.inc (MAX_EXP): Define.
7456 (ulp): New function.
7457 (check_float_internal): Use ULPDIFF.
7458 (cpow_test): Disable failing test.
7459 (check_ulp): Test ulp() implemetnation.
7460 (main): Call check_ulp before starting tests.
7462 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7464 * math/gen-libm-test.pl (generate_testfile): Do not handle
7465 START_DATA and END_DATA.
7466 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7468 (acos_tonearest_test_data): Likewise.
7469 (acos_towardzero_test_data): Likewise.
7470 (acos_downward_test_data): Likewise.
7471 (acos_upward_test_data): Likewise.
7472 (acosh_test_data): Likewise.
7473 (asin_test_data): Likewise.
7474 (asin_tonearest_test_data): Likewise.
7475 (asin_towardzero_test_data): Likewise.
7476 (asin_downward_test_data): Likewise.
7477 (asin_upward_test_data): Likewise.
7478 (asinh_test_data): Likewise.
7479 (atan_test_data): Likewise.
7480 (atanh_test_data): Likewise.
7481 (atan2_test_data): Likewise.
7482 (cabs_test_data): Likewise.
7483 (cacos_test_data): Likewise.
7484 (cacosh_test_data): Likewise.
7485 (carg_test_data): Likewise.
7486 (casin_test_data): Likewise.
7487 (casinh_test_data): Likewise.
7488 (catan_test_data): Likewise.
7489 (catanh_test_data): Likewise.
7490 (cbrt_test_data): Likewise.
7491 (ccos_test_data): Likewise.
7492 (ccosh_test_data): Likewise.
7493 (ceil_test_data): Likewise.
7494 (cexp_test_data): Likewise.
7495 (cimag_test_data): Likewise.
7496 (clog_test_data): Likewise.
7497 (clog10_test_data): Likewise.
7498 (conj_test_data): Likewise.
7499 (copysign_test_data): Likewise.
7500 (cos_test_data): Likewise.
7501 (cos_tonearest_test_data): Likewise.
7502 (cos_towardzero_test_data): Likewise.
7503 (cos_downward_test_data): Likewise.
7504 (cos_upward_test_data): Likewise.
7505 (cosh_test_data): Likewise.
7506 (cosh_tonearest_test_data): Likewise.
7507 (cosh_towardzero_test_data): Likewise.
7508 (cosh_downward_test_data): Likewise.
7509 (cosh_upward_test_data): Likewise.
7510 (cpow_test_data): Likewise.
7511 (cproj_test_data): Likewise.
7512 (creal_test_data): Likewise.
7513 (csin_test_data): Likewise.
7514 (csinh_test_data): Likewise.
7515 (csqrt_test_data): Likewise.
7516 (ctan_test_data): Likewise.
7517 (ctan_tonearest_test_data): Likewise.
7518 (ctan_towardzero_test_data): Likewise.
7519 (ctan_downward_test_data): Likewise.
7520 (ctan_upward_test_data): Likewise.
7521 (ctanh_test_data): Likewise.
7522 (ctanh_tonearest_test_data): Likewise.
7523 (ctanh_towardzero_test_data): Likewise.
7524 (ctanh_downward_test_data): Likewise.
7525 (ctanh_upward_test_data): Likewise.
7526 (erf_test_data): Likewise.
7527 (erfc_test_data): Likewise.
7528 (exp_test_data): Likewise.
7529 (exp_tonearest_test_data): Likewise.
7530 (exp_towardzero_test_data): Likewise.
7531 (exp_downward_test_data): Likewise.
7532 (exp_upward_test_data): Likewise.
7533 (exp10_test_data): Likewise.
7534 (exp2_test_data): Likewise.
7535 (expm1_test_data): Likewise.
7536 (fabs_test_data): Likewise.
7537 (fdim_test_data): Likewise.
7538 (finite_test_data): Likewise.
7539 (floor_test_data): Likewise.
7540 (fma_test_data): Likewise.
7541 (fma_towardzero_test_data): Likewise.
7542 (fma_downward_test_data): Likewise.
7543 (fma_upward_test_data): Likewise.
7544 (fmax_test_data): Likewise.
7545 (fmin_test_data): Likewise.
7546 (fmod_test_data): Likewise.
7547 (fpclassify_test_data): Likewise.
7548 (frexp_test_data): Likewise.
7549 (gamma_test_data): Likewise.
7550 (hypot_test_data): Likewise.
7551 (ilogb_test_data): Likewise.
7552 (isfinite_test_data): Likewise.
7553 (isgreater_test_data): Likewise.
7554 (isgreaterequal_test_data): Likewise.
7555 (isinf_test_data): Likewise.
7556 (isless_test_data): Likewise.
7557 (islessequal_test_data): Likewise.
7558 (islessgreater_test_data): Likewise.
7559 (isnan_test_data): Likewise.
7560 (isnormal_test_data): Likewise.
7561 (issignaling_test_data): Likewise.
7562 (isunordered_test_data): Likewise.
7563 (j0_test_data): Likewise.
7564 (j1_test_data): Likewise.
7565 (jn_test_data): Likewise.
7566 (ldexp_test_data): Likewise.
7567 (lgamma_test_data): Likewise.
7568 (lrint_test_data): Likewise.
7569 (lrint_tonearest_test_data): Likewise.
7570 (lrint_towardzero_test_data): Likewise.
7571 (lrint_downward_test_data): Likewise.
7572 (lrint_upward_test_data): Likewise.
7573 (llrint_test_data): Likewise.
7574 (llrint_tonearest_test_data): Likewise.
7575 (llrint_towardzero_test_data): Likewise.
7576 (llrint_downward_test_data): Likewise.
7577 (llrint_upward_test_data): Likewise.
7578 (log_test_data): Likewise.
7579 (log10_test_data): Likewise.
7580 (log1p_test_data): Likewise.
7581 (log2_test_data): Likewise.
7582 (logb_test_data): Likewise.
7583 (logb_downward_test_data): Likewise.
7584 (lround_test_data): Likewise.
7585 (llround_test_data): Likewise.
7586 (modf_test_data): Likewise.
7587 (nearbyint_test_data): Likewise.
7588 (nextafter_test_data): Likewise.
7589 (nexttoward_test_data): Likewise.
7590 (pow_test_data): Likewise.
7591 (pow_tonearest_test_data): Likewise.
7592 (pow_towardzero_test_data): Likewise.
7593 (pow_downward_test_data): Likewise.
7594 (pow_upward_test_data): Likewise.
7595 (remainder_test_data): Likewise.
7596 (remainder_tonearest_test_data): Likewise.
7597 (remainder_towardzero_test_data): Likewise.
7598 (remainder_downward_test_data): Likewise.
7599 (remainder_upward_test_data): Likewise.
7600 (remquo_test_data): Likewise.
7601 (rint_test_data): Likewise.
7602 (rint_tonearest_test_data): Likewise.
7603 (rint_towardzero_test_data): Likewise.
7604 (rint_downward_test_data): Likewise.
7605 (rint_upward_test_data): Likewise.
7606 (round_test_data): Likewise.
7607 (scalb_test_data): Likewise.
7608 (scalbn_test_data): Likewise.
7609 (scalbln_test_data): Likewise.
7610 (signbit_test_data): Likewise.
7611 (sin_test_data): Likewise.
7612 (sin_tonearest_test_data): Likewise.
7613 (sin_towardzero_test_data): Likewise.
7614 (sin_downward_test_data): Likewise.
7615 (sin_upward_test_data): Likewise.
7616 (sincos_test_data): Likewise.
7617 (sinh_test_data): Likewise.
7618 (sinh_tonearest_test_data): Likewise.
7619 (sinh_towardzero_test_data): Likewise.
7620 (sinh_downward_test_data): Likewise.
7621 (sinh_upward_test_data): Likewise.
7622 (sqrt_test_data): Likewise.
7623 (tan_test_data): Likewise.
7624 (tan_tonearest_test_data): Likewise.
7625 (tan_towardzero_test_data): Likewise.
7626 (tan_downward_test_data): Likewise.
7627 (tan_upward_test_data): Likewise.
7628 (tanh_test_data): Likewise.
7629 (tgamma_test_data): Likewise.
7630 (trunc_test_data): Likewise.
7631 (y0_test_data): Likewise.
7632 (y1_test_data): Likewise.
7633 (yn_test_data): Likewise.
7634 (significand_test_data): Likewise.
7636 * math/gen-libm-test.pl (@functions): Remove variable.
7637 (generate_testfile): Don't handle START and END lines.
7638 * math/libm-test.inc (START): New macro.
7640 (END_COMPLEX): Likewise.
7641 (acos_test): Use END macro without arguments.
7642 (acos_test_tonearest): Likewise.
7643 (acos_test_towardzero): Likewise.
7644 (acos_test_downward): Likewise.
7645 (acos_test_upward): Likewise.
7646 (acosh_test): Likewise.
7647 (asin_test): Likewise.
7648 (asin_test_tonearest): Likewise.
7649 (asin_test_towardzero): Likewise.
7650 (asin_test_downward): Likewise.
7651 (asin_test_upward): Likewise.
7652 (asinh_test): Likewise.
7653 (atan_test): Likewise.
7654 (atanh_test): Likewise.
7655 (atan2_test): Likewise.
7656 (cabs_test): Likewise.
7657 (cacos_test): Use END_COMPLEX macro without arguments.
7658 (cacosh_test): Likewise.
7659 (carg_test): Use END macro without arguments.
7660 (casin_test): Use END_COMPLEX macro without arguments.
7661 (casinh_test): Likewise.
7662 (catan_test): Likewise.
7663 (catanh_test): Likewise.
7664 (cbrt_test): Use END macro without arguments.
7665 (ccos_test): Use END_COMPLEX macro without arguments.
7666 (ccosh_test): Likewise.
7667 (ceil_test): Use END macro without arguments.
7668 (cexp_test): Use END_COMPLEX macro without arguments.
7669 (cimag_test): Use END macro without arguments.
7670 (clog_test): Use END_COMPLEX macro without arguments.
7671 (clog10_test): Likewise.
7672 (conj_test): Likewise.
7673 (copysign_test): Use END macro without arguments.
7674 (cos_test): Likewise.
7675 (cos_test_tonearest): Likewise.
7676 (cos_test_towardzero): Likewise.
7677 (cos_test_downward): Likewise.
7678 (cos_test_upward): Likewise.
7679 (cosh_test): Likewise.
7680 (cosh_test_tonearest): Likewise.
7681 (cosh_test_towardzero): Likewise.
7682 (cosh_test_downward): Likewise.
7683 (cosh_test_upward): Likewise.
7684 (cpow_test): Use END_COMPLEX macro without arguments.
7685 (cproj_test): Likewise.
7686 (creal_test): Use END macro without arguments.
7687 (csin_test): Use END_COMPLEX macro without arguments.
7688 (csinh_test): Likewise.
7689 (csqrt_test): Likewise.
7690 (ctan_test): Likewise.
7691 (ctan_test_tonearest): Likewise.
7692 (ctan_test_towardzero): Likewise.
7693 (ctan_test_downward): Likewise.
7694 (ctan_test_upward): Likewise.
7695 (ctanh_test): Likewise.
7696 (ctanh_test_tonearest): Likewise.
7697 (ctanh_test_towardzero): Likewise.
7698 (ctanh_test_downward): Likewise.
7699 (ctanh_test_upward): Likewise.
7700 (erf_test): Use END macro without arguments.
7701 (erfc_test): Likewise.
7702 (exp_test): Likewise.
7703 (exp_test_tonearest): Likewise.
7704 (exp_test_towardzero): Likewise.
7705 (exp_test_downward): Likewise.
7706 (exp_test_upward): Likewise.
7707 (exp10_test): Likewise.
7708 (exp2_test): Likewise.
7709 (expm1_test): Likewise.
7710 (fabs_test): Likewise.
7711 (fdim_test): Likewise.
7712 (finite_test): Likewise.
7713 (floor_test): Likewise.
7714 (fma_test): Likewise.
7715 (fma_test_towardzero): Likewise.
7716 (fma_test_downward): Likewise.
7717 (fma_test_upward): Likewise.
7718 (fmax_test): Likewise.
7719 (fmin_test): Likewise.
7720 (fmod_test): Likewise.
7721 (fpclassify_test): Likewise.
7722 (frexp_test): Likewise.
7723 (gamma_test): Likewise.
7724 (hypot_test): Likewise.
7725 (ilogb_test): Likewise.
7726 (isfinite_test): Likewise.
7727 (isgreater_test): Likewise.
7728 (isgreaterequal_test): Likewise.
7729 (isinf_test): Likewise.
7730 (isless_test): Likewise.
7731 (islessequal_test): Likewise.
7732 (islessgreater_test): Likewise.
7733 (isnan_test): Likewise.
7734 (isnormal_test): Likewise.
7735 (issignaling_test): Likewise.
7736 (isunordered_test): Likewise.
7737 (j0_test): Likewise.
7738 (j1_test): Likewise.
7739 (jn_test): Likewise.
7740 (ldexp_test): Likewise.
7741 (lgamma_test): Likewise.
7742 (lrint_test): Likewise.
7743 (lrint_test_tonearest): Likewise.
7744 (lrint_test_towardzero): Likewise.
7745 (lrint_test_downward): Likewise.
7746 (lrint_test_upward): Likewise.
7747 (llrint_test): Likewise.
7748 (llrint_test_tonearest): Likewise.
7749 (llrint_test_towardzero): Likewise.
7750 (llrint_test_downward): Likewise.
7751 (llrint_test_upward): Likewise.
7752 (log_test): Likewise.
7753 (log10_test): Likewise.
7754 (log1p_test): Likewise.
7755 (log2_test): Likewise.
7756 (logb_test): Likewise.
7757 (logb_test_downward): Likewise.
7758 (lround_test): Likewise.
7759 (llround_test): Likewise.
7760 (modf_test): Likewise.
7761 (nearbyint_test): Likewise.
7762 (nextafter_test): Likewise.
7763 (nexttoward_test): Likewise.
7764 (pow_test): Likewise.
7765 (pow_test_tonearest): Likewise.
7766 (pow_test_towardzero): Likewise.
7767 (pow_test_downward): Likewise.
7768 (pow_test_upward): Likewise.
7769 (remainder_test): Likewise.
7770 (remainder_test_tonearest): Likewise.
7771 (remainder_test_towardzero): Likewise.
7772 (remainder_test_downward): Likewise.
7773 (remainder_test_upward): Likewise.
7774 (remquo_test): Likewise.
7775 (rint_test): Likewise.
7776 (rint_test_tonearest): Likewise.
7777 (rint_test_towardzero): Likewise.
7778 (rint_test_downward): Likewise.
7779 (rint_test_upward): Likewise.
7780 (round_test): Likewise.
7781 (scalb_test): Likewise.
7782 (scalbn_test): Likewise.
7783 (scalbln_test): Likewise.
7784 (signbit_test): Likewise.
7785 (sin_test): Likewise.
7786 (sin_test_tonearest): Likewise.
7787 (sin_test_towardzero): Likewise.
7788 (sin_test_downward): Likewise.
7789 (sin_test_upward): Likewise.
7790 (sincos_test): Likewise.
7791 (sinh_test): Likewise.
7792 (sinh_test_tonearest): Likewise.
7793 (sinh_test_towardzero): Likewise.
7794 (sinh_test_downward): Likewise.
7795 (sinh_test_upward): Likewise.
7796 (sqrt_test): Likewise.
7797 (tan_test): Likewise.
7798 (tan_test_tonearest): Likewise.
7799 (tan_test_towardzero): Likewise.
7800 (tan_test_downward): Likewise.
7801 (tan_test_upward): Likewise.
7802 (tanh_test): Likewise.
7803 (tgamma_test): Likewise.
7804 (trunc_test): Likewise.
7805 (y0_test): Likewise.
7806 (y1_test): Likewise.
7807 (yn_test): Likewise.
7808 (significand_test): Likewise.
7810 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7813 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7815 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7818 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7819 __ppc_mdoio and __ppc_mdoom.
7820 * manual/platform.texi: Document new functions __ppc_yield,
7821 __ppc_mdoio and __ppc_mdoom.
7823 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7825 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7826 (main): Mention "tls" pseudo-hwcap is legacy.
7827 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7829 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7831 * math/gen-libm-test.pl (parse_args): Output only string of
7832 arguments as text for test name, not full call or descriptions of
7833 tests for extra outputs.
7834 (generate_testfile): Do not pass function name to parse_args.
7835 Generate this_func variable from START.
7836 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7838 (struct test_ff_f_data): Likewise.
7839 (test_ff_f_data_nexttoward): Likewise.
7840 (struct test_fi_f_data): Likewise.
7841 (struct test_fl_f_data): Likewise.
7842 (struct test_if_f_data): Likewise.
7843 (struct test_fff_f_data): Likewise.
7844 (struct test_c_f_data): Likewise.
7845 (struct test_f_f1_data): Likewise. Remove field extra_name.
7846 (struct test_fF_f1_data): Likewise.
7847 (struct test_ffI_f1_data): Likewise.
7848 (struct test_c_c_data): Rename test_name field to arg_str.
7849 (struct test_cc_c_data): Likewise.
7850 (struct test_f_i_data): Likewise.
7851 (struct test_ff_i_data): Likewise.
7852 (struct test_f_l_data): Likewise.
7853 (struct test_f_L_data): Likewise.
7854 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7856 (COMMON_TEST_SETUP): New macro.
7857 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7858 (COMMON_TEST_CLEANUP): Likewise.
7859 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7860 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7862 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7863 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7865 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7866 (RUN_TEST_fff_f): Take argument string. Call new setup and
7868 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7869 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7871 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7872 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7874 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7875 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7877 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7878 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7880 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7881 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7883 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7884 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7886 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7887 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7889 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7890 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7892 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7893 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7895 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7896 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7898 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7899 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7901 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7902 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7904 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7905 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7907 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7908 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7910 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7911 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7913 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7915 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7917 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7918 to _sifields.sigfault.
7919 (si_addr_lsb): Define new macro.
7920 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7922 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7924 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7927 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7929 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7931 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7934 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7936 * math/gen-libm-test.pl (parse_args): Do not include expected
7937 result in test name.
7938 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7939 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7940 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7941 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7942 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7945 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7947 * benchtests/Makefile: Sort function entries.
7949 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7950 tanh, asinh, acosh, atanh.
7951 * benchtests/acos-inputs: New file.
7952 * benchtests/acosh-inputs: New file.
7953 * benchtests/asin-inputs: New file.
7954 * benchtests/asinh-inputs: New file.
7955 * benchtests/atanh-inputs: New file.
7956 * benchtests/cosh-inputs: New file.
7957 * benchtests/log-inputs: New file.
7958 * benchtests/sinh-inputs: New file.
7959 * benchtests/tanh-inputs: New file.
7961 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7964 * posix/tst-getaddrinfo4.c: New test.
7965 * posix/Makefile (tests): Add it.
7967 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7970 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7971 when no services were used.
7972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7973 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7975 2013-05-21 Andreas Schwab <schwab@suse.de>
7978 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7979 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7981 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7982 redundant variable declarations and reallocation of buffer when
7983 parsing as IPv6 address. Always set NSS status when called from
7984 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7985 buffer too small. Correct computation of needed size.
7986 * nss/Makefile (tests): Add test-digits-dots.
7987 * nss/test-digits-dots.c: New test.
7989 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7991 * benchtests/Makefile: Remove instructions for adding
7993 * benchtests/README: New file to explain how to execute and
7994 enhance the benchmark tests.
7996 2013-05-21 Andreas Schwab <schwab@suse.de>
7999 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8000 * setjmp/tst-sigsetjmp.c: New test.
8002 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8004 * sysdeps/x86_64/memset.S (memset): New implementation.
8005 (__bzero): Likewise.
8006 (__memset_tail): New function.
8008 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8010 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8011 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8012 __memcpy_sse2_unaligned ifunc selection.
8013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8014 Add memcpy-sse2-unaligned.S.
8015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8016 Add: __memcpy_sse2_unaligned.
8018 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8021 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8022 math_force_eval before restoring floating-point envrionment.
8023 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8026 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8028 (__nearbyintl): Use math_force_eval before restoring
8029 floating-point environment.
8030 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8032 * math/gen-libm-test.pl (special_functions): Remove.
8033 (parse_args): Don't handle TEST_extra. Handle functions with no
8035 * math/libm-test.inc (struct test_sincos_data): Replace with
8036 struct test_fFF_11_data.
8037 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8038 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8039 (sincos_test_data): Change element type to struct
8040 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8041 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8042 RUN_TEST_LOOP_sincos.
8043 * math/README.libm-test: Don't mention special handling of
8044 individual functions.
8045 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8046 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8047 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8048 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8049 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8052 * math/gen-libm-test.pl (get_variable): Remove function.
8053 (parse_args): Don't show pointer parameters to call in test
8054 names. Use "extra output N" in test names for extra outputs
8055 rather than naming variables.
8057 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8060 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8061 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8062 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8064 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8066 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8069 * math/gen-libm-test.pl (@tests): Remove variable.
8071 (new_test): Remove function.
8072 (show_exceptions): New function.
8073 (special_functions): Use show_exceptions instead of new_test.
8074 (parse_args): Likewise.
8075 (generate_testfile): Pass only function name in generated call to
8076 print_max_error or print_complex_max_error.
8077 (get_ulps): Do not handle complex tests specially.
8078 (output_test): Rename to ...
8079 (get_all_ulps_for_test): ... this. Return a string rather than
8080 printing to a file. Require ulps to be present.
8081 (output_ulps): Generate arrays rather than #defines.
8082 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8083 (struct ulp_data): New type.
8084 (BUILD_COMPLEX_ULP): Remove macro.
8085 (compare_ulp_data): New function.
8086 (find_ulps): Likewise.
8087 (find_test_ulps): Likewise.
8088 (find_function_ulps): Likewise.
8089 (find_complex_function_ulps): Likewise.
8090 (print_max_error): Determine allowed ulps using
8092 (print_complex_max_error): Determine allowed ulps using
8093 find_complex_function_ulps.
8094 (check_float_internal): Determine max ulps using find_test_ulps.
8095 (check_float): Do not take max_ulp parameter. Update call to
8096 check_float_internal.
8097 (check_complex): Likewise.
8098 (check_int): Do not take max_ulp parameter.
8099 (check_long): Likewise.
8100 (check_bool): Likewise.
8101 (check_longlong): Likewise.
8102 (struct test_f_f_data): Remove max_ulp field.
8103 (struct test_ff_f_data): Likewise.
8104 (struct test_ff_f_data_nexttoward): Likewise.
8105 (struct test_fi_f_data): Likewise.
8106 (struct test_fl_f_data): Likewise.
8107 (struct test_if_f_data): Likewise.
8108 (struct test_fff_f_data): Likewise.
8109 (struct test_c_f_data): Likewise.
8110 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8111 (struct test_fF_f1_data): Likewise.
8112 (struct test_ffI_f1_data): Likewise.
8113 (struct test_c_c_data): Remove max_ulp field.
8114 (struct test_cc_c_data): Likewise.
8115 (struct test_f_i_data): Likewise.
8116 (struct test_ff_i_data): Likewise.
8117 (struct test_f_l_data): Likewise.
8118 (struct test_f_L_data): Likewise.
8119 (struct test_sincos_data): Likewise.
8120 (RUN_TEST_f_f): Do not handle ulps.
8121 (RUN_TEST_LOOP_f_f): Likewise.
8122 (RUN_TEST_2_f): Likewise.
8123 (RUN_TEST_LOOP_2_f): Likewise.
8124 (RUN_TEST_fff_f): Likewise.
8125 (RUN_TEST_LOOP_fff_f): Likewise.
8126 (RUN_TEST_c_f): Likewise.
8127 (RUN_TEST_LOOP_c_f): Likewise.
8128 (RUN_TEST_f_f1): Likewise.
8129 (RUN_TEST_LOOP_f_f1): Likewise.
8130 (RUN_TEST_fF_f1): Likewise.
8131 (RUN_TEST_LOOP_fF_f1): Likewise.
8132 (RUN_TEST_fI_f1): Likewise.
8133 (RUN_TEST_LOOP_fI_f1): Likewise.
8134 (RUN_TEST_ffI_f1): Likewise.
8135 (RUN_TEST_LOOP_ffI_f1): Likewise.
8136 (RUN_TEST_c_c): Likewise.
8137 (RUN_TEST_LOOP_c_c): Likewise.
8138 (RUN_TEST_cc_c): Likewise.
8139 (RUN_TEST_LOOP_cc_c): Likewise.
8140 (RUN_TEST_f_i): Likewise.
8141 (RUN_TEST_LOOP_f_i): Likewise.
8142 (RUN_TEST_f_i_tg): Likewise.
8143 (RUN_TEST_LOOP_f_i_tg): Likewise.
8144 (RUN_TEST_ff_i_tg): Likewise.
8145 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8146 (RUN_TEST_f_b): Likewise.
8147 (RUN_TEST_LOOP_f_b): Likewise.
8148 (RUN_TEST_f_b_tg): Likewise.
8149 (RUN_TEST_LOOP_f_b_tg): Likewise.
8150 (RUN_TEST_f_l): Likewise.
8151 (RUN_TEST_LOOP_f_l): Likewise.
8152 (RUN_TEST_f_L): Likewise.
8153 (RUN_TEST_LOOP_f_L): Likewise.
8154 (RUN_TEST_sincos): Likewise.
8155 (RUN_TEST_LOOP_sincos): Likewise.
8157 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8161 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8162 main case of finite arguments, set rounding mode to FE_TONEAREST
8163 and discard exceptions.
8164 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8166 (remainder_tonearest_test_data): New variable.
8167 (remainder_test_tonearest): New function.
8168 (remainder_towardzero_test_data): New variable.
8169 (remainder_test_towardzero): New function.
8170 (remainder_downward_test_data): New variable.
8171 (remainder_test_downward): New function.
8172 (remainder_upward_test_data): New variable.
8173 (remainder_test_upward): New function.
8174 (main): Call the new test functions.
8176 * math/libm-test.inc (struct test_f_f1_data): Remove field
8178 (struct test_fF_f1_data): Likewise.
8179 (struct test_ffI_f1_data): Likewise.
8180 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8181 based on value of EXTRA_EXPECTED.
8182 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8183 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8184 EXTRA_VAR based on value of EXTRA_EXPECTED.
8185 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8186 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8187 EXTRA_VAR based on value of EXTRA_EXPECTED.
8188 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8189 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8190 EXTRA_VAR based on value of EXTRA_EXPECTED.
8191 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8192 * math/gen-libm-test.pl (parse_args): Don't output initializers
8193 for extra output values.
8195 * math/libm-test.inc (check_int): Expect result to be exactly
8196 equal to expected value and do not handle ulps.
8197 (check_long): Likewise.
8198 (check_longlong): Likewise.
8200 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8202 (cimag_test_data): Likewise.
8203 (conj_test_data): Likewise.
8204 (copysign_test_data): Likewise.
8205 (cproj_test_data): Likewise.
8206 (creal_test_data): Likewise.
8207 (fabs_test_data): Likewise.
8208 (fdim_test_data): Likewise.
8209 (finite_test_data): Likewise.
8210 (floor_test_data): Likewise.
8211 (fmax_test_data): Likewise.
8212 (fmin_test_data): Likewise.
8213 (fmod_test_data): Likewise.
8214 (fpclassify_test_data): Likewise.
8215 (frexp_test_data): Likewise.
8216 (ilogb_test_data): Likewise.
8217 (isfinite_test_data): Likewise.
8218 (isgreater_test_data): Likewise.
8219 (isgreaterequal_test_data): Likewise.
8220 (isinf_test_data): Likewise.
8221 (isless_test_data): Likewise.
8222 (islessequal_test_data): Likewise.
8223 (islessgreater_test_data): Likewise.
8224 (isnan_test_data): Likewise.
8225 (isnormal_test_data): Likewise.
8226 (issignaling_test_data): Likewise.
8227 (isunordered_test_data): Likewise.
8228 (ldexp_test_data): Likewise.
8229 (lrint_test_data): Likewise.
8230 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8231 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8232 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8233 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8234 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8235 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8237 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8238 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8239 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8240 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8242 (lrint_downward_test_data): Test for "inexact" exceptions.
8243 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8244 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8245 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8247 (lrint_upward_test_data): Test for "inexact" exceptions.
8248 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8250 (llrint_test_data): Test for "inexact" exceptions.
8251 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8252 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8253 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8254 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8255 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8256 (llrint_downward_test_data): Test for "inexact" exceptions.
8257 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8258 (llrint_upward_test_data): Test for "inexact" exceptions.
8259 (logb_test_data): Likewise.
8260 (logb_downward_test_data): Likewise.
8261 (nextafter_test_data): Likewise.
8262 (nexttoward_test_data): Likewise.
8263 (remainder_test_data): Likewise.
8264 (remquo_test_data): Likewise.
8265 (scalbn_test_data): Likewise.
8266 (scalbln_test_data): Likewise.
8267 (signbit_test_data): Likewise.
8268 (sqrt_test_data): Likewise.
8269 (significand_test_data): Likewise.
8271 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8274 * benchtests/bench-modf.c (struct args): Mark arg0 as
8276 * scripts/bench.pl: Mark members of struct args as volatile.
8278 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8281 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8282 negative infinity on POWER6 or lower.
8283 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8285 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8288 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8289 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8290 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8291 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8292 (_FP_SETQNAN): New macro.
8293 (_FP_SETQNAN_SEMIRAW): Likewise.
8294 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8295 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8296 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8297 (FP_EXTEND): Use _FP_FRAC_SNANP.
8298 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8299 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8301 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8303 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8306 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8308 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8309 with DIVIDE_BY_ZERO_EXCEPTION.
8310 (gamma_test_data): Likewise.
8311 (lgamma_test_data): Likewise.
8312 (log_test_data): Likewise.
8313 (log10_test_data): Likewise.
8314 (log2_test_data): Likewise.
8315 (tgamma_test_data): Likewise.
8317 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8318 (acos_test_tonearest): Likewise.
8319 (acos_test_towardzero): Likewise.
8320 (acos_test_downward): Likewise.
8321 (acos_test_upward): Likewise.
8322 (acosh_test): Likewise.
8323 (asin_test): Likewise.
8324 (asin_test_tonearest): Likewise.
8325 (asin_test_towardzero): Likewise.
8326 (asin_test_downward): Likewise.
8327 (asin_test_upward): Likewise.
8328 (asinh_test): Likewise.
8329 (atan_test): Likewise.
8330 (atanh_test): Likewise.
8331 (atan2_test): Likewise.
8332 (cabs_test): Likewise.
8333 (cacos_test): Likewise.
8334 (cacosh_test): Likewise.
8335 (casin_test): Likewise.
8336 (casinh_test): Likewise.
8337 (catan_test): Likewise.
8338 (catanh_test): Likewise.
8339 (cbrt_test): Likewise.
8340 (ccos_test): Likewise.
8341 (ccosh_test): Likewise.
8342 (cexp_test): Likewise.
8343 (clog_test): Likewise.
8344 (clog10_test): Likewise.
8345 (cos_test): Likewise.
8346 (cos_test_tonearest): Likewise.
8347 (cos_test_towardzero): Likewise.
8348 (cos_test_downward): Likewise.
8349 (cos_test_upward): Likewise.
8350 (cosh_test): Likewise.
8351 (cosh_test_tonearest): Likewise.
8352 (cosh_test_towardzero): Likewise.
8353 (cosh_test_downward): Likewise.
8354 (cosh_test_upward): Likewise.
8355 (cpow_test): Likewise.
8356 (csin_test): Likewise.
8357 (csinh_test): Likewise.
8358 (csqrt_test): Likewise.
8359 (ctan_test): Likewise.
8360 (ctan_test_tonearest): Likewise.
8361 (ctan_test_towardzero): Likewise.
8362 (ctan_test_downward): Likewise.
8363 (ctan_test_upward): Likewise.
8364 (ctanh_test): Likewise.
8365 (ctanh_test_tonearest): Likewise.
8366 (ctanh_test_towardzero): Likewise.
8367 (ctanh_test_downward): Likewise.
8368 (ctanh_test_upward): Likewise.
8369 (erf_test): Likewise.
8370 (erfc_test): Likewise.
8371 (exp_test): Likewise.
8372 (exp_test_tonearest): Likewise.
8373 (exp_test_towardzero): Likewise.
8374 (exp_test_downward): Likewise.
8375 (exp_test_upward): Likewise.
8376 (exp10_test): Likewise.
8377 (exp2_test): Likewise.
8378 (expm1_test): Likewise.
8379 (fmod_test): Likewise.
8380 (gamma_test): Likewise.
8381 (hypot_test): Likewise.
8382 (j0_test): Likewise.
8383 (j1_test): Likewise.
8384 (jn_test): Likewise.
8385 (lgamma_test): Likewise.
8386 (log_test): Likewise.
8387 (log10_test): Likewise.
8388 (log1p_test): Likewise.
8389 (log2_test): Likewise.
8390 (logb_test_downward): Likewise.
8391 (pow_test): Likewise.
8392 (pow_test_tonearest): Likewise.
8393 (pow_test_towardzero): Likewise.
8394 (pow_test_downward): Likewise.
8395 (pow_test_upward): Likewise.
8396 (remainder_test): Likewise.
8397 (remquo_test): Likewise.
8398 (sin_test): Likewise.
8399 (sin_test_tonearest): Likewise.
8400 (sin_test_towardzero): Likewise.
8401 (sin_test_downward): Likewise.
8402 (sin_test_upward): Likewise.
8403 (sincos_test): Likewise.
8404 (sinh_test): Likewise.
8405 (sinh_test_tonearest): Likewise.
8406 (sinh_test_towardzero): Likewise.
8407 (sinh_test_downward): Likewise.
8408 (sinh_test_upward): Likewise.
8409 (sqrt_test): Likewise.
8410 (tan_test): Likewise.
8411 (tan_test_tonearest): Likewise.
8412 (tan_test_towardzero): Likewise.
8413 (tan_test_downward): Likewise.
8414 (tan_test_upward): Likewise.
8415 (tanh_test): Likewise.
8416 (tgamma_test): Likewise.
8417 (y0_test): Likewise.
8418 (y1_test): Likewise.
8419 (yn_test): Likewise.
8421 * math/gen-libm-test.pl (adjust_arg): Remove function.
8422 (special_function): Remove argument $in_func. Only handle
8423 generating output for tables of tests, not inside functions.
8424 (parse_args): Likewise.
8425 (generate_testfile): Remove variable $in_func. Update call to
8427 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8428 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8429 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8430 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8431 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8432 (MAX_VALUE_INIT): Rename macro to max_value.
8433 (MIN_VALUE_INIT): Rename macro to min_value.
8434 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8435 (plus_zero): Remove variable.
8436 (minus_zero): Likewise.
8437 (plus_infty): Likewise.
8438 (minus_infty): Likewise.
8439 (qnan_value): Likewise.
8440 (max_value): Likewise.
8441 (min_value): Likewise.
8442 (min_subnorm_value): Likewise.
8444 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8446 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8447 uint64_t or uint32_t usage.
8448 * crypt/sha256-block.c: Likewise.
8449 * crypt/sha256-crypt.c: Likewise.
8450 * crypt/sha256.c: Likewise.
8451 * crypt/sha512-block.c: Likewise.
8452 * crypt/sha512-crypt.c: Likewise.
8453 * crypt/sha512.c: Likewise.
8454 * debug/backtrace-tst.c: Likewise.
8455 * debug/pcprofiledump.c: Likewise.
8456 * elf/cache.c: Likewise.
8457 * elf/dl-cache.c: Likewise.
8458 * elf/dl-misc.c: Likewise.
8459 * elf/dl-profile.c: Likewise.
8460 * elf/dl-support.c: Likewise.
8461 * elf/ldconfig.c: Likewise.
8462 * elf/sprof.c: Likewise.
8463 * iconv/dummy-repertoire.c: Likewise.
8464 * iconv/iconv_charmap.c: Likewise.
8465 * iconv/skeleton.c: Likewise.
8466 * iconvdata/8bit-generic.c: Likewise.
8467 * iconvdata/cp737.h: Likewise.
8468 * iconvdata/cp775.h: Likewise.
8469 * iconvdata/ibm1008.h: Likewise.
8470 * iconvdata/ibm1025.h: Likewise.
8471 * iconvdata/ibm1046.h: Likewise.
8472 * iconvdata/ibm1097.h: Likewise.
8473 * iconvdata/ibm1112.h: Likewise.
8474 * iconvdata/ibm1122.h: Likewise.
8475 * iconvdata/ibm1123.h: Likewise.
8476 * iconvdata/ibm1124.h: Likewise.
8477 * iconvdata/ibm1129.h: Likewise.
8478 * iconvdata/ibm1130.h: Likewise.
8479 * iconvdata/ibm1132.h: Likewise.
8480 * iconvdata/ibm1133.h: Likewise.
8481 * iconvdata/ibm1137.h: Likewise.
8482 * iconvdata/ibm1140.h: Likewise.
8483 * iconvdata/ibm1141.h: Likewise.
8484 * iconvdata/ibm1142.h: Likewise.
8485 * iconvdata/ibm1143.h: Likewise.
8486 * iconvdata/ibm1144.h: Likewise.
8487 * iconvdata/ibm1145.h: Likewise.
8488 * iconvdata/ibm1146.h: Likewise.
8489 * iconvdata/ibm1147.h: Likewise.
8490 * iconvdata/ibm1148.h: Likewise.
8491 * iconvdata/ibm1149.h: Likewise.
8492 * iconvdata/ibm1153.h: Likewise.
8493 * iconvdata/ibm1154.h: Likewise.
8494 * iconvdata/ibm1155.h: Likewise.
8495 * iconvdata/ibm1156.h: Likewise.
8496 * iconvdata/ibm1157.h: Likewise.
8497 * iconvdata/ibm1158.h: Likewise.
8498 * iconvdata/ibm1160.h: Likewise.
8499 * iconvdata/ibm1161.h: Likewise.
8500 * iconvdata/ibm1162.h: Likewise.
8501 * iconvdata/ibm1163.h: Likewise.
8502 * iconvdata/ibm1164.h: Likewise.
8503 * iconvdata/ibm1166.h: Likewise.
8504 * iconvdata/ibm1167.h: Likewise.
8505 * iconvdata/ibm12712.h: Likewise.
8506 * iconvdata/ibm1390.h: Likewise.
8507 * iconvdata/ibm1399.h: Likewise.
8508 * iconvdata/ibm16804.h: Likewise.
8509 * iconvdata/ibm4517.h: Likewise.
8510 * iconvdata/ibm4899.h: Likewise.
8511 * iconvdata/ibm4909.h: Likewise.
8512 * iconvdata/ibm4971.h: Likewise.
8513 * iconvdata/ibm5347.h: Likewise.
8514 * iconvdata/ibm803.h: Likewise.
8515 * iconvdata/ibm856.h: Likewise.
8516 * iconvdata/ibm901.h: Likewise.
8517 * iconvdata/ibm902.h: Likewise.
8518 * iconvdata/ibm9030.h: Likewise.
8519 * iconvdata/ibm9066.h: Likewise.
8520 * iconvdata/ibm921.h: Likewise.
8521 * iconvdata/ibm922.h: Likewise.
8522 * iconvdata/ibm9448.h: Likewise.
8523 * iconvdata/isiri-3342.h: Likewise.
8524 * iconvdata/jis0201.h: Likewise.
8525 * include/link.h: Likewise.
8526 * include/netdb.h: Likewise.
8527 * inet/check_native.c: Likewise.
8528 * inet/check_pf.c: Likewise.
8529 * inet/getipv4sourcefilter.c: Likewise.
8530 * inet/getnameinfo.c: Likewise.
8531 * inet/getsourcefilter.c: Likewise.
8532 * inet/htonl.c: Likewise.
8533 * inet/setipv4sourcefilter.c: Likewise.
8534 * inet/setsourcefilter.c: Likewise.
8535 * inet/test-inet6_opt.c: Likewise.
8536 * inet/tst-network.c: Likewise.
8537 * locale/C-collate.c: Likewise.
8538 * locale/C-ctype.c: Likewise.
8539 * locale/C-time.c: Likewise.
8540 * locale/C-translit.h: Likewise.
8541 * locale/loadarchive.c: Likewise.
8542 * locale/programs/3level.h: Likewise.
8543 * locale/programs/charmap.c: Likewise.
8544 * locale/programs/charmap.h: Likewise.
8545 * locale/programs/ld-address.c: Likewise.
8546 * locale/programs/ld-collate.c: Likewise.
8547 * locale/programs/ld-ctype.c: Likewise.
8548 * locale/programs/ld-identification.c: Likewise.
8549 * locale/programs/ld-measurement.c: Likewise.
8550 * locale/programs/ld-messages.c: Likewise.
8551 * locale/programs/ld-monetary.c: Likewise.
8552 * locale/programs/ld-name.c: Likewise.
8553 * locale/programs/ld-numeric.c: Likewise.
8554 * locale/programs/ld-paper.c: Likewise.
8555 * locale/programs/ld-telephone.c: Likewise.
8556 * locale/programs/ld-time.c: Likewise.
8557 * locale/programs/linereader.c: Likewise.
8558 * locale/programs/locale.c: Likewise.
8559 * locale/programs/locarchive.c: Likewise.
8560 * locale/programs/locfile.h: Likewise.
8561 * locale/programs/repertoire.c: Likewise.
8562 * locale/programs/simple-hash.c: Likewise.
8563 * locale/programs/simple-hash.h: Likewise.
8564 * malloc/memusage.c: Likewise.
8565 * malloc/memusagestat.c: Likewise.
8566 * nis/nis_defaults.c: Likewise.
8567 * nis/nis_hash.c: Likewise.
8568 * nis/nis_print.c: Likewise.
8569 * nis/nis_xdr.c: Likewise.
8570 * nscd/connections.c: Likewise.
8571 * nscd/hstcache.c: Likewise.
8572 * nscd/nscd_gethst_r.c: Likewise.
8573 * nscd/nscd_getserv_r.c: Likewise.
8574 * nscd/nscd_helper.c: Likewise.
8575 * nscd/servicescache.c: Likewise.
8576 * nss/makedb.c: Likewise.
8577 * nss/nss_db/db-XXX.c: Likewise.
8578 * nss/nss_db/db-initgroups.c: Likewise.
8579 * nss/nss_db/db-netgrp.c: Likewise.
8580 * nss/nss_files/files-network.c: Likewise.
8581 * nss/nss_files/files-parse.c: Likewise.
8582 * posix/bug-regex5.c: Likewise.
8583 * posix/fnmatch_loop.c: Likewise.
8584 * posix/regcomp.c: Likewise.
8585 * posix/regexec.c: Likewise.
8586 * posix/tst-rfc3484-2.c: Likewise.
8587 * posix/tst-rfc3484-3.c: Likewise.
8588 * posix/tst-rfc3484.c: Likewise.
8589 * resolv/nss_dns/dns-canon.c: Likewise.
8590 * resolv/nss_dns/dns-network.c: Likewise.
8591 * resolv/res_init.c: Likewise.
8592 * resolv/res_mkquery.c: Likewise.
8593 * resolv/tst-aton.c: Likewise.
8594 * stdlib/cxa_atexit.c: Likewise.
8595 * stdlib/cxa_finalize.c: Likewise.
8596 * stdlib/gen-fpioconst.c: Likewise.
8597 * stdlib/strtol_l.c: Likewise.
8598 * string/tst-endian.c: Likewise.
8599 * sunrpc/auth_des.c: Likewise.
8600 * sunrpc/clnt_udp.c: Likewise.
8601 * sunrpc/rtime.c: Likewise.
8602 * sunrpc/svcauth_des.c: Likewise.
8603 * sunrpc/xdr.c: Likewise.
8604 * sunrpc/xdr_intXX_t.c: Likewise.
8605 * sunrpc/xdr_rec.c: Likewise.
8606 * sysdeps/generic/ldconfig.h: Likewise.
8607 * sysdeps/generic/ldsodefs.h: Likewise.
8608 * sysdeps/generic/memusage.h: Likewise.
8609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8612 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8619 * sysdeps/posix/getaddrinfo.c: Likewise.
8620 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8621 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8622 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8623 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8624 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8625 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8626 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8627 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8628 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8629 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8630 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8631 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8632 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8633 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8634 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8635 * sysdeps/x86_64/dl-tls.h: Likewise.
8636 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8637 * time/alt_digit.c: Likewise.
8638 * time/era.c: Likewise.
8639 * wcsmbs/tst-c16c32-1.c: Likewise.
8641 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8643 * math/libm-test.inc (struct test_sincos_data): New type.
8644 (RUN_TEST_LOOP_sincos): New macro.
8645 (sincos_test_data): New variable.
8646 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8648 2013-05-16 Richard Henderson <rth@redhat.com>
8650 * math/atest-exp2.c (LIMB64): New macro.
8651 (CONSTSZ): New macro.
8652 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8654 (print_mpn_fp): ... to function scope.
8655 (read_mpn_hex): Remove.
8657 (exp2_mpn): Use mp_log2.
8658 (main): Use mp_exp1.
8660 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8662 * math/libm-test.inc: Remove comment about not testing "inexact"
8664 (INEXACT_EXCEPTION): New macro.
8665 (NO_INEXACT_EXCEPTION): Likewise.
8666 (INVALID_EXCEPTION_OK): Update value.
8667 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8668 (OVERFLOW_EXCEPTION_OK): Likewise.
8669 (UNDERFLOW_EXCEPTION_OK): Likewise.
8670 (IGNORE_ZERO_INF_SIGN): Likewise.
8671 (ERRNO_UNCHANGED): Likewise.
8672 (ERRNO_EDOM): Likewise.
8673 (ERRNO_ERANGE): Likewise.
8674 (test_exceptions): Handle testing "inexact" exceptions.
8675 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8676 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8677 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8678 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8680 (rint_towardzero_test_data): Likewise.
8681 (rint_downward_test_data): Likewise.
8682 (rint_upward_test_data): Likewise.
8684 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8685 with OVERFLOW_EXCEPTION.
8686 (exp10_test_data): Likewise.
8687 (exp2_test_data): Likewise.
8688 (expm1_test_data): Likewise.
8689 (lgamma_test_data): Likewise.
8690 (pow_test_data): Likewise.
8691 (tgamma_test_data): Likewise.
8692 (yn_test_data): Remove duplicate test of overflow.
8694 * math/libm-test.inc (struct test_cc_c_data): New type.
8695 (RUN_TEST_LOOP_cc_c): New macro.
8696 (cpow_test_data): New variable.
8697 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8699 * math/libm-test.inc (struct test_f_L_data): New type.
8700 (RUN_TEST_LOOP_f_L): New macro.
8701 (llrint_test_data): New variable.
8702 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8703 (llrint_tonearest_test_data): New variable.
8704 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8705 (llrint_towardzero_test_data): New variable.
8706 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8707 (llrint_downward_test_data): New variable.
8708 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8709 (llrint_upward_test_data): New variable.
8710 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8711 (llround_test_data): New variable.
8712 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8714 2013-05-13 Peter Collingbourne <pcc@google.com>
8716 * math/atest-exp2.c (get_log2): Remove const attribute.
8718 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8720 * math/libm-test.inc (struct test_f_l_data): New type.
8721 (RUN_TEST_LOOP_f_l): New macro.
8722 (lrint_test_data): New variable.
8723 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8724 (lrint_tonearest_test_data): New variable.
8725 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8726 (lrint_towardzero_test_data): New variable.
8727 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8728 (lrint_downward_test_data): New variable.
8729 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8730 (lrint_upward_test_data): New variable.
8731 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8732 (lround_test_data): New variable.
8733 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8735 2013-05-15 Peter Collingbourne <pcc@google.com>
8737 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8738 (EXTRACT_WORDS64) Use where appropriate.
8739 (INSERT_WORDS64) Likewise.
8741 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8742 constraints with x constraints.
8743 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8745 * malloc/obstack.c (_obstack_compat): Add initializer.
8747 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8750 si_trapno and add si_addr_lsb to _sifields.sigfault.
8751 (si_trapno): Remove macro.
8752 (si_addr_lsb): Define new macro.
8753 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8755 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8757 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8758 instead of TEST_f_l.
8759 (llrint_test_tonearest): Likewise.
8760 (llrint_test_towardzero): Likewise.
8761 (llrint_test_downward): Likewise.
8762 (llrint_test_upward): Likewise.
8763 (llround_test): Likewise.
8765 * math/libm-test.inc (struct test_f_i_data): Add comment.
8766 (RUN_TEST_LOOP_f_b): New macro.
8767 (RUN_TEST_LOOP_f_b_tg): Likewise.
8768 (finite_test_data): New variable.
8769 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8770 (isfinite_test_data): New variable.
8771 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8772 (isinf_test_data): New variable.
8773 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8774 (isnan_test_data): New variable.
8775 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8776 (isnormal_test_data): New variable.
8777 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8778 (issignaling_test_data): New variable.
8779 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8780 (signbit_test_data): New variable.
8781 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8783 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8784 with INVALID_EXCEPTION.
8785 (acosh_test_data): Likewise.
8786 (asin_test_data): Likewise.
8787 (atanh_test_data): Likewise.
8788 (fmod_test_data): Likewise.
8789 (log_test_data): Likewise.
8790 (log10_test_data): Likewise.
8791 (log2_test_data): Likewise.
8792 (pow_test_data): Likewise.
8793 (sqrt_test_data): Likewise.
8794 (y0_test_data): Likewise.
8795 (y1_test_data): Likewise.
8796 (yn_test_data): Likewise.
8798 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8801 * math/libm-test.inc (struct test_ff_i_data): New type.
8802 (RUN_TEST_LOOP_ff_i_tg): New macro.
8803 (isgreater_test_data): New variable.
8804 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8805 (isgreaterequal_test_data): New variable.
8806 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8807 (isless_test_data): New variable.
8808 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8809 (islessequal_test_data): New variable.
8810 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8811 (islessgreater_test_data): New variable.
8812 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8813 (isunordered_test_data): New variable.
8814 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8816 2013-05-14 David S. Miller <davem@davemloft.net>
8818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8820 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8822 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8824 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8826 (struct test_f_i_data): Change type of max_ulp to int.
8828 * math/libm-test.inc (test_ffI_f1_data): New type.
8829 (RUN_TEST_LOOP_ffI_f1): New macro.
8830 (remquo_test_data): New variable.
8831 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8833 * setjmp/tst-setjmp-fp.c: New file.
8834 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8835 (link-libm): New variable.
8836 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8838 * math/libm-test.inc (struct test_f_i_data): New type.
8839 (RUN_TEST_LOOP_f_i): New macro.
8840 (RUN_TEST_LOOP_f_i_tg): Likewise.
8841 (fpclassify_test_data): New variable.
8842 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8843 (ilogb_test_data): New variable.
8844 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8846 * math/libm-test.inc (scalbln_test): Correct function name in END
8849 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8850 (RUN_TEST_LOOP_fI_f1): New macro.
8851 (frexp_test_data): New variable.
8852 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8854 * math/libm-test.inc (struct test_fF_f1_data): New type.
8855 (RUN_TEST_LOOP_fF_f1): New macro.
8856 (modf_test_data): New variable.
8857 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8859 * math/libm-test.inc (struct test_f_f1_data): New type.
8860 (RUN_TEST_LOOP_f_f1): New macro.
8861 (gamma_test_data): New variable.
8862 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8863 (lgamma_test_data): New variable.
8864 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8866 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8868 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8869 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8870 (main): Comment "tls" pseudo-hwcap.
8872 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8874 * math/libm-test.inc (struct test_fl_f_data): New type.
8875 (RUN_TEST_LOOP_fl_f): New variable.
8876 (scalbln_test_data): New variable.
8877 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8879 * math/libm-test.inc (struct test_fi_f_data): New type.
8880 (RUN_TEST_LOOP_fi_f): New macro.
8881 (ldexp_test_data): New variable.
8882 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8883 (scalbn_test_data): New variable.
8884 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8886 * math/libm-test.inc (struct test_c_f_data): New type.
8887 (RUN_TEST_LOOP_c_f): New macro.
8888 (cabs_test_data): New variable.
8889 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8890 (carg_test_data): New variable.
8891 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8892 (cimag_test_data): New variable.
8893 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8894 (creal_test_data): New variable.
8895 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8897 * math/libm-test.inc (struct test_if_f_data): New type.
8898 (RUN_TEST_LOOP_if_f): New macro.
8899 (jn_test_data): New variable.
8900 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8901 (yn_test_data): New variable.
8902 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8904 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8906 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8908 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8909 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8911 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8913 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8914 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8915 (bench-deps): Add bench-timing.h.
8916 * benchtests-bench-skeleton.c: Include bench-timing.h.
8917 (main): Use TIMING_* macros instead of clock_gettime.
8918 * benchtests/bench-timing.h: New file.
8921 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8922 Renamed from _LIB_VERSION.
8923 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8925 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8927 * math/libm-test.inc (struct test_fff_f_data): New type.
8928 (RUN_TEST_LOOP_fff_f): New macro.
8929 (fma_test_data): New variable.
8930 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8931 (fma_towardzero_test_data): New variable.
8932 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8933 (fma_downward_test_data): New variable.
8934 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8935 (fma_upward_test_data): New variable.
8936 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8938 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8939 (struct test_c_c_data): New type.
8940 (RUN_TEST_LOOP_c_c): New macro.
8941 (cacos_test_data): New variable.
8942 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8943 (cacosh_test_data): New variable.
8944 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8945 (casin_test_data): New variable.
8946 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8947 (casinh_test_data): New variable.
8948 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8949 (catan_test_data): New variable.
8950 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8951 (catanh_test_data): New variable.
8952 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8953 (ccos_test_data): New variable.
8954 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8955 (ccosh_test_data): New variable.
8956 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8957 (cexp_test_data): New variable.
8958 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8959 (clog_test_data): New variable.
8960 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8961 (clog10_test_data): New variable.
8962 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8963 (conj_test_data): New variable.
8964 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8965 (cproj_test_data): New variable.
8966 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8967 (csin_test_data): New variable.
8968 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8969 (csinh_test_data): New variable.
8970 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8971 (csqrt_test_data): New variable.
8972 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8973 (ctan_test_data): New variable.
8974 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8975 (ctan_tonearest_test_data): New variable.
8976 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8977 (ctan_towardzero_test_data): New variable.
8978 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8979 (ctan_downward_test_data): New variable.
8980 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8981 (ctan_upward_test_data): New variable.
8982 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8983 (ctanh_test_data): New variable.
8984 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8985 (ctanh_tonearest_test_data): New variable.
8986 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8987 (ctanh_towardzero_test_data): New variable.
8988 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8989 (ctanh_downward_test_data): New variable.
8990 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8991 (ctanh_upward_test_data): New variable.
8992 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8993 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8996 * math/libm-test.inc (struct test_ff_f_data): New type.
8997 (struct test_ff_f_data_nexttoward): Likewise.
8998 (RUN_TEST_LOOP_2_f): New macro.
8999 (RUN_TEST_LOOP_ff_f): Likewise.
9000 (atan2_test_data): New variable.
9001 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9002 (copysign_test_data): New variable.
9003 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9004 (fdim_test_data): New variable.
9005 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9006 (fmax_test_data): New variable.
9007 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9008 (fmin_test_data): New variable.
9009 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9010 (fmod_test_data): New variable.
9011 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9012 (hypot_test_data): New variable.
9013 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9014 (nextafter_test_data): New variable.
9015 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9016 (nexttoward_test_data): New variable.
9017 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9018 (pow_test_data): New variable.
9019 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9020 (pow_tonearest_test_data): New variable.
9021 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9022 (pow_towardzero_test_data): New variable.
9023 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9024 (pow_downward_test_data): New variable.
9025 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9026 (pow_upward_test_data): New variable.
9027 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9028 (remainder_test_data): New variable.
9029 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9030 (scalb_test_data): New variable.
9031 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9032 * sysdeps/i386/fpu/libm-test-ulps: Update.
9034 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9036 * math/libm-test.inc (fma_test): Use max_value instead of local
9038 (nextafter_test): Likewise.
9040 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9041 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9042 (acos_downward_test_data): New variable.
9043 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9044 (acos_upward_test_data): New variable.
9045 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9046 (acosh_test_data): New variable.
9047 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9048 (asin_test_data): New variable.
9049 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9050 (asin_tonearest_test_data): New variable.
9051 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9052 (asin_towardzero_test_data): New variable.
9053 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9054 (asin_downward_test_data): New variable.
9055 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9056 (asin_upward_test_data): New variable.
9057 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9058 (asinh_test_data): New variable.
9059 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9060 (atan_test_data): New variable.
9061 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9062 (atanh_test_data): New variable.
9063 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9064 (cbrt_test_data): New variable.
9065 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9066 (ceil_test_data): New variable.
9067 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9068 (cos_test_data): New variable.
9069 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9070 (cos_tonearest_test_data): New variable.
9071 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9072 (cos_towardzero_test_data): New variable.
9073 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9074 (cos_downward_test_data): New variable.
9075 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9076 (cos_upward_test_data): New variable.
9077 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9078 (cosh_test_data): New variable.
9079 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9080 (cosh_tonearest_test_data): New variable.
9081 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9082 (cosh_towardzero_test_data): New variable.
9083 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9084 (cosh_downward_test_data): New variable.
9085 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9086 (cosh_upward_test_data): New variable.
9087 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9088 (erf_test_data): New variable.
9089 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9090 (erfc_test_data): New variable.
9091 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9092 (exp_test_data): New variable.
9093 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9094 (exp_tonearest_test_data): New variable.
9095 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9096 (exp_towardzero_test_data): New variable.
9097 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9098 (exp_downward_test_data): New variable.
9099 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9100 (exp_upward_test_data): New variable.
9101 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9102 (exp10_test_data): New variable.
9103 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9104 (exp2_test_data): New variable.
9105 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9106 (expm1_test_data): New variable.
9107 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9108 (fabs_test_data): New variable.
9109 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9110 (floor_test_data): New variable.
9111 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9112 (j0_test_data): New variable.
9113 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9114 (j1_test_data): New variable.
9115 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9116 (log_test_data): New variable.
9117 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9118 (log10_test_data): New variable.
9119 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9120 (log1p_test_data): New variable.
9121 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9122 (log2_test_data): New variable.
9123 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9124 (logb_test_data): New variable.
9125 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9126 (logb_downward_test_data): New variable.
9127 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9128 (nearbyint_test_data): New variable.
9129 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9130 (rint_test_data): New variable.
9131 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9132 (rint_tonearest_test_data): New variable.
9133 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9134 (rint_towardzero_test_data): New variable.
9135 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9136 (rint_downward_test_data): New variable.
9137 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9138 (rint_upward_test_data): New variable.
9139 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9140 (round_test_data): New variable.
9141 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9142 (sin_test_data): New variable.
9143 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9144 (sin_tonearest_test_data): New variable.
9145 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9146 (sin_towardzero_test_data): New variable.
9147 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9148 (sin_downward_test_data): New variable.
9149 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9150 (sin_upward_test_data): New variable.
9151 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9152 (sinh_test_data): New variable.
9153 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9154 (sinh_tonearest_test_data): New variable.
9155 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9156 (sinh_towardzero_test_data): New variable.
9157 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9158 (sinh_downward_test_data): New variable.
9159 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9160 (sinh_upward_test_data): New variable.
9161 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9162 (sqrt_test_data): New variable.
9163 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9164 (tan_test_data): New variable.
9165 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9166 (tan_tonearest_test_data): New variable.
9167 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9168 (tan_towardzero_test_data): New variable.
9169 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9170 (tan_downward_test_data): New variable.
9171 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9172 (tan_upward_test_data): New variable.
9173 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9174 (tanh_test_data): New variable.
9175 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9176 (tgamma_test_data): New variable.
9177 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9178 (trunc_test_data): New variable.
9179 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9180 (y0_test_data): New variable.
9181 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9182 (y1_test_data): New variable.
9183 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9184 (significand_test_data): New variable.
9185 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9187 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9190 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9192 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9194 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9196 2013-05-10 Andreas Jaeger <aj@suse.de>
9199 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9200 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9202 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9204 * math/gen-libm-test.pl (adjust_arg): New function.
9205 (special_functions): Handle generating output in both functions
9207 (parse_args): Likewise.
9208 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9209 $in_func argument to parse_args.
9210 * math/libm-test.inc (struct test_f_f_data): New type.
9211 (IF_ROUND_INIT_): New macro.
9212 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9213 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9214 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9215 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9216 (ROUND_RESTORE_): Likewise.
9217 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9218 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9219 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9220 (ROUND_RESTORE_FE_UPWARD): Likewise.
9221 (RUN_TEST_LOOP_f_f): New macro.
9222 (acos_test_data): New variable.
9223 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9224 (acos_tonearest_test_data): New variable.
9225 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9227 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9229 * benchtests/bench-skeleton.c (startup): Fix coding style.
9231 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9234 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9235 negative infinity argument.
9236 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9237 negative infinity argument.
9238 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9239 negative infinity argument.
9240 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9243 2013-05-10 Florian Weimer <fweimer@redhat.com>
9245 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9246 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9247 * iconv/iconv_prog.c (main): Likewise.
9248 * locale/programs/charmap-dir.c (charmap_readdir)
9249 (fopen_uncompressed): Likewise.
9250 * locale/programs/locfile.c (siblings_uncached)
9251 (write_locale_data): Use lstat64 instead of lstat.
9252 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9255 2013-05-10 Andreas Jaeger <aj@suse.de>
9258 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9262 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9264 * elf/dl-close.c (_dl_close_worker): Add comments.
9266 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9269 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9271 (__ieee754_rem_pio2l): Update comments.
9274 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9276 (__ieee754_rem_pio2l): Update comments.
9278 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9279 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9281 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9284 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9285 (M_PI_34_LOG10El): Likewise.
9286 (M_PI2_LOG10El): Likewise.
9287 (M_PI4_LOG10El): Likewise.
9288 (M_PI_LOG10El): Likewise.
9290 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9294 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9296 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9297 (MINUS_ZERO_INIT): Likewise.
9298 (PLUS_INFTY_INIT): Likewise.
9299 (MINUS_INFTY_INIT): Likewise.
9300 (QNAN_VALUE_INIT): Likewise.
9301 (MAX_VALUE_INIT): Likewise.
9302 (MIN_VALUE_INIT): Likewise.
9303 (MIN_SUBNORM_VALUE_INIT): Likewise.
9304 (plus_zero): Initialize with PLUS_ZERO_INIT.
9305 (minus_zero): Initialize with MINUS_ZERO_INIT.
9306 (plus_infty): Initialize with PLUS_INFTY_INIT.
9307 (minus_infty): Initialize with MINUS_INFTY_INIT.
9308 (qnan_value): Initialize with QNAN_VALUE_INIT.
9309 (max_value): Initialize with MAX_VALUE_INIT.
9310 (min_value): Initialize with MIN_VALUE_INIT.
9311 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9313 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9314 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9315 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9316 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9318 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9319 (RUN_TEST_2_f): Likewise.
9320 (RUN_TEST_ff_f): Likewise.
9321 (RUN_TEST_fi_f): Likewise.
9322 (RUN_TEST_fl_f): Likewise.
9323 (RUN_TEST_fff_f): Likewise.
9324 (RUN_TEST_c_f): Likewise.
9325 (RUN_TEST_f_f1): Likewise.
9326 (RUN_TEST_fF_f1): Likewise.
9327 (RUN_TEST_fI_f1): Likewise.
9328 (RUN_TEST_ffI_f1): Likewise.
9329 (RUN_TEST_c_c): Likewise.
9330 (RUN_TEST_cc_c): Likewise.
9331 (RUN_TEST_f_i): Likewise.
9332 (RUN_TEST_f_i_tg): Likewise.
9333 (RUN_TEST_ff_i_tg): Likewise.
9334 (RUN_TEST_f_b): Likewise.
9335 (RUN_TEST_f_b_tg): Likewise.
9336 (RUN_TEST_f_l): Likewise.
9337 (RUN_TEST_f_L): Likewise.
9338 (RUN_TEST_sincos): Likewise.
9339 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9340 whether to show exceptions. Do not include ");\n" in return
9342 (special_functions): Output call to RUN_TEST_sincos instead of
9343 check_float calls. Update calls to new_test.
9344 (parse_args): Output call to single RUN_TEST_* macro instead of
9345 check_* calls and other assignments. Update calls to new_test.
9351 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9352 input to result for tgamma overflow.
9353 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9354 (gamma_coeff): New variable.
9355 (NCOEFF): New macro.
9356 (gamma_positive): New function.
9357 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9358 underflow here. Use gamma_positive instead of exp (lgamma) for
9360 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9361 (gamma_coeff): New variable.
9362 (NCOEFF): New macro.
9363 (gammaf_positive): New function.
9364 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9365 underflow here. Use gamma_positive instead of exp (lgamma) for
9367 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9368 (gamma_coeff): New variable.
9369 (NCOEFF): New macro.
9370 (gammal_positive): New function.
9371 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9372 underflow here. Use gamma_positive instead of exp (lgamma) for
9374 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9375 (gamma_coeff): New variable.
9376 (NCOEFF): New macro.
9377 (gammal_positive): New function.
9378 (__ieee754_gammal_r): Handle positive infinity, overflow and
9379 underflow here. Handle NaN the same as positive infinity. Remove
9380 check x < 0xffffffff for negative integers. Use gamma_positive
9381 instead of exp (lgamma) for other arguments.
9382 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9383 (gamma_coeff): New variable.
9384 (NCOEFF): New macro.
9385 (gammal_positive): New function.
9386 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9387 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9388 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9392 * sysdeps/generic/math_private.h (__gamma_productf): New
9394 (__gamma_product): Likewise.
9395 (__gamma_productl): Likewise.
9396 * math/Makefile (libm-calls): Add gamma_product.
9397 * math/libm-test.inc (tgamma_test): Add more tests.
9398 * sysdeps/i386/fpu/libm-test-ulps: Update.
9399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9401 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9403 * benchtests/bench-skeleton.c (main): Preheat CPU.
9405 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9407 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9409 2013-05-07 Roland McGrath <roland@hack.frob.com>
9411 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9412 and _dl_skip_args_internal.
9414 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9416 * manual/message.texi (Message Translation): Talk about users.
9417 Message to key mapping impacts design.
9419 2013-05-06 Roland McGrath <roland@hack.frob.com>
9421 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9423 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9425 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9426 * sysdeps/wordsize-64/glob64.c: ... here.
9428 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9429 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9432 * debug/getlogin_r_chk.c: Moved to ...
9433 * login/getlogin_r_chk.c: ... here.
9434 * debug/Makefile (routines): Move getlogin_r_chk to ...
9435 * login/Makefile (routines): ... here.
9436 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9437 * login/Versions (libc: GLIBC_2.4): ... here.
9439 * io/poll.c (__poll): Renamed from poll.
9440 Add libc_hidden_def.
9441 (poll): Define as weak alias.
9443 * debug/ptsname_r_chk.c: Moved to ...
9444 * login/ptsname_r_chk.c: ... here.
9445 * debug/Makefile (routines): Move ptsname_r_chk to ...
9446 * login/Makefile (routines): ... here.
9447 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9448 * login/Versions (libc: GLIBC_2.4): ... here.
9450 * posix/getlogin.c: Moved to ...
9451 * login/getlogin.c: ... here.
9452 * posix/getlogin_r.c: Moved to ...
9453 * login/getlogin_r.c: ... here.
9454 * posix/getlogin_r.c: Moved to ...
9455 * login/getlogin_r.c: ... here.
9456 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9457 * login/Makefile (routines): ... here.
9458 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9459 * login/Versions (libc: GLIBC_2.0): ... here.
9461 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9462 (setrlimit): Define as weak alias.
9464 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9465 Call __ names for open, ftruncate, and close.
9466 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9467 (truncate): Define as weak alias.
9469 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9471 * math/gen-libm-test.pl (parse_args): Initialize x before each
9472 test of frexp, modf and remquo.
9474 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9477 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9481 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9483 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9485 2013-05-06 Roland McGrath <roland@hack.frob.com>
9487 * elf/dl-writev.h: New file.
9488 * elf/dl-misc.c: Include it.
9489 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9490 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9492 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9494 * math/libm-test.inc (noXFails): Remove variable.
9495 (noXPasses): Likewise.
9496 (BUILD_COMPLEX_INT): Remove macro.
9497 (print_screen): Remove xfail argument.
9498 (print_screen_max_error): Likewise.
9499 (update_stats): Likewise.
9500 (print_max_error): Likewise. Update calls to other affected
9502 (print_complex_max_error): Likewise.
9503 (test_single_exception): Update calls to print_screen.
9504 (test_single_errno): Likewise.
9505 (check_float_internal): Remove xfail argument. Update calls to
9506 other affected functions.
9507 (check_float): Likewise.
9508 (check_complex): Likewise.
9509 (check_int): Likewise.
9510 (check_long): Likewise.
9511 (check_bool): Likewise.
9512 (check_longlong): Likewise.
9513 (main): Don't print noXFails and noXPasses.
9514 * math/gen-libm-test.pl (top level): Don't mention expected
9515 failure handling in comment.
9516 (new_test): Don't handle expected failures.
9517 (parse_args): Don't mention expected failure handling in comment.
9518 (generate_testfile): Don't handle expected failures.
9519 (parse_ulps): Likewise.
9520 (print_ulps_file): Likewise.
9521 (get_failure): Remove function.
9522 (output_test): Don't handle expected failures.
9523 * make/README.libm-test: Don't mention expected failure handling.
9525 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9526 (minus_zero): Likewise.
9527 (plus_infty): Likewise.
9528 (minus_infty): Likewise.
9529 (qnan_value): Likewise.
9530 (max_value): Likewise.
9531 (min_value): Likewise.
9532 (min_subnorm_value): Likewise.
9533 (initialize): Do not initialize those variables dynamically.
9535 2013-05-03 Roland McGrath <roland@hack.frob.com>
9537 * io/open.c (__open_2): Moved to ...
9538 * io/open_2.c: ... this new file.
9539 * io/open64.c (__open64_2): Moved to ...
9540 * io/open64_2.c: ... this new file.
9541 * io/openat.c (__openat_2): Moved to ...
9542 * io/openat_2.c: ... this new file.
9543 * io/openat64.c (__openat64_2): Moved to ...
9544 * io/openat64_2.c: ... this new file.
9545 * io/Makefile (routines): Add them.
9546 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9547 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9548 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9549 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9550 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9551 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9552 (__openat64): Add hidden_ver.
9553 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9554 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9556 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9557 Separately conditionalize setting of GLRO(dl_sysinfo) so
9558 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9559 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9561 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9563 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9564 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9566 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9567 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9568 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9569 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9570 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9572 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9574 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9577 * math/libm-test.inc (hypot_test): Do not use
9578 IGNORE_ZERO_INF_SIGN.
9580 2013-05-03 Andreas Jaeger <aj@suse.de>
9582 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9584 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9585 (PF_MAX): Adjust for VSOCK change.
9587 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9591 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9594 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9595 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9596 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9598 2013-05-02 David S. Miller <davem@davemloft.net>
9600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9602 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9604 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9606 2013-05-01 Roland McGrath <roland@hack.frob.com>
9608 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9610 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9613 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9614 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9615 Use __attribute__ ((__gnu_inline__)).
9616 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9617 Don't use __attribute__ ((__gnu_inline__)).
9619 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9622 * math/s_catan.c (__catan): Handle small real or imaginary part of
9623 input specially to avoid spurious underflow.
9624 * math/s_catanf.c (__catanf): Likewise.
9625 * math/s_catanh.c (__catanh): Likewise.
9626 * math/s_catanhf.c (__catanhf): Likewise.
9627 * math/s_catanhl.c (__catanhl): Likewise.
9628 * math/s_catanl.c (__catanl): Likewise.
9629 * math/libm-test.inc (catan_test): Add more tests.
9630 (catanh_test): Likewise.
9631 * sysdeps/i386/fpu/libm-test-ulps: Update.
9632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9634 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9638 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9641 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9642 accurately for denominator in atan2.
9643 * math/s_catanf.c (__catanf): Likewise.
9644 * math/s_catanh.c (__catanh): Likewise.
9645 * math/s_catanhf.c (__catanhf): Likewise.
9646 * math/s_catanhl.c (__catanhl): Likewise.
9647 * math/s_catanl.c (__catanl): Likewise.
9648 * math/libm-test.inc (catan_test): Add more tests.
9649 (catanh_test): Likewise.
9650 * sysdeps/i386/fpu/libm-test-ulps: Update.
9651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9653 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9655 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9657 * benchtests/Makefile (bench): Remove slow benchmarks.
9658 * benchtests/atan-inputs: Add slow benchmark inputs.
9659 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9660 (BENCH_FUNC): Accept variant offset.
9662 * benchtests/bench-skeleton.c (main): Run benchmark for each
9664 * benchtests/cos-inputs: Add slow benchmark inputs.
9665 * benchtests/exp-inputs: Likewise.
9666 * benchtests/pow-inputs: Likewise.
9667 * benchtests/sin-inputs: Likewise.
9668 * benchtests/slowatan-inputs: Remove.
9669 * benchtests/slowatan.c: Remove.
9670 * benchtests/slowcos-inputs: Remove.
9671 * benchtests/slowcos.c: Remove.
9672 * benchtests/slowexp-inputs: Remove.
9673 * benchtests/slowexp.c: Remove.
9674 * benchtests/slowpow-inputs: Remove.
9675 * benchtests/slowpow.c: Remove.
9676 * benchtests/slowsin-inputs: Remove.
9677 * benchtests/slowsin.c: Remove.
9678 * benchtests/slowtan-inputs: Remove.
9679 * benchtests/slowtan.c: Remove.
9680 * benchtests/tan-inputs: Add slow benchmark inputs.
9681 * scripts/bench.pl: Parse comments and directives.
9683 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9685 ($(objpfx)bench-%.c): Remove *-ITER.
9686 * benchtests/bench-modf.c: Remove definition of ITER.
9687 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9688 (main): Loop for DURATION seconds instead of fixed number of
9690 * scripts/bench.pl: Don't expect iterations in parameters.
9692 2013-04-29 Roland McGrath <roland@hack.frob.com>
9694 * io/fchdir.c (__fchdir): Renamed from fchdir.
9695 (fchdir): Define as weak alias.
9697 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9699 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9700 (ERRNO_EDOM): Likewise.
9701 (ERRNO_ERANGE): Likewise.
9702 (noErrnoTests): New variable.
9703 (init_max_error): Set errno to 0.
9704 (test_single_errno): New function.
9705 (test_errno): Likewise.
9706 (check_float_internal): Call test_errno. Set errno to 0.
9707 (check_complex): Refer to errno tests in comment.
9708 (check_int): Call test_errno. Set errno to 0.
9709 (check_long): Likewise.
9710 (check_bool): Likewise.
9711 (check_longlong): Likewise.
9712 (cos_test): Use ERRNO_* flags for errno tests instead of
9714 (expm1_test): Likewise.
9715 (fmod_test): Likewise.
9716 (ilogb_test): Likewise.
9717 (lgamma_test): Likewise.
9718 (pow_test): Likewise.
9719 (remainder_test): Likewise.
9720 (sin_test): Likewise.
9721 (tan_test): Likewise.
9722 (yn_test): Likewise.
9723 (initialize): Set errno to 0.
9724 (main): Print number of errno tests.
9725 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9727 2013-04-29 Andreas Jaeger <aj@suse.de>
9730 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9734 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9735 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9739 * stdlib/random.c (__initstate): Return NULL if
9743 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9744 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9747 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9751 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9753 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9754 of individual tests.
9755 (casin_test): Likewise.
9756 (casinh_test): Likewise.
9758 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9761 * math/s_catan.c (__catan): Handle arguments with large real or
9762 imaginary part separately without squaring.
9763 * math/s_catanf.c (__catanf): Likewise.
9764 * math/s_catanh.c (__catanh): Likewise.
9765 * math/s_catanhf.c (__catanhf): Likewise.
9766 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9768 (__catanhl): Handle arguments with large real or imaginary part
9769 separately without squaring.
9770 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9772 (__catanl): Handle arguments with large real or imaginary part
9773 separately without squaring.
9774 * math/libm-test.inc (catan_test): Add more tests.
9775 (catanh_test): Likewise.
9776 * sysdeps/i386/fpu/libm-test-ulps: Update.
9777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9779 2013-04-27 Andreas Jaeger <aj@suse.de>
9782 * stdlib/stdlib.h: Update guards for qecvt.
9783 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9786 2013-04-27 Allan McRae <allan@archlinux.org>
9788 * sysdeps/i386/fpu/libm-test-ulps: Update.
9790 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9793 * math/s_catan.c: Include <float.h>.
9794 (__catan): Ensure underflow exception occurs for underflowed
9796 * math/s_catanf.c: Include <float.h>.
9797 (__catanf): Ensure underflow exception occurs for underflowed
9799 * math/s_catanh.c: Include <float.h>.
9800 (__catanh): Ensure underflow exception occurs for underflowed
9802 * math/s_catanhf.c: Include <float.h>.
9803 (__catanhf): Ensure underflow exception occurs for underflowed
9805 * math/s_catanhl.c: Include <float.h>.
9806 (__catanhl): Ensure underflow exception occurs for underflowed
9808 * math/s_catanl.c: Include <float.h>.
9809 (__catanl): Ensure underflow exception occurs for underflowed
9811 * math/libm-test.inc (catan_test): Add more tests.
9812 (catanh_test): Likewise.
9815 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9817 * math/s_ccoshf.c (__ccoshf): Likewise.
9818 * math/s_ccoshl.c (__ccoshl): Likewise.
9819 * math/s_csin.c (__csin): Likewise.
9820 * math/s_csinf.c (__csinf): Likewise.
9821 * math/s_csinh.c (__csinh): Likewise.
9822 * math/s_csinhf.c (__csinhf): Likewise.
9823 * math/s_csinhl.c (__csinhl): Likewise.
9824 * math/s_csinl.c (__csinl): Likewise.
9825 * math/libm-test.inc (ccos_test): Add more tests.
9826 (ccosh_test): Likewise.
9827 (csin_test): Likewise.
9828 (csinh_test): Likewise.
9830 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9832 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9833 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9834 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9835 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9836 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9837 powerpc/power5+/fpu folders.
9838 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9841 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9845 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9847 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9848 additions to variable.
9849 [$(config-machine) = x86_64] (modules-names): Likewise.
9850 ($(objpfx)tst-audit3): Remove dependency.
9851 ($(objpfx)tst-audit3.out): Likewise.
9852 ($(objpfx)tst-audit4): Likewise.
9853 ($(objpfx)tst-audit4.out): Likewise.
9854 ($(objpfx)tst-audit5): Likewise.
9855 ($(objpfx)tst-audit5.out): Likewise.
9856 ($(objpfx)tst-audit6): Likewise.
9857 ($(objpfx)tst-audit6.out): Likewise.
9858 ($(objpfx)tst-audit7): Likewise.
9859 ($(objpfx)tst-audit7.out): Likewise.
9860 (tst-audit3-ENV): Remove variable.
9861 (tst-audit4-ENV): Likewise.
9862 (tst-audit5-ENV): Likewise.
9863 (tst-audit6-ENV): Likewise.
9864 (tst-audit7-ENV): Likewise.
9865 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9866 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9867 addition to variable.
9868 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9869 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9870 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9871 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9872 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9873 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9874 tst-audit3, tst-audit4 and tst-audit5.
9875 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9876 tst-audit6 and tst-audit7.
9877 [$(subdir) = elf] (modules-names): Add audit modules for those
9879 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9880 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9881 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9882 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9883 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9884 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9885 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9886 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9887 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9888 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9889 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9890 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9891 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9892 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9893 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9894 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9896 [$(subdir) = elf && $(config-cflags-avx) = yes]
9897 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9898 [$(subdir) = elf && $(config-cflags-avx) = yes]
9899 (CFLAGS-tst-auditmod4a.c): Likewise.
9900 [$(subdir) = elf && $(config-cflags-avx) = yes]
9901 (CFLAGS-tst-auditmod4b.c): Likewise.
9902 [$(subdir) = elf && $(config-cflags-avx) = yes]
9903 (CFLAGS-tst-auditmod6b.c): Likewise.
9904 [$(subdir) = elf && $(config-cflags-avx) = yes]
9905 (CFLAGS-tst-auditmod6c.c): Likewise.
9906 [$(subdir) = elf && $(config-cflags-avx) = yes]
9907 (CFLAGS-tst-auditmod7b.c): Likewise.
9908 * elf/tst-audit3.c: Move to ...
9909 * sysdeps/x86_64/tst-audit3.c: ... here.
9910 * elf/tst-audit4.c: Move to ...
9911 * sysdeps/x86_64/tst-audit4.c: ... here.
9912 * elf/tst-audit5.c: Move to ...
9913 * sysdeps/x86_64/tst-audit5.c: ... here.
9914 * elf/tst-audit6.c: Move to ...
9915 * sysdeps/x86_64/tst-audit6.c: ... here.
9916 * elf/tst-audit7.c: Move to ...
9917 * sysdeps/x86_64/tst-audit7.c: ... here.
9918 * elf/tst-auditmod3a.c: Move to ...
9919 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9920 * elf/tst-auditmod3b.c: Move to ...
9921 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9922 * elf/tst-auditmod4a.c: Move to ...
9923 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9924 * elf/tst-auditmod4b.c: Move to ...
9925 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9926 * elf/tst-auditmod5a.c: Move to ...
9927 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9928 * elf/tst-auditmod5b.c: Move to ...
9929 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9930 * elf/tst-auditmod6a.c: Move to ...
9931 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9932 * elf/tst-auditmod6b.c: Move to ...
9933 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9934 * elf/tst-auditmod6c.c: Move to ...
9935 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9936 * elf/tst-auditmod7a.c: Move to ...
9937 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9938 * elf/tst-auditmod7b.c: Move to ...
9939 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9941 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9944 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9945 define unconditionally.
9946 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9947 define unconditionally.
9948 (INT8_C, INT16_C, etc.): Likewise.
9950 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9952 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9953 __ehdr_start with hidden visibility.
9955 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9957 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9959 * math/libm-test.inc (cos_test): Use accurate hex constants.
9960 (sincost_test): Likewise.
9962 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9964 * math/libm-test.inc (catan_test): Add more tests.
9965 (catanh_test): Likewise.
9967 * math/s_catanf.c (__catanf): Use suffixed floating-point
9969 * math/s_catanhf.c (__catanhf): Likewise.
9970 * math/s_catanhl.c (__catanhl): Likewise.
9971 * math/s_catanl.c (__catanl): Likewise.
9974 * math/s_catan.c (__catan): Calculate imaginary part of result
9975 with log1p not log unless computing log of number close to 0.
9976 * math/s_catanf.c (__catanf): Likewise.
9977 * math/s_catanl.c (__catanl): Likewise.
9978 * math/s_catanh.c (__catanh): Calculate real part of result with
9979 log1p not log unless computing log of number close to 0.
9980 * math/s_catanhf.c (__catanhf): Likewise.
9981 * math/s_catanhl.c (__catanhl): Likewise.
9982 * math/libm-test.inc (catan_test): Add more tests.
9983 (catanh_test): Likewise.
9984 * sysdeps/i386/fpu/libm-test-ulps: Update.
9985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9987 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9989 * benchtests/Makefile: Mention files in which fast and slow
9990 paths of math functions are implemented.
9992 2013-04-23 Roland McGrath <roland@hack.frob.com>
9994 * sysdeps/posix/timespec_get.c: New file.
9996 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9998 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10000 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10002 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10003 powerpc/power5/fpu folders.
10004 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10005 * benchtests/Makefile: Add modf testcase.
10006 * benchtests/bench-modf.c: New file: Benchmark test for mo
10008 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10011 * time/Makefile (tests): Add tst-strptime-whitespace.
10012 * time/strptime_l.c (get_number): Use ISSPACE.
10013 (__strptime_internal): Likewise.
10014 * time/tst-strptime-whitespace.c: New test case.
10016 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10018 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10020 (_nss_files_init): Set it here.
10022 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10024 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10025 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10028 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10030 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10032 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10037 2013-04-21 David S. Miller <davem@davemloft.net>
10039 * po/ru.po: Update Russion translation from translation project.
10041 2013-04-17 Adam Conrad <adconrad@0c3.net>
10043 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10046 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10048 * configure.in: Remove i386 configure warning. Remove i386 case.
10049 * configure: Regenerate.
10050 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10051 Add example to error message.
10052 * sysdeps/i386/configure: Regenerate.
10054 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10056 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10058 * benchtests/cos-inputs: New file.
10059 * benchtests/slowcos-inputs: New file.
10060 * benchtests/slowcos.c: New file.
10061 * benchtests/slowtan-inputs: New file.
10062 * benchtests/slowtan.c: New file.
10063 * benchtests/tan-inputs: New file.
10065 2013-04-16 Roland McGrath <roland@hack.frob.com>
10067 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10070 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10072 * benchtests/Makefile: Include cppflags-iterator.mk to add
10073 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10075 * Makefile.in (bench-clean): New target.
10076 * benchtests/Makefile (bench-clean): Likewise.
10078 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10080 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10082 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10084 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10086 2013-04-15 Andreas Schwab <schwab@suse.de>
10088 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10090 * nscd/pwdcache.c (cache_addpw): Likewise.
10091 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10094 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10096 * benchtests/Makefile (bench): Write all output to
10097 bench-out.tmp together.
10099 2013-04-15 Andreas Schwab <schwab@suse.de>
10101 * nscd/nscd.c (main): Don't fork again after closing files.
10103 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10105 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10107 * benchtests/Rules (bench-deps): Collect dependencies into a
10108 single variable. Add Makefile to dependencies.
10109 ($(objpfx)bench-%.c): Depend on bench-deps.
10111 2013-04-12 Roland McGrath <roland@hack.frob.com>
10112 Xavier Roche <roche+kml2@exalead.com>
10115 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10116 just that it's a file descriptor.
10117 * manual/llio.texi (Synchronizing AIO Operations): Update description
10118 for EBADF error from aio_fsync.
10120 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10122 * Rules (bench): Move target definition...
10123 * benchtests/Makefile: ... here.
10125 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10127 * math/libm-test.inc (cos_test): Fix PI/2 test.
10128 (sincos_test): Likewise.
10129 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10130 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10132 2013-04-11 Andreas Schwab <schwab@suse.de>
10135 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10136 accept exponent character only when digits were seen.
10137 * stdio-common/Makefile (tests): Add bug26.
10138 * stdio-common/bug26.c: New file.
10141 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10144 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10146 * Makeconfig (rtld-prefix): Define built linker prefix.
10147 * Rules (run-bench): Use it.
10148 * math/Makefile (run-regen-ulps): Likewise.
10150 * Rules (bench): Remove eval.
10152 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10153 Roland McGrath <roland@hack.frob.com>
10154 Ondrej Bilka <neleai@seznam.cz>
10157 * time/getdate.c: Include ctype.h and alloca.h.
10158 (__getdate_r): Trim leading and trailing spaces of input.
10159 * time/tst-getdate.c (tests): Add tests with leading and
10162 2013-04-08 Roland McGrath <roland@hack.frob.com>
10165 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10166 when computing value.
10168 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10170 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10171 Use testrun.sh to run libm tests.
10174 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10176 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10179 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10181 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10183 * Makefile.in (regen-ulps): New target.
10184 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10185 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10186 [ifneq (no,$(PERL)] (regen-ulps): New target.
10187 [ifeq (no,$(PERL)] (regen-ulps): New target.
10188 * math/libm-test.inc (ulps_file_name): Define.
10189 (output_dir): New variable.
10190 (options): Add "output-dir" option.
10191 (parse_opt): Handle 'o' case.
10192 (main): If output_dir is non-NULL use it as a prefix
10194 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10196 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10198 [BZ #10060, #10062]
10199 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10200 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10201 fail configure if __sync_val_compare_and_swap is not inlined.
10202 * sysdeps/i386/configure: Regenerate.
10203 * configure.in: Build for i686 when configured for i386.
10204 * configure: Regenerate.
10205 * README: Remove i386 reference.
10207 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10209 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10212 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10214 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10215 (lmsnanval): New variables.
10216 (F): Add conversion tests.
10217 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10218 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10220 * stdio-common/tstdiomisc.c (F): Properly collect individual
10223 [BZ #14686, #15336]
10224 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10225 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10226 Instead, use input NaN values or generate a qNaN by arithmetic
10227 operation. Also fix bugs to comply with the standard.
10228 * math/libm-test.inc (remainder_test): Add more tests.
10230 [BZ #15335, #15342]
10231 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10232 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10233 input NaN values or generate a qNaN by arithmetic operation.
10235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10238 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10241 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10244 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10245 underflowed result.
10246 * math/s_cexpf.c (__cexpf): Likewise.
10247 * math/s_cexpl.c (__cexpl): Likewise.
10248 * math/libm-test.inc (cexp_test): Add more tests.
10250 2013-04-03 Andreas Schwab <schwab@suse.de>
10253 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10254 order arrays from heap if bigger than alloca cutoff.
10256 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10258 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10259 (SNAN_TESTS_double): Refer to GCC PR56831.
10260 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10263 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10265 * Rules (bench): Move bench.out after the run is complete.
10267 * Rules (bench): Echo currently running benchmark.
10269 * benchtests/Makefile (bench): Add atan and slowatan.
10270 * benchtests/atan-inputs: New file.
10271 * benchtests/slowatan-inputs: New file.
10272 * benchtests/slowatan.c: New file.
10274 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10275 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10279 * sysdeps/unix/sysv/linux/kernel-features.h
10280 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10281 __ASSUME_XFS_RESTRICTED_CHOWN.
10282 * sysdeps/unix/sysv/linux/pathconf.c
10283 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10284 Save and restore errno.
10286 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10289 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10290 arguments using __kernel_casinh.
10291 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10292 arguments using __kernel_casinhf.
10293 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10294 arguments using __kernel_casinhl.
10295 * math/libm-test.inc (cacosh_test): Add more tests.
10296 * sysdeps/i386/fpu/libm-test-ulps: Update.
10297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10299 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10301 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10304 * bench/Makefile (bench): Add sin and slowsin.
10305 * benchtests/sin-inputs: New file.
10306 * benchtests/slowsin-inputs: New file.
10307 * benchtests/slowsin.c: New file.
10309 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10310 (bench): Add slowexp and slowpow.
10311 (exp-ITER): Increase iterations.
10312 (pow-ITER): Likewise.
10313 * benchtests/exp-inputs: Change input.
10314 * benchtests/pow-inputs: Likewise.
10315 * benchtests/slowexp-inputs: New file.
10316 * benchtests/slowexp.c: New file.
10317 * benchtests/slowpow-inputs: New file.
10318 * benchtests/slowpow.c: New file.
10320 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10322 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10324 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10325 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10326 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10327 * benchtests/Makefile: Add rint benchtest.
10328 * benchtests/rint-inputs: Input for rint benchtest.
10330 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10332 * Versions.def (libm): Add GLIBC_2.18.
10333 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10334 hidden libm prototypes.
10335 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10336 * math/Makefile (libm-calls): Add s_issignaling.
10337 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10338 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10339 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10341 * math/math.h [__USE_GNU] (issignaling): New macro.
10342 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10343 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10345 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10348 * manual/arith.texi (issignaling): New section.
10349 * manual/libm-err-tab.pl (@all_functions): Update comment.
10350 * math/gen-libm-test.pl (parse_args): Apply special handling for
10352 * math/libm-test.inc (print_float, issignaling_test): New
10354 (check_float_internal): Add issignaling checks.
10355 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10356 default definition.
10357 * sysdeps/powerpc/math-tests.h: New file.
10358 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10360 * math/test-snan.c (TEST_FUNC): Likewise.
10362 2013-03-30 David S. Miller <davem@davemloft.net>
10364 * po/de.po: Update from translation team.
10366 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10369 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10370 imaginary part less than 1.0 and real part less than 0.5
10372 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10373 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10374 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10375 (cacos_test): Add more tests.
10376 (casin_test): Likewise.
10377 (casinh_test): Likewise.
10378 * sysdeps/i386/fpu/libm-test-ulps: Update.
10379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10381 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10383 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10384 ONE with its value.
10386 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10387 (__pow_mp): Replace ONE and MONE with their values.
10388 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10389 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10390 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10391 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10392 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10393 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10395 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10397 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10398 (__pow_mp): Replace ZERO and MZERO with their values.
10399 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10400 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10401 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10403 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10404 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10407 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10409 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10411 2013-03-28 Roland McGrath <roland@hack.frob.com>
10413 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10414 Declare with __attribute__ ((weak)).
10415 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10416 Call __call_tls_dtors only if it's not NULL.
10418 2013-03-28 Roland McGrath <roland@hack.frob.com>
10420 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10421 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10422 magic __ehdr_start linker symbol if it's defined.
10423 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10424 them up here if it was already done.
10426 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10427 (_dl_aux_init): Use const in cast when setting it.
10428 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10429 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10430 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10432 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10434 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10435 * csu/libc-tls.c: Nor here.
10436 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10438 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10439 (__libc_message): Never call vsyslog.
10441 2013-03-28 Alan Modra <amodra@gmail.com>
10443 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10445 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10448 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10451 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10455 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10458 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10459 Don't add gid passed as argument.
10461 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10463 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10466 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10467 imaginary part between 1.0 and 1.5 and real part less than 0.5
10469 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10470 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10471 * math/libm-test.inc (cacos_test): Add more tests.
10472 (casin_test): Likewise.
10473 (casinh_test): Likewise.
10474 * sysdeps/i386/fpu/libm-test-ulps: Update.
10475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10477 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10479 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10482 (denorm): Likewise.
10483 (__dbl_mp): Likewise.
10484 (add_magnitudes): Likewise.
10485 (sub_magnitudes): Likewise.
10493 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10495 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10496 (__dubcos): Likewise.
10497 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10498 (__ieee754_acos): Likewise.
10499 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10500 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10501 (__exp1): Likewise.
10502 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10503 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10505 (my_log2): Likewise.
10506 (checkint): Likewise.
10507 * sysdeps/ieee754/dbl-64/e_remainder.c
10508 (__ieee754_remainder): Likewise.
10509 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10511 (bsloww): Likewise.
10512 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10514 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10515 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10516 MANTISSA_STORE_T to store computations on mantissa. Use
10517 macros for rounding and division.
10518 (denorm): Likewise.
10519 (__dbl_mp): Likewise.
10520 (add_magnitudes): Likewise.
10521 (sub_magnitudes): Likewise.
10524 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10525 powers of two in terms of TWOPOW macro.
10526 (mp_no): Make type of mantissa as MANTISSA_T.
10527 [!RADIXI]: Define RADIXI.
10528 [!TWO52]: Define TWO52.
10529 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10531 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10533 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10534 llroundl symbol when building for PPC32.
10536 2013-03-24 Mark H Weaver <mhw@netris.org>
10538 * manual/arith.texi (Normalization Functions): Fix prototypes for
10539 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10541 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10544 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10545 high value to check if expl overflow.
10546 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10547 to check for underflow and overflow.
10548 * math/libm-test.inc: Add exp test.
10550 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10553 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10556 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10558 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10561 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10563 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10564 wrap blocks consisting of several statements.
10566 * sysdeps/generic/math-tests.h: New file.
10567 * sysdeps/i386/fpu/math-tests.h: Likewise.
10568 * math/test-snan.c: Include it.
10569 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10571 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10574 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10575 (__ieee754_j0l): Do not improve calculations using cos of twice
10576 input for inputs above LDBL_MAX / 2.0L.
10577 (__ieee754_y0l): Likewise.
10578 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10579 (__ieee754_j1l): Do not improve calculations using cos of twice
10580 input for inputs above LDBL_MAX / 2.0L.
10581 (__ieee754_y1l): Likewise.
10582 * math/libm-test.inc (j0_test): Add another test.
10583 (j1_test): Likewise.
10584 (y0_test): Likewise.
10585 (y1_test): Likewise.
10586 * sysdeps/i386/fpu/libm-test-ulps: Update.
10588 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10590 * Rules ($(objpfx)bench-%.c): Include code from a C source
10593 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10596 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10597 imaginary part 1.0 and real part less than 0.5 specially.
10598 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10599 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10600 * math/libm-test.inc (cacos_test): Add more tests.
10601 (casin_test): Likewise.
10602 (casinh_test): Likewise.
10603 * sysdeps/i386/fpu/libm-test-ulps: Update.
10604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10606 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10608 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10609 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10611 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10613 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10614 * config.make.in (config-cflags-sse4): Remove variable.
10615 (config-cflags-avx): Likewise.
10616 (config-cflags-sse2avx): Likewise.
10617 (config-cflags-novzeroupper): Likewise.
10618 (config-asflags-i686): Likewise.
10619 (have-mfma4): Likewise.
10620 (have-as-vis3): Likewise.
10622 * configure.in (MIG): Do not AC_SUBST.
10623 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10624 (libc_cv_cc_sse4): Do not AC_SUBST.
10625 (libc_cv_cc_avx): Likewise.
10626 (libc_cv_cc_sse2avx): Likewise.
10627 (libc_cv_cc_novzeroupper): Likewise.
10628 (libc_cv_cc_fma4): Likewise.
10629 (libc_cv_as_i686): Likewise.
10630 (libc_cv_sparc_as_vis3): Likewise.
10631 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10633 (config-asflags-i686): Likewise.
10634 (config-cflags-avx): Likewise.
10635 (config-cflags-sse2avx): Likewise.
10636 (have-mfma4): Likewise.
10637 (config-cflags-novzeroupper): Likewise.
10638 * sysdeps/mach/configure.in (MIG): Likewise.
10639 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10640 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10642 (config-cflags-avx): Likewise.
10643 (config-cflags-sse2avx): Likewise.
10644 (have-mfma4): Likewise.
10645 (config-cflags-novzeroupper): Likewise.
10646 * configure: Regenerated.
10647 * sysdeps/i386/configure: Likewise.
10648 * sysdeps/mach/configure: Likewise.
10649 * sysdeps/sparc/configure: Likewise.
10650 * sysdeps/x86_64/configure: Likewise.
10652 2013-03-20 Roland McGrath <roland@hack.frob.com>
10655 * locale/programs/localedef.c (options): Put N_ translation marker
10656 on argument names, not just descriptions.
10658 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10660 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10662 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10665 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10667 2013-03-19 Roland McGrath <roland@hack.frob.com>
10669 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10670 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10671 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10672 [!BEFORE_ABORT] (before_abort): New function.
10673 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10674 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10675 (writev_for_fatal): New function.
10676 (WRITEV_FOR_FATAL): New macro; call that.
10677 (backtrace_and_maps): New function.
10678 (BEFORE_ABORT): New macro; call that.
10679 (struct str_list): Type removed.
10680 (__libc_message, __libc_fatal): Functions removed.
10681 Include <sysdeps/posix/libc_fatal.c> instead.
10683 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10685 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10687 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10690 2013-03-19 Andreas Schwab <schwab@suse.de>
10692 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10693 * sysdeps/gnu/configure: Regenerate.
10695 * configure.in: Substitute libc_cv_rtlddir.
10696 * configure: Regenerate.
10697 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10698 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10699 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10700 * elf/Makefile (install-others, CFLAGS-interp.c)
10701 (ldso_install, common-ldd-rewrite): Likewise.
10702 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10703 $(inst_slibdir)/$(rtld-installed-name).
10704 * scripts/rellns-sh: Add -p option.
10705 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10708 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10710 * manual/nptl.texi: Renamed to ...
10711 * manual/threads.texi: ... this.
10712 * manual/Makefile (chapters): Update.
10714 2013-03-18 Roland McGrath <roland@hack.frob.com>
10717 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10718 on argument names, not just descriptions.
10719 * malloc/memusagestat.c (options): Likewise.
10720 * nss/getent.c (options): Likewise.
10722 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10725 * iconv/iconv_prog.c (options): Put N_ translation marker
10726 on argument names, not just descriptions.
10727 * iconv/iconvconfig.c (options): Likewise.
10729 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10731 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10732 implementation which is faster on all x86_64 architectures.
10733 Tested on AMD, Intel Nehalem, SNB, IVB.
10734 * sysdeps/x86_64/strnlen.S: Likewise.
10736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10737 Remove all multiarch strlen and strnlen versions.
10738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10739 Remove strlen and strnlen related parts.
10741 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10742 Inline strlen part.
10743 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10745 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10746 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10747 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10748 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10749 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10750 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10752 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10754 * manual/memory.texi (Malloc Tunable Parameters):
10755 Sort parameters alphabetically. Add comments for missing entries.
10757 2013-03-17 David S. Miller <davem@davemloft.net>
10759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10761 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10764 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10765 for arguments at most half maximum finite value.
10766 * math/libm-test.inc (j0_test): Add more tests.
10767 (j1_test): Likewise.
10768 (y0_test): Likewise.
10769 (y1_test): Likewise.
10770 * sysdeps/i386/fpu/libm-test-ulps: Update.
10771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10774 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10775 1 / x and functions P and Q for arguments above 0x1p256L.
10776 (__ieee754_y0l): Likewise.
10777 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10778 (__ieee754_y1l): Likewise.
10779 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10780 (j1_test): Likewise.
10781 (y0_test): Likewise.
10782 (y1_test): Likewise.
10784 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10786 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10789 2013-03-15 Roland McGrath <roland@hack.frob.com>
10791 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10792 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10793 zero since it's initialized to EXEC_PAGESIZE.
10795 * sysdeps/unix/sysv/linux/ldsodefs.h
10796 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10797 * sysdeps/generic/ldsodefs.h: ... here.
10799 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10801 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10803 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10805 * math/test-snan.c: Renamed from
10806 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10807 * math/Makefile (tests): Add test-snan.
10808 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10811 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10812 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10814 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10815 __builtin_nan family of functions.
10816 * math/libm-test.inc (initialize): Initialize qnan_value with
10817 __builtin_nan family of functions.
10818 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10820 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10822 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10823 storage class. Initialize qNaN_var and sNaN_var with
10824 __builtin_nan and __builtin_nans families of functions,
10827 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10828 (sqrt_test): Remove duplicate test with qNaN input.
10829 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10830 (round_test, signbit_test, significand_test): Note missing +/-Inf
10831 as well as qNaN tests.
10833 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10834 qNaN_var. Fix a few strings, too.
10835 * math/libm-test.inc (nan_value): Rename to qnan_value.
10836 * math/gen-libm-test.pl (%beautify): Adjust to that.
10837 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10838 * math/test-misc.c (main): Likewise.
10839 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10840 to __qnan_bytes, and __qnan_union, respectively.
10841 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10843 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10844 and lqnanval, respectively.
10845 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10846 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10847 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10848 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10850 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10851 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10854 * math/test-misc.c (main): Fix copy'n'pastos.
10855 * misc/tst-efgcvt.c (special): Likewise.
10857 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10858 Remove declarations.
10860 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10862 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10863 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10864 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10865 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10867 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10869 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10870 macro to return vdso values correctly in IFUNC implementations.
10871 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10872 Optimization by using IFUNC.
10874 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10875 Richard Henderson <rth@redhat.com>
10876 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10878 * Makefile.in (bench): New target.
10879 * NEWS: Mention the benchmark framework.
10880 * Rules (bench): Likewise.
10881 (binaries-bench): Generate binaries for functions to
10883 * benchtests/Makefile: New makefile for benchmark tests.
10884 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10886 * benchtests/exp-inputs: New input file for EXP function.
10887 * benchtests/pow-inputs: New input file for POW function.
10888 * scripts/bench.pl: New script to generate source files for
10889 benchmark programs.
10891 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10893 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10894 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10895 computations on mantissa. Use macros for rounding and
10897 (denorm): Likewise.
10898 (__dbl_mp): Likewise.
10899 (add_magnitudes): Likewise.
10900 (sub_magnitudes): Likewise.
10903 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10904 powers of two in terms of TWOPOW macro.
10905 (mp_no): Make type of mantissa as MANTISSA_T.
10906 [!RADIXI]: Define RADIXI.
10907 [!TWO52]: Define TWO52.
10908 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10910 * manual/nptl.texi (cindex): Modify threads to pthreads.
10912 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10914 * sysdeps/x86_64/preconfigure: Regenerated.
10916 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10919 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10921 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10922 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10924 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10925 * math/libm-test.inc (j0_test): Do not allow one spurious
10926 underflow exception.
10927 (y1_test): Likewise.
10929 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10931 * manual/Makefile (chapters): Add nptl.
10932 * manual/debug.texi (Debugging Support): Add link to Threads
10934 * manual/nptl.texi: New file.
10936 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10938 2013-03-14 Petr Baudis <pasky@ucw.cz>
10940 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10941 for non-NULL pointer before the memory validity test. Pointed
10942 out by Holger Brunck <holger.brunck@keymile.com>.
10944 2013-03-13 Andreas Schwab <schwab@suse.de>
10946 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10949 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10951 * timezone/zic.c: Update from tzcode 2013b.
10953 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10955 * manual/install.texi (Configuring and compiling):
10956 Mention i686 and i586.
10957 * INSTALL: Regenerate.
10959 2013-03-12 Roland McGrath <roland@hack.frob.com>
10961 * sysdeps/init_array/elf-init.c: New file.
10963 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10964 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10966 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10967 __gmon_start__ as global, but as static with a .preinit_array pointer.
10968 * sysdeps/init_array/gmon-start.c: New file. Use that.
10969 * sysdeps/init_array/crti.S: New file, empty except for comments.
10970 * sysdeps/init_array/crtn.S: Likewise.
10972 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10974 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10977 Remove Prefer_SSE_for_memop.
10978 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10979 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10980 HAS_PREFER_SSE_FOR_MEMOP.
10981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10983 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10984 Remove bzero, memset ifunc support.
10985 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10986 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10987 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10988 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10990 2013-03-11 Andreas Schwab <schwab@suse.de>
10993 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10996 (GLIBC_2.16): Remove pthread_atfork.
10998 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11000 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11001 (ptestcases.h): Likewise.
11003 2013-03-08 Roland McGrath <roland@hack.frob.com>
11005 * Makeconfig ($(common-objpfx)config.status): Depend on
11006 sysdeps/*/preconfigure{,.in} too.
11008 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11010 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11011 (__free_hook): Use void * instead of __malloc_ptr_t.
11012 (__malloc_hook): Likewise.
11013 (__realloc_hook): Likewise.
11014 (__memalign_hook): Likewise.
11015 (__after_morecore_hook): Likewise.
11016 * malloc/arena.c (save_malloc_hook): Likewise.
11017 (save_free_hook): Likewise.
11018 * malloc/hooks.c (malloc_hook_ini): Likewise.
11019 (realloc_hook_ini): Likewise.
11020 (memalign_hook_ini): Likewise.
11021 * malloc/malloc.c (malloc_hook_ini): Likewise.
11022 (realloc_hook_ini): Likewise.
11023 (memalign_hook_ini): Likewise.
11024 (__free_hook): Likewise.
11025 (__malloc_hook): Likewise.
11026 (__realloc_hook): Likewise.
11027 (__memalign_hook): Likewise.
11028 (__libc_malloc): Likewise.
11029 (__libc_free): Likewise.
11030 (__libc_realloc): Likewise.
11031 (__libc_memalign): Likewise.
11032 (__libc_valloc): Likewise.
11033 (__libc_pvalloc): Likewise.
11034 (__libc_calloc): Likewise.
11035 (__posix_memalign): Likewise.
11036 * malloc/morecore.c (__sbrk): Likewise.
11037 (__default_morecore): Likewise.
11039 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11041 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11042 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11043 __malloc_ptrdiff_t.
11045 * malloc/malloc.h (__malloc_size_t): Remove macro.
11046 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11048 (old_memalign_hook): Likewise.
11049 (old_realloc_hook): Likewise.
11050 (struct hdr): Likewise.
11052 (mallochook): Likewise.
11053 (memalignhook): Likewise.
11054 (reallochook): Likewise.
11055 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11056 (tr_old_realloc_hook): Likewise.
11057 (tr_old_memalign_hook): Likewise.
11058 (tr_mallochook): Likewise.
11059 (tr_reallochook): Likewise.
11060 (tr_memalignhook): Likewise.
11062 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11064 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11065 default_ldbl_pack and using as default implementation.
11066 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11068 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11069 redundant definition.
11070 (ldbl_insert_mantissa): Likewise.
11071 (ldbl_canonicalize): Likewise.
11072 (ldbl_nearbyint): Likewise.
11073 (ldbl_pack): Rename to ldbl_pack_ppc.
11074 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11075 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11076 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11078 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11081 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11082 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11083 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11085 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11086 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11087 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11089 2013-03-07 Andreas Jaeger <aj@suse.de>
11091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11094 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11096 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11097 Include mpa.h and declare __MPEXP.
11098 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11099 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11100 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11101 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11102 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11103 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11104 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11106 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11107 (__slowpow): Use long double EXPL and LOGL functions to
11109 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11110 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11111 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11112 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11113 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11114 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11117 intermediate variable to calculate exponent.
11119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11123 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11124 [!NO__SQR]: Define __sqr.
11125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11126 and NO__SQR. Remove all code except __mul and __sqr. Include
11127 sysdeps/ieee754/dbl-64/mpa.c.
11128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11131 * posix/Makefile (tests): Add tst-pathconf.
11132 * posix/tst-pathconf.c: New test case.
11133 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11135 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11137 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11139 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11141 2013-03-06 Andreas Jaeger <aj@suse.de>
11143 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11144 definition via __MAP_ANONYMOUS.
11146 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11147 it's not part of Linux headers.
11149 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11150 (MAP_HUGE_MASK): Define.
11152 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11154 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11155 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11157 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11158 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11160 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11161 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11163 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11165 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11166 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11167 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11168 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11169 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11170 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11172 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11176 Handle f2fs and efivarfs.
11178 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11181 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11182 (EFIVARFS_MAGIC): Add.
11183 (F2FS_LINK_MAX): Add.
11185 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11187 * stdio-common/vfprintf.c: Replace __builtin_expect with
11190 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11193 * sysdeps/generic/bp-sym.h: Remove file.
11194 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11195 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11196 <bp-sym.h> and <bp-asm.h>.
11197 (__longjmp): Don't use BP_SYM.
11198 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11200 (memcpy): Don't use BP_SYM.
11201 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11202 <bp-sym.h> and <bp-asm.h>.
11203 (memcpy): Don't use BP_SYM.
11204 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11206 (memcpy): Don't use BP_SYM.
11207 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11209 (memset): Don't use BP_SYM.
11210 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11211 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11212 (__bzero): Don't use BP_SYM.
11213 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11214 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11215 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11216 <bp-sym.h> and <bp-asm.h>.
11217 (memcmp): Don't use BP_SYM. Remove comment about bounded
11219 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11220 <bp-sym.h> and <bp-asm.h>.
11221 (memcpy): Don't use BP_SYM.
11222 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11223 <bp-sym.h> and <bp-asm.h>.
11224 (memset): Don't use BP_SYM.
11225 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11226 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11227 (__bzero): Don't use BP_SYM.
11228 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11229 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11230 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11231 <bp-sym.h> and <bp-asm.h>.
11232 (strncmp): Don't use BP_SYM. Remove comment about bounded
11234 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11235 <bp-sym.h> and <bp-asm.h>.
11236 (memcpy): Don't use BP_SYM.
11237 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11238 <bp-sym.h> and <bp-asm.h>.
11239 (memset): Don't use BP_SYM.
11240 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11241 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11242 (__bzero): Don't use BP_SYM.
11243 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11244 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11245 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11246 <bp-sym.h> and <bp-asm.h>.
11247 (__memchr): Don't use BP_SYM.
11248 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11249 <bp-sym.h> and <bp-asm.h>.
11250 (memcmp): Don't use BP_SYM. Remove comment about bounded
11252 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11253 <bp-sym.h> and <bp-asm.h>.
11254 (memcpy): Don't use BP_SYM.
11255 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11256 <bp-sym.h> and <bp-asm.h>.
11257 (__mempcpy): Don't use BP_SYM.
11258 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11259 <bp-sym.h> and <bp-asm.h>.
11260 (__memrchr): Don't use BP_SYM.
11261 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11262 <bp-sym.h> and <bp-asm.h>.
11263 (memset): Don't use BP_SYM.
11264 (__bzero): Likewise.
11265 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11266 <bp-sym.h> and <bp-asm.h>.
11267 (__rawmemchr): Don't use BP_SYM.
11268 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11269 <bp-sym.h> and <bp-asm.h>.
11270 (__STRCMP): Don't use BP_SYM.
11271 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11272 <bp-sym.h> and <bp-asm.h>.
11273 (strchr): Don't use BP_SYM.
11274 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11275 <bp-sym.h> and <bp-asm.h>.
11276 (__strchrnul): Don't use BP_SYM.
11277 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11278 <bp-sym.h> and <bp-asm.h>.
11279 (strlen): Don't use BP_SYM.
11280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11281 <bp-sym.h> and <bp-asm.h>.
11282 (strncmp): Don't use BP_SYM. Remove comment about bounded
11284 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11285 <bp-sym.h> and <bp-asm.h>.
11286 (__strnlen): Don't use BP_SYM.
11287 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11288 <bp-sym.h> and <bp-asm.h>.
11289 (__GI__setjmp): Don't use BP_SYM.
11290 (_setjmp): Likewise.
11291 (__sigsetjmp): Likewise.
11292 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11293 (L(start_addresses)): Don't use BP_SYM.
11294 (_start): Likewise.
11295 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11297 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11298 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11299 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11300 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11301 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11303 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11304 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11305 about bounded pointers.
11306 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11307 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11308 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11310 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11311 about bounded pointers. Remove GKM FIXME comments.
11312 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11313 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11315 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11316 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11317 Remove GKM FIXME comments.
11318 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11319 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11320 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11322 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11323 about bounded pointers. Remove GKM FIXME comment.
11324 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11326 (strncmp): Don't use BP_SYM. Remove comment about bounded
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11329 <bp-sym.h> and <bp-asm.h>.
11330 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11332 <bp-sym.h> and <bp-asm.h>.
11333 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11336 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11338 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11341 2013-03-05 David S. Miller <davem@davemloft.net>
11343 * po/es.po: Update from translation team.
11345 2013-03-05 Andreas Jaeger <aj@suse.de>
11347 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11348 <bits/mman-linux.h>.
11349 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11351 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11352 <bits/mman-linux.h> to end of file.
11353 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11355 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11356 <bits/mman-linux.h> to end of file.
11357 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11359 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11360 <bits/mman-linux.h> to end of file.
11362 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11363 (MCL_CURRENT, MCL_FUTURE): Define here.
11365 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11368 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11370 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11372 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11374 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11375 fourth parameter needed for rt_sigprocmask syscall.
11376 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11377 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11378 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11379 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11380 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11381 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11383 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11386 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11387 comment about bounded pointers.
11388 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11389 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11391 2013-03-04 Andreas Jaeger <aj@suse.de>
11393 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11394 common definitions.
11396 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11397 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11398 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11399 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11400 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11401 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11403 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11406 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11407 __ieee754_sqrl instead of __sqrl.
11409 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11411 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11412 * sysdeps/powerpc/fpu_control.h: ... here.
11413 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11414 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11415 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11416 * sysdeps/powerpc/bits/mathinline.h: ... here.
11418 2013-03-01 Roland McGrath <roland@hack.frob.com>
11420 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11421 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11422 to just [NEED_DL_SYSINFO_DSO].
11423 * elf/dl-support.c: Likewise.
11424 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11425 * elf/rtld.c (dl_main): Likewise.
11426 * elf/setup-vdso.h (setup_vdso): Likewise.
11427 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11428 * sysdeps/unix/sysv/linux/dl-sysdep.c
11429 (_dl_discover_osversion): Likewise.
11431 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11433 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11434 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11436 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11438 * NEWS: Mention libm performance improvements and non-x86 PI
11441 * csu/libc-start.c (__pthread_initialize_minimal): Change
11442 function arguments.
11443 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11445 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11448 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11449 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11450 <bp-sym.h> and <bp-asm.h>.
11451 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11452 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11454 (memcpy): Don't use BP_SYM.
11455 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11457 (__mpn_add_n): Don't use BP_SYM.
11458 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11459 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11461 (__mpn_addmul_1): Don't use BP_SYM.
11462 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11463 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11465 (_setjmp): Don't use BP_SYM.
11466 (__novmx_setjmp): Likewise.
11467 (__GI__setjmp): Likewise.
11468 (__vmx_setjmp): Likewise.
11469 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11471 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11472 (__bzero): Don't use BP_SYM.
11473 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11474 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11475 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11476 <bp-sym.h> and <bp-asm.h>.
11477 (memcpy): Don't use BP_SYM.
11478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11479 <bp-sym.h> and <bp-asm.h>.
11480 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11481 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11482 <bp-sym.h> and <bp-asm.h>.
11483 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11484 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11486 (__mpn_lshift): Don't use BP_SYM.
11487 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11488 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11490 (memset): Don't use BP_SYM.
11491 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11492 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11493 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11495 (__mpn_mul_1): Don't use BP_SYM.
11496 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11498 <bp-sym.h> and <bp-asm.h>.
11499 (memcmp): Don't use BP_SYM.
11500 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11501 <bp-sym.h> and <bp-asm.h>.
11502 (memcpy): Don't use BP_SYM.
11503 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11504 <bp-sym.h> and <bp-asm.h>.
11505 (memset): Don't use BP_SYM.
11506 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11507 <bp-sym.h> and <bp-asm.h>.
11508 (strncmp): Don't use BP_SYM.
11509 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11510 <bp-sym.h> and <bp-asm.h>.
11511 (memcpy): Don't use BP_SYM.
11512 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11513 <bp-sym.h> and <bp-asm.h>.
11514 (memset): Don't use BP_SYM.
11515 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11516 <bp-sym.h> and <bp-asm.h>.
11517 (__memchr): Don't use BP_SYM.
11518 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11519 <bp-sym.h> and <bp-asm.h>.
11520 (memcmp): Don't use BP_SYM.
11521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11522 <bp-sym.h> and <bp-asm.h>.
11523 (memcpy): Don't use BP_SYM.
11524 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11525 <bp-sym.h> and <bp-asm.h>.
11526 (__mempcpy): Don't use BP_SYM.
11527 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11528 <bp-sym.h> and <bp-asm.h>.
11529 (__memrchr): Don't use BP_SYM.
11530 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11531 <bp-sym.h> and <bp-asm.h>.
11532 (memset): Don't use BP_SYM.
11533 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11534 <bp-sym.h> and <bp-asm.h>.
11535 (__rawmemchr): Don't use BP_SYM.
11536 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11537 <bp-sym.h> and <bp-asm.h>.
11538 (__STRCMP): Don't use BP_SYM.
11539 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11540 <bp-sym.h> and <bp-asm.h>.
11541 (strchr): Don't use BP_SYM.
11542 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11543 <bp-sym.h> and <bp-asm.h>.
11544 (__strchrnul): Don't use BP_SYM.
11545 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11546 <bp-sym.h> and <bp-asm.h>.
11547 (strlen): Don't use BP_SYM.
11548 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11549 <bp-sym.h> and <bp-asm.h>.
11550 (strncmp): Don't use BP_SYM.
11551 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11552 <bp-sym.h> and <bp-asm.h>.
11553 (__strnlen): Don't use BP_SYM.
11554 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11556 (__mpn_rshift): Don't use BP_SYM.
11557 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11558 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11559 <bp-sym.h> and <bp-asm.h>.
11560 (__sigsetjmp): Don't use BP_SYM.
11561 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11562 (L(start_addresses)): Don't use BP_SYM.
11563 (_start): Likewise.
11564 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11566 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11567 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11568 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11569 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11571 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11572 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11573 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11574 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11576 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11578 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11579 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11581 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11583 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11584 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11585 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11587 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11589 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11591 (strncmp): Don't use BP_SYM,
11592 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11594 (__mpn_sub_n): Don't use BP_SYM.
11595 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11596 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11598 (__mpn_submul_1): Don't use BP_SYM.
11599 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11601 <bp-sym.h> and <bp-asm.h>.
11602 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11604 <bp-sym.h> and <bp-asm.h>.
11605 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11608 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11611 Use ZK to minimize writes to Z.
11612 (sub_magnitudes): Simplify code a bit.
11613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11614 Use ZK to minimize writes to Z.
11615 (sub_magnitudes): Simplify code a bit.
11617 2013-02-27 Roland McGrath <roland@hack.frob.com>
11619 * csu/gmon-start.c: Add special exception to license text.
11621 2013-02-27 Richard Henderson <rth@redhat.com>
11623 * scripts/config.guess: Update from config.git.
11624 * scripts/config.sub: Likewise.
11626 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11628 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11630 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11632 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11634 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11636 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11638 2013-02-26 Roland McGrath <roland@hack.frob.com>
11640 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11641 [$(build-shared = yes].
11643 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11645 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11646 (__mul): Reduce iterations for calculating mantissa.
11648 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11650 (__mpranred): Likewise.
11653 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11654 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11656 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11658 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11659 Define __attribute__.
11661 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11663 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11665 * posix/regex_internal.h (__attribute): Remove.
11666 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11667 (re_string_context_at): Likewise.
11668 (bitset_not): Use __attribute__ and mark function as possibly
11670 (bitset_merge): Likewise.
11671 (bitset_mask): Likewise.
11672 (re_string_char_size_at): Likewise.
11673 (re_string_wchar_at): Likewise.
11674 (re_string_elem_size_at): Likewise.
11676 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11678 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11682 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11686 (denorm): Likewise.
11687 (__dbl_mp): Likewise.
11688 (add_magnitudes): Likewise.
11689 (sub_magnitudes): Likewise.
11693 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11696 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11699 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11703 up changes with default code.
11704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11707 2013-02-24 Allan McRae <allan@archlinux.org>
11709 * manual/socket.texi (The Internet Namespace): Order menu items
11710 to match that in the file.
11712 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11713 node listing of the info page menu.
11715 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11718 * sysdeps/i386/bp-asm.h: Remove file.
11719 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11720 (PARMS): Do not use macros from bp-asm.h.
11724 (__mpn_add_n): Do not use BP_SYM
11725 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11727 (PARMS): Do not use macros from bp-asm.h.
11730 (__mpn_addmul_1): Do not use BP_SYM
11731 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11733 (PARMS): Do not use macros from bp-asm.h.
11734 (SIGMSK): Likewise.
11735 (_setjmp): Likewise. Do not use BP_SYM.
11736 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11738 (PARMS): Do not use macros from bp-asm.h.
11739 (SIGMSK): Likewise.
11740 (setjmp): Likewise. Do not use BP_SYM.
11741 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11743 (PARMS): Do not use macros from bp-asm.h.
11744 (__frexp): Do not use BP_SYM.
11746 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11748 (PARMS): Do not use macros from bp-asm.h.
11749 (__frexpf): Do not use BP_SYM.
11750 (frexpf): Likewise.
11751 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11753 (PARMS): Do not use macros from bp-asm.h.
11754 (__frexpl): Do not use BP_SYM.
11755 (frexpl): Likewise.
11756 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11758 (PARMS): Do not use macros from bp-asm.h.
11759 (__remquo): Do not use BP_SYM.
11760 (remquo): Likewise.
11761 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11763 (PARMS): Do not use macros from bp-asm.h.
11764 (__remquof): Do not use BP_SYM.
11765 (remquof): Likewise.
11766 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11768 (PARMS): Do not use macros from bp-asm.h.
11769 (__remquol): Do not use BP_SYM.
11770 (remquol): Likewise.
11771 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11773 (PARMS): Do not use macros from bp-asm.h.
11776 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11777 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11779 (PARMS): Do not use macros from bp-asm.h.
11780 (strlen): Do not use BP_SYM.
11781 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11783 (PARMS): Do not use macros from bp-asm.h.
11787 (__mpn_add_n): Do not use BP_SYM.
11788 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11790 (PARMS): Do not use macros from bp-asm.h.
11793 (__mpn_addmul_1): Do not use BP_SYM.
11794 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11797 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11799 (PARMS): Do not use macros from bp-asm.h.
11802 (__mpn_lshift): Do not use BP_SYM.
11803 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11805 (PARMS): Do not use macros from bp-asm.h.
11809 (memcpy): Likewise. Do not use BP_SYM.
11810 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11811 libc_hidden_def and weak_alias.
11812 (mempcpy): Do not use BP_SYM in weak_alias.
11813 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11815 (PARMS): Do not use macros from bp-asm.h.
11818 [!BZERO_P] (CHR): Likewise.
11819 (memset): Likewise. Do not use BP_SYM.
11820 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11822 (PARMS): Do not use macros from bp-asm.h.
11825 (__mpn_mul_1): Do not use BP_SYM.
11826 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11828 (PARMS): Do not use macros from bp-asm.h.
11831 (__mpn_rshift): Do not use BP_SYM.
11832 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11834 (PARMS): Do not use macros from bp-asm.h.
11837 (strchr): Likewise. Do not use BP_SYM.
11838 (index): Do not use BP_SYM in weak_alias.
11839 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11841 (PARMS): Do not use macros from bp-asm.h.
11844 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11845 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11847 (PARMS): Do not use macros from bp-asm.h.
11848 (strlen): Do not use BP_SYM.
11849 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11851 (PARMS): Do not use macros from bp-asm.h.
11855 (__mpn_sub_n): Do not use BP_SYM.
11856 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11858 (PARMS): Do not use macros from bp-asm.h.
11861 (__mpn_submul_1): Do not use BP_SYM.
11862 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11864 (PARMS): Do not use macros from bp-asm.h.
11868 (__mpn_add_n): Do not use BP_SYM.
11869 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11872 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11874 (PARMS): Do not use macros from bp-asm.h.
11877 (memcmp): Do not use BP_SYM.
11878 (bcmp): Do not use BP_SYM in weak_alias.
11879 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11881 (PARMS): Do not use macros from bp-asm.h.
11885 (memcpy): Likewise. Do not use BP_SYM.
11886 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11888 (PARMS): Do not use macros from bp-asm.h.
11892 (memmove): Likewise. Do not use BP_SYM.
11893 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11895 (PARMS): Do not use macros from bp-asm.h.
11899 (__mempcpy): Likewise. Do not use BP_SYM.
11900 (mempcpy): Do not use BP_SYM in weak_alias.
11901 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11903 (PARMS): Do not use macros from bp-asm.h.
11906 [!BZERO_P] (CHR): Likewise.
11907 (memset): Likewise. Do not use BP_SYM.
11908 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11910 (PARMS): Do not use macros from bp-asm.h.
11912 (strcmp): Do not use BP_SYM.
11913 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11915 (PARMS): Do not use macros from bp-asm.h.
11918 [USE_AS_STRTOK_R] (SAVE): Likewise.
11919 (FUNCTION): Likewise. Do not use BP_SYM.
11920 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11922 (strtok_r): Likewise.
11923 (__GI___strtok_r): Likewise.
11924 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11925 (PARMS): Do not use macros from bp-asm.h.
11928 (__mpn_lshift): Do not use BP_SYM.
11929 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11930 (PARMS): Do not use macros from bp-asm.h.
11933 (__memchr): Do not use BP_SYM.
11934 (memchr): Do not use BP_SYM in weak_alias.
11935 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11936 (PARMS): Do not use macros from bp-asm.h.
11939 (memcmp): Do not use BP_SYM.
11940 (bcmp): Do not use BP_SYM in weak_alias.
11941 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11942 (PARMS): Do not use macros from bp-asm.h.
11945 (__mpn_mul_1): Do not use BP_SYM.
11946 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11948 (PARMS): Do not use macros from bp-asm.h.
11951 (__rawmemchr): Do not use BP_SYM.
11952 (rawmemchr): Do not use BP_SYM in weak_alias.
11953 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11954 (PARMS): Do not use macros from bp-asm.h.
11957 (__mpn_rshift): Do not use BP_SYM.
11958 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11959 (PARMS): Do not use macros from bp-asm.h.
11960 (SIGMSK): Likewise.
11961 (__sigsetjmp): Likewise. Do not use BP_SYM.
11962 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11963 (_start): Do not use BP_SYM.
11964 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11965 (PARMS): Do not use macros from bp-asm.h.
11968 (__stpcpy): Likewise. Do not use BP_SYM.
11969 (stpcpy): Do not use BP_SYM in weak_alias.
11970 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11972 (PARMS): Do not use macros from bp-asm.h.
11976 (__stpncpy): Likewise. Do not use BP_SYM.
11977 (stpncpy): Do not use BP_SYM in weak_alias.
11978 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11979 (PARMS): Do not use macros from bp-asm.h.
11982 (strchr): Likewise. Do not use BP_SYM.
11983 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11985 (PARMS): Do not use macros from bp-asm.h.
11988 (__strchrnul): Likewise. Do not use BP_SYM.
11989 (strchrnul): Do not use BP_SYM in weak_alias.
11990 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11992 (PARMS): Do not use macros from bp-asm.h.
11994 (strcspn): Do not use BP_SYM.
11995 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11997 (PARMS): Do not use macros from bp-asm.h.
12000 (strpbrk): Likewise. Do not use BP_SYM.
12001 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12003 (PARMS): Do not use macros from bp-asm.h.
12006 (strrchr): Likewise. Do not use BP_SYM.
12007 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12008 (PARMS): Do not use macros from bp-asm.h.
12010 (strspn): Do not use BP_SYM.
12011 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12012 (PARMS): Do not use macros from bp-asm.h.
12016 (FUNCTION): Likewise. Do not use BP_SYM.
12017 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12019 (strtok_r): Likewise.
12020 (__GI___strtok_r): Likewise.
12021 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12022 (PARMS): Do not use macros from bp-asm.h.
12026 (__mpn_sub_n): Do not use BP_SYM.
12027 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12029 (PARMS): Do not use macros from bp-asm.h.
12032 (__mpn_submul_1): Do not use BP_SYM.
12033 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12035 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12037 (PARMS): Do not use macros from bp-asm.h.
12042 (__clone): Do not use BP_SYM.
12043 (clone): Do not use BP_SYM in weak_alias.
12044 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12046 (PARMS): Do not use macros from bp-asm.h.
12048 (__mmap64): Do not use BP_SYM.
12049 (mmap64): Do not use BP_SYM in weak_alias.
12050 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12051 <bp-sym.h> and <bp-asm.h>.
12052 (PARMS): Do not use macros from bp-asm.h.
12053 (__posix_fadvise64_l64): Do not use BP_SYM.
12054 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12055 (PARMS): Do not use macros from bp-asm.h.
12057 (semtimedop): Do not use BP_SYM.
12058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12061 2013-02-21 Allan McRae <allan@archlinux.org>
12063 * manual/message.texi (Charset conversion in gettext):
12064 Move @end statement to beginning of line.
12066 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12073 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12074 (denorm): Likewise.
12075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12078 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12080 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12081 tail-call to the resolved function if pltexit isn't needed.
12083 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12086 or Y being zero as being unlikely.
12087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12090 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12092 * manual/nss.texi (System Databases and Name Service Switch):
12093 Remove frobnicate @pxref.
12095 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12097 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12098 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12100 2013-02-20 Petr Machata <pmachata@redhat.com>
12102 * elf/elf.h (R_ARM_TARGET1): New macro.
12103 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12104 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12105 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12106 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12107 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12108 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12109 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12110 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12111 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12112 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12113 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12114 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12115 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12116 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12117 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12118 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12119 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12120 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12121 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12122 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12123 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12124 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12125 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12126 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12127 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12128 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12129 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12130 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12131 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12132 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12133 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12134 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12135 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12136 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12137 (R_ARM_THM_GOT_BREL12): Likewise.
12138 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12139 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12140 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12141 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12142 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12143 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12144 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12145 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12146 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12148 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12150 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12151 __attribute_used__ to __attribute__ ((unused)).
12153 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12155 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12158 comment formatting.
12159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12161 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12164 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12166 (ENTER): Remove both macro definitions.
12168 (CHECK_BOUNDS_LOW): Likewise.
12169 (CHECK_BOUNDS_HIGH): Likewise.
12170 (CHECK_BOUNDS_BOTH): Likewise.
12171 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12172 (RETURN_BOUNDED_POINTER): Likewise.
12173 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12174 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12175 (POP_ERRNO_LOCATION_RETURN): Likewise.
12176 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12177 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12178 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12180 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12181 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12182 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12183 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12184 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12185 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12186 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12187 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12188 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12189 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12190 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12191 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12192 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12193 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12195 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12196 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12198 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12199 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12200 * sysdeps/i386/i586/memset.S (memset): Likewise.
12201 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12202 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12203 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12205 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12206 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12207 Change uses of L(2) to L(out).
12208 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12209 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12210 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12211 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12212 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12214 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12215 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12217 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12218 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12219 (RETURN): Do not use macro LEAVE.
12220 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12221 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12222 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12223 * sysdeps/i386/i686/memset.S (memset): Likewise.
12224 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12225 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12226 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12227 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12229 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12230 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12231 L(1_2) and L(1_3) into L(1).
12232 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12233 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12234 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12235 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12236 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12237 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12238 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12239 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12240 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12242 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12243 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12244 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12245 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12246 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12247 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12248 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12249 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12250 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12251 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12252 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12253 * sysdeps/i386/strspn.S (strspn): Likewise.
12254 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12256 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12257 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12258 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12259 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12260 L(1_3) into L(1_1).
12261 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12262 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12263 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12265 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12267 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12269 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12272 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12274 * math/atest-exp.c (exp_mpn): Remove ROUND.
12275 * math/atest-exp2.c (exp_mpn): Likewise.
12276 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12278 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12279 * stdlib/tst-tls-atexit-lib.c: Likewise.
12280 * stdlib/tst-tls-atexit.c: Likewise.
12282 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12284 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12285 and __attribute_alloc_size__.
12287 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12289 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12290 __attribute_alloc_size__.
12291 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12292 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12294 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12296 * include/programs/xmalloc.h: New file.
12297 * catgets/gencat.c: Include it.
12298 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12299 * elf/pldd.c: Likewise.
12300 * iconv/iconv_charmap.c: Likewise.
12301 * iconv/iconvconfig.c: Likewise.
12302 * iconv/strtab.c: Likewise.
12303 * locale/programs/locale.c: Likewise.
12304 * locale/programs/localedef.h: Likewise.
12305 * locale/programs/simple-hash.c: Likewise.
12306 * nscd/nscd.h: Likewise.
12307 * nss/makedb.c: Likewise.
12308 * sysdeps/generic/ldconfig.h: Likewise.
12310 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12312 * Versions.def: Add GLIBC_2.18.
12313 * include/link.h (struct link_map): New member l_tls_dtor_count.
12314 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12315 (__call_tls_dtors): Likewise.
12316 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12317 __cxa_thread_atexit_impl.
12318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12334 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12335 (tests): Add test case tst-tls-atexit.
12336 (modules-names): Add shared library for tst-tls-atexit.
12337 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12338 (GLIBC_PRIVATE): Add __call_tls_dtors.
12339 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12341 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12342 * stdlib/tst-tls-atexit.c: New test case.
12343 * stdlib/tst-tls-atexit-lib.c: New test case.
12345 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12347 * elf/Versions (ld): Add _dl_find_dso_for_object.
12348 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12349 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12350 (dl_open_worker): Use _dl_find_dso_for_object.
12351 * elf/dl-sym.c (do_sym): Likewise.
12352 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12354 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12356 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12357 Syntactic changes only.
12358 (_dl_runtime_profile): Do a tail-call to the resolved function.
12360 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12363 * sysdeps/x86_64/bp-asm.h: Remove file.
12364 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12365 <bp-sym.h> and <bp-asm.h>.
12366 (__clone): Do not use BP_SYM.
12367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12368 <bp-sym.h> and <bp-asm.h>.
12369 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12370 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12372 (_setjmp): Do not use BP_SYM.
12373 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12375 (setjmp): Do not use BP_SYM.
12376 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12378 (mempcpy): Do not use BP_SYM in weak_alias.
12379 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12381 (strchr): Do not use BP_SYM.
12382 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12384 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12385 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12386 (_start): Do not use BP_SYM.
12387 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12389 (strcat): Do not use BP_SYM.
12390 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12392 (STRCMP): Do not use BP_SYM.
12393 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12395 (STRCPY): Do not use BP_SYM.
12396 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12398 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12400 (FUNCTION): Do not use BP_SYM.
12401 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12403 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12405 2013-02-17 Andreas Jaeger <aj@suse.de>
12407 * time/Versions: Sort entries.
12408 * string/Versions: Likewise.
12409 * resolv/Versions: Likewise.
12410 * posix/Versions: Likewise.
12411 * iconv/Versions: Likewise.
12412 * elf/Versions: Likewise.
12413 * wcsmbs/Versions: Likewise.
12415 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12417 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12418 loop termination condition.
12420 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12421 variable to calculate EZ.
12424 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12425 the lower precision input.
12427 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12430 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12431 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12432 (run-via-rtld-prefix): Do not handle %-bp tests.
12433 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12434 (all-object-suffixes): Remove .ob.
12435 (bppfx): Remove variable.
12436 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12437 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12438 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12439 [$(build-bounded) = yes] (libtype.ob): Likewise.
12440 * Makerules (elide-routines.ob): Remove variable.
12441 (do-tests-clean): Do not handle *-bp.out.
12442 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12443 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12444 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12445 (tests): Do not include $(tests-bp.out).
12446 (xtests): Do not include $(xtests-bp.out).
12447 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12448 [$(build-bounded) = yes] ($(addprefix
12449 $(objpfx),$(binaries-bounded))): Remove rule.
12450 ($(objpfx)%-bp.out): Remove rule.
12451 * config.make.in (build-bounded): Remove variable.
12452 * crypt/Makefile [$(build-bounded) = yes]
12453 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12454 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12455 append to variable.
12456 [$(build-bounded) = yes] (install-lib): Likewise.
12457 [$(build-bounded) = yes] (generated): Likewise.
12458 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12460 * intl/Makefile [$(build-bounded) = yes]
12461 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12462 * math/Makefile [$(build-bounded) = yes]
12463 ($(tests:%=$(objpfx)%-bp): Likewise.
12464 * misc/Makefile [$(build-bounded) = yes]
12465 ($(objpfx)tst-tsearch-bp): Likewise.
12466 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12467 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12469 * string/Makefile (o-objects.ob): Remove variable.
12470 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12471 (CFLAGS-.ob): Remove variable.
12472 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12473 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12474 both definitions of variable.
12475 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12476 (ASFLAGS-.ob): Remove variable.
12478 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12481 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12482 Remove __BOUNDED_POINTERS__ from condition.
12483 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12484 * string/bits/string2.h [!__NO_STRING_INLINES &&
12485 !__BOUNDED_POINTERS__]: Likewise.
12486 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12488 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12489 Remove conditional code.
12490 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12491 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12492 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12496 * csu/libc-start.c: Do not include <bp-sym.h>.
12497 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12498 * elf/dl-open.c: Do not include <bp-sym.h>.
12499 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12500 * math/fegetenv.c: Do not include <bp-sym.h>.
12501 (fegetenv): Do not use BP_SYM in versioned symbols.
12502 * nptl/sysdeps/pthread/bits/libc-lockP.h
12503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12506 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12508 (__pthread_mutex_destroy): Likewise.
12509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12510 (__pthread_mutex_lock): Likewise.
12511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12512 (__pthread_mutex_trylock): Likewise.
12513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12514 (__pthread_mutex_unlock): Likewise.
12515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12516 (__pthread_mutexattr_init): Likewise.
12517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12518 (__pthread_mutexattr_destroy): Likewise.
12519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12520 (__pthread_mutexattr_settype): Likewise.
12521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12522 (__pthread_rwlock_init): Likewise.
12523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12524 (__pthread_rwlock_destroy): Likewise.
12525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12526 (__pthread_rwlock_rdlock): Likewise.
12527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12528 (__pthread_rwlock_tryrdlock): Likewise.
12529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12530 (__pthread_rwlock_wrlock): Likewise.
12531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12532 (__pthread_rwlock_trywrlock): Likewise.
12533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12534 (__pthread_rwlock_unlock): Likewise.
12535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12536 (__pthread_key_create): Likewise.
12537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12538 (__pthread_setspecific): Likewise.
12539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12540 (__pthread_getspecific): Likewise.
12541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12544 (_pthread_cleanup_push_defer): Likewise.
12545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12546 (_pthread_cleanup_pop_restore): Likewise.
12547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12548 (pthread_setcancelstate): Likewise.
12549 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12551 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12552 (memchr): Do not use BP_SYM in weak_alias.
12553 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12554 (fegetenv): Do not use BP_SYM in versioned symbols.
12555 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12556 (fesetenv): Do not use BP_SYM in versioned symbols.
12557 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12558 (feupdateenv): Do not use BP_SYM in versioned symbols.
12559 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12560 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12561 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12562 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12563 (open64): Do not use BP_SYM in weak_alias.
12564 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12565 (fegetenv): Do not use BP_SYM in versioned symbols.
12566 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12567 (fesetenv): Do not use BP_SYM in versioned symbols.
12568 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12569 (feupdateenv): Do not use BP_SYM in versioned symbols.
12570 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12571 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12572 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12573 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12574 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12575 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12576 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12578 (__libc_start_main): Do not use BP_SYM.
12580 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12583 redundant return line.
12585 (denorm): Likewise.
12586 (dbl_mp): Likewise.
12587 (sub_magnitudes): Likewise.
12593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12595 (denorm): Likewise.
12596 (dbl_mp): Likewise.
12597 (sub_magnitudes): Likewise.
12604 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12606 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12607 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12610 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12611 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12613 of __mul for squares.
12614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12618 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12619 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12621 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12624 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12626 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12627 prototype or function definition. Rename ubp_* variables and
12628 parameters. Remove argv definitions conditional on
12629 [__BOUNDED_POINTERS__].
12630 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12631 * elf/dl-runtime.c (_dl_fixup): Likewise.
12632 * include/set-hooks.h (RUN_HOOK): Likewise.
12633 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12635 * string/strcpy.c (strcpy): Do not use __unbounded.
12636 * sysdeps/generic/frame.h (struct layout): Likewise.
12637 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12638 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12639 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12640 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12641 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12642 (__backtrace): Likewise.
12643 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12645 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12646 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12647 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12649 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12650 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12651 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12652 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12653 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12654 Do not use __unbounded.
12655 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12656 Rename __unboundedrlimits parameter to rlimits in prototype.
12657 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12658 Do not use __unbounded.
12659 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12660 not use __ptrvalue.
12661 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12662 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12663 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12664 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12665 __ptrvalue or __unbounded.
12666 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12667 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12669 (__new_msgctl): Do not use __ptrvalue.
12670 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12672 (__libc_msgrcv): Do not use __ptrvalue.
12673 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12674 startup_info): Do not use __unbounded.
12675 (__libc_start_main): Likewise. Rename ubp_* variables and
12676 parameters. Remove argv definitions conditional on
12677 [__BOUNDED_POINTERS__].
12678 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12680 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12682 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12684 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12686 (__new_shmctl): Do not use __ptrvalue.
12687 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12688 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12690 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12692 (__libc_sigaction): Likewise.
12693 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12694 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12696 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12698 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12700 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12702 * string/mempcpy.c: Implement by calling memcpy.
12704 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12711 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12712 values in the mantissa.
12714 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12715 minimize writes to Z.
12716 (sub_magnitudes): Simplify code a bit.
12718 2013-02-12 Roland McGrath <roland@hack.frob.com>
12720 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12721 from the message. The linker prefixes all warnings with that already.
12723 2013-02-12 Andreas Schwab <schwab@suse.de>
12726 * posix/regexec.c (extend_buffers): Add parameter min_len.
12727 (check_matching): Pass minimum needed length.
12728 (clean_state_log_if_needed): Likewise.
12729 (get_subexp): Likewise.
12730 * posix/Makefile (tests): Add bug-regex34.
12731 (bug-regex34-ENV): Define.
12732 * posix/bug-regex34.c: New file.
12735 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12736 elements compare against the byte sequence of it, not its name.
12737 * posix/Makefile (tests): Add bug-regex35.
12738 (bug-regex35-ENV): Define.
12739 * posix/bug-regex35.c: New file.
12741 2013-02-11 Tom de Vries <tom@codesourcery.com>
12743 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12745 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12746 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12747 (CHECK_EOL): Add undef.
12749 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12751 * bits/stdlib-bsearch.h: New file.
12752 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12753 * stdlib/stdlib.h: Likewise.
12755 2013-02-11 Roland McGrath <roland@hack.frob.com>
12757 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12758 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12760 * manual/search.texi (Array Search Function): Add missing const in
12762 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12763 declaration to use rlim_t.
12764 (Basic Scheduling Functions): Remove erroneous const from
12765 sched_getparam prototype. Remove erroneous * from
12766 sched_get_priority_max and sched_get_priority_min prototypes.
12767 (Resource Usage): Fix summary @comment on vtimes to refer to
12768 sys/vtimes.h rather than vtimes.h.
12769 Add missing *s in vtimes prototype.
12770 (Limits on Resources): Fix ulimit prototype to return long int.
12771 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12772 prototypes to use long int rather than double.
12773 (BSD Random): Fix initstate and setstate to use char *, not void *.
12774 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12775 prototype to make second argument 'struct aiocb64 *const[]'.
12776 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12777 (Status of AIO Operations): Remove erroneous const in aio_return and
12778 aio_return64 prototypes.
12779 (Synchronizing I/O): Fix sync prototype to return void.
12780 * manual/startup.texi (Suboptions): Remove an erroneous const in
12781 getsubopt prototype.
12782 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12783 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12784 use size_t rather than int.
12785 (Scanning All Users): Likewise for getpwent_r.
12786 (Setting Groups): Add missing const to setgroups prototype.
12787 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12788 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12789 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12790 'const void *' rather than 'const char *'.
12791 (Host Address Functions): Likewise for inet_ntop.
12792 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12793 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12794 ssize_t for return value.
12795 (Sending Data): Likewise for send, sendto, sendmsg.
12796 (Socket Option Functions): Add a missing const in setsockopt prototype.
12797 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12798 use wchar_t for the argument.
12799 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12800 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12802 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12803 double/float/long double for second argument.
12804 Fix return types of significand, significandf, significandl.
12805 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12806 argument in fchmod prototype.
12807 (File Owner): Use uid_t and gid_t in fchown prototype.
12808 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12809 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12810 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12811 use 'const struct dirent **' as argument types to CMP function pointer
12813 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12814 (File Times): Fix summary magic @comment for struct utimbuf and utime
12815 to refer to utime.h, not time.h.
12816 * manual/string.texi (Argz Functions): Add missing const in
12817 argz_extract and argz_next prototypes.
12818 (Finding Tokens in a String): Likewise for basename.
12819 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12820 (Copying and Concatenation): Fix typo in wmemmove prototype.
12821 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12822 (Signal Stack): Remove erroneous const in sigstack prototype.
12823 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12825 (Simple Calendar Time): Likewise for stime.
12826 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12828 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12829 say sys/sysctl.h instead.
12830 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12831 and vsyslog prototypes.
12833 2013-02-11 Tom de Vries <tom@codesourcery.com>
12835 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12838 2013-02-11 Roland McGrath <roland@hack.frob.com>
12840 * misc/sys/mman.h: Fix typo in mremap comment.
12842 2013-02-08 Roland McGrath <roland@hack.frob.com>
12844 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12845 the '\0' terminator.
12847 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12850 * debug/segfault.c: Don't include <bp-checks.h>.
12851 * sysdeps/generic/bp-checks.h: Remove file.
12852 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12853 (__GETDENTS): Don't use CHECK_N.
12854 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12855 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12856 (__getgroups): Don't use CHECK_N.
12857 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12858 (setgroups): Don't use CHECK_N.
12859 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12860 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12861 (__libc_msgrcv): Don't use CHECK_N.
12862 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12863 (__libc_msgsnd): Don't use CHECK_N.
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12866 (__libc_pread): Don't use CHECK_N.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12868 include <bp-checks.h>.
12869 (__libc_pread64): Don't use CHECK_N.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12871 include <bp-checks.h>.
12872 (__libc_pwrite): Don't use CHECK_N.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12874 include <bp-checks.h>.
12875 (__libc_pwrite64): Don't use CHECK_N.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12878 (__libc_pread): Don't use CHECK_N.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12880 include <bp-checks.h>.
12881 (__libc_pread64): Don't use CHECK_N.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12883 include <bp-checks.h>.
12884 (__libc_pwrite): Don't use CHECK_N.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12886 include <bp-checks.h>.
12887 (__libc_pwrite64): Don't use CHECK_N.
12888 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12889 (do_pread): Don't use CHECK_N.
12890 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12891 (do_pread64): Don't use CHECK_N.
12892 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12893 (do_pwrite): Don't use CHECK_N.
12894 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12895 (do_pwrite64): Don't use CHECK_N.
12896 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12897 (__libc_readv): Don't use CHECK_N.
12898 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12899 (semop): Don't use CHECK_N.
12900 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12902 (semtimedop): Don't use CHECK_N.
12903 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12904 (__libc_pread): Don't use CHECK_N.
12905 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12907 (__libc_pread64): Don't use CHECK_N.
12908 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12910 (__libc_pwrite): Don't use CHECK_N.
12911 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12913 (__libc_pwrite64): Don't use CHECK_N.
12914 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12916 (__libc_msgrcv): Don't use CHECK_N.
12917 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12918 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12919 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12920 (__libc_writev): Don't use CHECK_N.
12922 2013-02-08 Roland McGrath <roland@hack.frob.com>
12924 * string/strcpy.c: Removed unused variable.
12926 * Makeconfig (+sysdep-includes): Define with := rather than =.
12927 Use an existing include/ subdir of each sysdeps dir before it.
12929 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12931 * nscd/connection.c (register_traced_file): Comment function.
12932 [HAVE_INOTIFY] (union __inev): Define.
12933 [HAVE_INOTIFY] (inotify_check_files): New function.
12934 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12935 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12937 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12939 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12941 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12942 loaded if not already and that a failure is permanent.
12944 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12947 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12948 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12950 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12953 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12954 (CHECK_1_NULL_OK): Likewise.
12955 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12956 (__fxstat): Do not use CHECK_1.
12957 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12959 (___fxstat64): Do not use CHECK_1.
12960 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12962 (__fxstatat): Do not use CHECK_1.
12963 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12965 (__fxstatat64): Do not use CHECK_1.
12966 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12968 (__fxstat): Do not use CHECK_1.
12969 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12971 (__fxstatat): Do not use CHECK_1.
12972 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12974 (__getresgid): Do not use CHECK_1.
12975 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12977 (__getresuid): Do not use CHECK_1.
12978 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12980 (__lxstat): Do not use CHECK_1.
12981 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12983 (__old_msgctl): Do not use CHECK_1.
12984 (__new_msgctl): Likewise.
12985 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12987 (__new_setrlimit): Do not use CHECK_1.
12988 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12990 (__old_shmctl): Do not use CHECK_1.
12991 (__new_shmctl): Likewise.
12992 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12994 (__xstat): Do not use CHECK_1.
12995 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12996 (__lxstat): Do not use CHECK_1.
12997 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12999 (___lxstat64): Do not use CHECK_1.
13000 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13001 (__old_msgctl): Do not use CHECK_1.
13002 (__new_msgctl): Likewise.
13003 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13005 (__gettimeofday): Do not use CHECK_1.
13006 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13007 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13008 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13010 (__gettimeofday): Do not use CHECK_1.
13011 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13012 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13013 (__new_shmctl): Do not use CHECK_1.
13014 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13016 (do_sigtimedwait): Do not use CHECK_1.
13017 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13019 (do_sigwaitinfo): Do not use CHECK_1.
13020 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13022 (msgctl): Do not use CHECK_1.
13023 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13025 (shmctl): Do not use CHECK_1.
13026 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13027 (ustat): Do not use CHECK_1.
13028 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13030 (__fxstat): Do not use CHECK_1.
13031 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13033 (__fxstatat): Do not use CHECK_1.
13034 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13036 (__lxstat): Do not use CHECK_1.
13037 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13039 (__xstat): Do not use CHECK_1.
13040 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13041 (__xstat): Do not use CHECK_1.
13042 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13043 (___xstat64): Do not use CHECK_1.
13046 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13048 (CHECK_BOUNDS_HIGH): Likewise.
13049 * string/strcpy.c: Do not include <bp-checks.h>.
13050 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13052 2013-02-07 Roland McGrath <roland@hack.frob.com>
13054 * nscd/nscd-client.h (__nscd_drop_map_ref):
13055 Add __attribute__ ((unused)).
13056 * nis/nss-nisplus.h (niserr2nss): Likewise.
13058 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13059 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13061 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13062 Remove inline keyword.
13063 * include/rounding-mode.h (round_away): Likewise.
13064 * libio/wfileops.c (adjust_wide_data): Likewise.
13065 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13066 (__m128i_strloadu_tolower): Likewise.
13067 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13068 (__m128i_strloadu_tolower): Likewise.
13069 * time/mktime.c (ydhms_diff): Likewise.
13070 * locale/elem-hash.h (elem_hash): Likewise.
13071 * locale/setlocale.c (setdata): Likewise.
13072 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13073 (re_string_wchar_at): Likewise.
13074 (bitset_not, bitset_merge, bitset_mask): Likewise.
13075 [!(__GNUC__ > 3)] (inline): Remove macro.
13076 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13077 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13078 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13079 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13080 * string/memcmp.c (memcmp_bytes): Likewise.
13081 * locale/programs/locarchive.c (compute_hashval): Likewise.
13082 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13083 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13084 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13085 * nss/getent.c (print_rpc, print_protocols): Likewise.
13086 (print_passwd, print_group, print_aliases): Likewise.
13087 * nis/nss-nisplus.h (niserr2nss): Likewise.
13088 * nscd/connections.c (restart_p): Likewise.
13089 Change return type to bool.
13091 2013-02-05 Roland McGrath <roland@hack.frob.com>
13093 * Makeconfig (all-Depend-files): Add existing
13094 $(sorted-subdirs:=/Depend) files.
13095 (all-subdirs): Remove nss.
13096 * sysdeps/unix/inet/Subdirs: Add it here instead.
13097 * hesiod/Depend: New file.
13099 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13100 instead of calling alloca.
13102 * io/lseek.c (__lseek): Rename to __libc_lseek.
13103 Define __lseek as an alias.
13105 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13107 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13109 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13110 else clause and remove check for non-standard endianness.
13112 2013-02-04 David S. Miller <davem@davemloft.net>
13114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13116 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13119 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13120 (__ubp_memchr): Remove prototype.
13121 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13122 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13123 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13124 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13125 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13127 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13128 (__ubp_memchr): Likewise.
13129 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13130 (__ubp_memchr): Likewise.
13131 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13132 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13133 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13134 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13136 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13137 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13138 (__getcwd): Do not use CHECK_STRING.
13139 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13141 (__real_chown): Do not use CHECK_STRING.
13142 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13144 (fchownat): Do not use CHECK_STRING.
13145 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13147 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13149 (__lchown): Do not use CHECK_STRING.
13150 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13151 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13152 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13153 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13155 include <bp-checks.h>.
13156 (truncate64): Do not use CHECK_STRING.
13157 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13159 (__real_chown): Do not use CHECK_STRING.
13160 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13162 (__lchown): Do not use CHECK_STRING.
13163 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13165 (__chown): Do not use CHECK_STRING.
13166 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13168 (truncate64): Do not use CHECK_STRING.
13169 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13171 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13172 (__xmknod): Do not use CHECK_STRING.
13173 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13175 (__xmknodat): Do not use CHECK_STRING.
13176 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13177 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13179 2013-02-04 Andreas Schwab <schwab@suse.de>
13182 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13183 * include/netdb.h: Likewise for h_errno.
13184 * elf/tst-stackguard1.c: Include <tls.h>.
13186 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13188 * elf/link.h (struct link_map): Extend the l_addr comment.
13189 * include/link.h (struct link_map): Likewise.
13191 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13194 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13195 (BOUNDED_1): Remove macro.
13196 * debug/backtrace.c: Don't include <bp-checks.h>.
13197 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13198 (__backtrace): Likewise.
13199 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13201 (__backtrace): Don't use BOUNDED_1.
13202 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13204 (__backtrace): Don't use BOUNDED_1.
13205 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13206 (__backtrace): Don't use BOUNDED_1.
13207 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13208 (shmat): Don't use BOUNDED_N.
13210 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13213 * sysdeps/generic/bp-start.h: Remove file.
13214 * csu/libc-start.c: Don't include <bp-start.h>.
13215 (LIBC_START_MAIN): Set up __environ directly instead of using
13216 INIT_ARGV_and_ENVIRON.
13217 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13221 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13223 (CHECK_FCNTL): Likewise.
13224 (CHECK_N_PAGES): Likewise.
13227 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13229 (CHECK_SIGSET_NULL_OK): Likewise.
13230 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13232 (sigpending): Don't use CHECK_SIGSET.
13233 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13235 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13236 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13238 (do_sigsuspend): Don't use CHECK_SIGSET.
13239 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13241 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13242 (do_sigwait): Don't use CHECK_SIGSET.
13243 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13245 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13246 include <bp-checks.h>.
13247 (sigpending): Don't use CHECK_SIGSET.
13248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13249 include <bp-checks.h>.
13250 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13251 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13253 (sigpending): Don't use CHECK_SIGSET.
13254 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13256 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13259 * sysdeps/generic/bp-semctl.h: Remove file.
13260 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13261 <bp-checks.h> and <bp-semctl.h>.
13262 (__old_semctl): Don't use CHECK_SEMCTL.
13263 (__new_semctl): Likewise.
13264 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13266 (__old_semctl): Don't use CHECK_SEMCTL.
13267 (__new_semctl): Likewise.
13268 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13269 <bp-checks.h> and <bp-semctl.h>.
13270 (__old_semctl): Don't use CHECK_SEMCTL.
13271 (__new_semctl): Likewise.
13272 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13273 <bp-checks.h> and <bp-semctl.h>.
13274 (semctl): Don't use CHECK_SEMCTL.
13277 * Makerules (elide-bp-thunks): Remove variable.
13278 (elide-routines.oS): Don't use $(elide-bp-thunks).
13279 (elide-routines.os): Likewise.
13280 (elide-routines.o): Likewise.
13281 (elide-routines.op): Likewise.
13282 (elide-routines.og): Likewise.
13283 (objects): Don't use $(bp-thunks).
13284 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13286 (common-generated): Do not add s-proto-bp.d.
13287 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13290 Do not generate makefile rules for bounded-pointer thunks.
13291 * sysdeps/generic/bp-thunks.h: Remove file.
13292 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13293 * sysdeps/unix/s-proto-bp.S: Likewise.
13296 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13297 parts of result separately when argument is not close to line from
13298 -i to i and one part of argument is small.
13299 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13300 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13301 * math/libm-test.inc (cacos_test): Add more tests.
13302 (casin_test): Likewise.
13303 (casinh_test): Likewise.
13304 * sysdeps/i386/fpu/libm-test-ulps: Update.
13305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13307 2013-01-31 David S. Miller <davem@davemloft.net>
13309 * po/de.po: Update from translation team.
13311 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13313 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13315 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13317 * configure.in (_AC_PROG_CC_C89): New definition.
13318 * configure: Regenerate.
13320 * configure.in (AC_PROG_CPP): New definition.
13321 * configure: Regenerate.
13323 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13325 * debug/tst-backtrace.h: New file.
13326 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13327 (ret): Remove variable.
13329 (FAIL): Remove macro.
13330 (NO_INLINE): Likewise.
13331 (fn1): Use match function instead of strstr.
13332 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13333 (ret): Remove variable.
13335 (FAIL): Remove macro.
13336 (NO_INLINE): Likewise.
13337 (fn): Use match function instead of strstr.
13338 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13339 (ret): Remove variable.
13341 (FAIL): Remove macro.
13342 (NO_INLINE): Likewise.
13343 (handle_signal): Use match function instead of strstr.
13344 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13345 (ret): Remove variable.
13347 (FAIL): Remove macro.
13348 (NO_INLINE): Likewise.
13349 (handle_signal): Use match function instead of strstr.
13351 2013-01-23 Roland McGrath <roland@hack.frob.com>
13353 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13355 2013-01-23 David S. Miller <davem@davemloft.net>
13357 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13358 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13359 argument of CAS if possible.
13360 * sysdeps/sparc/sparc64/bits/atomic.h
13361 (__arch_compare_and_exchange_val_32_acq): Likewise.
13362 (__arch_compare_and_exchange_val_64_acq): Likewise.
13364 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13366 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13367 * sysdeps/posix/ulimit.c: ... this.
13368 Include <limits.h>.
13369 * sysdeps/unix/bsd/ulimit.c: Remove file.
13371 2013-01-23 Adam Conrad <adconrad@0c3.net>
13373 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13374 (LDFLAGS-tst-array5): Likewise.
13376 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13379 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13380 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13381 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13382 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13384 2013-01-21 David S. Miller <davem@davemloft.net>
13386 * sysdeps/sparc/backtrace.c: New file.
13387 * sysdeps/sparc/sparc32/backtrace.h: New file.
13388 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13389 * sysdeps/sparc/sparc64/backtrace.h: New file.
13390 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13391 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13394 2013-01-21 Andreas Schwab <schwab@suse.de>
13397 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13400 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13406 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13407 Mark Mitchell <mark@codesourcery.com>
13408 Tom de Vries <tom@codesourcery.com>
13409 Paul Pluzhnikov <ppluzhnikov@google.com>
13411 * debug/tst-backtrace2.c: New file.
13412 * debug/tst-backtrace3.c: Likewise.
13413 * debug/tst-backtrace4.c: Likewise.
13414 * debug/tst-backtrace5.c: Likewise.
13415 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13416 (CFLAGS-tst-backtrace3.c): Likewise.
13417 (CFLAGS-tst-backtrace4.c): Likewise.
13418 (CFLAGS-tst-backtrace5.c): Likewise.
13419 (LDFLAGS-tst-backtrace2): Likewise.
13420 (LDFLAGS-tst-backtrace3): Likewise.
13421 (LDFLAGS-tst-backtrace4): Likewise.
13422 (LDFLAGS-tst-backtrace5): Likewise.
13423 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13424 tst-backtrace4 and tst-backtrace5.
13426 2013-01-18 Anton Blanchard <anton@samba.org>
13427 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13429 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13430 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13431 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13432 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13434 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13435 "+r" and remove output regs list as redundant. Add explicit inline
13436 asm to specify register of return val to work around compiler codegen
13437 bug. Remove (int) cast on return value. Add return type parameter to
13438 use in macro so that this macro does not truncate return value for
13440 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13441 pass to INTERNAL_VSYSCALL_NCS.
13442 (INLINE_VSYSCALL): Add 'long int' as return type to
13443 INTERNAL_VSYSCALL_NCS macro invocation.
13444 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13445 INTERNAL_VSYSCALL_NCS macro invocation.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13448 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13451 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13452 Fix application of SIMD FP exception mask.
13454 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13455 mp_no from a power of two.
13456 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13457 __mpexp_twomm1. Use __pow_mp.
13459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13462 2013-01-17 David S. Miller <davem@davemloft.net>
13464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13466 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13469 * include/complex.h: Condition contents on [!_COMPLEX_H].
13470 (__kernel_casinhf): New prototype.
13471 (__kernel_casinh): Likewise.
13472 (__kernel_casinhl): Likewise.
13473 * math/Makefile (libm_calls): Add k_casinh.
13474 * math/k_casinh.c: New file.
13475 * math/k_casinhf.c: Likewise.
13476 * math/k_casinhl.c: Likewise.
13477 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13478 finite nonzero arguments.
13479 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13480 finite nonzero arguments.
13481 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13482 finite nonzero arguments.
13483 * math/s_casinh.c: Do not include <float.h>.
13484 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13485 * math/s_casinhf.c: Do not include <float.h>.
13486 (__casinhf): Move code for finite nonzero arguments to
13488 * math/s_casinhl.c: Do not include <float.h>.
13489 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13491 (__casinhl): Move code for finite nonzero arguments to
13493 * math/libm-test.inc (cacos_test): Add more tests.
13494 * sysdeps/i386/fpu/libm-test-ulps: Update.
13495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13497 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13499 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13500 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13501 [!HAVE_MREMAP]: Remove [defined linux] case.
13502 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13504 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13506 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13508 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13510 * elf/elf.h (R_386_SIZE32): New relocation.
13511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13513 (elf_machine_rela): Likewise.
13514 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13515 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13517 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13519 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13520 (FP_FAST_FMA): Do not define.
13521 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13522 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13523 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13524 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13525 !_SOFT_FLOAT]: Likewise.
13526 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13527 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13529 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13530 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13531 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13532 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13533 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13534 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13537 2013-01-16 Andreas Schwab <schwab@suse.de>
13540 * include/stdlib.h (__mktemp): Add declaration.
13541 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13542 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13544 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13546 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13548 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13549 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13550 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13552 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13553 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13555 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13557 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13558 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13559 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13561 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13562 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13564 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13566 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13568 2013-01-15 David S. Miller <davem@davemloft.net>
13570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13571 trunc{,f} to libm-sysdep_routes.
13572 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13582 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13583 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13584 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13585 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13586 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13587 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13590 nearbyint{,f} to libm-sysdep_routes.
13591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13602 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13604 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13605 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13607 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13608 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13609 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13611 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13612 libc_feholdexcept and libc_fesetenv.
13614 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13616 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13618 2013-01-14 David S. Miller <davem@davemloft.net>
13620 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13621 (SPARC_ASM_VIS2_IFUNC): Likewise.
13622 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13624 use of 'siam' instruction.
13625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13658 routines to libm-sysdep_routines.
13659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13662 fdim/fdimf to libm-sysdep_routines.
13663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13671 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13672 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13673 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13674 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13676 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13678 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13679 to optimize copies.
13681 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13686 local variable MPTWO.
13687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13690 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13692 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13695 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13697 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13699 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13701 * manual/pattern.texi (glob_t): Document gl_flags.
13702 (glob64_t): Likewise.
13704 2013-01-11 David S. Miller <davem@davemloft.net>
13706 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13707 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13708 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13709 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13710 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13711 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13712 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13713 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13714 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13715 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13716 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13717 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13718 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13720 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13721 sparc V9 rather than using V8 code.
13722 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13723 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13725 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13727 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13730 2013-01-11 Roland McGrath <roland@hack.frob.com>
13732 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13733 not in the main loop.
13734 * configure: Regenerated.
13736 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13738 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13739 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13741 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13742 [!__GLIBC_HAVE_LONG_LONG] case.
13743 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13744 condition to just #else.
13745 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13746 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13747 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13748 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13750 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13751 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13752 #elif condition to just #else.
13753 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13754 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13755 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13756 #elif condition to just #else.
13758 2013-01-11 Steve Ellcey <sellcey@mips.com>
13760 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13761 (EF_MIPS_ARCH_64): Fix value.
13762 (EF_MIPS_ARCH_32R2): New.
13763 (EF_MIPS_ARCH_64R2): New.
13765 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13767 * Makeconfig (+link-pie-before-libc): New.
13768 (+link-pie-after-libc): Likewise.
13769 (+link-pie-tests): Likewise.
13770 (+link-pie): Rewritten.
13771 (link-before-libc): Remove $(config-LDFLAGS).
13772 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13773 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13774 (config-LDFLAGS): Renamed to ...
13775 (rtld-LDFLAGS): This.
13776 (rtld-tests-LDFLAGS): New macro.
13777 (link-libc-rpath-link): Likewise.
13778 (link-libc-tests-rpath-link): Likewise.
13779 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13780 (link-libc): Prepand $(link-libc-rpath-link).
13781 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13782 (test-program-prefix): New macro.
13783 (test-via-rtld-prefix): Likewise.
13784 (test-program-cmd): Likewise.
13785 (host-test-program-cmd): Likewise.
13786 * Makefile ($(common-objpfx)testrun.sh): Replace
13787 $(run-program-prefix) with $(test-program-prefix).
13788 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13790 ($(common-objpfx)shlib.lds): Likewise.
13791 (build-module-helper): Likewise.
13792 ($(common-objpfx)format.lds): Likewise.
13793 * Rules (binaries-pie-tests): New.
13794 (binaries-pie-notests): Likewise.
13795 (binaries-pie): Rewritten.
13796 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13797 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13798 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13799 (make-test-out): Replace $(host-built-program-cmd) with
13800 $(host-test-program-cmd).
13801 * config.make.in (build-hardcoded-path-in-tests): New variable.
13802 * configure.in (--enable-hardcoded-path-in-tests): New configure
13804 (hardcoded_path_in_tests): New AC_SUBST.
13805 * configure: Regenerated.
13806 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13807 $(built-program-cmd) with $(test-program-cmd).
13808 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13809 (test_program_cmd): This.
13810 * elf/Makefile ($(objpfx)order.out): Run test with
13811 $(test-program-prefix).
13812 ($(objpfx)order2.out): Likewise.
13813 ($(objpfx)tst-initorder.out): Likewise.
13814 ($(objpfx)tst-initorder2.out): Likewise.
13815 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13816 $(test-program-cmd).
13817 ($(objpfx)tst-array1-static.out): Likewise.
13818 ($(objpfx)tst-array2.out): Likewise.
13819 ($(objpfx)tst-array3.out): Likewise.
13820 ($(objpfx)tst-array4.out): Likewise.
13821 ($(objpfx)tst-array5.out): Likewise.
13822 ($(objpfx)tst-array5-static.out): Likewise.
13823 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13824 $(test-program-cmd).
13825 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13826 $(run-program-prefix) with $(test-program-prefix).
13827 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13828 (test_program_prefix): This.
13829 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13830 $(run-program-prefix) with $(test-program-prefix).
13831 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13832 (test_program_prefix): This.
13833 * iconvdata/tst-tables.sh: Likewise.
13834 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13835 $(run-program-prefix) with $(test-program-prefix).
13836 ($(objpfx)tst-translit.out): Likewise.
13837 ($(objpfx)tst-gettext2.out): Likewise.
13838 ($(objpfx)tst-gettext4.out): Likewise.
13839 ($(objpfx)tst-gettext6.out): Likewise.
13840 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13841 (test_program_prefix): This.
13842 * intl/tst-gettext2.sh: Likewise.
13843 * intl/tst-gettext4.sh Likewise.
13844 * intl/tst-gettext6.sh: Likewise.
13845 * intl/tst-translit.sh: Likewise.
13846 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13847 with $(test-program-cmd).
13848 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13849 $(run-program-prefix) with $(test-program-prefix).
13850 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13851 (test_program_prefix): This.
13852 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13853 $(run-program-prefix) with $(test-program-prefix).
13854 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13855 (test_program_prefix): This.
13856 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13857 * posix/Makefile ($(objpfx)globtest.out): Replace
13858 $(run-via-rtld-prefix) and $(test-wrapper) with
13859 $(test-program-prefix) and $(test-via-rtld-prefix).
13860 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13861 $(test-program-prefix).
13862 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13863 $(host-test-program-cmd).
13864 (tst-spawn-ARGS): Likewise.
13865 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13866 $(test-program-prefix).
13867 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13868 (test_via_rtld_prefix): This.
13869 (test_wrapper): Renamed to ...
13870 (test_program_prefix): This.
13871 (run_program_prefix): Replaced by test_program_prefix.
13872 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13873 (test_program_prefix): This.
13874 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13875 with $(host-test-program-cmd).
13876 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13877 $(run-program-prefix) with $(test-program-prefix).
13878 ($(objpfx)tst-printf.out): Likewise.
13879 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13880 $(test-program-cmd).
13881 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13882 (test_program_prefix): This.
13883 * stdio-common/tst-unbputc.sh: Likewise.
13884 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13885 $(run-program-prefix) with $(test-program-prefix).
13886 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13887 (test_program_prefix): This.
13888 * string/Makefile ($(objpfx)tst-svc.out): Replace
13889 $(built-program-cmd) with $(test-program-cmd).
13891 2013-01-11 Andreas Jaeger <aj@suse.de>
13894 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13895 value. Sync with Linux 3.7.
13897 2013-01-10 David S. Miller <davem@davemloft.net>
13899 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13900 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13901 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13903 2013-01-10 Roland McGrath <roland@hack.frob.com>
13905 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13907 * configure: Regenerated.
13909 2013-01-10 David S. Miller <davem@davemloft.net>
13911 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13912 sparc V9 rather than using V8 code.
13913 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13914 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13916 2013-01-10 Roland McGrath <roland@hack.frob.com>
13918 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13919 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13920 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13921 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13922 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13923 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13924 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13925 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13926 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13927 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13928 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13929 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13930 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13931 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13932 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13933 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13934 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13935 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13936 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13937 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13938 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13939 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13940 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13941 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13942 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13943 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13944 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13946 2013-01-10 David S. Miller <davem@davemloft.net>
13948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13950 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13952 * posix/Makefile (tests-static): New variable.
13953 (tests): Add $(tests-static).
13954 (tst-exec-static-ARGS): New variable.
13955 (tst-spawn-static-ARGS): Likewise.
13956 * posix/tst-exec-static.c: New file.
13957 * posix/tst-spawn-static.c: Likewise.
13958 * posix/tst-exec.c: Support run directly.
13959 * posix/tst-spawn.c: Likewise.
13961 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13963 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13965 * math/bits/mathcalls.h (llrint): Likewise.
13966 (llround): Likewise.
13967 * stdlib/stdlib.h (struct drand48_data): Likewise.
13968 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13969 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13970 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13972 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13974 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13975 (elf_greg_t): Likewise.
13976 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13977 (__jmp_buf): Likewise.
13978 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13980 (llrint): Likewise, for all definitions.
13981 (llrintl): Likewise.
13983 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13984 Remove [__GNUC__] condition.
13985 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13986 condition to just [__USE_ISOC99].
13987 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13989 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13992 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13993 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13995 (_POSIX_V6_ILP32_OFF32): Likewise.
13996 (_XBS5_ILP32_OFF32): Likewise.
13997 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13998 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14000 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14002 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14005 doubles __mpexp_twomm1. Adjust usage.
14006 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14009 2013-01-10 Andreas Schwab <schwab@suse.de>
14012 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14013 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14015 2013-01-09 David S. Miller <davem@davemloft.net>
14018 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14019 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14020 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14021 TCP_FASTOPEN): Define.
14022 (tcp_repair_opt): New structure.
14023 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14025 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14026 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14027 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14028 (tcp_cookie_transactions): New structure.
14030 2013-01-09 Anton Blanchard <anton@samba.org>
14032 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14033 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14034 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14035 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14037 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14039 * include/features.h (__USE_ANSI): Remove.
14041 2013-01-09 Roland McGrath <roland@hack.frob.com>
14043 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14045 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14047 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14049 * sysdeps/s390/fpu/libm-test-ulps: Update.
14051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14053 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14057 (denorm): Likewise.
14058 (__mp_dbl): Likewise.
14059 (__dbl_mp): Likewise.
14060 (add_magnitudes): Likewise.
14061 (sub_magnitudes): Likewise.
14067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14071 (denorm): Likewise.
14072 (__mp_dbl): Likewise.
14073 (__dbl_mp): Likewise.
14074 (add_magnitudes): Likewise.
14075 (sub_magnitudes): Likewise.
14081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14085 (denorm): Likewise.
14086 (__mp_dbl): Likewise.
14087 (__dbl_mp): Likewise.
14088 (add_magnitudes): Likewise.
14089 (sub_magnitudes): Likewise.
14096 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14098 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14099 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14100 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14101 2 && __USE_EXTERN_INLINES]: Likewise.
14103 2013-01-08 Andreas Jaeger <aj@suse.de>
14106 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14108 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14109 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14111 2013-01-07 Anton Blanchard <anton@samba.org>
14113 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14114 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14115 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14116 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14117 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14118 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14119 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14120 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14122 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14123 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14124 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14125 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14126 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14127 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14128 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14129 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14130 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14131 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14132 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14133 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14134 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14136 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14137 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14138 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14139 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14140 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14142 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14143 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14145 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14146 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14147 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14148 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14149 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14150 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14151 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14153 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14154 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14155 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14157 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14159 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14160 (__MALLOC_PMT): Likewise.
14161 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14162 [__GNUC__], only on [_LIBC].
14163 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14164 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14165 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14166 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14167 forward declaration.
14168 (realloc_hook_ini): Likewise.
14169 (memalign_hook_ini): Likewise.
14170 (__libc_memalign): Do not use __MALLOC_PMT in variable
14172 (__libc_valloc): Likewise.
14173 (__libc_pvalloc): Likewise.
14174 (__libc_calloc): Likewise.
14175 (__posix_memalign): Likewise.
14178 * math/s_casinh.c: Include <float.h>.
14179 (__casinh): Do not do computation with squaring and square root
14180 for large arguments.
14181 * math/s_casinhf.c: Include <float.h>.
14182 (__casinhf): Do not do computation with squaring and square root
14183 for large arguments.
14184 * math/s_casinhl.c: Include <float.h>.
14185 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14186 (__casinhl): Do not do computation with squaring and square root
14187 for large arguments.
14188 * math/libm-test.inc (casin_test): Add more tests.
14189 (casinh_test): Likewise.
14190 * sysdeps/i386/fpu/libm-test-ulps: Update.
14191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14193 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14195 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14196 (__x86_64_raw_data_cache_size): Likewise.
14197 (__x86_64_data_cache_size_half): Likewise.
14198 (__x86_64_raw_data_cache_size_half): Likewise.
14199 (__x86_64_shared_cache_size): Likewise.
14200 (__x86_64_raw_shared_cache_size): Likewise.
14201 (__x86_64_shared_cache_size_half): Likewise.
14202 (__x86_64_raw_shared_cache_size_half): Likewise.
14203 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14205 (__x86_data_cache_size): This.
14206 (__x86_64_raw_data_cache_size): Renamed to ...
14207 (__x86_raw_data_cache_size): This.
14208 (__x86_64_data_cache_size_half): Renamed to ...
14209 (__x86_data_cache_size_half): This.
14210 (__x86_64_raw_data_cache_size_half): Renamed to ...
14211 (__x86_raw_data_cache_size_half): This.
14212 (__x86_64_shared_cache_size): Renamed to ...
14213 (__x86_shared_cache_size): This.
14214 (__x86_64_raw_shared_cache_size): Renamed to ...
14215 (__x86_raw_shared_cache_size): This.
14216 (__x86_64_shared_cache_size_half): Renamed to ...
14217 (__x86_shared_cache_size_half): This.
14218 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14219 (__x86_raw_shared_cache_size_half): This.
14220 * sysdeps/x86_64/memcpy.S: Updated.
14221 * sysdeps/x86_64/memset.S: Likewise.
14222 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14223 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14224 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14226 2013-01-04 David S. Miller <davem@davemloft.net>
14228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14230 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14232 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14233 1 to avoid redefinition warning.
14234 (__USE_GNU): Don't define.
14235 (init_signaling_nan): Protoize.
14237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14239 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14241 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14243 (__cpymn): Likewise.
14244 (norm): Remove commented code.
14245 (denorm): Likewise.
14246 (__mp_dbl): Likewise.
14248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14249 (__cpymn): Likewise.
14250 (norm): Remove commented code.
14251 (denorm): Likewise.
14252 (__mp_dbl): Likewise.
14255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14256 mp_no value for 1.0 and 2.0.
14257 (norm): Use RADIXI instead of radixi.d.
14258 (denorm): Likewise.
14259 (__mul): Use 0.0 instead of zero.d.
14260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14261 mp_no value for 1.0 and 2.0.
14262 (norm): Use RADIXI instead of radixi.d.
14263 (denorm): Likewise.
14264 (__mul): Use 0.0 instead of zero.d.
14266 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14269 * math/s_casinh.c (__casinh): Reduce finite argument to first
14270 quadrant then set signs of results at the end.
14271 * math/s_casinhf.c (__casinhf): Likewise.
14272 * math/s_casinhl.c (__casinhl): Likewise.
14273 * math/libm-test.inc (casin_test): Add more tests.
14274 (casinh_test): Likewise.
14275 * sysdeps/i386/fpu/libm-test-ulps: Update.
14276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14278 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14280 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14282 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14284 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14286 (denorm): Likewise.
14287 (__mp_dbl): Likewise.
14290 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14291 and adjust the header comment.
14293 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14294 variable name from declaration.
14296 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14299 Initialize COMMON_CPUID_INDEX_7 element.
14300 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14301 (CPUID_RTM): Likewise.
14302 (HAS_RTM): Likewise.
14303 (COMMON_CPUID_INDEX_7): New enum.
14305 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14308 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14309 size is zero, record memory as freed.
14311 2013-01-03 Andreas Jaeger <aj@suse.de>
14313 * po/ia.po: Add new Interlingua translation.
14315 2012-01-03 Allan McRae <allan@archlinux.org>
14317 * locale/programs/localedef.c: Fix description of '--posix' flag.
14319 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14321 * NEWS: Update dates in second copyright notice.
14322 * README: Update copyright dates in example.
14323 * manual/libc.texinfo: Update copyright dates.
14324 * scripts/test-installation.pl: Update copyright date in --version
14327 * hurd/ctty-input.c: Fix copyright notice formatting.
14328 * hurd/ctty-output.c: Likewise.
14329 * hurd/dtable.c: Likewise.
14330 * hurd/hurd-raise.c: Likewise.
14331 * hurd/hurdprio.c: Likewise.
14332 * hurd/msgportdemux.c: Likewise.
14333 * misc/sys/file.h: Likewise.
14334 * misc/sys/ioctl.h: Likewise.
14335 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14336 * sysdeps/mach/hurd/chdir.c: Likewise.
14337 * sysdeps/mach/hurd/fchdir.c: Likewise.
14338 * sysdeps/mach/hurd/rename.c: Likewise.
14339 * sysdeps/mach/hurd/rmdir.c: Likewise.
14340 * sysdeps/mach/hurd/seekdir.c: Likewise.
14341 * sysdeps/mach/hurd/setsid.c: Likewise.
14342 * sysdeps/posix/wait3.c: Likewise.
14344 * All files with FSF copyright notices: Update copyright dates
14345 using scripts/update-copyrights.
14346 * intl/plural.c: Regenerated.
14347 * locale/programs/charmap-kw.h: Likewise.
14348 * locale/programs/locfile-kw.h: Likewise.
14350 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14352 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14355 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14356 calculation loop and add branch prediction.
14358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14359 check access beyond bounds of m1np.
14361 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14363 (__inv): Remove local variable MPTWO to use the global
14365 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14366 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14368 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14369 MP3HALFS static const.
14371 2013-01-01 David S. Miller <davem@davemloft.net>
14373 * po/ca.po: Update from translation team.
14375 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14377 * scripts/update-copyrights: New file.
14378 * Makeconfig: Reformat copyright notice.
14379 * ctype/ctype.h: Likewise.
14380 * debug/swprintf_chk.c: Likewise.
14381 * elf/dl-cache.c: Likewise.
14382 * elf/dl-debug.c: Likewise.
14383 * elf/dl-object.c: Likewise.
14384 * grp/initgroups.c: Likewise.
14385 * hurd/Makefile: Likewise.
14386 * hurd/hurd/signal.h: Likewise.
14387 * hurd/hurdfault.c: Likewise.
14388 * hurd/hurdioctl.c: Likewise.
14389 * hurd/hurdlookup.c: Likewise.
14390 * hurd/intr-msg.c: Likewise.
14391 * iconv/gconv_open.c: Likewise.
14392 * libio/swprintf.c: Likewise.
14393 * locale/lc-ctype.c: Likewise.
14394 * locale/nl_langinfo.c: Likewise.
14395 * mach/Machrules: Likewise.
14396 * mach/Makefile: Likewise.
14397 * malloc/obstack.h: Likewise.
14398 * manual/Makefile: Likewise.
14399 * manual/tsort.awk: Likewise.
14400 * misc/bits/stab.def: Likewise.
14401 * nis/nis_print_group_entry.c: Likewise.
14402 * nis/nis_table.c: Likewise.
14403 * nis/nss_compat/compat-pwd.c: Likewise.
14404 * nis/nss_compat/compat-spwd.c: Likewise.
14405 * po/Makefile: Likewise.
14406 * posix/fnmatch.c: Likewise.
14407 * posix/regex.h: Likewise.
14408 * resolv/Makefile: Likewise.
14409 * resolv/nss_dns/dns-network.c: Likewise.
14410 * resolv/res_hconf.c: Likewise.
14411 * scripts/gen-sorted.awk: Likewise.
14412 * soft-fp/soft-fp.h: Likewise.
14413 * stdio-common/printf.h: Likewise.
14414 * stdlib/monetary.h: Likewise.
14415 * stdlib/random.c: Likewise.
14416 * stdlib/random_r.c: Likewise.
14417 * sysdeps/generic/Makefile: Likewise.
14418 * sysdeps/gnu/Makefile: Likewise.
14419 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14426 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14427 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14428 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14429 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14430 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14431 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14432 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14433 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14434 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14435 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14436 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14437 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14439 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14440 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14442 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14443 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14447 * sysdeps/mach/hurd/errnos.awk: Likewise.
14448 * sysdeps/mach/hurd/fork.c: Likewise.
14449 * sysdeps/mach/hurd/getcwd.c: Likewise.
14450 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14451 * sysdeps/mach/hurd/mmap.c: Likewise.
14452 * sysdeps/mach/hurd/utimes.c: Likewise.
14453 * sysdeps/mach/hurd/xmknod.c: Likewise.
14454 * sysdeps/posix/profil.c: Likewise.
14455 * sysdeps/posix/readdir_r.c: Likewise.
14456 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14457 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14458 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14459 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14461 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14462 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14463 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14465 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14466 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14467 * sysdeps/pthread/lio_listio.c: Likewise.
14468 * sysdeps/sparc/dl-procinfo.h: Likewise.
14469 * sysdeps/unix/i386/sysdep.S: Likewise.
14470 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14471 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14472 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14473 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14475 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14476 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14477 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14478 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14479 * sysdeps/wordsize-32/divdi3.c: Likewise.
14480 * time/sys/time.h: Likewise.
14481 * wcsmbs/Makefile: Likewise.
14483 2013-01-01 David S. Miller <davem@davemloft.net>
14485 * po/fr.po: Update from translation team.
14487 * catgets/gencat.c: Update copyright year.
14488 * csu/version.c: Likewise.
14489 * debug/catchsegv.sh: Likewise.
14490 * debug/pcprofiledump.c: Likewise.
14491 * debug/xtrace.sh: Likewise.
14492 * elf/ldconfig.c: Likewise.
14493 * elf/ldd.bash.in: Likewise.
14494 * elf/pldd.c: Likewise.
14495 * elf/sotruss.ksh: Likewise.
14496 * elf/sprof.c: Likewise.
14497 * iconv/iconv_prog.c: Likewise.
14498 * iconv/iconvconfig.c: Likewise.
14499 * locale/programs/locale.c: Likewise.
14500 * locale/programs/localedef.c: Likewise.
14501 * login/programs/pt_chown.c: Likewise.
14502 * malloc/memusage.sh: Likewise.
14503 * malloc/memusagestat.c: Likewise.
14504 * malloc/mtrace.pl: Likewise.
14505 * nscd/nscd.c: Likewise.
14506 * nss/getent.c: Likewise.
14507 * nss/makedb.c: Likewise.
14508 * posix/getconf.c: Likewise.
14510 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14512 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14515 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14517 * math/bits/mathcalls.h (modf): Use __nonnull.
14519 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14521 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14522 (split): Use macro CN instead of the bare value.
14523 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14526 instead of the bare value.
14527 (power1): Likewise.
14529 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14531 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14533 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14535 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14537 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14538 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14539 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14540 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14542 2012-12-28 Andreas Jaeger <aj@suse.de>
14544 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14545 values are from Linux 3.7.
14547 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14548 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14550 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14552 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14555 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14557 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14558 variables with preprocessor constants.
14559 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14560 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14561 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14563 2012-12-27 Bruno Haible <bruno@clisp.org>
14566 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14569 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14571 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14572 and use variable directly.
14573 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14575 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14577 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14582 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14583 include directive. Remove local variable MPONE.
14584 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14585 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14586 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14588 2012-12-25 David S. Miller <davem@davemloft.net>
14590 * version.h (RELEASE): Set to "development".
14591 (VERSION): Set to "2.17.90".
14592 * NEWS: Add 2.18 section.
14594 2012-12-21 David S. Miller <davem@davemloft.net>
14596 * po/hr.po: Update from translation team.
14598 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14600 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14602 2012-12-19 Steve Ellcey <sellcey@mips.com>
14604 * NEWS: Mention new memcpy for MIPS.
14606 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14608 * manual/contrib.texi (Contributors): Spelling correction.
14610 2012-12-15 David S. Miller <davem@davemloft.net>
14612 * po/ru.po: Update from translation team.
14614 2012-12-13 David S. Miller <davem@davemloft.net>
14616 * NEWS: Mention IFUNC testsuite enhancements.
14618 * po/pl.po: Update from translation team.
14619 * po/bg.po: Likewise.
14621 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14622 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14624 2012-12-11 David S. Miller <davem@davemloft.net>
14626 * po/sv.po: Update from translation team.
14628 * po/vi.po: Update from translation team.
14630 * po/cs.po: Update from translation team.
14632 * po/de.po: Update from translation team.
14633 * po/eo.po: Likewise.
14634 * po/nl.po: Likewise.
14636 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14639 * manual/argp.texi (Argp Helper Functions): Move node to follow
14640 Argp Parsing State.
14643 * manual/conf.texi (Limits on File System Capacity): Mention if
14644 terminating null is included in the max size.
14646 2012-12-10 Andreas Jaeger <aj@suse.de>
14648 * po/cs.po: Update from translation team.
14650 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14652 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14653 void pointer and cast to uintptr_t.
14654 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14656 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14657 * sysdeps/s390/s390-64/memset.S: Likewise.
14659 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14662 * menual/message.texi (Message Translation): Fix typos.
14663 (Helper programs for gettext): Likewise.
14665 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14668 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14671 2012-12-07 David S. Miller <davem@davemloft.net>
14673 * po/libc.pot: Update.
14675 2012-12-07 Richard Henderson <rth@redhat.com>
14678 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14679 normal/normal case to before the switch.
14680 (_FP_DIV): Likewise.
14682 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14683 Mike Frysinger <vapier@gentoo.org>
14685 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14686 check for __NR_fadvise64_64.
14688 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14690 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14691 0, not just to plain "0" as a statement.
14692 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14695 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14697 * NEWS: Use sourceware.org in Bugzilla URL.
14699 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14702 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14704 * stdio-common/tst-put-error.c (do_test): Add newline to the
14705 padded test to ensure flush.
14707 2012-12-05 Jeff Law <law@redhat.com>
14709 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14711 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14713 * README: Don't refer to ports add-on as distributed separately.
14714 Mention AArch64 in list of systems supported in the ports add-on.
14716 * LICENSES: Add more non-FSF copyright and license notices.
14718 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14721 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14723 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14724 10000 as width of padded output.
14726 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14728 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14730 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14731 variable LX with __attribute__ ((unused)).
14732 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14734 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14736 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14737 with __attribute__ ((unused)).
14739 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14741 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14743 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14745 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14746 (CFLAGS-nldbl-acos.c): New variable.
14747 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14748 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14749 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14750 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14751 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14752 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14753 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14754 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14755 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14756 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14757 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14758 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14759 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14760 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14761 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14762 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14763 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14764 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14765 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14766 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14767 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14768 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14769 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14770 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14771 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14772 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14773 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14774 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14775 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14776 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14777 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14778 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14779 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14780 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14781 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14782 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14783 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14784 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14785 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14786 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14787 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14788 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14789 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14790 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14791 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14792 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14793 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14794 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14795 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14796 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14797 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14798 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14799 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14800 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14801 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14802 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14803 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14804 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14805 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14806 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14807 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14808 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14809 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14810 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14811 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14812 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14813 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14814 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14815 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14816 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14817 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14818 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14819 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14820 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14821 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14822 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14823 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14824 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14825 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14826 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14827 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14828 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14829 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14830 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14831 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14832 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14833 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14834 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14835 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14836 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14837 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14838 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14839 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14840 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14841 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14842 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14843 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14846 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14849 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14850 whole low double instead of just low 47 bits when splitting values
14853 2012-12-03 Allan McRae <allan@archlinux.org>
14855 * manual/stdio.texi (Predefined Printf Handlers): Remove
14856 @hsep and @vsep usage.
14858 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14860 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14861 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14863 2012-12-03 Jeff Law <law@redhat.com>
14865 * time/sys/time.h (settimeofday): Do not mark TV argument
14868 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14870 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14871 when currently writing and seek to current position when not.
14872 * libio/Makefile (tests): Remove bug-fclose1.
14873 * libio/bug-fclose1.c: Delete.
14875 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14877 * manual/arith.texi (feenableexcept): Fix typo.
14878 (fedisableexcept): Likewise.
14880 2012-11-30 Roland McGrath <roland@hack.frob.com>
14882 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14883 second, differently-typed declaration, rather than a cast.
14885 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14887 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14888 * include/rpc/svc.h: ... here.
14890 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14893 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14894 depending n and resplen2 to catch cases where answer
14897 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14899 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14900 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14902 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14906 2012-11-29 Roland McGrath <roland@hack.frob.com>
14908 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14910 2012-11-28 Jeff Law <law@redhat.com>
14913 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14914 dataset_temporary. Track alloca usage into alloca_used.
14915 If dataset is large allocate and release it via malloc/free.
14917 2012-06-04 Florian Weimer <fweimer@redhat.com>
14920 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14922 2012-11-28 David S. Miller <davem@davemloft.net>
14924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14926 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14929 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14930 of pi/2 rounded to nearest to 64 bits.
14931 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14932 nearest to 64 bits.
14933 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14936 2012-11-28 Jeff Law <law@redhat.com>
14937 Martin Osvald <mosvald@redhat.com>
14940 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14941 * sunrpc/svc.c: Include time.h.
14942 (__svc_accept_failed): New function.
14943 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14944 any reason other than EINTR, call __svc_accept_failed.
14945 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14946 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14948 2012-11-28 Andreas Schwab <schwab@suse.de>
14950 * scripts/abilist.awk: Also handle indirect functions in .opd
14953 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14956 * sysdeps/x86/fpu/powl_helper.c: New file.
14957 * sysdeps/x86/fpu/Makefile: Likewise.
14958 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14960 (__ieee754_powl): Use __powl_helper for finite arguments except
14961 integer exponents below 8.
14962 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14964 (__ieee754_powl): Use __powl_helper for finite arguments except
14965 integer exponents below 8.
14966 * math/libm-test.inc (pow_test): Add more tests and enable some
14967 previously disabled tests.
14968 * sysdeps/i386/fpu/libm-test-ulps: Update.
14969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14971 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14972 Carlos O'Donell <carlos_odonell@mentor.com>
14974 * nss/makedb.c (is_prime): Assert that input is odd and greater
14975 than 4. Note that fact in a comment too.
14976 (next_prime): Add 4 to input.
14978 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14981 * libio/Makefile (tests): Add test case tst-fwrite-error.
14982 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14983 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14984 * libio/tst-fwrite-error.c: New test case.
14986 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14988 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14989 before casting to void *.
14990 * include/libc-internal.h (__pointer_type): New macro.
14991 (__integer_if_pointer_type_sub): Likewise.
14992 (__integer_if_pointer_type): Likewise.
14993 (cast_to_integer): Likewise.
14994 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14995 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14996 before casting to atomic64_t.
14997 (atomic_exchange_acq): Likewise.
14998 (__arch_exchange_and_add_body): Likewise.
14999 (__arch_add_body): Likewise.
15000 (atomic_add_negative): Likewise.
15001 (atomic_add_zero): Likewise.
15003 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15005 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15006 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15007 (add_fdes): Likewise.
15008 (linear_search_fdes): Likewise.
15009 (binary_search_unencoded_fdes): Likewise.
15011 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15013 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15015 2012-11-24 Adam Conrad <adconrad@0c3.net>
15017 * configure.in: Autodetect C++ header directories.
15018 * configure: Regenerated.
15020 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15022 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15024 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15028 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15030 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15031 LDBL_MANT_DIG == 106]: Disable some tests.
15032 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15034 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15038 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15039 input for small inputs. Return +/- pi/2 for large inputs.
15040 * math/libm-test.inc (atan_test): Add more tests.
15042 * sysdeps/generic/unwind-dw2-fde-glibc.c
15043 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15044 __attribute__ ((unused)).
15047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15048 x * y if x and y are nonzero and z is zero.
15051 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15052 nonzero exponents with absolute value below 0x1p-117 to +/-
15056 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15057 up arguments below 2**-450, not just those below 2**-500.
15058 * math/libm-test.inc (hypot_test): Add another test.
15061 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15062 Return a+b for ratio over 2**120, not 2**60.
15063 * math/libm-test.inc (hypot_test): Add another test.
15065 * math/libm-test.inc (clog_test): Use
15066 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15067 (clog10_test): Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15072 2012-11-22 Andreas Schwab <schwab@suse.de>
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15076 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15078 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15079 printf output with newline.
15081 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15084 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15085 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15086 -z nodlopen, -z initfirst and -z execstack support.
15087 * configure: Regenerated.
15089 * elf/elf.h (DF_1_NODIRECT): New macro.
15090 (DF_1_IGNMULDEF): Likewise.
15091 (DF_1_NOKSYMS): Likewise.
15092 (DF_1_NOHDR): Likewise.
15093 (DF_1_EDITED): Likewise.
15094 (DF_1_NORELOC): Likewise.
15095 (DF_1_SYMINTPOSE): Likewise.
15096 (DF_1_GLOBAUDIT): Likewise.
15097 (DF_1_SINGLETON): Likewise.
15098 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15099 DT_1_SUPPORTED_MASK bits.
15100 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15102 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15104 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15106 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15108 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15111 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15112 (sendmmsg): Move declarations...
15113 * socket/sys/socket.h: ... here.
15114 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15115 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15117 * socket/recvmmsg.c: ... this new file.
15118 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15119 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15120 definition of __sendmmsg hidden.
15121 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15122 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15123 Move ENOSYS stub into and include it from...
15124 * socket/sendmmsg.c: ... this new file.
15125 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15126 (sysdep_routines): Move recvmmsg and sendmmsg...
15127 * socket/Makefile (routines): ... here.
15128 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15129 (GLIBC_PRIVATE): Add __sendmmsg.
15130 * include/sys/socket.h (__sendmmsg): Add declarations.
15131 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15134 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15136 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15137 variable I1 with __attribute__ ((unused)).
15138 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15140 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15142 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15143 DUMMY variables with __attribute__ ((unused)).
15145 * bits/byteswap.h: Include <bits/types.h>.
15146 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15148 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15150 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15151 string_t. Do not manually set errno.
15152 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15153 length with __strnlen. Make sure to both set errno and return it on
15156 2012-11-19 David S. Miller <davem@davemloft.net>
15158 With help from Joseph Myers.
15159 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15160 very large arguments properly.
15161 * math/libm-test.inc (atan_test): New tests.
15162 (atan2_test): New tests.
15163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15166 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15169 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15172 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15173 [POSIX] (EADDRNOTAVAIL): Likewise.
15174 [POSIX] (EAFNOSUPPORT): Likewise.
15175 [POSIX] (EALREADY): Likewise.
15176 [POSIX] (ECONNABORTED): Likewise.
15177 [POSIX] (ECONNREFUSED): Likewise.
15178 [POSIX] (ECONNRESET): Likewise.
15179 [POSIX] (EDESTADDRREQ): Likewise.
15180 [POSIX] (EDQUOT): Likewise.
15181 [POSIX] (EHOSTUNREACH): Likewise.
15182 [POSIX] (EIDRM): Likewise.
15183 [POSIX] (EISCONN): Likewise.
15184 [POSIX] (ELOOP): Likewise.
15185 [POSIX] (EMULTIHOP): Likewise.
15186 [POSIX] (ENETDOWN): Likewise.
15187 [POSIX] (ENETUNREACH): Likewise.
15188 [POSIX] (ENOBUFS): Likewise.
15189 [POSIX] (ENODATA): Likewise.
15190 [POSIX] (ENOLINK): Likewise.
15191 [POSIX] (ENOMSG): Likewise.
15192 [POSIX] (ENOPROTOOPT): Likewise.
15193 [POSIX] (ENOSR): Likewise.
15194 [POSIX] (ENOSTR): Likewise.
15195 [POSIX] (ENOTCONN): Likewise.
15196 [POSIX] (ENOTSOCK): Likewise.
15197 [POSIX] (EOPNOTSUPP): Likewise.
15198 [POSIX] (EOVERFLOW): Likewise.
15199 [POSIX] (EPROTO): Likewise.
15200 [POSIX] (EPROTONOSUPPORT): Likewise.
15201 [POSIX] (EPROTOTYPE): Likewise.
15202 [POSIX] (ESTALE): Likewise.
15203 [POSIX] (ETIME): Likewise.
15204 [POSIX] (ETXTBSY): Likewise.
15205 [POSIX] (EWOULDBLOCK): Likewise.
15206 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15207 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15208 [POSIX] (SEEK_CUR): Likewise.
15209 [POSIX] (SEEK_END): Likewise.
15210 [POSIX || UNIX98] (mode_t): Do not require.
15211 [POSIX] (off_t): Likewise.
15212 [POSIX] (pid_t): Likewise.
15213 [POSIX] (sys/stat.h): Do not allow header.
15214 [POSIX] (unistd.h): Likewise.
15215 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15216 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15217 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15218 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15220 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15221 sigevent): Specify elements.
15222 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15224 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15225 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15227 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15228 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15229 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15230 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15231 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15232 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15233 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15234 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15235 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15236 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15237 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15238 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15239 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15240 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15242 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15244 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15246 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15248 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15249 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15250 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15251 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15252 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15253 Specify lower bound on value.
15254 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15255 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15256 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15257 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15258 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15259 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15260 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15261 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15263 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15265 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15266 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15267 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15268 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15269 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15270 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15271 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15272 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15273 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15274 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15275 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15276 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15277 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15278 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15279 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15280 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15282 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15284 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15285 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15286 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15287 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15288 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15289 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15291 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15292 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15293 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15294 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15295 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15296 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15297 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15299 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15300 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15301 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15302 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15303 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15304 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15305 specify as optional.
15306 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15307 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15308 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15309 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15310 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15311 [XPG3] (NL_LANGMAX): Likewise.
15312 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15313 [POSIX || XPG3] (NL_NMAX): Likewise.
15314 [POSIX || XPG3] (NL_SETMAX): Likewise.
15315 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15316 [XPG3] (NZERO): Likewise.
15317 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15318 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15319 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15320 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15321 (REG_ERANGE): Expect.
15322 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15324 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15325 Use (void) in prototype.
15326 [POSIX] (*_t): Allow.
15327 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15328 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15329 (WRDE_BADVAL): Expect.
15331 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15333 [XPG3 || XPG4] (O_RSYNC): Likewise.
15334 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15336 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15337 [XPG3 || XPG4] (sigqueue): Likewise.
15338 [XPG3 || XPG4] (sigtimedwait): Likewise.
15339 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15340 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15341 [XPG3 || XPG4] (vsnprintf): Likewise.
15342 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15344 [XPG3 || XPG4] (blksize_t): Likewise.
15345 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15347 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15348 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15349 [XPG3 || XPG4] (struct itimerspec): Likewise.
15350 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15351 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15352 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15353 [XPG3 || XPG4] (clockid_t): Likewise.
15354 [XPG3 || XPG4] (timer_t): Likewise.
15355 [XPG3 || XPG4] (clock_getres): Likewise.
15356 [XPG3 || XPG4] (clock_gettime): Likewise.
15357 [XPG3 || XPG4] (clock_settime): Likewise.
15358 [XPG3 || XPG4] (nanosleep): Likewise.
15359 [XPG3 || XPG4] (timer_create): Likewise.
15360 [XPG3 || XPG4] (timer_delete): Likewise.
15361 [XPG3 || XPG4] (timer_gettime): Likewise.
15362 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15363 [XPG3 || XPG4] (timer_settime): Likewise.
15364 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15365 [XPG3 || XPG4] (getlogin_r): Likewise.
15366 [XPG3 || XPG4] (pread): Likewise.
15367 [XPG3 || XPG4] (pthread_atfork): Likewise.
15368 [XPG3 || XPG4] (pwrite): Likewise.
15371 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15374 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15376 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15377 finalizing MALLSTREAM.
15379 * sysdeps/mach/hurd/syncfs.c: New file.
15381 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15384 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15385 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15386 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15387 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15388 (_nss_dns_gethostbyname4_r): Likewise.
15389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15390 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15392 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15395 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15397 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15399 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15400 * elf/cache.c (print_entry): Print ",AArch64" for
15403 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15404 * elf/cache.c (print_entry): Print ",hard-float" for
15407 2012-11-18 David S. Miller <davem@davemloft.net>
15409 With help from Joseph Myers.
15410 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15412 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15414 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15415 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15417 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15418 * math/libm-test.inc (y0_test): New tests.
15419 (y1_test): New tests.
15420 * sysdeps/i386/fpu/libm-test-ulps: Update.
15421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15424 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15426 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15428 * configure: Regenerated.
15430 2012-11-17 David S. Miller <davem@davemloft.net>
15433 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15434 nonzero exponents with absolute value below 0x1p-128 to +/-
15437 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15439 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15441 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15443 * posix/getconf-speclist.c: New file.
15444 * posix/posix-envs.def: Likewise.
15445 * posix/confstr.c (START_ENV_GROUP): New macro.
15446 (END_ENV_GROUP): Likewise.
15447 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15448 (KNOWN_PRESENT_ENV_STRING): Likewise.
15449 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15450 (UNKNOWN_ENVIRONMENT): Likewise.
15451 (confstr): Include posix-envs.def instead of handling
15452 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15453 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15454 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15455 (END_ENV_GROUP): Likewise.
15456 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15457 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15458 (UNKNOWN_ENVIRONMENT): Likewise.
15459 (__sysconf): Include posix-envs.def instead of handling associated
15460 cases directly here.
15461 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15462 preprocessing getconf-speclist.c rather than running getconf or
15463 generating empty file.
15465 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15467 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15469 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15472 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15474 2012-11-16 David S. Miller <davem@davemloft.net>
15476 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15477 smaller than LDBL_EPSILON/2.0L, just return xm1.
15479 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15481 * elf/tst-array1.c (init): Set constructor priority to 1000.
15482 (fini): Set destructor priority to 1000.
15483 * elf/tst-array2dep.c: Likewise.
15485 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15488 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15489 (_IO_new_file_xsputn): Also return EOF if none of the input
15490 data was written when overflow failed.
15491 * libio/iopadn.c (_IO_padn): Likewise.
15492 * libio/iowpadn.c (_IO_wpadn): Likewise.
15493 * stdio-common/tst-put-error.c: Add copyright notice.
15494 (do_test): Add case for printing padded string.
15495 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15496 _IO_padn returned error.
15497 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15498 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15501 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15503 * libio/libioP.h: Add comment note that the references to C++
15504 bits are now obsolete.
15506 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15508 * math/libm-test.inc (check_complex): Use asprintf.
15510 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15512 * debug/pcprofiledump.c (print_version): Update copyright year.
15513 * malloc/memusagestat.c (print_version): Likewise.
15515 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15518 * elf/Makefile (tests): Add tst-audit8.
15519 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15520 ($(objpfx)tst-audit8.out): New target.
15521 (tst-audit8-ENV): New variable.
15522 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15523 audit if l_reloc_result is NULL.
15524 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15525 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15526 * elf/tst-audit8.c: New file.
15528 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15530 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15531 * misc/Makefile (CFLAGS-select.c): Define.
15532 * posix/Makefile (CFLAGS-pause.c): Define.
15534 2012-11-13 David S. Miller <davem@davemloft.net>
15536 * crypt/Makefile: Move test targets after toplevel Rules
15537 inclusion. Grab any necessary sysdep routines when linking.
15538 * crypt/md5.c (md5_process_block): Remove define, we will always
15539 name it __md5_process_block.
15540 (md5_finish_ctx): Update md5_process_block call.
15541 (md5_stream): Likewise.
15542 (md5_process_bytes): Likewise.
15543 (md5_process_block): Rename to __md5_process_block and move to ...
15544 * crypt/md5-block.c: ... here.
15545 * crypt/sha256.c (sha256_process_block): Move to ...
15546 * crypt/sha256-block.c: ... here.
15547 * crypt/sha512.c (sha512_process_block): Move to ...
15548 * crypt/sha512-block.c: ... here.
15549 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15551 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15552 * sysdeps/sparc/sparc64/multiarch/Makefile
15553 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15555 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15556 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15558 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15559 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15560 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15561 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15562 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15563 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15564 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15565 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15566 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15568 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15569 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15571 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15573 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15575 * timezone/tzselect.ksh: Update from tzcode git revision
15576 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15577 * timezone/zdump.c: Likewise.
15578 * timezone/zic.c: Likewise.
15579 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15580 in TZVERSION setting, not $(PKGVERSION).
15581 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15582 REPORT_BUGS_TO settings.
15585 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15588 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15590 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15591 detection to immediately after _FP_ROUND().
15592 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15595 2012-11-11 David S. Miller <davem@davemloft.net>
15597 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15599 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15600 __close rather than their public counterparts.
15602 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15604 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15606 [UNIX98] (sem_timedwait): Do not expect.
15607 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15608 [XPG4 || UNIX98] (sockatmark): Do not expect.
15609 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15610 (clock_getcpuclockid): Do not expect.
15611 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15612 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15614 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15615 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15616 [UNIX98] (vwscanf): Likewise.
15617 [UNIX98] (vswscanf): Likewise.
15619 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15621 * timezone/version.h: Remove file.
15622 * timezone/README: Do not refer to version.h.
15623 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15624 $(objpfx)version.h.
15625 ($(objpfx)zdump.o): Likewise.
15626 ($(objpfx)version.h): New target.
15628 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15630 * timezone/README: Don't mention modification to tzselect.ksh.
15631 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15632 work on unmodified tzselect.ksh. Substitute version numbers in
15635 * Makefile (format-me): Remove.
15636 (INSTALL): Adjust indentation. Use commands directly instead of
15637 using $(format-me).
15639 * aclocal.m4 (ACX_PKGVERSION): New macro.
15640 (ACX_BUGURL): Likewise.
15641 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15642 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15643 (REPORT_BUGS_TO): Likewise.
15644 * configure: Regenerated.
15645 * config.h.in (PKGVERSION): New macro.
15646 (REPORT_BUGS_TO): Likewise.
15647 * config.make.in (PKGVERSION): New variable.
15648 (PKGVERSION_TEXI): Likewise.
15649 (REPORT_BUGS_TO): Likewise.
15650 (REPORT_BUGS_TEXI): Likewise.
15651 * Makefile (format-me): Use -I$(common-objpfx)manual.
15652 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15653 ($(common-objpfx)manual/%): New target.
15654 (manual/%): Remove target.
15655 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15656 (print_version): Use PKGVERSION.
15657 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15658 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15659 and REPORT_BUGS_TO.
15660 ($(objpfx)xtrace): Likewise.
15661 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15662 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15663 (print_version): Use PKGVERSION.
15664 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15665 (do_version): Use PKGVERSION.
15666 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15668 (common-ldd-rewrite): Likewise.
15669 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15670 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15671 (print_version): Use PKGVERSION.
15672 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15673 * elf/pldd.c (argp_program_bug_address): Remove variable.
15674 (more_help): New function.
15675 (argp): Use more_help.
15676 (print_version): Use PKGVERSION.
15677 * elf/sln.c (main): Use PKGVERSION.
15678 (usage): Use REPORT_BUGS_TO.
15679 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15680 (top level): Use PKGVERSION.
15681 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15682 (print_version): Use PKGVERSION.
15683 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15684 (print_version): Use PKGVERSION.
15685 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15686 (print_version): Use PKGVERSION.
15687 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15688 (print_version): Use PKGVERSION.
15689 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15690 (print_version): Use PKGVERSION.
15691 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15692 (print_version): Use PKGVERSION.
15693 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15695 ($(objpfx)memusage): Likewise.
15696 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15697 (do_version): Use PKGVERSION.
15698 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15699 (print_version): Use PKGVERSION.
15700 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15701 ($PKGVERSION): New variable.
15702 ($REPORT_BUGS_TO): Likewise.
15703 (usage): Use $REPORT_BUGS_TO.
15704 (top level): Use $PKGVERSION.
15705 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15706 ($(objpfx)pkgvers.texi): New rule.
15707 ($(objpfx)stamp-pkgvers): Likewise.
15708 * manual/install.texi: Include pkgvers.texi.
15709 (--with-pkgversion): Document new configure option.
15710 (--with-bugurl): Likewise.
15711 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15712 than necessarily for this particular distribution. Use
15713 REPORT_BUGS_TO for where to report bugs.
15714 * INSTALL: Regenerated.
15715 * manual/libc.texinfo: Include pkgvers.texi.
15716 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15717 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15718 (print_version): Use PKGVERSION.
15719 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15720 (print_version): Use PKGVERSION.
15721 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15722 (print_version): Use PKGVERSION.
15723 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15724 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15726 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15727 (print_version): Use PKGVERSION.
15728 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15729 (print_version): Use PKGVERSION.
15730 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15733 * timezone/checktab.awk: Update from tzcode 2012i.
15734 * timezone/ialloc.c: Likewise.
15735 * timezone/private.h: Likewise.
15736 * timezone/scheck.c: Likewise.
15737 * timezone/tzfile.h: Likewise.
15738 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15739 (TZVERSION): Hardcode tzcode version number.
15740 * timezone/zdump.c: Update from tzcode 2012i.
15741 * timezone/zic.c: Likewise.
15742 * timezone/version.h: New file.
15743 * timezone/README: Describe version.h. Update upstream location.
15746 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15747 (mktemp): Enable declaration.
15748 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15749 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15750 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15751 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15753 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15755 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15761 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15765 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15766 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15767 for copies of such integer values.
15768 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15769 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15771 2012-11-09 Andreas Jaeger <aj@suse.de>
15773 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15774 definitions and declarations that are provided by
15775 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15777 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15779 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15780 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15781 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15784 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15786 * elf/elf.h: Update comment before AArch64 relocations.
15788 2012-11-07 David S. Miller <davem@davemloft.net>
15790 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15791 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15792 (__start_context): Declare.
15793 (__makecontext_ret): Delete.
15794 (__makecontext): Hook up __start_context instead of
15796 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15797 (sysdep_routines): Add __start_context when in stdlib.
15799 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15801 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15802 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15803 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15805 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15806 (READELF): New variable. Use it instead of hardcoded "readelf".
15808 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15810 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15811 * sysdeps/x86/Makefile: Here.
15812 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15813 * sysdeps/x86/tst-xmmymm.sh: This.
15815 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15817 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15819 [UNIX98] (pthread_barrier_t): Do not expect.
15820 [UNIX98] (pthread_barrierattr_t): Likewise.
15821 [UNIX98] (pthread_spinlock_t): Likewise.
15822 [UNIX98] (pthread_barrier_destroy): Likewise.
15823 [UNIX98] (pthread_barrier_init): Likewise.
15824 [UNIX98] (pthread_barrier_wait): Likewise.
15825 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15826 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15827 [UNIX98] (pthread_barrierattr_init): Likewise.
15828 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15829 [UNIX98] (pthread_getcpuclockid): Likewise.
15830 [UNIX98] (pthread_mutex_timedlock): Likewise.
15831 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15832 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15833 [UNIX98] (pthread_sigmask): Likewise.
15834 [UNIX98] (pthread_spin_destroy): Likewise.
15835 [UNIX98] (pthread_spin_init): Likewise.
15836 [UNIX98] (pthread_spin_lock): Likewise.
15837 [UNIX98] (pthread_spin_trylock): Likewise.
15838 [UNIX98] (pthread_spin_unlock): Likewise.
15839 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15841 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15843 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15844 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15845 [XPG3 || XPG4] (pthread_key_t): Likewise.
15846 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15847 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15848 [XPG3 || XPG4] (pthread_once_t): Likewise.
15849 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15850 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15852 [XPG3 || XPG4] (pthread_t): Likewise.
15854 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15856 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15858 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15859 Change function return type to int.
15861 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15862 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15863 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15864 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15865 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15866 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15867 [!POSIX] (posix_madvise): Likewise.
15868 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15870 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15871 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15872 (mode_t): Likewise.
15873 (posix_mem_offset): Likewise.
15874 (posix_typed_mem_get_info): Likewise.
15875 (posix_typed_mem_open): Likewise.
15877 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15878 Change condition to [XOPEN2K8].
15880 * conform/conformtest.pl: Preprocess allow-header data with -x c
15881 instead of from stdin.
15882 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15883 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15884 [C99-based standards] (cerfc): Likewise.
15885 [C99-based standards] (cexp2): Likewise.
15886 [C99-based standards] (cexpm1): Likewise.
15887 [C99-based standards] (clog10): Likewise.
15888 [C99-based standards] (clog1p): Likewise.
15889 [C99-based standards] (clog2): Likewise.
15890 [C99-based standards] (clgamma): Likewise.
15891 [C99-based standards] (ctgamma): Likewise.
15892 [C99-based standards] (cerff): Likewise.
15893 [C99-based standards] (cerfcf): Likewise.
15894 [C99-based standards] (cexp2f): Likewise.
15895 [C99-based standards] (cexpm1f): Likewise.
15896 [C99-based standards] (clog10f): Likewise.
15897 [C99-based standards] (clog1pf): Likewise.
15898 [C99-based standards] (clog2f): Likewise.
15899 [C99-based standards] (clgammaf): Likewise.
15900 [C99-based standards] (ctgammaf): Likewise.
15901 [C99-based standards] (cerfl): Likewise.
15902 [C99-based standards] (cerfcl): Likewise.
15903 [C99-based standards] (cexp2l): Likewise.
15904 [C99-based standards] (cexpm1l): Likewise.
15905 [C99-based standards] (clog10l): Likewise.
15906 [C99-based standards] (clog1pl): Likewise.
15907 [C99-based standards] (clog2l): Likewise.
15908 [C99-based standards] (clgammal): Likewise.
15909 [C99-based standards] (ctgammal): Likewise.
15910 * conform/data/inttypes.h-data [C99-based standards]: Include
15911 stdint.h-data. Remove all expectations for stdint.h contents.
15912 [C99-based standards] (PRI*): Do not allow.
15913 [C99-based standards] (SCN*): Likewise.
15914 [C99-based standards] (*_t): Likewise.
15915 [C99-based-standards] (PRId8): Expect macro.
15916 [C99-based-standards] (PRIi8): Likewise.
15917 [C99-based-standards] (PRIo8): Likewise.
15918 [C99-based-standards] (PRIu8): Likewise.
15919 [C99-based-standards] (PRIx8): Likewise.
15920 [C99-based-standards] (PRIX8): Likewise.
15921 [C99-based-standards] (SCNd8): Likewise.
15922 [C99-based-standards] (SCNi8): Likewise.
15923 [C99-based-standards] (SCNo8): Likewise.
15924 [C99-based-standards] (SCNu8): Likewise.
15925 [C99-based-standards] (SCNx8): Likewise.
15926 [C99-based-standards] (PRIdLEAST8): Likewise.
15927 [C99-based-standards] (PRIiLEAST8): Likewise.
15928 [C99-based-standards] (PRIoLEAST8): Likewise.
15929 [C99-based-standards] (PRIuLEAST8): Likewise.
15930 [C99-based-standards] (PRIxLEAST8): Likewise.
15931 [C99-based-standards] (PRIXLEAST8): Likewise.
15932 [C99-based-standards] (SCNdLEAST8): Likewise.
15933 [C99-based-standards] (SCNiLEAST8): Likewise.
15934 [C99-based-standards] (SCNoLEAST8): Likewise.
15935 [C99-based-standards] (SCNuLEAST8): Likewise.
15936 [C99-based-standards] (SCNxLEAST8): Likewise.
15937 [C99-based-standards] (PRIdFAST8): Likewise.
15938 [C99-based-standards] (PRIiFAST8): Likewise.
15939 [C99-based-standards] (PRIoFAST8): Likewise.
15940 [C99-based-standards] (PRIuFAST8): Likewise.
15941 [C99-based-standards] (PRIxFAST8): Likewise.
15942 [C99-based-standards] (PRIXFAST8): Likewise.
15943 [C99-based-standards] (SCNdFAST8): Likewise.
15944 [C99-based-standards] (SCNiFAST8): Likewise.
15945 [C99-based-standards] (SCNoFAST8): Likewise.
15946 [C99-based-standards] (SCNuFAST8): Likewise.
15947 [C99-based-standards] (SCNxFAST8): Likewise.
15948 [C99-based-standards] (PRId16): Likewise.
15949 [C99-based-standards] (PRIi16): Likewise.
15950 [C99-based-standards] (PRIo16): Likewise.
15951 [C99-based-standards] (PRIu16): Likewise.
15952 [C99-based-standards] (PRIx16): Likewise.
15953 [C99-based-standards] (PRIX16): Likewise.
15954 [C99-based-standards] (SCNd16): Likewise.
15955 [C99-based-standards] (SCNi16): Likewise.
15956 [C99-based-standards] (SCNo16): Likewise.
15957 [C99-based-standards] (SCNu16): Likewise.
15958 [C99-based-standards] (SCNx16): Likewise.
15959 [C99-based-standards] (PRIdLEAST16): Likewise.
15960 [C99-based-standards] (PRIiLEAST16): Likewise.
15961 [C99-based-standards] (PRIoLEAST16): Likewise.
15962 [C99-based-standards] (PRIuLEAST16): Likewise.
15963 [C99-based-standards] (PRIxLEAST16): Likewise.
15964 [C99-based-standards] (PRIXLEAST16): Likewise.
15965 [C99-based-standards] (SCNdLEAST16): Likewise.
15966 [C99-based-standards] (SCNiLEAST16): Likewise.
15967 [C99-based-standards] (SCNoLEAST16): Likewise.
15968 [C99-based-standards] (SCNuLEAST16): Likewise.
15969 [C99-based-standards] (SCNxLEAST16): Likewise.
15970 [C99-based-standards] (PRIdFAST16): Likewise.
15971 [C99-based-standards] (PRIiFAST16): Likewise.
15972 [C99-based-standards] (PRIoFAST16): Likewise.
15973 [C99-based-standards] (PRIuFAST16): Likewise.
15974 [C99-based-standards] (PRIxFAST16): Likewise.
15975 [C99-based-standards] (PRIXFAST16): Likewise.
15976 [C99-based-standards] (SCNdFAST16): Likewise.
15977 [C99-based-standards] (SCNiFAST16): Likewise.
15978 [C99-based-standards] (SCNoFAST16): Likewise.
15979 [C99-based-standards] (SCNuFAST16): Likewise.
15980 [C99-based-standards] (SCNxFAST16): Likewise.
15981 [C99-based-standards] (PRId32): Likewise.
15982 [C99-based-standards] (PRIi32): Likewise.
15983 [C99-based-standards] (PRIo32): Likewise.
15984 [C99-based-standards] (PRIu32): Likewise.
15985 [C99-based-standards] (PRIx32): Likewise.
15986 [C99-based-standards] (PRIX32): Likewise.
15987 [C99-based-standards] (SCNd32): Likewise.
15988 [C99-based-standards] (SCNi32): Likewise.
15989 [C99-based-standards] (SCNo32): Likewise.
15990 [C99-based-standards] (SCNu32): Likewise.
15991 [C99-based-standards] (SCNx32): Likewise.
15992 [C99-based-standards] (PRIdLEAST32): Likewise.
15993 [C99-based-standards] (PRIiLEAST32): Likewise.
15994 [C99-based-standards] (PRIoLEAST32): Likewise.
15995 [C99-based-standards] (PRIuLEAST32): Likewise.
15996 [C99-based-standards] (PRIxLEAST32): Likewise.
15997 [C99-based-standards] (PRIXLEAST32): Likewise.
15998 [C99-based-standards] (SCNdLEAST32): Likewise.
15999 [C99-based-standards] (SCNiLEAST32): Likewise.
16000 [C99-based-standards] (SCNoLEAST32): Likewise.
16001 [C99-based-standards] (SCNuLEAST32): Likewise.
16002 [C99-based-standards] (SCNxLEAST32): Likewise.
16003 [C99-based-standards] (PRIdFAST32): Likewise.
16004 [C99-based-standards] (PRIiFAST32): Likewise.
16005 [C99-based-standards] (PRIoFAST32): Likewise.
16006 [C99-based-standards] (PRIuFAST32): Likewise.
16007 [C99-based-standards] (PRIxFAST32): Likewise.
16008 [C99-based-standards] (PRIXFAST32): Likewise.
16009 [C99-based-standards] (SCNdFAST32): Likewise.
16010 [C99-based-standards] (SCNiFAST32): Likewise.
16011 [C99-based-standards] (SCNoFAST32): Likewise.
16012 [C99-based-standards] (SCNuFAST32): Likewise.
16013 [C99-based-standards] (SCNxFAST32): Likewise.
16014 [C99-based-standards] (PRId64): Likewise.
16015 [C99-based-standards] (PRIi64): Likewise.
16016 [C99-based-standards] (PRIo64): Likewise.
16017 [C99-based-standards] (PRIu64): Likewise.
16018 [C99-based-standards] (PRIx64): Likewise.
16019 [C99-based-standards] (PRIX64): Likewise.
16020 [C99-based-standards] (SCNd64): Likewise.
16021 [C99-based-standards] (SCNi64): Likewise.
16022 [C99-based-standards] (SCNo64): Likewise.
16023 [C99-based-standards] (SCNu64): Likewise.
16024 [C99-based-standards] (SCNx64): Likewise.
16025 [C99-based-standards] (PRIdLEAST64): Likewise.
16026 [C99-based-standards] (PRIiLEAST64): Likewise.
16027 [C99-based-standards] (PRIoLEAST64): Likewise.
16028 [C99-based-standards] (PRIuLEAST64): Likewise.
16029 [C99-based-standards] (PRIxLEAST64): Likewise.
16030 [C99-based-standards] (PRIXLEAST64): Likewise.
16031 [C99-based-standards] (SCNdLEAST64): Likewise.
16032 [C99-based-standards] (SCNiLEAST64): Likewise.
16033 [C99-based-standards] (SCNoLEAST64): Likewise.
16034 [C99-based-standards] (SCNuLEAST64): Likewise.
16035 [C99-based-standards] (SCNxLEAST64): Likewise.
16036 [C99-based-standards] (PRIdFAST64): Likewise.
16037 [C99-based-standards] (PRIiFAST64): Likewise.
16038 [C99-based-standards] (PRIoFAST64): Likewise.
16039 [C99-based-standards] (PRIuFAST64): Likewise.
16040 [C99-based-standards] (PRIxFAST64): Likewise.
16041 [C99-based-standards] (PRIXFAST64): Likewise.
16042 [C99-based-standards] (SCNdFAST64): Likewise.
16043 [C99-based-standards] (SCNiFAST64): Likewise.
16044 [C99-based-standards] (SCNoFAST64): Likewise.
16045 [C99-based-standards] (SCNuFAST64): Likewise.
16046 [C99-based-standards] (SCNxFAST64): Likewise.
16047 [C99-based-standards] (PRIdMAX): Likewise.
16048 [C99-based-standards] (PRIiMAX): Likewise.
16049 [C99-based-standards] (PRIoMAX): Likewise.
16050 [C99-based-standards] (PRIuMAX): Likewise.
16051 [C99-based-standards] (PRIxMAX): Likewise.
16052 [C99-based-standards] (PRIXMAX): Likewise.
16053 [C99-based-standards] (SCNdMAX): Likewise.
16054 [C99-based-standards] (SCNiMAX): Likewise.
16055 [C99-based-standards] (SCNoMAX): Likewise.
16056 [C99-based-standards] (SCNuMAX): Likewise.
16057 [C99-based-standards] (SCNxMAX): Likewise.
16058 [C99-based-standards] (PRIdPTR): Likewise.
16059 [C99-based-standards] (PRIiPTR): Likewise.
16060 [C99-based-standards] (PRIoPTR): Likewise.
16061 [C99-based-standards] (PRIuPTR): Likewise.
16062 [C99-based-standards] (PRIxPTR): Likewise.
16063 [C99-based-standards] (PRIXPTR): Likewise.
16064 [C99-based-standards] (SCNdPTR): Likewise.
16065 [C99-based-standards] (SCNiPTR): Likewise.
16066 [C99-based-standards] (SCNoPTR): Likewise.
16067 [C99-based-standards] (SCNuPTR): Likewise.
16068 [C99-based-standards] (SCNxPTR): Likewise.
16069 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16071 * conform/data/stdint.h-data: Update comments to clarify
16073 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16075 [C99-based standards] (INT8_MAX): Likewise.
16076 [C99-based standards] (INT16_MIN): Likewise.
16077 [C99-based standards] (INT16_MAX): Likewise.
16078 [C99-based standards] (INT32_MIN): Likewise.
16079 [C99-based standards] (INT32_MAX): Likewise.
16080 [C99-based standards] (INT64_MIN): Likewise.
16081 [C99-based standards] (INT64_MAX): Likewise.
16082 [C99-based standards] (UINT8_MAX): Likewise.
16083 [C99-based standards] (UINT16_MAX): Likewise.
16084 [C99-based standards] (UINT32_MAX): Likewise.
16085 [C99-based standards] (UINT64_MAX): Likewise.
16086 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16087 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16088 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16089 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16090 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16091 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16092 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16093 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16094 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16095 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16096 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16097 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16098 [C99-based standards] (INT_FAST8_MIN): Likewise.
16099 [C99-based standards] (INT_FAST8_MAX): Likewise.
16100 [C99-based standards] (INT_FAST16_MIN): Likewise.
16101 [C99-based standards] (INT_FAST16_MAX): Likewise.
16102 [C99-based standards] (INT_FAST32_MIN): Likewise.
16103 [C99-based standards] (INT_FAST32_MAX): Likewise.
16104 [C99-based standards] (INT_FAST64_MIN): Likewise.
16105 [C99-based standards] (INT_FAST64_MAX): Likewise.
16106 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16107 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16108 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16109 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16110 [C99-based standards] (INTPTR_MIN): Likewise.
16111 [C99-based standards] (INTPTR_MAX): Likewise.
16112 [C99-based standards] (UINTPTR_MAX): Likewise.
16113 [C99-based standards] (INTMAX_MIN): Likewise.
16114 [C99-based standards] (INTMAX_MAX): Likewise.
16115 [C99-based standards] (UINTMAX_MAX): Likewise.
16116 [C99-based standards] (PTRDIFF_MIN): Likewise.
16117 [C99-based standards] (PTRDIFF_MAX): Likewise.
16118 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16119 [C99-based standards] (SIZE_MAX): Likewise.
16120 [C99-based standards] (WCHAR_MAX): Likewise.
16121 [C99-based standards] (WINT_MAX): Likewise.
16122 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16123 constraint on value.
16124 [C99-based standards] (WCHAR_MIN): Likewise.
16125 [C99-based standards] (WINT_MIN): Likewise.
16126 [C99-based standards] (*_t): Allow.
16127 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16128 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16129 Include math.h-data and complex.h-data. Remove all expectations
16130 of math.h and complex.h contents.
16131 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16133 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16134 (struct tm): Expect tag.
16135 [C99-based-standards] (wcstof): Expect function.
16136 [C99-based-standards] (wcstold): Likewise.
16137 [C99-based-standards] (wcstoll): Likewise.
16138 [C99-based-standards] (wcstoull): Likewise.
16139 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16140 macro-int-constant. Specify type.
16141 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16142 constraint on value.
16143 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16145 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16147 [ISO C standards]: Do not allow headers.
16148 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16149 wcs[abcdefghijklmnopqrstuvwxyz]*.
16150 [ISO C standards] (*_t): Do not allow.
16151 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16153 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16154 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16156 [ISO C standards]: Do not allow headers.
16157 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16158 is[abcdefghijklmnopqrstuvwxyz]*.
16159 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16160 to[abcdefghijklmnopqrstuvwxyz]*.
16161 [ISO C standards] (*_t): Do not allow.
16162 * conform/data/stdalign.h-data: New file.
16163 * conform/data/stdbool.h-data: Likewise.
16164 * conform/data/stdnoreturn.h-data: Likewise.
16166 2012-11-07 Roland McGrath <roland@hack.frob.com>
16169 * manual/filesys.texi (Directory Entries): Typo fix.
16170 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16172 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16174 * elf/elf.h (EM_AARCH64): New macro.
16175 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16176 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16177 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16178 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16179 (R_AARCH64_TLSDESC): Likewise.
16180 (NT_ARM_TLS): Likewise.
16181 (NT_ARM_HW_BREAK): Likewise.
16182 (NT_ARM_HW_WATCH): Likewise.
16184 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16187 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16188 (__ieee754_powl): Saturate nonzero exponents with absolute value
16189 below 0x1p-79 to +/- 0x1p-79.
16190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16191 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16192 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16193 nonzero exponents with absolute value below 0x1p-32 to +/-
16195 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16196 (__ieee754_powl): Saturate nonzero exponents with absolute value
16197 below 0x1p-79 to +/- 0x1p-79.
16198 * math/libm-test.inc (pow_test): Add more tests.
16200 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16202 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16203 _dl_s390_cap_flags with kernel. Increase string length.
16204 (_dl_s390_platforms): Add z196 and zEC12.
16206 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16208 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16209 Change XOPEN21K to XOPEN2K.
16211 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16213 * string/memmove.c: Use memcpy when possible.
16215 2012-11-06 Andreas Jaeger <aj@suse.de>
16217 * po/eo.po: Update from translation team.
16219 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16223 exponent and small x and y exponents, scale x or y up. Increase
16224 by 2 the exponent used in scaling up.
16225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16226 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16227 * math/libm-test.inc (fma_test): Add more tests.
16228 (fma_test_towardzero): Likewise.
16229 (fma_test_downward): Likewise.
16230 (fma_test_upward): Likewise.
16232 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16235 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16239 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16240 namespace for names of struct fields.
16241 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16243 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16244 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16246 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16249 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16251 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16253 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16257 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16260 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16264 definitely overflow as x * y not x * y + z.
16265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16267 * math/libm-test.inc (fma_test): Add more tests.
16268 (fma_test_towardzero): Likewise.
16269 (fma_test_downward): Likewise.
16270 (fma_test_upward): Likewise.
16272 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16276 * include/stub-tag.h: Remove file.
16277 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16279 * manual/maint.texi (Porting): Don't reference it.
16280 * Makerules ($(objpfx)stubs): Likewise.
16281 * dirent/closedir.c: Don't include <stub-tag.h>.
16282 * dirent/dirfd.c: Likewise.
16283 * dirent/fdopendir.c: Likewise.
16284 * dirent/getdents.c: Likewise.
16285 * dirent/getdents64.c: Likewise.
16286 * dirent/opendir.c: Likewise.
16287 * dirent/readdir.c: Likewise.
16288 * dirent/readdir64.c: Likewise.
16289 * dirent/readdir64_r.c: Likewise.
16290 * dirent/readdir_r.c: Likewise.
16291 * dirent/rewinddir.c: Likewise.
16292 * dirent/seekdir.c: Likewise.
16293 * dirent/telldir.c: Likewise.
16294 * gmon/profil.c: Likewise.
16295 * grp/setgroups.c: Likewise.
16296 * inet/if_index.c: Likewise.
16297 * io/access.c: Likewise.
16298 * io/chdir.c: Likewise.
16299 * io/chmod.c: Likewise.
16300 * io/chown.c: Likewise.
16301 * io/close.c: Likewise.
16302 * io/dup.c: Likewise.
16303 * io/dup2.c: Likewise.
16304 * io/dup3.c: Likewise.
16305 * io/euidaccess.c: Likewise.
16306 * io/faccessat.c: Likewise.
16307 * io/fchdir.c: Likewise.
16308 * io/fchmod.c: Likewise.
16309 * io/fchmodat.c: Likewise.
16310 * io/fchown.c: Likewise.
16311 * io/fchownat.c: Likewise.
16312 * io/fcntl.c: Likewise.
16313 * io/flock.c: Likewise.
16314 * io/fstatfs.c: Likewise.
16315 * io/fstatfs64.c: Likewise.
16316 * io/fstatvfs.c: Likewise.
16317 * io/fstatvfs64.c: Likewise.
16318 * io/futimens.c: Likewise.
16319 * io/fxstat.c: Likewise.
16320 * io/fxstat64.c: Likewise.
16321 * io/fxstatat.c: Likewise.
16322 * io/fxstatat64.c: Likewise.
16323 * io/getcwd.c: Likewise.
16324 * io/isatty.c: Likewise.
16325 * io/lchmod.c: Likewise.
16326 * io/lchown.c: Likewise.
16327 * io/link.c: Likewise.
16328 * io/linkat.c: Likewise.
16329 * io/lseek.c: Likewise.
16330 * io/lseek64.c: Likewise.
16331 * io/lxstat64.c: Likewise.
16332 * io/mkdir.c: Likewise.
16333 * io/mkdirat.c: Likewise.
16334 * io/mkfifo.c: Likewise.
16335 * io/mkfifoat.c: Likewise.
16336 * io/open.c: Likewise.
16337 * io/open64.c: Likewise.
16338 * io/openat.c: Likewise.
16339 * io/openat64.c: Likewise.
16340 * io/pipe.c: Likewise.
16341 * io/pipe2.c: Likewise.
16342 * io/poll.c: Likewise.
16343 * io/posix_fadvise.c: Likewise.
16344 * io/posix_fadvise64.c: Likewise.
16345 * io/posix_fallocate.c: Likewise.
16346 * io/posix_fallocate64.c: Likewise.
16347 * io/read.c: Likewise.
16348 * io/readlink.c: Likewise.
16349 * io/readlinkat.c: Likewise.
16350 * io/rmdir.c: Likewise.
16351 * io/sendfile.c: Likewise.
16352 * io/sendfile64.c: Likewise.
16353 * io/statfs.c: Likewise.
16354 * io/statfs64.c: Likewise.
16355 * io/statvfs.c: Likewise.
16356 * io/statvfs64.c: Likewise.
16357 * io/symlink.c: Likewise.
16358 * io/symlinkat.c: Likewise.
16359 * io/ttyname.c: Likewise.
16360 * io/ttyname_r.c: Likewise.
16361 * io/umask.c: Likewise.
16362 * io/unlink.c: Likewise.
16363 * io/unlinkat.c: Likewise.
16364 * io/utime.c: Likewise.
16365 * io/utimensat.c: Likewise.
16366 * io/write.c: Likewise.
16367 * io/xmknod.c: Likewise.
16368 * io/xmknodat.c: Likewise.
16369 * io/xstat.c: Likewise.
16370 * io/xstat64.c: Likewise.
16371 * login/getpt.c: Likewise.
16372 * login/grantpt.c: Likewise.
16373 * login/unlockpt.c: Likewise.
16374 * math/e_acoshl.c: Likewise.
16375 * math/e_acosl.c: Likewise.
16376 * math/e_asinl.c: Likewise.
16377 * math/e_atan2l.c: Likewise.
16378 * math/e_atanhl.c: Likewise.
16379 * math/e_coshl.c: Likewise.
16380 * math/e_expl.c: Likewise.
16381 * math/e_fmodl.c: Likewise.
16382 * math/e_gammal_r.c: Likewise.
16383 * math/e_hypotl.c: Likewise.
16384 * math/e_j0l.c: Likewise.
16385 * math/e_j1l.c: Likewise.
16386 * math/e_jnl.c: Likewise.
16387 * math/e_lgammal_r.c: Likewise.
16388 * math/e_log10l.c: Likewise.
16389 * math/e_log2l.c: Likewise.
16390 * math/e_logl.c: Likewise.
16391 * math/e_powl.c: Likewise.
16392 * math/e_rem_pio2l.c: Likewise.
16393 * math/e_sinhl.c: Likewise.
16394 * math/e_sqrtl.c: Likewise.
16395 * math/fclrexcpt.c: Likewise.
16396 * math/fedisblxcpt.c: Likewise.
16397 * math/feenablxcpt.c: Likewise.
16398 * math/fegetenv.c: Likewise.
16399 * math/fegetexcept.c: Likewise.
16400 * math/fegetround.c: Likewise.
16401 * math/feholdexcpt.c: Likewise.
16402 * math/fesetenv.c: Likewise.
16403 * math/fesetround.c: Likewise.
16404 * math/feupdateenv.c: Likewise.
16405 * math/fgetexcptflg.c: Likewise.
16406 * math/fraiseexcpt.c: Likewise.
16407 * math/fsetexcptflg.c: Likewise.
16408 * math/ftestexcept.c: Likewise.
16409 * math/k_cosl.c: Likewise.
16410 * math/k_rem_pio2l.c: Likewise.
16411 * math/k_sinl.c: Likewise.
16412 * math/k_tanl.c: Likewise.
16413 * math/s_asinhl.c: Likewise.
16414 * math/s_atanl.c: Likewise.
16415 * math/s_cbrtl.c: Likewise.
16416 * math/s_erfl.c: Likewise.
16417 * math/s_expm1l.c: Likewise.
16418 * math/s_log1pl.c: Likewise.
16419 * math/s_tanhl.c: Likewise.
16420 * misc/acct.c: Likewise.
16421 * misc/brk.c: Likewise.
16422 * misc/chflags.c: Likewise.
16423 * misc/chroot.c: Likewise.
16424 * misc/fchflags.c: Likewise.
16425 * misc/fgetxattr.c: Likewise.
16426 * misc/flistxattr.c: Likewise.
16427 * misc/fremovexattr.c: Likewise.
16428 * misc/fsetxattr.c: Likewise.
16429 * misc/fsync.c: Likewise.
16430 * misc/ftruncate.c: Likewise.
16431 * misc/futimes.c: Likewise.
16432 * misc/futimesat.c: Likewise.
16433 * misc/getdomain.c: Likewise.
16434 * misc/getdtsz.c: Likewise.
16435 * misc/gethostid.c: Likewise.
16436 * misc/gethostname.c: Likewise.
16437 * misc/getloadavg.c: Likewise.
16438 * misc/getpagesize.c: Likewise.
16439 * misc/getsysstats.c: Likewise.
16440 * misc/getxattr.c: Likewise.
16441 * misc/gtty.c: Likewise.
16442 * misc/ioctl.c: Likewise.
16443 * misc/lgetxattr.c: Likewise.
16444 * misc/listxattr.c: Likewise.
16445 * misc/llistxattr.c: Likewise.
16446 * misc/lremovexattr.c: Likewise.
16447 * misc/lsetxattr.c: Likewise.
16448 * misc/lutimes.c: Likewise.
16449 * misc/madvise.c: Likewise.
16450 * misc/mincore.c: Likewise.
16451 * misc/mlock.c: Likewise.
16452 * misc/mlockall.c: Likewise.
16453 * misc/mmap.c: Likewise.
16454 * misc/mprotect.c: Likewise.
16455 * misc/msync.c: Likewise.
16456 * misc/munlock.c: Likewise.
16457 * misc/munlockall.c: Likewise.
16458 * misc/munmap.c: Likewise.
16459 * misc/preadv.c: Likewise.
16460 * misc/preadv64.c: Likewise.
16461 * misc/ptrace.c: Likewise.
16462 * misc/pwritev.c: Likewise.
16463 * misc/pwritev64.c: Likewise.
16464 * misc/readv.c: Likewise.
16465 * misc/reboot.c: Likewise.
16466 * misc/remap_file_pages.c: Likewise.
16467 * misc/removexattr.c: Likewise.
16468 * misc/revoke.c: Likewise.
16469 * misc/select.c: Likewise.
16470 * misc/setdomain.c: Likewise.
16471 * misc/setegid.c: Likewise.
16472 * misc/seteuid.c: Likewise.
16473 * misc/sethostid.c: Likewise.
16474 * misc/sethostname.c: Likewise.
16475 * misc/setregid.c: Likewise.
16476 * misc/setreuid.c: Likewise.
16477 * misc/setxattr.c: Likewise.
16478 * misc/sstk.c: Likewise.
16479 * misc/stty.c: Likewise.
16480 * misc/swapoff.c: Likewise.
16481 * misc/swapon.c: Likewise.
16482 * misc/sync.c: Likewise.
16483 * misc/syncfs.c: Likewise.
16484 * misc/syscall.c: Likewise.
16485 * misc/truncate.c: Likewise.
16486 * misc/ualarm.c: Likewise.
16487 * misc/usleep.c: Likewise.
16488 * misc/ustat.c: Likewise.
16489 * misc/utimes.c: Likewise.
16490 * misc/vhangup.c: Likewise.
16491 * misc/writev.c: Likewise.
16492 * posix/_exit.c: Likewise.
16493 * posix/alarm.c: Likewise.
16494 * posix/execve.c: Likewise.
16495 * posix/fexecve.c: Likewise.
16496 * posix/fork.c: Likewise.
16497 * posix/fpathconf.c: Likewise.
16498 * posix/getaddrinfo.c: Likewise.
16499 * posix/getegid.c: Likewise.
16500 * posix/geteuid.c: Likewise.
16501 * posix/getgid.c: Likewise.
16502 * posix/getgroups.c: Likewise.
16503 * posix/getlogin.c: Likewise.
16504 * posix/getlogin_r.c: Likewise.
16505 * posix/getpgid.c: Likewise.
16506 * posix/getpid.c: Likewise.
16507 * posix/getppid.c: Likewise.
16508 * posix/getresgid.c: Likewise.
16509 * posix/getresuid.c: Likewise.
16510 * posix/getsid.c: Likewise.
16511 * posix/getuid.c: Likewise.
16512 * posix/glob64.c: Likewise.
16513 * posix/nanosleep.c: Likewise.
16514 * posix/pathconf.c: Likewise.
16515 * posix/pause.c: Likewise.
16516 * posix/posix_madvise.c: Likewise.
16517 * posix/pread.c: Likewise.
16518 * posix/pread64.c: Likewise.
16519 * posix/pwrite.c: Likewise.
16520 * posix/pwrite64.c: Likewise.
16521 * posix/sched_getaffinity.c: Likewise.
16522 * posix/sched_getp.c: Likewise.
16523 * posix/sched_gets.c: Likewise.
16524 * posix/sched_primax.c: Likewise.
16525 * posix/sched_primin.c: Likewise.
16526 * posix/sched_rr_gi.c: Likewise.
16527 * posix/sched_setaffinity.c: Likewise.
16528 * posix/sched_setp.c: Likewise.
16529 * posix/sched_sets.c: Likewise.
16530 * posix/sched_yield.c: Likewise.
16531 * posix/setgid.c: Likewise.
16532 * posix/setlogin.c: Likewise.
16533 * posix/setpgid.c: Likewise.
16534 * posix/setresgid.c: Likewise.
16535 * posix/setresuid.c: Likewise.
16536 * posix/setsid.c: Likewise.
16537 * posix/setuid.c: Likewise.
16538 * posix/sleep.c: Likewise.
16539 * posix/spawni.c: Likewise.
16540 * posix/sysconf.c: Likewise.
16541 * posix/times.c: Likewise.
16542 * posix/wait.c: Likewise.
16543 * posix/wait3.c: Likewise.
16544 * posix/wait4.c: Likewise.
16545 * posix/waitpid.c: Likewise.
16546 * resolv/gai_sigqueue.c: Likewise.
16547 * resource/getpriority.c: Likewise.
16548 * resource/getrlimit.c: Likewise.
16549 * resource/getrusage.c: Likewise.
16550 * resource/nice.c: Likewise.
16551 * resource/setpriority.c: Likewise.
16552 * resource/setrlimit.c: Likewise.
16553 * resource/ulimit.c: Likewise.
16554 * rt/aio_cancel.c: Likewise.
16555 * rt/aio_fsync.c: Likewise.
16556 * rt/aio_read.c: Likewise.
16557 * rt/aio_sigqueue.c: Likewise.
16558 * rt/aio_suspend.c: Likewise.
16559 * rt/aio_write.c: Likewise.
16560 * rt/clock_getres.c: Likewise.
16561 * rt/clock_gettime.c: Likewise.
16562 * rt/clock_nanosleep.c: Likewise.
16563 * rt/clock_settime.c: Likewise.
16564 * rt/lio_listio.c: Likewise.
16565 * rt/mq_close.c: Likewise.
16566 * rt/mq_getattr.c: Likewise.
16567 * rt/mq_notify.c: Likewise.
16568 * rt/mq_open.c: Likewise.
16569 * rt/mq_receive.c: Likewise.
16570 * rt/mq_send.c: Likewise.
16571 * rt/mq_setattr.c: Likewise.
16572 * rt/mq_timedreceive.c: Likewise.
16573 * rt/mq_timedsend.c: Likewise.
16574 * rt/mq_unlink.c: Likewise.
16575 * rt/shm_open.c: Likewise.
16576 * rt/shm_unlink.c: Likewise.
16577 * rt/timer_create.c: Likewise.
16578 * rt/timer_delete.c: Likewise.
16579 * rt/timer_getoverr.c: Likewise.
16580 * rt/timer_gettime.c: Likewise.
16581 * rt/timer_settime.c: Likewise.
16582 * setjmp/__longjmp.c: Likewise.
16583 * setjmp/setjmp.c: Likewise.
16584 * signal/kill.c: Likewise.
16585 * signal/killpg.c: Likewise.
16586 * signal/raise.c: Likewise.
16587 * signal/sigaction.c: Likewise.
16588 * signal/sigaltstack.c: Likewise.
16589 * signal/sigblock.c: Likewise.
16590 * signal/sigignore.c: Likewise.
16591 * signal/sigintr.c: Likewise.
16592 * signal/signal.c: Likewise.
16593 * signal/sigpause.c: Likewise.
16594 * signal/sigpending.c: Likewise.
16595 * signal/sigqueue.c: Likewise.
16596 * signal/sigreturn.c: Likewise.
16597 * signal/sigset.c: Likewise.
16598 * signal/sigsetmask.c: Likewise.
16599 * signal/sigstack.c: Likewise.
16600 * signal/sigsuspend.c: Likewise.
16601 * signal/sigtimedwait.c: Likewise.
16602 * signal/sigvec.c: Likewise.
16603 * signal/sigwait.c: Likewise.
16604 * signal/sigwaitinfo.c: Likewise.
16605 * signal/sysv_signal.c: Likewise.
16606 * socket/accept.c: Likewise.
16607 * socket/accept4.c: Likewise.
16608 * socket/bind.c: Likewise.
16609 * socket/connect.c: Likewise.
16610 * socket/getpeername.c: Likewise.
16611 * socket/getsockname.c: Likewise.
16612 * socket/getsockopt.c: Likewise.
16613 * socket/isfdtype.c: Likewise.
16614 * socket/listen.c: Likewise.
16615 * socket/recv.c: Likewise.
16616 * socket/recvfrom.c: Likewise.
16617 * socket/recvmsg.c: Likewise.
16618 * socket/send.c: Likewise.
16619 * socket/sendmsg.c: Likewise.
16620 * socket/sendto.c: Likewise.
16621 * socket/setsockopt.c: Likewise.
16622 * socket/shutdown.c: Likewise.
16623 * socket/sockatmark.c: Likewise.
16624 * socket/socket.c: Likewise.
16625 * socket/socketpair.c: Likewise.
16626 * stdio-common/ctermid.c: Likewise.
16627 * stdio-common/cuserid.c: Likewise.
16628 * stdio-common/remove.c: Likewise.
16629 * stdio-common/rename.c: Likewise.
16630 * stdio-common/renameat.c: Likewise.
16631 * stdio-common/tempname.c: Likewise.
16632 * stdlib/getcontext.c: Likewise.
16633 * stdlib/makecontext.c: Likewise.
16634 * stdlib/setcontext.c: Likewise.
16635 * stdlib/swapcontext.c: Likewise.
16636 * stdlib/system.c: Likewise.
16637 * streams/fattach.c: Likewise.
16638 * streams/fdetach.c: Likewise.
16639 * streams/getmsg.c: Likewise.
16640 * streams/getpmsg.c: Likewise.
16641 * streams/putmsg.c: Likewise.
16642 * streams/putpmsg.c: Likewise.
16643 * sysdeps/unix/bsd/getpt.c: Likewise.
16644 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16645 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16646 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16649 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16650 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16651 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16652 * sysvipc/msgctl.c: Likewise.
16653 * sysvipc/msgget.c: Likewise.
16654 * sysvipc/msgrcv.c: Likewise.
16655 * sysvipc/msgsnd.c: Likewise.
16656 * sysvipc/semctl.c: Likewise.
16657 * sysvipc/semget.c: Likewise.
16658 * sysvipc/semop.c: Likewise.
16659 * sysvipc/semtimedop.c: Likewise.
16660 * sysvipc/shmat.c: Likewise.
16661 * sysvipc/shmctl.c: Likewise.
16662 * sysvipc/shmdt.c: Likewise.
16663 * sysvipc/shmget.c: Likewise.
16664 * termios/tcdrain.c: Likewise.
16665 * termios/tcflow.c: Likewise.
16666 * termios/tcflush.c: Likewise.
16667 * termios/tcgetattr.c: Likewise.
16668 * termios/tcgetpgrp.c: Likewise.
16669 * termios/tcsendbrk.c: Likewise.
16670 * termios/tcsetattr.c: Likewise.
16671 * termios/tcsetpgrp.c: Likewise.
16672 * time/adjtime.c: Likewise.
16673 * time/clock.c: Likewise.
16674 * time/getitimer.c: Likewise.
16675 * time/gettimeofday.c: Likewise.
16676 * time/setitimer.c: Likewise.
16677 * time/settimeofday.c: Likewise.
16678 * time/stime.c: Likewise.
16679 * time/time.c: Likewise.
16681 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16683 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16686 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16688 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16690 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16694 FE_TONEAREST before applying Dekker multiplication and Knuth
16695 addition. Clear inexact exceptions and check for exact zero
16696 results afterwards.
16697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16700 * math/libm-test.inc (fma_test): Add more tests.
16701 (fma_test_towardzero): Likewise.
16702 (fma_test_downward): Likewise.
16703 (fma_test_upward): Likewise.
16704 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16706 (libc_fesetround): New macro.
16707 (libc_fesetroundf): Likewise.
16708 (libc_fesetroundl): Likewise.
16709 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16711 (libc_fesetround_387): Likewise.
16712 (libc_fesetroundf): New macro.
16713 (libc_fesetround): Likewise.
16714 (libc_fesetroundl): Likewise.
16715 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16717 (libc_fesetroundf): New macro.
16718 (libc_fesetround): Likewise.
16719 (libc_fesetroundl): Likewise.
16720 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16721 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16722 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16724 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16725 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16727 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16728 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16730 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16734 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16735 integer constant usable in #if and use that to give value to enum
16737 (FE_DIVBYZERO): Likewise.
16738 (FE_UNDERFLOW): Likewise.
16739 (FE_OVERFLOW): Likewise.
16740 (FE_INVALID): Likewise.
16741 (FE_INVALID_SNAN): Likewise.
16742 (FE_INVALID_ISI): Likewise.
16743 (FE_INVALID_IDI): Likewise.
16744 (FE_INVALID_ZDZ): Likewise.
16745 (FE_INVALID_IMZ): Likewise.
16746 (FE_INVALID_COMPARE): Likewise.
16747 (FE_INVALID_SOFTWARE): Likewise.
16748 (FE_INVALID_SQRT): Likewise.
16749 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16750 (FE_TONEAREST): Likewise.
16751 (FE_TOWARDZERO): Likewise.
16752 (FE_UPWARD): Likewise.
16753 (FE_DOWNWARD): Likewise.
16754 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16755 (FE_DIVBYZERO): Likewise.
16756 (FE_OVERFLOW): Likewise.
16757 (FE_UNDERFLOW): Likewise.
16758 (FE_INEXACT): Likewise.
16759 (FE_TONEAREST): Likewise.
16760 (FE_DOWNWARD): Likewise.
16761 (FE_UPWARD): Likewise.
16762 (FE_TOWARDZERO): Likewise.
16763 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16764 (FE_UNDERFLOW): Likewise.
16765 (FE_OVERFLOW): Likewise.
16766 (FE_DIVBYZERO): Likewise.
16767 (FE_INVALID): Likewise.
16768 (FE_TONEAREST): Likewise.
16769 (FE_TOWARDZERO): Likewise.
16770 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16771 (FE_OVERFLOW): Likewise.
16772 (FE_UNDERFLOW): Likewise.
16773 (FE_DIVBYZERO): Likewise.
16774 (FE_INEXACT): Likewise.
16775 (FE_TONEAREST): Likewise.
16776 (FE_TOWARDZERO): Likewise.
16777 (FE_UPWARD): Likewise.
16778 (FE_DOWNWARD): Likewise.
16779 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16780 (FE_DIVBYZERO): Likewise.
16781 (FE_OVERFLOW): Likewise.
16782 (FE_UNDERFLOW): Likewise.
16783 (FE_INEXACT): Likewise.
16784 (FE_TONEAREST): Likewise.
16785 (FE_DOWNWARD): Likewise.
16786 (FE_UPWARD): Likewise.
16787 (FE_TOWARDZERO): Likewise.
16789 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16791 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16793 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16795 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16796 commands. Quote $PWD.
16797 (blacklist_exports): Don't use remove_newlines. Replace "declare
16799 (remove_newlines): Remove.
16801 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16803 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16804 * stdlib/stdlib.h (atof): Moved to ...
16805 * include/bits/stdlib-float.h: Here. New file.
16806 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16807 * stdlib/bits/stdlib-float.h: New file.
16808 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16810 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16813 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16815 * conform/conformtest.pl (@headers): Add fenv.h.
16816 * conform/data/fenv.h-data: New file.
16817 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16818 include of <math/fenv.h>.
16820 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16821 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16822 && !UNIX98]. Enables tests for XOPEN2K8.
16823 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16824 POSIX2008]: Likewise.
16826 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16827 (struct rusage): Do not expect type or its members.
16830 * math/math.h (FP_NAN): Define macro to integer constant usable in
16831 #if and use that to give value to enum constant.
16832 (FP_INFINITE): Likewise.
16833 (FP_ZERO): Likewise.
16834 (FP_SUBNORMAL): Likewise.
16835 (FP_NORMAL): Likewise.
16837 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16839 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16840 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16843 2012-11-02 Roland McGrath <roland@hack.frob.com>
16845 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16846 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16847 autoconf-time if not.
16848 * configure.in: Remove AC_PREREQ.
16850 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16852 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16853 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16854 of the internal implementation.
16856 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16858 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16859 except include of <misc/sys/syslog.h>.
16861 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16864 function returns with a NULL context exit with zero.
16866 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16868 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16870 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16872 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16873 (run_program_cmd): This.
16874 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16875 (tst_langinfo): New variable. Use it.
16877 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16879 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16880 floating point opcodes.
16882 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16884 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16887 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16889 * sysdeps/mach/hurd/powerpc: Remove directory.
16890 * sysdeps/mach/powerpc: Likewise.
16892 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16894 * scripts/check-local-headers.sh: Ignore c++ headers.
16896 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16898 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16899 __libc_cleanup_region_start argument.
16901 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16906 x * y using scaling, not as x * y + z.
16907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16909 * math/libm-test.inc (fma_test): Add more tests.
16910 (fma_test_towardzero): Likewise.
16911 (fma_test_downward): Likewise.
16912 (fma_test_upward): Likewise.
16914 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16916 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16918 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16920 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16923 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16925 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16927 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16934 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16937 Fix the order of the list for glibc 2.17.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16941 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16945 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16948 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16949 for low part of x being zero before using __atanl (y).
16950 * math/libm-test.inc (atan2_test): Add another test.
16952 * manual/install.texi (Configuring and compiling): Document
16953 general use of test-wrapper and test-wrapper-env.
16954 * INSTALL: Regenerated.
16956 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16957 (__fma): Do not extract and scale down low bits on after-rounding
16958 systems when result rounded to normal precision would have normal
16960 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16961 (__fmal): Do not extract and scale down low bits on after-rounding
16962 systems when result rounded to normal precision would have normal
16964 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16965 (__fmal): Do not extract and scale down low bits on after-rounding
16966 systems when result rounded to normal precision would have normal
16968 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16970 (fma_test): Add more tests.
16971 (fma_test_towardzero): Likewise.
16972 (fma_test_downward): Likewise.
16973 (fma_test_upward): Likewise.
16975 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16977 * sysdeps/i386/tininess.h: Renamed to ...
16978 * sysdeps/x86/tininess.h: This.
16979 * sysdeps/x86_64/tininess.h: Removed.
16981 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16983 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16984 input. Use $(build-program-cmd).
16985 ($(objpfx)tst-array1-static.out): Likewise.
16986 ($(objpfx)tst-array2.out): Likewise.
16987 ($(objpfx)tst-array3.out): Likewise.
16988 ($(objpfx)tst-array4.out): Likewise.
16989 ($(objpfx)tst-array5.out): Likewise.
16990 ($(objpfx)tst-array5-static.out): Likewise.
16992 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16994 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16997 * nss/nsswitch.h (nss_interface_function): Provide new
16998 macro for use with NSS functions.
16999 * grp/initgroups.c: Use new macro.
17000 * nss/getXXbyYY.c: Likewise.
17001 * nss/getXXbyYY_r.c: Likewise.
17002 * nss/getXXent.c: Likewise.
17003 * nss/getXXent_r.c: Likewise.
17004 * sysdeps/posix/getaddrinfo.c: Likewise.
17006 2012-10-30 Andreas Jaeger <aj@suse.de>
17008 * po/ru.po: Update Russion translation from translation project.
17010 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17015 result and shift together with sticky bit instead of replicating
17016 round-to-nearest rounding.
17017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17018 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17019 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17020 missing underflow exceptions.
17021 (fma_test_towardzero): Add more tests.
17022 (fma_test_downward): Likewise.
17023 (fma_test_upward): Likewise.
17026 * sysdeps/generic/tininess.h: New file.
17027 * sysdeps/i386/tininess.h: Likewise.
17028 * sysdeps/sh/tininess.h: Likewise.
17029 * sysdeps/x86_64/tininess.h: Likewise.
17030 * stdlib/tst-strtod-underflow.c: Likewise.
17031 * stdlib/tst-tininess.c: Likewise.
17032 * stdlib/strtod_l.c: Include <tininess.h>.
17033 (round_and_return): Do not set errno for exact underflow cases.
17034 Force an underflow exception when setting errno for underflow.
17035 Determine underflow based on rounding to normal precision if
17036 TININESS_AFTER_ROUNDING.
17037 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17038 ERANGE for exact underflow cases.
17039 * stdlib/Makefile (tests): Add tst-tininess and
17040 tst-strtod-underflow.
17041 ($(objpfx)tst-tininess): Use $(link-libm).
17042 ($(objpfx)tst-strtod-underflow): Likewise.
17044 2012-10-30 Andreas Jaeger <aj@suse.de>
17047 * elf/Makefile (tests): Remove conditional for have-initfini-array
17048 since this is now always required and the variable does not exist
17050 (tests-static): Likewise.
17051 (modules-names): Likewise.
17053 * po/eo.po: Add Esperanto translation from translation project.
17055 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17056 merged with constructor/destructor.
17057 (init_array): Likewise.
17058 * elf/tst-array2dep.c (fini_array): Likewise.
17059 (init_array): Likewise.
17061 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17063 * manual/message.texi: Delete @cartouche tags.
17065 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17067 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17069 * sysdeps/mach/hurd/fsync.c: Likewise.
17071 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17072 [_POSIX_REALTIME_SIGNALS]: Change condition to
17073 [_POSIX_REALTIME_SIGNALS > 0].
17075 2012-10-27 Andreas Jaeger <aj@suse.de>
17077 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17078 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17079 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17080 [__WORDSIZE != 64]: Likewise.
17082 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17084 * iconvdata/tst-table.sh: Remove ${SHELL}.
17085 * iconvdata/tst-tables.sh: Likewise.
17087 2012-10-25 David S. Miller <davem@davemloft.net>
17089 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17090 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17096 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17097 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17100 2012-10-25 Roland McGrath <roland@hack.frob.com>
17102 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17103 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17106 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17107 Jim Blandy <jimb@codesourcery.com>
17109 * scripts/cross-test-ssh.sh: New file.
17110 * manual/install.texi (Configuring and compiling): Document use of
17112 * INSTALL: Regenerated.
17114 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17116 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17119 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17121 * Makeconfig (run-program-prefix): Fix comment.
17123 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17124 Jim Blandy <jimb@codesourcery.com>
17126 * Makeconfig (test-wrapper): New variable,
17127 (test-wrapper-env): Likewise.
17128 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17129 (run-built-tests): Define to yes.
17130 (run-program-prefix): Use $(test-wrapper).
17131 (built-program-cmd): Likewise.
17132 * Rules (make-test-out): Use $(test-wrapper-env) and
17133 $(host-built-program-cmd).
17134 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17135 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17137 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17138 $(test-wrapper-env) to tst-rtld-load-self.sh.
17139 ($(objpfx)order2.out): Use $(test-wrapper).
17140 ($(objpfx)tst-initorder.out): Likewise.
17141 ($(objpfx)tst-initorder2.out): Likewise.
17142 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17143 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17144 (test_wrapper_env): New variable. Use it to run ld.so.
17145 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17146 Use it to run ld.so.
17147 (test_wrapper_env): Likewise.
17148 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17149 $(test-wrapper) to run-iconv-test.sh.
17150 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17151 (ICONV): Use $test_wrapper.
17152 * posix/Makefile ($(objpfx)globtest.out): Pass
17153 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17154 globtest.sh, not $(run-program-prefix).
17155 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17156 (test_wrapper): Likewise.
17157 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17158 set together with run_via_rtld_prefix.
17159 (run_program_prefix): Define in terms of test_wrapper and
17160 run_via_rtld_prefix.
17162 2012-10-24 Roland McGrath <roland@hack.frob.com>
17164 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17165 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17169 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17170 Declare __clock_getres, __clock_gettime, __clock_settime,
17171 __clock_nanosleep, and __clock_getcpuclockid.
17172 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17173 Remove librt_hidden_def (clock_gettime).
17174 * sysdeps/unix/clock_gettime.c: Likewise.
17175 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17176 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17177 * rt/clock_getres.c: Define __clock_getres as an alias.
17178 * sysdeps/posix/clock_getres.c: Likewise.
17179 * rt/clock_settime.c: Define __clock_settime as an alias.
17180 * sysdeps/unix/clock_settime.c: Likewise.
17181 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17182 * sysdeps/unix/clock_nanosleep.c: Likewise.
17183 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17184 * rt/clock-compat.c: New file.
17185 * rt/Makefile (librt-routines): Add clock-compat and move
17186 $(clock-routines) to ...
17187 (routines): ... here, new variable.
17188 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17189 Don't add get_clockfreq here.
17190 * rt/Versions (libc: GLIBC_2.17): New version set.
17191 Add clock_* symbols here.
17192 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17194 (GLIBC_2.17): Add clock_* symbols.
17195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17206 * NEWS: Mention the move.
17208 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17209 Use __open, __read, __close rather than their public counterparts.
17210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17211 (__get_clockfreq_via_cpuinfo): Likewise.
17212 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17213 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17215 * config.h.in (HAVE_IFUNC): New #undef.
17216 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17218 * configure: Regenerated.
17220 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17222 * configure.in: Move READELF check to start of file.
17223 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17224 libc_cv_asm_gnu_indirect_function in the process.
17225 * configure: Regenerated.
17227 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17229 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17230 send the output to /dev/null.
17231 (libc_cv_cc_with_libunwind): Likewise.
17232 (libc_cv_as_noexecstack): Likewise.
17233 * configure: Regenerate.
17235 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17237 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17239 * posix/globtest.sh (TMPDIR): Do not set.
17240 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17241 (testout): Likewise.
17243 2012-10-24 Andreas Jaeger <aj@suse.de>
17245 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17246 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17247 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17248 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17249 posix_fadvise64, posix_fallocate64.
17251 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17252 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17253 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17255 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17257 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17260 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17261 <bits/fcntl-linux.h>.
17262 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17265 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17266 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17267 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17268 [__WORDSIZE != 64]: Likewise.
17270 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17272 * Makeconfig (run-built-tests): New variable.
17273 * Rules [$(cross-compiling) = yes]: Change condition to
17274 [$(run-built-tests) = no].
17275 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17276 to [$(run-built-tests) = yes].
17277 * elf/Makefile [$(cross-compiling) = no]: Likewise
17278 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17279 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17280 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17281 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17282 * io/Makefile [$(cross-compiling) = no]: Likewise.
17283 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17284 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17285 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17286 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17287 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17288 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17289 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17290 * string/Makefile [$(cross-compiling) = no]: Likewise.
17292 * posix/Makefile ($(objpfx)globtest.out): Pass
17293 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17294 $(rtld-installed-name).
17295 * posix/globtest.sh (elf_objpfx): Remove variable.
17296 (rtld_installed_name): Likewise.
17297 (library_path): Likewise.
17298 (run_program_prefix): New variable. Use for running globtest
17301 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17302 Joseph Myers <joseph@codesourcery.com>
17304 * Makeconfig (host-built-program-cmd): New variable.
17305 * elf/Makefile (tst-stackguard1-ARGS): Use
17306 $(host-built-program-cmd).
17307 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17308 (tst-spawn-ARGS): Likewise.
17309 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17311 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17312 Jim Blandy <jimb@codesourcery.com>
17314 * Makeconfig (run-via-rtld-prefix): New variable.
17315 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17316 (built-program-cmd): Likewise.
17318 2012-10-22 Andreas Jaeger <aj@suse.de>
17320 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17321 __O_RSYNC if it exists, otherwise to O_SYNC.
17323 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17324 Joseph Myers <joseph@codesourcery.com>
17326 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17328 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17330 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17333 2012-10-22 Andreas Jaeger <aj@suse.de>
17335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17340 bits/fcntl-linux.h.
17342 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17343 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17350 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17351 Joseph Myers <joseph@codesourcery.com>
17353 * config.make.in (NM): New variable.
17355 2012-10-21 Andreas Jaeger <aj@suse.de>
17357 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17358 definitions and declarations that are provided by
17359 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17361 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17364 * elf/Makefile (tests-static): Add tst-leaks1-static.
17365 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17366 ($(objpfx)tst-leaks1-static): New rule.
17367 ($(objpfx)tst-leaks1-static-mem): Likewise.
17368 (tst-leaks1-static-ENV): New macro.
17369 * elf/dl-open.c (dl_open_worker): Check the main application
17370 only if SHARED is defined.
17371 * elf/tst-leaks1-static.c: New file.
17373 2012-10-20 Andreas Jaeger <aj@suse.de>
17375 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17376 generic values for Linux.
17377 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17378 and declarations that are provided by <bits/fcntl-linux.h> and
17379 include <bits/fcntl-linux.h>.
17380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17383 2012-10-20 Roland McGrath <roland@hack.frob.com>
17385 * io/fcntl.h: Move include of <bits/types.h> to the top and
17386 include it unconditionally.
17388 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17390 * wcsmbs/Makefile (tests-ifunc): New variable.
17391 (tests): Add $(tests-ifunc).
17392 * wcsmbs/test-wcschr-ifunc.c: New file.
17393 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17394 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17395 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17396 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17397 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17399 * string/Makefile (tests-ifunc): New variable.
17400 (tests): Add $(tests-ifunc).
17401 * string/test-memccpy.c (TEST_NAME): New macro.
17402 * string/test-memchr.c (TEST_NAME): Likewise.
17403 * string/test-memcmp.c (TEST_NAME): Likewise.
17404 * string/test-memcpy.c (TEST_NAME): Likewise.
17405 * string/test-memmem.c (TEST_NAME): Likewise.
17406 * string/test-memmove.c (TEST_NAME): Likewise.
17407 * string/test-memset.c (TEST_NAME): Likewise.
17408 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17409 * string/test-stpcpy.c (TEST_NAME): Likewise.
17410 * string/test-stpncpy.c (TEST_NAME): Likewise.
17411 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17412 * string/test-strcasestr.c (TEST_NAME): Likewise.
17413 * string/test-strcat.c (TEST_NAME): Likewise.
17414 * string/test-strchr.c (TEST_NAME): Likewise.
17415 * string/test-strcmp.c(TEST_NAME): Likewise.
17416 * string/test-strcpy.c (TEST_NAME): Likewise.
17417 * string/test-strcspn.c (TEST_NAME): Likewise.
17418 * string/test-strlen.c (TEST_NAME): Likewise.
17419 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17420 * string/test-strncmp.c (TEST_NAME): Likewise.
17421 * string/test-strncpy.c (TEST_NAME): Likewise.
17422 * string/test-strnlen.c (TEST_NAME): Likewise.
17423 * string/test-strpbrk.c (TEST_NAME): Likewise.
17424 * string/test-strrchr.c (TEST_NAME): Likewise.
17425 * string/test-strspn.c (TEST_NAME): Likewise.
17426 * string/test-strstr.c (TEST_NAME): Likewise.
17427 * string/test-bcopy-ifunc.c: New file.
17428 * string/test-bzero-ifunc.c: Likewise.
17429 * string/test-memccpy-ifunc.c: Likewise.
17430 * string/test-memchr-ifunc.c: Likewise.
17431 * string/test-memcmp-ifunc.c: Likewise.
17432 * string/test-memcpy-ifunc.c: Likewise.
17433 * string/test-memmem-ifunc.c: Likewise.
17434 * string/test-memmove-ifunc.c: Likewise.
17435 * string/test-mempcpy-ifunc.c: Likewise.
17436 * string/test-memset-ifunc.c: Likewise.
17437 * string/test-rawmemchr-ifunc.c: Likewise.
17438 * string/test-stpcpy-ifunc.c: Likewise.
17439 * string/test-stpncpy-ifunc.c: Likewise.
17440 * string/test-strcasecmp-ifunc.c: Likewise.
17441 * string/test-strcasestr-ifunc.c: Likewise.
17442 * string/test-strcat-ifunc.c: Likewise.
17443 * string/test-strchr-ifunc.c: Likewise.
17444 * string/test-strchrnul-ifunc.c: Likewise.
17445 * string/test-strcmp-ifunc.c: Likewise.
17446 * string/test-strcpy-ifunc.c: Likewise.
17447 * string/test-strcspn-ifunc.c: Likewise.
17448 * string/test-strlen-ifunc.c: Likewise.
17449 * string/test-strncasecmp-ifunc.c: Likewise.
17450 * string/test-strncat-ifunc.c: Likewise.
17451 * string/test-strncmp-ifunc.c: Likewise.
17452 * string/test-strncpy-ifunc.c: Likewise.
17453 * string/test-strnlen-ifunc.c: Likewise.
17454 * string/test-strpbrk-ifunc.c: Likewise.
17455 * string/test-strrchr-ifunc.c: Likewise.
17456 * string/test-strspn-ifunc.c: Likewise.
17457 * string/test-strstr-ifunc.c: Likewise.
17459 * debug/Makefile (tests-ifunc): New variable.
17460 (tests): Add $(tests-ifunc).
17461 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17462 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17463 * debug/test-stpcpy_chk-ifunc.c: New file.
17464 * debug/test-strcpy_chk-ifunc.c: Likewise.
17466 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17469 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17470 header is not read in.
17472 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17474 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17475 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17476 directly. Pass built executable to script as
17477 $(built-program-cmd).
17478 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17479 $testprogram without using LD_LIBRARY_PATH and $ldso.
17481 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17482 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17483 $(rtld-installed-name).
17484 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17485 (rtld_installed_name): Likewise.
17486 (library_path): Likewise.
17487 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17488 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17489 $(run-program-prefix) to tst-tables.sh.
17490 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17491 it to run tst-table-from and tst-table-to.
17492 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17493 Pass it to tst-table.sh.
17494 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17495 $(run-program-prefix) to tst-gettext.sh.
17496 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17498 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17500 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17501 to run tst-gettext.
17502 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17503 to run tst-gettext2.
17504 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17505 to run tst-translit.
17506 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17507 $(run-program-prefix) to tst-mtrace.sh.
17508 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17510 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17511 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17512 $(rtld-installed-name).
17513 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17514 (rtld_installed_name): Likewise.
17515 (run_program_prefix): New variable. Use it to run wordexp-test.
17517 * Makeconfig (ARCH): Remove all definitions.
17518 (machine): Likewise.
17519 [ARCH]: Remove conditional code.
17520 [!objdir]: Give error.
17521 [!objdir] (objpfx): Remove.
17522 [!objdir] (common-objpfx): Likewise.
17523 [!objdir] (common-objdir): Likewise.
17524 * configure.in (config_makefile): Remove. Hardcode Makefile in
17525 AC_CONFIG_FILES call.
17526 * configure: Regenerated.
17529 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17531 (testout): Likewise.
17533 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17534 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17535 $(rtld-installed-name).
17536 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17537 (rtld_installed_name): Likwise.
17538 (runit): Remove function.
17539 (run_getconf): New variable, Use it for running getconf binary.
17541 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17544 * string/test-memmem.c (check_result): New function.
17545 (do_one_test): Use it.
17546 (check1): New function.
17547 (test_main): Use it.
17549 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17551 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17553 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17555 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17556 (_G_LSEEK64): Likewise.
17557 (_G_MMAP64): Likewise.
17558 (_G_FSTAT64): Likewise.
17559 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17560 (_G_LSEEK64): Likewise.
17561 (_G_MMAP64): Likewise.
17562 (_G_FSTAT64): Likewise.
17563 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17564 unconditional. Call __mmap64 directly.
17565 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17566 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17567 __lseek64 directly.
17568 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17569 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17571 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17572 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17573 __lseek64 directly.
17574 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17575 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17576 __lseek64 directly.
17577 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17578 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17579 __lseek64 directly.
17580 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17581 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17582 __fxstat64 directly.
17583 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17584 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17586 (freopen64) [!_G_OPEN64]: Remove conditional code.
17587 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17589 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17590 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17592 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17593 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17595 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17596 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17598 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17599 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17601 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17602 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17604 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17605 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17607 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17609 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17612 * manual/memory.texi (Malloc Tunable Parameters): Add note
17613 about free list pointers overwriting some perturb bytes.
17614 Wording suggested by Roland McGrath.
17616 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17618 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17619 (lgamma_test): Likewise.
17620 (tgamma_test): Likewise.
17622 2012-10-16 Florian Weimer <fweimer@redhat.com>
17625 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17626 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17628 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17630 * NEWS: Mention BZ #14716.
17631 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17632 when removing AVAILABLE1_USES_J macro.
17634 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17636 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17637 (__bswap_64): __uint64_t for unsigned 64-bit int.
17639 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17641 * include/string.h (memmem): Declare libc hidden alias.
17642 * string/memmem.c (memmem): Define libc hidden alias.
17643 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17644 __read, __close instead of open, read, close.
17646 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17649 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17651 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17652 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17653 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17655 (__rawmemchr_sse2): Likewise.
17656 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17657 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17658 (__strchr_sse2): Likewise.
17659 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17660 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17661 (__strcasecmp_sse2): Likewise.
17662 (__strncasecmp_sse2): Likewise.
17663 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17664 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17665 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17666 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17667 (__strrchr_sse2): Likewise.
17668 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17670 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17671 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17672 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17673 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17674 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17675 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17676 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17677 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17678 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17679 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17680 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17681 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17682 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17683 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17684 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17685 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17686 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17687 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17688 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17689 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17690 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17691 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17692 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17693 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17694 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17695 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17696 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17697 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17698 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17699 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17701 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17703 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17704 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17705 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17706 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17708 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17710 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17711 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17712 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17713 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17715 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17716 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17717 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17718 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17719 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17720 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17721 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17722 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17723 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17724 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17725 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17726 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17727 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17728 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17729 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17730 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17731 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17732 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17733 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17734 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17735 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17736 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17737 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17738 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17739 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17740 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17741 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17742 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17743 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17744 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17745 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17746 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17747 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17748 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17749 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17750 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17751 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17752 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17753 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17754 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17755 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17757 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17758 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17759 * include/ifunc-impl-list.h: New file.
17760 * misc/ifunc-impl-list.c: Likewise.
17761 * misc/Makefile (routines): Add ifunc-impl-list.
17762 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17763 * string/test-string.h: Include <ifunc-impl-list.h>.
17764 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17765 impl_array): New variables.
17766 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17768 (test_init): Call __libc_ifunc_impl_list to initialize
17769 func_list if TEST_IFUNC and TEST_NAME are defined.
17771 * string/Makefile (strop-tests): Add bcopy and bzero.
17772 * string/test-bcopy.c: New file.
17773 * string/test-bzero.c: Likewise.
17774 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17776 * string/test-memset.c: Support bzero test if TEST_BZERO is
17778 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17780 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17782 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17785 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17787 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17788 * configure: Regenerated.
17790 * Makeconfig (+link-static-before-libc): Don't include
17791 $(link-static-libc).
17793 * libio/libio.h (_IO_pos_t): Remove.
17795 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17797 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17800 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17802 * crypt/crypt-entry.c: Include fips-private.h.
17803 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17804 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17805 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17806 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17808 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17810 * crypt/crypt-private.h: Include stdbool.h.
17811 (_ufc_setup_salt_r): Return bool.
17812 * crypt/crypt-entry.c: Include errno.h.
17813 (__crypt_r): Return NULL with EINVAL for bad salt.
17814 * crypt/crypt_util.c (bad_for_salt): New.
17815 (_ufc_setup_salt_r): Check that salt is long enough and within
17816 the specified alphabet.
17817 * crypt/badsalttest.c: New file.
17818 * crypt/Makefile (tests): Add it.
17819 ($(objpfx)badsalttest): New.
17821 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17823 * NEWS: Add entry for BZ #14602.
17825 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17827 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17829 * math/libm-test.inc: Update comment listing what functions and
17831 (isgreater_test): New function.
17832 (isgreaterequal_test): Likewise.
17833 (isless_test): Likewise.
17834 (islessequal_test): Likewise.
17835 (islessgreater_test): Likewise.
17836 (isunordered_test): Likewise.
17837 (main): Call the new functions.
17839 2012-10-09 Roland McGrath <roland@hack.frob.com>
17841 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17842 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17843 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17844 * sysdeps/i386/configure: Regenerated.
17845 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17846 * sysdeps/mach/configure: Regenerated.
17847 * sysdeps/mach/hurd/configure: Regenerated.
17848 * sysdeps/powerpc/configure: Regenerated.
17849 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17850 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17851 * sysdeps/s390/s390-32/configure: Regenerated.
17852 * sysdeps/s390/s390-64/configure: Regenerated.
17853 * sysdeps/sh/configure: Regenerated.
17854 * sysdeps/sparc/configure: Regenerated.
17855 * sysdeps/unix/sysv/linux/configure: Regenerated.
17856 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17857 * sysdeps/x86_64/configure: Regenerated.
17859 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17860 defined. Don't check if MAP is NULL.
17862 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17864 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17865 (_G_stat64): Likewise.
17866 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17867 (_G_stat64): Likewise.
17868 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17869 instead of struct _G_stat64.
17870 * libio/fileops.c (mmap_remap_check): Likewise.
17871 (decide_maybe_mmap): Likewise.
17872 (_IO_new_file_seekoff): Likewise.
17873 (_IO_file_stat): Likewise.
17874 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17876 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17877 instead of struct _G_stat64.
17878 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17880 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17883 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17885 (CHECK_EOL): New macro.
17886 (two_way_short_needle): Check beginning of haystack for EOL. Use
17888 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17889 Replace with CHECK_EOL.
17890 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17891 Replace with CHECK_EOL.
17893 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17895 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17897 * math/libm-test.inc: Update comment listing what functions and
17899 (finite_test): New function.
17900 (isinf_test): Likewise.
17901 (isnan_test): Likewise.
17902 (fpclassify_test): Test subnormal input.
17903 (isfinite_test): Likewise.
17904 (isnormal_test): Likewise.
17905 (main): Call the new functions.
17907 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17910 * Makerules (%.dynsym): Force C locale when running
17911 $(OBJDUMP) --dynamic-syms.
17913 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17915 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17918 2012-10-06 David S. Miller <davem@davemloft.net>
17920 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17921 upper 32-bits of the length value in %o2 since we use branch-on-register
17922 tests which consider the entire 64-bit register.
17924 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17926 * string/test-strstr.c (check2): Add a test for page boundary.
17928 2012-10-05 David S. Miller <davem@davemloft.net>
17930 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17931 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17933 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17935 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17936 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17937 and bzero when HWCAP_SPARC_CRYPTO is present.
17939 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17942 * string/test-strstr.c (check2): New function.
17943 (test_main): Call check2.
17945 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17947 * string/bug-strcasestr1.c (do_test): Moved to ...
17948 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
17954 * string/test-strchr.c (check1): Here. New function.
17955 (do_one_test): Break out result checking code into ...
17956 (check_result): This. New function.
17957 (do_one_test): Call check_result.
17958 (test_main): Call check1.
17959 * string/bug-strstr1.c (main): Moved to ...
17960 * string/test-strstr.c (check1): Here. New function.
17961 (do_one_test): Break out result checking code into ...
17962 (check_result): This. New function.
17963 (do_one_test): Call check_result.
17964 (test_main): Call check1.
17965 * string/bug-strcasestr1.c: Removed.
17966 * string/bug-strchr1.c: Likewise.
17967 * string/bug-strstr1.c: Likewise.
17969 * elf/Makefile (dl-routines): Add hwcaps.
17970 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17971 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17972 (_dl_important_hwcaps): Moved to ...
17973 * elf/dl-hwcaps.c: Here. New file.
17974 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17977 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17978 if IS_IN_rtld isn't defined.
17980 * elf/dl-support.c (_dl_sysinfo_map): New.
17981 Include "get-dynamic-info.h" and "setup-vdso.h".
17982 (_dl_non_dynamic_init): Call setup_vdso.
17983 * elf/dynamic-link.h: Don't include <assert.h>.
17984 (elf_get_dynamic_info): Moved to ...
17985 * elf/get-dynamic-info.h: Here. New file.
17986 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17987 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17988 * elf/setup-vdso.h: Here. New file.
17989 * elf/rtld.c: Include "setup-vdso.h".
17990 (dl_main): Call setup_vdso.
17992 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17994 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17995 creal in comment listing functions tested. List finite, isinf,
17996 isnan, isless, islessequal, isgreater, isgreaterequal,
17997 islessgreater, isunordered, lgamma_r and pow10 as functions and
17998 macros not tested. Mention which functions not tested are aliases
17999 for other functions. Fix typo. Note that signs of NaNs are not
18002 * scripts/config.guess: Update from config.git.
18003 * scripts/config.sub: Likewise.
18005 2012-10-04 Roland McGrath <roland@hack.frob.com>
18007 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18008 * misc/madvise.c (madvise): Renamed to __madvise.
18009 Make madvise a weak alias.
18010 * include/sys/mman.h: Declare __madvise.
18011 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18012 * sysdeps/unix/syscalls.list
18013 (madvise): Make __madvise the strong name, and madvise a weak alias.
18014 * sysdeps/unix/sysv/linux/syscalls.list
18015 (madvise, mmap): Remove redundant entries.
18016 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18017 * malloc/malloc.c (mtrim): Likewise.
18018 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18020 2012-10-03 Roland McGrath <roland@hack.frob.com>
18022 * sysdeps/mach/hurd/dl-cache.c: File removed.
18023 * config.h.in (USE_LDCONFIG): New #undef.
18024 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18025 * configure: Regenerated.
18026 * elf/Makefile (dl-routines): Add dl-cache only under
18027 [$(use-ldconfig) = yes].
18028 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18029 cache on [USE_LDCONFIG].
18030 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18032 * elf/rtld.c (dl_main): Likewise.
18034 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18036 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18037 _SC_LEVEL4_CACHE_LINESIZE.
18039 2012-10-03 Roland McGrath <roland@hack.frob.com>
18041 * sysdeps/unix/bsd/confstr.h: File removed.
18043 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18045 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18048 2012-10-02 Roland McGrath <roland@hack.frob.com>
18050 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18051 Make 'mapoff' field ElfW(Off) rather than off_t.
18053 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18055 * nscd/Makefile: Remove nscd-cflags and all its users.
18056 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18057 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18060 * malloc.c (malloc_printerr): Clarify error message.
18062 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18066 Set bit_FMA_Usable if FMA is supported.
18067 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18069 (bit_FMA4_Usable): Updated.
18070 (index_FMA_Usable): New macro.
18071 (CPUID_FMA): Likewise
18072 (HAS_FMA): Defined with bit_FMA_Usable.
18074 2012-10-01 Roland McGrath <roland@hack.frob.com>
18076 * bits/types.h (__swblk_t): Type removed.
18077 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18078 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18080 (__SWBLK_T_TYPE): Likewise.
18081 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18082 (__SWBLK_T_TYPE): Likewise.
18083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18084 (__SWBLK_T_TYPE): Likewise.
18085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18086 (__SWBLK_T_TYPE): Likewise.
18088 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18089 Honza Horak <hhorak@redhat.com>
18091 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18092 (xdr_mapname): Use YPMAXMAP as maxsize.
18093 (xdr_peername): Use YPMAXPEER as maxsize.
18094 (xdr_keydat): Use YPAXRECORD as maxsize.
18095 (xdr_valdat): Use YPMAXRECORD as maxsize.
18097 2012-10-01 Roland McGrath <roland@hack.frob.com>
18099 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18101 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18102 * csu/init-first.c: ... here.
18103 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18104 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18105 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18106 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18107 * sysdeps/i386/init-first.c: File removed.
18108 * sysdeps/sh/init-first.c: File removed.
18110 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18114 if x * y might underflow to zero and z is zero.
18115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18117 * math/libm-test.inc (min_subnorm_value): New variable.
18118 (fma_test): Add more tests.
18119 (fma_test_towardzero): Likewise.
18120 (fma_test_downward): Likewise
18121 (fma_test_upward): Likewise.
18122 (initialize): Set min_subnorm_value.
18124 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18129 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18130 mode for addition resulting in exact zero.
18131 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18134 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18135 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18136 * math/libm-test.inc (fma_test): Add more tests.
18137 (fma_test_towardzero): New function.
18138 (fma_test_downward): Likewise.
18139 (fma_test_upward): Likewise.
18140 (main): Call the new functions.
18142 2012-09-28 David S. Miller <davem@davemloft.net>
18144 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18146 2012-09-28 Roland McGrath <roland@hack.frob.com>
18148 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18149 instead of SIGALRM.
18151 * sysdeps/gnu/_G_config.h: Moved to ...
18152 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18153 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18154 * sysdeps/generic/_G_config.h: ... here.
18156 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18158 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18160 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18161 Conditionalize target on [libnss_test1.so-version].
18163 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18165 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18166 (elfobjdir): Move out of conditionals.
18168 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18169 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18170 (__nss_lookup_function): Conditionalize label remove_from_tree on
18171 [!DO_STATIC_NSS || SHARED], matching its only use.
18173 2012-09-28 David S. Miller <davem@davemloft.net>
18175 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18176 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18178 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18180 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18181 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18182 when HWCAP_SPARC_CRYPTO is present.
18184 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18186 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18188 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18191 * stdio-common/vfprintf.c (process_string_arg): Revert
18194 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18196 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18198 * stdio-common/tst-sprintf.c: Include <locale.h>
18199 (main): Test sprintf's handling of incomplete multibyte
18202 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18204 * elf/dl-runtime.c (VERSYMIDX): Removed.
18205 * elf/dl-version.c (VERSYMIDX): Likewise.
18206 * elf/do-rel.h (VERSYMIDX): Likewise.
18207 (VALIDX): Likewise.
18208 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18209 * elf/rtld.c (VALIDX): Likewise.
18210 (ADDRIDX): Likewise.
18211 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18212 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18213 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18214 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18215 (VALIDX): Likewise.
18216 (ADDRIDX): Likewise.
18218 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18220 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18222 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18225 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18227 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18228 addresses are in the same scope as 192.0.2/24.
18229 * posix/gai.conf: Document new scope table defaults.
18231 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18234 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18235 for ftell. Compute offsets from write pointers instead.
18236 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18238 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18241 * libio/Makefile (tests): New test case tst-fseek.
18242 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18243 combination works in wide mode.
18244 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18245 state when the external buffer state changes.
18247 2012-09-27 David S. Miller <davem@davemloft.net>
18250 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18251 pass reloc->r_addend in as the 'high' argument to
18252 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18256 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18258 * rt/tst-aio2.c: Include <pthread.h>.
18259 * rt/tst-aio3.c: Likewise.
18261 2012-09-27 Steve Ellcey <sellcey@mips.com>
18263 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18265 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18267 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18268 contents on [SHARED].
18270 2012-09-26 Marek Polacek <polacek@redhat.com>
18274 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18275 for C++ and GCC <4.3 as well as for non GCC compilers.
18277 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18281 2012-09-25 Roland McGrath <roland@hack.frob.com>
18283 * Makefile.in (all, install): Declare with .PHONY.
18284 Reported by Michael Hope <michael.hope@linaro.org>.
18286 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18288 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18289 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18291 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18293 (sydep_routines): Add the new and the internal functions.
18294 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18295 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18297 (GLIBC_2.17): Add the new function.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18299 (GLIBC_2.17): Likewise.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18301 (GLIBC_2.17): Likewise.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18303 (GLIBC_2.17): Likewise.
18304 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18306 2012-09-25 Alan Modra <amodra@gmail.com>
18308 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18309 Add release barrier before setting once_control to say
18310 initialisation is done. Add hints on lwarx. Use macro in
18312 (clear_once_control): Add release barrier.
18314 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18317 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18319 * math/s_clog10.c (__clog10): Likewise.
18320 * math/s_clog10f.c (__clog10f): Likewise.
18321 * math/s_clog10l.c (__clog10l): Likewise.
18322 * math/s_clogf.c (__clogf): Likewise.
18323 * math/s_clogl.c (__clogl): Likewise.
18324 * math/Makefile (libm-calls): Add x2y2m1.
18325 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18326 (__x2y2m1): Likewise.
18327 (__x2y2m1l): Likewise.
18328 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18329 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18333 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18334 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18335 * sysdeps/i386/fpu/libm-test-ulps: Update.
18336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18339 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18340 int as type of variable DEPTH.
18341 (glob): Use size_t instead of int as type of variables NEWCOUNT
18344 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18346 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18347 Add s_sincosf-sse2.
18348 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18349 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18350 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18351 macros for using routine as __sincosf_ia32.
18352 Use macro for function declaration and weak_alias.
18353 * sysdeps/i386/fpu/libm-test-ulps: Update.
18355 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18358 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18359 subnormal argument.
18360 * math/s_cexpf.c (__cexpf): Likewise.
18361 * math/s_csinf.c (__csinf): Likewise.
18362 * math/s_csinhf.c (__csinhf): Likewise.
18363 * math/s_ctanf.c (__ctanf): Likewise.
18364 * math/s_ctanhf.c (__ctanhf): Likewise.
18365 * math/s_ccosh.c (__ccoshf): Likewise.
18366 * math/s_cexp.c (__cexpl): Likewise.
18367 * math/s_csin.c (__csin): Likewise.
18368 * math/s_csinh.c (__csinh): Likewise.
18369 * math/s_ctan.c (__ctan): Likewise.
18370 * math/s_ctanh.c (ctanh): Likewise.
18371 * math/s_ccoshl.c (__ccoshl): Likewise.
18372 * math/s_cexpl.c (__cexpl): Likewise.
18373 * math/s_csinl.c (__csinl): Likewise.
18374 * math/s_csinhl.c (__csinhl): Likewise.
18375 * math/s_ctanl.c (__ctanl): Likewise.
18376 * math/s_ctanhl.c (__ctanhl): Likewise.
18378 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18380 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18381 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18382 (_IO_off_t): Define to __off_t, not _G_off_t.
18383 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18384 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18385 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18386 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18387 type of __dummy and __dummy2 fields.
18388 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18389 (_G_ssize_t): Likewise.
18390 (_G_off_t): Likewise.
18391 (_G_pid_t): Likewise.
18392 (_G_uid_t): Likewise.
18393 (_G_wchar_t): Likewise.
18394 (_G_wint_t): Likewise.
18395 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18396 (_G_ssize_t): Likewise.
18397 (_G_off_t): Likewise.
18398 (_G_pid_t): Likewise.
18399 (_G_uid_t): Likewise.
18400 (_G_wchar_t): Likewise.
18401 (_G_wint_t): Likewise.
18402 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18403 (_G_ssize_t): Likewise.
18404 (_G_off_t): Likewise.
18405 (_G_pid_t): Likewise.
18406 (_G_uid_t): Likewise.
18407 (_G_wchar_t): Likewise.
18408 (_G_wint_t): Likewise.
18410 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18412 * malloc/arena.c: Include malloc-sysdep.h.
18413 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18414 is sufficient to shrink the heap or an unmap is needed.
18415 * sysdeps/generic/malloc-sysdep.h: New file. Define
18416 new function check_may_shrink_heap.
18417 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18418 new function check_may_shrink_heap.
18420 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18422 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18425 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18427 * catgets/test-gencat.sh: Add "set -e".
18428 * elf/tst-pathopt.sh: Likewise.
18429 * grp/tst_fgetgrent.sh: Likewise.
18430 * iconvdata/run-iconv-test.sh: Likewise.
18431 * intl/tst-gettext.sh: Likewise.
18432 * intl/tst-gettext2.sh: Likewise.
18433 * intl/tst-gettext4.sh: Likewise.
18434 * intl/tst-gettext6.sh: Likewise.
18435 * intl/tst-translit.sh: Likewise.
18436 * io/ftwtest-sh: Likewise.
18437 * libio/test-freopen.sh: Likewise.
18438 * malloc/tst-mtrace.sh: Likewise.
18439 * posix/globtest.sh: Likewise.
18440 * posix/tst-getconf.sh: Likewise.
18441 * posix/wordexp-tst.sh: Likewise.
18442 * stdio-common/tst-printf.sh: Likewise.
18443 * stdio-common/tst-unbputc.sh: Likewise.
18444 * stdlib/tst-fmtmsg.sh: Likewise.
18445 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18446 * catgets/Makefile: Do not specify -e option when running
18447 testsuite shell scripts.
18448 * elf/Makefile: Likewise.
18449 * grp/Makefile: Likewise.
18450 * iconvdata/Makefile: Likewise.
18451 * intl/Makefile: Likewise.
18452 * io/Makefile: Likewise.
18453 * libio/Makefile: Likewise.
18454 * malloc/Makefile: Likewise.
18455 * posix/Makefile: Likewise.
18456 * stdio-common/Makefile: Likewise.
18457 * stdlib/Makefile: Likewise.
18458 * sysdeps/x86_64/Makefile: Likewise.
18460 * io/ftwtest-sh: Add copyright header.
18461 * posix/globtest.sh: Likewise.
18462 * posix/tst-getconf.sh: Likewise.
18463 * posix/wordexp-tst.sh: Likewise.
18464 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18466 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18469 * Makeconfig (+link): Defined as $(+link-static) if
18470 $(build-shared) isn't yes.
18471 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18473 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18475 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18478 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18479 new chunk size with MALLOC_ALIGN_MASK.
18481 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18484 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18486 (__printf_fphex): Determine rounding using get_rounding_mode and
18488 * stdio-common/tst-printf-round.c (struct hex_test): New
18490 (hex_tests): New variable.
18491 (test_hex_in_one_mode): New function.
18492 (do_test): Also run tests for hex float output.
18494 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18496 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18497 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18498 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18499 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18500 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18501 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18502 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18503 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18505 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18507 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18508 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18509 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18510 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18512 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18515 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18517 * elf/tst-rtld-load-self.sh: New test.
18518 * elf/Makefile: Run it.
18520 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18522 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18523 (tst-writev-ENV): Remove.
18524 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18526 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18528 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18530 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18532 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18534 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18536 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18537 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18538 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18541 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18544 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18545 * config.make.in (have-cpp-asm-debuginfo): Removed.
18546 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18547 * configure: Regenerated.
18549 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18552 * stdio-common/printf_fp.c: Include <stdbool.h> and
18554 (___printf_fp): Determine rounding using get_rounding_mode and
18556 * stdio-common/tst-printf-round.c: New file.
18557 * stdio-common/Makefile (tests): Add tst-printf-round.
18558 (link-libm): New variable.
18559 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18561 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18564 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18565 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18567 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18570 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18572 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18573 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18574 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18575 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18577 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18580 * include/rounding-mode.h: New file.
18581 * sysdeps/generic/get-rounding-mode.h: Likewise.
18582 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18583 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18584 (MAX_VALUE): New macro.
18585 (MIN_VALUE): Likewise.
18586 (overflow_value): New function.
18587 (underflow_value): Likewise.
18588 (round_and_return): Use overflow_value and underflow_value to
18589 determine return values in overflow and underflow cases. Use
18590 round_away to determine rounding depending on rounding mode.
18591 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18592 determine return values in overflow and underflow cases.
18593 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18594 (struct test_results): New structure.
18595 (struct test): Use struct test_results to store expected results
18596 for all rounding modes.
18597 (TEST): Include expected results for all rounding modes.
18598 (test_in_one_mode): New function.
18599 (do_test): Use test_in_one_mode to compute and check results.
18600 Check results for all rounding modes.
18601 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18604 2012-12-09 Allan McRae <allan@archlinux.org>
18606 * sysdeps/i386/fpu/libm-test-ulps: Update
18608 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18610 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18611 (_G_int32_t): Likewise.
18612 (_G_uint16_t): Likewise.
18613 (_G_uint32_t): Likewise.
18614 (_G_HAVE_BOOL): Likewise.
18615 (_G_HAVE_ATEXIT): Likewise.
18616 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18617 (_G_HAVE_IO_FILE_OPEN): Likewise.
18618 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18619 (_G_int32_t): Likewise.
18620 (_G_uint16_t): Likewise.
18621 (_G_uint32_t): Likewise.
18622 (_G_HAVE_BOOL): Likewise.
18623 (_G_HAVE_ATEXIT): Likewise.
18624 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18625 (_G_HAVE_IO_FILE_OPEN): Likewise.
18626 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18627 (_G_int32_t): Likewise.
18628 (_G_uint16_t): Likewise.
18629 (_G_uint32_t): Likewise.
18630 (_G_HAVE_BOOL): Likewise.
18631 (_G_HAVE_ATEXIT): Likewise.
18632 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18633 (_G_HAVE_IO_FILE_OPEN): Likewise.
18635 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18637 * csu/libc-tls.c: Update copyright years.
18639 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18641 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18642 [!_G_USING_THUNKS]: Remove conditional code.
18643 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18644 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18646 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18647 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18648 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18649 (_G_VTABLE_LABEL_PREFIX): Likewise.
18650 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18651 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18652 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18653 (_G_VTABLE_LABEL_PREFIX): Likewise.
18654 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18655 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18656 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18657 (_G_VTABLE_LABEL_PREFIX): Likewise.
18658 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18660 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18662 * libio/Makefile: Include ../Makeconfig before tests.
18663 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18664 only if $(build-shared) is yes.
18666 * iconv/gconv_db.c: Update copyright years.
18668 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18670 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18671 unwind info if defined PIC. Fix special cases description.
18672 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18674 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18676 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18678 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18680 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18682 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18685 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18686 (LDLIBS-tst-chk4): This.
18687 (LDFLAGS-tst-chk5): Renamed to ...
18688 (LDLIBS-tst-chk5): This.
18689 (LDFLAGS-tst-chk6): Renamed to ...
18690 (LDLIBS-tst-chk6): This.
18691 (LDFLAGS-tst-lfschk4): Renamed to ...
18692 (LDLIBS-tst-lfschk4): This.
18693 (LDFLAGS-tst-lfschk5): Renamed to ...
18694 (LDLIBS-tst-lfschk5): This.
18695 (LDFLAGS-tst-lfschk6): Renamed to ...
18696 (LDLIBS-tst-lfschk6): This.
18698 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18699 on $(common-objpfx)soversions.mk.
18701 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18704 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18707 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18709 * malloc/arena.c (arena_get_retry): New function that gets
18710 another arena for the caller to try its request on.
18711 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18712 current arena cannot fulfill the request.
18713 (__libc_memalign): Likewise.
18714 (__libc_memalign): Likewise.
18715 (__libc_pvalloc): Likewise.
18716 (__libc_calloc): Likewise.
18718 2012-09-05 John Tobey <john.tobey@gmail.com>
18721 * manual/arith.texi (Operations on Complex): Fix description
18722 of carg branch cut.
18724 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18727 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18731 * manual/memory.texi (Memory): Make order of menu items match
18734 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18736 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18737 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18738 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18740 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18742 * csu/libc-tls.c (static_dtv): Renamed to ...
18743 (_dl_static_dtv): This. Make it global.
18744 (_dl_initial_dtv): Removed.
18745 (__libc_setup_tls): Updated.
18746 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18747 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18750 2012-09-06 Petr Machata <pmachata@redhat.com>
18752 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18753 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18754 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18755 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18757 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18760 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18761 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18764 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18767 * Makeconfig (link-static-before-libc): Replace $(+prector)
18769 (link-static-after-libc): Replace $(+postctor) with
18771 (link-bounded): Replace $(+prector)/$(+postctor) with
18772 $(+prectorT)/$(+postctorT).
18773 (+prectorT): New macro.
18774 (+postctorT): Likewise.
18776 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18778 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18779 (round_str): Handle values above the maximum for IBM long double
18781 * stdlib/tst-strtod-round.c (tests): Regenerated.
18783 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18785 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18787 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18788 zarch_nohighgprs around the zarch optimized routines.
18789 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18790 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18791 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18794 2012-09-05 David S. Miller <davem@davemloft.net>
18796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18798 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18799 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18800 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18801 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18804 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18806 * malloc/arena.c: Fold copyright years.
18807 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18809 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18811 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18813 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18815 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18817 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18819 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18820 change internal state upon failure.
18822 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18824 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18825 * malloc/memusage.c (mmap): Likewise.
18826 (mmap64, mremap): Likewise. Adjust name in comment.
18828 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18830 * libio/fileops.c: Fix typos in comments.
18831 * libio/oldfileops.c: Likewise.
18832 * libio/wfileops.c: Likewise.
18834 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18837 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18838 (tst-malloc-usable-ENV): Set environment for test case.
18839 * malloc/hooks.c (malloc_check_get_size): New function to get
18841 * malloc/malloc.c (musable): Use malloc_check_get_size.
18842 * malloc/tst-malloc-usable.c: New test case.
18844 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18846 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18848 2012-09-05 Allan McRae <allan@archlinux.org>
18851 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18852 determine header location.
18853 * configure: Regenerated.
18855 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18857 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18859 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18860 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18862 (test): Regenerate.
18864 2012-09-04 David S. Miller <davem@davemloft.net>
18866 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18867 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18868 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18870 2012-09-04 Florian Weimer <fweimer@redhat.com>
18872 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18875 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18877 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18880 * libio/iogetdelim.c: Include <limits.h>.
18881 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18882 + len + 1 would overflow.
18884 2012-09-03 Andreas Jaeger <aj@suse.de>
18886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18887 * sysdeps/i386/fpu/libm-test-ulps: Update.
18889 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18891 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18892 Add s_sinf-sse2, s_conf-sse2.
18894 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18895 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18896 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18897 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18899 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18900 for using routine as __sinf_ia32.
18901 Use macro for function declaration and weak_alias.
18902 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18903 for using routine as __cosf_ia32.
18904 Use macro for function declaration and weak_alias.
18906 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18907 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18909 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18910 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18913 * math/libm-test.inc (cos_test): Add more test cases.
18914 (sin_test): Likewise.
18915 (sincos_test): Likewise.
18917 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18919 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18920 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18922 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18924 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18927 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18928 first element of the GOT.
18929 (elf_machine_load_address): Return the difference between
18930 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18932 2012-09-01 Allan McRae <allan@archlinux.org>
18935 * configure.in (AWK): Require gawk version 3.0 or later.
18936 * configure: Regenerated.
18938 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18940 * sysdeps/unix/sysv/linux/kernel-features.h
18941 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18942 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18943 [__NR_clock_getres]: Make code unconditional.
18944 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18945 (clock_getcpuclockid): Remove code left unreachable by removal of
18947 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18948 code unconditional.
18949 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18950 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18951 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18952 Make code unconditional.
18953 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18954 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18955 * sysdeps/unix/sysv/linux/clock_settime.c
18956 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18958 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18959 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18961 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18964 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18965 scripts/test-installation.pl.
18967 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18968 and $ld_so_version if it is set.
18970 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18973 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18974 failure if reading from procfs failed.
18975 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18977 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18979 * sysdeps/unix/sysv/linux/kernel-features.h
18980 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18981 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18982 Remove conditional code.
18983 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18984 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18985 Remove conditional code.
18986 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18987 * sysdeps/unix/sysv/linux/i386/fxstat.c
18988 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18989 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18990 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18991 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18992 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18993 * sysdeps/unix/sysv/linux/i386/lxstat.c
18994 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18996 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18997 Remove conditional code.
18998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18999 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19000 Remove conditional code.
19001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19002 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19003 <kernel-features.h>.
19004 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19006 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19007 Remove conditional code.
19008 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19009 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19010 Remove conditional.
19012 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19015 * NEWS: Add fixed bug number.
19017 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19020 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19021 underflowing exponent in case of negative sign.
19022 * stdlib/tst-strtod-round-data: Add more tests.
19023 * stdlib/tst-strtod-round.c (tests): Regenerated.
19026 * stdlib/strtod_l.c (NDIG): Remove.
19027 (HEXNDIG): Likewise.
19028 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19029 smallest representable value.
19030 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19031 lie within an exact representation of 1/2 ulp of the result.
19032 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19034 (TENS_P9_IDX): Define unconditionally.
19035 (TENS_P9_SIZE): Likewise.
19036 (TENS_P10_IDX): Likewise.
19037 (TENS_P10_SIZE): Likewise.
19038 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19039 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19040 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19041 entries for 10^2^13 and 10^2^14.
19042 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19043 (TENS_P13_IDX): Define.
19044 (TENS_P13_SIZE): Likewise.
19045 (TENS_P14_IDX): Likewise.
19046 (TENS_P14_SIZE): Likewise.
19047 (_fpioconst_pow10): Change array size to
19048 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19050 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19051 1024]: Add entries for 10^2^13 and 10^2^14.
19052 [LAST_POW10 > _LAST_POW10]: Remove #error.
19053 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19054 (_fpioconst_pow10): Change array size to
19055 FPIOCONST_POW10_ARRAY_SIZE.
19056 * stdlib/gen-fpioconst.c: New file.
19057 * stdlib/gen-tst-strtod-round.c: Likewise.
19058 * stdlib/tst-strtod-round-data: Likewise.
19059 * stdlib/tst-strtod-round.c: Likewise.
19060 * stdlib/Makefile (tests): Add tst-strtod-round.
19063 * stdlib/strtod_l.c: Include <stdint.h>.
19064 (NDEBUG): Do not define.
19065 (round_and_return): Change EXPONENT parameter to type intmax_t.
19066 Rearrange calculations to avoid internal overflow possibilities.
19067 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19068 Rearrange calculations to avoid internal overflow possibilities.
19069 Assert that number fits inside MPNSIZE limbs.
19070 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19071 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19072 calculations and add assertions to avoid internal overflow
19073 possibilities. Add casts to avoid signed/unsigned operations.
19074 * stdlib/tst-strtod-overflow.c: New file.
19075 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19077 2012-08-25 Marek Polacek <polacek@redhat.com>
19079 * time/time.h: Fix some typos in comments.
19081 2012-08-23 Roland McGrath <roland@hack.frob.com>
19083 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19084 * posix/tst-rfc3484-2.c: Likewise.
19085 * posix/tst-rfc3484-3.c: Likewise.
19087 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19089 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19090 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19092 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19094 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19095 #include of fxstatat64.c.
19097 2012-08-22 Roland McGrath <roland@hack.frob.com>
19099 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19100 * shadow/getspent_r.c: Likewise.
19101 * shadow/getspnam.c: Likewise.
19102 * shadow/getspnam_r.c: Likewise.
19103 * gshadow/getsgent.c: Likewise.
19104 * gshadow/getsgent_r.c: Likewise.
19105 * gshadow/getsgnam.c: Likewise.
19106 * gshadow/getsgnam_r.c: Likewise.
19107 * inet/getnetbyad.c: Likewise.
19108 * inet/getnetbyad_r.c: Likewise.
19109 * inet/getnetbynm.c: Likewise.
19110 * inet/getnetbynm_r.c: Likewise.
19111 * inet/getnetent.c: Likewise.
19112 * inet/getnetent_r.c: Likewise.
19113 * inet/getproto.c: Likewise.
19114 * inet/getproto_r.c: Likewise.
19115 * inet/getprtent.c: Likewise.
19116 * inet/getprtent_r.c: Likewise.
19117 * inet/getprtname.c: Likewise.
19118 * inet/getprtname_r.c: Likewise.
19119 * inet/getrpcbyname.c: Likewise.
19120 * inet/getrpcbyname_r.c: Likewise.
19121 * inet/getrpcbynumber.c: Likewise.
19122 * inet/getrpcbynumber_r.c: Likewise.
19123 * inet/getrpcent.c: Likewise.
19124 * inet/getrpcent_r.c: Likewise.
19125 * inet/getaliasent.c: Likewise.
19126 * inet/getaliasent_r.c: Likewise.
19127 * inet/getaliasname.c: Likewise.
19128 * inet/getaliasname_r.c: Likewise.
19129 * nscd/getgrgid_r.c: Likewise.
19130 * nscd/getgrnam_r.c: Likewise.
19131 * nscd/gethstbyad_r.c: Likewise.
19132 * nscd/gethstbynm3_r.c: Likewise.
19133 * nscd/getpwnam_r.c: Likewise.
19134 * nscd/getpwuid_r.c: Likewise.
19135 * nscd/getsrvbynm_r.c: Likewise.
19136 * nscd/getsrvbypt_r.c: Likewise.
19137 * nscd/gai.c: Likewise.
19139 * configure.in (build_nscd): New substituted variable, set
19140 by --disable-build-nscd and defaults to $use_nscd.
19141 * configure: Regenerated.
19142 * config.make.in (build-nscd): New substituted variable.
19143 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19144 Change conditional to require [$(build-nscd) = yes] as well.
19145 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19148 * configure.in (use_nscd): New substituted variable, set by
19149 --disable-nscd. If enabled, define USE_NSCD.
19150 * configure: Regenerated.
19151 * config.h.in: Add USE_NSCD.
19152 * config.make.in (use-nscd): New substituted variable.
19153 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19154 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19155 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19156 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19157 (CFLAGS-getgrnam_r.c): Likewise.
19158 (CFLAGS-initgroups.c): Likewise.
19159 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19160 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19162 * inet/getnetgrent_r.c
19163 (nscd_setnetgrent): New function, broken out of ...
19164 (setnetgrent): ... here. Call it.
19165 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19166 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19167 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19168 * nscd/Makefile (routines, aux): Move definitions after include of
19169 Makeconfig. Conditionalize on [$(use-nscd) != no].
19170 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19171 Conditionalize on [USE_NSCD].
19172 (is_nscd, nscd_init_cb): Likewise.
19173 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19174 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19175 * nss/nss_db/db-init.c: Likewise.
19176 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19178 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19179 (make_request): Use it.
19180 (cache_valid_p): New function.
19181 (__check_pf): Use it.
19182 * NEWS: Add item for --disable-nscd.
19184 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19186 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19187 to support sed >= 4.2.1-20-ga9bf076.
19188 * configure: Regenerated.
19190 2012-08-22 Roland McGrath <roland@hack.frob.com>
19192 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19193 Conditionalize whole body on [IREL].
19195 2012-08-22 Jeff Law <law@redhat.com>
19198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19199 if the family is PF_UNSPEC.
19201 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19203 * Makerules (lib-version): Rename from V.
19204 (install-lib-nosubdir): Change V to lib-version.
19206 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19209 * powerpc32/power6/wcschr.c: New file.
19210 * powerpc32/power6/wcscpy.c: New file.
19211 * powerpc32/power6/wcsrchr.c: New file.
19212 * powerpc64/power6/wcschr.c: New file.
19213 * powerpc64/power6/wcscpy.c: New file.
19214 * powerpc64/power6/wcsrchr.c: New file.
19216 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19218 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19219 (two_way_short_needle): Use it.
19220 * string/strstr.c (AVAILABLE1_USES_J): Define.
19221 * string/strcasestr.c: Likewise.
19223 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19225 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19228 * NEWS: Add an entry.
19229 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19230 define their defaults.
19231 (two_way_short_needle): Detect end-of-string on-the-fly.
19232 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19233 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19234 * string/bug-strcasestr1.c: New test.
19235 * string/Makefile: Run it.
19237 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19240 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19241 the first character.
19243 2012-08-21 Roland McGrath <roland@hack.frob.com>
19245 * csu/elf-init.c (__libc_csu_irel): Function removed.
19246 * csu/libc-start.c (apply_irel): New function.
19247 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19249 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19251 * sysdeps/unix/sysv/linux/kernel-features.h
19252 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19253 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19254 <kernel-features.h>.
19255 [__NR_fadvise64_64]: Make code unconditional.
19256 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19257 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19258 !__NR_fadvise64_64)]: Likewise.
19259 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19260 !__NR_fadvise64_64))]: Likewise.
19261 [__NR_fadvise64]: Make code unconditional.
19262 [!__NR_fadvise64]: Remove conditional code.
19263 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19264 <kernel-features.h>.
19265 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19267 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19270 not include <kernel-features.h>.
19271 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19273 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19275 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19276 include <kernel-features.h>.
19277 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19279 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19282 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19284 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19285 slight instruction rearrangements per scrollpipe analysis.
19286 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19288 2012-08-20 Roland McGrath <roland@hack.frob.com>
19290 * manual/syslog.texi (syslog; vsyslog, closelog):
19291 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19292 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19294 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19295 DSOCAPS to match condition on defining it.
19297 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19299 * sysdeps/unix/sysv/linux/kernel-features.h
19300 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19302 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19303 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19305 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19306 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19308 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19309 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19311 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19312 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19314 * sysdeps/unix/sysv/linux/kernel-features.h
19315 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19316 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19318 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19319 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19320 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19321 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19322 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19323 Make code unconditional.
19324 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19325 (__mmap64) [!__NR_mmap2]: Likewise.
19326 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19327 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19328 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19329 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19330 [__NR_mmap2]: Make code unconditional.
19331 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19332 (__mmap64) [!__NR_mmap2]: Likewise.
19334 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19336 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19338 2012-08-18 Andreas Jaeger <aj@suse.de>
19340 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19342 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19344 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19345 * include/unistd.h (__have_sock_cloexec): Likewise.
19346 (__have_pipe2): Likewise.
19347 (__have_dup3): Likewise.
19349 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19352 * include/unistd.h (__have_pipe2): Change define into an extern int.
19353 (__have_dup3): Likewise.
19354 * socket/have_sock_cloexec.c: Include fcntl.h.
19355 (__have_pipe2): New variable.
19356 (__have_dup3): Likewise.
19358 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19360 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19362 2012-08-17 Marek Polacek <polacek@redhat.com>
19364 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19365 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19367 2012-08-17 Roland McGrath <roland@hack.frob.com>
19369 * configure.in: Add AC_SUBST for sysheaders.
19370 * configure: Regenerated.
19371 * config.make.in (sysheaders): New substituted variable.
19373 * sysdeps/unix/mkfifo.c: Moved ...
19374 * sysdeps/posix/mkfifo.c: ... here.
19375 * sysdeps/unix/mkfifoat.c: Moved ...
19376 * sysdeps/posix/mkfifoat.c: ... here.
19378 * sysdeps/unix/utime.c: Moved ...
19379 * sysdeps/posix/utime.c: ... here.
19381 * sysdeps/unix/time.c: Moved ...
19382 * sysdeps/posix/time.c: ... here.
19383 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19384 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19386 * sysdeps/unix/nice.c: Moved ...
19387 * sysdeps/posix/nice.c: ... here.
19389 * sysdeps/unix/alarm.c: Moved ...
19390 * sysdeps/posix/alarm.c: ... here.
19392 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19394 2012-08-17 Jeff Law <law@redhat.com>
19396 * intl/Makefile (codeset_mo): New variable.
19397 ($(codeset_mo)): New target.
19398 (tst-codeset.out): Depend on that. Remove explicit rule.
19399 (tst-gettext3.out, tst-gettext5.out): Likewise.
19400 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19401 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19402 * intl/tst-codeset.sh: Remove.
19403 * intl/tst-gettext3.sh: Likewise.
19404 * intl/tst-gettext5.sh: Likewise.
19406 2012-08-17 Roland McGrath <roland@hack.frob.com>
19408 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19409 * sysdeps/unix/syscalls.list: ... here.
19411 * sysdeps/posix/getaddrinfo.c
19412 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19413 (gaiconf_init, gaiconf_reload): Use them.
19414 [!_STATBUF_ST_NSEC]
19415 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19416 Define using time_t rather than struct timespec.
19418 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19419 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19421 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19423 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19424 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19427 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19428 __libc_cleanup_push argument.
19430 * bits/param.h: New file.
19431 * misc/sys/param.h: New file.
19432 * include/sys/param.h: New file.
19433 * misc/Makefile (headers): Add bits/param.h.
19434 * sysdeps/generic/sys/param.h: File removed.
19435 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19436 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19437 * sysdeps/mach/hurd/bits/param.h: New file.
19438 * sysdeps/mach/hurd/sys/param.h: File removed.
19440 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19443 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19445 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19446 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19449 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19450 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19451 rather than -D_IO_MTSAFE_IO conditionally.
19452 * stdio-common/Makefile (CPPFLAGS): Likewise.
19453 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19454 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19455 Use $(libio-mtsafe).
19456 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19457 of -D_IO_MTSAFE_IO.
19458 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19459 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19460 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19461 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19462 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19463 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19464 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19465 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19466 (CFLAGS-fread_u_chk.c): Likewise.
19467 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19468 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19469 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19470 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19471 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19472 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19473 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19474 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19475 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19477 * libio/Makefile: Test [$(libc-reentrant) = yes]
19478 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19481 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19482 * sysdeps/pthread/configure: File removed.
19483 * sysdeps/pthread/Makeconfig: New file.
19484 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19485 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19487 2012-08-16 Gary Benson <gbenson@redhat.com>
19489 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19490 unmapping the first object in a namespace.
19492 2012-08-16 Roland McGrath <roland@hack.frob.com>
19494 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19495 (__internal_setnetgrent): ... this. Add internal_function to
19496 definition. Add libc_hidden_def.
19497 (setnetgrent): Update caller.
19498 (internal_endnetgrent): Renamed to ...
19499 (__internal_endnetgrent): ... this. Add internal_function to
19500 definition. Add libc_hidden_def.
19501 (endnetgrent): Update caller.
19502 (internal_getnetgrent_r): Renamed to ...
19503 (__internal_getnetgrent_r): ... this. Add internal_function to
19504 definition. Add libc_hidden_def.
19505 (__getnetgrent_r): Update caller.
19506 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19508 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19510 * stdlib/longlong.h: Update from GCC.
19512 2012-08-16 Roland McGrath <roland@hack.frob.com>
19514 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19515 on _QL, which is set by umul_ppmm but never used.
19516 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19517 variables, which are set by GMP macros but never used.
19518 * stdio-common/_itowa.c (_itowa): Likewise.
19519 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19520 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19522 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19524 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19525 struct La_sh_regs is not constant.
19526 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19527 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19528 and struct La_sparc64_regs are not constant.
19530 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19532 * sysdeps/unix/sysv/linux/kernel-features.h
19533 (__ASSUME_POSIX_TIMERS): Remove.
19534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19535 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19536 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19537 Make code unconditional.
19538 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19539 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19540 Make code unconditional.
19541 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19542 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19543 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19544 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19545 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19546 Make code unconditional.
19547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19548 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19549 (__libc_missing_posix_timers): Remove.
19551 2012-08-15 Roland McGrath <roland@hack.frob.com>
19553 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19554 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19556 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19558 * elf/dl-sym.c: Include <stdlib.h>.
19560 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19561 constants, which avoids warnings in 32-bit builds.
19563 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19564 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19566 * misc/lseek.c: File moved to ...
19567 * io/lseek.c: ... here.
19569 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19571 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19572 shifting LEN more than 31 bits at once.
19574 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19577 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19578 segmentation fault for a case of two empty input strings.
19579 * string/test-strncasecmp.c (check1): Renamed to...
19580 (bz12205): ...this.
19581 (bz14195): Add new testcase for two empty input strings and N > 0.
19582 (test_main): Call new testcase, adapt for renamed function.
19584 2012-08-15 Andreas Jaeger <aj@suse.de>
19587 * crypt/md5test2.c: New test, based on test supplied by Serge
19588 Belyshev <belyshev@depni.sinp.msu.ru>.
19589 * crypt/Makefile (xtests): Add md5test-giant..
19590 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19592 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19595 * crypt/md5.c (md5_process_block): Don't assume the buffer
19596 length is less than 2**32.
19597 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19598 length is less than 2**64.
19600 2012-08-15 Roland McGrath <roland@hack.frob.com>
19602 * string/str-two-way.h: Include <sys/param.h>.
19603 (MAX): Macro removed.
19605 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19606 Move #define and #undef of memmove to just before and after
19607 including <string.h>.
19609 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19610 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19611 and after including <string.h>. Move declarations of
19612 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19613 to before #include "string/memmove.c".
19615 * include/dirent.h: Declare __getdirentries.
19617 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19618 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19620 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19622 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19623 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19624 * sysdeps/i386/configure: Regenerated.
19625 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19626 STABS_CURRENT_FILE, and STABS_FUN.
19627 (END): Remove call to STABS_FUN_END.
19628 (STABS_CURRENT_FILE1): Delete.
19629 (STABS_CURRENT_FILE): Likewise.
19630 (STABS_FUN): Likewise.
19631 (STABS_FUN_END): Likewise.
19632 (STABS_FUN2): Likewise.
19633 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19634 * sysdeps/x86_64/configure: Regenerated.
19636 2012-08-14 Roland McGrath <roland@hack.frob.com>
19638 * elf/dl-open.c: Include <atomic.h>.
19639 * elf/dl-lookup.c: Likewise.
19641 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19643 * sysdeps/unix/sysv/linux/kernel-features.h
19644 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19645 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19647 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19649 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19650 condition on __ASSUME_CLONE_THREAD_FLAGS.
19652 2012-08-14 Andreas Jaeger <aj@suse.de>
19654 * sysdeps/i386/fpu/libm-test-ulps: Update.
19656 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19658 * include/atomic.h (atomic_exchange_and_add): Split into ...
19659 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19662 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19666 2012-08-13 Jeff Law <law@redhat.com>
19668 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19669 null byte in the output string.
19671 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19673 * sysdeps/unix/sysv/linux/kernel-features.h
19674 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19675 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19676 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19677 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19678 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19679 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19680 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19682 2012-08-09 Jeff Law <law@redhat.com>
19685 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19686 When avoid_arena is set, don't retry in the that arena. Pick the
19687 next one, whatever it might be.
19688 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19689 (arena_lock): Pass in new parameter to arena_get2.
19690 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19692 (__libc_malloc): Unify retrying after main arena failure with
19693 __libc_memalign version.
19694 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19696 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19699 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19700 to __redirect_strstr.
19701 (__strstr_sse42): Use typeof __redirect_strstr.
19702 (__strstr_ia32): Likewise.
19703 (__libc_strstr): New prototype.
19704 (strstr): Renamed to ...
19705 (__libc_strstr): This.
19706 (strstr): New strong alias of __libc_strstr.
19707 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19708 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19711 (__libc_time): New prototype.
19712 (time_ifunc): Replace time with __libc_time.
19713 (time): New strong alias and hidden definition of __libc_time.
19714 (__GI_time): Remove strong alias.
19715 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19716 Include <stddef.h>.
19717 (memmove): Redefined to __redirect_memmove.
19718 (__memmove_sse2): Use typeof __redirect_memmove.
19719 (__memmove_ssse3): Likewise.
19720 (__memmove_ssse3_back): Likewise.
19721 (__libc_memmove): New prototype.
19722 (memmove): Renamed to ...
19723 (__libc_memmove): This.
19724 (memmove): New strong alias of __libc_memmove.
19726 2012-08-08 Mark Salter <msalter@redhat.com>
19729 (R_MN10300_TLS_GD): Define.
19730 (R_MN10300_TLS_LD): Likewise.
19731 (R_MN10300_TLS_LDO): Likewise.
19732 (R_MN10300_TLS_GOTIE): Likewise.
19733 (R_MN10300_TLS_IE): Likewise.
19734 (R_MN10300_TLS_LE): Likewise.
19735 (R_MN10300_TLS_DTPMOD): Likewise.
19736 (R_MN10300_TLS_DTPOFF): Likewise.
19737 (R_MN10300_TLS_TPOFF): Likewise.
19738 (R_MN10300_SYM_DIFF): Likewise.
19739 (R_MN10300_ALIGN): Likewise.
19740 (R_MN10300_NUM): Update.
19742 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19744 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19747 2012-08-08 Roland McGrath <roland@hack.frob.com>
19749 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19751 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19752 sysdeps/unix -> sysdeps/posix move.
19753 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19755 2012-08-07 Allan McRae <allan@archlinux.org>
19758 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19759 (SUNOS_CPP): Likewise.
19760 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19762 (open_input): Call CPP using execvp.
19764 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19766 * sysdeps/unix/sysv/linux/kernel-features.h
19767 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19768 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19769 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19770 (__ASSUME_WAITID_SYSCALL): Likewise.
19771 * sysdeps/unix/sysv/linux/dl-execstack.c
19772 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19773 code unconditional.
19774 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19776 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19777 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19778 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19780 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19782 [__ASSUME_WAITID_SYSCALL]: Likewise.
19783 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19785 2012-08-07 Roland McGrath <roland@hack.frob.com>
19787 * sysdeps/unix/closedir.c: Renamed to ...
19788 * sysdeps/posix/closedir.c: ... here.
19789 * sysdeps/unix/dirfd.c: Renamed to ...
19790 * sysdeps/posix/dirfd.c: ... here.
19791 * sysdeps/unix/dirstream.h: Renamed to ...
19792 * sysdeps/posix/dirstream.h: ... here.
19793 * sysdeps/unix/fdopendir.c: Renamed to ...
19794 * sysdeps/posix/fdopendir.c: ... here.
19795 * sysdeps/unix/opendir.c: Renamed to ...
19796 * sysdeps/posix/opendir.c: ... here.
19797 * sysdeps/unix/readdir.c: Renamed to ...
19798 * sysdeps/posix/readdir.c: ... here.
19799 * sysdeps/unix/readdir_r.c: Renamed to ...
19800 * sysdeps/posix/readdir_r.c: ... here.
19801 * sysdeps/unix/rewinddir.c: Renamed to ...
19802 * sysdeps/posix/rewinddir.c: ... here.
19803 * sysdeps/unix/seekdir.c: Renamed to ...
19804 * sysdeps/posix/seekdir.c: ... here.
19805 * sysdeps/unix/telldir.c: Renamed to ...
19806 * sysdeps/posix/telldir.c: ... here.
19807 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19808 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19809 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19810 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19812 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19813 * bits/fcntl.h: ... here.
19815 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19817 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19818 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19819 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19820 (struct flock): Move l_start, l_len to the beginning.
19821 Use __pid_t for l_pid.
19822 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19823 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19824 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19825 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19826 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19827 [__USE_LARGEFILE64] (struct flock64): New type.
19828 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19830 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19831 * bits/dirent.h: ... here.
19833 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19834 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19836 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19838 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19839 Change from 2.6.0 to 2.6.16.
19840 * sysdeps/unix/sysv/linux/configure: Regenerated.
19841 * sysdeps/unix/sysv/linux/kernel-features.h
19842 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19843 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19845 (__ASSUME_UTIMES): Likewise.
19846 (__ASSUME_CLONE_STOPPED): Remove.
19847 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19848 architectures, not kernel version.
19849 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19850 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19851 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19852 (__ASSUME_WAITID_SYSCALL): Likewise.
19853 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19854 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19855 * README: State 2.6.16 as minimum Linux kernel version. Do not
19856 refer to older versions.
19858 2012-08-06 Roland McGrath <roland@hack.frob.com>
19860 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19861 Define alphasort64 as an alias.
19862 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19863 Define versionsort64 as an alias.
19864 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19865 Define scandir64 as an alias.
19866 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19867 Define scandirat64 as an alias.
19868 * dirent/alphasort64.c (alphasort64):
19869 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19870 * dirent/versionsort64.c: Likewise.
19871 * dirent/scandir64.c: Likewise.
19872 * dirent/scandirat64.c: Likewise.
19873 * sysdeps/wordsize-64/alphasort.c: File removed.
19874 * sysdeps/wordsize-64/alphasort64.c: File removed.
19875 * sysdeps/wordsize-64/scandir.c: File removed.
19876 * sysdeps/wordsize-64/scandir64.c: File removed.
19877 * sysdeps/wordsize-64/scandirat.c: File removed.
19878 * sysdeps/wordsize-64/scandirat64.c: File removed.
19879 * sysdeps/wordsize-64/versionsort.c: File removed.
19880 * sysdeps/wordsize-64/versionsort64.c: File removed.
19881 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19882 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19883 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19884 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19885 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19886 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19887 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19890 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19891 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19892 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19894 [defined __arch64__ || defined __sparcv9]
19895 (__INO_T_MATCHES_INO64_T): New macro.
19896 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19897 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19898 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19899 * sysdeps/unix/sysv/linux/bits/dirent.h
19900 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19901 (_DIRENT_MATCHES_DIRENT64): New macro.
19903 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19904 Define lockf64 as an alias.
19905 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19906 Define fseeko64 as an alias.
19907 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19908 Define ftello64 as an alias.
19909 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19910 Define _IO_fgetpos64 and fgetpos64 as aliases.
19911 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19912 Define _IO_fsetpos64 and fsetpos64 as aliases.
19913 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19914 Conditionalize body on this.
19915 * libio/fseeko64.c: Likewise.
19916 * libio/ftello64.c: Likewise.
19917 * libio/iofgetpos64.c: Likewise.
19918 * libio/iofsetpos64.c: Likewise.
19919 * sysdeps/wordsize-64/lockf.c: File removed.
19920 * sysdeps/wordsize-64/lockf64.c: File removed.
19921 * sysdeps/wordsize-64/fseeko.c: File removed.
19922 * sysdeps/wordsize-64/fseeko64.c: File removed.
19923 * sysdeps/wordsize-64/ftello.c: File removed.
19924 * sysdeps/wordsize-64/ftello64.c: File removed.
19925 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19926 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19927 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19928 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19929 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19930 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19931 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19932 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19933 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19934 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19935 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19936 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19937 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19938 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19940 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19942 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19944 [defined __arch64__ || defined __sparcv9]
19945 (__OFF_T_MATCHES_OFF64_T): New macro.
19946 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19947 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19948 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19949 (__OFF_T_MATCHES_OFF64_T): New macro.
19951 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19953 * stdlib/secure-getenv.c (__secure_getenv): Replace
19954 GLIBC_2_16 with GLIBC_2_17.
19956 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19958 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19959 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19961 2012-08-03 David S. Miller <davem@davemloft.net>
19963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19965 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19969 (__ASSUME_CORRECT_SI_PID): Likewise.
19970 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19971 (__ASSUME_TMPFS_NAME): Likewise.
19972 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19973 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19974 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19975 (HAVE_AUX_SECURE): Make definition unconditional.
19976 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19977 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19979 2012-08-03 Roland McGrath <roland@hack.frob.com>
19981 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19982 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19983 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19984 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19985 __eloop_threshold instead of SYMLOOP_MAX.
19987 * sysdeps/generic/eloop-threshold.h: New file.
19988 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19990 * elf/chroot_canon.c (chroot_canon): Likewise.
19992 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19996 Change to 2.6.0 everywhere.
19997 * sysdeps/unix/sysv/linux/configure: Regenerated.
19998 * sysdeps/unix/sysv/linux/kernel-features.h
19999 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20000 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20002 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20003 (__ASSUME_FUTEX_REQUEUE): Remove.
20004 (__ASSUME_STATFS64): Define unconditionally.
20005 (__ASSUME_AT_SECURE): Likewise.
20006 (__ASSUME_CORRECT_SI_PID): Likewise.
20007 (__ASSUME_TGKILL): Define without depending on kernel version for
20009 (__ASSUME_UTIMES): Likewise.
20010 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20012 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20013 (__ASSUME_TMPFS_NAME): Likewise.
20014 * README: Update reference to Linux kernel versions.
20016 2012-08-02 Marek Polacek <polacek@redhat.com>
20019 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20020 libc_cv_asm_type_prefix with %.
20021 * configure: Regenerated.
20022 * include/libc-symbols.h: Remove comment about
20023 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20024 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20025 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20026 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20027 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20028 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20029 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20030 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20031 * elf/tst-unique2mod1.c: Likewise.
20032 * elf/tst-unique1mod2.c: Likewise.
20033 * elf/tst-unique1mod1.c: Likewise.
20034 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20035 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20036 Replace ASM_TYPE_DIRECTIVE with .type.
20037 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20038 * sysdeps/i386/sysdep.h: Likewise.
20039 * sysdeps/x86_64/sysdep.h: Likewise.
20040 * sysdeps/sh/sysdep.h: Likewise.
20041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20042 Do not define ASM_TYPE_DIRECTIVE.
20043 * sysdeps/powerpc/sysdep.h: Likewise.
20044 * sysdeps/powerpc/powerpc32/sysdep.h:
20045 Replace ASM_TYPE_DIRECTIVE with .type.
20046 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20047 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20048 * sysdeps/i386/fpu/e_powf.S: Likewise.
20049 * sysdeps/i386/fpu/e_expl.S: Likewise.
20050 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20051 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20052 * sysdeps/i386/fpu/e_pow.S: Likewise.
20053 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20054 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20055 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20056 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20057 * sysdeps/i386/fpu/e_log2.S: Likewise.
20058 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20059 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20060 * sysdeps/i386/fpu/e_powl.S: Likewise.
20061 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20062 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20063 * sysdeps/i386/fpu/e_logl.S: Likewise.
20064 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20065 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20066 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20067 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20068 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20069 * sysdeps/i386/fpu/e_log.S: Likewise.
20070 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20071 * sysdeps/i386/fpu/e_logf.S: Likewise.
20072 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20073 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20074 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20075 * sysdeps/i386/fpu/e_log10.S: Likewise.
20076 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20077 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20078 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20079 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20080 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20081 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20082 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20083 * sysdeps/i386/i686/strtok.S: Likewise.
20084 * sysdeps/i386/i386-mcount.S: Likewise.
20085 * sysdeps/i386/strtok.S: Likewise.
20086 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20087 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20089 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20090 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20091 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20092 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20093 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20094 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20095 * sysdeps/x86_64/_mcount.S: Likewise.
20096 * sysdeps/x86_64/strtok.S: Likewise.
20097 * sysdeps/sh/_mcount.S: Likewise.
20099 2012-08-01 Roland McGrath <roland@hack.frob.com>
20101 * libio/iofopen.c: Include <fcntl.h>.
20102 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20103 (_IO_fopen64, fopen64): Define as aliases.
20104 * libio/iofopen64.c: Include <fcntl.h>.
20105 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20106 Conditionalize body on this.
20107 * sysdeps/wordsize-64/iofopen.c: File removed.
20108 * sysdeps/wordsize-64/iofopen64.c: File removed.
20110 2012-08-01 Marek Polacek <polacek@redhat.com>
20112 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20113 Use dlfcn directly instead of a variable.
20114 (binfmt-subdir): Do not define.
20117 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20119 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20120 Remove all definitions.
20121 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20122 <kernel-features.h>.
20123 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20124 (miss_F_GETOWN_EX): Remove all definitions.
20125 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20127 [!__ASSUME_FCNTL64]: Remove conditional code.
20128 [__ASSUME_FCNTL64]: Make code unconditional.
20129 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20130 <kernel-features.h>.
20131 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20132 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20133 (lockf64) [__NR_fcntl64]: Make code unconditional.
20134 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20136 * sysdeps/unix/sysv/linux/kernel-features.h
20137 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20138 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20139 Make code unconditional.
20140 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20141 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20143 [__NR_vfork]: Make code unconditional.
20144 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20145 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20147 [__NR_vfork]: Make code unconditional.
20148 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20149 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20151 2012-08-01 Roland McGrath <roland@hack.frob.com>
20153 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20154 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20156 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20157 Define mkstemp64 as an alias.
20158 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20159 Define mkstemps64 as an alias.
20160 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20161 Define mkostemp64 as an alias.
20162 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20163 Define mkostemps64 as an alias.
20164 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20165 Conditionalize body on this.
20166 * misc/mkostemp64.c: Likewise.
20167 * misc/mkostemps64.c: Likewise.
20168 * misc/mkstemps64.c: Likewise.
20169 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20170 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20171 * sysdeps/wordsize-64/mkostemp.c: File removed.
20172 * sysdeps/wordsize-64/mkstemp.c: File removed.
20173 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20174 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20175 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20176 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20179 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20180 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20181 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20182 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20184 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20185 compat_symbol macros from <shlib-compat.h> rather than the underlying
20186 default_symbol_version and symbol_version macros, so that DEFAULT
20187 lines in shlib-versions are respected.
20188 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20190 2012-08-01 Florian Weimer <fweimer@redhat.com>
20192 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20193 Declare with warn_unused_result.
20194 (setgid, setregid, setegid, setresgid): Likewise.
20195 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20197 * WUR-REPORT: Remove set*id functions.
20199 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20201 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20203 2012-07-31 Roland McGrath <roland@hack.frob.com>
20206 * include/sys/socket.h (__libc_accept, __libc_accept4):
20207 Add attribute_hidden.
20208 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20210 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20212 * inet/getnetgrent_r.c (setup): Likewise.
20214 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20216 2012-07-31 David S. Miller <davem@davemloft.net>
20218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20220 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20223 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20224 value between 1.0 and 2.0 and smaller part has absolute value less
20226 * math/s_clog10.c (__clog10): Likewise.
20227 * math/s_clog10f.c (__clog10f): Likewise.
20228 * math/s_clog10l.c (__clog10l): Likewise.
20229 * math/s_clogf.c (__clogf): Likewise.
20230 * math/s_clogl.c (__clogl): Likewise.
20231 * math/libm-test.inc (clog_test): Add more tests.
20232 (clog10_test): Likewise.
20233 * sysdeps/i386/fpu/libm-test-ulps: Update.
20234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20236 2012-07-31 Florian Weimer <fweimer@redhat.com>
20238 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20239 Exit with zero in case no suitable GID is found, and write a
20240 message to standard error.
20242 2012-07-30 Roland McGrath <roland@hack.frob.com>
20244 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20246 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20247 (MAXPATHLEN): Removed.
20248 (NOGROUP, NODEV): New macros.
20249 (setbit, clrbit, isset, isclr): New macros.
20250 (howmany, roundup, powerof2): New macros.
20251 (DEV_BSIZE): New macro.
20253 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20254 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20256 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20257 definition on [!__NO_LONG_DOUBLE_MATH].
20259 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20260 PTR_MANGLE and PTR_DEMANGLE.
20262 * socket/accept4.c (accept4): Rename to __libc_accept4.
20263 Define accept4 as a weak alias.
20265 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20266 on [_DIRENT_HAVE_D_TYPE].
20267 * io/ftw.c (ftw_dir): Likewise.
20269 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20271 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20273 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20274 Use the BSD numbers rather than the arbitrary ones we had.
20275 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20276 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20277 (SIGXCPU, SIGXFSZ): New macros.
20280 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20281 initializer on [_LIBC_REENTRANT].
20283 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20284 definitions inside [_POSIX_MAPPED_FILES].
20286 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20288 * dirent/opendir.c: Include <fcntl.h>.
20290 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20291 (__libc_getspecific): Likewise.
20292 (__libc_key_create): Likewise.
20294 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20295 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20296 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20297 (tmpfile64): Define as alias.
20298 * sysdeps/wordsize-64/tmpfile.c: File removed.
20299 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20300 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20301 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20303 * stdio-common/vfscanf.c: Include <stdbool.h>.
20304 * nss/makedb.c: Likewise.
20305 * stdio-common/_i18n_number.h: Likewise.
20306 * argp/argp-help.c: Likewise.
20307 * posix/wordexp.c: Likewise.
20308 * sysdeps/posix/spawni.c: Likewise.
20309 * nss/nss_files/files-initgroups.c: Likewise.
20310 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20311 * nss/nss_files/files-initgroups.c: Likewise.
20312 * nss/nss_db/db-netgrp.c: Likewise.
20313 * nss/nss_db/db-initgroups.c: Likewise.
20314 * io/fchmodat.c: Include <sys/stat.h>.
20316 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20317 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20319 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20322 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20323 Add multiple inclusion protection.
20325 2012-07-27 David S. Miller <davem@davemloft.net>
20327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20329 2012-07-27 Gary Benson <gbenson@redhat.com>
20332 * elf/rtld.c: Include <stap-probe.h>.
20333 (dl_main): Added static probes "init_start" and "init_complete".
20334 * elf/dl-load.c: Include <stap-probe.h>.
20335 (lose): Take new parameter "nsid".
20336 Added static probe "map_failed".
20337 (_dl_map_object_from_fd): Pass namespace id to lose.
20338 Added static probe "map_start".
20339 (open_verify): Pass namespace id to lose.
20340 * elf/dl-open.c: Include <stap-probe.h>.
20341 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20342 and "reloc_complete".
20343 * elf/dl-close.c: Include <stap-probe.h>.
20344 (_dl_close_worker): Added static probes "unmap_start" and
20346 * elf/rtld-debugger-interface.txt: New file documenting the above.
20348 2012-07-26 Roland McGrath <roland@hack.frob.com>
20350 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20351 rather than a string variable.
20352 * sunrpc/rpc_main.c (h_output): Likewise.
20353 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20355 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20357 * inet/check_native.c: New file.
20359 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20362 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20363 if larger part has absolute value 1.0.
20364 * math/s_clog10.c (__clog10): Likewise.
20365 * math/s_clog10f.c (__clog10f): Likewise.
20366 * math/s_clog10l.c (__clog10l): Likewise.
20367 * math/s_clogf.c (__clogf): Likewise.
20368 * math/s_clogl.c (__clogl): Likewise.
20369 * math/libm-test.inc (clog_test): Add more tests.
20370 (clog10_test): Likewise.
20371 * sysdeps/i386/fpu/libm-test-ulps: Update.
20372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20374 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20375 (pltexit): Likewise.
20376 (La_regs): Likewise.
20377 (La_retval): Likewise.
20378 (int_retval): Likewise.
20379 Update #error for removed macros to refer only to definitions in
20381 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20383 (pltexit): Likewise.
20384 (La_regs): Likewise.
20385 (La_retval): Likewise.
20386 (int_retval): Likewise.
20387 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20389 (pltexit): Likewise.
20390 (La_regs): Likewise.
20391 (La_retval): Likewise.
20392 (int_retval): Likewise.
20393 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20395 (pltexit): Likewise.
20396 (La_regs): Likewise.
20397 (La_retval): Likewise.
20398 (int_retval): Likewise.
20399 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20401 (pltexit): Likewise.
20402 (La_regs): Likewise.
20403 (La_retval): Likewise.
20404 (int_retval): Likewise.
20405 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20407 (pltexit): Likewise.
20408 (La_regs): Likewise.
20409 (La_retval): Likewise.
20410 (int_retval): Likewise.
20411 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20413 (pltexit): Likewise.
20414 (La_regs): Likewise.
20415 (La_retval): Likewise.
20416 (int_retval): Likewise.
20417 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20418 macro definitions in tst-audit.h.
20419 * sysdeps/i386/tst-audit.h: New file.
20420 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20421 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20422 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20423 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20424 * sysdeps/sh/tst-audit.h: Likewise.
20425 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20426 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20427 * sysdeps/x86_64/tst-audit.h: Likewise.
20429 2012-07-26 Andreas Jaeger <aj@suse.de>
20431 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20434 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20435 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20436 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20438 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20439 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20440 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20442 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20445 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20447 (si_call_addr, si_syscall, si_arch): Define new macro.
20448 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20450 (si_call_addr, si_syscall, si_arch): Define new marcro.
20451 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20453 (si_call_addr, si_syscall, si_arch): Define new macro.
20454 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20456 (si_call_addr, si_syscall, si_arch): Define new macro.
20458 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20461 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20462 Change to 2.4.21 where previously 2.4.1.
20463 * sysdeps/unix/sysv/linux/configure: Regenerated.
20464 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20465 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20466 Linux kernel version.
20467 (__ASSUME_STD_AUXV): Remove.
20468 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20470 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20471 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20472 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20473 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20474 (__ASSUME_NETLINK_SUPPORT): Likewise.
20475 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20476 (__no_netlink_support): Remove conditional definition.
20477 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20479 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20480 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20481 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20482 (if_nameindex_ioctl): Remove.
20483 (if_nameindex_netlink): Do not handle __no_netlink_support.
20484 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20486 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20487 Remove conditional code.
20488 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20490 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20492 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20493 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20494 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20496 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20497 [!__ASSUME_STD_AUXV]: Remove conditional code.
20498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20499 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20500 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20502 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20503 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20505 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20507 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20508 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20510 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20512 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20515 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20518 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20519 code unconditional.
20520 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20522 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20524 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20527 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20529 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20532 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20533 code unconditional.
20534 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20536 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20538 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20541 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20542 code unconditional.
20543 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20545 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20547 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20550 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20552 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20553 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20554 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20555 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20556 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20557 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20558 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20559 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20560 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20561 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20562 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20563 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20564 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20565 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20566 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20567 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20568 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20569 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20570 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20572 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20573 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20574 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20576 2012-07-25 Florian Weimer <fweimer@redhat.com>
20578 * Versions.def: Add GLIBC_2.17.
20579 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20580 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20581 Introduce __libc_secure_getenv.
20582 * stdlib/Versions (2.17): Add secure_getenv
20583 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20584 * stdlib/secure-getenv.c: Rename __secure_getenv to
20585 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20586 symbol __secure_getenv for GLIBC_2.0.
20587 * stdlib/tst-secure-getenv.c: New.
20588 * stdlib/Makefile (tests): Add testcase.
20589 * manual/startup.texi (Environment Access): Document
20591 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20592 __libc_secure_getenv.
20593 * inet/ruserpass.c (ruserpass): Likewise.
20594 * malloc/mtrace.c (mtrace): Likewise.
20595 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20596 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20597 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20598 * sysdeps/posix/tempname.c: Likewise. Evaluate
20599 HAVE_SECURE_GETENV.
20600 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20601 __secure_getenv to __libc_secure_getenv.
20602 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20615 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20617 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20618 (struct La_i86_retval): Likewise.
20619 (struct La_x86_64_regs): Likewise.
20620 (struct La_x86_64_retval): Likewise.
20621 (struct La_x32_regs): Likewise.
20622 (struct La_x32_retval): Likewise.
20623 (struct La_ppc32_regs): Likewise.
20624 (struct La_ppc32_retval): Likewise.
20625 (struct La_ppc64_regs): Likewise.
20626 (struct La_ppc64_retval): Likewise.
20627 (struct La_sh_regs): Likewise.
20628 (struct La_sh_retval): Likewise.
20629 (struct La_s390_32_regs): Likewise.
20630 (struct La_s390_32_retval): Likewise.
20631 (struct La_s390_64_regs): Likewise.
20632 (struct La_s390_64_retval): Likewise.
20633 (struct La_sparc32_regs): Likewise.
20634 (struct La_sparc32_retval): Likewise.
20635 (struct La_sparc64_regs): Likewise.
20636 (struct La_sparc64_retval): Likewise.
20637 (struct audit_ifaces): Remove architecture-specific pltenter and
20639 * sysdeps/i386/ldsodefs.h: New file.
20640 * sysdeps/powerpc/ldsodefs.h: Likewise.
20641 * sysdeps/s390/ldsodefs.h: Likewise.
20642 * sysdeps/sh/ldsodefs.h: Likewise.
20643 * sysdeps/sparc/ldsodefs.h: Likewise.
20644 * sysdeps/x86_64/ldsodefs.h: Likewise.
20646 2012-07-25 Marek Polacek <polacek@redhat.com>
20649 * math/libm-test.inc (yn_test): Add another test.
20650 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20651 to ERANGE when the result is +-Inf.
20652 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20653 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20654 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20655 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20657 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20659 * conform/data/time.h-data (NULL): Use macro-constant. Require
20661 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20663 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20665 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20667 * configure.in <sysdeps resolving>: Correct printing
20669 * configure: Regenerate.
20671 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20673 * math/w_ilogb.c: Include <limits.h>.
20674 * math/w_ilogbl.c: Likewise.
20676 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20678 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20679 va_copy. Document allowing for unavailable va_copy only as
20680 pre-C99 compatibility.
20681 * manual/string.texi (Copying and Concatenation): Use va_copy
20682 instead of __va_copy in concat example.
20684 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20686 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20687 (__sendto): Use create_address_port. Initialize APORT and deallocate
20690 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20691 with O_NOLINK passed to __file_name_lookup.
20693 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20694 with O_NOLINK passed to __file_name_lookup.
20696 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20697 negative N or less than NGIDS.
20699 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20700 type to string_t. Set ERANGE as errno and return it if NAME is not big
20701 enough. Use memcpy instead of strncpy.
20703 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20705 * elf/Makefile (check-data): Remove.
20706 (localplt.data): New vpath directive.
20707 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20708 instead of $(check-data).
20709 * scripts/data/localplt-generic.data: Move to ...
20710 * sysdeps/generic/localplt.data: ... here.
20711 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20712 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20713 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20716 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20719 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20722 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20725 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20728 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20732 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20734 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20735 PPC32 and PPC64 files.
20736 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20737 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20739 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20741 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20742 __makecontext_ret to ...
20743 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20744 ... here and call exit if uc_link is NULL. New file.
20745 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20746 __makecontext_ret.S.
20747 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20748 __makecontext_ret to ...
20749 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20750 ... here and call exit if uc_link is NULL. New file.
20751 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20752 __makecontext_ret.S.
20754 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20756 * elf/elf.h (R_390_IRELATIVE): New definition.
20757 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20758 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20759 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20760 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20761 (elf_machine_lazy_rel): Likewise.
20762 * sysdeps/s390/dl-irel.h: New file.
20763 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20764 * sysdeps/s390/s390-64/memset.S: New asm code.
20765 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20766 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20767 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20768 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20769 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20770 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20771 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20772 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20773 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20774 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20775 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20776 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20777 * sysdeps/s390/s390-32/memset.S: New asm code.
20778 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20780 2012-07-17 Marek Polacek <polacek@redhat.com>
20783 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20784 * sysdeps/s390/s390-64/configure.in: Likewise.
20785 * sysdeps/sparc/configure.in: Likewise.
20786 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20787 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20788 * sysdeps/i386/configure.in: Likewise.
20789 * sysdeps/x86_64/configure.in: Likewise.
20790 * sysdeps/sh/configure.in: Likewise.
20791 * sysdeps/s390/s390-32/configure: Regenerated.
20792 * sysdeps/s390/s390-64/configure: Likewise.
20793 * sysdeps/x86_64/configure: Likewise.
20794 * sysdeps/sh/configure: Likewise.
20795 * sysdeps/powerpc/powerpc64/configure: Likewise.
20796 * sysdeps/powerpc/powerpc32/configure: Likewise.
20797 * sysdeps/sparc/configure: Likwise.
20798 * sysdeps/i386/configure: Likewise.
20800 * elf/dl-open.c: Comment fixes.
20802 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20804 * Makefile [CXX] (check-data): Remove.
20805 [CXX] (c++-types.data): New vpath directive.
20806 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20807 vpath. Do not allow for C++ type data being missing.
20808 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20809 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20810 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20811 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20812 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20813 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20814 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20817 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20820 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20823 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20826 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20829 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20832 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20835 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20838 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20839 definitions to architecture-specific files.
20840 (TLS_IE): Likewise.
20841 (TLS_LD): Likewise.
20842 (TLS_GD): Likewise.
20843 * sysdeps/i386/tls-macros.h: New file.
20844 * sysdeps/powerpc/tls-macros.h: Likewise.
20845 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20846 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20847 * sysdeps/sh/tls-macros.h: Likewise.
20848 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20849 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20850 * sysdeps/x86_64/tls-macros.h: Likewise.
20852 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20854 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20855 zero value for regular exit case.
20857 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20858 (__start_context): Preserve zero value for regular exit case.
20860 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20861 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20863 * manual/setjmp.texi (setcontext): Clarify normal process
20864 termination when uc_link is the null pointer.
20865 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20868 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20870 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20871 preprocessor. Test for each exception mask separately.
20873 2012-07-16 Andreas Jaeger <aj@suse.de>
20875 * po/ru.po: Update from translation team.
20877 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20879 * conform/data/string.h-data (NULL): Use macro-constant. Require
20881 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20882 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20883 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20884 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20887 2012-07-13 Andreas Jaeger <aj@suse.de>
20889 * po/fr.po: Update from translation team.
20891 2012-07-12 Marek Polacek <polacek@redhat.com>
20894 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20898 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20901 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20902 Change to 2.4.1 where previously 2.4.0.
20903 * sysdeps/unix/sysv/linux/configure: Regenerated.
20904 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20905 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20907 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20908 (__ASSUME_AT_CLKTCK): Remove.
20909 (__ASSUME_AT_PAGESIZE): Likewise.
20910 (__ASSUME_AT_XID): Likewise.
20911 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20912 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20913 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20915 (HAVE_AUX_PAGESIZE): Likewise.
20916 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20917 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20918 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20920 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20924 the temporary buffer used to invoke __gethostbyname2_r,
20925 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20926 host_data / struct gaih_addrtuple.
20927 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20928 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20929 header file nss/nsswitch.h.
20930 * nss/nsswitch.h (global scope): Add definition of implementation
20931 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20932 resolv/nss_dns/dns-host.c).
20934 2012-07-11 Andreas Jaeger <aj@suse.de>
20936 * po/fr.po: Update from translation team.
20938 * po/sv.po: Update from translation team
20939 * po/fr.po: Another update from translation team.
20941 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20943 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20944 for subnormals or multiply small sinh result by itself.
20945 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20948 2012-07-11 David S. Miller <davem@davemloft.net>
20950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20952 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20955 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20956 (INTERNAL_MARK): Shift it here.
20958 2012-07-10 Marek Polacek <polacek@redhat.com>
20961 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20962 libc_cv_asm_global_directive with .globl.
20963 * configure: Regenerated.
20964 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20966 * sysdeps/i386/configure: Regenerated.
20967 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20969 * sysdeps/x86_64/configure: Regenerated.
20970 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20971 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20972 * elf/tst-unique2mod2.c: Likewise.
20973 * elf/tst-unique2mod1.c: Likewise.
20974 * elf/tst-unique1mod2.c: Likewise.
20975 * elf/tst-unique1mod1.c: Likewise.
20976 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20977 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20978 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20979 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20980 * sysdeps/mach/sysdep.h: Likewise.
20981 * sysdeps/i386/sysdep.h: Likewise.
20982 * sysdeps/i386/i386-mcount.S: Likewise.
20983 * sysdeps/x86_64/_mcount.S: Likewise.
20984 * sysdeps/x86_64/sysdep.h: Likewise.
20985 * sysdeps/sh/_mcount.S: Likewise.
20986 * sysdeps/sh/sysdep.h: Likewise.
20987 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20988 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20989 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20990 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20991 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20992 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20993 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20994 * locale/localeinfo.h: Likewise.
20995 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20996 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20998 2012-07-09 Roland McGrath <roland@hack.frob.com>
21001 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21003 * manual/message.texi (The Uniforum approach): Likewise.
21004 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21005 (glibc iconv Implementation): Likewise.
21007 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21010 * math/s_clog.c (__clog): Avoid scaling a value down where that
21011 could result in underflow.
21012 * math/s_clog10.c (__clog10): Likewise.
21013 * math/s_clog10f.c (__clog10f): Likewise.
21014 * math/s_clog10l.c (__clog10l): Likewise.
21015 * math/s_clogf.c (__clogf): Likewise.
21016 * math/s_clogl.c (__clogl): Likewise.
21017 * math/libm-test.inc (clog_test): Add more tests.
21018 (clog10_test): Likewise.
21019 * sysdeps/i386/fpu/libm-test-ulps: Update.
21020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21022 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21025 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21026 by 7 not 8 to examine high bit of fractional part.
21029 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21030 for call to __mcount_internal.
21031 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21032 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21033 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21035 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21038 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21039 approximation for values within 0x1p-13f of an odd multiple of
21041 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21042 exception. Add more tests.
21043 * sysdeps/i386/fpu/libm-test-ulps: Update.
21046 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21047 inputs and return -1 for them. Do not check for +Inf in case not
21048 reachable for +Inf.
21049 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21050 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21051 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21052 and return -1 for them. Do not check for +Inf in case not
21053 reachable for +Inf.
21054 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21056 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21057 and return -1 for them. Do not check for +Inf in case not
21058 reachable for +Inf.
21059 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21060 spurious underflow.
21061 * sysdeps/i386/fpu/libm-test-ulps: Update.
21062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21064 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21066 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21068 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21072 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21073 could result in spurious underflow. Scale down values above
21074 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21075 * math/s_csqrtf.c (__csqrtf): Likewise.
21076 * math/s_csqrtl.c (__csqrtl): Likewise.
21077 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21078 spurious underflow.
21079 * sysdeps/i386/fpu/libm-test-ulps: Update.
21080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21082 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21084 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21086 * catgets/xopen-msg.awk: New file.
21087 * catgets/xopen-msg.sed: Removed.
21089 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21091 * intl/po2test.awk: New file.
21092 * intl/po2test.sed: Removed.
21094 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21097 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21098 or multiply small sinh result by itself.
21099 * math/s_ctanf.c (__ctanf): Likewise.
21100 * math/s_ctanh.c (__ctanh): Likewise.
21101 * math/s_ctanhf.c (__ctanhf): Likewise.
21102 * math/s_ctanhl.c (__ctanhl): Likewise.
21103 * math/s_ctanl.c (__ctanl): Likewise.
21104 * math/libm-test.inc (ctan_test_tonearest): New function.
21105 (ctan_test_towardzero): Likewise.
21106 (ctan_test_downward): Likewise.
21107 (ctan_test_upward): Likewise.
21108 (ctanh_test_tonearest): Likewise.
21109 (ctanh_test_towardzero): Likewise.
21110 (ctanh_test_downward): Likewise.
21111 (ctanh_test_upward): Likewise.
21112 (main): Call these new functions.
21113 * sysdeps/i386/fpu/libm-test-ulps: Update.
21114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21116 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21118 * .gitignore: Delete /ports entry.
21120 2012-07-03 Andreas Jaeger <aj@suse.de>
21122 * po/bg.po: Update from translation team.
21123 * po/cs.po: Likewise.
21124 * po/de.po: Likewise.
21125 * po/hr.po: Likewise.
21126 * po/nl.pl: Likewise.
21127 * po/pl.po: Likewise.
21128 * po/vi.po: Likewise.
21130 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21132 * Makeconfig [!+link] (+link-before-libc): New variable.
21133 [!+link] (+link-after-libc): Likewise.
21134 [!+link] (+link-tests): Likewise.
21135 [!+link] (+link): Define in terms of $(+link-before-libc) and
21136 $(+link-after-libc).
21137 [!+link-static] (+link-static-before-libc): New variable.
21138 [!+link-static] (+link-static-after-libc): Likewise.
21139 [!+link-static] (+link-static-tests): Likewise.
21140 [!+link-static] (+link-static): Define in terms of
21141 $(+link-static-before-libc) and $(+link-static-after-libc).
21142 [build-shared] (link-libc-before-gnulib): New variable.
21143 [build-shared] (link-libc-tests): Likewise.
21144 [build-shared] (link-libc): Define in terms of
21145 $(link-libc-before-gnulib).
21146 [!build-shared] (link-libc-tests): New variable.
21147 (link-libc-static-tests): New variable.
21148 [!gnulib] (gnulib-arch): New variable.
21149 [!gnulib] (gnulib-tests): Likewise.
21150 [!gnulib] (static-gnulib-arch): Likewise.
21151 [!gnulib] (static-gnulib-tests): Likewise.
21152 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21153 Define with "=" instead of ":=".
21154 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21155 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21156 * Rules (binaries-all-notests): New variable.
21157 (binaries-all-tests): Likewise.
21158 (binaries-static-notests): Likewise.
21159 (binaries-static-tests): Likewise.
21160 (binaries-all): Define using $(binaries-all-notests) and
21161 $(binaries-all-tests).
21162 (binaries-static): Define using $(binaries-static-notests) and
21163 $(binaries-static-tests).
21164 (binaries-shared-tests): New variable.
21165 (binaries-shared-notests): Likewise.
21166 (binaries-shared): Remove variable.
21167 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21168 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21169 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21170 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21171 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21172 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21173 * elf/Makefile (sln-modules): New variable.
21174 (extra-objs): Add $(sln-modules:=.o).
21175 (ldconfig-modules): Add static-stubs.
21176 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21177 * elf/static-stubs.c: New file.
21180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21181 by 7 not 8 to examine high bit of fractional part. Use volatile
21182 variables when splitting into final array of floats if
21183 __FLT_EVAL_METHOD__ != 0.
21184 * math/libm-test.inc (cos_test): Add another test.
21185 (sin_test): Likewise.
21186 * sysdeps/i386/fpu/libm-test-ulps: Update.
21189 * math/libm-test.inc (cosh_test): Add more tests.
21191 * version.h (RELEASE): Set to "development".
21192 (VERSION): Set to "2.16.90".
21194 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21196 * NEWS: Update copyright. Remove last-updated date.
21197 Mention math library bug fixes and timezone data changes.
21198 * README: Mention GNU/Hurd, x32, and HPPA support status.
21200 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21202 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21204 2012-06-27 Andreas Jaeger <aj@suse.de>
21206 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21208 2012-06-25 Andreas Jaeger <aj@suse.de>
21210 * sysdeps/s390/fpu/libm-test-ulps: Update.
21212 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21213 Thomas Schwinge <thomas@codesourcery.com>
21215 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21216 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21220 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21222 * sysdeps/mach/start.c: Remove file.
21223 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21224 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21225 * sysdeps/sh/init-first.c: Likewise.
21227 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21228 registers for frame unwinding purposes, add CFI directives.
21229 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21230 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21231 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21234 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21235 __fortify_fail returning.
21236 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21238 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21239 sysdeps/sh/____longjmp_chk.S.
21240 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21241 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21242 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21243 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21245 * sysdeps/sh/abort-instr.h: New file.
21246 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21247 process in case exit returns.
21249 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21250 initialize the GOT register before use.
21252 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21253 calculation of ARGC > 4.
21255 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21256 meaningful names to some local labels.
21258 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21259 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21261 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21262 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21263 (__arch_compare_and_exchange_val_16_acq): Likewise.
21264 (__arch_compare_and_exchange_val_32_acq): Likewise.
21265 (atomic_exchange_and_add): Fix gUSA sequence.
21266 (atomic_add): Likewise.
21267 (atomic_add_negative): Likewise.
21268 (atomic_add_zero): Likewise.
21269 (atomic_bit_test_set): Likewise.
21271 2012-06-22 Andreas Schwab <schwab@redhat.com>
21274 * include/link.h (struct link_map): Add l_free_initfini.
21275 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21277 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21278 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21279 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21282 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21284 * configure.in: Use AC_LANG_SOURCE.
21285 * configure: Regenerate.
21287 2012-06-22 Roland McGrath <roland@hack.frob.com>
21289 * configure.in (libc_cv_localstatedir): New substituted variable.
21290 * configure: Regenerated.
21291 * config.make.in (localstatedir): New variable, substituted from
21292 libc_cv_localstatedir.
21293 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21294 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21295 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21296 * sysdeps/gnu/configure: Regenerated.
21298 2012-06-21 Jeff Law <law@redhat.com>
21301 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21302 free. Simplify list management for _LIBC case.
21304 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21307 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21308 Clear sign bit of 64-bit integer value before comparing against
21311 * sysdeps/mach/configure: Regenerated.
21313 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21316 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21318 2012-06-21 Jeff Law <law@redhat.com>
21321 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21322 uint16_t for elements in the "seen" array to avoid char overflows.
21323 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21324 * elf/dl-open.c (dl_open_worker): Likewise.
21326 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21328 * scripts/list-sources.sh: Scan PORTS for translations.
21329 * po/libc.pot: Regenerated.
21331 2012-06-21 Andreas Jaeger <aj@suse.de>
21334 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21336 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21337 * bits/byteswap-16.h (__bswap_16): Likewise.
21338 * bits/byteswap.h (__bswap_constant_16): Likewise.
21340 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21343 * sysdeps/i386/fpu_control.h: Removed.
21344 * sysdeps/x86_64/fpu_control.h: Moved to ...
21345 * sysdeps/x86/fpu_control.h: Here.
21347 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21348 (_FPU_SETCW): Likewise.
21350 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21353 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21354 * sysdeps/x86/fpu/bits/mathinline.h: This.
21355 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21359 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21360 functions if __x86_64__ is defined.
21362 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21364 * string/endian.h: Add !__ASSEMBLER__ condition for including
21365 conversion interfaces.
21367 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21371 of ABS(x) in calculating zero to negative powers other than odd
21373 * math/libm-test.inc (pow_test): Add more tests.
21375 2012-06-15 Andreas Jaeger <aj@suse.de>
21377 * manual/contrib.texi (Contributors): Update entry of Liubov
21378 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21381 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21383 * string/string.h: Add __wur to GNU version of strerror_r.
21385 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21388 * string/Makefile (tests): Add tst-strtok_r.
21389 * string/tst-strtok_r.c: New file.
21390 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21391 RAX_LP/RDX_LP on SAVE_PTR.
21393 2012-06-14 Roland McGrath <roland@hack.frob.com>
21395 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21397 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21399 * libm_test.inc (csqrt_test): Allow more spurious underflow
21401 (j0_test): Likewise.
21402 (j1_test): Likewise.
21403 (y0_test): Likewise.
21404 (y1_test): Likewise.
21406 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21408 * po/Makefile (libc.pot): Use UTF-8 charset.
21410 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21413 Suppress sign-conversion warning from FD_SET.
21414 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21415 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21416 not unsigned long int.
21417 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21419 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21423 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21424 __extern_always_inline instead of __extern_inline.
21425 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21426 (__signbit): Likewise.
21427 (__signbitl): Support C++ namespace.
21428 (lrintf): New inline function.
21430 (llrintf): Likewise.
21431 (llrint): Likewise.
21441 (floorf): Likewise.
21442 (nearbyint): Likewise.
21443 (nearbyintf): Likewise.
21445 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21447 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21448 non-default versions.
21450 2012-06-11 Roland McGrath <roland@hack.frob.com>
21453 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21455 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21457 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21458 (FE_UPWARD, FE_DOWNWARD): Don't define.
21459 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21460 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21462 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21464 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21465 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21467 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21469 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21471 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21472 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21474 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21477 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21478 * sysdeps/i386/fpu/Implies: New file.
21479 * sysdeps/x86_64/fpu/Implies: Likewise.
21480 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21481 * sysdeps/x86/fpu/bits/fenv.h: This.
21483 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21486 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21489 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21490 character 0xffff that matches the last element of the
21493 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21495 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21498 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21500 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21501 values higher than 25.6283.
21503 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21505 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21506 subnormal exponent extraction and add some __builtin_expect.
21507 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21508 Fix for subnormal mantissa calculation.
21510 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21512 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21513 cpu2 is -1 and errno is not ENOSYS.
21515 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21518 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21519 * sysdeps/x86/bits/string.h: This.
21520 * sysdeps/x86_64/bits/string.h: Removed.
21522 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21523 if not compiling for x86-64, but compiling for >= i486.
21525 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21526 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21528 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21529 New macro from Linux kernel 3.4.0.
21530 (FP_XSTATE_MAGIC2): Likewise.
21531 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21532 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21533 (struct _fpx_sw_bytes): New struct.
21534 (struct _xsave_hdr): Likewise.
21535 (struct _ymmh_state): Likewise.
21536 (struct _xstate): Likewise.
21538 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21539 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21540 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21541 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21542 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21543 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21545 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21546 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21547 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21548 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21549 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21550 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21552 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21555 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21556 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21557 (sysdep_headers): Include sys/platform/ppc.h.
21558 * sysdeps/powerpc/test-gettimebase.c: Test for
21559 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21560 * manual/Makefile (appendices): Include platform.texi.
21561 * manual/contrib.texi (Contributors): Update @node pointers.
21562 * manual/maint.texi (Maintenance): Likewise.
21563 (Platform): New node.
21564 * manual/platform.texi: New file. Document the new features.
21566 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21567 Jakub Jelinek <jakub@redhat.com>
21570 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21571 where __builtin_expect is unavailable.
21573 2012-06-03 David S. Miller <davem@davemloft.net>
21575 * stdlib/longlong.h: Updated from GCC.
21577 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21580 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21581 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21584 (GLIBC_2.16): Likewise.
21586 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21588 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21590 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21593 (default-abi): New variable.
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21595 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21597 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21599 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21601 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21604 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21605 definition. Document in comment.
21607 2012-06-01 David S. Miller <davem@davemloft.net>
21609 * stdlib/longlong.h: Updated from GCC.
21611 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21614 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21615 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21616 sys/debugreg.h sys/io.h here.
21617 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21618 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21620 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21621 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21622 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21623 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21624 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21625 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21627 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21628 Define only if __x86_64__ is defined.
21630 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21633 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21634 Use int64_t for variable i.
21635 * math/libm-test.inc (fmod_test): Add more tests.
21637 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21638 z computation is not scheduled after fetestexcept.
21639 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21640 Use math_force_eval instead of asm to ensure calculation scheduled
21641 before exception test.
21642 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21643 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21645 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21648 computation is not scheduled after fetestexcept.
21650 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21653 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21654 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21656 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21658 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21659 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21661 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21664 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21666 (__WCHAR_MIN): Support __WORDSIZE == 64.
21667 (__WCHAR_MAX): Likewise.
21669 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21670 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21673 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21674 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21677 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21678 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21680 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21681 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21683 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21684 Defined to 1 if __x86_64__ isn't defined.
21685 (_STAT_VER_LINUX_OLD): New.
21686 (st_atime): Remove duplicate.
21687 (st_mtime): Likewise.
21688 (st_ctime): Likewise.
21690 2012-05-31 David S. Miller <davem@davemloft.net>
21692 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21695 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21697 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21701 * elf/dl-reloc.c: Include <_itoa.h>.
21702 (_dl_reloc_bad_type): Remove use of INTUSE.
21703 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21704 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21705 * stdio-common/psiginfo.c (psiginfo): Likewise.
21706 * stdio-common/psignal.c (psignal): Likewise.
21707 * string/strsignal.c (strsignal): Likewise.
21708 * include/signal.h (_sys_siglist): Declare hidden proto.
21709 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21710 INTVARDEF with libc_hidden_data_def.
21711 * stdio-common/itoa-udigits.c: Likewise.
21712 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21713 (_itoa_lower_digits_internal): Remove declaration.
21714 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21715 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21716 (_sys_sigabbrev_internal): Remove aliases.
21717 (_sys_siglist): Define hidden alias.
21719 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21724 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21727 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21728 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21730 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21731 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21732 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21733 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21735 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21737 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21738 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21739 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21741 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21749 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21750 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21751 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21753 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21754 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21755 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21756 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21757 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21758 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21760 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21761 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21763 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21764 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21766 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21768 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21770 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21771 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21773 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21775 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21776 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21777 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21779 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21781 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21783 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21785 * math/math.h (M_El): Use two more decimal places.
21786 (M_LOG2El): Likewise.
21787 (M_LOG10El): Likewise.
21788 (M_LN2l): Likewise.
21789 (M_LN10l): Likewise.
21791 (M_PI_2l): Likewise.
21792 (M_PI_4l): Likewise.
21793 (M_1_PIl): Likewise.
21794 (M_2_PIl): Likewise.
21795 (M_2_SQRTPIl): Likewise.
21796 (M_SQRT2l): Likewise.
21797 (M_SQRT1_2l): Likewise.
21799 2012-05-31 David S. Miller <davem@davemloft.net>
21801 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21802 values between float registers.
21803 * sysdeps/sparc/sparc64/memset.S: Likewise.
21804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21806 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21808 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21809 -D_FORTIFY_SOURCE=1.
21810 (CPPFLAGS-tst-longjmp_chk.c): Define.
21811 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21812 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21813 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21814 CFLAGS-tst-wchar-h.c.
21816 2012-05-31 Marek Polacek <polacek@redhat.com>
21819 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21820 __endmntent_internal): Remove declaration.
21821 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21822 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21823 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21825 2012-05-30 David S. Miller <davem@davemloft.net>
21827 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21828 (___Q_simulate_exceptions): Use real FP ops rather than writing
21830 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21833 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21836 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21837 * sysdeps/x86/bits/xtitypes.h: This.
21839 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21840 * sysdeps/x86/bits/wordsize.h: This.
21842 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21843 * sysdeps/x86/bits/huge_vall.h: This.
21845 * sysdeps/i386/bits/select.h: Removed.
21846 * sysdeps/x86_64/bits/select.h: Renamed to ...
21847 * sysdeps/x86/bits/select.h: This.
21849 * sysdeps/i386/bits/setjmp.h: Removed.
21850 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21851 * sysdeps/x86/bits/setjmp.h: This.
21853 * sysdeps/i386/bits/mathdef.h: Removed.
21854 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21855 * sysdeps/x86/bits/mathdef.h: This.
21857 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21860 * include/sys/socket.h (__connect_internal)
21861 (__libc_sa_len_internal): Remove declaration.
21862 (__connect, __libc_sa_len): Declare hidden_proto.
21863 (SA_LEN): Remove use of INTUSE.
21864 * socket/connect.c: Add libc_hidden_def.
21865 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21866 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21867 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21869 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21870 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21871 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21872 of adding _internal alias.
21874 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21877 * sysdeps/i386/bits/link.h: Removed.
21878 * sysdeps/i386/bits/linkmap.h: Likewise.
21879 * sysdeps/x86_64/bits/link.h: Renamed to ...
21880 * sysdeps/x86/bits/link.h: This.
21881 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21882 * sysdeps/x86/bits/linkmap.h: This.
21884 * sysdeps/i386/bits/endian.h: Removed.
21885 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21886 * sysdeps/x86/bits/endian.h: This.
21888 * sysdeps/i386/bits/byteswap.h: Removed.
21889 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21890 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21891 * sysdeps/x86/bits/byteswap.h: This.
21892 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21893 * sysdeps/x86/bits/byteswap-16.h: This.
21894 * sysdeps/i386/Implies: Add x86.
21895 * sysdeps/x86_64/Implies: Likewise.
21897 2012-05-30 David S. Miller <davem@davemloft.net>
21899 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21900 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21901 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21902 (FP_TRAPPING_EXCEPTIONS): Define.
21903 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21904 (FP_TRAPPING_EXCEPTIONS): Define.
21905 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21906 subnormals only when inexact has been signalled or underflow
21907 exceptions are enabled.
21908 (_FP_PACK_CANONICAL): Likewise.
21910 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21913 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21914 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21916 2012-05-30 Richard Henderson <rth@twiddle.net>
21918 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21919 with #ifndef NOT_IN_libc.
21921 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21922 marked to avoid plt entry.
21924 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21927 * Makeconfig (default-abi): New macro.
21928 (abi-includes): Likewise.
21929 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21930 $(abi-$(default-abi)-lib-soname) for soname if defined.
21931 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21933 * Makefile (installed-stubs): Likewise.
21934 * include/stubs-biarch.h: Removed.
21935 * scripts/lib-names.awk: Only handle one library at a time.
21936 * scripts/soversions.awk: Remove WORDSIZE support.
21937 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21939 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21941 (syscall-list-default-condition): Likewise.
21942 (syscall-list-default-condition): Likewise.
21943 (syscall-list-includes): Likewise.
21944 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21945 syscall-list-* with abi-*. Handle undefined abi-variants.
21946 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21947 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21948 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21949 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21950 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21951 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21953 (syscall-list-32-options): Likewise.
21954 (syscall-list-32-condition): Likewise.
21955 (syscall-list-64-options): Likewise.
21956 (syscall-list-64-condition): Likewise.
21957 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21959 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21962 (abi-64-ld-soname): New macro.
21963 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21964 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21967 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21968 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21970 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21972 * sysdeps/unix/sysv/linux/kernel-features.h
21973 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21974 * sysdeps/unix/sysv/linux/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/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.
21986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21987 include <kernel-features.h>.
21988 [!__NR_ftruncate64]: Remove conditional code.
21989 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21990 [__NR_ftruncate64]: Make code unconditional.
21991 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21993 include <kernel-features.h>.
21994 [!__NR_ftruncate64]: Remove conditional code.
21995 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21996 [__NR_ftruncate64]: Make code unconditional.
21997 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21999 * configure.in (libc_cv_fpie): Weaken to a compile test using
22000 LIBC_TRY_CC_OPTION.
22001 * configure: Regenerated.
22003 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22018 2012-05-27 David S. Miller <davem@davemloft.net>
22020 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22022 (__Q_simulate_exceptions): Return void. Change to simulate
22023 exceptions by writing into the %fsr.
22024 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22025 (__Qp_handle_exceptions): Likewise.
22027 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22028 __Qp_handle_exceptions.
22029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22030 __Qp_handle_exceptions.
22031 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22032 as unused and give dummy FP_RND_NEAREST initializer.
22033 (FP_INHIBIT_RESULTS): Define.
22034 (___Q_simulate_exceptions): Update declaration.
22035 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22037 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22038 as unused and give dummy FP_RND_NEAREST initializer.
22039 (__Qp_handle_exceptions): Update declaration.
22040 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22043 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22045 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22046 the temporary FPU control word.
22047 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22048 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22049 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22050 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22051 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22052 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22053 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22054 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22055 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22056 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22057 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22059 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22061 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22064 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22066 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22067 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22068 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22069 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22071 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22072 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22075 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22077 * po/h.po: Update from translation team.
22079 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22081 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22083 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22084 handling of denormals.
22085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22086 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22087 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22088 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22091 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22094 2012-05-26 Marek Polacek <polacek@redhat.com>
22097 * math/libm-test.inc (fma_test): Don't always expect underflow
22100 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22103 * elf/tst-execstack.c: Include stackinfo.h.
22104 (do_test): Adjust test case to ensure that pthread_getattr_np
22105 behaviour remains the same after marking stack executable.
22107 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22109 * sysdeps/unix/sysv/linux/kernel-features.h
22110 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22111 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22113 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22114 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22115 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22117 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22118 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22120 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22122 * configure.in: Define the default includes to being none.
22123 * configure: Regenerated.
22125 2012-05-25 Roland McGrath <roland@hack.frob.com>
22127 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22128 * sysdeps/x86_64/setjmp.S: Likewise.
22129 * sysdeps/i386/bsd-setjmp.S: Likewise.
22130 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22131 * sysdeps/i386/setjmp.S: Likewise.
22132 * sysdeps/i386/__longjmp.S: Likewise.
22133 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22134 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22136 * include/stap-probe.h: New file.
22137 * configure.in: Handle --enable-systemtap.
22138 * configure: Regenerated.
22139 * config.h.in (USE_STAP_PROBE): New #undef.
22140 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22141 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22142 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22144 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22147 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22148 to 2.4.0 where earlier.
22149 * sysdeps/unix/sysv/linux/configure: Regenerated.
22150 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22151 <kernel-features.h>.
22152 [__ASSUME_32BITUIDS]: Make code unconditional.
22153 [!__ASSUME_32BITUIDS]: Remove conditional code.
22154 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22155 <kernel-features.h>.
22156 [__ASSUME_32BITUIDS]: Make code unconditional.
22157 [!__ASSUME_32BITUIDS]: Remove conditional code.
22158 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22159 [__ASSUME_32BITUIDS]: Make code unconditional.
22160 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22161 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
22190 <kernel-features.h>.
22191 [__ASSUME_32BITUIDS]: Make code unconditional.
22192 [!__ASSUME_32BITUIDS]: Remove conditional code.
22193 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22194 <kernel-features.h>.
22195 [__ASSUME_32BITUIDS]: Make code unconditional.
22196 [!__ASSUME_32BITUIDS]: Remove conditional code.
22197 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22198 <kernel-features.h>.
22199 [__ASSUME_32BITUIDS]: Make code unconditional.
22200 [!__ASSUME_32BITUIDS]: Remove conditional code.
22201 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22202 <kernel-features.h>.
22203 [__NR_setresgid] (__setresgid): Do not declare.
22204 [__ASSUME_32BITUIDS]: Make code unconditional.
22205 [!__ASSUME_32BITUIDS]: Remove conditional code.
22206 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22207 <kernel-features.h>.
22208 [__NR_setresuid] (__setresuid): Do not declare.
22209 [__ASSUME_32BITUIDS]: Make code unconditional.
22210 [!__ASSUME_32BITUIDS]: Remove conditional code.
22211 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
22240 <kernel-features.h>.
22241 [__ASSUME_32BITUIDS]: Make code unconditional.
22242 [!__ASSUME_32BITUIDS]: Remove conditional code.
22243 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22244 <kernel-features.h>.
22245 [__ASSUME_32BITUIDS]: Make code unconditional.
22246 [!__ASSUME_32BITUIDS]: Remove conditional code.
22247 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22248 <kernel-features.h>.
22249 [__ASSUME_32BITUIDS]: Make code unconditional.
22250 [!__ASSUME_32BITUIDS]: Remove conditional code.
22251 * sysdeps/unix/sysv/linux/kernel-features.h
22252 (__ASSUME_SETRESUID_SYSCALL): Remove.
22253 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22254 (__ASSUME_32BITUIDS): Likewise.
22255 (__ASSUME_LDT_WORKS): Likewise.
22256 (__ASSUME_O_DIRECTORY): Likewise.
22257 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22258 architecture but not kernel version.
22259 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22260 (__ASSUME_MMAP2_SYSCALL): Likewise.
22261 (__ASSUME_STAT64_SYSCALL): Likewise.
22262 (__ASSUME_IPC64): Likewise.
22263 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22264 <kernel-features.h>.
22265 [__ASSUME_32BITUIDS]: Make code unconditional.
22266 [!__ASSUME_32BITUIDS]: Remove conditional code.
22267 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22268 <kernel-features.h>.
22269 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22270 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22271 132096]: Remove conditional code.
22272 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22273 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22274 <kernel-features.h>.
22275 [__ASSUME_32BITUIDS]: Make code unconditional.
22276 [!__ASSUME_32BITUIDS]: Remove conditional code.
22277 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22278 <kernel-features.h>.
22279 [__ASSUME_32BITUIDS]: Make code unconditional.
22280 [!__ASSUME_32BITUIDS]: Remove conditional code.
22281 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22282 <kernel-features.h>.
22283 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22285 (__setresgid): Do not declare.
22286 [__ASSUME_32BITUIDS]: Make code unconditional.
22287 [!__ASSUME_32BITUIDS]: Remove conditional code.
22288 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22289 <kernel-features.h>.
22290 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22292 (__setresuid): Do not declare.
22293 [__ASSUME_32BITUIDS]: Make code unconditional.
22294 [!__ASSUME_32BITUIDS]: Remove conditional code.
22295 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22296 <kernel-features.h>.
22297 [__ASSUME_32BITUIDS]: Make code unconditional.
22298 [!__ASSUME_32BITUIDS]: Remove conditional code.
22299 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22300 <kernel-features.h>.
22301 [__ASSUME_32BITUIDS]: Make code unconditional.
22302 [!__ASSUME_32BITUIDS]: Remove conditional code.
22304 2012-05-25 Richard Henderson <rth@twiddle.net>
22306 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22307 dl_hwcap to ifunc resolver.
22308 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22310 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22311 dl_hwcap to ifunc resolver.
22312 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22314 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22317 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22318 for |x| <= 2**-26, not 2**-57.
22319 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22322 2012-05-24 Jeff Law <law@redhat.com>
22324 * stdio-common/Makefile (tests): Add bug25.
22325 * stdio-common/bug25.c: New test.
22327 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22330 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22331 multiple of MALLOC_ALIGNMENT in size.
22332 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22334 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22336 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22338 (FILENAME_MAX): Use macro-int-constant.
22339 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22340 (_IOFBF): Use macro-int-constant.
22341 (_IOLBF): Likewise.
22342 (_IONBF): Likewise.
22343 (SEEK_CUR): Likewise.
22344 (SEEK_END): Likewise.
22345 (SEEK_SET): Likewise.
22346 (TMP_MAX): Likewise.
22347 (EOF): Use macro-int-constant. Require < 0.
22348 (NULL): Use macro-constant. Require == 0.
22349 (stdin): Require type to be FILE *.
22350 (stdout): Likewise.
22351 (stderr): Likewise.
22352 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22353 macro-int-constant.
22354 (EXIT_SUCCESS): Likewise.
22355 (NULL): Use macro-constant. Require == 0.
22356 (RAND_MAX): Use macro-int-constant.
22357 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22358 [C99-based standards] (strtof): Require function.
22359 [C99-based standards] (strtold): Likewise.
22360 [C99-based standards] (strtoll): Likewise.
22361 [C99-based standards] (strtoull): Likewise.
22362 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22363 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22364 [ISO || ISO99 || ISO11] (math.h): Likewise.
22365 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22366 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22369 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22372 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22373 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22374 * intl/dgettext.c (DCGETTEXT): Likewise.
22375 * intl/gettext.c (DCGETTEXT): Likewise.
22376 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22377 * posix/regex_internal.h (gettext): Likewise.
22378 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22379 Remove declaration.
22380 * include/argz.h (__argz_count_internal)
22381 (__argz_stringify_internal): Remove declaration.
22382 (__argz_count, __argz_stringify): Declare hidden proto.
22383 * intl/dcgettext.c: Remove use of INTDEF.
22384 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22385 * string/argz-stringify.c: Likewise.
22386 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22387 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22388 Declare hidden proto.
22389 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22390 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22391 Declare hidden proto.
22392 * include/stdio.h (__asprintf_internal): Don't declare.
22393 (__asprintf): Don't define as macro. Declare hidden proto.
22394 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22395 (__fsetlocking): Declare hidden proto.
22396 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22397 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22399 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22400 (_IO_setlinebuf): Remove use of INTUSE.
22401 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22402 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22403 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22404 Remove declaration.
22405 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22406 (_IO_do_flush): Remove use of INTUSE.
22407 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22408 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22409 (_IO_adjust_column, _IO_least_wmarker)
22410 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22411 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22412 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22413 (_IO_default_doallocate, _IO_wdefault_doallocate)
22414 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22415 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22416 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22417 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22418 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22419 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22420 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22421 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22422 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22423 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22424 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22425 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22426 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22428 (_IO_flush_all_internal, _IO_adjust_column_internal)
22429 (_IO_default_uflow_internal, _IO_default_finish_internal)
22430 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22431 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22432 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22433 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22434 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22435 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22436 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22437 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22438 (_IO_file_close_internal, _IO_file_close_it_internal)
22439 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22440 (_IO_file_init_internal, _IO_file_attach_internal)
22441 (_IO_file_fopen_internal, _IO_file_read_internal)
22442 (_IO_file_sync_internal, _IO_file_seek_internal)
22443 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22444 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22445 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22446 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22447 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22448 (_IO_list_all_internal, _IO_link_in_internal)
22449 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22450 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22451 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22452 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22453 (_IO_do_write_internal, _IO_padn_internal)
22454 (_IO_getline_info_internal, _IO_getline_internal)
22455 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22456 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22457 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22458 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22459 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22460 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22461 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22462 with libc_hidden_ver, remove use of INTUSE.
22463 * libio/genops.c: Likewise.
22464 * libio/freopen.c: Likewise.
22465 * libio/freopen64.c: Likewise.
22466 * libio/iofclose.c: Likewise.
22467 * libio/iofdopen.c: Likewise.
22468 * libio/iofflush.c: Likewise.
22469 * libio/iofflush_u.c: Likewise.
22470 * libio/iofgets.c: Likewise.
22471 * libio/iofgets_u.c: Likewise.
22472 * libio/iofopen.c: Likewise.
22473 * libio/iofopncook.c: Likewise.
22474 * libio/iofread.c: Likewise.
22475 * libio/iofread_u.c: Likewise.
22476 * libio/ioftell.c: Likewise.
22477 * libio/iofwrite.c: Likewise.
22478 * libio/iogetline.c: Likewise.
22479 * libio/iogets.c: Likewise.
22480 * libio/iogetwline.c: Likewise.
22481 * libio/iopadn.c: Likewise.
22482 * libio/iopopen.c: Likewise.
22483 * libio/ioseekoff.c: Likewise.
22484 * libio/ioseekpos.c: Likewise.
22485 * libio/iosetbuffer.c: Likewise.
22486 * libio/iosetvbuf.c: Likewise.
22487 * libio/ioungetc.c: Likewise.
22488 * libio/ioungetwc.c: Likewise.
22489 * libio/iovdprintf.c: Likewise.
22490 * libio/iovsprintf.c: Likewise.
22491 * libio/iovsscanf.c: Likewise.
22492 * libio/memstream.c: Likewise.
22493 * libio/obprintf.c: Likewise.
22494 * libio/oldfileops.c: Likewise.
22495 * libio/oldiofclose.c: Likewise.
22496 * libio/oldiofdopen.c: Likewise.
22497 * libio/oldiofopen.c: Likewise.
22498 * libio/oldiopopen.c: Likewise.
22499 * libio/oldstdfiles.c: Likewise.
22500 * libio/putc.c: Likewise.
22501 * libio/setbuf.c: Likewise.
22502 * libio/setlinebuf.c: Likewise.
22503 * libio/stdfiles.c: Likewise.
22504 * libio/strops.c: Likewise.
22505 * libio/vasprintf.c: Likewise.
22506 * libio/vscanf.c: Likewise.
22507 * libio/vsnprintf.c: Likewise.
22508 * libio/vswprintf.c: Likewise.
22509 * libio/wfiledoalloc.c: Likewise.
22510 * libio/wfileops.c: Likewise.
22511 * libio/wgenops.c: Likewise.
22512 * libio/wmemstream.c: Likewise.
22513 * libio/wstrops.c: Likewise.
22514 * libio/__fpurge.c: Likewise.
22515 * libio/__fsetlocking.c: Likewise.
22516 * assert/assert.c: Likewise.
22517 * debug/fgets_chk.c: Likewise.
22518 * debug/fgets_u_chk.c: Likewise.
22519 * debug/fread_chk.c: Likewise.
22520 * debug/fread_u_chk.c: Likewise.
22521 * debug/gets_chk.c: Likewise.
22522 * debug/obprintf_chk.c: Likewise.
22523 * debug/vasprintf_chk.c: Likewise.
22524 * debug/vdprintf_chk.c: Likewise.
22525 * debug/vsnprintf_chk.c: Likewise.
22526 * debug/vsprintf_chk.c: Likewise.
22527 * malloc/mtrace.c: Likewise.
22528 * misc/error.c: Likewise.
22529 * misc/syslog.c: Likewise.
22530 * stdio-common/asprintf.c: Likewise.
22531 * stdio-common/fxprintf.c: Likewise.
22532 * stdio-common/getw.c: Likewise.
22533 * stdio-common/isoc99_fscanf.c: Likewise.
22534 * stdio-common/isoc99_scanf.c: Likewise.
22535 * stdio-common/isoc99_vfscanf.c: Likewise.
22536 * stdio-common/isoc99_vscanf.c: Likewise.
22537 * stdio-common/isoc99_vsscanf.c: Likewise.
22538 * stdio-common/printf-prs.c: Likewise.
22539 * stdio-common/printf_fp.c: Likewise.
22540 * stdio-common/printf_fphex.c: Likewise.
22541 * stdio-common/printf_size.c: Likewise.
22542 * stdio-common/putw.c: Likewise.
22543 * stdio-common/scanf.c: Likewise.
22544 * stdio-common/sprintf.c: Likewise.
22545 * stdio-common/tmpfile.c: Likewise.
22546 * stdio-common/vfprintf.c: Likewise.
22547 * stdio-common/vfscanf.c: Likewise.
22548 * stdlib/strfmon_l.c: Likewise.
22549 * sunrpc/openchild.c: Likewise.
22550 * sunrpc/xdr_stdio.c: Likewise.
22551 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22552 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22554 2012-05-24 Roland McGrath <roland@hack.frob.com>
22556 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22558 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22559 in the third column, to generate for the shared library an IFUNC
22560 that uses _dl_vdso_vsym.
22561 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22562 * Makeconfig (object-suffixes-noshared): New variable.
22564 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22565 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22566 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22567 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22570 * include/sys/time.h (__gettimeofday): Remove macro.
22571 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22572 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22574 (__gettimeofday): Add libc_hidden_def.
22575 (gettimeofday): Add libc_hidden_weak.
22576 * sysdeps/mach/gettimeofday.c: Likewise.
22577 * sysdeps/posix/gettimeofday.c: Likewise.
22578 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22579 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22581 (__gettimeofday_internal): Remove strong_alias.
22582 (__gettimeofday): Add libc_hidden_def.
22583 (gettimeofday): Add libc_hidden_weak.
22584 * sysdeps/unix/syscalls.list (gettimeofday):
22585 Remove __gettimeofday_internal alias.
22587 2012-05-24 Daniel Jacobowitz <drow@false.org>
22588 H.J. Lu <hongjiu.lu@intel.com>
22591 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22592 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22593 (largebin_index_32_big): New.
22594 (largebin_index): Use it for 16-byte alignment.
22595 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22596 correction with front_misalign.
22598 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22626 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22627 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22629 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22633 * math/libm-test.inc (exp_test): Add test from bug 14036.
22634 (pow_test): Add test from bug 10846.
22636 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22638 (special_function): Do not include flags in test name.
22639 (parse_args): Likewise.
22640 * sysdeps/i386/fpu/libm-test-ulps: Update.
22641 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22642 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22643 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22646 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22648 * math/libm-test.inc ("Philosophy"): Update comment about
22650 (UNDERFLOW_EXCEPTION): New macro.
22651 (UNDERFLOW_EXCEPTION_OK): Likewise.
22652 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22653 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22654 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22655 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22656 (INVALID_EXCEPTION_OK): Update value.
22657 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22658 (OVERFLOW_EXCEPTION_OK): Likewise.
22659 (IGNORE_ZERO_INF_SIGN): Likewise.
22660 (test_exceptions): Handle underflow exceptions.
22661 (acos_test): Update for underflow exception expectations.
22662 (cexp_test): Likewise.
22663 (clog_test): Likewise.
22664 (clog10_test): Likewise.
22665 (csqrt_test): Likewise.
22666 (ctan_test): Likewise.
22667 (ctanh_test): Likewise.
22668 (exp_test): Likewise.
22669 (exp10_test): Likewise.
22670 (exp2_test): Likewise.
22671 (expm1_test): Likewise.
22672 (fma_test): Likewise.
22673 (j0_test): Likewise.
22674 (jn_test): Likewise.
22675 (nexttoward_test): Likewise.
22676 (pow_test): Likewise.
22677 (scalbn_test): Likewise.
22678 (scalbln_test): Likewise.
22679 (tan_test): Likewise.
22680 (y1_test): Likewise.
22681 * sysdeps/i386/fpu/libm-test-ulps: Update.
22682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22684 2012-05-23 David S. Miller <davem@davemloft.net>
22686 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22687 (__libc_sigaction): Remove unused local variables.
22689 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22691 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22693 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22695 mktime: avoid signed integer overflow
22696 * time/mktime.c (__mktime_internal): Do not mishandle the case
22697 where diff == INT_MIN.
22699 mktime: simplify computation of average
22700 * time/mktime.c (ranged_convert): Use new time_t_avg function
22701 instead of rolling our own (probably-slower) code.
22703 mktime: do not assume signed right shift propagates sign bit
22704 * time/mktime.c (isdst_differ): New static function.
22705 (__mktime_internal): No need to normalize tm_isdst now.
22706 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22709 mktime: merge another wrapv change from gnulib
22710 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22711 from some compilers.
22713 mktime: remove incorrect attempt at unusual arithmetics
22714 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22715 The code didn't really work on such machines anyway.
22716 (TYPE_MINIMUM): Assume two's complement.
22717 (twos_complement_arithmetic): Verify that long_int and time_t
22718 are two's complement (or unsigned, in the latter case).
22720 mktime: check signed shifts on long_int and time_t, too
22721 * time/mktime.c (SHR): Check that shifts work as desired
22722 on the types long_int and time_t too, as SHR is used on
22725 mktime: do not assume 'long' is wide enough
22726 * time/mktime.c (verify): Move decl up.
22727 (long_int): New type.
22728 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22729 to remove assumption in the code that 'long' is wide enough to
22730 store year values. This assumption is not true on x32 and on
22731 some non-glibc platforms.
22733 mktime: merge wrapv change from gnulib
22734 * time/mktime.c (WRAPV): New macro.
22735 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22736 (guess_time_tm, __mktime_internal): Do not assume that signed
22737 integer overflow wraps around; modern compilers generate code
22738 where this assumption is no longer valid.
22740 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22742 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22743 Replace "jmp L(pseudo_end)" with "ret".
22744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22747 2012-05-23 Andreas Jaeger <aj@suse.de>
22749 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22750 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22752 2012-05-23 Andreas Jaeger <aj@suse.de>
22753 Maximilian Attems <max@stro.at>
22755 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22758 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22760 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22761 code so that pseudo_end is just ret and the stack pointer is
22762 correct also for static library in error case.
22764 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22766 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22767 move to syscalls.list.
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22773 * manual/install.texi (Running make install): Do not mention Linux
22774 kernel version for which pt_chown is not needed.
22775 (Linux): Do not mention problems with nscd with 2.0 kernels.
22776 * INSTALL: Regenerated.
22778 2012-05-23 Andreas Jaeger <aj@suse.de>
22780 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22781 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22783 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22784 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22785 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22786 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22787 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22788 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22789 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22790 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22791 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22792 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22793 * sysdeps/unix/sysv/linux/bits/in.h
22794 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22796 2012-05-22 Roland McGrath <roland@hack.frob.com>
22798 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22799 (PREPARE_VERSION): Just use assert instead, it will be elided
22800 under [NDEBUG] anyway.
22802 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22804 * sysdeps/unix/sysv/linux/Makefile: Include
22805 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22806 (sysdep_routines): Remove sysctl.
22807 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22808 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22809 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22810 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22811 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22813 2012-05-22 Andreas Jaeger <aj@suse.de>
22815 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22816 that pseudo_end is just ret and the stack pointer is correct also
22817 for static library in error case.
22819 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22822 * nss/nsswitch.c (defconfig_entries): New variable.
22823 (__nss_database_lookup): Don't leak defconfig entries.
22824 (nss_parse_service_list): Don't leak on error paths.
22825 (free_database_entries): New function.
22826 (free_defconfig): New function.
22827 (free_mem): Move common code to free_database_entries.
22829 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22831 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22833 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22835 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22836 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22839 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22840 (INTERNAL_SYSCALL_TYPES): Likewise.
22841 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22842 (LOAD_REGS_TYPES_[1-6]): Likewise.
22843 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22844 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22846 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22848 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22849 copysignl for GLIBC_2_0.
22850 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22851 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22853 logbl for GLIBC_2_0.
22854 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22855 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22857 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22859 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22860 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22862 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22865 * time/mktime.c: Update copyright years.
22867 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22869 mktime: merge comment-quoting-style change from gnulib
22870 * time/mktime.c: Quote 'like this' in comments.
22871 The GNU coding standards suggest that we no longer quote `like this',
22872 as "`" and "'" are typically rendered asymmetrically nowadays.
22873 The typical gnulib style is to quote 'like this' when quoting
22874 code, and "like this" when quoting English.
22876 * time/mktime.c (compile-command): Add "-I.".
22878 mktime: merge mktime-internal.h change from gnulib
22879 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22881 mktime: merge time_r change from gnulib
22882 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22884 mktime: merge DEBUG change from gnulib
22885 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22886 case system <time.h> has a #define.
22888 mktime: merge <sys/types.h> change from gnulib
22889 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22890 since <time.t> is now guaranteed to define time_t.
22892 mktime: merge HAVE_CONFIG_H change from gnulib
22893 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22895 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22897 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22900 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22902 (struct rusage): Use anonymous union to pad each field to
22905 2012-05-21 David S. Miller <davem@davemloft.net>
22907 * Makefules (o-iterator): Remove .s cases.
22908 (compile-command.s): Delete.
22909 (COMPILE.s): Delete.
22910 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22912 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22914 * configure.in (libc_cv_predef_stack_protector): Only consider
22915 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22916 * configure: Regenerated.
22918 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22921 New macro. Use R*LP on int and pointer.
22922 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22923 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22924 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22925 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22927 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22928 [__WORDSIZE_TIME64_COMPAT32] instead of
22929 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22930 (struct utmp): Likewise.
22931 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22932 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22934 (__WORDSIZE_TIME64_COMPAT32): This.
22935 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22936 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22937 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22938 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22939 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22940 (__WORDSIZE_TIME64_COMPAT32): New macro.
22942 2012-05-21 Andreas Jaeger <aj@suse.de>
22944 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22945 only if [SHARED]. Add prototype for __wcschr_ia32.
22947 2012-05-21 Roland McGrath <roland@hack.frob.com>
22949 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22950 of %rbp unmolested in the jmp_buf while mangling the low bits.
22951 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22952 unmolested high bits of %rbp while demangling the low bits.
22953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22955 2012-05-21 Andreas Jaeger <aj@suse.de>
22957 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22958 * sunrpc/svc_simple.c: Use it for registerrpc.
22959 * sunrpc/xcrypt.c: Use it for passwd2des.
22961 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22963 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22965 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22966 Don't define if [__SYSCALL_WORDSIZE != 32].
22967 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22970 2012-05-21 Bruno Haible <bruno@clisp.org>
22971 Andreas Jaeger <aj@suse.de>
22973 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22974 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22975 inptr and inend for must_buffer_ch.
22976 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22977 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22978 * stdio-common/Makefile (tests): Remove bug15.
22979 (bug15-ENV): Remove macro.
22980 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22983 2012-05-19 Andreas Jaeger <aj@suse.de>
22984 Roland McGrath <roland@hack.frob.com>
22986 * manual/contrib.texi: Completely rewritten. It contains now an
22987 alphabetical list of contributors and their contributions.
22989 2012-05-21 Richard Henderson <rth@twiddle.net>
22991 * misc/getauxval.c (__getauxval): Use unsigned long int.
22992 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22993 (getauxval): Use unsigned long int.
22995 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22997 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22999 2012-05-21 Roland McGrath <roland@hack.frob.com>
23001 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23002 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23003 __alignof__ (long double).
23005 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23009 2012-05-20 Richard Henderson <rth@twiddle.net>
23011 * misc/getauxval.c: New file.
23012 * misc/sys/auxv.h: New file.
23013 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23014 (routines): Add getauxval.
23015 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23016 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23017 * elf/dl-sysdep.c (_dl_auxv): Remove.
23018 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23019 * elf/dl-support.c (_dl_auxv): New variable.
23020 (_dl_aux_init): Initialize it.
23021 * manual/startup.texi (Auxiliary Vector): New node.
23022 * sysdeps/generic/bits/hwcap.h: New file.
23023 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23024 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23025 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23026 * sysdeps/sparc/sysdep.h: ... here. Include it.
23027 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23040 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23044 2012-05-19 David S. Miller <davem@davemloft.net>
23046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23048 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23051 * math/s_ccosh.c: Include <float.h>
23052 (__ccosh): Avoid internal overflow calculating sinh and cosh
23053 values before multiplying by sin and cos values.
23054 * math/s_ccoshf.c: Likewise.
23055 * math/s_ccoshl.c: Likewise.
23056 * math/s_csin.c: Likewise.
23057 * math/s_csinf.c: Likewise.
23058 * math/s_csinl.c: Likewise.
23059 * math/s_csinh.c: Likewise.
23060 * math/s_csinhf.c: Likewise.
23061 * math/s_csinhl.c: Likewise.
23062 * math/libm-test.inc (ccos_test): Add more tests.
23063 (ccosh_test): Likewise.
23064 (csin_test): Likewise.
23065 (csinh_test): Likewise.
23066 * sysdeps/i386/fpu/libm-test-ulps: Update.
23067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23069 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23071 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23072 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23074 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23076 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23078 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23079 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23080 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23081 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23082 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23083 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23084 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23085 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23086 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23087 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23088 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23089 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23090 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23091 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23092 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23093 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23094 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23095 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23096 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23097 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23098 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23099 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23100 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23101 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23102 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23103 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23104 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23105 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23106 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23107 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23108 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23110 2012-05-18 Andreas Jaeger <aj@suse.de>
23112 * csu/.gitignore: Delete.
23114 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23116 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23117 (timex): Use __syscall_slong_t.
23119 2012-05-18 Andreas Jaeger <aj@suse.de>
23120 Carlos O'Donell <carlos_odonell@mentor.com>
23122 * manual/install.texi (Configuring and compiling): Update
23123 description about files modified in the source directory.
23124 * INSTALL: Regenerated.
23126 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23128 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23129 value. Use "or" to set return value to -1.
23130 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23131 negate return value.
23133 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23135 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23136 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23137 failure if the compiler has Graphite support disabled.
23138 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23140 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23141 CFLAGS-memmove.c): Likewise.
23142 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23145 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23147 * sysdeps/x86_64/x32/_itoa.h: New file.
23149 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23150 getdents system call only if kernel and user dirents have the
23151 same d_ino and d_off.
23153 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23154 LLONG_MAX != LONG_MAX.
23155 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23156 (_fitoa_word): Likewise.
23158 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23160 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23161 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23162 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23164 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23165 include <bits/wordsize.h>. Check __x86_64__ instead of
23167 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23168 if __x86_64__ is defined. Use anonymous union on fpstate.
23170 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23173 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23175 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23176 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23177 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23178 Refer to _rtld_local_ro instead of _rtld_global_ro.
23179 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23181 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23183 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23185 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23186 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23187 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23189 * sysdeps/powerpc/powerpc32/dl-machine.c
23190 (__elf_machine_runtime_setup) [PROF]: Don't reference
23193 2012-05-18 Andreas Jaeger <aj@suse.de>
23195 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23196 function only available for GCCs before 3.4 since GCC 3.4
23197 introduced a builtin.
23199 (llrintf): Likewise.
23200 (llrint): Likewise.
23207 (nearbyint): Likewise.
23208 (nearbyintf): Likewise.
23212 (floorf): Likewise.
23214 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23216 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23217 on both fields and cast pointer to __syscall_ulong_t.
23219 * bits/types.h (__fsword_t): New type.
23220 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23221 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23223 (__FSWORD_T_TYPE): Likewise.
23224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23225 (__FSWORD_T_TYPE): Likewise.
23226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23227 (__FSWORD_T_TYPE): Likewise.
23228 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23229 (__FSWORD_T_TYPE): Likewise.
23230 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23231 __SWORD_TYPE with __fsword_t.
23232 (statfs64): Likewise.
23234 2012-05-17 David S. Miller <davem@davemloft.net>
23236 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23238 2012-05-17 Andreas Jaeger <aj@suse.de>
23240 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23243 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23245 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23247 2012-05-17 Andreas Jaeger <aj@suse.de>
23249 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23252 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23254 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23256 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23258 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23259 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23261 2012-05-17 Andreas Jaeger <aj@suse.de>
23262 Carlos O'Donell <carlos_odonell@mentor.com>
23265 * sysdeps/x86_64/multiarch/init-arch.h
23266 (bit_YMM_Usable): Rename to...
23267 (bit_AVX_Usable): ... this.
23268 (bit_FMA4_Usable): New macro.
23269 (bit_XMM_state): New macro.
23270 (bit_YMM_state): New macro.
23271 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23272 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23273 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23274 (CPUID_OSXSAVE): New macro.
23275 (CPUID_AVX): New macro.
23276 (CPUID_FMA4): New macro.
23277 (index_YMM_Usable): Rename to...
23278 (index_AVX_Usable): ... this.
23279 (HAS_AVX): Use HAS_ARCH_FEATURE.
23280 (HAS_FMA4): Likewise.
23281 (HAS_YMM_USABLE): Remove.
23282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23283 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23285 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23286 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23287 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23288 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23289 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23291 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23293 * math/libm-test.c: Support platforms without multiple rounding modes.
23294 * math/bug-nextafter.c: Support platforms without FP exceptions.
23295 * math/bug-nexttoward.c: Likewise.
23296 * math/test-fenv.c: Likewise.
23297 * math/test-misc.c: Likewise.
23298 * stdlib/bug-getcontext.c: Likewise.
23300 2012-05-17 Andreas Jaeger <aj@suse.de>
23302 * manual/examples/search.c (critter_cmp): Change signature to
23304 * manual/string.texi (Collation Functions): Likewise.
23306 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23308 * bits/types.h: Fold copyright years.
23309 * bits/typesizes.h: Likewise.
23310 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23313 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23314 * time/time.h: Likewise.
23316 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23319 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23320 in instead of returning them. Return void.
23321 (__libc_mallinfo): Accumulate over all arenas.
23322 (__malloc_stats): Adjust for change in int_mallinfo interface.
23324 2012-05-16 Roland McGrath <roland@hack.frob.com>
23327 * configure.in (NM): Add AC_CHECK_TOOL for it.
23328 (libc_extra_cflags): New substituted variable.
23329 Check for -fstack-protector being used implicitly.
23330 * configure: Regenerated.
23331 * config.make.in (config-extra-cflags): New variable,
23332 gets @libc_extra_cflags@.
23333 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23336 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23337 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23338 * configure: Regenerated.
23339 * config.make.in (CPPUNDEFS): New substituted variable.
23340 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23341 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23342 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23344 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23346 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23347 (mq_attr): Use __syscall_slong_t.
23349 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23351 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23352 Check __x86_64__ instead of __WORDSIZE.
23353 (_STAT_VER_LINUX): Likewise.
23354 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23355 __syscall_ulong_t and __syscall_slong_t.
23356 (stat64): Likewise.
23358 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23360 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23362 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23364 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23366 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23368 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23371 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23372 include <bits/wordsize.h>. Check __x86_64__ instead of
23374 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23376 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23379 include <bits/wordsize.h>. Check __x86_64__ instead of
23381 (user_regs_struct): Use "__extension__ unsigned long long"
23382 instead of "unsigned long" if __x86_64__ is defined.
23383 (user): Likewise. Pad after pointer field if __ILP32__ is
23386 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23388 * configure.in (makeinfo): Require version 4.5 or later. Allow
23390 * configure: Regenerated.
23391 * manual/install.texi (texinfo): Increase version requirement to
23393 * INSTALL: Regenerated.
23395 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23397 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23399 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23401 * sysdeps/x86_64/x32/ffs.c: New file.
23403 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23405 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23406 defined. Use __syscall_ulong_t.
23407 (shminfo): Use __syscall_ulong_t.
23408 (shm_info): Likewise.
23410 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23413 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23415 (msgqnum_t): Use __syscall_ulong_t.
23416 (msglen_t): Likewise.
23417 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23420 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23421 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23423 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23425 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23426 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23428 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23431 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23432 include <bits/wordsize.h>. Check __x86_64__ instead of
23435 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23436 "unsigned long long int" if __x86_64__ is defined.
23437 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23439 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23440 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23441 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23443 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23445 (GET_PC): Cast to uintptr_t first.
23446 (GET_FRAME): Likewise.
23447 (GET_STACK): Likewise.
23449 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23450 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23451 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23452 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23453 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23454 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23455 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23456 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23457 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23458 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23459 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23460 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23461 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23462 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23463 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23464 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23465 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23466 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23467 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23468 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23469 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23470 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23471 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23472 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23473 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23474 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23475 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23476 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23477 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23479 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23481 * Makerules (+depfiles): Also collect depfiles from .oS in
23483 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23484 .oS, $(libnldbl-routines)).
23486 * Makerules (native-compile-mkdep-flags): Define.
23487 * sunrpc/Makefile (extra-objs): Add $(addprefix
23488 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23489 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23490 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23491 calling $(make-target-directory).
23493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23495 * bits/types.h (__snseconds_t): Removed.
23496 * time/time.h (struct timespec): Replace __snseconds_t with
23498 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23499 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23502 (__SNSECONDS_T_TYPE): Likewise.
23503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23504 (__SNSECONDS_T_TYPE): Likewise.
23505 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23506 (__SNSECONDS_T_TYPE): Likewise.
23508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23510 * sysdeps/mach/hurd/bits/typesizes.h
23511 (__SYSCALL_SLONG_TYPE): New macro.
23512 (__SYSCALL_ULONG_TYPE): Likewise.
23514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23516 * bits/types.h (__syscall_slong_t): New type.
23517 (__syscall_ulong_t): Likewise.
23519 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23520 (__SYSCALL_ULONG_TYPE): Likewise.
23521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23522 (__SYSCALL_SLONG_TYPE): Likewise.
23523 (__SYSCALL_ULONG_TYPE): Likewise.
23524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23525 (__SYSCALL_SLONG_TYPE): Likewise.
23526 (__SYSCALL_ULONG_TYPE): Likewise.
23527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23528 (__SYSCALL_SLONG_TYPE): Likewise.
23529 (__SYSCALL_ULONG_TYPE): Likewise.
23531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23533 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23534 Add sigaltstack-offsets.sym.
23535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23536 <sigaltstack-offsets.h>.
23537 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23538 longjmp_msg pointer.
23539 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23540 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23542 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23544 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23546 * elf/stackguard-macros.h: Remove file.
23547 * sysdeps/generic/stackguard-macros.h: New file.
23548 * sysdeps/i386/stackguard-macros.h: Likewise.
23549 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23550 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23551 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23552 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23553 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23554 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23555 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23556 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23557 <elf/stackguard-macros.h>.
23560 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23561 __aligned__ in attribute.
23562 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23563 (gregset_t): Likewise.
23565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23567 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23568 * sysdeps/x86_64/64/Implies-after: Here. New file.
23569 * sysdeps/x86_64/x32/Implies-after: New file.
23571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23573 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23574 and access return value for _dl_profile_fixup. Use R10_LP to
23577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23579 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23583 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23584 * sysdeps/x86_64/x32/sysdep.h: New file.
23586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23588 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23589 * sysdeps/x86_64/setjmp.S: Likewise.
23591 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23593 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23594 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23595 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23596 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23597 remove unused global constant.
23599 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23601 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23602 include of <not-cancel.h>.
23604 2012-05-15 Roland McGrath <roland@hack.frob.com>
23606 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23608 2012-05-15 Jeff Law <law@redhat.com>
23609 Andreas Jaeger <aj@suse.de>
23612 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23614 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23615 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23616 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23617 code changing __hst_map_handle.map.
23619 2012-05-15 Roland McGrath <roland@hack.frob.com>
23621 * configure.in (sysnames): Look for Implies-before and Implies-after
23623 * configure: Regenerated.
23625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23627 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23628 8-byte data alignment with LP_SIZE alignment.
23630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23632 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23637 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23639 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23641 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23642 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23643 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23645 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23649 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23650 (stackinfo_sub_sp): Likewise.
23652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23664 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23669 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23673 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23674 into R11_LP and load __x86_64_shared_cache_size_half into
23677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23679 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23682 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23690 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23691 powerpc32/power7/fpu/s_logb.c via #include.
23692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23693 powerpc32/power7/fpu/s_logbf.c via #include.
23694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23695 powerpc32/power7/fpu/s_logbl.c via #include.
23697 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23699 * README.libm: Remove file.
23701 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23703 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23704 count for x32. Use R*_LP and omit operand-size suffix.
23706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23708 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23709 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23710 * sysdeps/x86_64/x32/shlib-versions: New file.
23712 2012-05-14 Roland McGrath <roland@hack.frob.com>
23714 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23715 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23716 Use _dl_fatal_printf instead.
23718 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23720 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23721 set if not set by the user. Do not allow for being unset.
23722 * sysdeps/unix/sysv/linux/configure: Regenerated.
23724 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23726 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23727 the `q' suffix from lea and replace .quad with ASM_ADDR.
23729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23732 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23734 (PTR_DEMANGLE): Likewise.
23736 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23738 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23740 (ASM_ADDR): Likewise.
23741 (RAX_LP): Likewise.
23742 (RBP_LP): Likewise.
23743 (RBX_LP): Likewise.
23744 (RCX_LP): Likewise.
23745 (RDI_LP): Likewise.
23746 (RSI_LP): Likewise.
23747 (RSP_LP): Likewise.
23750 (R10_LP): Likewise.
23751 (R10_LP): Likewise.
23752 (R11_LP): Likewise.
23753 (R12_LP): Likewise.
23754 (R13_LP): Likewise.
23755 (R14_LP): Likewise.
23756 (R15_LP): Likewise.
23758 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23760 * sysdeps/x86_64/x32/dl-machine.h: New file.
23762 2012-05-14 Andreas Jaeger <aj@suse.de>
23764 * manual/Makefile (subdir): Remove export of subdir.
23765 (all): Remove target.
23766 (.PHONY): Remove all from list.
23767 (mkinstalldirs): Remove.
23768 (.PHONY): Remove installdirs from list.
23769 ($(inst_infodir)/libc.info): Use make-target-directory.
23770 (installdirs): Remove.
23771 (subdir_%): Remove.
23772 (glibc-targets): Remove.
23775 ($(objpfx)stubs ../po/manual.pot): Remove.
23776 ($(objpfx)stamp%): Remove.
23777 (make-target-directory): Remove.
23778 (subdir_install): Remove.
23779 (routines): Remove.
23786 * manual/.gitignore: Remove, it's not needed anymore.
23787 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23789 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23791 (texis): Renamed to $(objpfx)texis.
23792 (texis-path): New, contains path to generated files.
23793 (chapters.%): Use texis-path for complete path, add extra argument
23795 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23796 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23797 (summary,texi, stamp-summary): Use complete path of
23798 files. Generate files in build dir.
23799 (dir-add.texi): Build in build dir.
23800 (libm-err.texi,stamp-libm-err): Likewise.
23801 (version.texi, stamp-version): Likewise.
23802 (.%c.texi): Likewise.
23803 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23804 (mostlyclean): Remove target.
23805 (realclean): Remove target.
23806 (generated): Add new variable with contents from mostlyclean and
23807 realclean, remove entries duplicated in common-mostlyclean, add
23808 stamp-libm-err and stamp-version.
23809 (generated-dirs): Add libc directory.
23810 ($(inst_infodir)/libc.info): Install files from build dir.
23812 * manual/install.texi (Configuring and compiling): Adjust since
23813 the info files are not part of the tar ball anymore.
23815 2012-05-14 Andreas Jaeger <aj@suse.de>
23817 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23820 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23823 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23824 to 2.2.0 where earlier.
23825 * sysdeps/unix/sysv/linux/configure: Regenerated.
23826 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23827 Remove conditional code.
23828 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23829 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23830 Remove conditional code.
23831 [!__NR_lchown]: Likewise.
23832 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23833 [__NR_lchown]: Likewise.
23834 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23835 comment referencing __ASSUME_LCHOWN_SYSCALL.
23836 * sysdeps/unix/sysv/linux/i386/sigaction.c
23837 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23838 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23839 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23840 Remove conditional code.
23841 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23842 (__protocol_available): Remove #if 0 code.
23843 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23845 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23846 * sysdeps/unix/sysv/linux/kernel-features.h
23847 (__ASSUME_GETCWD_SYSCALL): Don't define.
23848 (__ASSUME_REALTIME_SIGNALS): Likewise.
23849 (__ASSUME_PREAD_SYSCALL): Likewise.
23850 (__ASSUME_PWRITE_SYSCALL): Likewise.
23851 (__ASSUME_POLL_SYSCALL): Likewise.
23852 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23853 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23855 (__ASSUME_SIOCGIFNAME): Don't define.
23856 (__ASSUME_MSG_NOSIGNAL): Likewise.
23857 (__ASSUME_SENDFILE): Define unconditionally.
23858 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23859 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23861 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23862 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23863 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23864 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23865 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23866 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23867 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23869 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23872 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23875 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23876 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23878 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23879 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23881 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23884 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23885 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23887 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23888 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23890 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23891 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23892 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23893 Remove conditional code.
23894 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23895 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23896 Remove conditional code.
23897 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23898 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23899 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23900 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23901 Remove conditional code.
23902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23903 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23904 Remove conditional code.
23905 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23906 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23907 Remove conditional code.
23908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23909 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23910 Remove conditional code.
23911 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23912 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23913 Remove conditional code.
23914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23915 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23916 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23917 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23918 * sysdeps/unix/sysv/linux/sigaction.c
23919 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23920 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23921 * sysdeps/unix/sysv/linux/sigpending.c
23922 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23923 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23924 * sysdeps/unix/sysv/linux/sigprocmask.c
23925 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23926 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23927 * sysdeps/unix/sysv/linux/sigsuspend.c
23928 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23929 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23930 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23931 (__libc_missing_rt_sigs): Remove.
23932 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23933 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23934 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23935 Remove conditional code.
23936 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23937 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23939 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23940 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23941 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23942 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23944 2012-05-14 Andreas Jaeger <aj@suse.de>
23946 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23947 it's not used in glibc.
23948 (__coshm1): Likewise.
23949 (__acosh1p): Likewise.
23952 * manual/string.texi (Copying and Concatenation): Add missing
23953 variable in concat example.
23954 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23956 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23959 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23960 __builtin_clzl with __builtin_clzll.
23962 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23965 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23968 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23970 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23971 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23972 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23973 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23975 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23977 * NEWS: Update ia64 info.
23979 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23981 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23984 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23986 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23987 * sysdeps/unix/syscalls.list (dup3): Likewise.
23988 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23989 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23991 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23993 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23994 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23996 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23998 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24000 (TLS_IE): Use mov/add instead of movq/addq to load thread
24002 (TLS_GD_PREFIX): New.
24005 2012-05-11 David S. Miller <davem@davemloft.net>
24007 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24008 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24009 (_FPU_SETCW): Likewise.
24011 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24013 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24014 is 32-byte aligned.
24016 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24019 * iconvdata/gb18030.c: Update tables.
24020 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24021 characters specially.
24022 (BODY for TO_LOOP): Add encoding of missing ranges.
24024 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24027 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24028 * sysdeps/mach/hurd/dup3.c: Likewise.
24029 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24030 * sysdeps/powerpc/memmove.c:: Likewise.
24032 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24035 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24037 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24039 * elf/elf.h (R_X86_64_RELATIVE64): New.
24040 (R_X86_64_NUM): Updated.
24041 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24042 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24043 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24044 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24045 tst-quad1pie tst-quad2pie
24046 (modules-names): Add tst-quadmod1 tst-quadmod2.
24047 ($(objpfx)tst-quad1): New dependency.
24048 ($(objpfx)tst-quad2): Likewise.
24049 ($(objpfx)tst-quad1pie): Likewise.
24050 ($(objpfx)tst-quad2pie): Likewise.
24051 * sysdeps/x86_64/tst-quad1.c: New file.
24052 * sysdeps/x86_64/tst-quad1pie.c: New file.
24053 * sysdeps/x86_64/tst-quad2.c: Likewise.
24054 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24055 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24056 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24057 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24058 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24062 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24063 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24064 * streams/stropts.h (t_scalar_t): Define type.
24066 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24067 (_PATH_PRESERVE): Set to "/var/lib".
24068 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24070 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24073 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24074 if __dir_mkfile succeeded.
24076 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24077 checking for _hurd_dtablesize. Unlock it right after having
24078 finished _hurd_dtable allocation.
24080 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24082 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24083 * sysdeps/mach/hurd/configure: Regenerated.
24084 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24085 special-casing to...
24086 * sysdeps/gnu/configure.in: ... this new file.
24087 * sysdeps/unix/sysv/linux/configure: Regenerated.
24088 * sysdeps/gnu/configure: New generated file.
24090 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24091 for Linux: use nsec instead of usec, as well as:
24092 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24093 members of type struct timespec.
24094 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24096 (struct stat64): Likewise.
24097 (_STATBUF_ST_NSEC): New macro.
24098 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24100 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24101 __strtoul_internal rather than strtoul.
24103 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24105 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24110 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24111 which preserves existing values.
24112 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24114 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24116 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24117 TIMEOUT values. Return EINVAL for NFDS values either negative or
24118 greater than FD_SETSIZE.
24120 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24122 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24123 allocated, call __vm_protect to finish enabling the existing space, and
24124 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24125 allocate the remainder.
24127 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24129 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24130 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24132 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24134 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24135 sysdeps/mach/hurd/readlink.c.
24137 * posix/tst-sysconf.c (posix_options): Only use
24138 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24139 _POSIX_SYNCHRONIZED_IO when they are defined
24140 * sysdeps/mach/hurd/bits/posix_opt.h:
24141 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24142 (_XOPEN_REALTIME): Undefine macro.
24143 (_XOPEN_REALTIME_THREADS): Undefine macro.
24144 (_XOPEN_SHM): Undefine macro.
24145 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24147 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24149 (_POSIX_ASYNC_IO): Undefine macro.
24150 (_POSIX_PRIORITIZED_IO): Undefine macro.
24151 (_POSIX_SPIN_LOCKS): Define macro to -1.
24153 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24154 SA_NODEFER, SA_RESETHAND.
24155 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24156 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24161 * elf/Makefile (pldd-modules): Define unconditionally.
24163 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24165 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24167 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24169 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24170 Return ENOENT when name is empty.
24171 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24173 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24175 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24177 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24179 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24181 Fix mlock in all cases except non-readable pages.
24182 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24183 instead of VM_PROT_ALL as parameter to __vm_wire function.
24185 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24186 (__mkdir): When path is `/', just fail with EEXIST.
24187 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24189 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24191 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24192 <sys/uio.h> (for writev).
24193 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24194 and <sys/param.h> (for MIN).
24196 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24198 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24199 REQUESTED_TIME. Properly set the remaining time and return EINTR
24202 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24204 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24205 Depend on against $(link-rpcuserlibs).
24207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24209 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24210 (__libc_stack_end): Do not use attribute_relro.
24211 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24212 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24213 to libthread-provided value.
24214 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24220 * bits/libc-lock.h (__libc_once_get): New macro.
24221 * sysdeps/mach/bits/libc-lock.h: Likewise.
24222 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24224 instead of using implementation details.
24226 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24227 * libio/freopen.c: Likewise.
24228 * libio/freopen64.c: Likewise.
24229 * misc/syslog.c: Likewise.
24230 * nscd/connections.c: Likewise.
24231 * nscd/netgroupcache.c: Likewise.
24232 * sysdeps/posix/getcwd.c: Likewise.
24234 2012-05-10 Roland McGrath <roland@hack.frob.com>
24236 * math/w_ilogbf.c: Add #include <limits.h>.
24238 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24240 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24241 path instead of returning without unlocking.
24243 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24244 immediate-write ioctls.
24245 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24247 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24249 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24250 __builtin_frame_address instead of making assumptions about the
24251 location of the return address relative to DATA. Force early load of
24252 the return address.
24253 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24254 __builtin_frame_address.
24257 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24258 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24259 implement dup3 and do some further code clean-ups.
24260 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24261 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24263 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24265 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24267 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24268 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24269 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24270 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24271 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24274 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24275 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24276 when handler == SIG_ERR, not when handler != SIG_ERR.
24278 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24280 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24281 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24284 accept4 for GNU Hurd.
24285 * include/sys/socket.h (__libc_accept4): New prototype.
24286 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24287 to implement __libc_accept4.
24288 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24290 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24292 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24293 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24294 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24295 signal-defines.sym.
24297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24299 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24303 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24304 assertion on O_CLOEXEC flag.
24305 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24306 * hurd/intern-fd.c: Likewise.
24307 * hurd/port2fd.c: Likewise.
24309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24312 * bits/in.h (IPV6_PKTINFO): Define new macro.
24313 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24315 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24320 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24322 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24323 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24325 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24326 * math/libm-test.inc (logb_test) : Additional logb tests.
24328 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24329 Andreas Jaeger <aj@suse.de>
24331 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24332 * configure: Regenerated.
24333 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24334 * config.make.in (link-obsolete-rpc): New substituted variable.
24335 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24336 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24337 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24338 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24339 so that libc.a contains the symbols.
24340 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24341 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24342 * sunrpc/auth_none.c: Likewise.
24343 * sunrpc/auth_unix.c: Likewise.
24344 * sunrpc/authdes_prot.c: Likewise.
24345 * sunrpc/authuxprot.c: Likewise.
24346 * sunrpc/clnt_gen.c: Likewise.
24347 * sunrpc/clnt_perr.c: Likewise.
24348 * sunrpc/clnt_raw.c: Likewise.
24349 * sunrpc/clnt_simp.c: Likewise.
24350 * sunrpc/clnt_tcp.c: Likewise.
24351 * sunrpc/clnt_udp.c: Likewise.
24352 * sunrpc/clnt_unix.c: Likewise.
24353 * sunrpc/des_crypt.c: Likewise.
24354 * sunrpc/des_soft.c: Likewise.
24355 * sunrpc/get_myaddr.c: Likewise.
24356 * sunrpc/key_call.c: Likewise.
24357 * sunrpc/key_prot.c: Likewise.
24358 * sunrpc/netname.c: Likewise.
24359 * sunrpc/pm_getmaps.c: Likewise.
24360 * sunrpc/pm_getport.c: Likewise.
24361 * sunrpc/pmap_clnt.c: Likewise.
24362 * sunrpc/pmap_prot.c: Likewise.
24363 * sunrpc/pmap_prot2.c: Likewise.
24364 * sunrpc/pmap_rmt.c: Likewise.
24365 * sunrpc/publickey.c: Likewise.
24366 * sunrpc/rpc_cmsg.c: Likewise.
24367 * sunrpc/rpc_common.c: Likewise.
24368 * sunrpc/rpc_dtable.c: Likewise.
24369 * sunrpc/rpc_prot.c: Likewise.
24370 * sunrpc/rpc_thread.c: Likewise.
24371 * sunrpc/rtime.c: Likewise.
24372 * sunrpc/svc.c: Likewise.
24373 * sunrpc/svc_auth.c: Likewise.
24374 * sunrpc/svc_raw.c: Likewise.
24375 * sunrpc/svc_run.c: Likewise.
24376 * sunrpc/svc_tcp.c: Likewise.
24377 * sunrpc/svc_udp.c: Likewise.
24378 * sunrpc/svc_unix.c: Likewise.
24379 * sunrpc/svcauth_des.c: Likewise.
24380 * sunrpc/xcrypt.c: Likewise.
24381 * sunrpc/xdr.c: Likewise.
24382 * sunrpc/xdr_array.c: Likewise.
24383 * sunrpc/xdr_float.c: Likewise.
24384 * sunrpc/xdr_intXX_t.c: Likewise.
24385 * sunrpc/xdr_mem.c: Likewise.
24386 * sunrpc/xdr_rec.c: Likewise.
24387 * sunrpc/xdr_ref.c: Likewise.
24388 * sunrpc/xdr_sizeof.c: Likewise.
24389 * sunrpc/xdr_stdio.c: Likewise.
24391 2012-05-10 Roland McGrath <roland@hack.frob.com>
24393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24394 change. Update copyright years.
24396 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24398 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24400 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24401 Joseph Myers <joseph@codesourcery.com>
24402 Paul Pluzhnikov <ppluzhnikov@google.com>
24405 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24407 [cross-compiling] (extra-libs): Likewise.
24408 [cross-compiling] (extra-libs-others): Likewise.
24409 [cross-compiling] (librpcsvc-routines): Likewise.
24410 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24411 [cross-compiling] (omit-deps): Likewise.
24412 (sunrpc-CPPFLAGS): New variable.
24413 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24414 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24415 (cross-rpcgen-objs): New variable.
24416 (extra-objs): Append $(cross-rpcgen-objs).
24417 ($(cross-rpcgen-objs)): New rule.
24418 ($(objpfx)cross-rpcgen): Likewise.
24419 (rpcgen-cmd): Define to use $(built-program-file). Expand
24421 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24422 ($(objpfx)x%.stmp): Likewise.
24423 * sunrpc/proto.h [IS_IN_build] (_): Define.
24424 [IS_IN_build] (_libc_intl_domainname): Likewise.
24426 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24428 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24429 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24430 and R_X86_64_TPOFF64.
24432 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24434 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24435 sysdeps/unix/sysv/syscalls.list.
24438 * sysdeps/unix/sysv/syscalls.list: Remove file.
24440 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24443 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24444 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24445 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24446 (__LC_IDENTIFICATION): Make these macros useful in #if
24447 expressions, as required by C99.
24449 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24451 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24452 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24455 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24457 * stdlib/longlong.h: Updated from GCC.
24459 2012-05-09 Andreas Jaeger <aj@suse.de>
24461 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24462 default is first entry.
24463 (run_mode): Set type.
24464 (main): Remove informal message about syslog.
24465 (options): Fix typo.
24468 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24471 (llrintf): Likewise.
24472 (llrint): Likewise.
24475 (nearbyint): Likewise.
24476 (nearbyintf): Likewise.
24478 2012-05-09 Andreas Jaeger <aj@suse.de>
24479 Pedro Alves <palves@redhat.com>
24481 * nscd/nscd.c (run_mode): Use enum.
24482 (main): Cleanup coding style issue.
24484 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24485 Andreas Jaeger <aj@suse.de>
24487 * nscd/nscd.c (go_background): Replaced with...
24488 (run_mode): ... this.
24489 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24490 (options): Add -F --foreground.
24491 (main): Implement it.
24492 (parse_opt): Parse it.
24494 2012-05-09 Andreas Jaeger <aj@suse.de>
24497 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24498 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24499 -Wconversion warning.
24500 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24503 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24505 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24507 (LC_ALL): Use macro-int-constant.
24508 (LC_COLLATE): Likewise.
24509 (LC_CTYPE): Likewise.
24510 (LC_MESSAGES): Likewise.
24511 (LC_MONETARY): Likewise.
24512 (LC_NUMERIC): Likewise.
24513 (LC_TIME): Likewise.
24514 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24515 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24517 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24519 [C99-based standards] (float_t): Expect type.
24520 [C99-based standards] (double_t): Expect type.
24521 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24523 [C99-based standards] (HUGE_VALL): Likewise.
24524 [C99-based standards] (INFINITY): Likewise.
24525 [C99-based standards] (NAN): Likewise.
24526 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24527 [C99-based standards] (FP_NAN): Likewise.
24528 [C99-based standards] (FP_NORMAL): Likewise.
24529 [C99-based standards] (FP_SUBNORMAL): Likewise.
24530 [C99-based standards] (FP_ZERO): Likewise.
24531 [C99-based standards] (FP_FAST_FMA): Use
24532 optional-macro-int-constant. Specify type. Require == 1.
24533 [C99-based standards] (FP_FAST_FMAF): Likewise.
24534 [C99-based standards] (FP_FAST_FMAL): Likewise.
24535 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24536 [C99-based standards] (FP_ILOGBNAN): Likewise.
24537 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24539 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24540 [C99-based standards] (math_errhandling): Specify type.
24541 [ISO99 || ISO11] (signgam): Do not allow.
24542 [non-C99-based standards] (copysignf): Do not allow.
24543 [non-C99-based standards] (exp2f): Likewise.
24544 [non-C99-based standards] (log2f): Likewise.
24545 [non-C99-based standards] (modff): Allow.
24546 [non-C99-based standards] (erff): Do not allow.
24547 [non-C99-based standards] (erfcf): Likewise.
24548 [non-C99-based standards] (gammaf): Likewise.
24549 [non-C99-based standards] (hypotf): Likewise.
24550 [non-C99-based standards] (j0f): Likewise.
24551 [non-C99-based standards] (j1f): Likewise.
24552 [non-C99-based standards] (jnf): Likewise.
24553 [non-C99-based standards] (lgammaf): Likewise.
24554 [non-C99-based standards] (tgammaf): Likewise.
24555 [non-C99-based standards] (y0f): Likewise.
24556 [non-C99-based standards] (y1f): Likewise.
24557 [non-C99-based standards] (ynf): Likewise.
24558 [non-C99-based standards] (isnanf): Likewise.
24559 [non-C99-based standards] (acoshf): Likewise.
24560 [non-C99-based standards] (asinhf): Likewise.
24561 [non-C99-based standards] (atanhf): Likewise.
24562 [non-C99-based standards] (cbrtf): Likewise.
24563 [non-C99-based standards] (expm1f): Likewise.
24564 [non-C99-based standards] (ilogbf): Likewise.
24565 [non-C99-based standards] (log1pf): Likewise.
24566 [non-C99-based standards] (logbf): Likewise.
24567 [non-C99-based standards] (nextafterf): Likewise.
24568 [non-C99-based standards] (remainderf): Likewise.
24569 [non-C99-based standards] (rintf): Likewise.
24570 [non-C99-based standards] (scalbf): Likewise.
24571 [non-C99-based standards] (copysignl): Likewise.
24572 [non-C99-based standards] (exp2l): Likewise.
24573 [non-C99-based standards] (log2l): Likewise.
24574 [non-C99-based standards] (modfl): Allow.
24575 [non-C99-based standards] (erfl): Do not allow.
24576 [non-C99-based standards] (erfcl): Likewise.
24577 [non-C99-based standards] (gammal): Likewise.
24578 [non-C99-based standards] (hypotl): Likewise.
24579 [non-C99-based standards] (j0l): Likewise.
24580 [non-C99-based standards] (j1l): Likewise.
24581 [non-C99-based standards] (jnl): Likewise.
24582 [non-C99-based standards] (lgammal): Likewise.
24583 [non-C99-based standards] (tgammal): Likewise.
24584 [non-C99-based standards] (y0l): Likewise.
24585 [non-C99-based standards] (y1l): Likewise.
24586 [non-C99-based standards] (ynl): Likewise.
24587 [non-C99-based standards] (isnanl): Likewise.
24588 [non-C99-based standards] (acoshl): Likewise.
24589 [non-C99-based standards] (asinhl): Likewise.
24590 [non-C99-based standards] (atanhl): Likewise.
24591 [non-C99-based standards] (cbrtl): Likewise.
24592 [non-C99-based standards] (expm1l): Likewise.
24593 [non-C99-based standards] (ilogbl): Likewise.
24594 [non-C99-based standards] (log1pl): Likewise.
24595 [non-C99-based standards] (logbl): Likewise.
24596 [non-C99-based standards] (nextafterl): Likewise.
24597 [non-C99-based standards] (remainderl): Likewise.
24598 [non-C99-based standards] (rintl): Likewise.
24599 [non-C99-based standards] (scalbl): Likewise.
24600 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24601 [non-C99-based standards] (FP_*): Do not allow.
24602 [C99-based standards] (FP_*): Change to
24603 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24604 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24606 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24607 (SIG_ERR): Likewise.
24608 [X/Open-based standards] (SIG_HOLD): Likewise.
24609 (SIG_IGN): Likewise.
24610 (SIGABRT): Use macro-int-constant. Specify type. Require
24612 (SIGFPE): Likewise.
24613 (SIGILL): Likewise.
24614 (SIGINT): Likewise.
24615 (SIGSEGV): Likewise.
24616 (SIGTER): Likewise.
24617 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24618 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24619 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24620 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24621 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24622 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24623 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24624 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24625 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24626 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24627 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24628 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24629 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24630 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24631 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24632 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24633 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24634 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24635 [X/Open-based standards] (SIGTRAP): Likewise.
24636 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24637 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24638 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24639 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24640 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24643 2012-05-08 Ian Wienand <ianw@vmware.com>
24646 * time/tzset.c (__tzset_parse_tz): Update default rules for
24647 daylight time changes in the Energy Policy Act of 2005.
24649 2012-05-09 Andreas Jaeger <aj@suse.de>
24652 * elf/ldconfig.c (parse_conf): Change string to make clear that
24653 ldconfig only issued a warning if ld.so.conf does not exist.
24655 2012-05-08 David S. Miller <davem@davemloft.net>
24657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24658 movxtod instead of popping the value on the stack.
24660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24662 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24664 * config.h.in: Add HAVE_ARM_PCS_VFP.
24666 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24669 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24670 checking but the checks are disabled for any reason.
24672 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24674 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24675 and ELF64_R_TYPE with ELFW(R_TYPE).
24677 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24679 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24680 (ulimit): Likewise.
24682 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24683 (settimeofday): Likewise.
24685 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24687 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24688 a struct th_u2 inside the union, and move tu_block/tu_code into
24689 a new th_u3 union of tu_block/tu_code inside of that. Move
24690 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24691 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24692 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24693 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24694 (th_stuff): Change to th_u1.tu_stuff.
24696 (th_msg): Change to th_u1.th_u2.tu_data.
24698 2012-05-07 David S. Miller <davem@davemloft.net>
24700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24703 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24704 (SETUP_PIC_REG): Use it.
24705 (SETUP_PIC_REG_LEAF): Use it.
24707 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24711 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24713 (EXPL_FINITE): Likewise.
24714 (FLDLOG): Likewise.
24715 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24716 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24718 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24720 (EXPL_FINITE): Likewise.
24721 (FLDLOG): Likewise.
24722 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24723 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24725 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24726 test of -max_value argument for long double.
24727 * sysdeps/i386/fpu/libm-test-ulps: Update.
24728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24730 2012-05-06 David S. Miller <davem@davemloft.net>
24732 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24733 quad soft-float symbols whose references which are compiler
24735 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24737 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24741 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24743 (EXPL_FINITE): Likewise.
24744 (FLDLOG): Likewise.
24747 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24748 Adjust comments for base varying.
24749 (__expl_finite): Change alias to EXPL_FINITE.
24750 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24752 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24753 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24755 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24758 (EXPL_FINITE): Likewise.
24759 (FLDLOG): Likewise.
24762 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24763 Adjust comments for base varying.
24764 (__expl_finite): Change alias to EXPL_FINITE.
24765 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24770 * math/libm-test.inc (check_float_internal): Correct ulp
24771 calculation for subnormal expected results.
24773 2012-05-06 Andreas Jaeger <aj@suse.de>
24775 * Makeconfig (+math-flags): New, set to -frounding-math.
24776 (+cflags): Add +math-flags so that all of glibc gets compiled with
24779 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24781 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24783 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24789 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24790 (__ieee754_expl): Allow for and saturate large arguments.
24791 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24792 (u_threshold): Likewise.
24793 (__exp): Call __ieee754_exp before checking for overflow and
24795 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24796 (u_threshold): Likewise.
24797 (__expf): Call __ieee754_expf before checking for overflow and
24799 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24800 (u_threshold): Likewise.
24801 (__expl): Call __ieee754_expl before checking for overflow and
24803 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24804 (__ieee754_expl): Allow for and saturate large arguments.
24805 * math/libm-test.inc (exp_test): Add another test. Do not allow
24806 missing overflow exception on overflow.
24807 (expm1_test): Do not allow missing overflow exception on overflow.
24809 * sysdeps/i386/fpu/e_expl.c: Move to ...
24810 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24811 rather than using inline asm.
24812 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24813 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24814 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24816 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24819 (signal): Likewise.
24823 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24825 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24826 sysdeps/unix/common/syscalls.list.
24827 (fchmod): Likewise.
24828 (fchown): Likewise.
24829 (ftruncate): Likewise.
24830 (getrusage): Likewise.
24831 (gettimeofday): Likewise.
24832 (setpgid): Likewise.
24833 (setregid): Likewise.
24834 (setreuid): Likewise.
24835 (sigaction): Likewise.
24836 (truncate): Likewise.
24837 (vhangup): Likewise.
24838 * sysdeps/unix/common/syscalls.list: Remove file.
24839 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24840 * sysdeps/unix/sysv/linux/Implies: Likewise.
24842 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24844 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24846 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24850 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24853 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24856 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24859 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24862 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24865 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24868 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24872 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24876 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24879 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24883 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24887 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24889 * sysdeps/unix/common/bits/dirent.h: Remove file.
24890 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24892 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24893 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24894 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24895 * sysdeps/unix/bsd/isatty.c: Likewise.
24896 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24897 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24898 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24900 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24904 long double comparison inaccuracies.
24905 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24908 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24910 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24913 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24916 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24917 nonzero digits before rounding a hex value.
24918 * stdlib/tst-strtod.c (tests): Add another test.
24920 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24922 * sysdeps/s390/fpu/libm-test-ulps: Update.
24924 2012-05-03 Andreas Jaeger <aj@suse.de>
24926 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24927 does not get optimized out.
24928 (malloc_opt_barrier): New.
24930 2012-05-03 Andreas Jaeger <aj@suse.de>
24931 Roland McGrath <roland@hack.frob.com>
24933 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24934 intermediate file deletion.
24935 (generated): Add .symlist files.
24937 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24940 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24941 Redirect under this condition.
24942 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24943 [__USE_GNU] (__dprintf_chk): Not under this condition.
24944 [__USE_GNU] (__vdprintf_chk): Likewise.
24945 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24946 under this condition.
24947 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24948 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24949 [__USE_XOPEN2K8] (vdprintf): Likewise.
24950 [__USE_GNU] (__dprintf_chk): Not under this condition.
24951 [__USE_GNU] (__vdprintf_chk): Likewise.
24952 [__USE_GNU] (dprintf): Likewise.
24953 [__USE_GNU] (vdprintf): Likewise.
24955 2012-05-03 Roland McGrath <roland@hack.frob.com>
24957 * elf/Makefile (common-generated): Set this instead of generated for
24958 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24959 $(all-built-dso)-derived lists.
24961 2012-05-03 Andreas Jaeger <aj@suse.de>
24963 * sysdeps/i386/fpu/libm-test-ulps: Update.
24966 * FAQ.in: Likewise.
24967 * scripts/gen-FAQ.pl: Likewise.
24968 * manual/install.texi (Installation): Point to online location of
24970 * Makefile (files-for-dist): Remove FAQ.
24973 2012-05-02 Allan McRae <allan@archlinux.org>
24975 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24976 (LDFLAGS-reldepmod5.so): Likewise.
24977 (LDFLAGS-reldep6mod1.so): Likewise.
24978 (LDFLAGS-reldep6mod4.so): Likewise.
24979 (LDFLAGS-reldep8mod3.so): Likewise.
24980 (LDFLAGS-unload4mod1.so): Likewise.
24981 (LDFLAGS-unload4mod2.so): Likewise.
24982 (LDFLAGS-tst-initorder): Likewise.
24983 (LDFLAGS-tst-initordera2.so): Likewise.
24984 (LDFLAGS-tst-initordera3.so): Likewise.
24985 (LDFLAGS-tst-initordera4.so): Likewise.
24986 (LDFLAGS-tst-initorderb2.so): Likewise.
24987 (LDFLAGS-noload): Likewise.
24988 (LDFLAGS-next): Likewise.
24989 (LDFLAGS-order2mod1.so): Likewise.
24990 (LDFLAGS-order2mod2.so): Likewise.
24991 (LDFLAGS-tst-initorder2): Likewise.
24992 (LDFLAGS-tst-initorder2a.so): Likewise.
24993 (LDFLAGS-tst-initorder2b.so): Likewise.
24994 (LDFLAGS-tst-initorder2c.so): Likewise.
24995 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24997 2012-05-02 David S. Miller <davem@davemloft.net>
24999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25001 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25004 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25006 2012-05-02 Andreas Jaeger <aj@suse.de>
25008 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25009 since we manipulate rounding mode.
25010 (CPPFLAGS-test-idouble.c): Likewise.
25011 (CPPFLAGS-test-ifloat.c): Likewise.
25012 (CFLAGS-test-ldouble.c): Likewise.
25013 (CFLAGS-test-double.c): Likewise.
25014 (CFLAGS-test-float.c): Likewise.
25015 (CFLAGS-test-misc.c): Likewise.
25016 (CFLAGS-test-test-fenv.c): Likewise.
25018 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25022 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25023 comparisons to determine direction to adjust input.
25025 2012-05-01 Roland McGrath <roland@hack.frob.com>
25027 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25028 output to the target.
25030 * scripts/localplt.awk: New file.
25031 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25032 (check-localplt-CFLAGS): Variable removed.
25033 ($(all-built-dso:=.jmprel)): New static pattern rule.
25034 (generated): Add those targets.
25035 (localplt-built-dso): New variable.
25036 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25038 * elf/check-localplt.c: File removed.
25040 * scripts/check-execstack.awk: New file.
25041 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25042 (check-execstack-CFLAGS): Variable removed.
25043 ($(objpfx)check-execstack.h): Target removed.
25044 ($(objpfx)execstack-default): New target.
25045 (generated): Add that instead of check-execstack.h.
25046 ($(all-built-dso:=.phdr)): New static pattern rule.
25047 (generated): Add those targets.
25048 * elf/check-execstack.c: File removed.
25050 * scripts/check-textrel.awk: New file.
25051 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25052 (check-textrel-CFLAGS): Variable removed.
25053 (all-built-dso): Use := to define.o
25054 ($(all-built-dso:=.dyn)): New static pattern rule.
25055 (generated): Add those targets.
25056 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25057 * config.make.in (READELF): New substituted variable.
25058 * elf/check-textrel.c: File removed.
25060 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25062 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25064 * conform/data/ctype.h-data [C99-based standards] (isblank):
25066 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25067 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25068 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25069 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25070 Specify type. Require positive value.
25071 (EILSEQ): Likewise.
25072 (ERANGE): Likewise.
25073 [ISO || POSIX] (EILSEQ): Do not expect.
25074 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25075 Specify type. Require positive value.
25076 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25077 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25078 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25079 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25080 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25081 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25082 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25083 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25084 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25085 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25086 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25087 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25088 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25089 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25090 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25091 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25092 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25093 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25094 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25095 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25096 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25097 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25098 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25099 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25100 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25101 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25102 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25103 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25104 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25105 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25106 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25107 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25108 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25109 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25110 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25111 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25112 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25113 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25114 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25115 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25116 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25117 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25118 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25119 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25120 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25121 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25122 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25123 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25124 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25125 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25126 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25127 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25128 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25129 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25130 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25131 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25132 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25133 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25134 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25135 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25136 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25137 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25138 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25139 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25140 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25141 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25142 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25143 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25144 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25145 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25146 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25147 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25148 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25149 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25150 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25151 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25152 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25154 (FLT_ROUNDS): Expect as macro, not constant.
25155 (FLT_MANT_DIG): Use macro-int-constant.
25156 (DBL_MANT_DIG): Likewise.
25157 (LDBL_MANT_DIG): Likewise.
25158 (FLT_DIG): Likewise.
25159 (DBL_DIG): Likewise.
25160 (LDBL_DIG): Likewise.
25161 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25162 (DBL_MIN_EXP): Likewise.
25163 (LDBL_MIN_EXP): Likewise.
25164 (FLT_MAX_EXP): Use macro-int-constant.
25165 (DBL_MAX_EXP): Likewise.
25166 (LDBL_MAX_EXP): Likewise.
25167 (FLT_MAX_10_EXP): Likewise.
25168 (DBL_MAX_10_EXP): Likewise.
25169 (LDBL_MAX_10_EXP): Likewise.
25170 (FLT_MAX): Use macro-constant.
25171 (DBL_MAX): Likewise.
25172 (LDBL_MAX): Likewise.
25173 (FLT_EPSILON): Use macro-constant. Give upper bound.
25174 (DBL_EPSILON): Likewise.
25175 (LDBL_EPSILON): Likewise.
25176 (FLT_MIN): Likewise.
25177 (DBL_MIN): Likewise.
25178 (LDBL_MIN): Likewise.
25179 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25180 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25181 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25182 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25183 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25184 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25185 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25186 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25187 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25188 [ISO11] (FLT_TRUE_MIN): Likewise.
25189 [ISO11] (LDBL_TRUE_MIN): Likewise.
25190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25191 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25192 (SCHAR_MIN): Use macro-int-constant. Specify type.
25193 (SCHAR_MAX): Likewise.
25194 (UCHAR_MAX): Likewise.
25195 (CHAR_MIN): Likewise.
25196 (CHAR_MAX): Likewise.
25197 (MB_LEN_MAX): Use macro-int-constant.
25198 (SHRT_MIN): Use macro-int-constant. Specify type.
25199 (SHRT_MAX): Likewise.
25200 (USHRT_MAX): Likewise.
25201 (INT_MAX): Likewise.
25202 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25204 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25206 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25208 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25209 bound negative. Suffix upper bound with "L".
25210 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25212 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25214 [C99-based standards] (LLONG_MAX): Likewise.
25215 [C99-based standards] (ULLONG_MAX): Likewise.
25216 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25218 [ISO11] (max_align_t): Require type.
25219 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25221 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25222 from $CFLAGS, without defining away __attribute__ calls.
25223 (checknamespace): Use $CFLAGS_namespace.
25225 * conform/conformtest.pl (@keywords): Only include C99 keywords
25226 for standards based on C99 or C11.
25228 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25230 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25233 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25234 usability of symbols in #if.
25236 * conform/conformtest.pl: If macro or constant types start
25237 "promoted:", expect the symbol to be of the following type
25238 promoted by the integer promotions.
25240 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25241 in one place. Also handle "macro-constant".
25243 * conform/conformtest.pl: Only accept expected macro values with
25244 "==". Parse all "macro" lines in one place.
25245 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25247 * conform/conformtest.pl: Handle braced types on "constant" lines
25248 instead of handling "typed-constant".
25249 * conform/data/signal.h-data: Use "constant" instead of
25252 * conform/conformtest.pl: Handle "optional-" at start of lines in
25253 one place rather than duplicating several cases. Handle each
25254 format of "macro" line with initial "optional-".
25256 * conform/conformtest.pl: Only accept expected constant or
25257 optional-constant values with "==". Parse all "constant" lines in
25258 one place. Parse all "optional-constant" lines in one place.
25259 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25260 * conform/data/fmtmsg.h-data: Likewise.
25261 * conform/data/netinet/in.h-data: Likewise.
25262 * conform/data/tar.h-data: Likewise.
25263 * conform/data/limits.h-data: Use "==" form on "constant" and
25264 "optional-constant" lines.
25266 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25267 Use -std=c99 for XOPEN2K.
25268 (@knownproblems): Remove.
25269 (newtoken): Don't check %isknown.
25271 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25272 Do not expect macro.
25273 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25274 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25275 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25276 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25277 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25278 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25279 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25280 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25281 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25282 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25283 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25284 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25285 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25286 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25287 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25288 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25289 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25290 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25291 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25292 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25293 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25294 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25295 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25296 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25297 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25298 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25299 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25300 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25301 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25302 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25303 [XPG3] (acosh): Likewise.
25304 [XPG3] (asinh): Likewise.
25305 [XPG3] (atanh): Likewise.
25306 [XPG3] (cbrt): Likewise.
25307 [XPG3] (expm1): Likewise.
25308 [XPG3] (ilogb): Likewise.
25309 [XPG3] (log1p): Likewise.
25310 [XPG3] (logb): Likewise.
25311 [XPG3] (nextafter): Likewise.
25312 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25313 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25314 [XPG3] (remainder): Likewise.
25315 [XPG3] (rint): Likewise.
25316 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25317 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25318 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25319 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25320 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25321 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25322 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25323 [UNIX98 || XOPEN2K] (scalb): Expect.
25324 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25325 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25326 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25327 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25328 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25329 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25330 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25331 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25332 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25333 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25334 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25335 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25336 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25337 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25338 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25339 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25340 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25341 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25342 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25343 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25344 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25345 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25346 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25347 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25348 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25349 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25350 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25351 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25352 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25353 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25354 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25355 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25356 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25357 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25358 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25359 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25360 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25361 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25362 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25363 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25364 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25365 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25366 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25367 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25368 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25369 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25370 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25371 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25372 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25373 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25374 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25375 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25376 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25377 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25378 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25379 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25380 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25381 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25382 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25383 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25384 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25385 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25386 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25387 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25388 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25389 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25390 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25391 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25392 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25393 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25394 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25395 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25396 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25397 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25398 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25399 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25400 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25401 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25402 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25403 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25404 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25405 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25406 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25407 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25408 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25409 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25410 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25411 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25412 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25413 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25414 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25415 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25416 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25417 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25418 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25419 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25420 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25421 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25422 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25423 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25424 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25425 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25426 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25427 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25428 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25429 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25430 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25431 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25432 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25433 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25434 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25435 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25436 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25437 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25438 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25439 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25440 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25441 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25442 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25443 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25444 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25445 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25446 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25447 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25448 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25449 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25450 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25451 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25452 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25453 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25454 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25455 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25456 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25457 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25458 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25459 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25460 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25462 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25463 _XOPEN_SOURCE_EXTENDED for XPG4.
25465 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25467 * Makeconfig (localtime): Remove variable.
25468 (inst_localtime-file): Likewise.
25470 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25491 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25495 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25496 comparisons to determine direction to adjust input.
25497 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25498 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25503 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25505 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25506 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25508 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25510 * math/libm-test.inc (nexttoward_test): Add more tests.
25512 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25516 in version GLIBC_2.1, not GLIBC_2.0.
25517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25520 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25523 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25525 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25526 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25527 * math/libm-test.inc (acos_test): Add more tests.
25528 (asin_test): Likewise.
25529 * sysdeps/i386/fpu/libm-test-ulps: Update.
25530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25533 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25535 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25536 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25537 * math/libm-test.inc (acos_test_tonearest): New function.
25538 (acos_test_towardzero): Likewise.
25539 (acos_test_downward): Likewise.
25540 (acos_test_upward): Likewise.
25541 (asin_test_tonearest): Likewise.
25542 (asin_test_towardzero): Likewise.
25543 (asin_test_downward): Likewise.
25544 (asin_test_upward): Likewise.
25545 (main): Call the new functions.
25546 * sysdeps/i386/fpu/libm-test-ulps: Update.
25547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25551 * math/e_exp10.c: Include <float.h>.
25552 (__ieee754_exp10): Handle underflow here rather than multiplying
25553 large negative argument by M_LN10.
25554 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25556 * math/e_exp10l.c: Include <float.h>.
25557 (__ieee754_exp10l): Handle underflow here rather than multiplying
25558 large negative argument by M_LN10l.
25559 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25560 spurious overflow exception on underflow.
25562 2012-04-29 Marek Polacek <polacek@redhat.com>
25564 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25565 (__fortify_function): New macro.
25566 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25567 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25568 __extern_always_inline.
25569 * libio/bits/stdio2.h: Likewise.
25570 * libio/bits/stdio.h: Likewise.
25571 * string/string.h: Likewise.
25572 * string/bits/string3.h: Likewise.
25573 * include/stdio.h: Likewise.
25574 * stdlib/bits/stdlib.h: Likewise.
25575 * stdlib/stdlib.h: Likewise.
25576 * rt/bits/mqueue2.h: Likewise.
25577 * rt/mqueue.h: Likewise.
25578 * posix/bits/unistd.h: Likewise.
25579 * posix/unistd.h: Likewise.
25580 * io/bits/poll2.h: Likewise.
25581 * io/bits/fcntl2.h: Likewise.
25582 * io/fcntl.h: Likewise.
25583 * io/sys/poll.h: Likewise.
25584 * misc/bits/syslog.h: Likewise.
25585 * misc/bits/syslog-ldbl.h: Likewise.
25586 * misc/sys/syslog.h: Likewise.
25587 * socket/bits/socket2.h: Likewise.
25588 * socket/sys/socket.h: Likewise.
25589 * debug/tst-chk1.c: Likewise.
25590 * wcsmbs/bits/wchar2.h: Likewise.
25591 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25592 * wcsmbs/wchar.h: Likewise.
25594 2012-04-29 Andreas Jaeger <aj@suse.de>
25596 * Makerules (tests): Remove enable-check-abi protection.
25597 (check-abi-warn): Remove.
25598 (check-abi-%): Remove check-abi-warn usage.
25600 * configure.in: Remove check-abi configure option.
25601 * configure: Regenerated.
25602 * config.make.in (enable-check-abi): Remove.
25604 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25607 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25608 double functions to double *_finite functions.
25611 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25612 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25614 * stdio-common/Makefile (tests): Add tst-sprintf3.
25615 * stdio-common/tst-sprintf3.c: New file.
25617 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25618 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25620 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25622 * conform/conformtest.pl: Remove duplicate typed-constant
25625 2012-04-28 David S. Miller <davem@davemloft.net>
25627 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25628 (check-abi-%): Remove AWK script prerequisite and explicit
25630 (check-abi): Rewrite to just diff the symlist with the abilist.
25631 (config-tls, config-abi-config): Delete, no longer used.
25632 (update-abi-%): Remove AWK script and explicit abilist directory.
25633 (update-abi): Rewrite to simply compare and conditionally copy the
25634 symlist and the sysdep abilist file. Remove update-abi-config
25636 * abilist/ld.abilist: Remove.
25637 * abilist/libBrokenLocale.abilist: Remove.
25638 * abilist/libanl.abilist: Remove.
25639 * abilist/libcrypt.abilist: Remove.
25640 * abilist/libdl.abilist: Remove.
25641 * abilist/librt.abilist: Remove.
25642 * abilist/libthread_db.abilist: Remove.
25643 * abilist/libutil.abilist: Remove.
25644 * scripts/extract-abilist.awk: Remove.
25645 * scripts/merge-abilist.awk: Remove.
25646 * sysdeps/generic/libcidn.abilist: New file.
25647 * sysdeps/generic/libnss_compat.abilist: New file.
25648 * sysdeps/generic/libnss_db.abilist: New file.
25649 * sysdeps/generic/libnss_dns.abilist: New file.
25650 * sysdeps/generic/libnss_files.abilist: New file.
25651 * sysdeps/generic/libnss_hesiod.abilist: New file.
25652 * sysdeps/generic/libnss_nis.abilist: New file.
25653 * sysdeps/generic/libnss_nisplus.abilist: New file.
25654 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25655 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25656 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25659 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25660 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25661 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25662 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25663 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25664 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25665 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25666 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25668 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25669 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25670 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25671 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25673 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25674 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25675 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25676 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25677 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25678 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25680 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25681 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25682 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25684 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25787 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25788 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25789 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25791 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25792 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25793 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25794 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25795 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25796 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25797 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25798 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25799 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25800 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25852 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25854 * conform/conformtest.pl: Fix typo in handling typed-constant from
25857 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25859 * README: Cut down references to pre-2.6 Linux kernels and
25860 Linuxthreads. Update lists of configurations in libc and ports
25861 and sort alphabetically. Say "or newer" with Linux kernel version
25864 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25866 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25869 * math/libm-test.inc (logb_test_downward): New test to expose
25870 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25873 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25876 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25878 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25879 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25881 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25883 * sysdeps/unix/i386/brk.S: Remove file.
25884 * sysdeps/unix/i386/dl-brk.S: Likewise.
25885 * sysdeps/unix/i386/pipe.S: Likewise.
25886 * sysdeps/unix/i386/sigreturn.S: Likewise.
25887 * sysdeps/unix/i386/syscall.S: Likewise.
25888 * sysdeps/unix/i386/vfork.S: Likewise.
25889 * sysdeps/unix/i386/wait.S: Likewise.
25891 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25892 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25894 * configure.in (arm*-none*): Do not allow without
25895 --enable-hacker-mode.
25896 (netbsd*): Remove case setting base_os.
25897 (386bsd*): Likewise.
25898 (freebsd*): Likewise.
25901 (sunos*): Likewise.
25902 (ultrix*): Likewise.
25903 (newsos*): Likewise.
25904 (dynix*): Likewise.
25910 (minix*): Likewise.
25911 (irix4*): Likewise.
25912 (irix6*): Likewise.
25913 (solaris[2-9]*): Likewise.
25915 * configure: Regenerated.
25917 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25920 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25921 overflow or cancellation in calculating denominator.
25922 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25923 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25924 down expression to avoid unexpected rounding in newer GCCs.
25925 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25927 2012-04-26 David S. Miller <davem@davemloft.net>
25929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25930 long-double compat symbols.
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25945 2012-04-25 David S. Miller <davem@davemloft.net>
25947 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25948 HWCAP_* values only after the memory barriers have been defined.
25949 (atomic_full_barrier): Define.
25950 (atomic_read_barrier): Define.
25951 (atomic_write_barrier): Define.
25953 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25955 * shlib-versions: Add libgcc_s version information.
25956 * sysdeps/generic/libgcc_s.h: Remove.
25957 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25959 * sysdeps/gnu/unwind-resume.c: Likewise.
25960 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25962 2012-04-25 David S. Miller <davem@davemloft.net>
25964 * sysdeps/unix/sparc/brk.S: Delete.
25965 * sysdeps/unix/sparc/dl-brk.S: Delete.
25966 * sysdeps/unix/sparc/pipe.S: Delete.
25967 * sysdeps/unix/sparc/sysdep.S: Delete.
25968 * sysdeps/unix/sparc/sysdep.h: Delete.
25969 * sysdeps/unix/sparc/vfork.S: Delete.
25970 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25971 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25972 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25973 ret_ERRVAL, r0, r1, MOVE): Define.
25974 (JUMPTARGET): Remove.
25975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25976 sysdeps/unix/sparc/sysdep.h
25977 (ENTRY, END): Remove.
25978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25980 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25982 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25983 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25986 * timezone/README: Update upstream location and email address for
25988 * timezone/zdump.c: Update from tzcode 2012b.
25989 * timezone/zic.c: Likewise.
25991 * configure.in (libc_cv_as_needed): Remove test.
25992 * configure: Regenerated.
25993 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25994 conditional definition.
25995 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25996 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25997 * config.make.in (have-as-needed): Remove variable.
25999 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26000 Paul Pluzhnikov <ppluzhnikov@google.com>
26002 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26005 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26007 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26008 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26009 * sysdeps/sh/strlen.S: Likewise.
26011 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26013 * sysdeps/unix/fork.S: Remove file.
26014 * sysdeps/unix/i386/fork.S: Likewise.
26015 * sysdeps/unix/sparc/fork.S: Likewise.
26017 * sysdeps/unix/system.c: Remove file.
26018 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26020 * sysdeps/unix/getegid.S: Remove file.
26021 * sysdeps/unix/geteuid.S: Likewise.
26023 2012-04-24 Roland McGrath <roland@hack.frob.com>
26025 * scripts/check-localplt.awk: New file.
26026 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26028 * scripts/data/localplt-generic.data: Add a comment.
26030 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26031 NODE when __dir_mkfile failed.
26032 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26033 Reported by Ludovic Courtès <ludo@gnu.org>.
26035 2012-04-24 Andreas Jaeger <aj@suse.de>
26037 * Makerules (common-clean): Also remove gen-as-const-headers
26040 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26042 * Makerules (native-compile): Do not change working directory for
26043 build. Use $(OUTPUT_OPTION) in command.
26044 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26046 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26049 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26050 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26051 * math/libm-test.inc (floor_test): Add more tests.
26052 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26054 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26056 * sysdeps/unix/getdents.c: Remove file.
26057 * sysdeps/unix/sysv/getdents.c: Likewise.
26058 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26060 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26061 sysdeps/unix/mman/syscalls.list.
26063 (mprotect): Likewise.
26065 (munmap): Likewise.
26066 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26067 * sysdeps/unix/mman/syscalls.list: Remove.
26068 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26070 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26071 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26072 * configure: Regenerated.
26073 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26074 $(libgcc_s_suffix).
26075 * config.make.in (libgcc_s_suffix): Remove variable.
26077 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26079 * sysdeps/unix/sysv/gethostname.c: Move to ...
26080 * sysdeps/posix/gethostname.c: ... here.
26082 * sysdeps/unix/execve.S: Remove file.
26084 * sysdeps/unix/_exit.S: Remove file.
26086 2012-04-23 Andreas Jaeger <aj@suse.de>
26089 * manual/Makefile: Remove make dist support, there's no
26090 need for a stand-alone documentation tar ball.
26091 (TEXI2DVI): Define always, it's not in Makeconfig.
26094 (edition): Removed.
26095 (glibc-doc-$(edition).tar): Removed
26099 (ETAGS): Remove, it's in Makeconfig.
26100 (move-if-change): Remove, it's in Makeconfig.
26102 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26105 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26106 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26107 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26108 (strtod_l, strtof_l, strtold_l): Remove __wur.
26109 It is not necessarily an error to ignore strtol's return value.
26110 One can reliably look at the stored endptr to decide whether
26111 the number had valid syntax.
26113 2012-04-21 Andreas Jaeger <aj@suse.de>
26116 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26118 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26120 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26121 * sysdeps/unix/sysv/Versions: Remove file.
26123 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26128 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26131 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26132 version from __vm86.
26134 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26136 * sysdeps/unix/common/lxstat.c: Remove file.
26137 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26139 * sysdeps/unix/sysv/Makefile: Remove file.
26141 * sysdeps/unix/sysv/direct.h: Remove file.
26143 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26144 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26145 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26146 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26147 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26148 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26149 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26151 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26153 * sysdeps/unix/xmknod.c: Remove file.
26154 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26156 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26158 * sysdeps/unix/sysv/i386/time.S: Remove file.
26160 * sysdeps/unix/fxstat.c: Remove file.
26161 * sysdeps/unix/xstat.c: Likewise.
26162 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26164 * sysdeps/unix/sysv/sigaction.c: Remove file.
26166 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26167 (sysdep_headers): Remove variable.
26168 [termio.h not in sysdep_headers] (generated): Likewise.
26169 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26170 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26171 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26172 * sysdeps/unix/sysv/tcflow.c: Likewise.
26173 * sysdeps/unix/sysv/tcflush.c: Likewise.
26174 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26175 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26176 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26177 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26178 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26180 * sysdeps/unix/siglist.c: Remove file.
26182 * sysdeps/unix/getppid.S: Remove file.
26184 * sysdeps/unix/mkdir.c: Remove file.
26185 * sysdeps/unix/rmdir.c: Likewise.
26187 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26189 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26191 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26192 errlist-compat value.
26194 2012-04-18 David S. Miller <davem@davemloft.net>
26196 * sysdeps/generic/memcopy.h (reg_char): Delete.
26197 * debug/strcat_chk.c: Use char, not reg_char.
26198 * debug/strcpy_chk.c: Likewise.
26199 * debug/strncat_chk.c: Likewise.
26200 * debug/strncpy_chk.c: Likewise.
26201 * string/memchr.c: Likewise.
26202 * string/memrchr.c: Likewise.
26203 * string/rawmemchr.c: Likewise.
26204 * string/strcat.c: Likewise.
26205 * string/strchr.c: Likewise.
26206 * string/strchrnul.c: Likewise.
26207 * string/strcmp.c: Likewise.
26208 * string/strcpy.c: Likewise.
26209 * string/strncat.c: Likewise.
26210 * string/strncmp.c: Likewise.
26211 * string/strncpy.c: Likewise.
26213 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26215 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26216 __builtin_memcopy is called when src and dest ranges are known to not
26219 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26221 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26222 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26223 fwd_align_merge macro call.
26224 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26225 bwd_align_merge macro call.
26226 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26228 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26230 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26231 bwd_align_merge macros.
26232 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26233 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26234 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26236 2012-04-18 David S. Miller <davem@davemloft.net>
26238 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26240 2012-04-18 Andreas Jaeger <aj@suse.de>
26243 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26244 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26245 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26247 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26248 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26249 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26251 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26252 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26253 Adjust for changed ldbl-128 files.
26255 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26256 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26257 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26259 2012-04-17 David S. Miller <davem@davemloft.net>
26261 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26263 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26265 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26266 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26267 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26268 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26269 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26270 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26272 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26275 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26276 * math/libm-test.inc: Add ilogb errno and exception tests.
26277 * math/w_ilogb.c: New file: ilogb wrapper.
26278 * math/w_ilogbf.c: New file: ilogbf wrapper.
26279 * math/w_ilogbl.c: New file: ilogbl wrapper.
26280 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26281 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26282 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26283 exception being thrown with 0.0 as argument.
26284 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26285 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26286 exception being thrown with 0.0 as argument.
26287 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26288 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26289 exception being thrown with 0.0 as argument.
26290 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26291 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26292 exception being thrown with 0.0 as argument.
26293 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26294 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26296 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26297 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26298 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26299 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26300 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26301 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26303 2012-04-17 Petr Baudis <pasky@ucw.cz>
26305 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26308 2012-04-16 Marek Polacek <polacek@redhat.com>
26310 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26312 2012-04-16 Marek Polacek <polacek@redhat.com>
26314 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26315 operands of fdivp instruction.
26317 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26319 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26320 * elf/tst-auditmod3b.c: Likewise.
26321 * elf/tst-auditmod4b.c: Likewise.
26322 * elf/tst-auditmod5b.c: Likewise.
26323 * elf/tst-auditmod6b.c: Likewise.
26324 * elf/tst-auditmod6c.c: Likewise.
26325 * elf/tst-auditmod7b.c: Likewise.
26326 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26327 * sysdeps/x86_64/preconfigure.in: Likewise.
26328 * sysdeps/x86_64/preconfigure: Regenerated.
26330 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26332 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26335 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26338 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26340 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26343 * locale/iso-639.def: Fix gl language name. Spotted by
26346 2012-04-12 Roland McGrath <roland@hack.frob.com>
26349 * libio/libio.h (__io_write_fn): Update comment.
26351 2012-04-12 Petr Baudis <pasky@ucw.cz>
26354 * stdio.texi (Hook Functions): The user provided writer function
26355 is not allowed to return -1.
26357 2012-04-11 David S. Miller <davem@davemloft.net>
26359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26361 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26363 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26364 Add a leading slash to rtkaio.
26366 2012-04-11 Jim Meyering <meyering@redhat.com>
26369 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26370 It is not necessarily an error to ignore fwrite's return
26371 value. One can reliably use ferror to test for errors after
26374 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26376 * bits/types.h (__snseconds_t): New type.
26377 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26379 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26381 (__SNSECONDS_T_TYPE): Likewise.
26382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26383 (__SNSECONDS_T_TYPE): Likewise.
26384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26385 (__SNSECONDS_T_TYPE): Likewise.
26387 2012-04-10 Andreas Jaeger <aj@suse.de>
26390 * manual/time.texi (Processor Time): Return type of times is
26391 elapsed real time since an arbitrary point in the past.
26392 (CPU Time): Move CLK_TCK from here...
26393 (Processor Time): ...to here. Correct description.
26394 * manual/conf.texi (Constants for Sysconf): Correct description of
26397 2012-04-10 David S. Miller <davem@davemloft.net>
26400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26401 where the is a gap between DT_REL(A) and DT_JMPREL.
26403 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26405 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26406 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26407 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26409 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26411 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26412 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26413 (dl_main): Handle --inhibit-cache.
26414 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26416 * elf/dl-load.c (_dl_map_object): Use it.
26417 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26419 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26422 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26423 (__ieee754_powl): Saturate large exponents rather than testing for
26424 overflow of y*log2(x).
26425 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26426 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26430 * math/s_ctan.c: Include <float.h>.
26431 (__ctan): Avoid internal overflow or cancellation in calculating
26433 * math/s_ctanf.c: Likewise.
26434 * math/s_ctanl.c: Likewise.
26435 * math/s_ctanh.c: Likewise.
26436 * math/s_ctanhf.c: Likewise.
26437 * math/s_ctanhl.c: Likewise.
26438 * math/libm-test.inc (ctan_test): Add more tests.
26439 (ctanh_test): Likewise.
26440 * sysdeps/i386/fpu/libm-test-ulps: Update.
26441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26443 2012-04-09 Andreas Jaeger <aj@suse.de>
26446 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26447 is an optional BSD extension.
26450 * manual/stdio.texi (Opening Streams): Document additional fopen
26453 2012-04-09 Roland McGrath <roland@hack.frob.com>
26455 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26456 %eax without telling the compiler.
26458 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26461 * manual/install.texi: Use sourceware.org.
26463 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26466 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26467 (__ieee754_pow): Generate overflow and underflow using huge*huge
26468 and tiny*tiny rather than just returning constant infinity or zero
26469 for large exponents.
26470 * math/libm-test.inc (pow_test): Require overflow exceptions for
26471 applicable cases of large exponents.
26474 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26475 (__ieee754_pow): Use iterative multiplication algorithm only for
26476 integer exponents with absolute value below 1024. Check for odd
26477 integer exponents when using algorithm for real exponents.
26478 * math/libm-test.inc (pow_test): Add more tests.
26479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26481 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26484 * math/libm-test.inc (exp_test): Do not allow overflow exception
26487 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26490 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26491 instead of __kernel_standard_f.
26493 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26495 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26496 * sysdeps/x86_64/memset_chk.S: Likewise.
26498 2012-04-08 Andreas Jaeger <aj@suse.de>
26501 * manual/startup.texi (Environment Access): Describe return value
26502 for putenv and setenv.
26505 * manual/filesys.texi (Directory Entries): Add description for
26509 * manual/filesys.texi (Directory Entries): Clarify that it's file
26510 system not operating system in the description of DT_UNKNOWN.
26513 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26515 2012-04-08 Stephen Compall <s11@member.fsf.org>
26518 * manual/llio.texi (Opening and Closing Files): Add cross
26519 reference to explain mode argument.
26521 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26523 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26524 * sysdeps/x86_64/memset_chk.S: Likewise.
26526 2012-04-07 David S. Miller <davem@davemloft.net>
26528 * elf/elf.h (R_SPARC_WDISP10): Define.
26529 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26531 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26532 R_SPARC_SIZE64 and R_SPARC_H34.
26534 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26537 conditions and remove no longer applicable assertion.
26539 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26541 * bits/byteswap.h: Include <features.h>.
26542 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26543 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26545 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26547 * bits/byteswap.h (__bswap_16): Removed.
26548 Include <bits/byteswap-16.h> to get __bswap_16.
26549 * sysdeps/i386/bits/byteswap.h: Likewise.
26550 * sysdeps/s390/bits/byteswap.h: Likewise.
26551 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26552 * bits/byteswap-16.h: New file.
26553 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26554 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26555 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26556 * string/Makefile (headers): Add bits/byteswap-16.h.
26558 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26561 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26563 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26564 * nss/tst-nss-static.c: New.
26566 2012-04-06 Robert Millan <rmh@gnu.org>
26569 * manual/llio.texi (File Position Primitive): lseek
26570 refers to WHENCE when it really means OFFSET.
26572 2012-04-06 Andreas Jaeger <aj@suse.de>
26574 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26575 strncmp declarations.
26577 * abilist/libc.abilist: Add __poll and __ppoll.
26579 2012-04-05 David S. Miller <davem@davemloft.net>
26581 * scripts/check-local-headers.sh: Accept a host triplet in the
26582 path matched by the exclude regexp.
26584 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26586 * sysdeps/powerpc/powerpc32/dl-machine.h
26587 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26588 * sysdeps/s390/s390-32/dl-machine.h
26589 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26590 * sysdeps/sparc/sparc32/dl-machine.h
26591 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26592 * sysdeps/sparc/sparc64/dl-machine.h
26593 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26595 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26597 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26598 undefined symbol errors.
26600 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26603 2012-04-05 Michael Matz <matz@suse.de>
26606 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26608 2012-04-05 Andreas Jaeger <aj@suse.de>
26611 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26614 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26616 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26617 which ROUND is no valid rounding mode.
26619 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26621 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26623 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26625 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26627 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26628 an exception using FPU order intentionally.
26630 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26632 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26633 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26634 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26635 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26637 2012-04-05 Simon Josefsson <simon@josefsson.org>
26640 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26641 EINVAL when BUFLEN is too smal.
26643 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26646 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26647 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26649 2012-04-03 Andreas Jaeger <aj@suse.de>
26652 * manual/setjmp.texi (System V contexts): Fix sentence.
26655 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26656 New macro for this case.
26657 [!__GNUC__] (__bswap_64): New inline function for this case.
26658 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26659 * bits/byteswap.h: Likewise.
26660 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26661 ull, guard with __GLIBC_HAVE_LONG_LONG.
26663 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26664 __GLIBC_HAVE_LONG_LONG.
26666 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26667 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26669 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26672 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26673 inptr and inend, rather than using last_ch.
26675 2012-04-02 David S. Miller <davem@davemloft.net>
26677 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26678 * stdio-common/printf-parse.h (read_int): Change return type to
26679 'int', return -1 on INT_MAX overflow.
26680 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26681 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26682 overflows INT_MAX. Check for overflow of in-format-string precision
26683 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26684 SIZE_MAX not INT_MAX for integer overflow test.
26685 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26686 skip the construct in the format string but do not record anything.
26687 * stdio-common/bug22.c: Adjust to test both width/prevision
26688 INT_MAX overflow as well as total length INT_MAX overflow. Check
26689 explicitly for proper errno values.
26691 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26693 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26695 * string/test-strcmp.c [! WIDE]: Likewise.
26696 * time/tst-mktime2.c: Likewise for INT_MAX.
26697 * string/test-string.h: #include <sys/param.h> for MIN.
26699 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26700 * sysdeps/i386/init-first.c (init): Likewise.
26701 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26702 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26703 * sysdeps/sh/init-first.c (init): Likewise.
26705 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26707 * po/ru.po: Update from translation team.
26708 * po/vi.po: Likewise.
26710 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26712 * resolv/nss_dns/dns-host.c: Merge copyright years.
26714 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26716 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26717 Optimize memcpy with prefetch if
26718 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26719 src, dst pointers have unequal 16 byte alignments.
26721 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26724 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26725 from a CNAME entry and return the minimum ttl for the query.
26726 (gaih_getanswer_slice): Likewise.
26728 2012-03-30 Jeff Law <law@redhat.com>
26730 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26732 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26733 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26735 * resolv/nss_dns/dns-host.c: Update copyright year.
26737 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26739 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26740 requests to save a system call. Fix check that all bytes are sent.
26742 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26743 comments for sendmmsg.
26745 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26748 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26749 with only 1 character between 0x0041 and 0x01b0.
26750 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26751 * wcsmbs/tst-mbsnrtowcs.c: New file.
26753 2012-03-29 David S. Miller <davem@davemloft.net>
26755 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26756 small copies by hand.
26758 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26761 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26762 _nss_compat_initgroups_dyn): Fall back to malloc/free
26763 for large group memberships.
26765 2012-03-28 David S. Miller <davem@davemloft.net>
26767 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26768 that branches into memcpy.
26769 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26770 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26772 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26775 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26776 implementation too.
26777 * sysdeps/sparc/mempcpy.S: New file.
26779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26780 the IFUNC routine in the libc case.
26781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26783 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26784 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26785 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26786 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26787 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26788 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26789 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26790 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26792 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26793 loop to 256 bytes instead of 64 bytes and fix test signedness.
26795 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26796 * sysdeps/sparc/sparc32/Makefile: rather than here...
26797 * sysdeps/sparc/sparc64/Makefile: and here.
26799 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26801 * malloc/mallocbug.c: Avoid warnings about unused variables.
26803 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26806 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26807 in the right place. Discard and retry query if response is
26808 larger than input buffer size.
26810 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26815 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26816 x for large integer exponent.
26817 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26818 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26819 sign of result as needed afterwards.
26820 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26821 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26822 result for underflowing pow the same as for overflow.
26823 (__kernel_standard_l): Handle powl overflow and underflow here
26824 rather than calling __kernel_standard.
26825 * math/libm-test.inc (pow_test): Add more tests.
26840 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26841 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26842 (__kernel_standard_l): New function.
26843 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26845 * math/w_acosl.c (__acosl): Likewise.
26846 * math/w_asinl.c (__asinl): Likewise.
26847 * math/w_atan2l.c (__atan2l): Likewise.
26848 * math/w_atanhl.c (__atanhl): Likewise.
26849 * math/w_coshl.c (__coshl): Likewise.
26850 * math/w_exp10l.c (__exp10l): Likewise.
26851 * math/w_exp2l.c (__exp2l): Likewise.
26852 * math/w_fmodl.c (__fmodl): Likewise.
26853 * math/w_hypotl.c (__hypotl): Likewise.
26854 * math/w_j0l.c (__j0l, __y0l): Likewise.
26855 * math/w_j1l.c (__j1l, __y1l): Likewise.
26856 * math/w_jnl.c (__jnl, __ynl): Likewise.
26857 * math/w_lgammal.c (__lgammal): Likewise.
26858 * math/w_log10l.c (__log10l): Likewise.
26859 * math/w_log2l.c (__log2l): Likewise.
26860 * math/w_logl.c (__logl): Likewise.
26861 * math/w_powl.c (__powl): Likewise.
26862 * math/w_remainderl.c (__remainderl): Likewise.
26863 * math/w_scalbl.c (sysv_scalbl): Likewise.
26864 * math/w_sinhl.c (__sinhl): Likewise.
26865 * math/w_sqrtl.c (__sqrtl): Likewise.
26866 * math/w_tgammal.c (__tgammal): Likewise.
26867 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26868 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26869 * math/libm-test.inc (acos_test): Add more tests.
26870 (acosh_test): Likewise.
26871 (asin_test): Likewise.
26872 (atanh_test): Likewise.
26873 (exp_test): Likewise.
26874 (exp10_test): Likewise.
26875 (exp2_test): Likewise.
26876 (expm1_test): Likewise.
26877 (lgamma_test): Likewise.
26878 (log_test): Likewise.
26879 (log10_test): Likewise.
26880 (log1p_test): Likewise.
26881 (log2_test): Likewise.
26882 (pow_test): Do not allow some spurious overflow exceptions.
26883 (sqrt_test): Add more tests.
26884 (tgamma_test): Likewise.
26885 (y0_test): Likewise.
26886 (y1_test): Likewise.
26887 (yn_test): Likewise.
26889 2012-03-27 Anton Blanchard <anton@samba.org>
26891 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26893 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26894 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26895 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26897 2012-03-27 David S. Miller <davem@davemloft.net>
26899 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26901 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26902 have-as-vis3 check.
26904 2012-03-27 Andreas Jaeger <aj@suse.de>
26906 * sysdeps/x86_64/elf/configure.in: Moved to ...
26907 * sysdeps/x86_64/configure.in: ... here.
26908 * sysdeps/x86_64/elf/start.S: Moved to ...
26909 * sysdeps/x86_64/start.S: ... here.
26910 * sysdeps/x86_64/elf/configure: Delete.
26912 * sysdeps/x86_64/configure.in: Merge contents from
26913 sysdeps/i386/configure.in (without i686 check).
26915 * sysdeps/i386/elf/Versions: Merge into ...
26916 * sysdeps/i386/Versions: ... this.
26917 * sysdeps/i386/elf/Versions: Delete file.
26918 * sysdeps/i386/elf/start.S: Moved to ...
26919 * sysdeps/i386/start.S: ...here.
26920 * sysdeps/i386/elf/configure.in: Merge into...
26921 * sysdeps/i386/configure.in: ...here.
26922 * sysdeps/i386/elf/configure.in: Delete file.
26923 * sysdeps/i386/elf/configure: Delete file.
26925 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26926 * debug/backtracesyms.c: ... here.
26927 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26928 * debug/backtracesymsfd.c: ... here.
26929 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26930 * sysdeps/generic/ifunc-sel.h: ... here.
26932 * sysdeps/unix/i386/start.c: Delete file.
26933 * sysdeps/unix/sparc/start.c: Delete file.
26934 * sysdeps/unix/start.c: Delete file.
26936 * sysdeps/sh/elf/configure.in: Moved to ...
26937 * sysdeps/sh/configure.in: ... here.
26938 * sysdeps/sh/elf/start.S: Moved to ...
26939 * sysdeps/sh/start.S: ... here.
26940 * sysdeps/sh/elf/configure: Delete file.
26942 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26943 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26944 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26945 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26946 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26947 * sysdeps/powerpc/powerpc64/start.S: here.
26948 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26949 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26950 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26951 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26952 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26954 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26955 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26956 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26957 * sysdeps/powerpc/powerpc32/start.S: ... here.
26958 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26959 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26960 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26962 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26963 * sysdeps/powerpc/ifunc-sel.h: ... here.
26964 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26965 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26967 * sysdeps/sparc/elf/configure.in: Moved to ...
26968 * sysdeps/sparc/configure.in: ... here.
26969 * sysdeps/sparc/elf/configure: Delete file.
26970 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26971 * sysdeps/sparc/sparc32/start.S: ... here.
26972 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26973 * sysdeps/sparc/sparc64/start.S: ... here.
26974 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26975 * sysdeps/sparc/sparc32/Makefile: ... this.
26976 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26977 * sysdeps/sparc/sparc64/Makefile: ... this.
26979 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26980 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26981 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26982 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26983 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26984 * sysdeps/s390/s390-32/setjmp.S: ... here.
26985 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26986 * sysdeps/s390/s390-32/configure.in: ... here.
26987 * sysdeps/s390/s390-32/elf/configure: Delete file.
26988 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26989 * sysdeps/s390/s390-32/start.S: ... here.
26991 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26992 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26993 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26994 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26995 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26996 * sysdeps/s390/s390-64/setjmp.S: ... here.
26997 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26998 * sysdeps/s390/s390-64/configure.in: ... here
26999 * sysdeps/s390/s390-64/elf/configure: Delete file.
27000 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27001 * sysdeps/s390/s390-64/start.S: ... here.
27002 * sysdeps/s390/s390-64/elf/configure: Delete.
27004 * configure.in: Remove support for elf directories in sysdeps.
27006 * configure: Regenerated.
27007 * sysdeps/i386/configure: Regenerated.
27008 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27009 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27010 * sysdeps/s390/s390-32/configure: Regenerated.
27011 * sysdeps/s390/s390-64/configure: Regenerated.
27012 * sysdeps/sh/configure: Regenerated.
27013 * sysdeps/sparc/configure: Regenerated.
27014 * sysdeps/x86_64/configure: Regenerated.
27016 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27021 denormal result into account.
27023 2012-03-25 Roland McGrath <roland@hack.frob.com>
27025 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27026 Reported by Allan McRae <allan@archlinux.org>.
27028 2012-03-23 Jeff Law <law@redhat.com>
27030 * nss/getnssent.c (__nss_getent): Fix typo.
27032 2012-03-23 David S. Miller <davem@davemloft.net>
27034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27036 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27038 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27039 to pad to uint64_t for each field.
27040 (dl_tls_index): Replace unsigned long with uint64_t.
27042 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27043 Paul Pluzhnikov <ppluzhnikov@google.com>
27046 * grp/Makefile (otherlibs): Don't set it.
27047 * inet/Makefile (otherlibs): Likewise.
27048 * login/Makefile (otherlibs): Likewise.
27049 * nscd/Makefile (otherlibs): Likewise.
27050 * posix/Makefile (otherlibs): Likewise.
27051 * pwd/Makefile (otherlibs): Likewise.
27052 * rt/Makefile (otherlibs): Likewise.
27053 * sunrpc/Makefile (otherlibs): Likewise.
27054 * nss/Makefile (otherlibs): Likewise.
27055 Add libnss_files to routines and static-only-routines.
27056 ($(objpfx)getent): Remove rule.
27057 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27058 static-only-routines.
27060 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27063 * math/s_cexp.c: Include <float.h>.
27064 (__cexp): Handle exp result overflowing not necessarily
27065 overflowing both real and imaginary parts of result.
27066 * math/s_cexpf.c: Likewise.
27067 * math/s_cexpl.c: Likewise.
27068 * math/libm-test.inc (cexp_test): Add more tests.
27069 * sysdeps/i386/fpu/libm-test-ulps: Update.
27070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27072 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27074 * include/link.h (ELFW): New macro.
27075 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27076 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27078 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27080 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27083 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27085 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27087 (struct La_x32_retval): Likewise.
27089 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27091 * sysdeps/x86_64/preconfigure.in: New file.
27092 * sysdeps/x86_64/preconfigure: New generated file.
27094 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27097 * math/e_exp2l.c: Include <float.h>.
27098 (__ieee754_exp2l): Handle overflow and underflow cases
27099 separately. Only pass fractional part of argument to
27101 * math/libm-test.inc (exp2_test): Add more tests.
27103 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27104 negating x to take absolute value.
27105 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27107 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27108 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27110 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27111 computing low part if x was negated.
27112 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27114 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27116 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27117 la_x32_gnu_pltexit.
27118 (pltexit): Cast int_retval to ptrdiff_t.
27119 * elf/tst-auditmod3b.c: Likewise.
27120 * elf/tst-auditmod4b.c: Likewise.
27121 * elf/tst-auditmod5b.c: Likewise.
27122 * elf/tst-auditmod6b.c: Likewise.
27123 * elf/tst-auditmod6c.c: Likewise.
27124 * elf/tst-auditmod7b.c: Likewise.
27126 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27127 and x32_gnu_pltexit.
27129 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27130 __ELF_NATIVE_CLASS.
27131 (La_x32_regs): New macro.
27132 (La_x32_retval): Likewise.
27133 (la_x32_gnu_pltenter): New function prototype.
27134 (la_x32_gnu_pltexit): Likewise.
27136 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27138 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27143 * configure.in (libc_cv_cc_nofma): Check for option to disable
27144 generation of FMA instructions.
27145 * configure: Regenerate.
27146 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27147 * sysdeps/ieee754/dbl-64/Makefile: New file.
27148 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27149 Remove brandred-fma4.
27150 (CFLAGS-brandred-fma4.c): Remove.
27151 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27154 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27157 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27159 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27160 LLONG_MAX != LONG_MAX.
27161 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27162 (_fitoa_word): Likewise.
27163 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27164 LLONG_MAX != LONG_MAX.
27165 * stdio-common/_itowa.h: Include <_itoa.h>.
27166 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27167 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27168 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27169 only if not defined.
27170 (_ITOA_WORD_TYPE): Likewise.
27171 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27172 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27174 2012-03-21 David S. Miller <davem@davemloft.net>
27176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27178 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27180 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27181 of x86_64 when setting libc_cv_slibdir, libdir and
27183 * sysdeps/unix/sysv/linux/configure: Regenerated.
27185 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27187 * manual/lang.texi (Old Varargs): Remove section.
27188 (How Variadic): Update menu.
27189 (va_start): Do not mention varargs.h.
27191 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27192 Joseph Myers <joseph@codesourcery.com>
27194 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27196 * configure: Regenerated.
27198 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27200 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27201 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27204 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27207 * Makefile (files-for-dist): Remove NOTES.
27208 (NOTES): Remove rule.
27209 * README: Don't refer to NOTES.
27210 * manual/creature.texi: Don't include macros.texi.
27211 * manual/intro.texi (creature.texi): Remove comment referring to
27214 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27215 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27216 * configure: Regenerated.
27217 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27218 LIBC_TRY_CC_OPTION.
27219 (libc_cv_as_i686): Likewise.
27220 (libc_cv_cc_avx): Likewise.
27221 (libc_cv_cc_sse2avx): Likewise.
27222 (libc_cv_cc_fma4): Likewise.
27223 (libc_cv_cc_novzeroupper): Likewise.
27224 * sysdeps/i386/configure: Regenerated.
27227 * sysdeps/i386/fpu/s_cexp.S: Remove.
27228 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27229 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27230 * math/libm-test.inc (cexp_test): Add more tests.
27231 * sysdeps/i386/fpu/libm-test-ulps: Update.
27232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27234 2012-03-21 Allan McRae <allan@archlinux.org>
27236 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27238 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27241 * math/w_exp2.c: Do not include <float.h>.
27242 (o_threshold, u_threshold): Remove.
27243 (__exp2): Calculate result before checking finiteness and calling
27245 * math/w_exp2f.c: Likewise.
27246 * math/w_exp2l.c: Likewise.
27247 * math/libm-test.inc (exp2_test): Require overflow exception for
27251 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27252 range of signed 64-bit integers before using fistpll. Remove
27253 checks for whether integers fit in mantissa bits.
27254 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27255 the range of signed 32-bit integers before using fistpl. Remove
27256 checks for whether integers fit in mantissa bits.
27257 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27258 (__ieee754_powl): Test for y outside the range of signed 64-bit
27259 integers before using fistpll. Reduce 64-bit values to 63-bit
27261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27262 divide-by-zero is raised for zero to large negative powers.
27263 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27264 (__ieee754_powl): Test for y outside the range of signed 64-bit
27265 integers before using fistpll. Reduce 64-bit values to 63-bit
27267 * math/libm-test.inc (pow_test): Add more tests.
27269 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27271 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27272 <stdio-common/_itoa.h>.
27273 * debug/segfault.c: Likewise.
27274 * elf/dl-cache.c: Likewise.
27275 * elf/dl-minimal.c: Likewise.
27276 * elf/dl-misc.c: Likewise.
27277 * elf/dl-sysdep.c: Likewise.
27278 * elf/dl-version.c: Likewise.
27279 * elf/rtld.c: Likewise.
27280 * hurd/hurdsock.c: Likewise.
27281 * hurd/lookup-retry.c: Likewise.
27282 * malloc/malloc.c: Likewise.
27283 * malloc/mtrace.c: Likewise.
27284 * nscd/nscd_getgr_r.c: Likewise.
27285 * nscd/nscd_getpw_r.c: Likewise.
27286 * nscd/nscd_getserv_r.c: Likewise.
27287 * posix/getopt_init.c: Likewise.
27288 * posix/wordexp.c: Likewise.
27289 * stdio-common/_itoa.c: Likewise.
27290 * stdio-common/printf_fphex.c: Likewise.
27291 * stdio-common/vfprintf.c: Likewise.
27292 * string/_strerror.c: Likewise.
27293 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27294 * sysdeps/i386/i686/hp-timing.h: Likewise.
27295 * sysdeps/mach/_strerror.c: Likewise.
27296 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27297 * sysdeps/mach/hurd/sethostid.c: Likewise.
27298 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27299 * sysdeps/mach/xpg-strerror.c: Likewise.
27300 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27301 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27302 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27303 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27304 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27305 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27306 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27307 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27308 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27309 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27310 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27311 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27312 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27313 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27314 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27315 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27316 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27317 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27318 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27319 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27320 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27322 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27324 * stdio-common/_itoa.h: Moved to ...
27325 * sysdeps/generic/_itoa.h: Here.
27327 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27329 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27330 instead of "_itoa.h" and "_itowa.h".
27331 * stdio-common/vfprintf.: Likewise.
27333 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27335 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27337 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27338 (__signbit): Likwise.
27339 (llrintf): Likwise.
27342 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27344 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27347 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27349 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27350 OVERFLOW_EXCEPTION_OK.
27351 * math/libm-test.inc ("Philosophy"): Update comment about
27353 (OVERFLOW_EXCEPTION): Define.
27354 (OVERFLOW_EXCEPTION_OK): Likewise.
27355 (INVALID_EXCEPTION_OK): Renumber.
27356 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27357 (IGNORE_ZERO_INF_SIGN): Likewise.
27358 (test_exceptions): Handle FE_OVERFLOW.
27359 (exp10_test): Expect overflow exceptions.
27360 (exp2_test): Likewise.
27361 (expm1_test): Likewise.
27362 (nextafter_test): Likewise.
27363 (pow_test): Likewise.
27364 (scalbn_test): Likewise.
27365 (scalbln_test): Likewise.
27367 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27369 * sysdeps/x86_64/bits/atomic.h
27370 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27372 (atomic_exchange_acq): Likewise.
27373 (__arch_exchange_and_add_body): Likewise.
27374 (__arch_add_body): Likewise.
27375 (atomic_add_negative): Likewise.
27376 (atomic_add_zero): Likewise.
27378 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27380 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27381 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27383 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27385 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27386 Check __x86_64__ instead of __WORDSIZE.
27388 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27390 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27392 2012-03-19 David S. Miller <davem@davemloft.net>
27394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27396 * sysdeps/sparc/fpu/fenv_private.h: New file.
27397 * sysdeps/sparc/fpu/math_private.h: Use it.
27398 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27400 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27401 (libc_feholdexcept_setroundl): Remove.
27402 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27404 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27405 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27407 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27409 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27410 int64_t instead of long int.
27411 (INSERT_WORDS64): Likwise.
27413 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27415 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27416 _Unwind_GetCFA return to _Unwind_Ptr first.
27418 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27421 * math/s_clog.c: Include <float.h>.
27422 (__clog): Scale large or subnormal inputs.
27423 * math/s_clogf.c: Likewise.
27424 * math/s_clogl.c: Likewise.
27425 * math/s_clog10.c: Include <float.h>.
27426 (M_LOG10_2): Define.
27427 (__clog10): Scale large or subnormal inputs.
27428 * math/s_clog10f.c: Likewise.
27429 * math/s_clog10l.c: Likewise.
27430 * math/libm-test.inc (clog_test): Add more tests.
27431 (clog10_test): Likewise.
27432 * sysdeps/i386/fpu/libm-test-ulps: Update.
27433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27436 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27438 * math/libm-test.inc (atan2_test): Add another test.
27440 * Makerules (common-objdir-compile): Remove.
27441 * sysdeps/unix/Makefile (config-generated): Do not add
27442 $(unix-generated) to variable.
27443 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27444 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27446 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27448 [generic bits/local_lim.h] (before-compile): Do not append to
27450 [generic bits/local_lim.h] (common-generated): Likewise.
27451 [generic sys/param.h] (before-compile): Do not append to variable.
27452 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27453 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27454 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27455 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27457 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27458 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27459 [generic sys/param.h] ($(addprefix
27460 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27461 [generic sys/param.h] (common-generated): Do not append to
27463 [generic sys/param.h] (sysdep_headers): Likewise.
27464 [generic bits/errno.h] (before-compile): Do not append to
27466 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27468 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27469 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27470 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27471 [generic bits/errno.h] (common-generated): Do not append to
27473 [generic bits/ioctls.h] (before-compile): Do not append to
27475 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27477 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27478 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27479 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27481 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27482 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27483 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27484 [generic bits/ioctls.h] (common-generated): Do not append to
27486 [generic sys/syscall.h] (syscall.h): Remove variable.
27487 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27489 [generic sys/syscall.h] (before-compile): Do not append to
27491 [generic sys/syscall.h] (common-generated): Likewise.
27492 * sysdeps/unix/errnos-tmpl.c: Remove file.
27493 * sysdeps/unix/errnos.awk: Likewise.
27494 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27495 * sysdeps/unix/ioctls.awk: Likewise.
27496 * sysdeps/unix/mk-local_lim.c: Likewise.
27497 * sysdeps/unix/snarf-ioctls: Likewise.
27499 2012-03-19 Richard Henderson <rth@twiddle.net>
27501 * sysdeps/i386/fpu/fenv_private.h: New file.
27502 * sysdeps/i386/fpu/math_private.h: Use it.
27503 (math_opt_barrier, math_force_eval): Remove.
27504 (libc_feholdexcept_setround_53bit): Remove.
27505 (libc_feupdateenv_53bit): Remove.
27506 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27507 (math_opt_barrier, math_force_eval): Remove.
27508 (libc_feholdexcept): Remove.
27509 (libc_feholdexcept_setround): Remove.
27510 (libc_fetestexcept, libc_fesetenv): Remove.
27511 (libc_feupdateenv_test): Remove.
27512 (libc_feupdateenv, libc_feholdsetround): Remove.
27513 (libc_feresetround): Remove.
27515 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27516 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27518 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27519 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27520 (libc_feupdateenv_testl): New.
27521 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27522 (libc_feupdateenv_testf): New.
27523 (libc_feupdateenv): Use libc_feupdateenv_test.
27524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27527 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27528 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27529 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27530 (libc_feresetround_noex): New.
27531 (libc_feresetround_noexf): New.
27532 (libc_feresetround_noexl): New.
27533 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27534 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27535 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27536 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27541 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27542 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27543 SET_RESTORE_ROUND_NOEX.
27544 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27545 SET_RESTORE_ROUND_NOEXF.
27546 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27547 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27548 (libc_feholdsetroundf): New.
27549 (libc_feresetround, libc_feresetroundf): New.
27551 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27552 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27553 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27555 * sysdeps/generic/math_private.h: Include <fenv.h>.
27556 (default_libc_feholdexcept): New.
27557 (default_libc_feholdexcept_setround): New.
27558 (default_libc_fesetenv, default_libc_feupdateenv): New.
27559 (libc_feholdexcept): Only define if undefined.
27560 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27561 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27562 (libc_feholdexcept_setroundl): Likewise.
27563 (libc_feholdexcept_setround_53bit): Likewise.
27564 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27565 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27566 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27567 (libc_feupdateenv_53bit): Likewise.
27568 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27569 (libc_feholdexcept): Convert from macro to inline function.
27570 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27571 (libc_fesetenv, libc_feupdateenv): Likewise.
27573 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27574 not previously defined.
27575 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27576 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27577 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27578 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27579 * sysdeps/ieee754/flt-32/math_private.h: New file.
27580 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27581 math_private.h below SET_FLOAT_WORD.
27582 (__isnan, __isinf_ns, __finite): Remove.
27583 (__isnanf, __isinf_nsf, __finitef): Remove.
27585 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27589 2012-03-17 David S. Miller <davem@davemloft.net>
27592 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27595 2012-03-16 David S. Miller <davem@davemloft.net>
27597 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27601 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27603 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27604 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27605 sysdep_routines when subdir is sysvipc.
27606 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27607 __getshmlba helper.
27609 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27611 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27613 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27616 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27618 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27619 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27620 (__lround): Renamed to ...
27621 (__llround): This. Replace long int with long long int.
27622 Define lround functions as aliases of llround functions.
27623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27625 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27627 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27628 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27629 adresses to uintptr_t. Replace "long int" and "unsigned long
27630 int" with "greg_t" on va_arg.
27632 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27634 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27635 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27637 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27638 Move e_machine check before EI_CLASS check. Handle x32
27639 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27640 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27641 SKIP_EM_IA_64 and include
27642 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27644 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27645 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27646 (add_system_dir): New macro.
27648 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27649 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27651 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27662 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27664 * math/w_j0f.c (j0f): Likewise.
27666 * math/w_j0l.c (__j0l): Likewise.
27668 * math/w_j1.c (j1): Likewise.
27670 * math/w_j1f.c (j1f): Likewise.
27672 * math/w_j1l.c (__j1l): Likewise.
27674 * math/w_jn.c (jn): Likewise.
27676 * math/w_jnf.c (jnf): Likewise.
27678 * math/w_jnl.c (__jnl): Likewise.
27680 * math/libm-test.inc (j0_test): Add more tests.
27681 (j1_test): Likewise.
27682 (jn_test): Likewise. Add trailing semicolon to existing test.
27683 (y0_test): Likewise.
27684 (y1_test): Likewise.
27685 * sysdeps/i386/fpu/libm-test-ulps: Update.
27686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27690 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27691 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27692 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27693 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27694 (__tanl): Set errno for infinite argument.
27695 * sysdeps/i386/fpu/mptan.c: Remove.
27696 * sysdeps/i386/fpu/s_tan.S: Likewise.
27697 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27698 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27699 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27700 * math/libm-test.inc (tan_test): Add more tests and enable more
27701 tests for double and long double.
27702 * sysdeps/i386/fpu/libm-test-ulps: Update.
27703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27705 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27707 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27708 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27710 2012-03-16 Roland McGrath <roland@hack.frob.com>
27712 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27713 * configure.in: Use it for both main tree and add-ons.
27714 * configure: Regenerated.
27716 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27718 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27720 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27722 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27726 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27727 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27732 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27734 != 0 for prec == 2.
27735 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27736 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27737 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27738 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27739 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27740 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27741 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27742 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27743 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27744 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27745 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27746 * math/libm-test.inc (cos_test): Add more tests and enable more
27747 tests for long double.
27748 (sin_test): Likewise.
27749 (sincos_test): Likewise.
27750 * sysdeps/i386/fpu/libm-test-ulps: Update.
27751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27753 2012-03-16 David S. Miller <davem@davemloft.net>
27755 * sysdeps/sparc/fpu/math_private.h: New file.
27757 2012-03-15 David S. Miller <davem@davemloft.net>
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27773 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27774 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27776 * sysdeps/sparc/sparc-ifunc.h: New file.
27777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27815 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27822 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27824 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27828 2012-03-15 Andreas Jaeger <aj@suse.de>
27831 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27832 ieee754/flt-32 implementation for sin, cos and sincos.
27833 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27834 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27835 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27836 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27837 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27838 ieee754/flt-32 implementation for tan.
27840 * math/libm-test.inc (cos_test): Enable some large input tests for
27842 (sin_test): Likewise.
27843 (sincos_test): Likewise.
27844 (tan_test): Add tests for large input.
27846 * sysdeps/i386/fpu/libm-test-ulps: Update.
27848 2012-03-15 Andreas Jaeger <aj@suse.de>
27851 * math/libm-test.inc (cos_test): Add more test cases.
27852 (sin_test): Likewise.
27853 (sincos_test): Likewise.
27855 2012-03-15 Andreas Jaeger <aj@suse.de>
27858 * math/libm-test.inc (cos_test): Add a test case for large input
27860 (sin_test): Likewise.
27861 (sincos_test): Likewise.
27863 2012-03-15 Andreas Jaeger <aj@suse.de>,
27864 Joseph Myers <joseph@codesourcery.com>
27867 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27868 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27869 * sysdeps/i386/fpu/branred.c: Likewise.
27870 * sysdeps/i386/fpu/dosincos.c: Likewise.
27871 * sysdeps/i386/fpu/mpa.c: Likewise.
27872 * sysdeps/i386/fpu/s_cos.S: Likewise.
27873 * sysdeps/i386/fpu/s_sin.S: Likewise.
27874 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27875 * sysdeps/i386/fpu/sincos32.c: Likewise.
27877 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27879 (libc_feupdateenv_53bit): Define.
27880 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27882 (libc_feupdateenv_53bit): Define.
27884 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27885 53 bit (without extend i386 double precision).
27887 * math/libm-test.inc (sincos_test): Add tests for large input.
27891 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27893 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27897 2012-03-15 David S. Miller <davem@davemloft.net>
27899 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27900 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27901 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27902 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27927 fmin/fmax sysdep routines.
27928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27930 2012-03-14 David S. Miller <davem@davemloft.net>
27932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28004 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28009 * sysdeps/sparc/configure.in: New file.
28010 * sysdeps/sparc/configure: Generate.
28011 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28012 * configure: Regenerate.
28013 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28014 * config.make.in (have-as-vis3): New.
28015 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28016 available use -Av9d instead of -Av9a.
28017 * sysdeps/sparc/sparc64/Makefile: Likewise.
28018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28028 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28033 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28034 fzeros/fnegs to load 0x80000000 into a float register instead of
28036 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28038 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28042 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28043 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28044 ($(inst_includedir)/bits/syscall.h): Remove rule.
28045 ($(objpfx)bits/syscall.d): Include instead of
28046 $(objpfx)syscall-list.d.
28047 (generated): Change syscall-list.h and syscall-list.d to
28048 bits/syscall.h and bits/syscall.d.
28050 2012-03-14 Roland McGrath <roland@hack.frob.com>
28053 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28055 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28058 * math/s_csqrt.c: Include <float.h>.
28059 (__csqrt): Scale large or subnormal inputs.
28060 * math/s_csqrtf.c: Likewise.
28061 * math/s_csqrtl.c: Likewise.
28062 * math/libm-test.inc (csqrt_test): Add more tests.
28063 * sysdeps/i386/fpu/libm-test-ulps: Update.
28064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28067 * math/libm-test.inc (hypot_test): Add more tests.
28069 2012-03-13 David S. Miller <davem@davemloft.net>
28072 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28073 double-precision for the calculation instead of scaling.
28075 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28077 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28078 manipulate bits before adding and subtracting TWO52[sx].
28079 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28084 2012-03-13 David S. Miller <davem@davemloft.net>
28086 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28087 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28089 rtld-global-offsets.h
28090 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28092 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28095 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28097 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28098 'err' in the ifdef scope in which it is actually used.
28100 * nss/nss_db/db-init.c: Include string.h
28102 2012-03-12 David S. Miller <davem@davemloft.net>
28104 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28105 masking out of the most significant byte of random value used.
28106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28107 Fix coding style in previous change.
28109 * sysdeps/unix/sysv/linux/kernel-features.h
28110 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28111 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28113 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28116 2012-03-11 David S. Miller <davem@davemloft.net>
28118 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28119 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28121 for 'resultvar' otherwise things get truncated on 64-bit.
28123 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28124 Fix masking out of the most significant byte of random value used.
28126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28128 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28132 2012-03-09 David S. Miller <davem@davemloft.net>
28134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28135 variables with appropriate CPP guards.
28136 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28137 frame pointer, not the stack pointer. Correct layout comments. Fix test
28138 on resulting framesize and the management of the outregs buffer for pltexit.
28139 Preserve floating point return values across _dl_call_pltexit call.
28140 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28141 framesize and the management of the outregs buffer for pltexit.
28142 Preserve floating point return values across _dl_call_pltexit
28144 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28145 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28146 (print_exit): Fix format string for return register value.
28148 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28150 * sunrpc/Makefile (others): Add rpcgen.
28151 ($(objpfx)rpcgen): Remove special build rule and dependency on
28153 * sunrpc/rpcgen.c: New file.
28155 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28158 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28159 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28160 * sysdeps/i386/crti.S: Likewise.
28161 * sysdeps/i386/crtn.S: Likewise.
28162 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28163 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28164 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28165 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28166 * sysdeps/sh/crti.S: Likewise.
28167 * sysdeps/sh/crtn.S: Likewise.
28168 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28171 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28173 * locale/programs/locfile-kw.gperf: Likewise.
28174 * locale/programs/charmap-kw.h: Regenerated.
28175 * locale/programs/locfile-kw.h: Likewise.
28178 * intl/plural.y: Replace FSF snail mail address with URL.
28179 * intl/plural.c: Regenerated.
28181 2012-03-09 Richard Henderson <rth@twiddle.net>
28183 * include/math_private.h: Remove file.
28184 * math/math_private.h: Move file ...
28185 * sysdeps/generic/math_private.h: ... here.
28187 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28188 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28189 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28191 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28192 and <math_private.h>.
28193 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28194 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28195 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28196 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28197 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28198 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28199 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28205 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28207 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28208 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28210 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28211 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28212 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28214 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28215 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28217 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28218 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28219 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28220 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28223 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28225 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28226 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28227 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28228 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28229 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28232 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28238 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28239 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28240 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28241 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28242 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28243 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28244 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28245 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28246 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28247 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28248 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28249 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28250 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28251 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28252 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28253 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28254 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28265 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28267 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28271 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28272 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28273 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28274 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28275 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28276 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28277 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28278 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28281 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28282 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28283 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28284 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28285 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28286 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28287 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28288 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28289 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28290 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28291 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28292 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28293 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28294 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28295 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28296 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28297 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28298 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28299 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28300 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28301 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28303 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28304 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28305 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28306 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28307 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28308 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28310 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28312 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28313 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28314 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28316 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28317 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28318 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28319 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28320 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28321 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28322 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28323 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28324 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28326 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28327 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28328 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28329 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28330 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28331 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28332 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28333 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28334 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28335 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28336 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28337 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28338 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28339 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28340 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28341 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28342 * sysdeps/ieee754/k_standard.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28358 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28360 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28362 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28364 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28367 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28370 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28374 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28376 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28382 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28386 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28389 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28390 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28391 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28392 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28393 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28394 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28395 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28396 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28397 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28398 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28400 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28401 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28403 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28408 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28409 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28410 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28413 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28415 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28416 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28417 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28419 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28420 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28422 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28431 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28433 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28434 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28435 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28436 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28437 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28438 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28439 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28440 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28441 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28442 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28444 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28445 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28447 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28450 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28451 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28452 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28453 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28454 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28455 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28456 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28457 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28458 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28459 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28460 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28461 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28462 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28463 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28464 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28465 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28466 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28467 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28468 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28469 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28470 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28471 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28473 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28474 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28475 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28476 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28477 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28478 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28479 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28480 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28481 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28482 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28483 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28484 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28485 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28486 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28487 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28488 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28489 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28490 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28491 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28492 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28493 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28494 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28495 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28496 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28497 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28498 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28499 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28502 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28503 * sysdeps/ieee754/s_lib_version.c: Likewise.
28504 * sysdeps/ieee754/s_matherr.c: Likewise.
28505 * sysdeps/ieee754/s_signgam.c: Likewise.
28506 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28507 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28508 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28509 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28510 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28511 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28512 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28513 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28514 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28515 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28516 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28517 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28518 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28519 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28520 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28521 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28522 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28523 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28524 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28528 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28530 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28531 * sunrpc/rpc_main.c: Likewise.
28532 * sunrpc/rpc_svcout.c: Likewise.
28534 2012-03-09 David S. Miller <davem@davemloft.net>
28536 * include/math_private.h: New file.
28538 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28540 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28541 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28542 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28543 from <bits/socket_type.h>.
28544 (enum __socket_type): Don't define here.
28545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28547 bits/socket_type.h.
28550 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28551 checking __USE_GNU.
28553 * Makerules ($(inst_includedir)/%.h): New rule.
28554 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28555 (install-others): Remove variable setting.
28556 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28558 2012-03-08 Richard Henderson <rth@twiddle.net>
28560 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28561 from macro to inline function; merge with the
28562 !__LIBC_INTERNAL_MATH_INLINES version.
28563 (__ieee754_sqrtf): Likewise.
28565 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28566 to inline function.
28567 (__rintf, __floor, __floorf): Likewise.
28569 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28570 macro to inline function.
28571 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28573 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28574 not <math/math_private.h>.
28576 2012-03-08 David S. Miller <davem@davemloft.net>
28578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28580 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28582 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28584 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28586 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28587 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28589 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28591 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28592 be defined individually, they must be defined as a block. Define
28593 S for printing a string instead of hidint the different by using a
28594 macro for adding the 'l'.
28595 * stdio-common/tst-fphex-wide.c: Adjust.
28597 2012-03-07 Marek Polacek <polacek@redhat.com>
28599 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28601 2012-03-08 Marek Polacek <polacek@redhat.com>
28604 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28605 * stdio-common/tst-fphex.c: Define a few macros to make the
28606 test reusable. Use them.
28607 * stdio-common/tst-fphex-wide.c: New file.
28609 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28612 * manual/macros.texi (gnusystems): New macro.
28613 (nongnusystems): Likewise.
28614 (gnulinuxhurdsystems): Likewise.
28615 (gnuhurdsystems): Likewise..
28616 (gnulinuxsystems): Likewise.
28617 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28618 variants of the GNU system, not "GNU system".
28619 * manual/conf.texi: Likewise.
28620 * manual/errno.texi: Likewise. Update example of errno macro
28622 * manual/filesys.texi: Likewise.
28623 (getumask): Document as specific to GNU/Hurd.
28624 * manual/install.texi: Likewise. Reword some references to
28626 * manual/intro.texi: Likewise.
28627 * manual/io.texi: Likewise.
28628 (File Name Portability): Detail which constraints are inapplicable
28629 to all GNU systems and which are only inapplicable to GNU/Hurd.
28630 * manual/job.texi: Likewise.
28631 * manual/llio.texi: Likewise.
28632 (O_NOCTTY): Document as present on GNU/Linux.
28633 * manual/maint.texi: Likewise.
28634 * manual/memory.texi: Likewise.
28635 * manual/pattern.texi: Likewise.
28636 * manual/pipe.texi: Likewise.
28637 * manual/process.texi: Likewise.
28638 * manual/resource.texi: Likewise.
28639 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28641 * manual/setjmp.texi: Likewise.
28642 * manual/signal.texi: Likewise.
28643 * manual/startup.texi: Likewise.
28644 * manual/stdio.texi: Likewise.
28645 * manual/terminal.texi: Likewise.
28646 (ONLCR): Document as POSIX.
28647 (OXTABS): Document availability on GNU/Linux as XTABS.
28648 (ONOEOT): Document availability separately from other bits.
28649 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28650 * manual/time.texi: Likewise.
28651 * manual/users.texi: Likewise.
28652 * INSTALL: Regenerated.
28653 * sysdeps/gnu/errlist.c: Regenerated.
28655 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28656 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28657 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28659 * configure: Regenerated.
28661 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28663 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28664 default includes instead of AC_HEADER_CHECK.
28665 * sysdeps/i386/configure: Regenerated.
28668 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28669 * math/s_cacoshf.c (__cacoshf): Likewise.
28670 * math/s_cacoshl.c (__cacoshl): Likewise.
28671 * math/s_casinh.c (__casinh): Set signs of result from argument.
28672 * math/s_casinhf.c (__casinhf): Likewise.
28673 * math/s_casinhl.c (__casinhl): Likewise.
28674 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28675 (casinh_test): Add more tests.
28676 * sysdeps/i386/fpu/libm-test-ulps: Update.
28677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28679 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28681 * po/zh_TW.po: Update from translation team.
28683 * login/Makefile (distribute): Remove variable.
28684 * catgets/Makefile: Likewise.
28685 * mach/Makefile: Likewise.
28686 * malloc/Makefile: Likewise.
28687 * misc/Makefile: Likewise.
28688 * iconv/Makefile: Likewise.
28689 * nscd/Makefile: Likewise.
28690 * hurd/Makefile: Likewise.
28691 * manual/Makefile: Likewise.
28692 * locale/Makefile: Likewise.
28693 * intl/Makefile: Likewise.
28694 * conform/Makefile: Likewise.
28695 * nss/Makefile: Likewise.
28696 * time/Makefile: Likewise.
28697 * soft-fp/Makefile: Likewise.
28698 * dirent/Makefile: Likewise.
28699 * gmon/Makefile: Likewise.
28700 * po/Makefile: Likewise.
28701 * rt/Makefile: Likewise.
28702 * socket/Makefile: Likewise.
28703 * math/Makefile: Likewise.
28704 * signal/Makefile: Likewise.
28705 * debug/Makefile: Likewise.
28706 * elf/Makefile: Likewise.
28707 * timezone/Makefile: Likewise.
28708 * stdlib/Makefile: Likewise.
28709 * iconvdata/Makefile: Likewise.
28710 * sunrpc/Makefile: Likewise.
28711 * io/Makefile: Likewise.
28712 * argp/Makefile: Likewise.
28713 * inet/Makefile: Likewise.
28714 * hesiod/Makefile: Likewise.
28715 * grp/Makefile: Likewise.
28716 * csu/Makefile: Likewise.
28717 * wctype/Makefile: Likewise.
28718 * crypt/Makefile: Likewise.
28719 * libio/Makefile: Likewise.
28720 * string/Makefile: Likewise.
28721 * nis/Makefile: Likewise.
28722 * resolv/Makefile: Likewise.
28723 * stdio-common/Makefile: Likewise.
28724 * wcsmbs/Makefile: Likewise.
28725 * dlfcn/Makefile: Likewise.
28726 * posix/Makefile: Likewise.
28729 * timezone/Makefile: Don't install timezone files, just the programs
28732 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28734 * nss/databases.def: Add missing gshadow entry.
28736 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28738 2012-03-06 Marek Polacek <polacek@redhat.com>
28741 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28742 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28743 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28744 * stdio-common/tst-long-dbl-fphex.c: New file.
28746 2012-03-06 David S. Miller <davem@davemloft.net>
28748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28749 (set_obp_int): New function.
28750 (get_obp_int): New function.
28751 (__get_clockfreq_via_dev_openprom): Likewise.
28752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28753 Avoid unused variable warnings on 'val' and use builtin_expect.
28754 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28756 (INLINE_CLONE_SYSCALL): Likewise.
28758 2012-03-05 David S. Miller <davem@davemloft.net>
28760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28762 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28766 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28767 only for |x| >= 40.
28768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28770 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28773 Replace gettimeofday with __vdso_gettimeofday.
28775 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28776 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28777 __vdso_clock_gettime and __vdso_getcpu.
28779 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28780 time with __vdso_time.
28782 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28784 * manual/lang.texi (size_t): Note types to which size_t may be
28785 equivalent with the GNU C Library, but do not describe when
28786 differences between them are significant.
28788 2012-03-05 Andreas Jaeger <aj@suse.de>
28790 * sysdeps/i386/fpu/libm-test-ulps: Update.
28792 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28795 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28796 (__ieee754_pow): Save and restore rounding mode and use
28797 round-to-nearest for main computations.
28798 * math/libm-test.inc (pow_test_tonearest): New function.
28799 (pow_test_towardzero): Likewise.
28800 (pow_test_downward): Likewise.
28801 (pow_test_upward): Likewise.
28802 (main): Call the new functions.
28803 * sysdeps/i386/fpu/libm-test-ulps: Update.
28804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28807 * math/libm-test.inc (cosh_test_tonearest): New function.
28808 (cosh_test_towardzero): Likewise.
28809 (cosh_test_downward): Likewise.
28810 (cosh_test_upward): Likewise.
28811 (sinh_test_tonearest): Likewise.
28812 (sinh_test_towardzero): Likewise.
28813 (sinh_test_downward): Likewise.
28814 (sinh_test_upward): Likewise.
28815 (main): Call the new functions.
28816 * sysdeps/i386/fpu/libm-test-ulps: Update.
28817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28819 2012-03-05 Tom de Vries <tom@codesourcery.com>
28821 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28822 default stack guard is set in last bytes.
28823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28825 2012-03-05 Kees Cook <keescook@chromium.org>
28827 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28830 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28831 possibly allocate from heap instead of stack.
28832 * stdio-common/bug-vfprintf-nargs.c: New file.
28833 * stdio-common/Makefile (tests): Add nargs overflow test.
28835 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28839 2012-03-03 Marek Polacek <polacek@redhat.com>
28841 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28842 * math/math_private.h: Likewise.
28843 * stdlib/tst-strtod.c: Likewise.
28844 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28845 * sysdeps/x86_64/bits/atomic.h: Likewise.
28847 2012-03-02 David S. Miller <davem@davemloft.net>
28849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28853 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28854 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28855 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28856 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28858 2012-03-02 Roland McGrath <roland@hack.frob.com>
28861 * manual/examples/README: New file, says the example source files
28862 can be used under GPL>=2.
28863 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28864 line containing just "*/".
28865 * manual/examples/add.c: Add copyright header (GPL>=2).
28866 * manual/examples/argp-ex1.c: Likewise.
28867 * manual/examples/argp-ex2.c: Likewise.
28868 * manual/examples/argp-ex3.c: Likewise.
28869 * manual/examples/argp-ex4.c: Likewise.
28870 * manual/examples/atexit.c: Likewise.
28871 * manual/examples/db.c: Likewise.
28872 * manual/examples/dir.c: Likewise.
28873 * manual/examples/dir2.c: Likewise.
28874 * manual/examples/execinfo.c: Likewise.
28875 * manual/examples/filecli.c: Likewise.
28876 * manual/examples/filesrv.c: Likewise.
28877 * manual/examples/fmtmsgexpl.c: Likewise.
28878 * manual/examples/genpass.c: Likewise.
28879 * manual/examples/inetcli.c: Likewise.
28880 * manual/examples/inetsrv.c: Likewise.
28881 * manual/examples/isockad.c: Likewise.
28882 * manual/examples/longopt.c: Likewise.
28883 * manual/examples/memopen.c: Likewise.
28884 * manual/examples/memstrm.c: Likewise.
28885 * manual/examples/mkfsock.c: Likewise.
28886 * manual/examples/mkisock.c: Likewise.
28887 * manual/examples/mygetpass.c: Likewise.
28888 * manual/examples/pipe.c: Likewise.
28889 * manual/examples/popen.c: Likewise.
28890 * manual/examples/rprintf.c: Likewise.
28891 * manual/examples/search.c: Likewise.
28892 * manual/examples/select.c: Likewise.
28893 * manual/examples/setjmp.c: Likewise.
28894 * manual/examples/sigh1.c: Likewise.
28895 * manual/examples/sigusr.c: Likewise.
28896 * manual/examples/stpcpy.c: Likewise.
28897 * manual/examples/strdupa.c: Likewise.
28898 * manual/examples/strftim.c: Likewise.
28899 * manual/examples/strncat.c: Likewise.
28900 * manual/examples/subopt.c: Likewise.
28901 * manual/examples/swapcontext.c: Likewise.
28902 * manual/examples/termios.c: Likewise.
28903 * manual/examples/testopt.c: Likewise.
28904 * manual/examples/testpass.c: Likewise.
28905 * manual/examples/timeval_subtract.c: Likewise.
28908 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28910 * manual/timeval_subtract.c.texi: ... here, new file.
28912 2012-03-02 David S. Miller <davem@davemloft.net>
28914 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28916 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28919 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28920 (__sin): Save and restore rounding mode and use round-to-nearest
28921 for all computations.
28922 (__cos): Save and restore rounding mode and use round-to-nearest
28923 for all computations.
28924 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28926 (tan): Save and restore rounding mode and use round-to-nearest for
28928 * math/libm-test.inc (cos_test_tonearest): New function.
28929 (cos_test_towardzero): Likewise.
28930 (cos_test_downward): Likewise.
28931 (cos_test_upward): Likewise.
28932 (sin_test_tonearest): Likewise.
28933 (sin_test_towardzero): Likewise.
28934 (sin_test_downward): Likewise.
28935 (sin_test_upward): Likewise.
28936 (tan_test_tonearest): Likewise.
28937 (tan_test_towardzero): Likewise.
28938 (tan_test_downward): Likewise.
28939 (tan_test_upward): Likewise.
28940 (main): Call the new functions.
28941 * sysdeps/i386/fpu/libm-test-ulps: Update.
28942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28945 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28946 small n, then large n, before computing and testing k+n.
28947 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28952 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28953 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28959 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28960 * math/libm-test.inc (scalbn_test): Add more tests.
28961 (scalbln_test): Likewise.
28963 * manual/filesys.texi (mode_t): Describe constraints on size and
28964 signedness, not exact equivalence to a particular type.
28966 (ino64_t): Likewise.
28968 (nlink_t): Likewise.
28969 (blkcnt_t): Likewise.
28970 (blkcnt64_t): Likewise.
28971 * manual/llio.texi (off_t): Likewise.
28974 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28975 (__ieee754_exp): Save and restore rounding mode and use
28976 round-to-nearest for all computations.
28977 * math/libm-test.inc (exp_test_tonearest): New function.
28978 (exp_test_towardzero): Likewise.
28979 (exp_test_downward): Likewise.
28980 (exp_test_upward): Likewise.
28981 (main): Call the new functions.
28982 * sysdeps/i386/fpu/libm-test-ulps: Update.
28983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28985 2012-03-01 Chris Demetriou <cgd@google.com>
28987 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28988 have predictable order.
28990 2012-03-01 David S. Miller <davem@davemloft.net>
28992 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28994 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28995 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28996 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28997 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28999 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29000 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29001 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29003 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29004 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29005 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29006 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29007 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29011 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29012 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29013 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29015 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29016 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29017 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29018 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29019 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29020 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29022 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29023 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29024 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29025 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29026 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29028 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29029 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29031 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29032 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29033 * sysdeps/sparc/elf/configure: Regenerated.
29035 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29037 * configure.in (AS, LD): Require binutils 2.20 or later.
29038 * configure: Regenerated.
29039 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29040 as required minimum version.
29041 * INSTALL: Regenerated.
29045 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29046 before squaring exponent.
29047 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29048 bottom long double and 27 bits of top long double before squaring
29050 * math/libm-test.inc (erfc_test): Add more tests.
29051 * sysdeps/i386/fpu/libm-test-ulps: Update.
29052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29055 2012-03-01 Kai Tietz <ktietz@redhat.com>
29057 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29058 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29059 containing bit-fields.
29060 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29061 * soft-fp/single.h (_FP_UNION_S): Likewise.
29062 * soft-fp/double.h (_FP_UNION_D): Likewise.
29064 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29067 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29068 not include ../strcmp.S.
29069 [USE_AS_STRNCASECMP_L]: Likewise.
29070 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29071 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29072 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29073 (__strncasecmp_l_ia32): Define as alias to
29074 __strncasecmp_l_nonascii.
29077 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29078 * sysdeps/i386/fpu/libm-test-ulps: Update.
29079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29081 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29084 2012-02-29 Jeff Law <law@redhat.com>
29086 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29087 out of bounds read.
29089 2012-02-29 Marek Polacek <polacek@redhat.com>
29092 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29093 * elf/Makefile: Add rules to run tst-unused-dep.out.
29095 2012-02-28 David S. Miller <davem@davemloft.net>
29097 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29098 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29099 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29100 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29101 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29102 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29104 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29106 * math/libm-test.inc (llround_test): Move one test from
29107 lround_test. Use TEST_f_L in moved test.
29108 (lround_test): Move misplaced test to llround_test. Add testcase
29111 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29113 * sysdeps/x86_64/fpu/e_expf.S: New file.
29114 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29116 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29119 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29120 of remain_len that may cause incomplete multi-byte character and
29122 * posix/bug-regex33.c: New file.
29123 * posix/Makefile (tests): Add bug-regex33.
29125 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29127 * manual/macros.texi: New file.
29128 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29129 * manual/libc.texinfo: Include macros.texi.
29130 * manual/creatute.texi: Likewise.
29131 * manual/install.texi: Likewise.
29132 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29133 @glibcadj{} in references to the GNU C Library.
29134 * manual/charset.texi: Likewise.
29135 * manual/conf.texi: Likewise.
29136 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29137 when not using those macros.
29138 * manual/creature.texi: Likewise.
29139 * manual/crypt.texi: Likewise.
29140 * manual/errno.texi: Likewise.
29141 * manual/filesys.texi: Likewise.
29142 * manual/header.texi: Likewise.
29143 * manual/install.texi: Likewise.
29144 * manual/intro.texi: Likewise.
29145 * manual/io.texi: Likewise.
29146 * manual/job.texi: Likewise.
29147 * manual/lang.texi: Likewise.
29148 * manual/libc.texiinfo: Likewise.
29149 * manual/llio.texi: Likewise.
29150 * manual/locale.texi: Likewise.
29151 * manual/maint.texi: Likewise.
29152 * manual/math.texi: Likewise.
29153 * manual/memory.texi: Likewise.
29154 * manual/message.texi: Likewise.
29155 * manual/nss.texi: Likewise.
29156 * manual/pattern.texi: Likewise.
29157 * manual/process.texi: Likewise.
29158 * manual/resource.texi: Likewise.
29159 * manual/search.texi: Likewise.
29160 * manual/setjmp.texi: Likewise.
29161 * manual/signal.texi: Likewise.
29162 * manual/socket.texi: Likewise.
29163 * manual/startup.texi: Likewise.
29164 * manual/stdio.texi: Likewise.
29165 * manual/string.texi: Likewise.
29166 * manual/sysinfo.texi: Likewise.
29167 * manual/syslog.texi: Likewise.
29168 * manual/terminal.texi: Likewise.
29169 * manual/time.texi: Likewise.
29170 * manual/users.texi: Likewise.
29171 * INSTALL: Regenerated.
29172 * NOTES: Regenerated.
29173 * sysdeps/gnu/errlist.c: Regenerated.
29175 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29177 * include/dirent.h: Include <dirstream.h> before
29180 2012-02-28 David S. Miller <davem@davemloft.net>
29182 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29183 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29184 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29185 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29187 2012-02-27 David S. Miller <davem@davemloft.net>
29189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29191 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29192 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29195 frame pointer instead of stack pointer relative arg slot.
29196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29197 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29198 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29200 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29203 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29205 2012-02-27 David S. Miller <davem@davemloft.net>
29207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29211 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29212 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29213 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29214 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29216 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29218 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29219 later. Allow versions 5-9.
29220 * configure: Regenerated.
29221 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29222 required minimum version and 4.6 as recommended version. Do not
29223 mention bugs in GCC 2.7 and 2.8.
29224 * INSTALL: Regenerated.
29226 2012-02-27 David S. Miller <davem@davemloft.net>
29228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29232 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29233 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29234 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29235 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29238 manipulate bits before adding and subtracting TWO112[sx].
29239 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29241 2012-02-27 Roland McGrath <roland@hack.frob.com>
29244 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29245 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29246 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29247 being in POSIX, because they are in 1003.1-2008.
29249 * rt/tst-aio.c: Include <fcntl.h>.
29250 * rt/tst-aio7.c: Likewise.
29251 * rt/tst-aio64.c: Likewise.
29253 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29255 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29257 * manual/install.texi (--with-headers): Describe headers as
29258 interface headers, not private headers.
29259 (Specific advice for GNU/Linux systems): Describe use of headers
29260 from "make headers_install", not private headers from older
29262 * INSTALL: Regenerated.
29263 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29265 * sysdeps/unix/sysv/linux/configure: Regenerated.
29267 * manual/llio.texi (fclean): Remove documentation.
29269 * manual/Makefile (libc-texi-generated): New variable. Include
29271 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29272 $(libc-texi-generated), not duplicated list of files.
29273 (version.texi, stamp-version): New rules.
29274 (realclean): Remove $(libc-texi-generated), not individual files
29275 from that list. Do not remove dir-add.texinfo.
29276 * manual/libc.texinfo: Comment out uses of edition numbers and
29277 references to printed manual. Remove last-updated dates.
29278 (EDITION): Comment out.
29280 (VERSION, UPDATED): Remove.
29281 (version.texi): Include.
29283 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29285 * sysdeps/posix/spawni.c: Include <signal.h>.
29286 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29287 * sysdeps/pthread/aio_fsync.c: Likewise.
29289 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29291 * conform/Makefile (tests): Run only when not cross-compiling and
29292 when fast-check is not defined.
29294 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29295 * conform/data/limits.h-data: Fixes for POSIX2008.
29296 * conform/run-conformtest.sh: Run all tests.
29297 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29299 * include/bits/dlfcn.h: Likewise.
29300 * include/langinfo.h: Likewise.
29301 * include/monetary.h: Likewise.
29302 * include/sys/poll.h: Likewise.
29304 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29306 * posix/spawn.h: Define __need_sigset_t.
29307 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29308 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29309 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29310 to get sigevent_t only.
29311 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29312 only for __USE_GNU.
29313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29314 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29315 process_vm_writev only for __USE_GNU.
29316 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29318 * conform/Makefile: For now ignore errors from run-conformtest.
29319 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29320 POSIX to avoid namespace pollution. Don't prepend headers.
29321 * conform/data/aio.h-data: Fixes for POSIX testing.
29322 * conform/data/fcntl.h-data: Likewise.
29323 * conform/data/glob.h-data: Likewise.
29324 * conform/data/grp.h-data: Likewise.
29325 * conform/data/pthread.h-data: Likewise.
29326 * conform/data/pwd.h-data: Likewise.
29327 * conform/data/signal.h-data: Likewise.
29328 * conform/data/spawn.h-data: Likewise.
29329 * conform/data/stdio.h-data: Likewise.
29330 * conform/data/stdlib.h-data: Likewise.
29331 * conform/data/stropts.h-data: Likewise.
29332 * conform/data/sys/mman.h-data: Likewise.
29333 * conform/data/sys/stat.h-data: Likewise.
29334 * conform/data/sys/types.h-data: Likewise.
29335 * conform/data/sys/wait.h-data: Likewise.
29336 * conform/data/time.h-data: Likewise.
29337 * conform/data/unistd.h-data: Likewise.
29338 * conform/data/utime.h-data: Likewise.
29340 * io/sys/stat.h: fchmod was always in POSIX.
29341 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29342 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29343 * rt/aio.h: Define __need_timespec before including <time.h>.
29344 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29345 struct. Add forward declaration of pthread_attr_t and use it in
29347 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29348 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29349 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29350 always remove CLK_TCK definition.
29352 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29354 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29356 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29358 * conform/run-conformtest.sh: New file.
29359 * conform/Makefile: Run run-conformtest for tests.
29360 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29363 * conform/data/uchar.h-data: New file.
29364 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29365 * conform/data/arpa/inet.h-data: Likewise.
29366 * conform/data/assert.h-data: Likewise.
29367 * conform/data/complex.h-data: Likewise.
29368 * conform/data/cpio.h-data: Likewise.
29369 * conform/data/ctype.h-data: Likewise.
29370 * conform/data/dirent.h-data: Likewise.
29371 * conform/data/dlfcn.h-data: Likewise.
29372 * conform/data/errno.h-data: Likewise.
29373 * conform/data/fcntl.h-data: Likewise.
29374 * conform/data/float.h-data: Likewise.
29375 * conform/data/fmtmsg.h-data: Likewise.
29376 * conform/data/fnmatch.h-data: Likewise.
29377 * conform/data/ftw.h-data: Likewise.
29378 * conform/data/glob.h-data: Likewise.
29379 * conform/data/grp.h-data: Likewise.
29380 * conform/data/iconv.h-data: Likewise.
29381 * conform/data/inttypes.h-data: Likewise.
29382 * conform/data/langinfo.h-data: Likewise.
29383 * conform/data/libgen.h-data: Likewise.
29384 * conform/data/limits.h-data: Likewise.
29385 * conform/data/locale.h-data: Likewise.
29386 * conform/data/math.h-data: Likewise.
29387 * conform/data/monetary.h-data: Likewise.
29388 * conform/data/mqueue.h-data: Likewise.
29389 * conform/data/ndbm.h-data: Likewise.
29390 * conform/data/net/if.h-data: Likewise.
29391 * conform/data/netdb.h-data: Likewise.
29392 * conform/data/netinet/in.h-data: Likewise.
29393 * conform/data/nl_types.h-data: Likewise.
29394 * conform/data/poll.h-data: Likewise.
29395 * conform/data/pthread.h-data: Likewise.
29396 * conform/data/pwd.h-data: Likewise.
29397 * conform/data/regex.h-data: Likewise.
29398 * conform/data/sched.h-data: Likewise.
29399 * conform/data/search.h-data: Likewise.
29400 * conform/data/semaphore.h-data: Likewise.
29401 * conform/data/setjmp.h-data: Likewise.
29402 * conform/data/signal.h-data: Likewise.
29403 * conform/data/spawn.h-data: Likewise.
29404 * conform/data/stdarg.h-data: Likewise.
29405 * conform/data/stdio.h-data: Likewise.
29406 * conform/data/stdlib.h-data: Likewise.
29407 * conform/data/string.h-data: Likewise.
29408 * conform/data/strings.h-data: Likewise.
29409 * conform/data/stropts.h-data: Likewise.
29410 * conform/data/sys/ipc.h-data: Likewise.
29411 * conform/data/sys/mman.h-data: Likewise.
29412 * conform/data/sys/msg.h-data: Likewise.
29413 * conform/data/sys/resource.h-data: Likewise.
29414 * conform/data/sys/select.h-data: Likewise.
29415 * conform/data/sys/sem.h-data: Likewise.
29416 * conform/data/sys/shm.h-data: Likewise.
29417 * conform/data/sys/socket.h-data: Likewise.
29418 * conform/data/sys/stat.h-data: Likewise.
29419 * conform/data/sys/statvfs.h-data: Likewise.
29420 * conform/data/sys/time.h-data: Likewise.
29421 * conform/data/sys/timeb.h-data: Likewise.
29422 * conform/data/sys/times.h-data: Likewise.
29423 * conform/data/sys/types.h-data: Likewise.
29424 * conform/data/sys/uio.h-data: Likewise.
29425 * conform/data/sys/un.h-data: Likewise.
29426 * conform/data/sys/utsname.h-data: Likewise.
29427 * conform/data/sys/wait.h-data: Likewise.
29428 * conform/data/syslog.h-data: Likewise.
29429 * conform/data/tar.h-data: Likewise.
29430 * conform/data/termios.h-data: Likewise.
29431 * conform/data/utime.h-data: Likewise.
29432 * conform/data/utmpx.h-data: Likewise.
29433 * conform/data/varargs.h-data: Likewise.
29434 * conform/data/wchar.h-data: Likewise.
29435 * conform/data/wctype.h-data: Likewise.
29436 * conform/data/wordexp.h-data: Likewise.
29438 * include/stropts.h: New file.
29439 * include/uchar.h: New file.
29440 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29441 * include/assert.h: Likewise.
29442 * include/ctype.h: Likewise.
29443 * include/dirent.h: Likewise.
29444 * include/dlfcn.h: Likewise.
29445 * include/fcntl.h: Likewise.
29446 * include/fnmatch.h: Likewise.
29447 * include/glob.h: Likewise.
29448 * include/grp.h: Likewise.
29449 * include/libio.h: Likewise.
29450 * include/locale.h: Likewise.
29451 * include/math.h: Likewise.
29452 * include/net/if.h: Likewise.
29453 * include/netdb.h: Likewise.
29454 * include/netinet/in.h: Likewise.
29455 * include/pthread.h: Likewise.
29456 * include/pwd.h: Likewise.
29457 * include/regex.h: Likewise.
29458 * include/sched.h: Likewise.
29459 * include/search.h: Likewise.
29460 * include/setjmp.h: Likewise.
29461 * include/signal.h: Likewise.
29462 * include/stdio.h: Likewise.
29463 * include/stdlib.h: Likewise.
29464 * include/string.h: Likewise.
29465 * include/sys/cdefs.h: Likewise.
29466 * include/sys/mman.h: Likewise.
29467 * include/sys/msg.h: Likewise.
29468 * include/sys/resource.h: Likewise.
29469 * include/sys/select.h: Likewise.
29470 * include/sys/socket.h: Likewise.
29471 * include/sys/stat.h: Likewise.
29472 * include/sys/statvfs.h: Likewise.
29473 * include/sys/time.h: Likewise.
29474 * include/sys/times.h: Likewise.
29475 * include/sys/uio.h: Likewise.
29476 * include/sys/utsname.h: Likewise.
29477 * include/sys/wait.h: Likewise.
29478 * include/termios.h: Likewise.
29479 * include/time.h: Likewise.
29480 * include/ulimit.h: Likewise.
29481 * include/unistd.h: Likewise.
29482 * include/utime.h: Likewise.
29483 * include/wchar.h: Likewise.
29484 * include/wctype.h: Likewise.
29485 * include/wordexp.h: Likewise.
29487 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29489 * time/time.h: TIME_UTC must be a macro.
29490 Make timespec_get available for ISO C11 only as well.
29492 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29494 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29495 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29497 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29499 * configure.in: Use -o not -a in test for unsupported multi-arch.
29501 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29503 * manual/texinfo.tex: Update to version 2012-01-19.16.
29505 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29507 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29509 2012-02-24 Roland McGrath <roland@hack.frob.com>
29512 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29513 * manual/fdl-1.3.texi: New file.
29514 * manual/fdl-1.1.texi: File removed.
29517 * manual/libc.texinfo (FDL_VERSION): New @set.
29518 Use it for mention of FDL in cover text.
29519 (Documentation License): Use it in @include file name.
29521 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29522 Roland McGrath <roland@hack.frob.com>
29525 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29526 not LONG_LONG_MAX and LONG_LONG_MIN.
29527 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29528 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29530 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29532 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29536 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29537 manipulate bits before adding and subtracting TWO23[sx].
29538 * math/libm-test.inc (nearbyint_test): Add more tests.
29540 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29543 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29544 bits before adding and subtracting TWO23[sx].
29545 * math/libm-test.inc (rint_test): Add more tests.
29546 (rint_test_tonearest): Likewise.
29547 (rint_test_towardzero): Likewise.
29548 (rint_test_downward): Likewise.
29549 (rint_test_upward: Likewise.
29551 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29554 * include/stdc-predef.h: New file. Extracted from features.h.
29555 * include/features.h: Include stdc-predef.h.
29556 * Makefile (headers): Add stdc-predef.h.
29557 * CONFORMANCE (Compiler limitations): Update.
29559 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29561 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29563 2012-02-21 David S. Miller <davem@davemloft.net>
29565 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29566 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29568 2012-02-20 David S. Miller <davem@davemloft.net>
29570 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29571 using a normal save/restore sequence, rather than allocating a
29572 dummy stack frame just to store a frame pointer and restore.
29573 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29575 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29577 * manual/install.texi: Fix stray word in line-wrapped comment.
29579 2012-02-20 David S. Miller <davem@davemloft.net>
29581 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29582 both binutils and gcc support GOTDATA.
29584 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29585 "rd %pc" in the PIC register setup sequences.
29587 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29588 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29589 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29590 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29591 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29593 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29594 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29596 (SYSCALL_ERROR_HANDLER): Likewise.
29597 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29598 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29600 (SYSCALL_ERROR_HANDLER): Likewise.
29602 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29603 (HAVE_GCC_GOTDATA): New.
29604 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29605 relocation support in both binutils and gcc.
29606 * sysdeps/sparc/elf/configure: Regenerate.
29608 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29609 * sysdeps/sparc/sparc32/elf/configure: Delete.
29610 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29611 * sysdeps/sparc/sparc64/elf/configure: Delete.
29612 * sysdeps/sparc/elf/configure.in: New file.
29613 * sysdeps/sparc/elf/configure: Generate.
29615 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29616 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29617 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29618 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29619 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29621 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29623 * manual/install.texi: Do not mention specific glibc version
29625 * manual/libc.texinfo (VERSION, UPDATED): Update.
29626 (@copying): Use @copyright{} and range of years.
29628 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29631 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29632 [crti.S not in sysdirs] (generated): Do not append.
29633 [crti.S not in sysdirs] (omit-deps): Likewise.
29634 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29635 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29636 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29637 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29638 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29640 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29641 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29642 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29643 * csu/defs.awk: Remove file.
29644 * sysdeps/generic/initfini.c: Likewise.
29645 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29647 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29650 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29652 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29653 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29654 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29655 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29657 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29659 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29660 (__EPOLL_PACKED): Define to empty if not defined by
29662 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29666 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29668 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29669 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29670 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29671 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29673 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29677 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29679 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29682 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29683 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29686 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29689 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29691 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29693 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29694 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29696 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29698 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29701 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29703 * math/w_acos.c: Use non-signaling floating-point comparisons.
29704 * math/w_acosf.c: Likewise.
29705 * math/w_acosh.c: Likewise.
29706 * math/w_acoshf.c: Likewise.
29707 * math/w_acoshl.c: Likewise.
29708 * math/w_acosl.c: Likewise.
29709 * math/w_asin.c: Likewise.
29710 * math/w_asinf.c: Likewise.
29711 * math/w_asinl.c: Likewise.
29712 * math/w_atanh.c: Likewise.
29713 * math/w_atanhf.c: Likewise.
29714 * math/w_atanhl.c: Likewise.
29715 * math/w_exp2.c: Likewise.
29716 * math/w_exp2f.c: Likewise.
29717 * math/w_exp2l.c: Likewise.
29718 * math/w_j0.c: Likewise.
29719 * math/w_j0f.c: Likewise.
29720 * math/w_j0l.c: Likewise.
29721 * math/w_j1.c: Likewise.
29722 * math/w_j1f.c: Likewise.
29723 * math/w_j1l.c: Likewise.
29724 * math/w_jn.c: Likewise.
29725 * math/w_jnf.c: Likewise.
29726 * math/w_log.c: Likewise.
29727 * math/w_log10.c: Likewise.
29728 * math/w_log10f.c: Likewise.
29729 * math/w_log10l.c: Likewise.
29730 * math/w_log2.c: Likewise.
29731 * math/w_log2f.c: Likewise.
29732 * math/w_log2l.c: Likewise.
29733 * math/w_logf.c: Likewise.
29734 * math/w_logl.c: Likewise.
29735 * math/w_sqrt.c: Likewise.
29736 * math/w_sqrtf.c: Likewise.
29737 * math/w_sqrtl.c: Likewise.
29738 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29739 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29740 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29741 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29742 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29744 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29747 * manual/string.texi (strnlen): Use correct parameter name in
29748 equivalent expression.
29750 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29753 * manual/users.texi (seteuid): Consistently use neweuid for
29756 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29759 * manual/nss.texi (Services in the NSS configuration): Correct
29760 list of services in example configuration file.
29762 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29765 * manual/arith.texi: Remove statements about negative zero
29766 behaving identically to zero.
29768 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29771 * manual/install.texi: Do not document upgrading from libc5.
29773 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29776 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29778 2012-02-18 David S. Miller <davem@davemloft.net>
29780 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29781 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29782 %o7 across the call.
29783 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29786 SETUP_PIC_REG_LEAF.
29787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29788 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29789 * sysdeps/sparc/crtn.S: Likewise.
29791 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29793 * aout/Makefile: Remove.
29795 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29798 * manual/examples/argp-ex1.c (main): Format definition in GNU
29800 * manual/examples/argp-ex2.c (main): Likewise.
29801 * manual/examples/argp-ex3.c (main): Likewise.
29802 * manual/examples/argp-ex4.c (main): Likewise.
29803 * manual/examples/longopt.c (main): Use new-style prototype
29805 * manual/examples/strncat.c (main): Specify return type and use
29806 (void) for arguments.
29807 * manual/examples/subopt.c (main): Use char **argv argument.
29809 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29812 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29815 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29818 * manual/string.texi (strchr): Change when strchrnul is
29821 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29824 * manual/locale.texi (setlocale): Document LOCPATH.
29826 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29829 * manual/process.texi (execle): Move @dots{} before last argument.
29831 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29834 * manual/charset.texi (Generic Charset Conversion): Fix typo
29835 (LC_TYPE -> LC_CTYPE).
29837 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29840 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29841 (scalbnf): Likewise.
29842 (scalbnl): Likewise.
29843 (scalbln): Likewise.
29844 (scalblnf): Likewise.
29845 (scalblnl): Likewise.
29846 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29847 (vwarnx): Likewise.
29850 * manual/filesys.texi (telldir): Use braces around return type.
29851 * manual/llio.texi (mmap): Add space after comma.
29852 (mmap64): Likewise.
29853 * manual/math.texi (jn): Use @var{} on parameter names.
29859 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29861 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29863 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29864 (sched_get_priority_max): Likewise.
29865 * manual/signal.texi (sigvec): Add space after comma.
29866 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29868 (if_indextoname): Likewise.
29869 (if_freenameindex): Likewise.
29870 (sendto): Use ',' instead of '.' in prototype.
29871 * manual/startup.texi (syscall): Use @dots{} instead of literal
29873 * manual/stdio.texi (__fpending): Separate initial words of
29874 paragraph from @deftypefun line.
29875 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29877 (vsyslog): Use @var{} on parameter names.
29878 * manual/terminal.texi (stty): Use @var{} on parameter names.
29879 * manual/users.texi (getutmp): Use @var{} on parameter names.
29880 (getutmpx): Likewise.
29882 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29885 * manual/stdio.texi (fopen): Fix typos in description of
29888 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29891 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29892 get clock_id definition.
29894 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29897 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29898 (madvise): Cast every argument to void on its own.
29900 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29903 * manual/startup.texi (Exit Status): Fix typo.
29905 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29908 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29909 * manual/examples/argp-ex2.c: Likewise.
29910 * manual/examples/argp-ex3.c: Likewise.
29912 2012-02-16 Richard Henderson <rth@redhat.com>
29914 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29915 * sysdeps/s390/s390-32/initfini.c: Remove.
29916 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29917 * sysdeps/s390/s390-64/initfini.c: Remove.
29919 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29921 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29922 compiler output for sysdeps/generic/initfini.c.
29923 * sysdeps/sh/elf/initfini.c: Remove file.
29925 2012-02-16 David S. Miller <davem@davemloft.net>
29928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29930 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29931 * sysdeps/sparc/crti.S: New file.
29932 * sysdeps/sparc/crtn.S: New file.
29933 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29934 * sysdeps/sparc/sparc64/Makefile: Likewise.
29936 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29939 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29941 2012-02-15 Roland McGrath <roland@hack.frob.com>
29944 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29946 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29947 (write, read, close): Likewise.
29948 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29950 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29952 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29953 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29954 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29955 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29957 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29961 2012-02-14 Marek Polacek <polacek@redhat.com>
29963 * sysdeps/x86_64/crti.S: New file.
29964 * sysdeps/x86_64/crtn.S: New file.
29965 * sysdeps/x86_64/elf/initfini.c: Remove file.
29967 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29969 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29970 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29971 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29972 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29974 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29978 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29980 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29981 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29982 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29983 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29985 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29989 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29991 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29992 __feraiseexcept instead of feraiseexcept.
29994 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29995 nanosleep invocations.
29996 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29997 strings, and add error checking for a nanosleep invocations.
29999 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30001 Replace FSF snail mail address with URLs, as per GNU coding standards.
30002 Most of the snail mail addresses were wrong anyway, and omitting
30003 them makes the source code easier to maintain. Almost all of the
30004 changes are to license notices and to locale LC_IDENTIFICATION
30005 addresses, except for this one:
30006 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30007 not its snail mail address.
30009 2012-02-09 Richard Henderson <rth@twiddle.net>
30011 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30012 of kernel-features.h.
30014 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30016 2012-02-08 Marek Polacek <polacek@redhat.com>
30018 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30019 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30020 * sysdeps/gnu/_G_config.h: Likewise.
30021 * sysdeps/generic/_G_config.h: Likewise.
30023 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30025 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30029 * sysdeps/powerpc/powerpc32/crti.S: New file.
30030 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30031 * sysdeps/powerpc/powerpc64/crti.S: New file.
30032 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30034 * Makeconfig (have-initfini): Don't set.
30035 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30036 * configure.in (nopic_initfini): Don't substitute.
30037 * config.h.in (HAVE_INITFINI): Don't #undef.
30038 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30039 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30041 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30043 Support crti.S and crtn.S provided directly by architectures.
30044 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30045 [crti.S in sysdirs] (omit-deps): Likewise.
30046 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30047 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30048 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30049 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30050 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30051 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30052 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30053 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30054 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30055 compiler output for sysdeps/generic/initfini.c.
30056 * sysdeps/i386/elf/Makefile: Remove file.
30057 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30059 2012-02-07 Marek Polacek <polacek@redhat.com>
30061 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30062 * sysdeps/gnu/_G_config.h: Likewise.
30063 * sysdeps/mach/hurd/_G_config.h: Likewise.
30065 2012-02-07 Marek Polacek <polacek@redhat.com>
30067 * math/Makefile (tests): Add tst-CMPLX2.
30068 * math/tst-CMPLX2.c: New file.
30070 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30074 * math/libm-test.inc (jn_test): Add missing L suffix.
30076 2012-02-06 Marek Polacek <polacek@redhat.com>
30078 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30079 * sysdeps/i386/fpu/e_powf.S: Likewise.
30080 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30081 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30082 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30083 * sysdeps/i386/fpu/e_pow.S: Likewise.
30084 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30085 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30086 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30087 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30088 * sysdeps/i386/fpu/e_log2.S: Likewise.
30089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30090 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30091 * sysdeps/i386/fpu/e_powl.S: Likewise.
30092 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30093 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30094 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30095 * sysdeps/i386/fpu/e_logl.S: Likewise.
30096 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30097 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30098 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30099 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30100 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30101 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30102 * sysdeps/i386/fpu/e_log.S: Likewise.
30103 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30104 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30105 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30106 * sysdeps/i386/fpu/e_logf.S: Likewise.
30107 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30108 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30109 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30110 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30111 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30112 * sysdeps/i386/fpu/e_log10.S: Likewise.
30113 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30114 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30115 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30116 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30117 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30118 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30119 * sysdeps/i386/asm-syntax.h: Likewise.
30120 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30121 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30122 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30123 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30124 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30125 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30126 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30127 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30128 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30129 * sysdeps/powerpc/sysdep.h: Likewise.
30130 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30131 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30133 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30136 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30138 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30140 * sysdeps/i386/sysdep.h: Include <features.h>.
30141 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30144 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30146 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30148 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30151 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30153 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30154 (SETUP_PIC_REG): Use GET_PC_THUNK.
30155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30158 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30160 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30161 for non-PIC compilation.
30162 (SETUP_PIC_REG): Add .p2align directive.
30163 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30164 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30165 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30166 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30167 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30168 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30169 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30170 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30171 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30172 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30173 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30174 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30175 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30176 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30177 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30178 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30179 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30180 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30181 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30182 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30184 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30185 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30186 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30189 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30191 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30192 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30193 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30194 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30195 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30196 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30197 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30198 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30199 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30200 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30201 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30202 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30203 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30205 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30207 * math/tst-CMPLX.c: Include <stdio.h>.
30209 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30211 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30213 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30214 * sysdeps/sparc/bits/mathdef.h: Likewise.
30216 2012-01-31 Marek Polacek <polacek@redhat.com>
30218 * libio/libio.h: Don't define _PARAMS.
30219 * locale/programs/config.h: Don't define PARAMS.
30220 * stdlib/strtol_l.c: Likewise.
30221 (__strtol_l): Remove PARAMS from the prototype.
30223 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30225 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30226 names. Just use the correct names. Remove unnecessary wrapper
30228 * malloc/arena.c: Likewise.
30229 * malloc/hooks.c: Likewise.
30231 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30232 ARENA_TEST says not to. Simplify test for creation of a new arena.
30233 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30235 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30237 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30239 (update_get_addr): New function.
30240 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30241 GET_ADDR_MODULE parameter.
30243 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30245 * crypt/cert.c: Remove __STDC__ conditionals.
30246 * crypt/crypt-entry.c: Likewise.
30247 * crypt/crypt_util.c: Likewise.
30248 * libio/filedoalloc.c: Likewise.
30249 * libio/fileops.c: Likewise.
30250 * libio/genops.c: Likewise.
30251 * libio/iofclose.c: Likewise.
30252 * libio/iofdopen.c: Likewise.
30253 * libio/iofopen.c: Likewise.
30254 * libio/iofopen64.c: Likewise.
30255 * libio/iogetdelim.c: Likewise.
30256 * libio/iopopen.c: Likewise.
30257 * libio/obprintf.c: Likewise.
30258 * libio/oldfileops.c: Likewise.
30259 * libio/oldiofclose.c: Likewise.
30260 * libio/oldiofdopen.c: Likewise.
30261 * libio/oldiofopen.c: Likewise.
30262 * libio/oldiopopen.c: Likewise.
30263 * libio/wfiledoalloc.c: Likewise.
30264 * libio/wgenops.c: Likewise.
30265 * locale/programs/xmalloc.c: Likewise.
30266 * misc/syslog.c: Likewise.
30267 * stdio-common/xbug.c: Likewise.
30268 * string/memchr.c: Likewise.
30269 * string/memcmp.c: Likewise.
30270 * string/memrchr.c: Likewise.
30271 * string/rawmemchr.c: Likewise.
30272 * sysdeps/posix/getcwd.c: Likewise.
30273 * time/strftime_l.c: Likewise.
30275 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30277 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30278 * config.make.in (config-cflags-sse2avx): Define.
30279 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30282 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30284 * scripts/config.guess: Update from upstream config git repository.
30285 * scripts/config.sub: Likewise.
30287 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30289 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30291 (R_TILEPRO_*, R_TILEGX_*): New macros.
30293 * scripts/firstversions.awk: Fix bug in version range handling.
30295 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30297 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30299 * include/sys/epoll.h: New file.
30300 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30303 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30305 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30306 Avoid unnecessary __WORDSIZE == 64 test.
30307 (fmaxf): Use VEX format if possible.
30312 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30313 * math/math_private.h: Remove libc_fegetround* and
30315 * sysdeps/i386/configure.in: Check for -msse2avx.
30316 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30317 also if SSE2AVX is defined.
30318 Remove libc_fegetround* and libc_fesetround*.
30319 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30320 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30329 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30331 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30333 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30335 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30337 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30340 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30342 * Makeconfig (libm): Define.
30343 * elf/Makefile: Add rules to build and run tst-relsort1.
30344 * elf/tst-relsort1.c: New file.
30345 * elf/tst-relsort1mod1.c: New file.
30346 * elf/tst-relsort1mod2.c: New file.
30348 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30350 * math/s_ldexp.c: Remove __STDC__ conditionals.
30351 * math/s_ldexpf.c: Likewise.
30352 * math/s_ldexpl.c: Likewise.
30353 * math/s_nextafter.c: Likewise.
30354 * math/s_nexttowardf.c: Likewise.
30355 * math/s_significand.c: Likewise.
30356 * math/s_significandf.c: Likewise.
30357 * math/s_significandl.c: Likewise.
30358 * math/w_jnl.c: Likewise.
30359 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30360 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30361 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30362 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30363 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30365 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30366 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30367 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30368 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30371 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30372 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30373 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30374 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30376 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30378 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30379 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30380 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30381 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30383 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30384 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30385 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30386 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30387 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30388 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30389 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30390 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30391 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30392 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30393 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30394 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30395 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30396 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30397 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30398 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30399 * sysdeps/ieee754/k_standard.c: Likewise.
30400 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30401 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30402 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30403 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30404 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30405 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30406 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30407 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30408 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30409 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30410 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30411 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30412 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30413 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30414 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30415 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30416 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30417 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30418 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30419 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30422 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30423 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30424 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30425 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30426 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30427 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30429 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30430 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30431 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30432 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30433 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30435 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30436 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30437 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30438 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30439 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30440 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30442 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30443 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30444 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30445 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30448 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30449 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30450 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30451 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30452 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30453 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30454 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30455 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30456 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30457 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30458 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30459 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30460 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30461 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30462 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30463 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30464 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30465 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30466 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30467 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30468 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30469 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30470 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30471 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30472 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30473 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30474 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30475 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30476 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30477 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30478 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30479 * sysdeps/ieee754/s_matherr.c: Likewise.
30480 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30481 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30485 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30487 * crypt/md5.h: Remove __STDC__ conditionals.
30488 * libio/libioP.h: Likewise.
30489 * locale/programs/config.h: Likewise.
30490 * sysdeps/generic/sysdep.h: Likewise.
30491 * sysdeps/i386/asm-syntax.h: Likewise.
30492 * sysdeps/s390/asm-syntax.h: Likewise.
30493 * sysdeps/unix/sysdep.h: Likewise.
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30497 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30499 * libio/libio.h: Remove __STDC__ conditionals.
30500 * malloc/obstack.h: Likewise.
30501 * math/complex.h: Likewise.
30502 * math/math.h: Likewise.
30503 * sysdeps/generic/_G_config.h: Likewise.
30504 * sysdeps/gnu/_G_config.h: Likewise.
30505 * sysdeps/mach/hurd/_G_config.h: Likewise.
30506 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30507 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30508 * sysdeps/sparc/bits/mathdef.h: Likewise.
30510 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30513 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30514 Clean up HAS_* macros.
30515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30516 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30518 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30521 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30522 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30523 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30526 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30528 * elf/tst-unique3.cc (gets): Remove declaration.
30529 * elf/tst-unique3lib.cc (gets): Likewise.
30530 * elf/tst-unique3lib2.cc (gets): Likewise.
30531 * elf/tst-unique4.cc (gets): Likewise.
30533 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30535 * include/stdio.h: Add C++ protection. Add gets declarations and
30537 * debug/tst-chk1.c: Don't declare gets here.
30538 * stdio-common/tst-gets.c: Likewise.
30540 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30542 * posix/glob: Remove directory.
30544 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30546 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30548 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30550 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30551 of the non-standard EPFNOSUPPORT.
30553 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30555 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30556 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30557 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30559 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30561 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30563 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30565 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30567 * nscd/grpcache.c (cache_addgr): Likewise.
30568 * nscd/hstcache.c (cache_addhst): Likewise.
30569 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30570 * nscd/pwdcache.c (cache_addpw): Likewise.
30571 * nscd/servicescache.c (cache_addserv): Likewise.
30573 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30575 * malloc/malloc.c: Various cleanups.
30576 * malloc/hooks.c: Likewise.
30578 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30579 * stdlib/bug-fmtmsg1.c: New file.
30581 * stdlib/fmtmsg.c (init): Add missing unlock.
30582 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30584 2012-01-12 Marek Polacek <polacek@redhat.com>
30586 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30589 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30591 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30592 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30593 macro to ensure uniqueness of label name.
30594 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30595 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30597 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30599 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30601 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30602 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30603 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30606 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30608 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30610 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30611 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30612 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30614 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30616 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30621 * math/bits/math-finite.h: Add ldexp support.
30623 2012-01-10 Marek Polacek <polacek@redhat.com>
30625 * locale/programs/localedef.h (show_archive_content): Add noreturn
30628 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30630 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30632 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30634 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30636 * io/Makefile (headers): Add bits/poll2.h.
30638 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30641 typo #include statement.
30643 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30645 * include/sys/cdefs.h: Define __attribute_alloc_size.
30646 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30647 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30648 * elf/pldd.c: Likewise.
30649 * iconv/iconv_charmap.c: Likewise.
30650 * iconv/iconvconfig.c: Likewise.
30651 * iconv/strtab.c: Likewise.
30652 * locale/programs/locale.c: Likewise.
30653 * locale/programs/localedef.h: Likewise.
30654 * locale/programs/simple-hash.c: Likewise.
30655 * nscd/nscd.h: Likewise.
30656 * nss/makedb.c: Likewise.
30657 * sysdeps/generic/ldconfig.h: Likewise.
30658 * locale/programs/localedef.c: Remove xmalloc prototype.
30659 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30661 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30666 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30668 * math/Makefile (tests): Add tst-CMPLX.
30669 * math/tst-CMPLX.c: New file.
30671 * math/complex.h (CMPLXL): Fix typo.
30673 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30674 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30676 * debug/tst-chk1.c: Add poll and ppoll tests.
30677 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30678 * include/sys/poll.h: Add hidden proto for ppoll.
30679 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30680 * sysdeps/mach/hurd/ppoll.c: Likewise.
30681 * io/ppoll.c: Likewise.
30682 * debug/poll_chk.c: New file.
30683 * debug/ppoll_chk.c: New file.
30684 * include/bits/poll2.h: New file.
30685 * io/bits/poll2.h: New file.
30688 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30690 * configure.in: static is always set to yes. Remove.
30691 * config.make.in: Don't set build-static.
30692 * Makeconfig: Remove use of build-static.
30693 * dlfcn/Makefile: Likewise.
30694 * elf/Makefile: Likewise.
30695 * math/Makefile: Likewise.
30696 * misc/Makefile: Likewise.
30697 * nptl/Makefile: Likewise.
30698 * sysdeps/mach/hurd/Makefile: Likewise.
30700 * configure.in: PWD_P is not used anymore.
30701 * config.make.in: Remove PWD_P entry.
30703 * configure.in: Remove last remnants of RANLIB.
30704 No need to check for signed size_t anymore.
30705 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30707 Remove __builtin_expect test because we require at least gcc 3.4.
30708 * aclocal.m4: Likewise.
30710 * wcsmbs/mbrtoc16.c: Implement using towc function.
30711 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30712 * wcsmbs/wcsmbsload.c: Likewise.
30713 * iconv/gconv_simple.c: Likewise.
30714 * iconv/gconv_int.h: Likewise.
30715 * iconv/gconv_builtin.h: Likewise.
30716 * iconv/iconv_prog.c: Remove CHAR16 handling.
30718 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30720 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30722 * configure.in: Remove --with-elf and --enable-bounded options.
30723 Dont set base_machine for ia64. More non-ELF conditions removed.
30724 Remove testing and setting of leading underscore information.
30725 * config.make.in (build-bounded): Set to no.
30726 * config.h.in: Remove NO_UNDERSCORES entry.
30727 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30729 * csu/start.c: Remove !NO_UNDERSCORE code.
30730 * locale/localeinfo.h: Likewise.
30731 * sysdeps/generic/machine-gmon.h: Likewise.
30732 * sysdeps/generic/sysdep.h: Likewise.
30733 * sysdeps/i386/sysdep.h: Likewise.
30734 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30735 * sysdeps/mach/sysdep.h: Likewise.
30736 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30737 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30738 * sysdeps/sh/sysdep.h: Likewise.
30739 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30740 * sysdeps/unix/i386/sysdep.S: Likewise.
30741 * sysdeps/unix/sparc/start.c: Likewise.
30742 * sysdeps/unix/sparc/sysdep.S: Likewise.
30743 * sysdeps/unix/sparc/sysdep.h: Likewise.
30744 * sysdeps/unix/start.c: Likewise.
30745 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30746 * sysdeps/x86_64/sysdep.h: Likewise.
30748 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30751 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30753 * argp/argp-fmtstream.h: Use const instead __const.
30754 * argp/argp.h: Likewise.
30755 * assert/assert.h: Likewise.
30756 * bits/fenv.h: Likewise.
30757 * bits/sched.h: Likewise.
30758 * bits/sigset.h: Likewise.
30759 * bits/sigthread.h: Likewise.
30760 * catgets/nl_types.h: Likewise.
30761 * conform/data/pthread.h-data: Likewise.
30762 * crypt/crypt-private.h: Likewise.
30763 * crypt/crypt.h: Likewise.
30764 * crypt/crypt_util.c: Likewise.
30765 * ctype/ctype.h: Likewise.
30766 * debug/execinfo.h: Likewise.
30767 * debug/mbsnrtowcs_chk.c: Likewise.
30768 * debug/mbsrtowcs_chk.c: Likewise.
30769 * debug/wcsnrtombs_chk.c: Likewise.
30770 * debug/wcsrtombs_chk.c: Likewise.
30771 * debug/wcstombs_chk.c: Likewise.
30772 * dirent/dirent.h: Likewise.
30773 * dlfcn/dlfcn.h: Likewise.
30774 * elf/neededtest4.c: Likewise.
30775 * grp/grp.h: Likewise.
30776 * gshadow/gshadow.h: Likewise.
30777 * iconv/gconv.h: Likewise.
30778 * iconv/gconv_int.h: Likewise.
30779 * iconv/gconv_simple.c: Likewise.
30780 * iconv/iconv.h: Likewise.
30781 * iconv/loop.c: Likewise.
30782 * iconv/skeleton.c: Likewise.
30783 * include/aio.h: Likewise.
30784 * include/aliases.h: Likewise.
30785 * include/argz.h: Likewise.
30786 * include/arpa/inet.h: Likewise.
30787 * include/assert.h: Likewise.
30788 * include/dirent.h: Likewise.
30789 * include/dlfcn.h: Likewise.
30790 * include/execinfo.h: Likewise.
30791 * include/fcntl.h: Likewise.
30792 * include/fenv.h: Likewise.
30793 * include/glob.h: Likewise.
30794 * include/grp.h: Likewise.
30795 * include/libintl.h: Likewise.
30796 * include/mntent.h: Likewise.
30797 * include/netdb.h: Likewise.
30798 * include/pwd.h: Likewise.
30799 * include/rpc/netdb.h: Likewise.
30800 * include/sched.h: Likewise.
30801 * include/search.h: Likewise.
30802 * include/shadow.h: Likewise.
30803 * include/signal.h: Likewise.
30804 * include/stdio.h: Likewise.
30805 * include/stdlib.h: Likewise.
30806 * include/string.h: Likewise.
30807 * include/sys/socket.h: Likewise.
30808 * include/sys/stat.h: Likewise.
30809 * include/sys/statfs.h: Likewise.
30810 * include/sys/statvfs.h: Likewise.
30811 * include/sys/syslog.h: Likewise.
30812 * include/sys/time.h: Likewise.
30813 * include/sys/uio.h: Likewise.
30814 * include/time.h: Likewise.
30815 * include/unistd.h: Likewise.
30816 * include/utmp.h: Likewise.
30817 * include/wchar.h: Likewise.
30818 * include/wctype.h: Likewise.
30819 * inet/aliases.h: Likewise.
30820 * inet/arpa/inet.h: Likewise.
30821 * inet/netinet/ether.h: Likewise.
30822 * inet/netinet/in.h: Likewise.
30823 * intl/libintl.h: Likewise.
30824 * io/bits/fcntl2.h: Likewise.
30825 * io/fcntl.h: Likewise.
30826 * io/ftw.h: Likewise.
30827 * io/sys/poll.h: Likewise.
30828 * io/sys/stat.h: Likewise.
30829 * io/sys/statfs.h: Likewise.
30830 * io/sys/statvfs.h: Likewise.
30831 * io/utime.h: Likewise.
30832 * libio/bits/stdio.h: Likewise.
30833 * libio/bits/stdio2.h: Likewise.
30834 * libio/libio.h: Likewise.
30835 * libio/libioP.h: Likewise.
30836 * libio/stdio.h: Likewise.
30837 * locale/lc-ctype.c: Likewise.
30838 * locale/locale.h: Likewise.
30839 * login/utmp.h: Likewise.
30840 * malloc/arena.c: Likewise.
30841 * malloc/malloc.c: Likewise.
30842 * malloc/malloc.h: Likewise.
30843 * malloc/mcheck.c: Likewise.
30844 * malloc/mtrace.c: Likewise.
30845 * math/bits/mathcalls.h: Likewise.
30846 * math/fenv.h: Likewise.
30847 * math/math_private.h: Likewise.
30848 * misc/bits/error.h: Likewise.
30849 * misc/bits/syslog.h: Likewise.
30850 * misc/err.h: Likewise.
30851 * misc/error.h: Likewise.
30852 * misc/fstab.h: Likewise.
30853 * misc/mntent.h: Likewise.
30854 * misc/regexp.h: Likewise.
30855 * misc/search.h: Likewise.
30856 * misc/sgtty.h: Likewise.
30857 * misc/sys/mman.h: Likewise.
30858 * misc/sys/syslog.h: Likewise.
30859 * misc/sys/uio.h: Likewise.
30860 * misc/sys/xattr.h: Likewise.
30861 * misc/ttyent.h: Likewise.
30862 * nis/rpcsvc/ypclnt.h: Likewise.
30863 * nss/nss.h: Likewise.
30864 * posix/bits/unistd.h: Likewise.
30865 * posix/fnmatch.h: Likewise.
30866 * posix/glob.h: Likewise.
30867 * posix/sched.h: Likewise.
30868 * posix/spawn.h: Likewise.
30869 * posix/sys/wait.h: Likewise.
30870 * posix/unistd.h: Likewise.
30871 * posix/wordexp.h: Likewise.
30872 * pwd/pwd.h: Likewise.
30873 * resolv/netdb.h: Likewise.
30874 * resource/sys/resource.h: Likewise.
30875 * rt/aio.h: Likewise.
30876 * rt/bits/mqueue2.h: Likewise.
30877 * rt/mqueue.h: Likewise.
30878 * shadow/shadow.h: Likewise.
30879 * signal/signal.h: Likewise.
30880 * socket/send.c: Likewise.
30881 * socket/sendto.c: Likewise.
30882 * socket/sys/socket.h: Likewise.
30883 * stdio-common/printf.h: Likewise.
30884 * stdlib/bits/stdlib.h: Likewise.
30885 * stdlib/fmtmsg.h: Likewise.
30886 * stdlib/monetary.h: Likewise.
30887 * stdlib/stdlib.h: Likewise.
30888 * stdlib/ucontext.h: Likewise.
30889 * streams/stropts.h: Likewise.
30890 * string/argz.h: Likewise.
30891 * string/bits/string2.h: Likewise.
30892 * string/string.h: Likewise.
30893 * string/strings.h: Likewise.
30894 * sunrpc/rpc/auth.h: Likewise.
30895 * sunrpc/rpc/auth_des.h: Likewise.
30896 * sunrpc/rpc/clnt.h: Likewise.
30897 * sunrpc/rpc/netdb.h: Likewise.
30898 * sunrpc/rpc/pmap_clnt.h: Likewise.
30899 * sunrpc/rpc/xdr.h: Likewise.
30900 * sysdeps/generic/inttypes.h: Likewise.
30901 * sysdeps/generic/net/if.h: Likewise.
30902 * sysdeps/generic/sys/swap.h: Likewise.
30903 * sysdeps/gnu/net/if.h: Likewise.
30904 * sysdeps/gnu/utmpx.h: Likewise.
30905 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30906 * sysdeps/i386/i486/bits/string.h: Likewise.
30907 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30908 * sysdeps/s390/bits/string.h: Likewise.
30909 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30910 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30911 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30912 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30913 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30914 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30915 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30916 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30917 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30918 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30919 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30920 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30921 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30922 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30923 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30924 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30925 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30927 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30928 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30929 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30930 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30931 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30932 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30933 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30934 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30935 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30936 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30937 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30938 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30939 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30940 * sysvipc/sys/ipc.h: Likewise.
30941 * sysvipc/sys/msg.h: Likewise.
30942 * sysvipc/sys/sem.h: Likewise.
30943 * sysvipc/sys/shm.h: Likewise.
30944 * termios/termios.h: Likewise.
30945 * time/sys/time.h: Likewise.
30946 * time/time.h: Likewise.
30947 * wcsmbs/bits/wchar2.h: Likewise.
30948 * wcsmbs/uchar.h: Likewise.
30949 * wcsmbs/wchar.h: Likewise.
30950 * wctype/wctype.h: Likewise.
30953 * Makeconfig: Remove all but ELF support including AIX support.
30954 * Makerules: Likewise.
30955 * config.h.in: Likewise.
30956 * config.make.in: Likewise.
30957 * configure: Likewise.
30958 * configure.in: Likewise.
30959 * csu/Makefile: Likewise.
30960 * csu/version.c: Likewise.
30961 * debug/Makefile: Likewise.
30962 * dlfcn/Makefile: Likewise.
30963 * elf/Makefile: Likewise.
30964 * extra-lib.mk: Likewise.
30965 * iconv/Makefile: Likewise.
30966 * include/libc-symbols.h: Likewise.
30967 * include/shlib-compat.h: Likewise.
30968 * resolv/Makefile: Likewise.
30969 * resolv/res_libc.c: Likewise.
30970 * rt/Makefile: Likewise.
30971 * sysdeps/i386/asm-syntax.h: Likewise.
30972 * sysdeps/i386/sysdep.h: Likewise.
30973 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30974 * sysdeps/mach/sysdep.h: Likewise.
30975 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30976 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30977 * sysdeps/s390/asm-syntax.h: Likewise.
30978 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30979 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30980 * sysdeps/sh/sysdep.h: Likewise.
30981 * sysdeps/unix/sparc/sysdep.h: Likewise.
30982 * sysdeps/wordsize-32/divdi3.c: Likewise.
30983 * sysdeps/x86_64/sysdep.h: Likewise.
30985 * argp/Versions: Remove _argp_unlock_xxx.
30988 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30989 * abilist/libBrokenLocale.abilist: Likewise.
30990 * abilist/libanl.abilist: Likewise.
30991 * abilist/libc.abilist: Likewise.
30992 * abilist/libcrypt.abilist: Likewise.
30993 * abilist/libdl.abilist: Likewise.
30994 * abilist/libm.abilist: Likewise.
30995 * abilist/libnsl.abilist: Likewise.
30996 * abilist/libpthread.abilist: Likewise.
30997 * abilist/libresolv.abilist: Likewise.
30998 * abilist/librt.abilist: Likewise.
30999 * abilist/libthread_db.abilist: Likewise.
31000 * abilist/libutil.abilist: Likewise.
31001 * abilist/libnss_db.abilist: New file.
31003 * scripts/abilist.awk: Add support for indirect functions.
31005 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31007 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31009 * shlib-versions: Remove entries for ports architectures.
31011 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31013 * elf/stackguard-macros.h: Remove support for IA-64.
31014 * elf/tst-auditmod1.c: Likewise.
31015 * sysdeps/generic/ldsodefs.h: Likewise.
31017 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31018 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31022 * configure.in: Remove --enable-omitfp support.
31024 * config.make.in: Likewise.
31025 * Makeconfig: Likewise.
31026 * manual/install.texi: Likewise.
31028 In case anyone cares, the IA-64 architecture could move to ports.
31029 * sysdeps/ia64/*: Removed.
31030 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31031 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31034 * configure.in: Remove entries for unsupported architectures.
31037 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31038 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31040 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31041 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31042 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31043 fall back to using wcrtomb.
31044 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31045 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31047 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31048 * wcsmbs/tst-c16c32-1.c: New file.
31050 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31053 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31055 * elf/tst-unique3.cc: Add explicit declaration of gets.
31056 * elf/tst-unique3lib.cc: Likewise.
31057 * elf/tst-unique3lib2.cc: Likewise.
31058 * elf/tst-unique4.cc: Likewise.
31060 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31062 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31065 * assert/assert.h (static_assert): Don't define for C++.
31066 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31067 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31069 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31071 * iconv/loop.c (single loop): Fix assertion in storing of
31074 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31076 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31078 * posix/getconf.c: Update copyright year.
31079 * nss/getent.c: Likewise.
31080 * nss/makedb.c: Likewise.
31081 * iconv/iconvconfig.c: Likewise.
31082 * iconv/iconv_prog.c: Likewise.
31083 * elf/ldconfig.c: Likewise.
31084 * elf/pldd.c: Likewise.
31085 * elf/sotruss.ksh: Likewise.
31086 * catgets/gencat.c: Likewise.
31087 * csu/version.c: Likewise.
31088 * elf/ldd.bash.in: Likewise.
31089 * elf/sprof.c (print_version): Likewise.
31090 * locale/programs/locale.c: Likewise.
31091 * locale/programs/localedef.c: Likewise.
31092 * login/programs/pt_chown.c: Likewise.
31093 * nscd/nscd.c (print_version): Likewise.
31094 * debug/xtrace.sh: Likewise.
31095 * malloc/memusage.sh: Likewise.
31096 * malloc/mtrace.pl: Likewise.
31097 * debug/catchsegv.sh: Likewise.
31099 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31101 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31104 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31107 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31108 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31110 * iconv/gconv_int.h: Likewise.
31111 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31112 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31113 from libc for GLIBC_2.16.
31114 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31115 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31116 * wcsmbs/uchar.h: Really define mbstate_t.
31117 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31118 * wcsmbs/c16rtomb.c: New file.
31119 * wcsmbs/mbrtoc16.c: New file.
31120 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31121 for C/POSIX locale.
31122 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31123 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31125 * wcsmbs/wchar.h: Add missing __restrict.
31127 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31130 * time/Makefile (routines): Add timespec_get.
31131 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31132 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31133 timespec for ISO C11.
31134 * time/timespec_get.c: New file.
31135 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31136 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31139 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31140 * stdlib/stdlib.h: Declare aligned_alloc.
31141 * Versions.def: Add GLIBC_2.16 for libc.
31142 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31145 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31148 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31152 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31155 * assert/assert.h (static_assert): Define.
31157 * version.h: Update for 2.16 development version.
31160 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31163 * version.h (RELEASE): Bump for 2.15 release.
31164 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31166 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31167 Patch by Marek Polacek <mpolacek@redhat.com>.
31169 * bits/byteswap.h: Protect long long constants with __extension__.
31170 * sysdeps/i386/bits/byteswap.h: Likewise.
31171 * sysdeps/ia64/bits/byteswap.h: Likewise.
31172 * sysdeps/s390/bits/byteswap.h: Likewise.
31173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31175 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31179 destination buffer.
31180 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31182 2011-12-23 Marek Polacek <polacek@redhat.com>
31184 * elf/dl-addr.c (determine_info): Add inline keyword.
31185 * elf/tst-auditmod4b.c (check_avx): Likewise.
31186 * elf/tst-auditmod6b.c (check_avx): Likewise.
31187 * elf/tst-auditmod6c.c (check_avx): Likewise.
31188 * elf/tst-auditmod7b.c (check_avx): Likewise.
31190 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31192 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31195 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31198 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31199 processing for last bytes.
31201 2011-08-06 Bruno Haible <bruno@clisp.org>
31204 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31205 U+0385, not to U+1FEE.
31208 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31209 entry for U+00A5 U+0301.
31211 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31214 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31215 buffer for the output is too small.
31217 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31221 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31222 SSE flags if possible.
31224 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31227 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31228 processing for last bytes.
31230 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31232 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31233 (syscall-list-default-options, syscall-list-default-condition)
31234 (syscall-list-includes): Define.
31235 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31236 list of ABIs and options and #if conditions for each ABI. Do not
31237 handle common syscalls between ABIs specially.
31238 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31240 (syscall-list-variants, syscall-list-32bit-options)
31241 (syscall-list-32bit-condition, syscall-list-64bit-options)
31242 (syscall-list-64bit-condition): Define.
31243 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31244 (syscall-list-variants, syscall-list-32bit-options)
31245 (syscall-list-32bit-condition, syscall-list-64bit-options)
31246 (syscall-list-64bit-condition): Define.
31247 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31249 (syscall-list-variants, syscall-list-32bit-options)
31250 (syscall-list-32bit-condition, syscall-list-64bit-options)
31251 (syscall-list-64bit-condition): Define.
31252 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31254 (syscall-list-variants, syscall-list-32bit-options)
31255 (syscall-list-32bit-condition, syscall-list-64bit-options)
31256 (syscall-list-64bit-condition): Define.
31258 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31260 * locale/iso-639.def: Add brx entry.
31263 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31264 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31266 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31267 __feraiseexcept_renamed.
31269 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31272 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31273 EPOLLET with unsigned values.
31274 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31277 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31278 to large cancellation.
31279 * math/s_cacoshf.c: Likewise.
31280 * math/s_cacoshl.c: Likewise.
31282 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31286 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31287 * math/s_cacoshf.c: Likewise.
31288 * math/s_cacoshl.c: Likewise.
31290 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31293 * iconv/gconv.h: Define __GCONV_SWAP.
31294 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31295 * iconvdata/utf-16.c: Likewise.
31296 * iconvdata/utf-32.c: Likewise.
31298 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31301 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31302 numerator after shifting it by one limb.
31304 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31306 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31307 under [__USE_EXTERN_INLINES].
31309 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31312 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31314 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31316 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31317 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31319 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31320 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31321 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31322 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31323 for strncasecmp/strncasecmp_l compilation.
31324 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31325 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31327 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31330 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31333 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31336 * time/tzfile.c (__tzfile_read): Check values from file header.
31338 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31340 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31341 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31342 * powerpc/powerpc32/dl-start.S: Likewise.
31343 * powerpc/powerpc32/elf/start.S: Likewise.
31344 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31345 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31346 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31347 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31348 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31349 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31350 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31351 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31352 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31353 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31354 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31355 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31356 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31357 * powerpc/powerpc32/memset.S: Likewise.
31358 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31359 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31360 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31361 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31362 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31363 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31364 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31365 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31366 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31367 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31368 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31369 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31370 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31372 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31374 * math/libm-test.inc: Added more nearbyint tests.
31375 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31376 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31377 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31378 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31380 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31382 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31385 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31387 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31388 Add wcscpy-ssse3 wcscpy-c.
31389 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31390 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31391 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31392 * sysdeps/x86_64/wcschr.S: New file.
31393 * sysdeps/x86_64/wcsrchr.S: New file.
31394 * string/test-strcmp.c: Remove checking of wcscmp function for
31396 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31397 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31398 wcsrchr-sse2 wcsrchr-c.
31399 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31400 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31401 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31402 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31403 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31404 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31405 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31406 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31407 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31408 * wcsmbc/wcschr.c (WCSCHR): New macro.
31410 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31412 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31413 * wcsmbs/test-wcsrchr.c: New file.
31414 * string/test-strrchr.c: Add wcsrchr support.
31416 * wcsmbs/test-wcscpy.c: New file.
31417 * string/test-strcpy.c: Add wcscpy support.
31420 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31422 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31425 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31428 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31430 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31432 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31433 Minor optimizations.
31435 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31436 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31437 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31439 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31441 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31442 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31443 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31444 for gcc to avoid warnings.
31445 * inet/Makefile (tests): Add tst-checks.
31446 * inet/tst-checks.c: New file.
31448 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31451 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31454 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31455 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31457 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31459 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31461 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31464 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31466 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31468 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31469 conditional on GCC version.
31470 (__arch_compare_and_exchange_val_8_acq)
31471 (__arch_compare_and_exchange_val_16_acq)
31472 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31473 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31474 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31476 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31478 * sysdeps/sh/backtrace.c: New file.
31480 2011-12-02 Andreas Schwab <schwab@redhat.com>
31482 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31485 2011-12-01 Andreas Schwab <schwab@redhat.com>
31487 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31488 falling back to utime.
31490 2011-11-30 Andreas Schwab <schwab@redhat.com>
31492 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31493 expectations for float.
31495 2011-11-29 Andreas Schwab <schwab@redhat.com>
31497 * locale/weight.h (findidx): Add parameter len.
31498 * locale/weightwc.h (findidx): Likewise.
31499 * posix/fnmatch_loop.c (FCT): Adjust caller.
31500 * posix/regcomp.c (build_equiv_class): Likewise.
31501 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31502 * posix/regexec.c (check_node_accept_bytes): Likewise.
31503 * string/strcoll_l.c (STRCOLL): Likewise.
31504 * string/strxfrm_l.c (STRXFRM): Likewise.
31506 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31508 * Makefile.in: Remove CVSOPT handling.
31509 * configure.in: Remove use of AC_REVISION.
31510 * iconvdata/Makefile (distribute): No need to filter out CVS.
31511 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31514 2011-11-16 Andreas Schwab <schwab@redhat.com>
31516 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31517 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31518 [USE_AS_STRNCASECMP_L]: Likewise.
31519 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31520 NO_TLS_DIRECT_SEG_REFS.
31521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31522 Fix argument offsets for non-PIC.
31523 [USE_AS_STRNCASECMP_L]: Likewise.
31524 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31525 NO_TLS_DIRECT_SEG_REFS.
31527 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31529 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31531 * locale/loadlocale.c (_nl_load_locale): Likewise.
31533 2011-11-15 Andreas Schwab <schwab@redhat.com>
31535 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31536 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31538 (SYSCALL_GETTIME): Set errno on error.
31540 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31541 count references to noai6ai_cached.
31543 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31545 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31547 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31548 FD_CLOEXEC for /proc/self/maps.
31550 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31551 FD_CLOEXEC for /proc/meminfo.
31553 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31556 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31557 FD_CLOEXEC for given file.
31559 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31561 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31562 FD_CLOEXEC for /etc/hosts.
31563 (_gethtent): Likewise.
31565 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31567 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31568 cancellation and set FD_CLOEXEC for /etc/netgroup.
31570 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31571 reading /etc/publickey.
31573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31574 allow cancellation when reading /etc/group.
31576 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31578 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31580 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31581 when using data file.
31583 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31585 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31586 (write_nis_obj): Use "c" and "e" in fopen.
31588 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31590 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31592 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31594 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31596 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31599 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31601 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31603 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31605 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31606 file parsing and set FD_CLOEXEC.
31608 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31610 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31612 2011-11-14 Andreas Schwab <schwab@redhat.com>
31614 * malloc/arena.c (arena_get2): Don't call reused_arena when
31615 _int_new_arena failed.
31617 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31619 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31620 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31621 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31622 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31623 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31625 to compile strcasecmp and strncasecmp.
31626 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31627 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31631 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31633 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31634 locale-defines.sym to gen-as-const-headers.
31635 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31636 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31638 to compile strcasecmp and strncasecmp.
31639 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31640 strcasecmp_l and strncasecmp_l.
31641 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31642 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31643 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31644 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31645 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31646 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31647 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31648 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31649 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31650 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31651 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31653 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31655 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31656 result of SYSDEP_GETTIME_CPU to retval.
31657 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31658 parameter list to macro. Remove trailing semicolon. Adjust users.
31660 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31663 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31665 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31667 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31668 from unused variable.
31670 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31672 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31675 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31678 * sunrpc/rpc_prot.c (rejected): Fix case value.
31680 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31681 unsigned long long int to avoid warnings in shift.
31683 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31685 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31688 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31689 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31690 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31692 * nis/nis_table.c (nis_list): Use variable of correct type for
31693 result of __follow_path call.
31695 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31697 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31698 of math functions ceil, trunc, floor, round, and sqrt, when
31699 avaliable on the platform.
31700 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31702 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31703 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31704 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31706 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31708 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31709 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31711 2011-11-11 Roland McGrath <roland@hack.frob.com>
31713 * include/unistd.h: Fix __readlink return type.
31714 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31716 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31718 * stdlib/ucontext.h: Undo last change for makecontext.
31720 2011-11-11 Andreas Schwab <schwab@redhat.com>
31722 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31724 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31725 * setjmp/setjmp.h: Mark functions as non-leaf.
31726 * setjmp/bits/setjmp2.h: Likewise.
31727 * stdlib/ucontext.h: Likewise.
31729 2011-11-10 Andreas Schwab <schwab@redhat.com>
31731 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31732 (reused_arena): Don't check arena limit.
31733 (arena_get2): Atomically check arena limit.
31735 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31737 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31738 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31743 2011-11-07 Andreas Schwab <schwab@redhat.com>
31745 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31746 handler when locking.
31748 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31749 Fix size of allocated buffer.
31751 2011-11-04 Andreas Schwab <schwab@redhat.com>
31754 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31755 declarations for long double functions.
31756 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31758 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31760 2011-11-03 Andreas Schwab <schwab@redhat.com>
31762 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31765 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31768 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31770 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31772 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31774 * include/alloca.h (stackinfo_alloca_round): Define.
31775 (extend_alloca): Use it.
31776 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31777 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31780 * scripts/check-local-headers.sh: Ignore libaudit.h.
31782 * nscd/Makefile (extra-objs): Make recursively expanded.
31784 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31786 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31789 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31790 * posix/tst-rfc3484-2.c: Likewise.
31791 * posix/tst-rfc3484-3.c: Likewise.
31793 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31795 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31797 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31798 process_vm_writev from libc using GLIBC_2.15 version.
31800 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31802 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31804 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31807 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31810 * nss/getent.c (initgroups_keys): Show error message in case no group
31813 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31814 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31815 __bump_nl_timestamp.
31816 * nscd/connections (nscd_init): When host database is served open
31817 netlink socket and request notification about configuration changes.
31818 (main_loop_poll): Track netlink file descriptor and bump timestamp
31819 in case data becomes available.
31820 (main_loop_epoll): Likewise.
31821 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31822 (database_pers_head): Add extra_data fileds.
31823 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31824 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31825 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31828 in6ai data, call __free_in6ai.
31829 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31830 Add -DHAVE_NETLINK.
31831 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31832 interface information. Reuse previous data if netlink timestamp
31834 (__bump_nl_timestamp): New function.
31835 (__free_in6ai): New function.
31837 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31839 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31840 close_not_cancel_no_status here.
31841 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31843 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31846 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31849 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31850 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31851 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31853 2011-07-03 Andreas Jaeger <aj@suse.de>
31856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31857 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31858 * math/libm-test.inc (sin_test): Add test case.
31860 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31863 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31864 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31866 * elf/chroot_canon.c (chroot_canon): Cleanups.
31868 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31871 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31872 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31874 * string/test-strchr.c: Make usable for strchrnul testing.
31875 * string/test-strchrnul.c: New file.
31876 * string/Makefile (strop-tests): Add strchrnul.
31878 * po/it.po: Update from translation team.
31879 * po/es.po: Likewise.
31881 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31883 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31884 the three constants needed as parameters. Drop the others.
31885 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31886 __m128i_strloadu_tolower.
31887 Create and initialize variable zero and use it in all the places
31888 where _mm_setzero_si128 was used.
31890 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31891 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31892 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31893 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31895 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31896 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31897 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31898 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31899 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31900 __mpranred, __mptan.
31901 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31902 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31903 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31904 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31905 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31906 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31908 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31909 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31911 2011-10-28 Andreas Schwab <schwab@redhat.com>
31913 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31914 redefine if SHARED.
31915 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31918 wide char related routines to wcsmbs subdir.
31920 2011-10-27 Andreas Schwab <schwab@redhat.com>
31923 * misc/sys/cdefs.h (__THROWNL): Define.
31924 * posix/unistd.h: Use __THREADNL instead of __THREAD
31925 for memory synchronization functions.
31927 2011-10-26 Roland McGrath <roland@hack.frob.com>
31930 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31932 * manual/stdio.texi (Obstack Streams): Node removed.
31934 2011-10-26 Andreas Schwab <schwab@redhat.com>
31936 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31937 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31938 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31940 * math/math_private.h (math_force_eval): Allow non-addressable
31942 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31944 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31947 file is not needed.
31949 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31951 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31952 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31953 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31955 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31956 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31958 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31959 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31960 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31961 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31962 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31963 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31964 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31965 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31966 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31967 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31968 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31969 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31971 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31972 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31973 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31974 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31975 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31976 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31978 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31979 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31981 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31982 place. Use VEX encoding when compiling for AVX.
31984 2011-10-25 Andreas Schwab <schwab@redhat.com>
31986 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31987 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31989 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31991 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31993 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31994 useless if() expression.
31995 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32003 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32005 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32006 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32007 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32008 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32009 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32010 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32011 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32013 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32015 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32017 2011-10-25 Andreas Schwab <schwab@redhat.com>
32019 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32021 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32023 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32025 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32026 .text section. Avoid duplicate constants.
32027 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32031 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32035 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32036 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32037 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32038 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32039 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32040 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32041 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32042 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32043 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32044 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32045 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32047 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32048 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32049 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32050 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32051 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32052 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32053 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32054 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32055 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32056 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32057 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32058 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32059 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32060 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32061 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32062 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32063 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32064 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32065 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32066 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32067 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32068 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32069 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32070 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32071 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32073 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32075 * sysdeps/x86_64/dla.h: Move to ...
32076 * sysdeps/x86_64/fpu/dla.h: ...here.
32077 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32078 situations. Use __builtin_fma only for gcc 4.6 and up.
32080 * config.make.in: Add have-mfma4 entry.
32081 * configure.in: Substitute libc_cv_cc_fma4.
32082 * math/Makefile (dbl-only-routines): Add sincostab.
32083 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32084 Use __sincostab not sincos.
32085 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32092 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32093 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32094 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32095 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32098 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32100 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32101 define aliases when function name is a macro.
32102 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32103 sysdeps/ieee754/dbl-64/sincos.tbl.
32104 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32105 fma4-enabled routines.
32106 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32107 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32108 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32109 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32110 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32111 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32113 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32115 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32116 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32117 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32118 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32119 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32120 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32121 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32122 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32123 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32124 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32125 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32126 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32127 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32129 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32130 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32131 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32132 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32133 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32134 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32135 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32137 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32148 2011-10-24 Andreas Schwab <schwab@redhat.com>
32150 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32152 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32154 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32156 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32158 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32160 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32161 Remove unused variable magic_bits.
32162 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32164 * string/strnlen.c: Define and use STRNLEN macro.
32165 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32166 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32167 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32168 * wcsmbs/wcslen.c: Define and use WCSLEN.
32169 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32170 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32171 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32172 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32173 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32174 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32175 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32177 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32180 strnlen-sse2-no-bsf.
32181 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32182 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32183 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32184 Add strnlen support.
32185 (USE_AS_STRNLEN): New macro.
32186 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32187 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32188 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32189 * sysdeps/x86_64/wcslen.S: New file.
32191 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32194 XMM-moves are used for copying on small sizes.
32196 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32198 * wcsmbs/Makefile (strop-tests): Add wcschr.
32199 * wcsmbs/test-wcschr.c: New file.
32200 * string/test-strchr.c: Update.
32201 Add wcschr support.
32204 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32206 * wcsmbs/Makefile (strop-tests): Add wcslen.
32207 * wcsmbs/test-wcslen.c: New file.
32208 * string/test-strlen.c: Update.
32209 Add wcslen support.
32212 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32214 * po/it.po: Update from translation team.
32216 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32218 * sysdeps/x86_64/wcscmp.S: Update.
32219 Fix wrong comparison semantics.
32220 wcscmp shall use signed comparison not unsigned.
32221 Don't use substraction to avoid overflow bug.
32222 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32223 * wcsmbc/wcscmp.c: Likewise.
32224 * string/test-strcmp.c: Likewise.
32225 Add new tests to check cases with negative values.
32227 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32229 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32230 * sysdeps/x86_64/dla.h: ...here. New file.
32231 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32232 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32236 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32238 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32241 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32244 __ynl_finite aliases.
32246 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32250 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32252 [DLA_FMA] (EMULV): Use DLA_FMA.
32253 [DLA_FMA] (MUL12): Use EMULV.
32254 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32255 that are not needed.
32256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32258 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32264 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32266 * math/s_nan.c: Undef __nan.
32267 * math/s_nanf.c: Undef __nanf.
32268 * math/s_nanl.c: Undef __nanl.
32269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32272 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32274 * math/s_catan.c: Add branch predictions.
32275 * math/s_catanf.c: Likewise.
32276 * math/s_catanh.c: Likewise.
32277 * math/s_catanhf.c: Likewise.
32278 * math/s_catanhl.c: Likewise.
32279 * math/s_catanl.c: Likewise.
32280 * math/s_cexp.c: Likewise.
32281 * math/s_cexpf.c: Likewise.
32282 * math/s_cexpl.c: Likewise.
32283 * math/s_clog.c: Likewise.
32284 * math/s_clog10.c: Likewise.
32285 * math/s_clog10f.c: Likewise.
32286 * math/s_clog10l.c: Likewise.
32287 * math/s_clogf.c: Likewise.
32288 * math/s_clogl.c: Likewise.
32289 * math/s_csqrt.c: Likewise.
32290 * math/s_csqrtf.c: Likewise.
32291 * math/s_csqrtl.c: Likewise.
32292 * math/s_ctanf.c: Likewise.
32293 * math/s_ctanh.c: Likewise.
32294 * math/s_ctanhf.c: Likewise.
32295 * math/s_ctanhl.c: Likewise.
32296 * math/s_ctanl.c: Likewise.
32298 * math/math_private.h: Define __nan, __nanf, __nanl.
32299 * math/s_cacosh.c: Include <math_private.h>.
32300 * math/s_cacoshl.c: Likewise.
32301 * math/s_casinh.c: Likewise.
32302 * math/s_casinhf.c: Likewise.
32303 * math/s_casinhl.c: Likewise.
32304 * math/s_ccos.c: Rely entire on ccosh.
32305 * math/s_ccosf.c: Rely entire on ccoshf.
32306 * math/s_ccosl.c: Rely entirely on ccoshl.
32307 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32308 Remove tests for FE_INVALID.
32309 * math/s_ccoshf.c: Likewise.
32310 * math/s_ccoshl.c: Likewise.
32311 * math/s_csin.c: Likewise.
32312 * math/s_csinf.c: Likewise.
32313 * math/s_csinh.c Likewise.
32314 * math/s_csinhf.c: Likewise.
32315 * math/s_csinhl.c: Likewise.
32316 * math/s_csinl.c: Likewise.
32317 * math/s_ctan.c: Likewise.
32318 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32319 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32320 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32322 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32325 compilation problems.
32327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32330 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32332 * sysdeps/i386/configure.in: Test for -mfma4 option.
32333 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32334 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32335 COMMON_CPUID_INDEX_80000001.
32336 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32337 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32338 use it if FMA3 is not supported.
32339 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32341 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32342 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32344 2011-10-20 Andreas Schwab <schwab@redhat.com>
32347 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32348 it would create a cycle with a link time dependency.
32350 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32352 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32354 * string/Makefile (strop-tests): Add rawmemchr.
32355 * string/test-rawmemchr.c: New file.
32357 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32358 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32359 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32360 when compiling str{,n}casecmp and when AVX is available. Hook up
32361 new optimized code in initializers.
32363 2011-10-19 Andreas Schwab <schwab@redhat.com>
32365 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32366 __feraiseexcept instead of feraiseexcept.
32368 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32370 * math/math_private.h: Define defaults for libc_fetestexcept and
32372 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32373 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32374 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32375 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32376 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32377 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32378 libc_fetestexcept and libc_feupdateenv.
32380 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32381 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32382 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32383 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32384 libc_feholdexcept_setround.
32386 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32387 Add s_nearbyint-c and s_nearbyintf-c.
32388 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32389 nearbyintf inlines.
32390 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32391 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32392 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32393 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32395 * math/math_private.h: Define defaults for libc_fegetround,
32396 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32397 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32398 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32400 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32401 standard functions.
32402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32403 Remove comments and hacks for old compiler versions.
32404 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32405 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32406 libc_feholdexceptl.
32408 2011-10-18 Andreas Schwab <schwab@redhat.com>
32410 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32411 (__feraiseexcept_renamed): Add __NTH.
32412 (feraiseexcept): Add __NTH. Rename local variables to fix
32413 namespace violations.
32415 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32417 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32419 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32421 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32422 recently added interfaces.
32423 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32425 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32426 about macro parameter expansion.
32428 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32429 __NO_MATH_INLINES is defined. Cleanups.
32431 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32432 and __floorf is target has SSE4.1.
32433 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32434 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32435 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32436 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32438 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32440 (floorf): Likewise.
32442 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32444 2011-10-17 Andreas Schwab <schwab@redhat.com>
32446 * misc/sys/cdefs.h: Fix last change.
32448 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32451 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32453 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32455 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32457 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32458 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32460 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32461 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32462 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32463 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32464 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32465 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32466 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32467 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32468 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32469 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32470 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32471 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32472 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32473 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32474 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32475 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32476 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32478 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32479 ceil, ceilf, floor, floorf.
32481 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32482 Perform IRELATIVE relocations last.
32484 * elf/do-rel.h: Add another parameter nrelative, replacing the
32485 local variable with the same name. Change name of the function
32486 to end in Rel or Rela (uppercase).
32487 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32488 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32489 elf_dynamic_do_##reloc function.
32491 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32493 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32494 is sufficient, at least on modern CPUs.
32496 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32498 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32499 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32501 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32503 * math/bits/math-finite.h: Add entries for exp.
32504 * math/e_expl.c: Add __*_finite alias.
32505 * sysdeps/i386/fpu/e_exp.S: Likewise.
32506 * sysdeps/i386/fpu/e_expf.S: Likewise.
32507 * sysdeps/i386/fpu/e_expl.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32509 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32510 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32513 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32514 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32516 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32517 is sufficient, at least on modern CPUs.
32519 * ctype/ctype-info.c (__ctype_init): Define.
32520 * include/ctype.h (__ctype_init): Declare.
32521 (__ctype_b_loc): The variable is always initialized.
32522 (__ctype_toupper_loc): Likewise.
32523 (__ctype_tolower_loc): Likewise.
32524 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32525 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32527 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32529 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32531 * configure.in: Also look in $cxxmachine/include for C++ system
32534 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32536 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32537 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32538 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32539 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32540 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32541 (USE_AS_WMEMCMP): New macro.
32543 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32544 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32545 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32546 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32548 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32549 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32550 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32551 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32552 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32553 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32554 (USE_AS_WMEMCMP): New macro.
32555 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32556 * sysdeps/string/test-memcmp.c: Update.
32557 Fix simple_wmemcmp.
32559 * wcsmbs/wmemcmp.c: Update.
32560 (WMEMCMP): New macro.
32563 2011-10-12 Andreas Jaeger <aj@suse.de>
32566 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32568 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32570 * libio/iofwide.c (do_length): Avoid warning.
32572 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32574 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32576 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32578 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32579 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32580 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32581 * sysdeps/i386/i686/fpu/e_log.S: New file.
32582 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32583 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32585 * ctype/ctype.h: Add support for inlined isXXX functions when
32586 compiling C++ code.
32588 2011-10-14 Andreas Schwab <schwab@redhat.com>
32590 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32592 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32594 2011-10-13 Roland McGrath <roland@hack.frob.com>
32597 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32599 2011-10-13 Andreas Schwab <schwab@redhat.com>
32601 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32602 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32605 * sysdeps/x86_64/memrchr.S: Check for zero size.
32607 * string/stratcliff.c: Add memrchr tests.
32609 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32612 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32613 rawmemchr-sse2 rawmemchr-sse2-bsf.
32614 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32615 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32616 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32617 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32618 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32619 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32620 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32621 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32622 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32623 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32624 * string/memrchr.c (MEMRCHR): New macro.
32626 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32628 Add integration with gcc's -ffinite-math-only and optimize wrapper
32630 * Versions.def: Define GLIBC_2.15 version for libm.
32631 * math/Makefile (headers): Add bits/math-finite.h.
32632 * math/bits/math-finite.h: New file.
32633 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32634 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32635 * math/e_acoshl.c: Add __*_finite alias.
32636 * math/e_acosl.c: Likewise.
32637 * math/e_asinl.c: Likewise.
32638 * math/e_atan2l.c: Likewise.
32639 * math/e_atanhl.c: Likewise.
32640 * math/e_coshl.c: Likewise.
32641 * math/e_exp10.c: Likewise.
32642 * math/e_exp10f.c: Likewise.
32643 * math/e_exp10l.c: Likewise.
32644 * math/e_exp2l.c: Likewise.
32645 * math/e_fmodl.c: Likewise.
32646 * math/e_gammal_r.c: Likewise.
32647 * math/e_hypotl.c: Likewise.
32648 * math/e_j0l.c: Likewise.
32649 * math/e_j1l.c: Likewise.
32650 * math/e_jnl.c: Likewise.
32651 * math/e_lgammal_r.c: Likewise.
32652 * math/e_log10l.c: Likewise.
32653 * math/e_log2l.c: Likewise.
32654 * math/e_logl.c: Likewise.
32655 * math/e_powl.c: Likewise.
32656 * math/e_sinhl.c: Likewise.
32657 * math/e_sqrtl.c: Likewise.
32658 * math/e_scalb.c: Completely rewritten and optimized.
32659 * math/e_scalbf.c: Likewise.
32660 * math/e_scalbl.c: Likewise.
32661 * math/w_acos.c: Likewise.
32662 * math/w_acosf.c: Likewise.
32663 * math/w_acosl.c: Likewise.
32664 * math/w_acosh.c: Likewise.
32665 * math/w_acoshf.c: Likewise.
32666 * math/w_acoshl.c: Likewise.
32667 * math/w_asin.c: Likewise.
32668 * math/w_asinf.c: Likewise.
32669 * math/w_asinl.c: Likewise.
32670 * math/w_atan2.c: Likewise.
32671 * math/w_atan2f.c: Likewise.
32672 * math/w_atan2l.c: Likewise.
32673 * math/w_atanh.c: Likewise.
32674 * math/w_atanhf.c: Likewise.
32675 * math/w_atanhl.c: Likewise.
32676 * math/w_exp10.c: Likewise.
32677 * math/w_exp10f.c: Likewise.
32678 * math/w_exp10l.c: Likewise.
32679 * math/w_fmod.c: Likewise.
32680 * math/w_fmodf.c: Likewise.
32681 * math/w_fmodl.c: Likewise.
32682 * math/w_j0.c: Likewise.
32683 * math/w_j0f.c: Likewise.
32684 * math/w_j0l.c: Likewise.
32685 * math/w_j1.c: Likewise.
32686 * math/w_j1f.c: Likewise.
32687 * math/w_j1l.c: Likewise.
32688 * math/w_jn.c: Likewise.
32689 * math/w_jnf.c: Likewise.
32690 * math/w_log.c: Likewise.
32691 * math/w_logf.c: Likewise.
32692 * math/w_logl.c: Likewise.
32693 * math/w_log10.c: Likewise.
32694 * math/w_log10f.c: Likewise.
32695 * math/w_log10l.c: Likewise.
32696 * math/w_log2.c: Likewise.
32697 * math/w_log2f.c: Likewise.
32698 * math/w_log2l.c: Likewise.
32699 * math/w_pow.c: Likewise.
32700 * math/w_powf.c: Likewise.
32701 * math/w_powl.c: Likewise.
32702 * math/w_remainder.c: Likewise.
32703 * math/w_remainderf.c: Likewise.
32704 * math/w_remainderl.c: Likewise.
32705 * math/w_scalb.c: Likewise.
32706 * math/w_scalbf.c: Likewise.
32707 * math/w_scalbl.c: Likewise.
32708 * math/w_sqrt.c: Likewise.
32709 * math/w_sqrtf.c: Likewise.
32710 * math/w_sqrtl.c: Likewise.
32711 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32712 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32714 * math/math_private.h: Declare __kernel_standard_f.
32715 * math/w_cosh.c: Remove cruft and optimize a bit.
32716 * math/w_coshf.c: Likewise.
32717 * math/w_coshl.c: Likewise.
32718 * math/w_exp2.c: Likewise.
32719 * math/w_exp2f.c: Likewise.
32720 * math/w_exp2l.c: Likewise.
32721 * math/w_hypot.c: Likewise.
32722 * math/w_hypotf.c: Likewise.
32723 * math/w_hypotl.c: Likewise.
32724 * math/w_lgamma.c: Likewise.
32725 * math/w_lgamma_r.c: Likewise.
32726 * math/w_lgammaf.c: Likewise.
32727 * math/w_lgammaf_r.c: Likewise.
32728 * math/w_lgammal.c: Likewise.
32729 * math/w_lgammal_r.c: Likewise.
32730 * math/w_sinh.c: Likewise.
32731 * math/w_sinhf.c: Likewise.
32732 * math/w_sinhl.c: Likewise.
32733 * math/w_tgamma.c: Likewise.
32734 * math/w_tgammaf.c: Likewise.
32735 * math/w_tgammal.c: Likewise.
32736 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32738 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32739 Minor optimizations. Pretty printing. Remove cruft.
32740 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32741 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32742 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32743 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32744 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32745 * sysdeps/i386/fpu/e_asin.S: Likewise.
32746 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32747 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32748 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32749 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32750 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32751 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32752 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32753 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32754 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32755 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32756 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32757 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32758 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32759 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32760 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32761 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32762 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32763 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32764 * sysdeps/i386/fpu/e_log.S: Likewise.
32765 * sysdeps/i386/fpu/e_log10.S: Likewise.
32766 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32767 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32768 * sysdeps/i386/fpu/e_log2.S: Likewise.
32769 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32770 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32771 * sysdeps/i386/fpu/e_logf.S: Likewise.
32772 * sysdeps/i386/fpu/e_logl.S: Likewise.
32773 * sysdeps/i386/fpu/e_pow.S: Likewise.
32774 * sysdeps/i386/fpu/e_powf.S: Likewise.
32775 * sysdeps/i386/fpu/e_powl.S: Likewise.
32776 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32777 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32778 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32779 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32780 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32781 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32782 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32783 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32784 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32785 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32786 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32788 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32789 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32790 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32791 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32792 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32794 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32795 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32796 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32798 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32799 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32802 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32805 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32806 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32807 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32808 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32809 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32810 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32811 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32812 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32813 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32814 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32815 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32816 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32817 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32818 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32819 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32820 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32821 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32822 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32823 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32824 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32825 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32826 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32827 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32828 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32829 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32831 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32832 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32833 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32834 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32835 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32836 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32837 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32838 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32839 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32840 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32841 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32842 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32843 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32844 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32845 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32846 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32848 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32852 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32853 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32854 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32855 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32856 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32857 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32858 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32859 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32860 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32861 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32862 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32863 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32864 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32865 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32866 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32867 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32868 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32870 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32871 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32872 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32873 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32874 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32876 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32877 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32878 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32879 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32880 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32881 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32882 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32883 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32884 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32885 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32886 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32887 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32888 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32889 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32890 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32891 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32893 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32894 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32895 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32896 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32897 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32898 (__isnanf): Likewise.
32899 (__isinf_ns): Likewise.
32900 (__isinf_nsf): Likewise.
32901 (__finite): Likewise.
32902 (__finitef): Likewise.
32903 (__ieee754_sqrt): Define as macro.
32904 (__ieee754_sqrtf): Define as macro.
32905 (__ieee754_sqrtl): Define as macro.
32906 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32908 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32909 __FINITE_MATH_ONLY__ consistent.
32910 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32912 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32914 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32917 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32919 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32921 * po/ja.po: Update from translation team.
32923 2011-10-08 Roland McGrath <roland@hack.frob.com>
32925 * locale/programs/locarchive.c (prepare_address_space): New function.
32926 (create_archive, enlarge_archive, open_archive): Use it.
32928 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32929 inside [SHARED], where it is used.
32931 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32933 * nss/getent.c (netgroup_keys): Remove unused variable.
32934 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32936 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32938 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32939 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32941 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32942 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32943 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32944 * math/Makefile (libm-calls): Add s_isinf_ns.
32945 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32946 * math/multc3.c: Likewise.
32947 * math/s_casin.c: Likewise.
32948 * math/s_casinf.c: Likewise.
32949 * math/s_casinl.c: Likewise.
32950 * math/s_ccos.c: Likewise.
32951 * math/s_ccosf.c: Likewise.
32952 * math/s_ccosl.c: Likewise.
32953 * math/s_ctan.c: Likewise.
32954 * math/s_ctanf.c: Likewise.
32955 * math/s_ctanh.c: Likewise.
32956 * math/s_ctanhf.c: Likewise.
32957 * math/s_ctanhl.c: Likewise.
32958 * math/s_ctanl.c: Likewise.
32959 * math/w_fmod.c: Likewise.
32960 * math/w_fmodf.c: Likewise.
32961 * math/w_fmodl.c: Likewise.
32962 * math/w_remainder.c: Likewise.
32963 * math/w_remainderf.c: Likewise.
32964 * math/w_remainderl.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32966 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32967 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32969 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32970 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32971 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32972 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32974 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32976 * stdio-common/printf_fphex.c: Likewise.
32977 * stdio-common/printf_size.c: Likewise.
32979 * math/e_exp10.c: Include math_private.h using <...> not "...".
32980 * math/e_exp10f.c: Likewise.
32981 * math/e_exp10l.c: Likewise.
32982 * math/e_exp2l.c: Likewise.
32983 * math/e_j0l.c: Likewise.
32984 * math/e_j1l.c: Likewise.
32985 * math/e_jnl.c: Likewise.
32986 * math/e_lgammal_r.c: Likewise.
32987 * math/e_rem_pio2l.c: Likewise.
32988 * math/e_scalb.c: Likewise.
32989 * math/e_scalbf.c: Likewise.
32990 * math/e_scalbl.c: Likewise.
32991 * math/k_cosl.c: Likewise.
32992 * math/k_sinl.c: Likewise.
32993 * math/k_tanl.c: Likewise.
32994 * math/s_cacoshf.c: Likewise.
32995 * math/s_catan.c: Likewise.
32996 * math/s_catanf.c: Likewise.
32997 * math/s_catanh.c: Likewise.
32998 * math/s_catanhf.c: Likewise.
32999 * math/s_catanhl.c: Likewise.
33000 * math/s_catanl.c: Likewise.
33001 * math/s_ccosh.c: Likewise.
33002 * math/s_ccoshf.c: Likewise.
33003 * math/s_ccoshl.c: Likewise.
33004 * math/s_cexp.c: Likewise.
33005 * math/s_cexpf.c: Likewise.
33006 * math/s_cexpl.c: Likewise.
33007 * math/s_clog.c: Likewise.
33008 * math/s_clog10.c: Likewise.
33009 * math/s_clog10f.c: Likewise.
33010 * math/s_clog10l.c: Likewise.
33011 * math/s_clogf.c: Likewise.
33012 * math/s_clogl.c: Likewise.
33013 * math/s_csin.c: Likewise.
33014 * math/s_csinf.c: Likewise.
33015 * math/s_csinh.c: Likewise.
33016 * math/s_csinhf.c: Likewise.
33017 * math/s_csinhl.c: Likewise.
33018 * math/s_csinl.c: Likewise.
33019 * math/s_csqrt.c: Likewise.
33020 * math/s_csqrtf.c: Likewise.
33021 * math/s_csqrtl.c: Likewise.
33022 * math/s_ctan.c: Likewise.
33023 * math/s_ctanf.c: Likewise.
33024 * math/s_ctanh.c: Likewise.
33025 * math/s_ctanhf.c: Likewise.
33026 * math/s_ctanhl.c: Likewise.
33027 * math/s_ctanl.c: Likewise.
33028 * math/s_ldexp.c: Likewise.
33029 * math/s_ldexpf.c: Likewise.
33030 * math/s_ldexpl.c: Likewise.
33031 * math/s_significand.c: Likewise.
33032 * math/s_significandf.c: Likewise.
33033 * math/s_significandl.c: Likewise.
33034 * math/w_acos.c: Likewise.
33035 * math/w_acosf.c: Likewise.
33036 * math/w_acosh.c: Likewise.
33037 * math/w_acoshf.c: Likewise.
33038 * math/w_acoshl.c: Likewise.
33039 * math/w_acosl.c: Likewise.
33040 * math/w_asin.c: Likewise.
33041 * math/w_asinf.c: Likewise.
33042 * math/w_asinl.c: Likewise.
33043 * math/w_atan2.c: Likewise.
33044 * math/w_atan2f.c: Likewise.
33045 * math/w_atan2l.c: Likewise.
33046 * math/w_atanh.c: Likewise.
33047 * math/w_atanhf.c: Likewise.
33048 * math/w_atanhl.c: Likewise.
33049 * math/w_cosh.c: Likewise.
33050 * math/w_coshf.c: Likewise.
33051 * math/w_coshl.c: Likewise.
33052 * math/w_dremf.c: Likewise.
33053 * math/w_exp10.c: Likewise.
33054 * math/w_exp10f.c: Likewise.
33055 * math/w_exp10l.c: Likewise.
33056 * math/w_exp2.c: Likewise.
33057 * math/w_exp2f.c: Likewise.
33058 * math/w_fmod.c: Likewise.
33059 * math/w_fmodf.c: Likewise.
33060 * math/w_fmodl.c: Likewise.
33061 * math/w_hypot.c: Likewise.
33062 * math/w_hypotf.c: Likewise.
33063 * math/w_hypotl.c: Likewise.
33064 * math/w_j0.c: Likewise.
33065 * math/w_j0f.c: Likewise.
33066 * math/w_j0l.c: Likewise.
33067 * math/w_j1.c: Likewise.
33068 * math/w_j1f.c: Likewise.
33069 * math/w_j1l.c: Likewise.
33070 * math/w_jn.c: Likewise.
33071 * math/w_jnf.c: Likewise.
33072 * math/w_jnl.c: Likewise.
33073 * math/w_lgamma.c: Likewise.
33074 * math/w_lgamma_r.c: Likewise.
33075 * math/w_lgammaf.c: Likewise.
33076 * math/w_lgammaf_r.c: Likewise.
33077 * math/w_lgammal.c: Likewise.
33078 * math/w_lgammal_r.c: Likewise.
33079 * math/w_log.c: Likewise.
33080 * math/w_log10.c: Likewise.
33081 * math/w_log10f.c: Likewise.
33082 * math/w_log10l.c: Likewise.
33083 * math/w_log2.c: Likewise.
33084 * math/w_log2f.c: Likewise.
33085 * math/w_log2l.c: Likewise.
33086 * math/w_logf.c: Likewise.
33087 * math/w_logl.c: Likewise.
33088 * math/w_pow.c: Likewise.
33089 * math/w_powf.c: Likewise.
33090 * math/w_powl.c: Likewise.
33091 * math/w_remainder.c: Likewise.
33092 * math/w_remainderf.c: Likewise.
33093 * math/w_remainderl.c: Likewise.
33094 * math/w_scalb.c: Likewise.
33095 * math/w_scalbf.c: Likewise.
33096 * math/w_scalbl.c: Likewise.
33097 * math/w_sinh.c: Likewise.
33098 * math/w_sinhf.c: Likewise.
33099 * math/w_sinhl.c: Likewise.
33100 * math/w_sqrt.c: Likewise.
33101 * math/w_sqrtf.c: Likewise.
33102 * math/w_sqrtl.c: Likewise.
33103 * math/w_tgamma.c: Likewise.
33104 * math/w_tgammaf.c: Likewise.
33105 * math/w_tgammal.c: Likewise.
33107 * po/ja.po: Update from translation team.
33109 2011-09-29 Andreas Jaeger <aj@suse.de>
33112 * sunrpc/netname.c (netname2host): Fix logic.
33116 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33118 * math/w_remainder.c (__remainder): Likewise.
33119 * math/w_remainderf.c (__remainderf): Likewise.
33120 * math/libm-test.inc (remainder_test): Add test cases.
33122 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33124 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33127 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33129 * string/test-memcmp.c: Avoid unncessary #defines.
33130 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33132 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33134 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33135 Use new sse2 version for core i3 - i7 as it's faster
33136 than sse42 version.
33137 (bit_Prefer_PMINUB_for_stringop): New.
33138 * sysdeps/x86_64/rawmemchr.S: Update.
33139 Replace with faster SSE2 version.
33140 * sysdeps/x86_64/memrchr.S: New file.
33141 * sysdeps/x86_64/memchr.S: Update.
33142 Replace with faster SSE2 version.
33144 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33146 * elf/dl-load.c (lose): Add cast to avoid warning.
33148 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33150 * po/ca.po: Update from translation team.
33152 * inet/getnetgrent_r.c: Hook up nscd.
33153 * nscd/Makefile (routines): Add nscd_netgroup.
33154 (nscd-modules): Add netgroupcache.
33155 (CFLAGS-netgroupcache.c): Define.
33156 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33157 (cache_search): Add const to second parameter.
33158 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33160 (dbs): Add netgrdb entry.
33161 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33162 (verify_persistent_db): Handle netgrdb.
33163 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33164 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33166 (netgroup_response_header): Define.
33167 (innetgroup_response_header): Define.
33168 (datahead): Add netgroup_response_header and innetgroup_response_header
33170 * nscd/nscd.conf: Add entries for netgroup cache.
33171 * nscd/nscd.h (dbtype): Add netgrdb.
33172 (_PATH_NSCD_NETGROUP_DB): Define.
33173 (netgroup_iov_disabled): Declare.
33174 (xmalloc, xcalloc, xrealloc): Move declarations here.
33175 (cache_search): Adjust prototype.
33176 Add netgroup-related prototypes.
33177 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33178 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33179 (__nscd_innetgr): Declare.
33180 * nscd/selinux.c (perms): Use access_vector_t as element type and
33181 add netgroup-related initializers.
33182 * nscd/netgroupcache.c: New file.
33183 * nscd/nscd_netgroup.c: New file.
33184 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33185 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33186 For four parameters use innetgr.
33187 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33188 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33189 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33190 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33192 * nscd/connections.c (register_traced_file): Don't register file
33193 for disabled databases.
33195 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33197 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33199 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33200 from tree and freeing node.
33202 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33204 * nss/nsswitch.c (__nss_database_lookup): Handle
33205 nss_parse_service_list out of memory case.
33207 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33209 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33210 out of memory case.
33212 2011-10-04 Andreas Schwab <schwab@redhat.com>
33214 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33215 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33217 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33218 elf_machine_rela, elf_machine_lazy_rel.
33219 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33220 (ELF_DYNAMIC_DO_REL): Likewise.
33221 (ELF_DYNAMIC_DO_RELA): Likewise.
33222 (ELF_DYNAMIC_RELOCATE): Likewise.
33223 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33224 to ELF_DYNAMIC_DO_REL.
33225 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33226 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33227 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33229 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33230 skip_ifunc, don't call ifunc function if non-zero.
33231 (elf_machine_rela): Likewise.
33232 (elf_machine_lazy_rel): Likewise.
33233 (elf_machine_lazy_rela): Likewise.
33234 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33235 (elf_machine_lazy_rel): Likewise.
33236 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33238 (elf_machine_lazy_rel): Likewise.
33239 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33241 (elf_machine_lazy_rel): Likewise.
33242 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33243 (elf_machine_lazy_rel): Likewise.
33244 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33245 (elf_machine_lazy_rel): Likewise.
33246 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33247 (elf_machine_lazy_rel): Likewise.
33248 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33249 (elf_machine_lazy_rel): Likewise.
33250 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33251 (elf_machine_lazy_rel): Likewise.
33252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33253 (elf_machine_lazy_rel): Likewise.
33255 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33257 * nss/nss_files/files-init.c (_nss_files_init): Use static
33258 initialization for all the *_traced_file variables.
33260 2011-09-28 Andreas Schwab <schwab@redhat.com>
33262 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33264 2011-09-27 Roland McGrath <roland@hack.frob.com>
33267 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33269 2011-09-27 Andreas Schwab <schwab@redhat.com>
33271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33272 Reread the line before reparsing it.
33274 2011-09-26 Andreas Schwab <schwab@redhat.com>
33276 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33278 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33279 Maxim Kuvyrkov <maxim@codesourcery.com>
33280 Joseph Myers <joseph@codesourcery.com>
33282 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33283 if needed for __stack_chk_guard.
33285 2011-09-19 Roland McGrath <roland@hack.frob.com>
33287 * sysdeps/posix/spawni.c (script_execute): Always define it.
33288 It will be optimized away if unused.
33289 (maybe_script_execute): New function.
33290 (__spawni): Call it.
33292 * Makerules: Don't include tls.make.
33293 (config-tls): Always set to thread.
33294 * tls.make.c: File removed.
33296 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33298 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33299 * config.make.in (CPPFLAGS-config): New substituted variable.
33301 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33303 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33306 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33307 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33309 2011-09-15 Roland McGrath <roland@hack.frob.com>
33311 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33312 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33314 (CALL_FAIL): Likewise.
33315 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33316 (CALL_FAIL): Macro removed.
33317 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33319 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33321 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33322 for __FINITE_MATH_ONLY__ == 1.
33324 2011-09-15 Andreas Schwab <schwab@redhat.com>
33326 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33327 __ieee754_sqrt instead of sqrt.
33328 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33329 __ieee754_sqrtf instead of sqrtf.
33330 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33331 __floorf instead of floorf.
33332 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33333 __floorf, __truncf instead of floorf, truncf.
33335 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33337 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33339 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33340 __extern_always_inline.
33341 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33344 2011-09-14 Andreas Schwab <schwab@redhat.com>
33346 * elf/rtld.c (dl_main): Also relocate in dependency order when
33347 doing symbol dependency testing.
33349 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33352 Always define `refsym'.
33354 2011-09-13 Andreas Schwab <schwab@redhat.com>
33356 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33357 (__FD_ELT): Renamed from __FDELT.
33358 * misc/bits/select2.h (__FD_ELT): Likewise.
33359 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33360 __FD_MASK instead of __FDELT, __FDMASK.
33361 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33363 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33366 * elf/Makefile (gen-ldd): Fix pattern.
33368 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33369 (init_tls): Likewise.
33371 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33373 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33375 2011-09-12 Andreas Schwab <schwab@redhat.com>
33377 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33378 `struct cmsghdr *' instead of `void *'.
33379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33382 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33384 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33386 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33387 ldd_rewrite_script.
33389 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33391 * configure.in: Remove --with-tls option.
33392 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33393 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33394 out in case it is missing.
33395 * sysdeps/ia64/elf/configure.in: Likewise.
33396 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33397 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33398 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33399 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33400 * sysdeps/sh/elf/configure.in: Likewise.
33401 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33402 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33403 * sysdeps/x86_64/elf/configure.in: Likewise.
33404 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33405 * sysdeps/mach/hurd/tls.h: Likewise.
33408 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33411 * configure.in: Fix use of AC_INIT.
33413 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33415 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33417 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33419 * malloc/hooks.c: Likewise.
33422 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33423 variables statically.
33424 (narenas): Initialize.
33425 (list_lock): Initialize.
33426 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33427 initializtion of main_arena and list_lock. Small cleanups.
33428 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33429 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33430 Add initializers to main_arena and mp_.
33431 (malloc_state): Remove pagesize member. Change all users to use
33434 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33435 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33436 is always initialized.
33438 * malloc/malloc.c: Removed unused configurations and dead code.
33439 * malloc/arena.c: Likewise.
33440 * malloc/hooks.c: Likewise.
33441 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33443 * include/tls.h: Removed. USE___THREAD must always be defined.
33444 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33445 * elf/dl-libc.c: Likewise.
33446 * elf/dl-tsd.c: Likewise.
33447 * include/errno.h: Likewise.
33448 * include/netdb.h: Likewise.
33449 * include/resolv.h: Likewise.
33450 * inet/herrno-loc.c: Likewise.
33451 * inet/herrno.c: Likewise.
33452 * malloc/arena.c: Likewise.
33453 * malloc/hooks.c: Likewise.
33454 * malloc/malloc.c: Likewise.
33455 * resolv/res-state.c: Likewise.
33456 * resolv/res_libc.c: Likewise.
33457 * sysdeps/i386/dl-machine.h: Likewise.
33458 * sysdeps/ia64/dl-machine.h: Likewise.
33459 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33460 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33461 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33462 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33463 * sysdeps/sh/dl-machine.h: Likewise.
33464 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33465 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33466 * sysdeps/unix/i386/sysdep.S: Likewise.
33467 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33468 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33469 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33471 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33473 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33477 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33478 * sysdeps/x86_64/dl-machine.h: Likewise.
33479 * tls.make.c: Likewise.
33481 * configure.in: Remove --with-__thread option. Make tests for
33482 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33483 tls_model attribute fail if no support is available. Remove
33485 * Makeconfig: Adjust for dropped configure option. All features are
33487 * Makerules: Likewise.
33488 * Versions.def: Likewise.
33489 * argp/argp-fmtstream.c: Likewise.
33490 * argp/argp-fmtstream.h: Likewise.
33491 * argp/argp-help.c: Likewise.
33492 * assert/assert.c: Likewise.
33493 * config.h.in: Likewise.
33494 * config.make.in: Likewise.
33495 * configure: Likewise.
33496 * configure.in: Likewise.
33497 * csu/Versions: Likewise.
33498 * csu/init.c: Likewise.
33499 * elf/tst-audit2.c: Likewise.
33500 * elf/tst-tls10.c: Likewise.
33501 * elf/tst-tls10.h: Likewise.
33502 * elf/tst-tls11.c: Likewise.
33503 * elf/tst-tls12.c: Likewise.
33504 * elf/tst-tls14.c: Likewise.
33505 * elf/tst-tlsmod11.c: Likewise.
33506 * elf/tst-tlsmod12.c: Likewise.
33507 * elf/tst-tlsmod13.c: Likewise.
33508 * elf/tst-tlsmod13a.c: Likewise.
33509 * elf/tst-tlsmod14a.c: Likewise.
33510 * elf/tst-tlsmod15b.c: Likewise.
33511 * elf/tst-tlsmod16a.c: Likewise.
33512 * elf/tst-tlsmod16b.c: Likewise.
33513 * elf/tst-tlsmod7.c: Likewise.
33514 * elf/tst-tlsmod8.c: Likewise.
33515 * elf/tst-tlsmod9.c: Likewise.
33516 * gmon/gmon.c: Likewise.
33517 * grp/fgetgrent_r.c: Likewise.
33518 * grp/putgrent.c: Likewise.
33519 * hurd/fopenport.c: Likewise.
33520 * include/libc-symbols.h: Likewise.
33521 * include/tls.h: Likewise.
33522 * intl/gettextP.h: Likewise.
33523 * intl/loadinfo.h: Likewise.
33524 * locale/global-locale.c: Likewise.
33525 * locale/localeinfo.h: Likewise.
33526 * mach/devstream.c: Likewise.
33527 * malloc/arena.c: Likewise.
33528 * malloc/set-freeres.c: Likewise.
33529 * misc/err.c: Likewise.
33530 * misc/getttyent.c: Likewise.
33531 * misc/mntent_r.c: Likewise.
33532 * posix/getopt.c: Likewise.
33533 * posix/wordexp.c: Likewise.
33534 * pwd/fgetpwent_r.c: Likewise.
33535 * resolv/Versions: Likewise.
33536 * resolv/res_hconf.c: Likewise.
33537 * shadow/fgetspent_r.c: Likewise.
33538 * shadow/putspent.c: Likewise.
33539 * stdio-common/printf_fphex.c: Likewise.
33540 * stdio-common/tmpfile.c: Likewise.
33541 * stdlib/abort.c: Likewise.
33542 * stdlib/fmtmsg.c: Likewise.
33543 * sunrpc/auth_unix.c: Likewise.
33544 * sunrpc/clnt_perr.c: Likewise.
33545 * sunrpc/clnt_tcp.c: Likewise.
33546 * sunrpc/clnt_udp.c: Likewise.
33547 * sunrpc/clnt_unix.c: Likewise.
33548 * sunrpc/openchild.c: Likewise.
33549 * sunrpc/svc_simple.c: Likewise.
33550 * sunrpc/svc_tcp.c: Likewise.
33551 * sunrpc/svc_udp.c: Likewise.
33552 * sunrpc/svc_unix.c: Likewise.
33553 * sunrpc/xdr.c: Likewise.
33554 * sunrpc/xdr_array.c: Likewise.
33555 * sunrpc/xdr_rec.c: Likewise.
33556 * sunrpc/xdr_ref.c: Likewise.
33557 * sunrpc/xdr_stdio.c: Likewise.
33559 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33561 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33563 2011-07-03 Andreas Jaeger <aj@suse.de>
33565 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33566 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33567 regenerate with gen-libm-tests.pl.
33569 2010-05-12 Petr Baudis <pasky@suse.cz>
33572 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33573 around j0() zero points by switching to j1().
33574 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33575 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33576 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33577 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33579 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33581 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33583 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33586 Patch in part by Pavel Roskin <proski@gnu.org>.
33589 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33591 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33592 Free memory block if necessary.
33595 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33596 be NULL. Don't lock in this case.
33598 2011-09-09 Roland McGrath <roland@hack.frob.com>
33600 * elf/elf.h (ELFOSABI_GNU): New macro.
33601 (ELFOSABI_LINUX): Define to that.
33603 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33605 * string/strncat.c (strncat): Undef the symbol in case it has been
33606 defined in bits/string.h.
33608 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33610 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33612 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33615 2011-08-17 Andreas Jaeger <aj@suse.de>
33617 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33619 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33620 Ian Lance Taylor <iant@google.com>
33622 * math/libm-test.inc (lround_test): New testcase.
33623 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33625 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33627 * Makefile: Remove support for automatic cvs check-ins.
33628 * Makerules: Likewise.
33629 * config.make.in: Likewise.
33630 * configure.in: Likewise.
33631 * intl/Makefile: Likewise.
33632 * locale/Makefile: Likewise.
33633 * po/Makefile: Likewise.
33634 * posix/Makefile: Likewise.
33635 * sysdeps/gnu/Makefile: Likewise.
33636 * sysdeps/mach/hurd/Makefile: Likewise.
33637 * sysdeps/sparc/sparc32/Makefile: Likewise.
33640 * posix/Makefile (bug-regex32-ENV): Define.
33641 Patch by John Stanley <jpsinthemix@verizon.net>.
33643 * misc/Makefile (headers): Add bits/select2.h.
33644 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33645 * misc/bits/select2.h: New file.
33646 * include/bits/select2.h: New file.
33647 * debug/Makefile (routines): Add fdelt_chk.
33648 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33649 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33651 * debug/fdelt_chk.c: New file.
33653 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33654 * wcsmbs/test-wmemcmp.c: Likewise.
33655 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33656 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33658 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33660 * string/Makefile (strop-tests): Add memcmp.
33661 * string/test-wmemcmp.c: New file.
33662 * string/test-memcmp.c: Add wmemcmp support.
33664 2011-09-08 Roland McGrath <roland@hack.frob.com>
33667 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33670 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33671 garbage value in a __mach_port_mod_refs call in the cases of the
33672 task-self and thread-self ports.
33674 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33676 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33678 2011-09-08 Andreas Schwab <schwab@redhat.com>
33680 * elf/dl-load.c (lose): Check for non-null L.
33682 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33684 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33686 * elf/dl-libc.c (dlerror_run): Pass back error code from
33690 * elf/dl-load.c (lose): Free l_origin if it is valid.
33692 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33694 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33695 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33696 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33697 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33698 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33699 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33701 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33703 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33704 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33705 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33706 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33707 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33708 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33709 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33710 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33711 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33712 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33714 2011-08-15 Alan Modra <amodra@gmail.com>
33717 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33718 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33719 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33720 ppc_mcount to static-only-routines.
33721 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33723 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33724 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33726 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33728 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33729 for finite and infinity parameters.
33731 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33734 and add nop instructions for throughput optimization.
33735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33737 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33739 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33740 aligned copy for power7 with vector-scalar instructions.
33741 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33743 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33748 2011-09-07 Andreas Schwab <schwab@redhat.com>
33751 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33754 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33756 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33757 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33758 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33762 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33764 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33765 Forgot to demangle the pointer.
33767 * sysdeps/i386/sysdep.h: Define atom_text_section.
33768 * sysdeps/x86_64/sysdep.h: Likewise.
33769 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33770 section with atom_text_section.
33771 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33772 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33773 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33775 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33777 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33778 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33779 already be defined. Change to take two parameters and don't assign
33780 result to variable. Adjust all users.
33781 Define INTERNAL_GETTIME if not already defined.
33782 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33785 HAVE_CLOCK_GETTIME_VSYSCALL.
33786 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33789 gettimeofday vsyscall, just use time.
33791 2011-09-06 Andreas Schwab <schwab@redhat.com>
33793 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33796 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33798 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33802 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33803 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33804 syscall if possible.
33806 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33808 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33809 e_ident. Don't pass to find_mapsXX.
33810 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33812 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33815 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33816 * sysdeps/x86_64/multiarch/strchr.S: Update.
33817 Check bit_slow_BSF bit.
33818 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33819 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33820 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33822 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33825 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33827 (tryshell): Define.
33828 (__spawni): Change last parameter to be flag. Test
33829 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33830 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33831 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33832 * posix/spawni.c: Likewise.
33833 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33834 * posix/spawnp.c: Likewise. Change normal version to use
33835 SPAWN_XFLAGS_USE_PATH.
33836 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33837 SPAWN_XFLAGS_TRY_SHELL.
33840 * posix/glob.h: Remove gcc 1.x support.
33843 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33845 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33848 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33850 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33851 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33852 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33853 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33854 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33857 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33859 * sysdeps/x86_64/wcscmp.S: New file.
33861 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33862 wcscmp-c wcscmp-sse2
33863 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33864 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33865 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33866 * wcsmbs/wcscmp.c: Allow renaming.
33868 2011-09-05 David S. Miller <davem@davemloft.net>
33870 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33871 stack slot, rather than the struct return pointer slot.
33872 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33873 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33875 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33877 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33879 * po/ja.po: Update from translation team.
33882 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33883 kernel in 64-bit binaries.
33885 2011-09-01 David S. Miller <davem@davemloft.net>
33887 * elf/elf.h (HWCAP_SPARC_*): Move to..
33888 * sysdeps/sparc/sysdep.h: this new file and add new values.
33889 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33890 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33891 _DL_HWCAP_COUNT to 24.
33892 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33894 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33895 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33896 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33898 instead of magic constants.
33899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33901 2011-08-31 David S. Miller <davem@davemloft.net>
33903 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33905 Reimplement to do errno handling inline.
33906 (SYSCALL_ERROR_HANDLER): New macro.
33907 (__SYSCALL_STRING): Do not do errno handling in asm.
33908 (__CLONE_SYSCALL_STRING): Delete.
33909 (__INTERNAL_SYSCALL_STRING): Delete.
33910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33911 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33912 (PSEUDO): Reimplement to do errno handling inline.
33913 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33914 (SYSCALL_ERROR_HANDLER): New macro.
33915 (__SYSCALL_STRING): Do not do errno handling in asm.
33916 (__CLONE_SYSCALL_STRING): Delete.
33917 (__INTERNAL_SYSCALL_STRING): Delete.
33918 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33919 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33921 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33922 (inline_syscall*): Add 'err' argument.
33923 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33924 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33925 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33926 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33928 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33929 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33931 2011-08-30 Andreas Schwab <schwab@redhat.com>
33933 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33935 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33937 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33940 2011-08-24 David S. Miller <davem@davemloft.net>
33942 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33944 2011-08-24 Andreas Schwab <schwab@redhat.com>
33946 * elf/Makefile: Add rules to build and run unload8 test.
33947 * elf/unload8.c: New file.
33948 * elf/unload8mod1.c: New file.
33949 * elf/unload8mod1x.c: New file.
33950 * elf/unload8mod2.c: New file.
33951 * elf/unload8mod3.c: New file.
33953 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33956 2011-08-23 David S. Miller <davem@davemloft.net>
33958 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33959 subtract stack bias.
33960 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33961 %sp not %fp in calculations.
33962 (_JMPBUF_UNWINDS_ADJ): Likewise.
33964 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33965 (aio_suspend): Call it to force an exception region around the
33966 AIO_MISC_WAIT() invocation.
33968 2011-08-23 Andreas Schwab <schwab@redhat.com>
33970 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33973 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33975 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33977 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33978 and <dl-machine.h>.
33979 (Elf64_FuncDesc): Remove.
33981 2011-08-22 David S. Miller <davem@davemloft.net>
33983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33984 sigaltstack check, add missing cfi directives.
33985 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33986 missing cfi directives, and sigaltstack handling.
33988 2011-08-16 Andreas Schwab <schwab@redhat.com>
33991 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33992 object is seen twice.
33993 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33995 * elf/Makefile (distribute): Add tst-initorder2.c.
33996 (tests): Add tst-initorder2.
33997 (modules-names): Add tst-initorder2a tst-initorder2b
33998 tst-initorder2c tst-initorder2d. Add rules to build them.
33999 ($(objpfx)tst-initorder2.out): New rule.
34000 * elf/tst-initorder2.c: New file.
34001 * elf/tst-initorder2.exp: New file.
34003 2011-08-22 Andreas Schwab <schwab@redhat.com>
34005 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34007 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34008 dependencies back to end of function.
34010 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34011 $(elfobjdir)/ld.so.
34013 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34016 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34018 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34019 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34020 of __vdso_gettimeofday.
34021 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34022 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34024 (_libc_vdso_platform_setup): Remove initialization of
34025 __vdso_gettimeofday and __vdso_time.
34027 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34029 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34030 and fgetc_unlocked.
34031 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34034 * elf/dl-open.c (add_to_global): Report additions to the global scope
34035 for LD_DEBUG=scopes.
34036 (dl_open_worker): Also print scope of newly loaded dependencies.
34037 (_dl_show_scope): Indicate if there is no scope.
34040 * stdio-common/Makefile (tests): Add bug24.
34041 * stdio-common/bug24.c: New file.
34043 2011-08-19 Andreas Jaeger <aj@suse.de>
34046 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34047 non-existant file when using close-on-exec mode.
34049 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34052 the very first instruction.
34054 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34055 the CFI state in the end.
34056 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34057 inclusion of dl-trampoline.h.
34058 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34060 2011-08-19 Andreas Schwab <schwab@redhat.com>
34062 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34063 expectations for long double.
34065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34066 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34068 2011-08-14 David S. Miller <davem@davemloft.net>
34070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34071 artificual limit depends upon the system page size.
34073 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34075 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34076 * resolv/Makefile: Define CFLAGS-libresolv.
34078 2011-08-17 Andreas Schwab <schwab@redhat.com>
34080 * nss/makedb.c (compute_tables): Make variables used in nested
34083 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34085 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34086 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34087 if buffer was too small.
34089 * elf/pldd.c (main): Attach to all threads in the process.
34090 Rewrite /proc handling to use *at functions.
34092 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34094 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34095 specifies first scope to show.
34096 (dl_open_worker): Update callers. Move printing scope of new
34097 object to before the relocation.
34098 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34099 * sysdeps/generic/ldsodefs.h: Update declaration.
34101 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34102 string for the scope number.
34104 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34106 * nscd/servicescache.c (cache_addserv): Make sure written is always
34109 2011-08-14 Roland McGrath <roland@hack.frob.com>
34111 * sysdeps/i386/i486/bits/atomic.h
34112 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34113 statement expression, so as to suppress "set but not used" warning.
34114 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34116 * string/strncat.c (STRNCAT): Use prototype definition.
34118 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34119 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34121 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34122 (localedef-modules): Add localedef.
34123 (locale-modules): Add locale.
34125 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34126 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34127 to avoid a warning.
34129 2011-08-14 David S. Miller <davem@davemloft.net>
34131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34132 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34134 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34136 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34137 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34138 * elf/rtld.c (dl_main): Set l_name of vDSO.
34139 Call _dl_show_scope when DL_DEBUG_SCOPES.
34140 (process_dl_debug): Recognize scopes flag and also set it for all.
34141 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34142 Declare _dl_show_scope.
34144 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34145 (do_dlopen): Pass caller_dlopen to dl_open.
34146 (__libc_dlopen_mode): Initialize caller_dlopen.
34148 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34149 of libc. Make tolower call locale-independent. Optimize a bit by
34150 using isdigit instead of isalnum.
34151 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34153 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34155 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34156 was a dependency or dynamically loaded.
34158 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34160 * intl/l10nflist.c: Allow architecture-specific pop function.
34161 * sysdeps/x86_64/l10nflist.c: New file.
34163 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34166 2011-08-10 Andreas Schwab <schwab@redhat.com>
34168 * include/dirent.h: Add libc_hidden_proto for scandirat and
34169 scandirat64. Don't declare __scandirat64.
34170 * dirent/scandirat.c: Add libc_hidden_def.
34171 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34172 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34174 2011-08-10 David S. Miller <davem@davemloft.net>
34176 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34178 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34179 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34182 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34184 * Versions.def [libc]: Add GLIBC_2.15.
34185 * dirent/Makefile (routines): Add scandirat and scandirat64.
34186 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34188 * dirent/dirent.h: Declare scandirat and scandirat64.
34189 * dirent/scandirat.c: New file.
34190 * dirent/scandirat64.c: New file.
34191 * sysdeps/wordsize-64/scandirat.c: New file.
34192 * sysdeps/wordsize-64/scandirat64.c: New file.
34193 * dirent/opendir.c: Define opendirat.
34194 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34196 * dirent/scandir64.c: Adjust for scandir.c change.
34197 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34198 __scandirat64, and __scandir_cancel_handler.
34199 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34200 additional parameter and use openat instead of open (outside of ld.so).
34201 Add new __opendir as wrapper around __opendirat.
34202 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34203 here without requiring old scandirat implementation.
34205 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34207 * dirent/scandir.c (cancel_handler): Renamed to
34208 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34209 defined. Adjust users.
34210 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34211 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34213 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34215 * string/test-string.h (IMPL): Use __STRING to expand name and then
34218 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34221 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34223 * string/Makefile: Update.
34224 (strop-tests): Append strncat.
34225 * string/test-wcscmp.c: New file.
34226 New comprehensive test for wcscmp.
34227 * string/test-strcmp.c: Update.
34228 (WIDE): New define.
34230 2011-07-22 Andreas Schwab <schwab@redhat.com>
34232 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34235 2011-07-26 Andreas Schwab <schwab@redhat.com>
34237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34238 encoding to ACE if AI_IDN.
34240 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34242 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34243 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34245 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34247 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34248 Fix overflow bug in strncat.
34249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34251 * string/test-strncat.c: Update.
34252 Add new tests for checking overflow bugs.
34254 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34257 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34258 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34259 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34260 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34261 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34262 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34263 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34264 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34266 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34267 (USE_AS_STRCAT): Define.
34268 Add strcat and strncat support.
34269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34271 2011-07-25 Andreas Schwab <schwab@redhat.com>
34273 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34274 __n bigger than INT_MAX+1.
34275 (__strncmp_g): Likewise.
34277 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34279 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34280 * libio/stido.h: Likewise.
34282 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34287 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34288 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34289 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34290 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34294 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34299 (_dl_x86_64_save_sse): Likewise.
34301 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34303 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34305 (_dl_x86_64_save_sse): Likewise.
34307 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34309 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34311 2011-07-21 Andreas Schwab <schwab@redhat.com>
34313 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34315 (_dl_x86_64_save_sse): Use correct AVX check.
34317 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34320 bug in strncpy/strncat.
34321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34323 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34325 * string/tester.c (test_strcat): Add tests for different alignments
34326 of source and destination.
34327 (test_strncat): Likewise.
34329 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34332 * posix/glob.c (glob): Check passed in values before using them in
34333 expressions to avoid some overflows.
34334 (glob_in_dir): Likewise.
34337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34338 check for AVX enablement so that we don't crash with old kernels and
34340 * elf/tst-audit4.c: Add same checks here.
34341 * elf/tst-audit6.c: Likewise.
34343 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34345 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34347 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34349 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34351 * po/cs.po: Update from translation team.
34352 * po/bg.po: Likewise.
34354 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34356 * misc/sys/cdefs.h: Add support for const attribute.
34357 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34358 to gnu_dev_{major,minor,makedev} functions.
34360 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34362 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34364 2011-07-20 Andreas Schwab <schwab@redhat.com>
34366 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34369 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34372 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34373 register in order to avoid conflicts with the soft frame pointer
34374 being held in r11 when necessary.
34375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34376 (INTERNAL_VSYSCALL_NCS): Likewise.
34378 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34380 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34381 * elf/dl-fini.c (_dl_fini): Adjust caller.
34382 * elf/dl-close.c (_dl_close_worker): Likewise.
34383 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34385 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34387 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34388 "aux_cache->nlibs < 0".
34390 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34391 in the reload-count case.
34393 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34396 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34397 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34398 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34399 * sysdeps/x86_64/multiarch/strcat.S: New file.
34400 * sysdeps/x86_64/multiarch/strncat.S: New file.
34401 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34402 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34403 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34404 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34405 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34406 (USE_AS_STRCAT): Define.
34407 Add strcat and strncat support.
34408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34409 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34410 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34411 * string/strncat.c: Update.
34412 (USE_AS_STRNCAT): Define.
34413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34414 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34416 * sysdeps/x86_64/multiarch/init-arch.h
34417 (bit_Prefer_PMINUB_for_stringop): New.
34418 (index_Prefer_PMINUB_for_stringop): Likewise.
34419 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34420 bit_Prefer_PMINUB_for_stringop.
34422 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34424 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34426 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34427 of casting of buffer.
34428 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34429 buffer32 and buffer64.
34430 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34431 writes instead of casting of buffer.
34432 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34434 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34437 2011-07-19 Andreas Schwab <schwab@redhat.com>
34439 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34441 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34443 * nscd/nscd.c (termination_handler): Don't do anything for a database
34444 if it has not yet been initialized.
34446 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34448 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34450 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34452 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34454 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34456 * po/nl.po: Update from translation team.
34457 * po/sv.po: Likewise.
34459 2011-07-16 Roland McGrath <roland@hack.frob.com>
34461 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34462 now disallowed by GCC.
34464 * configure.in (use-default-link): Default to yes if a test -shared
34465 link meets our qualifications.
34466 * configure: Regenerated.
34468 * config.make.in (output-format): New variable.
34469 * configure.in: Check for ld --print-output-format support.
34470 * configure: Regenerated.
34471 * Makerules ($(common-objpfx)format.lds)
34472 [$(output-format) != unknown]: Just use $(output-format),
34473 instead of the linker-script munging.
34475 2011-07-14 Roland McGrath <roland@hack.frob.com>
34477 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34478 of $(common-objpfx)shlib.lds.
34479 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34481 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34482 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34484 * configure.in (-z relro check): Adjust test code to add a large
34485 writable data section after it.
34486 * configure: Regenerated.
34488 2011-07-11 Roland McGrath <roland@hack.frob.com>
34490 * configure.in (-z relro check): Fix test code to make the variable
34492 * configure: Regenerated.
34494 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34496 * nscd/nscd.h (struct traced_file): Define.
34497 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34498 elements. Add traced_files.
34499 (inotify_fd): Declare.
34500 (register_traced_file): Declare.
34501 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34502 (inotify_fd): Export.
34503 (resolv_conf_descr): Remove.
34504 (nscd_init): Move inotify descriptor creation to main.
34505 Don't register files for notification here.
34506 (register_traced_file): New function.
34507 (invalidate_cache): Don't use reset_res to determine whether to call
34508 res_init, go through the list of registered files.
34509 (main_loop_poll): The inotify descriptors are now stored in the
34510 structures for the traced files.
34511 (main_loop_epoll): Likewise
34512 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34513 to __nss_disable_nscd.
34514 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34515 for a database anymore. Check the records for all the registered
34517 * nss/Makefile (libnss_files-routines): Add files-init.
34518 (libnss_db-routines): Add db-init.
34519 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34520 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34521 * nss/nss_db/db-init.c: New file.
34522 * nss/nss_files/files-init.c: New file.
34523 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34524 __nss_lookup_function.
34525 (__nss_lookup_function): Call nss_load_library.
34526 (nss_load_all_libraries): New function.
34527 (__nss_disable_nscd): Take parameter with callback function for files
34528 to register. Set is_nscd. Load all the DSOs for the NSS modules
34529 used for the cached services.
34530 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34531 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34532 options for features to all the files in nscd.
34534 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34536 2011-07-10 Roland McGrath <roland@hack.frob.com>
34538 * csu/elf-init.c (__libc_csu_init): Comment typo.
34540 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34542 * po/pl.po: Update from translation team.
34543 * po/ja.po: Likewise.
34544 * po/ru.po: Likewise.
34545 * po/ko.po: Likewise.
34546 * po/fr.po: Likewise.
34548 2011-07-09 Roland McGrath <roland@hack.frob.com>
34550 * configure.in (.ctors/.dtors header and trailer check):
34551 Use an empirical test on a built program.
34552 * configure: Regenerated.
34554 * configure.in (-z relro check): Use an empirical test on a built DSO.
34555 Detect, but do not require, on ia64.
34556 * configure: Regenerated.
34558 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34559 Update tests that use readelf to use $READELF instead.
34560 * configure: Regenerated.
34562 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34564 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34565 if the result is not used.
34567 2011-07-05 Andreas Jaeger <aj@suse.de>
34570 * stdlib/tst-strtod.c: Add testcase.
34572 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34574 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34575 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34576 The latter has a higher limit. Take additional parameter to pass to
34578 (__pathconf): Pass file to __statfs_link_max.
34579 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34581 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34585 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34588 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34589 (__statfs_filesize_max): Likewise.
34590 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34592 2011-07-05 Andreas Jaeger <aj@suse.de>
34594 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34596 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34598 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34600 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34603 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34605 * Makefile (strop-tests): Add strncat.
34606 * string/test-strncat.c: New file.
34608 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34610 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34612 2011-06-21 Andreas Jaeger <aj@suse.de>
34614 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34615 Copy rule from iconvdata/Makefile.
34617 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34620 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34621 but no long options are defined, just return 'W'.
34623 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34626 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34628 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34630 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34632 (innetgr): Likewise.
34634 2011-07-05 Roland McGrath <roland@hack.frob.com>
34636 * config.make.in (install_root): Default to $(DESTDIR).
34638 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34640 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34642 2011-07-02 Roland McGrath <roland@hack.frob.com>
34644 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34646 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34647 containing directory rather than embedding absolute directory names.
34649 * scripts/check-local-headers.sh: Rewritten using awk.
34650 Match by word, not by line. Print error messages for matches.
34651 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34653 * Makerules [shlib-lds-flags empty]:
34654 ($(common-objpfx)libc_pic.opts): New target.
34655 ($(common-objpfx)libc_pic.os.clean): New target.
34656 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34658 * config.make.in (OBJCOPY): New variable.
34659 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34660 * configure: Regenerated.
34662 * config.make.in (use-default-link): New variable.
34663 * configure.in (use_default_link): Grok --with-default-link to set it.
34664 * configure: Regenerated.
34665 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34666 (shlib-lds, shlib-lds-flags): Define to empty.
34668 * Makerules (shlib-lds): New variable.
34669 (shlib-lds-flags): New variable.
34670 (build-shlib, build-moduile, build-module-asneeded): Use it.
34671 ($(common-objpfx)libc.so): Use $(shlib-lds).
34672 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34673 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34675 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34676 DT_FLAGS/DT_FLAGS_1 with zero flags.
34678 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34679 linker script munging.
34681 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34683 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34685 * crypt/sha512.c (sha512_process_block): Perform total addition using
34686 128-bit if possible.
34687 (__sha512_finish_ctx): Likewise.
34688 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34690 * crypt/sha256.c (SWAP64): Define.
34691 (sha256_process_block): Perform total addition using 64-bit if
34693 (__sha256_finish_ctx): Likewise.
34695 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34697 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34698 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34699 * nscd/hstcache.c (cache_addhst): Likewise.
34700 * nscd/grpcache.c (cache_addgr): Likewise.
34701 * nscd/aicache.c (addhstaiX): Likewise
34702 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34704 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34706 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34708 * nscd/hstcache.c (cache_addhst): Likewise.
34709 * nscd/grpcache.c (cache_addgr): Likewise.
34710 * nscd/aicache.c (addhstaiX): Likewise
34712 2011-07-01 Andreas Schwab <schwab@redhat.com>
34714 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34715 domain only when needed.
34717 2011-06-30 Andreas Schwab <schwab@redhat.com>
34719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34720 is always restored.
34722 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34724 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34725 are re-adding the entry.
34726 * nscd/servicescache.c (cache_addserv): Likewise.
34728 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34730 * sysdeps/generic/dl-irel.h: fix protection against multiple
34732 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34734 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34737 * malloc/memusage.sh: Fix quoting in message.
34738 * debug/xtrace.sh: Likewise.
34740 * configure.in: Remove support for --experimental-malloc option, make
34742 * config.make.in: Likewise.
34743 * malloc/Makefile: Likewise.
34745 2011-06-27 Andreas Schwab <schwab@redhat.com>
34747 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34748 two-byte characters.
34750 2011-06-27 Roland McGrath <roland@hack.frob.com>
34752 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34753 AC_CACHE_CHECK invocation.
34754 * configure: Regenerated.
34756 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34758 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34761 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34762 bit from old_res_options.
34764 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34766 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34767 value type for setfct.
34769 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34772 __gettimeofday instead of gettimeofday.
34774 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34776 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34778 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34782 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34785 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34788 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34789 strcpy-sse2-unaligned strncpy-sse2-unaligned
34790 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34791 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34792 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34793 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34794 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34796 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34797 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34798 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34799 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34800 (STRCPY): Support SSE2 and SSSE3 versions.
34802 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34805 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34806 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34807 kernels which artificially limit size of requests.
34809 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34812 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34813 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34814 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34815 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34816 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34817 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34818 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34820 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34821 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34822 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34823 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34824 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34825 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34827 Enable unaligned load optimization for Intel Core i3, i5 and i7
34829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34831 (index_Fast_Unaligned_Load): Define.
34832 (HAS_FAST_UNALIGNED_LOAD): Define.
34834 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34836 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34838 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34841 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34842 until it is clear that the information is realy needed.
34843 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34845 2011-06-22 Andreas Schwab <schwab@redhat.com>
34847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34849 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34851 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34852 /sys/devices/system/cpu/online if it is usable.
34854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34855 reading the information from the /proc filesystem to once a second.
34857 2011-06-21 Andreas Jaeger <aj@suse.de>
34859 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34860 NULL after inclusion of kernel headers.
34862 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34864 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34865 calls to internal_setent.
34868 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34869 addresses using gethostbyname4_r ignore IPv4 addresses.
34871 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34872 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34874 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34876 2011-06-20 David S. Miller <davem@davemloft.net>
34878 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34880 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34882 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34883 (elf_irel): Use it.
34884 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34885 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34886 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34887 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34888 * sysdeps/x86_64/dl-irel.h: Likewise.
34890 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34891 * elf/dl-sym.c: Likewise.
34893 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34895 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34896 need to dereference resplen2.
34898 2011-06-14 Andreas Schwab <schwab@redhat.com>
34900 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34902 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34904 * Makeconfig: Define vardbdir and inst_vardbdir.
34905 * nss/Makefile: Add rules to install db-Makefile.
34907 * nss/nss_db/db-XXX.c: Cleanup.
34909 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34910 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34912 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34913 * nss/makedb.c: Implement -g option to specify that value strings
34914 are generated and should not be added to table iterated over for
34916 * nss/nss_db/db-initgroups.c: New file.
34918 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34921 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34922 (internal_getgrouplist): Adjust to name change.
34923 Update use_initgroups_entry if this is not the first call.
34924 * nss/databases.def: Add initgroups entry.
34926 * nss/makedb.c (compute_tables): Check result of multiple hash table
34927 sizes to minimize maximum chain length.
34929 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34931 * Versions.def: Add entry for libnss_db.
34932 * shlib-versions: Likewise.
34933 * nss/Makefile: Add rules to build libnss_db.
34934 * nss/Versions: Add libnss_db information. Organize libnss_files
34936 * nss/db-Makefile: Add gshadow support. Change rules for the new
34937 makedb progra. Some minor improvements to generate smaller files.
34938 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34940 * nss/makedb.c: ...here.
34941 Improve database format to be smaller and require less memory at
34943 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34945 * nss/nss_db/db-netgrp.c: Likewise.
34946 * nss/nss_db/db-open.c: Likewise.
34947 * nss/nss_files/flies-XXX.x: Adjust comments.
34948 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34949 * nss/nss_files/files-grp.c: Likewise.
34950 * nss/nss_files/files-hosts.c: Likewise.
34951 * nss/nss_files/files-network.c: Likewise.
34952 * nss/nss_files/files-proto.c: Likewise.
34953 * nss/nss_files/files-pwd.c: Likewise.
34954 * nss/nss_files/files-rpc.c: Likewise.
34955 * nss/nss_files/files-service.c: Likewise.
34956 * nss/nss_files/files-sgrp.c: Likewise.
34957 * nss/nss_files/files-spwd.c: Likewise.
34958 * nss/nss_db/db-alias.c: Removed.
34959 * nss/nss_db/dummy-db.h: Removed.
34961 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34963 * nss/makedb.c: Rewritten to not use database library.
34964 * nss/Makefile: Update to build new makedb program.
34966 2011-06-14 Andreas Jaeger <aj@suse.de>
34968 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34969 memset declaration.
34971 2011-06-10 Andreas Schwab <schwab@redhat.com>
34973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34976 2011-06-10 Roland McGrath <roland@hack.frob.com>
34978 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34979 * elf/Makefile ($(objpfx)ld.so): Likewise.
34981 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34982 Don't list ld.so twice in dependencies.
34984 * posix/bug-regex31.c: Include <stdlib.h>.
34986 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34988 * nis/nss_compat/compat-spwd.c
34989 (getspent_next_nss_netgr): Remove unused variable.
34990 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34992 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34993 nonmembers" output to use the right array.
34995 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34997 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34999 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35000 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35001 * catgets/gencat.c (read_input_file): Likewise.
35002 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35004 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35005 variable definition inside #if's controlling its use.
35007 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35009 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35011 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35013 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35016 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35018 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35019 * configure: Regenerated.
35021 * Makerules: Revert last change.
35022 * elf/Makefile: Likewise.
35024 2011-06-09 Roland McGrath <roland@hack.frob.com>
35026 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35027 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35028 (reloc-link): Likewise.
35030 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35032 * elf/Makefile: Add rules to build pldd.
35033 * elf/pldd.c: New file.
35034 * elf/pldd-xx.c: New file.
35036 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35038 * version.h: Update for 2.15 development version.
35040 2011-06-07 David S. Miller <davem@davemloft.net>
35042 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35045 elf_machine_lazy_rel): Likewise.
35046 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35048 elf_machine_lazy_rel): Likewise.
35049 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35050 dl_hwcap via passed in argument.
35051 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35054 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35056 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35058 2011-06-06 Roland McGrath <roland@hack.frob.com>
35061 * manual/fdl-1.1.texi: New file, verbatim from:
35062 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35063 * manual/lgpl-2.1.texi: New file, verbatim from:
35064 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35065 * manual/Makefile (licenses): New variable, list those new file names.
35067 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35069 * manual/fdl.texi: File removed.
35070 * manual/lesser.texi: File removed.
35071 * manual/libc.texinfo (Copying, Documentation License):
35072 Use new @include file names, put @appendix directive before @include.
35074 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35077 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35078 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35079 (mq_open): Add __NTH.
35081 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35084 Assume Intel Core i3/i5/i7 processor if AVX is available.
35086 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35091 2011-05-31 Andreas Schwab <schwab@redhat.com>
35093 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35094 memory. Use alloca_account. Fix memory leak when retrying.
35096 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35098 * version.h (RELEASE): Bump for 2.14 release.
35099 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35101 * config.make.in (RANLIB): Remove entry.
35103 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35105 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35106 (libc.pot): Work around missing support for .ksh extension in xgettext.
35109 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35110 if both request failed.
35111 (send_dg): In case of server errors clear resplen or *resplen2.
35114 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35115 when there are multiple maps.
35116 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35117 (_dl_fini): Remove test here.
35119 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35121 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35124 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35125 bit from old_res_options.
35126 (gaih_inet): Likewise.
35129 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35132 * resolv/res_init.c (res_setoptions): Make the code more compact.
35135 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35139 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35141 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35144 * malloc/malloc.h: Declare malloc hook variables as volatile.
35146 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35150 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35151 raise in the comment.
35152 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35153 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35154 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35156 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35159 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35160 grow the buffers more if it already has to be sufficient.
35161 (build_wcs_upper_buffer): Likewise.
35162 * posix/regexec.c (check_matching): Likewise.
35163 (clean_state_log_if_needed): Likewise.
35164 (extend_buffers): Don't enlarge buffers beyond size of the input
35166 Patches mostly by Emil Wojak <emil@wojak.eu>.
35167 * posix/bug-regex32.c: New file.
35168 * posix/Makefile (tests): Add bug-regex32.
35170 * locale/findlocale.c (_nl_find_locale): Return right away if
35171 _nl_explode_name failed.
35172 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35174 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35176 * debug/xtrace.sh: Unify messages.
35177 * malloc/memusage.sh: Likewise.
35180 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35181 time symbol from vDSO. Substitute with vsyscall if not available.
35182 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35185 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35186 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35187 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35188 Add sendmmsg and internal_sendmmsg.
35189 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35190 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35191 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35193 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35194 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35197 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35200 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35201 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35207 * iconvdata/Makefile (tests): Add bug-iconv9.
35208 * iconvdata/bug-iconv9.c: New file.
35210 2011-05-27 Andreas Schwab <schwab@redhat.com>
35213 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35215 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35218 (struct user_regs_struct): Change intcs field back to cs.
35220 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35222 * po/ja.po: Update from translation team.
35224 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35227 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35228 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35230 2011-05-20 Andreas Schwab <schwab@redhat.com>
35232 * stdlib/longlong.h: Update from GCC.
35234 2011-05-23 Andreas Schwab <schwab@redhat.com>
35236 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35238 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35239 Add parameter name.
35240 (__sysconf): Pass it down.
35242 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35245 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35247 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35248 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35249 add in in __libc_use_alloca calls. Adjust callers.
35250 (glob): Use malloc in some situations.
35252 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35253 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35256 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35258 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35259 and CLOCK_BOOTTIME_ALARM.
35262 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35265 * string/_strerror.c (__strerror_r): Print negative errors as signed
35269 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35270 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35271 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35273 * configure.in: Fix typo in redirection and correct removal of test
35274 files in two cases.
35277 * locale/setlocale.c (new_composite_name): Fix test to check for
35278 identical name of all categories.
35281 * libio/filedoalloc.c (local_isatty): New function.
35282 (_IO_file_doallocate): Use local_isatty.
35283 * stdio-common/perror.c (perror): In case a new stream is used
35284 forward the stream error.
35285 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35288 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35293 * include/alloca.h (extend_alloca_account): Define.
35296 * posix/regex.h: Fix comments with documentation of user-accessible
35297 fields after compilation and describe correct free'ing of pattern
35298 after re_compile_pattern.
35299 Patch by Reuben Thomas <rrt@sc3d.org>.
35301 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35303 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35304 and -mno-altivec to prevent the compiler from using Altivec and/or
35305 VSX instructions when the corresponding registers are not available.
35307 2011-05-19 Andreas Schwab <schwab@redhat.com>
35309 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35311 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35313 * libio/freopen.c (freopen): Use __dup2, not dup2.
35314 * libio/freopen64.c (freopen64): Likewise.
35316 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35319 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35320 * math/Makefile (tests): Add test-powl.
35321 (CFLAGS-test-powl.c): Define.
35322 * math/test-powl.c: New file.
35324 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35326 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35328 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35331 * iconvdata/gb18030.c: Update to GB18020-2005.
35333 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35335 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35336 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35337 Patch by Aharon Robbins <arnold@skeeve.com>.
35340 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35344 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35345 through underflows.
35348 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35349 point to strings before performing equality test for error_one_per_line
35353 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35356 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35357 (struct user_fpregs_struct): Avoid __uint*_t types.
35360 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35361 symbol info. Use it instead of calling _dl_addr locally.
35362 (lock_and_info): New function.
35363 (tr_freehook): Call lock_and_info and pass symbol info as additional
35364 parameter to tr_where.
35365 (tr_mallochook): Likewise.
35366 (tr_reallochook): Likewise.
35367 (tr_memalignhook): Likewise.
35369 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35370 used and couldn't be at all thread-safe.
35372 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35374 * libio/freopen.c (freopen): Don't close old file descriptor
35375 before the new one is opened. Instead dup the new file descriptor
35376 to the old one after the new stream is created.
35377 * libio/freopen64.c (freopen64): Likewise.
35378 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35379 * libio/fileops.c (_IO_new_file_close_it): Handle new
35380 _IO_FLAGS2_NOCLOSE flag.
35381 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35382 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35383 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35384 _IO_FLAGS2_NOCLOSE flag.
35385 * include/unistd.h: Add hidden_proto for dup3.
35386 Define __have_dup3.
35387 * io/dup3.c: Define hidden symbol.
35388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35391 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35392 when an incomplete long option is used.
35393 * posix/tst-getopt_long1.c: New file.
35394 * posix/Makefile (tests): Add tst-getopt_long1.
35397 * scripts/config.guess: Update from autoconf-2.68.
35398 * scripts/config.sub: Likewise.
35401 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35403 (has_cpuclock): ...this. New function.
35404 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35405 macro here based on has_cpuclock code.
35408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35409 First byte (not low byte) is now always NUL.
35410 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35413 Use non-cancelable interfaces.
35416 * locale/iso-639.def: Add entry for Sorani.
35419 * include/stdlib.h: Move include protection to the right place.
35420 Define abort_msg_s. Declare __abort_msg with it.
35421 * stdlib/abort.c (__abort_msg): Adjust type.
35422 * assert/assert.c (__assert_fail_base): New function. Majority
35423 of code from __assert_fail. Allocate memory for __abort_msg with
35425 (__assert_fail): Now call __assert_fail_base.
35426 * assert/assert-perr.c: Remove bulk of implementation. Use
35427 __assert_fail_base.
35428 * include/assert.hL Declare __assert_fail_base.
35429 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35431 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35433 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35437 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35438 until all modules are registered in the DTV.
35439 * elf/Makefile: Add rules to build and run tst-tls19.
35440 * elf/tst-tls19.c: New file.
35441 * elf/tst-tls19mod1.c: New file.
35442 * elf/tst-tls19mod2.c: New file.
35443 * elf/tst-tls19mod3.c: New file.
35444 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35447 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35451 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35452 two-byte sequence errors.
35453 * iconvdata/Makefile (tests): Add bug-iconv8.
35454 * iconvdata/bug-iconv8.c: New file.
35457 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35460 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35463 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35464 (dummy_getcfa): New function.
35465 (init): Get _Unwind_GetCFA address, use dummy if not found.
35466 (backtrace_helper): In recursion check, also check whether CFA changes.
35467 (__backtrace): Completely initialize arg.
35469 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35470 storing incomplete byte sequence in state object. Avoid testing for
35471 guaranteed too small input if we know there is enough data available.
35473 2011-05-11 Andreas Schwab <schwab@redhat.com>
35475 * Makeconfig (+link-pie): Indent.
35476 * Rules (binaries-pie): Define if $(have-fpie) and
35478 (binaries-shared): Also filter out $(binaries-pie).
35479 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35480 * nscd/Makefile (others-pie): Add nscd.
35481 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35482 ($(objpfx)nscd): Remove command override.
35483 * login/Makefile (others-pie): Add pt_chown.
35484 ($(objpfx)pt_chown): Remove command override.
35485 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35486 remove command overrides.
35488 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35490 * libio/tst_putwc.c: Fix error messages.
35493 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35494 currently writing and seek to current position when not.
35495 * libio/Makefile (tests): Add bug-fclose1.
35496 * libio/bug-fclose1.c: New file.
35498 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35501 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35502 don't set DF_1_NODELETE here.
35503 (do_lookup_x): When entering new entry test for copy relocation
35504 and if necessary set DF_1_NODELETE flag.
35505 * elf/tst-unique4.cc: New file.
35506 * elf/tst-unique4.h: New file.
35507 * elf/tst-unique4lib.cc: New file.
35508 * elf/Makefile: Add rules to build and run tst-unique4.
35509 Patch by Piotr Bury <pbury@goahead.com>.
35511 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35514 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35517 * misc/mntent_r.c (addmntent): Flush the stream after the output
35520 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35521 (is_trusted_path_normalize): Skip initial colon. Append slash
35522 to empty buffer. Duplicate is_trusted_path code but allow
35523 constructed patch to be prefix.
35524 (is_dst): Allow $ORIGIN followed by /.
35525 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35526 Correct testing of result of is_trusted_path_normalize
35527 (decompose_rpath): Fix warning.
35529 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35532 * grp/initgroups.c (internal_getgrouplist): When we found the service
35533 list through the initgroups entry in nsswitch.conf do not always
35534 continue on a successful lookup. Don't always use the
35535 __nss_group_database value if it is set.
35536 * nss/nsswitch.conf (initgroups): Change action for successful db
35537 lookup to continue for compatibility.
35539 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35542 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35544 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35546 * iconvdata/tst-tables.sh: Likewise.
35547 * iconvdata/cp770.c: New file.
35548 * iconvdata/cp771.c: New file.
35549 * iconvdata/cp772.c: New file.
35550 * iconvdata/cp773.c: New file.
35551 * iconvdata/cp774.c: New file.
35552 * iconvdata/testdata/CP770: New file.
35553 * iconvdata/testdata/CP770..UTF8: New file.
35554 * iconvdata/testdata/CP771: New file.
35555 * iconvdata/testdata/CP771..UTF8: New file.
35556 * iconvdata/testdata/CP772: New file.
35557 * iconvdata/testdata/CP772..UTF8: New file.
35558 * iconvdata/testdata/CP773: New file.
35559 * iconvdata/testdata/CP773..UTF8: New file.
35560 * iconvdata/testdata/CP774: New file.
35561 * iconvdata/testdata/CP774..UTF8: New file.
35563 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35565 * iconvdata/gen-8bit-gap.sh: Likewise.
35566 * iconvdata/gen-8bit.sh: Likewise.
35568 * locale/iso-639.def: Add ary entry.
35571 * locale/C-translit.h.in: Add U20A1 transliteration.
35574 * locale/iso-639.def: Add wae entry.
35575 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35578 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35582 * locale/C-translit.h.in: Add entry for U20B9.
35583 Patch by pravin.d.s@gmail.com.
35585 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35588 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35589 ENAMETOOLONG use generic getcwd.
35590 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35591 in rtld. Use *stat64.
35592 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35593 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35594 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35595 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35596 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35597 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35598 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35599 __fstatat64 macros.
35600 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35601 * dirent/rewinddir.c: Add libc_hidden_def.
35602 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35603 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35605 * include/dirent.h (__alloc_dir): Add flags parameter.
35606 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35607 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35609 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35610 from fdopendir if O_CLOEXEC is already set.
35612 2011-03-15 Alan Modra <amodra@gmail.com>
35614 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35615 l_tls_firstbyte_offset non-zero. Save padding offset in
35616 l_tls_firstbyte_offset for later use.
35617 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35618 freeing static tls block.
35620 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35622 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35623 where #ifdef was intended. The intent is to prevent ARG_MAX from
35624 being defined by the kernel headers.
35626 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35629 * resolv/resolv.h: Define RES_NOTLDQUERY.
35630 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35631 no-tld-query and set RES_NOTLDQUERY.
35632 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35633 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35634 modern BIND to search name as TLD unless forbidden.
35636 2011-05-07 Petr Baudis <pasky@suse.cz>
35637 Ulrich Drepper <drepper@gmail.com>
35640 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35641 (is_trusted_path): ...to here.
35642 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35643 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35644 using is_trusted_path_normalize() in setuid scripts.
35646 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35648 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35649 __BEGIN/__END_DECLS.
35651 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35653 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35654 NSS_STATUS_NOTFOUND if no record was found.
35656 2011-05-05 Andreas Schwab <schwab@redhat.com>
35658 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35659 (headers-not-in-tirpc): Remove rpc/netdb.h
35660 * resolv/netdb.h: Revert last change.
35662 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35664 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35665 circular dependency between libgcc.a and libc.a.
35667 2011-05-05 Andreas Schwab <schwab@redhat.com>
35669 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35670 * nis/Makefile: Don't install rpcsvc/*.
35671 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35672 instead of <rpc/types.h>.
35673 (MAXHOSTNAMELEN): Define.
35675 2011-05-03 Andreas Schwab <schwab@redhat.com>
35677 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35679 2011-04-28 Maciej Babinski <mbabinski@google.com>
35682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35683 gethostbyname4_r when IPv6 results are possible.
35685 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35688 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35689 _PC_PIPE_BUF handling.
35691 2011-04-30 Bruno Haible <bruno@clisp.org>
35694 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35695 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35697 * inet/getnameinfo.c (getnameinfo): Likewise.
35699 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35701 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35702 to groups setting in database lookup.
35703 * nss/nsswitch.conf: Add initgroups entry.
35705 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35708 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35710 Patch by Eric Blake <eblake@redhat.com>.
35712 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35714 * sunrpc/Makefile (need-export-routines): Add svc_run.
35715 (routines): Remove svc_run.
35716 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35717 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35718 * sunrpc/svc_run.c (svc_run): Likewise.
35719 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35721 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35724 problem in reallocation in last patch.
35726 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35728 * sunrpc/Makefile: Move inclusion of Rules.
35730 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35732 * nss/nss_files/files-initgroups.c: New file.
35733 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35734 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35735 _nss_files_initgroups_dyn.
35737 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35739 * elf/elf.h (R_ARM_IRELATIVE): Define.
35741 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35743 * po/ru.po: Update from translation team.
35745 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35747 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35750 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35753 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35754 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35755 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35759 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35761 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35763 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35764 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35767 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35770 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35772 * stdlib/bug-getcontext.c: New file.
35773 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35775 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35777 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35778 instructions into .machine "z9-109".
35779 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35780 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35782 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35784 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35785 between environment variables and auxiliary vector.
35787 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35789 * Makefile: Add rules to build linkobj/libc.so.
35790 * include/libc-symbols.h: Define libc_hidden_nolink.
35791 * include/rpc/auth.h: Mark functions which are to be hidden.
35792 * include/rpc/auth_des.h: Likewise.
35793 * include/rpc/auth_unix.h: Likewise.
35794 * include/rpc/clnt.h: Likewise.
35795 * include/rpc/des_crypt.h: Likewise.
35796 * include/rpc/key_prot.h: Likewise.
35797 * include/rpc/pmap_clnt.h: Likewise.
35798 * include/rpc/pmap_prot.h: Likewise.
35799 * include/rpc/pmap_rmt.h: Likewise.
35800 * include/rpc/rpc_msg.h: Likewise.
35801 * include/rpc/svc.h: Likewise.
35802 * include/rpc/svc_auth.h: Likewise.
35803 * include/rpc/xdr.h: Likewise.
35804 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35805 * nss/Makefile: Likewise.
35806 * sunrpc/Makefile: Don't install headers. Build library with normal
35807 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35808 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35809 for the compat linking library. Remove use of INTDEF/INTUSE.
35810 * sunrpc/auth_none.c: Likewise.
35811 * sunrpc/auth_unix.c: Likewise.
35812 * sunrpc/authdes_prot.c: Likewise.
35813 * sunrpc/authuxprot.c: Likewise.
35814 * sunrpc/clnt_gen.c: Likewise.
35815 * sunrpc/clnt_perr.c: Likewise.
35816 * sunrpc/clnt_raw.c: Likewise.
35817 * sunrpc/clnt_simp.c: Likewise.
35818 * sunrpc/clnt_tcp.c: Likewise.
35819 * sunrpc/clnt_udp.c: Likewise.
35820 * sunrpc/clnt_unix.c: Likewise.
35821 * sunrpc/des_crypt.c: Likewise.
35822 * sunrpc/des_soft.c: Likewise.
35823 * sunrpc/get_myaddr.c: Likewise.
35824 * sunrpc/key_call.c: Likewise.
35825 * sunrpc/key_prot.c: Likewise.
35826 * sunrpc/netname.c: Likewise.
35827 * sunrpc/pm_getmaps.c: Likewise.
35828 * sunrpc/pm_getport.c: Likewise.
35829 * sunrpc/pmap_clnt.c: Likewise.
35830 * sunrpc/pmap_prot.c: Likewise.
35831 * sunrpc/pmap_prot2.c: Likewise.
35832 * sunrpc/pmap_rmt.c: Likewise.
35833 * sunrpc/publickey.c: Likewise.
35834 * sunrpc/rpc_cmsg.c: Likewise.
35835 * sunrpc/rpc_common.c: Likewise.
35836 * sunrpc/rpc_dtable.c: Likewise.
35837 * sunrpc/rpc_prot.c: Likewise.
35838 * sunrpc/rpc_thread.c: Likewise.
35839 * sunrpc/rtime.c: Likewise.
35840 * sunrpc/svc.c: Likewise.
35841 * sunrpc/svc_auth.c: Likewise.
35842 * sunrpc/svc_authux.c: Likewise.
35843 * sunrpc/svc_raw.c: Likewise.
35844 * sunrpc/svc_run.c: Likewise.
35845 * sunrpc/svc_simple.c: Likewise.
35846 * sunrpc/svc_tcp.c: Likewise.
35847 * sunrpc/svc_udp.c: Likewise.
35848 * sunrpc/svc_unix.c: Likewise.
35849 * sunrpc/svcauth_des.c: Likewise.
35850 * sunrpc/xcrypt.c: Likewise.
35851 * sunrpc/xdr.c: Likewise.
35852 * sunrpc/xdr_array.c: Likewise.
35853 * sunrpc/xdr_float.c: Likewise.
35854 * sunrpc/xdr_intXX_t.c: Likewise.
35855 * sunrpc/xdr_mem.c: Likewise.
35856 * sunrpc/xdr_rec.c: Likewise.
35857 * sunrpc/xdr_ref.c: Likewise.
35858 * sunrpc/xdr_sizeof.c: Likewise.
35859 * sunrpc/xdr_stdio.c: Likewise.
35861 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35864 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35865 * sysdeps/ia64/dl-tls.h: Likewise.
35866 * sysdeps/powerpc/dl-tls.h: Likewise.
35867 * sysdeps/s390/dl-tls.h: Likewise.
35868 * sysdeps/sh/dl-tls.h: Likewise.
35869 * sysdeps/sparc/dl-tls.h: Likewise.
35870 * sysdeps/x86_64/dl-tls.h: Likewise.
35871 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35873 2011-03-14 Andreas Schwab <schwab@redhat.com>
35875 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35876 rpath element also skip the following colon.
35877 (expand_dynamic_string_token): Add is_path parameter and pass
35878 down to DL_DST_REQUIRED and _dl_dst_substitute.
35879 (decompose_rpath): Call expand_dynamic_string_token with
35880 non-zero is_path. Ignore empty rpaths.
35881 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35884 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35889 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35892 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35893 Patch by Filipe David Manana <fdmanana@apache.org>.
35895 2011-04-07 Andreas Schwab <schwab@redhat.com>
35897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35898 Maintain aligned stack.
35899 (CHECK_RSP): Remove unused macro.
35901 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35903 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35904 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35906 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35908 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35910 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35912 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35915 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35916 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35917 * sysdeps/x86_64/memmove.c: New file.
35918 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35919 (memcpy): Renamed to ...
35920 (__new_memcpy): This.
35921 (memcpy): Provide GLIBC_2_14 memcpy.
35922 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35923 (memcpy): Provide GLIBC_2_2_5 memcpy.
35925 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35928 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35930 2011-03-30 Andreas Schwab <schwab@redhat.com>
35932 * misc/syncfs.c: New file.
35933 * misc/Makefile (routines): Add syncfs.
35934 * posix/unistd.h: Declare syncfs.
35935 * sysdeps/unix/syscalls.list: Add syncfs.
35937 2011-04-01 Andreas Schwab <schwab@redhat.com>
35939 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35944 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35946 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35947 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35949 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35951 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35952 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35953 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35955 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35959 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35960 sync_file_range.c with -fexceptions.
35961 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35962 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35963 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35964 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35965 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35966 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35967 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35968 sync_file_range as cancellation point
35969 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35970 now a wrapper around __call_sync_file_range with cancellation handling.
35971 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35972 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35973 function name to __call_sync_file_range.
35974 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35975 Add call_sync_file_range.
35977 2011-04-01 Andreas Schwab <schwab@redhat.com>
35979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35982 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35984 * iconv/iconv.h: Fix typo in comment.
35985 * io/fcntl.h: Likewise.
35986 * libio/stdio.h: Likewise.
35987 * posix/spawn.h: Likewise.
35988 * posix/unistd.h: Likewise.
35989 * stdlib/stdlib.h: Likewise.
35990 * time/time.h: Likewise.
35991 * wcsmbs/wchar.h: Likewise.
35993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35994 open_by_handle): Add.
35995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35996 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35997 Augment a few comments.
35998 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36000 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36003 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36006 * io/fcntl.h (AT_EMPTY_PATH): Define.
36008 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36010 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36011 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36012 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36014 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36015 * Versions.def: Add GLIBC_2.14.
36016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36019 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36021 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36023 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36025 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36028 * string/test-strncmp.c (do_page_test): New function.
36029 (check2): Likewise.
36030 (test_main): Call check2.
36031 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36033 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36036 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36037 Handle cache information in CPU leaf 4.
36038 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36040 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36043 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36044 character representation.
36045 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36047 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36049 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36050 END(__isnan) to END(__isnanf) to match function entry point/label
36051 EALIGN(__isnanf,...).
36053 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36055 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36057 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36060 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36061 copy from the symbol referenced in the relocation to initialize the
36063 Patch by Piotr Bury <pbury@goahead.com>.
36064 * elf/Makefile: Add rules to build and tst-unique3.
36065 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36066 * elf/tst-unique3.cc: New file.
36067 * elf/tst-unique3.h: New file.
36068 * elf/tst-unique3lib.cc: New file.
36069 * elf/tst-unique3lib2.cc: New file.
36071 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36073 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36075 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36076 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36079 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36081 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36082 to-be-loaded object along a path to loader is ld.so.
36084 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36085 Ulrich Drepper <drepper@gmail.com>
36087 * sysdeps/x86_64/memset.S: After aligning destination, code
36088 branches to different locations depending on the value of
36089 misalignment, when multiarch is enabled. Fix this.
36091 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36093 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36094 Set _x86_64_preferred_memory_instruction for AMD processsors.
36095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36096 Set bit_Prefer_SSE_for_memop for AMD processors.
36098 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36100 * libio/fmemopen.c (fmemopen): Optimize a bit.
36102 2011-03-03 Andreas Schwab <schwab@redhat.com>
36104 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36106 2011-03-03 Roland McGrath <roland@redhat.com>
36108 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36110 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36112 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36113 __bzero_ultra1 instead of __memset_ultra1.
36115 2011-02-23 Andreas Schwab <schwab@redhat.com>
36116 Ulrich Drepper <drepper@gmail.com>
36119 * include/link.h (struct link_map): Add l_orig_initfini.
36120 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36121 returning unsuccessfully.
36122 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36123 close of a file loaded at startup, restore the original l_initfini
36125 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36126 list, store the pointer.
36127 * elf/Makefile ($(objpfx)noload-mem): New rule.
36128 (noload-ENV): Define.
36129 (tests): Add $(objpfx)noload-mem.
36130 * elf/noload.c: Include <memcheck.h>.
36131 (main): Call mtrace. Close all opened handles.
36133 2011-02-17 Andreas Schwab <schwab@redhat.com>
36136 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36137 dependencies are missing.
36139 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36141 Fix __if_freereq crash: Unlike the generic version which uses free,
36143 * sysdeps/mach/hurd/ifreq.h: New file.
36145 2011-01-27 Petr Baudis <pasky@suse.cz>
36146 Ulrich Drepper <drepper@gmail.com>
36149 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36150 to extend_alloca().
36151 * stdio-common/bug23.c: New file.
36152 * stdio-common/Makefile (tests): Add bug23.
36154 2010-09-28 Andreas Schwab <schwab@redhat.com>
36155 Ulrich Drepper <drepper@gmail.com>
36158 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36159 before performing relro protection. At old place add assertion
36160 to make sure nothing changed.
36162 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36163 Glauber de Oliveira Costa <glommer@gmail.com>
36165 * elf/elf.h: Add new ARM TLS relocs.
36167 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36170 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36172 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36174 * sysdeps/wordsize-64/tst-writev.c: New file.
36176 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36178 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36179 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36180 insns in _dl_start to prevent a TOC reference before relocs are
36183 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36186 * Makeconfig: Remove RANLIB definition.
36187 * Makerules: Don't use RANLIB.
36188 * aclocal.m4: Remove ranlib test.
36189 * configure.in: No need to check for ranlib.
36190 * elf/rtld-Rules: Don't use RANLIB.
36192 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36194 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36196 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36197 inclusion protection macro.
36199 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36200 SIGRTMIN and SIGRTMAX and print information in that case only when
36201 SIGRTMIN is defined.
36203 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36205 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36206 arginfo fn returning -1.
36208 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36209 and thousands string is zero terminated.
36211 2011-02-03 Andreas Schwab <schwab@redhat.com>
36213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36214 sysdeps/unix/sysv/linux/bits/socket.h.
36216 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36218 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36219 (__CPU_COUNT): Remove old macros.
36220 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36221 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36222 (__CPU_ALLOC, __CPU_FREE): Add macros.
36223 (__sched_cpualloc, __sched_cpufree): Add declarations.
36225 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36227 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36228 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36229 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36230 (readdhstai): Return value of addhstaiX call.
36231 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36232 (addgrbyX): Return value returned by cache_addgr.
36233 (readdgrbyname): Return value returned by addgrbyX.
36234 (readdgrbygid): Likewise.
36235 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36236 (addpwbyX): Return value returned by cache_addpw.
36237 (readdpwbyname): Return value returned by addhstbyX.
36238 (readdpwbyuid): Likewise.
36239 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36240 (addservbyX): Return value returned by cache_addserv.
36241 (readdservbyname): Return value returned by addservbyX:
36242 (readdservbyport): Likewise.
36243 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36244 (addhstbyX): Return value returned by cache_addhst.
36245 (readdhstbyname): Return value returned by addhstbyX.
36246 (readdhstbyaddr): Likewise.
36247 (readdhstbynamev6): Likewise.
36248 (readdhstbyaddrv6): Likewise.
36249 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36250 (readdinitgroups): Return value returned by addinitgroupsX.
36251 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36252 (prune_cache): Keep track of timeout value of re-added entries.
36253 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36254 * nscd/nscd.h: Adjust prototypes of readd* functions.
36256 2011-02-04 Roland McGrath <roland@redhat.com>
36258 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36259 (nis_stats): Likewise.
36260 * nis/nis_modify.c (nis_modify): Likewise.
36261 * nis/nis_remove.c (nis_remove): Likewise.
36262 * nis/nis_add.c (nis_add): Likewise.
36264 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36266 * posix/fnmatch_loop.c: Add some consts.
36268 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36270 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36273 * config.make.in (config-cflags-novzeroupper): Define.
36274 * configure.in: Substitute libc_cv_cc_novzeroupper.
36275 * elf/Makefile (AVX-CFLAGS): Define.
36276 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36277 (CFLAGS-tst-auditmod4a.c): Likewise.
36278 (CFLAGS-tst-auditmod4b.c): Likewise.
36279 (CFLAGS-tst-auditmod6b.c): Likewise.
36280 (CFLAGS-tst-auditmod6c.c): Likewise.
36281 (CFLAGS-tst-auditmod7b.c): Likewise.
36282 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36284 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36286 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36287 function to the callback.
36288 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36290 2011-02-02 Andreas Schwab <schwab@redhat.com>
36292 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36295 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36298 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36300 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36302 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36305 * elf/Makefile: Add rules to build and run new test.
36306 * elf/tst-initorder.c: New file.
36307 * elf/tst-initorder.exp: New file.
36308 * elf/tst-initordera1.c: New file.
36309 * elf/tst-initordera2.c: New file.
36310 * elf/tst-initordera3.c: New file.
36311 * elf/tst-initordera4.c: New file.
36312 * elf/tst-initorderb1.c: New file.
36313 * elf/tst-initorderb2.c: New file.
36314 * elf/tst-order-a1.c: New file.
36315 * elf/tst-order-a2.c: New file.
36316 * elf/tst-order-a3.c: New file.
36317 * elf/tst-order-a4.c: New file.
36318 * elf/tst-order-b1.c: New file.
36319 * elf/tst-order-b2.c: New file.
36320 * elf/tst-order-main.c: New file.
36321 New test case by George Gensure <werkt0@gmail.com>.
36323 2010-10-01 Andreas Schwab <schwab@redhat.com>
36325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36326 decoding ACE if AI_CANONIDN.
36328 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36330 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36332 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36334 * version.h (RELEASE): Bump for 2.13 release.
36335 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36337 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36339 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36341 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36342 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36343 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36344 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36348 * posix/getconf.c: Update copyright year.
36349 * catgets/gencat.c: Likewise.
36350 * csu/version.c: Likewise.
36351 * debug/catchsegv.sh: Likewise.
36352 * debug/xtrace.sh: Likewise.
36353 * elf/ldconfig.c: Likewise.
36354 * elf/ldd.bash.in: Likewise.
36355 * elf/sprof.c (print_version): Likewise.
36356 * iconv/iconv_prog.c: Likewise.
36357 * iconv/iconvconfig.c: Likewise.
36358 * locale/programs/locale.c: Likewise.
36359 * locale/programs/localedef.c: Likewise.
36360 * malloc/memusage.sh: Likewise.
36361 * malloc/mtrace.pl: Likewise.
36362 * nscd/nscd.c (print_version): Likewise.
36363 * nss/getent.c: Likewise.
36365 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36366 PF_CAIF, and PF_ALG.
36367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36369 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36371 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36372 (modules-names): Use them.
36373 (ifunc-test-modules, ifunc-pie-tests): Define.
36374 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36375 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36376 (test-extras): Likewise.
36377 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36378 $(compile-command.c).
36379 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36380 (all-built-dso): Define.
36381 (check-textrel.out, check-execstack.out): Depend on it.
36383 * configure.in: Don't override --enable-multi-arch.
36385 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36388 * nscd/hstcache.c (tryagain): Define.
36389 (cache_addhst): Return tryagain not notfound for temporary errors.
36390 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36393 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36396 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36397 to make the syscall.
36398 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36401 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36402 and fall back to matching as normal character if the string ends before
36403 the matching ']' is found. This is what POSIX requires.
36404 * posix/testfnm.c: Adjust test result.
36405 * posix/globtest.sh: Adjust test result. Add new test.
36406 * posix/tst-fnmatch.input: Likewise.
36407 * posix/tst-fnmatch2.c: Add new test.
36409 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36411 * elf/Makefile (check-execstack): Revert last change. Depend on
36413 (check-execstack.h): New target.
36414 (generated): Add check-execstack.h.
36415 * elf/check-execstack.c: Include "check-execstack.h".
36416 (main): Revert last change.
36417 (handle_file): Return zero if GNU_STACK is absent and
36418 DEFAULT_STACK_PERMS doesn't include PF_X.
36420 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36422 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36423 in child fails because the descriptor is already closed.
36424 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36425 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36426 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36429 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36433 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36434 temporary buffer used to handle multi lookups locally.
36435 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36437 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36439 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36442 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36444 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36445 alignment for SSE2.
36447 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36450 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36451 characters. When rounding increased number of integer digits recompute
36453 * stdio-common/tst-grouping.c: New file.
36454 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36456 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36458 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36459 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36461 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36463 * bits/select.h: Likewise.
36465 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36467 * po/ja.po: Update from translation team.
36469 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36472 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36473 implementation just like for lxstat, fxstatat, et al.
36475 2010-12-27 Jim Meyering <meyering@redhat.com>
36478 * posix/regexec.c (build_trtable): Return failure indication upon
36479 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36481 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36484 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36485 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36486 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36490 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36493 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36494 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36496 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36498 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36499 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36500 script has SORT_BY_INIT_PRIORITY.
36501 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36502 NO_CTORS_DTORS_SECTIONS is defined.
36503 * elf/soinit.c: Likewise.
36504 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36505 NO_CTORS_DTORS_SECTIONS is defined.
36506 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36507 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36508 * sysdeps/sh/init-first.c: Likewise.
36509 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36511 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36513 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36514 always use the slow path.
36516 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36518 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36519 similar rule which adds the sysdep directories to the header search in
36520 order to pick up the correct platform stackinfo.h.
36521 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36522 perform test if it is, otherwise return successfully without testing.
36523 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36524 DEFAULT_STACK_PERMS define in stackinfo.h.
36525 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36526 defined in stackinfo.h.
36527 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36528 DEFAULT_STACK_PERMS defined in stackinfo.h.
36529 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36530 * sysdeps/ia64/stackinfo.h: Likewise.
36531 * sysdeps/s390/stackinfo.h: Likewise.
36532 * sysdeps/sh/stackinfo.h: Likewise.
36533 * sysdeps/sparc/stackinfo.h: Likewise.
36534 * sysdeps/x86_64/stackinfo.h: Likewise.
36535 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36536 PF_X for powerpc64. Retain PF_X for powerpc32.
36538 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36540 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36542 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36543 GETDENTS_64BIT_ALIGNED.
36545 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36547 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36549 2010-12-10 Andreas Schwab <schwab@redhat.com>
36551 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36554 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36555 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36557 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36558 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36560 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36563 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36566 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36568 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36570 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36572 * po/it.po: Update from translation team.
36574 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36579 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36581 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36583 2010-11-24 Andreas Schwab <schwab@redhat.com>
36585 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36587 (gaih_getanswer_slice): Likewise.
36589 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36593 2010-05-31 Petr Baudis <pasky@suse.cz>
36596 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36597 silently even in the chroot mode.
36599 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36601 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36602 last patch a bit. Pretty printing
36604 2010-05-31 Petr Baudis <pasky@suse.cz>
36607 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36608 initialization of skip_initgroups_dyn.
36610 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36612 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36613 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36615 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36617 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36619 2010-11-11 Andreas Schwab <schwab@redhat.com>
36621 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36622 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36623 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36624 ($(objpfx)tst-fnmatch-mem): New rule.
36625 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36626 * posix/tst-fnmatch.c (main): Call mtrace.
36628 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36631 Support Intel processor model 6 and model 0x2c.
36633 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36638 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36641 * string/test-strncasecmp.c (check_result): New function.
36642 (do_one_test): Use it.
36643 (check1): New function.
36644 (test_main): Use it.
36645 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36646 Support strcasecmp and strncasecmp.
36648 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36651 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36652 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36654 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36656 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36660 * sysdeps/x86_64/multiarch/bzero.S: New file.
36661 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36662 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36663 * sysdeps/x86_64/multiarch/memset.S: New file.
36664 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36666 Set bit_Prefer_SSE_for_memop for Intel processors.
36667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36669 (index_Prefer_SSE_for_memop): Define.
36670 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36672 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36674 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36675 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36677 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36680 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36681 (__x86_64_raw_data_cache_size_half): Likewise.
36682 (__x86_64_raw_shared_cache_size): Likewise.
36683 (__x86_64_raw_shared_cache_size_half): Likewise.
36685 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36686 (__x86_64_raw_data_cache_size_half): Likewise.
36687 (__x86_64_raw_shared_cache_size): Likewise.
36688 (__x86_64_raw_shared_cache_size_half): Likewise.
36689 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36690 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36691 and __x86_64_raw_shared_cache_size_half. Round
36692 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36693 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36694 to multiple of 256 bytes.
36696 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36699 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36700 of inacessible symlinks. Verify result of symlink before returning it.
36701 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36702 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36704 2010-10-28 Erich Ritz <erichritz@gmail.com>
36706 * math/math.h (isinf): Fix typo in comment.
36708 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36710 * po/da.po: Update from translation team.
36712 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36714 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36715 is added to the list.
36717 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36718 Ulrich Drepper <drepper@gmail.com>
36720 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36721 the global list here. Move code to...
36722 (_dl_add_to_namespace_list): ...here. New function.
36723 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36724 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36725 * elf/dl-load.c (lose): Don't remove the element from the list.
36726 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36727 (_dl_map_object): Likewise.
36729 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36732 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36733 into all bytes of SSE register.
36734 Patch by Richard Li <richardpku@gmail.com>.
36736 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36739 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36742 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36744 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36745 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36746 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36747 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36752 2010-10-22 Andreas Schwab <schwab@redhat.com>
36754 * include/dlfcn.h (__RTLD_SECURE): Define.
36755 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36756 mode & __RTLD_SECURE instead.
36757 (open_path): Rename preloaded parameter to secure.
36758 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36759 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36760 * elf/dl-deps.c (openaux): Likewise.
36761 * elf/rtld.c (struct map_args): Remove is_preloaded.
36762 (map_doit): Don't use it.
36763 (dl_main): Likewise.
36764 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36765 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36767 2010-09-09 Andreas Schwab <schwab@redhat.com>
36769 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36770 (sysd-rules-targets): Remove duplicates.
36771 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36772 rtld-%.$o dependency.
36774 2010-10-18 Andreas Schwab <schwab@redhat.com>
36776 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36777 _dl_map_object do it.
36779 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36781 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36782 fast fma builtins, define the macros in the C99 standard.
36783 (FP_FAST_FMAF): Likewise.
36784 (FP_FAST_FMAL): Likewise.
36785 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36787 * bits/mathdef.h: Update copyright year.
36788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36790 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36792 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36793 builtins, define the macros in the C99 standard.
36794 (FP_FAST_FMAF): Likewise.
36795 (FP_FAST_FMAL): Likewise.
36796 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36798 (FP_FAST_FMAF): Likewise.
36800 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36803 * math/libm-test.inc (fma_test): Some new testcases.
36804 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36805 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36806 y and infinite z. Do multiplication by C already in long double.
36807 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36809 y and infinite z. Do bitwise or of inexact bit into u.d.
36810 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36811 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36812 * sysdeps/i386/fpu/s_fma.S: Removed.
36813 * sysdeps/i386/fpu/s_fmal.S: Removed.
36815 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36818 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36820 computation is not scheduled after fetestexcept. Fix value
36821 of minimum denormal long double.
36823 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36826 * math/libm-test.inc (fma_test): Add some more tests.
36827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36830 2010-10-15 Andreas Schwab <schwab@redhat.com>
36832 * scripts/data/localplt-s390-linux-gnu.data: New file.
36833 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36835 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36838 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36839 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36841 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36843 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36845 if one of x and y is very large and the other is subnormal.
36846 * sysdeps/s390/fpu/s_fmaf.c: New file.
36847 * sysdeps/s390/fpu/s_fma.c: New file.
36848 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36849 * sysdeps/powerpc/fpu/s_fma.S: New file.
36850 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36851 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36852 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36854 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36857 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36859 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36860 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36861 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36862 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36863 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36864 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36865 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36867 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36870 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36871 * posix/bug-regex31.input: Add test case.
36873 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36875 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36876 * posix/bug-regex31.input: New file.
36879 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36880 (parse_sub_exp): Fix last change, use postorder.
36882 * posix/bug-regex31.c: New file.
36883 * posix/Makefile: Add rules to build and run bug-regex31.
36885 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36888 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36891 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36892 to have entries in sys_siglist.
36895 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36898 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36901 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36902 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36903 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36904 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36905 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36906 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36907 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36908 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36909 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36910 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36911 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36912 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36913 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36914 * math/ftestexcept.c (fetestexcept): Likewise.
36915 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36916 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36917 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36918 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36919 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36920 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36921 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36923 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36926 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36929 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36931 * string/bug-strstr1.c: New file.
36932 * string/Makefile: Add rules to build and run bug-strstr1.
36934 2010-10-05 Eric Blake <eblake@redhat.com>
36937 * string/str-two-way.h (two_way_long_needle): Always clear memory
36938 when skipping input due to the shift table.
36940 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36943 * malloc/mcheck.c: Handle large requests.
36946 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36947 for strncmp and strncasecmp.
36948 * string/stratcliff.c: Add tests for strcmp and strncmp.
36949 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36951 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36953 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36956 2010-09-30 Andreas Jaeger <aj@suse.de>
36958 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36959 (CGROUP_SUPER_MAGIC): Define.
36960 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36961 Handle btrfs and cgroup file systems.
36962 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36965 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36967 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36968 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36970 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36973 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36974 trying to locate the ELF header.
36976 2010-09-27 Andreas Schwab <schwab@redhat.com>
36979 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36980 Mask out sign-bit copies when constructing f_fsid.
36982 2010-09-24 Petr Baudis <pasky@suse.cz>
36984 * debug/stack_chk_fail_local.c: Add missing licence exception.
36985 * debug/warning-nop.c: Likewise.
36987 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36989 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36990 implementing getdents64 using getdents syscall, set d_type if
36991 __ASSUME_GETDENTS32_D_TYPE.
36993 2010-09-16 Andreas Schwab <schwab@redhat.com>
36995 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36996 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36998 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37001 * posix/unistd.h: Undo change of feature selection for ftruncate from
37004 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37006 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37009 2010-09-20 Andreas Schwab <schwab@redhat.com>
37011 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37013 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37015 2010-09-14 Andreas Schwab <schwab@redhat.com>
37017 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37018 variables after CHECK_SP call.
37019 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37021 2010-09-13 Andreas Schwab <schwab@redhat.com>
37022 Ulrich Drepper <drepper@redhat.com>
37024 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37025 re-relocationg ld.so.
37026 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37027 _dl_init_paths call.
37028 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37031 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37033 * resolv/res_init.c (__res_vinit): Count the default server we added.
37035 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37036 Ulrich Drepper <drepper@redhat.com>
37039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37040 (____longjmp_chk): Use %ebx for saving value across system call.
37043 2010-09-06 Andreas Schwab <schwab@redhat.com>
37045 * manual/Makefile: Don't mix pattern rules with normal rules.
37047 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37049 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37051 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37052 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37053 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37054 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37058 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37061 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37062 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37064 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37066 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37067 * sysdeps/x86_64/addmul_1.S: Likewise.
37068 * sysdeps/x86_64/lshift.S: Likewise.
37069 * sysdeps/x86_64/mul_1.S: Likewise.
37070 * sysdeps/x86_64/rshift.S: Likewise.
37071 * sysdeps/x86_64/sub_n.S: Likewise.
37072 * sysdeps/x86_64/submul_1.S: Likewise.
37074 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37076 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37077 Define __sched_param instead of SCHED_* and sched_param when
37078 <bits/sched.h> is included with __need_schedparam defined.
37079 * bits/sched.h [__need_schedparam]
37080 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37081 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37082 (__defined_schedparam): Define to 1.
37083 (__sched_param): New structure, identical to sched_param.
37084 (__need_schedparam): Undefine.
37086 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37088 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37089 (epoll_create1): Declare.
37091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37093 2010-08-31 Andreas Schwab <schwab@redhat.com>
37096 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37097 shifting retval into place.
37099 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37101 * nis/rpcsvc/nis.h: Update copyright notice.
37102 * nis/rpcsvc/nis.x: Likewise.
37103 * nis/rpcsvc/nis_callback.h: Likewise.
37104 * nis/rpcsvc/nis_callback.x: Likewise.
37105 * nis/rpcsvc/nis_object.x: Likewise.
37106 * nis/rpcsvc/nis_tags.h: Likewise.
37107 * nis/rpcsvc/yp.h: Likewise.
37108 * nis/rpcsvc/yp.x: Likewise.
37109 * nis/rpcsvc/ypupd.h: Likewise.
37110 * nis/yp_xdr.c: Likewise.
37111 * nis/ypupdate_xdr.c: Likewise.
37113 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37114 mainly the body of pmap_getport. Add parameters to specify timeouts.
37115 (pmap_getport): Use __libc_rpc_getport.
37116 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37117 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37118 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37120 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37125 2010-08-27 Roland McGrath <roland@redhat.com>
37127 * sysdeps/i386/i686/multiarch/Makefile
37128 (CFLAGS-varshift.c): New variable.
37130 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37132 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37133 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37137 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37139 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37141 * sysdeps/x86_64/strlen.S: Unroll the loop.
37142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37143 strlen-sse2 strlen-sse2-bsf.
37144 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37145 __strlen_no_bsf if bit_Slow_BSF is set.
37146 (__strlen_sse42): Removed.
37147 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37148 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37150 2010-08-25 Roland McGrath <roland@redhat.com>
37152 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37153 * sysdeps/x86_64/multiarch/varshift.c: New file.
37154 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37155 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37156 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37157 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37159 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37162 strlen-sse2 strlen-sse2-bsf.
37163 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37164 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37165 (__strlen_sse2): Removed.
37166 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37167 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37169 bit_Slow_BSF for Atom.
37170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37171 (index_Slow_BSF): Define.
37172 (HAS_SLOW_BSF): Define.
37174 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37177 * resolv/res_init.c (__res_vinit): When no server address at all
37178 is given default to loopback.
37180 2010-08-24 Roland McGrath <roland@redhat.com>
37182 * configure.in: Remove config-name.h generation.
37183 * configure: Regenerated.
37184 * config-name.in: File removed.
37185 * scripts/config-uname.sh: New file.
37186 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37187 ($(objdir)config-name.h): New target.
37189 * sunrpc/rpc_parse.h: Avoid nested comment.
37191 2010-08-24 Richard Henderson <rth@redhat.com>
37192 Ulrich Drepper <drepper@redhat.com>
37193 H.J. Lu <hongjiu.lu@intel.com>
37195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37197 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37198 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37199 _mm_alignr_epi8 with _mm_loadu_si128.
37200 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37201 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37202 (__m128i_shift_right): Removed.
37203 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37204 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37205 * sysdeps/x86_64/multiarch/varshift.h: New file.
37206 * sysdeps/x86_64/multiarch/varshift.S: New file.
37208 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37210 * configure.in: Move assembler checks to before sysdep dir checking.
37212 2010-08-20 Petr Baudis <pasky@suse.cz>
37214 * LICENSES: Sync the sunrpc license.
37216 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37218 * sunrpc/auth_des.c: Update copyright notice once again.
37219 * sunrpc/auth_none.c: Likewise.
37220 * sunrpc/auth_unix.c: Likewise.
37221 * sunrpc/authdes_prot.c: Likewise.
37222 * sunrpc/authuxprot.c: Likewise.
37223 * sunrpc/bindrsvprt.c: Likewise.
37224 * sunrpc/clnt_gen.c: Likewise.
37225 * sunrpc/clnt_perr.c: Likewise.
37226 * sunrpc/clnt_raw.c: Likewise.
37227 * sunrpc/clnt_simp.c: Likewise.
37228 * sunrpc/clnt_tcp.c: Likewise.
37229 * sunrpc/clnt_udp.c: Likewise.
37230 * sunrpc/clnt_unix.c: Likewise.
37231 * sunrpc/des_crypt.c: Likewise.
37232 * sunrpc/des_soft.c: Likewise.
37233 * sunrpc/get_myaddr.c: Likewise.
37234 * sunrpc/getrpcport.c: Likewise.
37235 * sunrpc/key_call.c: Likewise.
37236 * sunrpc/key_prot.c: Likewise.
37237 * sunrpc/openchild.c: Likewise.
37238 * sunrpc/pm_getmaps.c: Likewise.
37239 * sunrpc/pm_getport.c: Likewise.
37240 * sunrpc/pmap_clnt.c: Likewise.
37241 * sunrpc/pmap_prot.c: Likewise.
37242 * sunrpc/pmap_prot2.c: Likewise.
37243 * sunrpc/pmap_rmt.c: Likewise.
37244 * sunrpc/rpc/auth.h: Likewise.
37245 * sunrpc/rpc/auth_unix.h: Likewise.
37246 * sunrpc/rpc/clnt.h: Likewise.
37247 * sunrpc/rpc/des_crypt.h: Likewise.
37248 * sunrpc/rpc/key_prot.h: Likewise.
37249 * sunrpc/rpc/netdb.h: Likewise.
37250 * sunrpc/rpc/pmap_clnt.h: Likewise.
37251 * sunrpc/rpc/pmap_prot.h: Likewise.
37252 * sunrpc/rpc/pmap_rmt.h: Likewise.
37253 * sunrpc/rpc/rpc.h: Likewise.
37254 * sunrpc/rpc/rpc_des.h: Likewise.
37255 * sunrpc/rpc/rpc_msg.h: Likewise.
37256 * sunrpc/rpc/svc.h: Likewise.
37257 * sunrpc/rpc/svc_auth.h: Likewise.
37258 * sunrpc/rpc/types.h: Likewise.
37259 * sunrpc/rpc/xdr.h: Likewise.
37260 * sunrpc/rpc_clntout.c: Likewise.
37261 * sunrpc/rpc_cmsg.c: Likewise.
37262 * sunrpc/rpc_common.c: Likewise.
37263 * sunrpc/rpc_cout.c: Likewise.
37264 * sunrpc/rpc_dtable.c: Likewise.
37265 * sunrpc/rpc_hout.c: Likewise.
37266 * sunrpc/rpc_main.c: Likewise.
37267 * sunrpc/rpc_parse.c: Likewise.
37268 * sunrpc/rpc_parse.h: Likewise.
37269 * sunrpc/rpc_prot.c: Likewise.
37270 * sunrpc/rpc_sample.c: Likewise.
37271 * sunrpc/rpc_scan.c: Likewise.
37272 * sunrpc/rpc_scan.h: Likewise.
37273 * sunrpc/rpc_svcout.c: Likewise.
37274 * sunrpc/rpc_tblout.c: Likewise.
37275 * sunrpc/rpc_util.c: Likewise.
37276 * sunrpc/rpc_util.h: Likewise.
37277 * sunrpc/rpcinfo.c: Likewise.
37278 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37279 * sunrpc/rpcsvc/key_prot.x: Likewise.
37280 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37281 * sunrpc/rpcsvc/mount.x: Likewise.
37282 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37283 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37284 * sunrpc/rpcsvc/rex.x: Likewise.
37285 * sunrpc/rpcsvc/rstat.x: Likewise.
37286 * sunrpc/rpcsvc/rusers.x: Likewise.
37287 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37288 * sunrpc/rpcsvc/spray.x: Likewise.
37289 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37290 * sunrpc/rtime.c: Likewise.
37291 * sunrpc/svc.c: Likewise.
37292 * sunrpc/svc_auth.c: Likewise.
37293 * sunrpc/svc_authux.c: Likewise.
37294 * sunrpc/svc_raw.c: Likewise.
37295 * sunrpc/svc_run.c: Likewise.
37296 * sunrpc/svc_simple.c: Likewise.
37297 * sunrpc/svc_tcp.c: Likewise.
37298 * sunrpc/svc_udp.c: Likewise.
37299 * sunrpc/svc_unix.c: Likewise.
37300 * sunrpc/svcauth_des.c: Likewise.
37301 * sunrpc/xcrypt.c: Likewise.
37302 * sunrpc/xdr.c: Likewise.
37303 * sunrpc/xdr_array.c: Likewise.
37304 * sunrpc/xdr_float.c: Likewise.
37305 * sunrpc/xdr_mem.c: Likewise.
37306 * sunrpc/xdr_rec.c: Likewise.
37307 * sunrpc/xdr_ref.c: Likewise.
37308 * sunrpc/xdr_sizeof.c: Likewise.
37309 * sunrpc/xdr_stdio.c: Likewise.
37311 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37314 2010-08-19 Andreas Schwab <schwab@redhat.com>
37316 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37318 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37320 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37321 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37323 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37324 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37325 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37326 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37327 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37328 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37329 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37330 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37331 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37332 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37333 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37335 2010-07-26 Anton Blanchard <anton@samba.org>
37337 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37338 * malloc/arena.c (heap_trim): Likewise.
37340 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37342 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37345 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37347 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37349 * sysdeps/i386/elf/Makefile: New file.
37351 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37353 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37354 from fanotify_init.
37355 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37358 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37360 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37362 * sysdeps/multiarch/strcmp.S: Likewise.
37364 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37366 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37367 strncase_l-nonascii.
37368 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37369 Add strncase_l-ssse3.
37370 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37371 * sysdeps/x86_64/strcmp.S: Likewise.
37372 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37373 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37374 * sysdeps/x86_64/strncase.S: New file.
37375 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37376 * sysdeps/x86_64/strncase_l.S: New file.
37377 * string/Makefile (strop-tests): Add strncasecmp.
37378 * string/test-strncasecmp.c: New file.
37380 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37383 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37384 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37386 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37388 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37390 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37392 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37393 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37394 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37396 2010-05-01 Alan Modra <amodra@gmail.com>
37398 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37399 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37400 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37401 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37402 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37403 tidying. Don't tail-call __sigjmp_save for static lib.
37404 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37406 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37407 (CALL_MCOUNT): Add eh info, and nop after bl.
37408 (TAIL_CALL_SYSCALL_ERROR): New macro.
37409 (PSEUDO_RET): Use it.
37410 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37411 Correct save location of integer regs and cr.
37412 (_dl_profile_resolve): Correct cr save location. Delete nops
37413 after bl when SHARED. Reduce cfi size a little by better
37414 placement of cfi directives.
37415 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37416 make a stack frame. Instead use parm save area as a temp.
37417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37418 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37420 Don't make a stack frame for parent, use parm save area.
37421 Increase child stack frame to 112 bytes. Don't save unused reg,
37422 and adjust reg usage. Set up cfi on error recovery and
37423 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37425 (__makecontext): Add dummy nop after jump to exit.
37426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37427 Use correct parm save area and cr save, reduce stack frame.
37428 Correct cfi for possible PSEUDO_RET frame setup.
37429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37430 Branch to local label emitted by PSEUDO_RET rather than
37433 2010-08-12 Andreas Schwab <schwab@redhat.com>
37436 * locale/programs/locale.c (print_assignment): New function.
37437 (show_locale_vars): Use it.
37439 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37441 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37443 (struct statfs64): Likewise.
37444 (_STATFS_F_FLAGS): Define.
37445 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37446 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37447 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37448 (ST_VALID): Define locally.
37449 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37450 __statvfs_getflags, use the provided value.
37451 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37452 __ASSUME_STATFS_F_FLAGS.
37454 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37456 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37457 Add sys/fanotify.h.
37458 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37459 fanotify_mask for GLIBC_2.13.
37460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37461 fanotify_init and fanotify_mark.
37462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37463 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37465 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37467 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37468 prlimit64 for GLIBC_2.13.
37469 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37474 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37475 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37476 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37479 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37482 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37483 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37485 * nss/Makefile: Add rules to build and run tst-nss-test1.
37486 * shlib-versions: Add entry for libnss_test1.
37487 * nss/nss_test1.c: New file.
37488 * nss/tst-nss-test1.c: New file.
37490 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37491 (__nss_configure_lookup): Set appropriate entry in
37492 __nss_configure_lookup to true.
37493 * nss/nsswitch.h: Define enum with indeces of databases in
37494 databases and __nss_database_custom arrays. Declare
37495 __nss_database_custom.
37496 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37497 to avoid using nscd when custom rules are installed.
37498 * nss/getXXbyYY_r.c: Likewise.
37499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37501 * nss/nss_files/files-parse.c: Whitespace fixes.
37503 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37506 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37507 * posix/fnmatch_loop.c: Likewise.
37509 2010-07-17 Andi Kleen <ak@linux.intel.com>
37511 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37512 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37513 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37514 * Versions.def [GLIBC_2.13]: Add.
37516 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37519 Also fail if tpwd after pwuid call is NULL.
37521 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37523 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37524 when converting to ms.
37526 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37528 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37529 EOPNOTSUPP errors with ENOTTY.
37530 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37531 EOPNOTSUPP errors with ENOTTY.
37533 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37535 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37536 Add strcasecmp_l-ssse3.
37537 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37539 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37540 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37541 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37543 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37545 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37547 * string/Makefile (strop-tests): Add strcasecmp.
37548 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37549 strcasecmp_l-nonascii.
37550 (gen-as-const-headers): Add locale-defines.sym.
37551 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37552 * sysdeps/x86_64/strcasecmp.S: New file.
37553 * sysdeps/x86_64/strcasecmp_l.S: New file.
37554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37555 * sysdeps/x86_64/locale-defines.sym: New file.
37556 * string/test-strcasecmp.c: New file.
37558 * string/test-strcasestr.c: Test both ends of the range of characters.
37559 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37561 2010-07-29 Roland McGrath <roland@redhat.com>
37564 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37566 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37568 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37571 2010-07-27 Andreas Schwab <schwab@redhat.com>
37573 * manual/memory.texi (Malloc Tunable Parameters): Document
37576 2010-07-26 Roland McGrath <roland@redhat.com>
37579 * configure.in (-fgnu89-inline check): Set and substitute
37580 gnu89_inline, not libc_cv_gnu89_inline.
37581 * configure: Regenerated.
37582 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37584 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37586 * string/test-strnlen.c: New file.
37587 * string/Makefile (strop-tests): Add strnlen.
37588 * string/tester.c (test_strnlen): Add a few more test cases.
37589 * string/tst-strlen.c: Better error reporting.
37591 * sysdeps/x86_64/strnlen.S: New file.
37593 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37596 lower-latency instructions.
37598 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37600 * string/test-strcasestr.c: New file.
37601 * string/test-strstr.c: New file.
37602 * string/Makefile (strop-tests): Add strstr and strcasestr.
37603 * string/str-two-way.h: Don't undefine MAX.
37604 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37606 2010-07-21 Andreas Schwab <schwab@redhat.com>
37608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37609 strcasestr-nonascii.
37610 (CFLAGS-strcasestr-nonascii.c): Define.
37611 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37612 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37613 Remove unused attribute.
37615 2010-07-20 Roland McGrath <roland@redhat.com>
37617 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37618 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37619 ld.so.cache was broken. With it, there is no way to disable dsocaps
37620 like LD_HWCAP_MASK can disable hwcaps.
37622 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37624 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37626 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37628 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37629 call in strcasestr.
37630 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37631 __strcasestr_sse42_nonascii.
37632 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37633 strcasestr-nonascii.c.
37634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37636 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37638 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37639 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37640 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37641 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37643 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37645 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37648 2010-07-06 Andreas Schwab <schwab@redhat.com>
37651 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37654 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37657 _PC_PIPE_BUF using F_GETPIPE_SZ.
37659 2010-07-05 Roland McGrath <roland@redhat.com>
37661 * manual/arith.texi (Rounding Functions): Fix rint description
37662 implicit in round description.
37664 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37666 * elf/Makefile: Fix linking for a few tests to make recent linker
37669 2010-06-30 Andreas Schwab <schwab@redhat.com>
37671 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37672 $(common-objpfx)libc_nonshared.a.
37674 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37676 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37677 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37678 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37679 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37680 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37681 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37682 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37683 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37698 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37699 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37700 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37701 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37702 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37703 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37704 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37705 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37706 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37707 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37708 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37709 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37725 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37727 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37728 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37729 * string/memmove.c (memmove): Renamed to ...
37730 (MEMMOVE): ...this. Default to memmove.
37731 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37732 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37735 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37736 mempcpy-ssse3-back memmove-ssse3-back.
37737 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37738 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37739 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37740 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37741 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37742 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37743 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37744 * sysdeps/x86_64/multiarch/memmove.c: New file.
37745 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37746 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37747 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37748 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37749 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37752 (index_Fast_Copy_Backward): Define.
37753 (HAS_ARCH_FEATURE): Define.
37754 (HAS_FAST_REP_STRING): Define.
37755 (HAS_FAST_COPY_BACKWARD): Define.
37757 2010-06-21 Andreas Schwab <schwab@redhat.com>
37759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37760 Restore proper fallback handling.
37762 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37765 * posix/group_member.c (__group_member): Correct checking loop.
37767 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37768 OOM in getpwuid_r correctly. Return error number when the caller
37769 should return, otherwise -1.
37770 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37771 call returning > 0 value.
37772 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37774 2010-06-07 Andreas Schwab <schwab@redhat.com>
37776 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37777 libc_nonshared.a from targets in modules-names.
37779 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37781 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37784 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37786 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37788 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37791 2010-06-02 Andreas Schwab <schwab@redhat.com>
37793 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37795 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37797 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37806 2010-06-14 Roland McGrath <roland@redhat.com>
37808 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37810 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37812 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37813 __REDIRECT followed by __THROW.
37814 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37815 * posix/getopt.h (getopt): Likewise.
37817 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37819 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37820 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37821 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37823 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37824 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37826 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37830 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37834 Properly check family and model.
37836 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37838 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37840 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37842 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37844 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37846 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37849 2010-05-19 Andreas Schwab <schwab@redhat.com>
37851 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37854 2010-05-21 Andreas Schwab <schwab@redhat.com>
37856 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37857 and internal_recvmmsg.
37858 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37859 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37860 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37861 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37863 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37864 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37865 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37867 2010-05-20 Andreas Schwab <schwab@redhat.com>
37869 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37871 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37873 POWER7 optimizations.
37874 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37875 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37877 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37879 * version.h: Update for 2.13 development version.
37881 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37883 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37884 exceptions. Return 0.
37886 2010-05-07 Roland McGrath <roland@redhat.com>
37888 * elf/ldconfig.c (main): Add a const.
37890 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37892 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37893 (args_options): Add no-idn option.
37894 (ahosts_keys_int): Add idn_flags to ai_flags.
37895 (parse_option): Handle 'i' option to clear idn_flags.
37897 * malloc/malloc.c (_int_free): Possible race in the most recently
37898 added check. Only act on the data if no current modification
37901 See ChangeLog.17 for earlier changes.