1 2013-12-19 Joseph Myers <joseph@codesourcery.com>
3 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4 * sysdeps/i386/fpu/libm-test-ulps: Update.
5 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9 round-to-nearest mode when using frndint.
10 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16 * math/auto-libm-test-out: Regenerated.
17 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18 (TEST_COND_x86): Likewise.
19 (expm1_tonearest_test_data): New array.
20 (expm1_test_tonearest): New function.
21 (expm1_towardzero_test_data): New array.
22 (expm1_test_towardzero): New function.
23 (expm1_downward_test_data): New array.
24 (expm1_test_downward): New function.
25 (expm1_upward_test_data): New array.
26 (expm1_test_upward): New function.
27 (main): Run the new test functions.
28 * sysdeps/i386/fpu/libm-test-ulps: Update.
29 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31 * include/features.h: Update comment documenting feature test
32 macros. Mention _DEFAULT_SOURCE in comment.
33 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35 _BSD_SOURCE and _SVID_SOURCE.
36 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38 !_SVID_SOURCE]: Likewise.
39 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40 (__USE_POSIX_IMPLICITLY): Define.
41 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42 (_POSIX_SOURCE): Undefine and redefine.
43 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44 (_POSIX_C_SOURCE): Likewise.
45 * manual/creature.texi (_DEFAULT_SOURCE): Document.
46 (Feature Test Macros): Update documentation of default features.
48 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50 * benchtests/Makefile: Add bench-strtok.
51 * benchtests/bench-strtok.c: New file: strtok benchtest.
53 2013-12-19 Allan McRae <allan@archlinux.org>
55 * manual/install.texi: Suppress menu for plain text output.
56 * INSTALL: Regenerated.
58 2013-12-18 Andrew Hunter <ahh@google.com>
60 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
61 (__signal_safe_malloc, __signal_safe_free): Likewise.
62 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
63 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
64 (__signal_safe_memalign, __signal_safe_malloc): New function.
65 (__signal_safe_free, __signal_safe_realloc): Likewise.
66 (__signal_safe_calloc): Likewise.
67 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
69 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
71 2013-12-18 Andrew Hunter <ahh@google.com>
73 * elf/Versions (ld): Add _dl_clear_dtv.
74 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
75 * elf/dl-tls.c (_dl_clear_dtv): New function.
76 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
78 2013-12-18 Andrew Hunter <ahh@google.com>
80 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
81 (_dl_unmask_signals): Likewise.
82 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
83 (_dl_unmask_all_signals): Likewise.
84 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
85 (_dl_unmask_all_signals): Likewise.
86 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
87 (_dl_unmask_signals): Likewise.
89 2013-12-18 Brooks Moses <bmoses@google.com>
92 * misc/getauxval.c: Include errno.h.
93 (__getauxval): Set errno to ENOENT if the requested type is not
95 * misc/sys/auxv.h (getauxval): Document that it may set errno;
96 don't declare with __attribute_const__.
97 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
98 * manual/startup.texi: Document that getauxval sets errno.
100 2013-12-18 Joseph Myers <joseph@codesourcery.com>
102 * math/auto-libm-test-in: Add tests of jn and yn.
103 * math/auto-libm-test-out: Regenerated.
104 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
105 (yn_test_data): Likewise.
106 * math/gen-auto-libm-tests.c (func_calc_method): Add value
108 (func_calc_desc): Add mpfr_if_f union field.
109 (FUNC_mpfr_if_f): New macro.
110 (test_functions): Add jn and yn.
111 (calc_generic_results): Assert type of second input for
112 mpfr_ff_f. Handle mpfr_if_f.
113 (output_for_one_input_case): Disable all checking for arguments
114 fitting floating-point types in case of an integer argument.
115 * sysdeps/i386/fpu/libm-test-ulps: Update.
116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
119 Don't expect fegetround reference in libm.so.
121 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
123 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
124 $(config-cflags-nofma).
126 2013-12-18 Joseph Myers <joseph@codesourcery.com>
128 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
129 * math/auto-libm-test-out: Regenerated.
132 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
133 to determine exponent and adjust argument to have exponent of -1.
134 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
136 * math/auto-libm-test-out: Regenerated.
137 * sysdeps/i386/fpu/libm-test-ulps: Update.
138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
140 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
142 * manual/probes.texi: Remove cases when per-thread arenas are
145 2013-12-18 Andreas Schwab <schwab@suse.de>
147 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
148 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
149 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
150 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
151 * sysdeps/i386/i686/multiarch/Makefile: Update.
152 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
154 2013-12-17 Joseph Myers <joseph@codesourcery.com>
156 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
157 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
159 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
161 Support TZ transition times < 00:00:00.
162 This is needed for version-3 tz-format files; it supports time
163 stamps past 2037 for America/Godthab (the only entry in the tz
164 database for which this change is relevant).
165 * manual/time.texi (TZ Variable): Document transition times
166 from -167:59:59 through -00:00:01.
167 * time/tzset.c (tz_rule): Time of day is now signed.
168 (__tzset_parse_tz): Parse negative time of day.
170 Document TZ transition times >= 25:00:00.
171 * manual/time.texi (TZ Variable): Document transition times from
172 25:00:00 through 167:59:59. These are already supported, and this
173 support will help with version-3 tz-format files.
175 * manual/time.texi (TZ Variable): Modernize North America example
176 to reflect current (i.e., 2007-and-later) daylight saving rules.
178 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
180 2013-12-17 Joseph Myers <joseph@codesourcery.com>
182 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
183 * sysdeps/unix/bsd/bits/stat.h: Likewise.
184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
186 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
187 * sysdeps/unix/bsd/bsdstat.h: Likewise.
188 * sysdeps/unix/bsd/clock.c: Likewise.
189 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
190 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
191 * sysdeps/unix/bsd/init-posix.c: Likewise.
192 * sysdeps/unix/bsd/poll.c: Likewise.
193 * sysdeps/unix/bsd/ptsname.c: Likewise.
194 * sysdeps/unix/bsd/seekdir.c: Likewise.
195 * sysdeps/unix/bsd/setegid.c: Likewise.
196 * sysdeps/unix/bsd/seteuid.c: Likewise.
197 * sysdeps/unix/bsd/setgid.c: Likewise.
198 * sysdeps/unix/bsd/setrgid.c: Likewise.
199 * sysdeps/unix/bsd/setruid.c: Likewise.
200 * sysdeps/unix/bsd/setsid.c: Likewise.
201 * sysdeps/unix/bsd/setuid.c: Likewise.
202 * sysdeps/unix/bsd/sigaction.c: Likewise.
203 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
204 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
205 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
206 * sysdeps/unix/bsd/telldir.c: Likewise.
207 * sysdeps/unix/bsd/times.c: Likewise.
208 * sysdeps/unix/bsd/usleep.c: Likewise.
210 * misc/Makefile (install-lib): Remove libbsd-compat.a.
211 ($(objpfx)libbsd-compat.a): Remove rule.
213 * include/features.h (__FAVOR_BSD): Do not define.
214 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
215 features conflicting with POSIX.
216 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
217 (_BSD_SOURCE): Remove description of not being a subset of other
219 * manual/job.texi (getpgrp): Do not document BSD version.
220 (getpgid): Do not document by reference to BSD getpgrp.
221 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
222 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
223 * signal/signal.h [__FAVOR_BSD]: Likewise.
224 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
225 instead of making contents conditional on [__FAVOR_BSD].
226 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
228 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
232 2013-12-17 Joseph Myers <joseph@codesourcery.com>
235 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
236 values below 2**-450, not 2**-500.
237 * math/auto-libm-test-in: Don't allow spurious underflow from
239 * math/auto-libm-test-out: Regenerated.
243 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
244 values of ha and hb and sort them after adjusting subnormal
246 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
248 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
249 values of ea and eb and sort them after adjusting subnormal
251 * math/auto-libm-test-in: Do not expect some hypot tests of
252 subnormals to fail. Add more hypot tests.
253 * math/auto-libm-test-out: Regenerated.
255 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
258 * sysdeps/sh/s_fma.c: New file.
259 * sysdeps/sh/s_fmaf.c: New file.
260 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
262 * sysdeps/sh/Implies: Add sh/soft-fp.
264 2013-12-16 Roland McGrath <roland@hack.frob.com>
266 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
267 level of indirection to members `objname', `errstring', `malloced'.
268 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
269 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
270 it as the __longjmp argument (just pass 1 instead).
271 (_dl_catch_error): Initialize C with argument pointers and address of
272 volatile local ERRCODE rather than copying values out of C at return.
274 2013-12-16 Joseph Myers <joseph@codesourcery.com>
276 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
277 * math/auto-libm-test-out: Regenerated.
278 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
279 (hypot_test_data): Likewise.
280 (pow_test_data): Likewise.
281 (pow_tonearest_test_data): Likewise.
282 * math/gen-auto-libm-tests.c (func_calc_method): Add value
284 (func_calc_desc): Add mpfr_ff_f union field.
285 (FUNC_mpfr_ff_f): New macro.
286 (test_functions): Add atan2, hypot and pow.
287 (special_fill_min): New function.
288 (special_fill_minus_min): Likewise.
289 (special_fill_min_subnorm): Likewise.
290 (special_fill_minus_min_subnorm): Likewise.
291 (special_real_inputs): Add min, -min, min_subnorm and
293 (calc_generic_results): Handle mpfr_ff_f.
294 * sysdeps/i386/fpu/libm-test-ulps: Update.
295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
297 2013-12-16 Will Newton <will.newton@linaro.org>
299 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
300 (Aligned Memory Blocks): Add documentation for aligned_alloc
301 and suggest it as an alternative to posix_memalign.
302 (Hooks for Malloc): Document __memalign_hook is also called
303 for aligned_alloc. (Summary of Malloc): Add summary for
304 aligned alloc. Document __memalign_hook is also called
307 2013-12-16 Will Newton <will.newton@linaro.org>
309 * manual/memory.texi (Malloc Examples): Clarify default
310 alignment documentation. Suggest posix_memalign rather
311 than memalign or valloc.
312 (Aligned Memory Blocks): Remove suggestion to use memalign
313 or valloc. Remove obsolete comment about BSD.
314 Document memalign errno values and mark the function obsolete.
315 Document posix_memalign returned error codes. Mark valloc
316 as obsolete. (Hooks for Malloc): __memalign_hook is also
317 called for posix_memalign and valloc.
318 (Summary of Malloc): Add posix_memalign to function summary.
319 __memalign_hook is also called for posix_memalign and valloc.
321 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
323 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
327 (sloww): Use mynumber union. Expand ternary operator into
329 (cslow): use mynumber union.
331 2013-12-16 Allan McRae <allan@archlinux.org>
333 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
334 * configure: Regenerated.
336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
339 * configure.ac: Added --enable-maintainer-mode. Check for
340 autoconf when enabled.
341 * configure: Regenerated.
343 * nscd/nscd.service: New file.
344 * nscd/nscd.tmpfiles: New file.
346 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
349 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
350 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
351 * sysdeps/x86_64/multiarch/strstr.c: ... here.
352 (strstr): Add __strstr_sse2_unaligned ifunc.
353 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
354 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
355 (strcasestr): Remove __strcasestr_sse42 ifunc.
356 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
360 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
362 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
363 * sysdeps/sh/bits/fenv.h: ... here.
364 * sysdeps/sh/sh4/fpu/bits: Remove directory.
366 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
370 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
373 hypotf multiarch implementations.
374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
377 multiarch hypot for PPC64.
378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
379 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
381 multiarch hypotf for PPC64.
383 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
386 modff multiarch implementations.
387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
390 multiarch modf for PPC64.
391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
394 multiarch modff for PPC64.
396 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
399 and logl multiarch implementations.
400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
403 multiarch logb for PPC64.
404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
407 multiarch logb for PPC64.
408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
411 multiarch logb for PPC64.
413 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
416 isinff multiarch implementation.
417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
421 multiarch isinf for PPC64.
422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
425 multiarch isinff for PPC64.
427 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
430 finitef multiarch implementation.
431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
435 multiarch finite for PPC64.
436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
439 multiarch finitef for PPC64.
441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
444 lrint multiarch implementation.
445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
449 multiarch llrint for PPC64.
450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
451 multiarch lrint for PPC64.
453 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
456 copysignf multiarch implementation.
457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
462 multiarch copysign for PPC64.
463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
464 multiarch copysignf for PPC64.
466 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
469 multiarch implementation.
470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
478 multiarch llround for PPC64.
479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
480 multiarch trunc for PPC64.
481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
482 multiarch truncf for PPC64.
484 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
487 multiarch implementation.
488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
496 multiarch llround for PPC64.
497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
498 multiarch round for PPC64.
499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
500 multiarch roundf for PPC64.
502 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
505 multiarch implementation.
506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
514 multiarch llround for PPC64.
515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
516 multiarch floor for PPC64.
517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
518 multiarch floorf for PPC64.
520 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
523 multiarch implementation.
524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
532 multiarch llround for PPC64.
533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
534 multiarch ceil for PPC64.
535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
536 multiarch ceilf for PPC64.
538 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
541 multiarch implementation.
542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
549 multiarch llround for PPC64.
550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
551 multiarch lround for PPC64.
553 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
556 multiarch implementation.
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
564 multiarch isnan for PPC64.
565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
566 multiarch isnanf for PPC64.
568 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
570 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
571 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
572 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
573 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
574 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
577 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
579 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
580 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
584 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
587 multiarch implementations.
588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
589 (__libc_ifunc_impl_list): Likewise.
590 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
591 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
592 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
593 multiarch stpcpy for PPC64.
595 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
598 multiarch implementations.
599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
600 (__libc_ifunc_impl_list): Likewise.
601 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
602 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
603 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
604 multiarch strcpy for PPC64.
606 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
608 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
609 redefine function name.
610 (_wordcopy_fwd_dest_aligned): Likewise.
611 (_wordcopy_bwd_aligned): Likewise.
612 (_wordcopy_bwd_dest_aligned): Likewise.
613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
614 multiarch implementations.
615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
616 (__libc_ifunc_impl_list): Likewise.
617 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
619 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
620 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
621 multiarch wcscpy for PPC64.
623 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
626 multiarch implementations.
627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
628 (__libc_ifunc_impl_list): Likewise.
629 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
630 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
631 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
632 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
633 multiarch wcscpy for PPC64.
635 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
638 multiarch implementations.
639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
640 (__libc_ifunc_impl_list): Likewise.
641 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
642 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
643 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
644 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
645 multiarch wcsrchr for PPC64.
647 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
650 multiarch implementations.
651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
652 (__libc_ifunc_impl_list): Likewise.
653 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
654 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
655 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
656 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
657 multiarch wcschr for PPC64.
659 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
662 multiarch implementations.
663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
664 (__libc_ifunc_impl_list): Likewise.
665 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
666 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
667 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
668 multiarch strchrnul for PPC64.
670 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
675 (__libc_ifunc_impl_list): Likewise.
676 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
677 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
678 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
679 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
682 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
687 (__libc_ifunc_impl_list): Likewise.
688 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
689 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
690 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
691 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
694 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
697 multiarch implementations.
698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
699 (__libc_ifunc_impl_list): Likewise.
700 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
701 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
702 strncasecmp for PPC64.
703 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
704 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
705 multiarch strncasecmp_l for PPC64.
707 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
710 multiarch implementations.
711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
712 (__libc_ifunc_impl_list): Likewise.
713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
714 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
715 multiarch strcasecmp for PPC64.
716 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
718 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
719 multiarch strcasecmp_l for PPC64.
721 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
726 (__libc_ifunc_impl_list): Likewise.
727 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
728 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
729 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
732 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
737 (__libc_ifunc_impl_list): Likewise.
738 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
739 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
740 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
743 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
748 (__libc_ifunc_impl_list): Likewise.
749 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
750 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
751 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
752 rawmemrchr for PPC64.
754 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
759 (__libc_ifunc_impl_list): Likewise.
760 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
761 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
762 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
765 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
770 (__libc_ifunc_impl_list): Likewise.
771 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
772 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
773 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
776 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
781 (__libc_ifunc_impl_list): Likewise.
782 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
783 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
784 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
787 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
790 avoid cretion of __bzero symbol.
791 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
793 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
795 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
798 multiarch implementations.
799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
800 (__libc_ifunc_impl_list): Likewise.
801 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
802 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
803 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
804 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
806 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
807 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
808 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
809 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
810 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
812 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
814 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
820 (__libc_ifunc_impl_list): Likewise.
821 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
822 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
823 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
824 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
827 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
830 multiarch for POWER/PPC64.
831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
832 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
837 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
838 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
839 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
842 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
844 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
845 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
846 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
847 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
848 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
849 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
850 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
851 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
852 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
853 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
854 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
855 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
856 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
857 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
858 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
867 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
871 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
873 * benchtests/Makefile (bench): Add exp2 and log2.
874 (LDLIBS-bench-exp2): Add -lm.
875 (LDLIBS-bench-log2): Likewise.
876 * benchtests/exp2-inputs: New inputs file.
877 * benchtests/log2-inputs: New inputs file.
878 * benchtests/log-inputs: Add new inputs.
879 * benchtests/tan-inputs: Likewise.
881 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
883 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
885 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
886 csloww1, csloww2): ... from here.
888 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
889 instead of structures.
890 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
891 (POLYNOMIAL): Likewise.
892 (TAYLOR_SLOW): Likewise.
907 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
909 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
910 (__malloc_assert, __libc_realloc, __libc_calloc,
911 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
913 * malloc/hooks.c (realloc_check): Likewise.
915 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
917 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
918 * malloc/arena.c: Remove PER_THREAD conditional.
919 [!PER_THREAD]: Remove code.
920 (ptmalloc_unlock_all2): Likewise.
921 (ptmalloc_init): Likewise.
922 (_int_new_arena): Likewise.
923 (arena_get2): Likewise.
924 * malloc/hooks.c (__malloc_get_state): Likewise.
925 (__malloc_set_state): Likewise.
926 * malloc/malloc.c: Likewise.
927 (struct malloc_state): Likewise.
928 (struct malloc_par): Likewise.
929 (__libc_realloc): Likewise.
930 (__libc_mallopt): Likewise.
932 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
934 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
936 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
938 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
939 macro to a function. Check for zero perturb_byte.
940 (_int_malloc, _int_free): Remove zero perturb_byte checks.
942 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
944 * malloc/malloc.c: (force_reg): Remove.
945 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
946 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
947 force_reg by atomic_forced_read.
948 * malloc/arena.c (ptmalloc_init): Likewise.
949 * malloc/hooks.c (top_check): Likewise.
951 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
955 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
959 2013-12-08 Joseph Myers <joseph@codesourcery.com>
961 * math/auto-libm-test-in: Add tests of lgamma.
962 * math/auto-libm-test-out: Regenerated.
963 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
964 (M_LOG_2_SQRT_PIl): Likewise.
965 (lgamma_test_data): Use AUTO_TESTS_f_f1.
966 * math/gen-auto-libm-tests.c (func_calc_method): Add value
968 (func_calc_desc): Add mpfr_f_f1 union field.
977 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
978 (test_functions): Add lgamma.
979 (calc_generic_results): Handle mpfr_f_f1.
980 * sysdeps/i386/fpu/libm-test-ulps: Update.
981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
985 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
986 __mpn_add_n for PowerPC64/POWER7.
987 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
988 __mpn_sub_n for PowerPC64/POWER7.
990 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
992 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
993 __mpn_addmul_1 for PowerPC64.
994 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
995 __mpn_submul_1 for PowerPC64.
996 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
998 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1001 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1004 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1006 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1008 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1010 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1013 add multiarch folders.
1014 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1015 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1016 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1017 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1018 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1019 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1020 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1021 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1022 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1023 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1024 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1032 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1035 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1041 multiarch __ieee754_hypot for PowerPC32.
1042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1047 multiarch __ieee754_hypotf for PowerPC32.
1049 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1051 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1052 long_double_symbol only if __logbl is defined.
1053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1054 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1056 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1058 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1059 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1060 path for implementation.
1061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1064 logb, and logbl multiarch implementations for PowerPC32.
1065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1070 multiarch logb for PowerPC32.
1071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1076 multiarch logbf for PowerPC32.
1077 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1081 multiarch logbl implementation for PowerPC32.
1083 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1086 and modff multiarch implementations.
1087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1092 multiarch modf for PowerPC32.
1093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1098 multiarch modff for PowerPC32.
1100 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1103 and lrintf multiarch implementations.
1104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1109 multiarch lrint for PowerPC32.
1110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1111 file: multiarch lrintf for PowerPC32.
1113 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1116 and lroundf multiarch implementations.
1117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1124 multiarch lround for PowerPC32.
1125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1126 file: multiarch lroundf for PowerPC32.
1128 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1131 copysign and copysignf multiarch implementations.
1132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1137 file: multiarch copysign for PowerPC32.
1138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1139 file: multiarch copysignf for PowerPC32.
1141 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1144 and truncf multiarch implementations.
1145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1150 multiarch trunc for PowerPC32.
1151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1156 multiarch truncf for PowerPC32.
1158 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1161 and roundf multiarch implementations.
1162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1167 multiarch round for PowerPC32.
1168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1173 multiarch roundf for PowerPC32.
1175 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1178 and floorf multiarch implementations.
1179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1184 multiarch floor for PowerPC32.
1185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1190 multiarch floorf for PowerPC32.
1192 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1195 and ceilf multiarch implementations.
1196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1201 multiarch ceil for PowerPC32.
1202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1207 multiarch ceilf for PowerPC32.
1209 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1211 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1213 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1216 and finitef multiarch implementations.
1217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1222 multiarch finite for PowerPC32.
1223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1226 file: multiarch finitef for PowerPC32.
1228 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1231 and isinff multiarch implementations.
1232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1237 multiarch isinf for PowerPC32.
1238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1241 multiarch isinff for PowerPC32.
1243 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1245 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1246 alias when __isnan is defined.
1247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1248 and isnanf multiarch implementations.
1249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1258 multiarch isnan for PowerPC32.
1259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1264 multiarch isnanf for PowerPC32.
1266 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1269 and sqrtf multiarch implementations.
1270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1275 multiarch sqrt for PowerPC32.
1276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1281 multiarch sqrtf for PowerPC32.
1283 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1286 and llroundf multiarch implementations.
1287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1294 file: multiarch llround for PowerPC32.
1295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1296 file: multiarch llroundf for PowerPC32.
1298 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1301 multiarch PowerPC32 fpu implementations.
1302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1307 multiarch llrint for PowerPC32.
1308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1315 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1319 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1323 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1327 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1328 multiarch wordcopy for PPC32.
1329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1332 (__libc_ifunc_impl_list): Likewise.
1333 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1334 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1335 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1336 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1337 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1338 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1340 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1350 multiarch wcscpy for PPC32.
1351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1354 (__libc_ifunc_impl_list): Likewise.
1355 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1356 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1357 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1358 sysdeps/powerpc/power6/wcscpy.c.
1360 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1362 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1370 multiarch wcsrchr for PPC32.
1371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1374 (__libc_ifunc_impl_list): Likewise.
1375 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1376 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1377 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1378 sysdeps/powerpc/power6/wcsrchr.c.
1380 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1388 multiarch wcschr for PPc32.
1389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1392 (__libc_ifunc_impl_list): Likewise.
1393 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1394 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1395 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1396 sysdeps/powerpc/power6/wcschr.c.
1398 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1400 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1401 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1403 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1404 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1405 file: multiarch strchr for PPC32.
1406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1409 (__libc_ifunc_impl_list): Likewise.
1411 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1415 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1417 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1419 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1420 multiarch strchrnul for PPC32.
1421 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1424 (__libc_ifunc_impl_list): Likewise.
1426 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1431 multiarch strncasecmp for PPC32.
1432 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1434 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1435 multiarch strncasecmp_l for PPC32.
1436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1437 strncasecmp multiarch objects.
1438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1439 (__libc_ifunc_impl_list): Likewise.
1441 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1445 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1446 multiarch strncasecmp for PPC32.
1447 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1449 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1450 multiarch strcasecmp_l for PPC32.
1451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1454 (__libc_ifunc_impl_list): Likewise.
1456 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1460 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1462 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1463 multiarch strncmp for PPC32.
1464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1467 (__libc_ifunc_impl_list): Likewise.
1469 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1472 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1474 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1475 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1479 (__libc_ifunc_impl_list): Likewise.
1481 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1485 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1487 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1491 (__libc_ifunc_impl_list): Likewise.
1493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1497 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1499 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1500 multiarch rawmemchr for PPC32.
1501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1504 (__libc_ifunc_impl_list): Likewise.
1506 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1510 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1512 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1513 file: memrchr multiarch for PPC32.
1514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
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 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1522 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1524 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1525 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1526 multiarch memchr for PPC32.
1527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1530 (__libc_ifunc_impl_list): Likewise.
1532 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1535 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1537 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1539 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1540 file: multiarch mempcpy for PPC32.
1541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1544 (__libc_ifunc_impl_list): Likewise.
1546 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1552 multiarch bzero for PPC32.
1553 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1555 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1558 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1559 file: multiarch memset for PPC32.
1560 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1562 memset multiarch objects.
1563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1564 (__libc_ifunc_impl_list): Likewise.
1566 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1571 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1573 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1577 (__libc_ifunc_impl_list): Likewise.
1579 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1590 multiarch memcpy for PPC32.
1591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1594 (__libc_ifunc_impl_list): Likewise.
1596 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1599 support multiarch for POWER/PPC32.
1600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1602 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1604 Implies file to make multiarch folder appers before the fpu and
1605 default folder for power4 configuration.
1607 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1609 * scripts/bench.pl: Append volatile keyword to type.
1611 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1613 * sysdeps/sh/sotruss-lib.c: New file.
1614 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1616 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1620 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1623 * math/w_tgamma.c: Include <errno.h>.
1624 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1625 * math/w_tgammaf.c: Include <errno.h>.
1626 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1627 * math/w_tgammal.c: Include <errno.h>.
1628 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1629 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1630 underflow. Add more tgamma tests.
1631 * math/auto-libm-test-out: Regenerated.
1632 * sysdeps/i386/fpu/libm-test-ulps: Update.
1633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1635 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1636 sin, sinh, tan, tanh, tgamma, y0 and y1.
1637 * math/auto-libm-test-out: Regenerated.
1638 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1639 (TEST_COND_x86): Likewise.
1640 (M_E2l): Remove macro.
1642 (M_2_SQRT_PIl): Likewise.
1643 (M_SQRT_PIl): Likewise.
1644 (M_1_DIV_El): Likewise.
1645 (log_test_data): Use AUTO_TESTS_f_f.
1646 (log10_test_data): Likewise.
1647 (log1p_test_data): Likewise.
1648 (log2_test_data): Likewise.
1649 (sin_test_data): Likewise.
1650 (sin_tonearest_test_data): Likewise.
1651 (sin_towardzero_test_data): Likewise.
1652 (sin_downward_test_data): Likewise.
1653 (sin_upward_test_data): Likewise.
1654 (sinh_test_data): Likewise.
1655 (sinh_tonearest_test_data): Likewise.
1656 (sinh_towardzero_test_data): Likewise.
1657 (sinh_downward_test_data): Likewise.
1658 (sinh_upward_test_data): Likewise.
1659 (tan_test_data): Likewise.
1660 (tan_tonearest_test_data): Likewise.
1661 (tan_towardzero_test_data): Likewise.
1662 (tan_downward_test_data): Likewise.
1663 (tan_upward_test_data): Likewise.
1664 (tanh_test_data): Likewise.
1665 (tgamma_test_data): Likewise.
1666 (y0_test_data): Likewise.
1667 (y1_test_data): Likewise.
1668 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1669 (special_real_inputs): Add pi/4.
1670 * sysdeps/i386/fpu/libm-test-ulps: Update.
1671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1673 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1676 "longjmp_target" static probes.
1677 (__longjmp): Rename to __longjmp_symbol.
1678 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1679 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1680 on which longjmp to generate.
1681 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1682 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1684 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1685 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1686 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1687 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1688 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1689 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1691 __longjmp_symbol based on which __longjmp to generate.
1692 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1694 (setjmp): Rename to setjmp_symbol.
1695 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1696 (_setjmp): Rename to _setjmp_symbol.
1697 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1698 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1699 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1700 which setjmp to generate.
1701 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1702 "longjmp_target" static probes.
1704 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1706 * benchtests/README: Add note about output arguments.
1707 * benchtests/bench-sincos.c: Remove file.
1708 * benchtests/sincos-inputs: New file.
1709 * scripts/bench.pl: Identify output arguments and define
1710 static variables for them.
1712 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1715 * Makefile (INSTALL): Add install-plain.texi as the primary
1717 * manual/install-plain.texi: New file.
1718 * manual/install.texi: Include node directive only for
1719 non-plaintext output.
1721 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1723 * stdlib/longlong.h: Update from GCC.
1727 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1728 * math/w_j0f.c (y0f): Likewise.
1729 * math/w_j0l.c (__y0l): Likewise.
1730 * math/w_j1.c (y1): Likewise.
1731 * math/w_j1f.c (y1f): Likewise.
1732 * math/w_j1l.c (__y1l): Likewise
1733 * math/w_jn.c (yn): Likewise.
1734 * math/w_jnf.c (ynf): Likewise.
1735 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1736 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1737 value for Bessel function domain errors outside _SVID_ mode.
1738 Adjust sign of return value for yn (negative integer, 0).
1739 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1740 by zero in return for negative x and set sign appropriately for
1742 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1743 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1744 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1745 expectations in error cases.
1746 (y1_test_data): Likewise.
1747 (yn_test_data): Likewise.
1748 * sysdeps/i386/fpu/libm-test-ulps: Update.
1749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1751 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1753 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1754 "64" to "64-v1". Add "64-v2".
1755 (abi-64-options): Rename to ...
1756 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1757 (abi-64-condition): Rename to ...
1758 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1759 (abi-64-ld-soname): Rename to ...
1760 (abi-64-v1-ld-soname): ... this.
1761 (abi-64-v2-options): Define.
1762 (abi-64-v2-condition): Likewise.
1763 (abi-64-v2-ld-soname): Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1765 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1770 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1771 Alan Modra <amodra@gmail.com>
1773 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1774 New versions for use with the ELFv2 ABI.
1775 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1776 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1778 (struct La_ppc64v2_retval): Likewise.
1779 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1780 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1781 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1782 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1783 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1784 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1785 Do not save or restore CR.
1786 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1787 (_dl_profile_resolve): Do no save or restore CR. Support extended
1788 return values for ELFv2 ABI. Fix location of FPR return registers.
1789 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1790 updated values for _CALL_ELF == 2.
1791 (La_regs, La_retval, int_retval): Likewise.
1793 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1795 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1796 (FRAME_MIN_SIZE_PARM): Likewise.
1797 (FRAME_BACKCHAIN): Likewise.
1798 (FRAME_CR_SAVE): Likewise.
1799 (FRAME_LR_SAVE): Likewise.
1800 (FRAME_TOC_SAVE): Likewise.
1801 (FRAME_PARM_SAVE): Likewise.
1802 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1803 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1804 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1805 (call_mcount_parm_offset): New macro.
1806 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1807 (PROF): Use symbolic stack frame offsets.
1808 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1809 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1810 Redefine in terms of FRAME_MIN_SIZE.
1811 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1812 (_dl_profile_resolve): Likewise. Update comment.
1813 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1814 symbols stack frame offsets.
1815 (__sigsetjmp): Likewise.
1816 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1817 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1818 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1819 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1822 (FRAME_BACKCHAIN): Remove.
1823 (FRAME_CR_SAVE): Likewise.
1824 (FRAME_LR_SAVE): Likewise.
1825 (FRAME_COMPILER_DW): Likewise.
1826 (FRAME_LINKER_DW): Likewise.
1827 (FRAME_TOC_SAVE): Likewise.
1828 (FRAME_PARM_SAVE): Likewise.
1829 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1830 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1831 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1833 (CHECK_SP): Use symbolic stack frame offsets.
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1835 zone" instead of caller's parameter save area for temp storage.
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1837 Likewise. Also, use symbolic stack frame offsets.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1839 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1840 our own stack frame instead of the caller's.
1841 (__socket): Use symbolic stack frame offsets.
1843 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1844 Alan Modra <amodra@gmail.com>
1846 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1848 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1849 PPC64_LOCAL_ENTRY_OFFSET): Define.
1850 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1852 (elf_machine_fixup_plt): Call it.
1853 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1855 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1856 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1857 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1858 r2 before calling target.
1860 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1861 Alan Modra <amodra@gmail.com>
1863 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1864 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1865 versions of macros to support ELFv2 ABI.
1866 (LOCALENTRY): New macro.
1867 (ENTRY, EALIGN): Use it.
1868 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1869 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1870 fall through into ENTRY entry point.
1871 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1872 Only define if _CALL_ELF != 2.
1874 (elf_machine_matches_host): Verify ABI version matches.
1875 (RTLD_START): Use LOCALENTRY.
1876 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1877 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1878 (PLT_ENTRY_WORDS): New macro.
1879 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1880 (elf_machine_runtime_setup): Support ELFv2 ABI.
1881 (elf_machine_fixup_plt): Likewise.
1882 (elf_machine_plt_conflict): Likewise.
1883 (resolve_ifunc): Likewise.
1884 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1888 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1890 (makecontext): Support ELFv2 ABI.
1891 * elf/elf.h (EF_PPC64_ABI): Define.
1893 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1895 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1896 New assembler macro.
1897 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1898 [ASSEMBLER] (ENTRY): ... but instead here ...
1899 [ASSEMBLER] (EALIGN): ... and here.
1900 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1901 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1902 [!ASSEMBLER] (ENTRY_2): Use it.
1903 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1904 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1905 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1906 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1907 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1909 Use PPC64_LOAD_FUNCPTR.
1911 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1913 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1915 2013-12-04 Alan Modra <amodra@gmail.com>
1917 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1918 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1919 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1920 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1923 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1924 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1925 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1926 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1927 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1929 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1932 (__makecontext): Fix incorrect CFI when backtracing out of
1933 context created via makecontext.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1935 (__setcontext): Fix incorrect CFI during switch to new context.
1936 (__novec_setcontext): Likewise.
1938 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1941 * time/strptime_l.c (__strptime_internal): Allow modifiers
1943 * time/tst-strptime.c (day_tests): Add testcase.
1946 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1948 * scripts/bench.pl: Skip over blank lines.
1950 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1953 * manual/time.texi (Calendar Time): Clarify what timezone functions
1956 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1960 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1962 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1964 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1965 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1966 * debug/memset_chk.c (__memset_chk): Likewise.
1967 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1968 * debug/strncpy_chk.c: Likewise.
1970 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1974 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1975 (__ieee754_exp): For possibly underflowing results, check size of
1976 result and force underflow exception if required.
1977 * math/auto-libm-test-in: Add more tests of exp.
1978 * math/auto-libm-test-out: Regenerated.
1979 * sysdeps/i386/fpu/libm-test-ulps: Update.
1980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1983 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1984 * math/w_exp2f.c (__exp2f): Likewise.
1985 * math/w_exp2l.c (__exp2l): Likewise.
1986 * math/auto-libm-test-in: Do not allow missing errno on exp2
1988 * math/auto-libm-test-out: Regenerated.
1990 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1993 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1994 handle filename validation.
1995 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1998 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2001 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2002 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2003 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2005 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2007 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2009 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2011 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2012 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2013 Add more erfc tests.
2014 * math/auto-libm-test-out: Regenerated.
2015 * sysdeps/i386/fpu/libm-test-ulps: Update.
2016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2018 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2019 exp2, expm1, j0 and j1.
2020 * math/auto-libm-test-out: Regenerated.
2021 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2022 (erfc_test_data): Likewise.
2023 (exp_test_data): Likewise.
2024 (exp_tonearest_test_data): Likewise.
2025 (exp_towardzero_test_data): Likewise.
2026 (exp_downward_test_data): Likewise.
2027 (exp_upward_test_data): Likewise.
2028 (exp10_test_data): Likewise.
2029 (exp2_test_data): Likewise.
2030 (expm1_test_data): Likewise.
2031 (j0_test_data): Likewise.
2032 (j1_test_data): Likewise.
2033 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2034 (input_flag_type): Add flag_xfail_rounding.
2035 (input_flags): Add xfail-rounding.
2036 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2037 (output_for_one_input_case): Handle flag_xfail_rounding.
2038 * sysdeps/i386/fpu/libm-test-ulps: Update.
2039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2041 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2044 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2047 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2050 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2051 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2052 (STAP_PROBE0): New macro.
2053 (STAP_PROBE1): Likewise.
2054 (STAP_PROBE2): Likewise.
2055 (STAP_PROBE3): Likewise.
2056 (STAP_PROBE4): Likewise.
2058 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2060 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2062 2013-12-02 Steve Ellcey <sellcey@mips.com>
2064 * benchtests/Makefile (bench): Add sqrt.
2065 (LDLIBS-bench-sqrt): New.
2066 * benchtests/sqrt-input: New.
2068 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2070 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2071 (GAIH_EAI): Likewise.
2072 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2073 (gaih_inet): Likewise.
2074 (getaddrinfo): Don't use GAIH_EAI.
2076 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2077 (struct gaih): Remove definition.
2079 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2081 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2082 Use HERRNOP directly.
2084 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2088 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2090 * math/gen-auto-libm-tests.c (test_functions): Add more
2091 single-argument functions.
2092 (special_fill_pi_2): New function.
2093 (special_fill_minus_pi_2): Likewise.
2094 (special_fill_pi_6): Likewise.
2095 (special_fill_minus_pi_6): Likewise.
2096 (special_fill_pi_3): Likewise.
2097 (special_fill_2pi_3): Likewise.
2098 (special_fill_e): Likewise.
2099 (special_fill_1_e): Likewise.
2100 (special_fill_e_minus_1): Likewise.
2101 (special_real_inputs): Add more special inputs.
2102 (output_for_one_input_case): Do not require ERANGE on underflow to
2103 zero if round-to-nearest result does not underflow to zero, unless
2104 exact results required.
2105 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2106 atan, atanh, cbrt, cos and cosh.
2107 * math/auto-libm-test-out: Regenerated.
2108 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2109 (acos_tonearest_test_data): Likewise.
2110 (acos_towardzero_test_data): Likewise.
2111 (acos_downward_test_data): Likewise.
2112 (acos_upward_test_data): Likewise.
2113 (acosh_test_data): Likewise.
2114 (asin_test_data): Likewise.
2115 (asin_tonearest_test_data): Likewise.
2116 (asin_towardzero_test_data): Likewise.
2117 (asin_upward_test_data): Likewise.
2118 (asinh_test_data): Likewise.
2119 (atan_test_data): Likewise.
2120 (atanh_test_data): Likewise.
2121 (cbrt_test_data): Likewise.
2122 (cos_test_data): Likewise.
2123 (cos_tonearest_test_data): Likewise.
2124 (cos_towardzero_test_data): Likewise.
2125 (cos_downward_test_data): Likewise.
2126 (cos_upward_test_data): Likewise.
2127 (cosh_test_data): Likewise.
2128 (cosh_tonearest_test_data): Likewise.
2129 (cosh_towardzero_test_data): Likewise.
2130 (cosh_downward_test_data): Likewise.
2131 (cosh_upward_test_data): Likewise.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2138 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2139 * math/w_exp10f.c (__exp10f): Likewise.
2140 * math/w_exp10l.c (__exp10l): Likewise.
2141 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2142 errno settings in existing tests.
2145 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2146 precision control set to double precision.
2147 * sysdeps/i386/fpu/w_sqrt.c: New file.
2148 * math/auto-libm-test-in: Add more tests.
2149 * math/auto-libm-test-out: Update.
2151 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2152 (sqrt_test_tonearest): New function.
2153 (sqrt_towardzero_test_data): New variable.
2154 (sqrt_test_towardzero): New function.
2155 (sqrt_downward_test_data): New variable.
2156 (sqrt_test_downward): New function.
2157 (sqrt_upward_test_data): New variable.
2158 (sqrt_test_upward): New function.
2159 (main): Call the new functions.
2161 * math/gen-auto-libm-tests.c: New file.
2162 * math/auto-libm-test-in: Likewise.
2163 * math/auto-libm-test-out: New generated file.
2164 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2166 (%beautify): Add generated representations of zero.
2167 (top level): Set $auto_input and call parse_auto_input.
2168 (beautify): Remove trailing "f" from hex float constants.
2169 (parse_args): Handle XFAIL_TEST.
2170 (convert_condition): New function.
2171 (or_value): Likewise.
2172 (or_cond_value): Likewise.
2173 (generate_testfile): Handle AUTO_TESTS_* lines.
2174 (parse_auto_input): New function.
2175 * math/libm-test.inc (XFAIL_TEST): New macro.
2176 (ERRNO_UNCHANGED): Update value.
2177 (ERRNO_EDOM): Likewise.
2178 (ERRNO_ERANGE): Likewise.
2179 (IGNORE_RESULT): Likewise.
2180 (TEST_COND_flt_32): New macro.
2181 (TEST_COND_dbl_64): Likewise.
2182 (TEST_COND_ldbl_96_intel): Likewise.
2183 (TEST_COND_ldbl_96_m68k): Likewise.
2184 (TEST_COND_ldbl_128): Likewise.
2185 (TEST_COND_ldbl_128ibm): Likewise.
2186 (TEST_COND_long32): Likewise.
2187 (TEST_COND_long64): Likewise.
2188 (TEST_COND_before_rounding): Likewise.
2189 (TEST_COND_after_rounding): Likewise.
2190 (enable_test): Handle XFAIL_TEST flag.
2191 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2192 with finite results.
2193 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2196 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2197 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2200 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2201 __tls_get_addr_internal instead of __tls_get_offset in order to
2202 avoid GOT pointer dependency. Make rtld export
2203 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2204 __tls_get_addr since we are a __tls_get_offset platform.
2205 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2206 GOT pointer being set up before.
2207 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2209 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2211 * manual/math.texi (Errors in Math Functions): Document accuracy
2215 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2216 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2217 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2219 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2221 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2232 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2233 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2234 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2235 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2236 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2238 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2240 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2242 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2243 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2244 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2245 atomic-feupdateenv and flt-rounds.
2246 * sysdeps/powerpc/nofpu/Versions (libc): Add
2247 __atomic_feholdexcept, __atomic_feclearexcept,
2248 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2249 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2250 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2251 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2252 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2257 * manual/arith.texi (FP Exceptions): Document that exceptions may
2258 not be raised when matherr is used.
2259 (Math Error Reporting): Document overflow in directed rounding
2260 modes. Document that errno may not be set when finite values are
2261 returned on overflow. Document intent to set errno on underflow
2262 only for underflow to zero.
2265 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2266 round-to-nearest then adjust result for other rounding modes.
2267 * include/fenv.h (fegetround): Use libm_hidden_proto.
2268 * math/fegetround.c (fegetround): Use libm_hidden_def.
2269 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2270 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2271 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2272 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2274 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2276 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2277 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2279 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2282 * nss/Versions (libnss_files): Add
2283 _nss_files_gethostbyname3_r.
2284 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2286 (HOST_DB_LOOKUP): Remove macro.
2287 (_nss_files_gethostbyname_r): Implement function without the
2288 HOST_DB_LOOKUP macro.
2289 (_nss_files_gethostbyname2_r): Likewise.
2291 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2293 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2295 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2297 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2298 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2301 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2303 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2304 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2305 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2306 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2307 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2308 __fe_nomask_env_priv and attribute_hidden.
2309 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2310 (libc_feupdateenv_test_ppc): Likewise.
2311 (libc_feresetround_ppc): Likewise.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2313 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2314 compat_symbol macro.
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2316 (__fe_nomask_env): Likewise.
2317 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2319 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2321 * string/Makefile: Remove ifunc tests.
2322 * string/test-string.h: Define TEST_IFUNC.
2323 * string/test-bcopy-ifunc.c: Remove.
2324 * string/test-bzero-ifunc.c: Likewise.
2325 * string/test-memccpy-ifunc.c: Likewise.
2326 * string/test-memchr-ifunc.c: Likewise.
2327 * string/test-memcmp-ifunc.c: Likewise.
2328 * string/test-memcpy-ifunc.c: Likewise.
2329 * string/test-memmem-ifunc.c: Likewise.
2330 * string/test-memmove-ifunc.c: Likewise.
2331 * string/test-mempcpy-ifunc.c: Likewise.
2332 * string/test-memrchr-ifunc.c: Likewise.
2333 * string/test-memset-ifunc.c: Likewise.
2334 * string/test-rawmemchr-ifunc.c: Likewise.
2335 * string/test-stpcpy-ifunc.c: Likewise.
2336 * string/test-stpncpy-ifunc.c: Likewise.
2337 * string/test-strcasecmp-ifunc.c: Likewise.
2338 * string/test-strcasestr-ifunc.c: Likewise.
2339 * string/test-strcat-ifunc.c: Likewise.
2340 * string/test-strchr-ifunc.c: Likewise.
2341 * string/test-strchrnul-ifunc.c: Likewise.
2342 * string/test-strcmp-ifunc.c: Likewise.
2343 * string/test-strcpy-ifunc.c: Likewise.
2344 * string/test-strcspn-ifunc.c: Likewise.
2345 * string/test-strlen-ifunc.c: Likewise.
2346 * string/test-strncasecmp-ifunc.c: Likewise.
2347 * string/test-strncat-ifunc.c: Likewise.
2348 * string/test-strncmp-ifunc.c: Likewise.
2349 * string/test-strncpy-ifunc.c: Likewise.
2350 * string/test-strnlen-ifunc.c: Likewise.
2351 * string/test-strpbrk-ifunc.c: Likewise.
2352 * string/test-strrchr-ifunc.c: Likewise.
2353 * string/test-strspn-ifunc.c: Likewise.
2354 * string/test-strstr-ifunc.c: Likewise.
2356 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2358 * benchtests/Makefile: Remove ifunc tests.
2359 * benchtests/bench-string.h: Define TEST_IFUNC.
2360 * benchtests/bench-bcopy-ifunc.c: Remove.
2361 * benchtests/bench-bzero-ifunc.c: Likewise.
2362 * benchtests/bench-memccpy-ifunc.c: Likewise.
2363 * benchtests/bench-memchr-ifunc.c: Likewise.
2364 * benchtests/bench-memcmp-ifunc.c: Likewise.
2365 * benchtests/bench-memcpy-ifunc.c: Likewise.
2366 * benchtests/bench-memmem-ifunc.c: Likewise.
2367 * benchtests/bench-memmove-ifunc.c: Likewise.
2368 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2369 * benchtests/bench-memrchr-ifunc.c: Likewise.
2370 * benchtests/bench-memset-ifunc.c: Likewise.
2371 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2372 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2373 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2374 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2375 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2376 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2377 * benchtests/bench-strcat-ifunc.c: Likewise.
2378 * benchtests/bench-strchr-ifunc.c: Likewise.
2379 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2380 * benchtests/bench-strcmp-ifunc.c: Likewise.
2381 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2382 * benchtests/bench-strcpy-ifunc.c: Likewise.
2383 * benchtests/bench-strcspn-ifunc.c: Likewise.
2384 * benchtests/bench-strlen-ifunc.c: Likewise.
2385 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2386 * benchtests/bench-strncat-ifunc.c: Likewise.
2387 * benchtests/bench-strncmp-ifunc.c: Likewise.
2388 * benchtests/bench-strncpy-ifunc.c: Likewise.
2389 * benchtests/bench-strnlen-ifunc.c: Likewise.
2390 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2391 * benchtests/bench-strrchr-ifunc.c: Likewise.
2392 * benchtests/bench-strsep-ifunc.c: Likewise.
2393 * benchtests/bench-strspn-ifunc.c: Likewise.
2394 * benchtests/bench-strstr-ifunc.c: Likewise.
2396 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2398 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2400 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2402 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2403 * rt/aio.h: Likewise.
2404 * sysdeps/gnu/bits/utmp.h: Likewise.
2405 * sysdeps/gnu/bits/utmpx.h: Likewise.
2406 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2407 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2408 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2409 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2410 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2411 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2412 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2413 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2414 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2417 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2421 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2422 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2423 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2424 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2425 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2426 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2427 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2428 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2429 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2430 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2433 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2436 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2438 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2439 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2440 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2441 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2442 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2443 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2444 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2445 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2446 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2447 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2449 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2452 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2453 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2455 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2457 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2458 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2461 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2464 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2465 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2466 (__fesetround): Remove define.
2467 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2468 rounding and exceptions handling.
2469 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2470 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2471 (__fe_nomask_env): Likewise.
2472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2473 __fegetround instead of fegetround.
2474 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2475 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2477 2013-11-21 Roland McGrath <roland@hack.frob.com>
2479 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2482 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2484 2013-11-21 Meador Inge <meadori@codesourcery.com>
2487 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2488 (encrypt_r): Likewise.
2489 * malloc/obstack.h (obstack_free): Likewise.
2490 * posix/unistd.h (encrypt): Likewise.
2492 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2494 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2495 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2496 DL_CALL_DT_FINI() that call the functions directly.
2497 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2498 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2499 * elf/dl-fini.c: Likewise.
2501 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2503 * malloc/hooks.c (memalign_check): Add alignment rounding.
2504 * malloc/malloc.c (_mid_memalign): New function.
2505 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2506 Implement by calling _mid_memalign.
2507 * manual/probes.texi (Memory Allocation Probes): Remove
2508 memory_valloc_retry and memory_pvalloc_retry.
2510 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2512 * locale/programs/locarchive.c (open_archive): Add const
2513 qualifier to ARCHIVEFNAME and copy default fname to
2517 * libio/tst-widetext.input: Rename Oriya to Odia.
2518 * locale/iso-639.def: Likewise.
2520 * manual/probes.texi (Mathematical Function Probes): Add
2521 documentation for sin, cos, asin and acos probes.
2522 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2523 (__sin32): Add slowasin probe.
2524 (__cos32): Add slowacos probe.
2525 (__mpsin): Add slowsin probe.
2526 (__mpcos): Add slowcos probe.
2528 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2531 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2532 thread-local __sim_exceptions_thread and global
2533 __sim_exceptions_global.
2534 (__sim_disabled_exceptions): Change to thread-local
2535 __sim_disabled_exceptions_thread and global
2536 __sim_disabled_exceptions_global.
2537 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2538 and global __sim_round_mode_global.
2539 (__simulate_exceptions): Use thread-local floating-point state and
2540 set global state from it as needed.
2541 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2542 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2543 __sim_round_mode_thread.
2544 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2545 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2546 and global __sim_exceptions_global.
2547 (__sim_disabled_exceptions): Change to thread-local
2548 __sim_disabled_exceptions_thread and global
2549 __sim_disabled_exceptions_global.
2550 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2551 and global __sim_round_mode_global.
2552 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2553 (SIM_SET_GLOBAL): Likewise.
2554 * sysdeps/powerpc/soft-fp/sfp-machine.h
2555 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2556 __sim_round_mode_thread.
2557 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2558 __sim_disabled_exceptions_thread.
2559 (__sim_exceptions): Change to __sim_exceptions_thread.
2560 (__sim_disabled_exceptions): Change to
2561 __sim_disabled_exceptions_thread.
2562 (__sim_round_mode): Change to __sim_round_mode_thread.
2563 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2564 thread-local floating-point state and set global state from it as
2566 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2567 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2568 (__sim_disabled_exceptions): Remove extern declaration.
2569 (feenableexcept): Use thread-local floating-point state and set
2570 global state from it as needed.
2571 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2573 (__sim_disabled_exceptions): Likewise.
2574 (__sim_round_mode): Likewise.
2575 (__fegetenv): Use thread-local floating-point state.
2576 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2577 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2578 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2579 floating-point state and set global state from it as needed.
2580 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2581 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2582 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2584 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2585 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2587 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2588 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2589 Use __sim_round_mode_thread.
2590 * math/test-fenv-tls.c: New file.
2591 * math/Makefile (tests): Add test-fenv-tls.
2592 ($(objpfx)test-fenv-tls): Depend on
2593 $(common-objpfx)nptl/libpthread.so.
2595 2013-11-19 Andreas Schwab <schwab@suse.de>
2597 * locale/programs/locale.c (show_info): Decode wordarray elements.
2598 * locale/categories.def (LC_MONETARY): Add element for
2599 _NL_MONETARY_CRNCYSTR.
2600 * locale/C-monetary.c (conversion_rate): New variable.
2601 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2604 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2606 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2607 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2609 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2611 * elf/Makefile (tst-auxv): New test.
2612 * elf/tst-auxv.c: New
2613 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2615 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2617 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2618 (hidden_proto): Caller changed.
2619 (hidden_tls_proto): New macro.
2620 (libc_hidden_tls_proto): Likewise.
2621 (rtld_hidden_tls_proto): Likewise.
2622 (libm_hidden_tls_proto): Likewise.
2623 (libresolv_hidden_tls_proto): Likewise.
2624 (librt_hidden_tls_proto): Likewise.
2625 (libdl_hidden_tls_proto): Likewise.
2626 (libnss_files_hidden_tls_proto): Likewise.
2627 (libnsl_hidden_tls_proto): Likewise.
2628 (libnss_nisplus_hidden_tls_proto): Likewise.
2629 (libutil_hidden_tls_proto): Likewise.
2631 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2634 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2635 (decompose_rpath): Defer expansion to fillin_rpath.
2636 (_dl_init_paths): Pass linkmap to fillin_rpath.
2638 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2640 * benchtests/Makefile: Add strsep.
2641 * benchtests/bench-strsep.c: New file: strsep benchtest.
2642 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2644 2013-11-18 Andreas Schwab <schwab@suse.de>
2646 * locale/programs/locale.c (show_info) [case byte]: Check for
2647 '\377' instead of '\177'.
2648 * locale/C-monetary.c (not_available): Always use "\377".
2649 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2650 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2651 detect unavailable sign_posn locale elements.
2652 * locale/localeconv.c (__localeconv): For grouping and
2653 mon_grouping handle "\177" and "\377" like no grouping.
2654 (INT_ELEM): New macro. Use it to set all numeric members.
2655 * locale/programs/ld-monetary.c (monetary_read)
2656 <tok_mon_grouping>: Normalize single -1 to the empty string.
2657 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2660 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2664 when we match (nil).
2665 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2667 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2669 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2670 (NO_TEST_INLINE): Update value.
2671 (ERRNO_UNCHANGED): Likewise.
2672 (ERRNO_EDOM): Likewise.
2673 (ERRNO_ERANGE): Likewise.
2674 (IGNORE_RESULT): Likewise.
2675 (check_float_internal): Check signs of NaN results if
2677 (check_complex): Pass TEST_NAN_SIGN flag through to second
2678 check_float_internal call.
2679 (copysign_test_data): Add tests with quiet NaNs as second
2680 argument. Use TEST_NAN_SIGN.
2681 (fabs_test_data): Add test of negative quiet NaN argument. Use
2683 (signbit_test_data): Add tests of quiet NaN argument.
2684 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2686 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2688 (parse_args): Handle function results specified as IGNORE.
2689 * math/libm-test.inc (IGNORE_RESULT): New macro.
2690 (check_float_internal): Do not check numerical result if flag
2692 (check_complex): Pass through IGNORE_RESULT to second
2693 check_float_internal call.
2694 (check_int): Do not check numerical result if flag IGNORE_RESULT
2696 (check_long): Likewise.
2697 (check_bool): Likewise.
2698 (check_longlong): Likewise.
2699 (lrint_test_data): Add tests of infinite and NaN arguments.
2700 (lrint_tonearest_test_data): Likewise.
2701 (lrint_towardzero_test_data): Likewise.
2702 (lrint_downward_test_data): Likewise.
2703 (lrint_upward_test_data): Likewise.
2704 (llrint_test_data): Likewise.
2705 (llrint_tonearest_test_data): Likewise.
2706 (llrint_towardzero_test_data): Likewise.
2707 (llrint_downward_test_data): Likewise.
2708 (llrint_upward_test_data): Likewise.
2709 (lround_test_data): Likewise.
2710 (llround_test_data): Likewise.
2712 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2713 (ERRNO_UNCHANGED): Update value.
2714 (ERRNO_EDOM): Likewise.
2715 (ERRNO_ERANGE): Likewise.
2716 (NO_TEST_INLINE_FLOAT): New macro.
2717 (NO_TEST_INLINE_DOUBLE): Likewise.
2718 (enable_test): New function.
2719 (RUN_TEST_f_f): Check enable_test before running test.
2720 (RUN_TEST_2_f): Likewise.
2721 (RUN_TEST_fff_f): Likewise.
2722 (RUN_TEST_c_f): Likewise.
2723 (RUN_TEST_f_f1): Likewise.
2724 (RUN_TEST_fF_f1): Likewise.
2725 (RUN_TEST_fI_f1): Likewise.
2726 (RUN_TEST_ffI_f1): Likewise.
2727 (RUN_TEST_c_c): Likewise.
2728 (RUN_TEST_cc_c): Likewise.
2729 (RUN_TEST_f_i): Likewise.
2730 (RUN_TEST_f_i_tg): Likewise.
2731 (RUN_TEST_ff_i_tg): Likewise.
2732 (RUN_TEST_f_b): Likewise.
2733 (RUN_TEST_f_b_tg): Likewise.
2734 (RUN_TEST_f_l): Likewise.
2735 (RUN_TEST_f_L): Likewise.
2736 (RUN_TEST_fFF_11): Likewise.
2737 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2739 (cosh_test_data): Likewise.
2740 (exp_test_data): Likewise.
2741 (expm1_test_data): Likewise.
2742 (hypot_test_data): Likewise.
2743 (pow_test_data): Likewise.
2744 (sinh_test_data): Likewise.
2745 (tanh_test_data): Likewise.
2746 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2749 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2750 tests with quiet NaN input and output.
2751 (acosh_test_data): Likewise.
2752 (asin_test_data): Likewise.
2753 (asinh_test_data): Likewise.
2754 (atan_test_data): Likewise.
2755 (atanh_test_data): Likewise.
2756 (atan2_test_data): Likewise.
2757 (cbrt_test_data): Likewise.
2758 (cos_test_data): Likewise.
2759 (cosh_test_data): Likewise.
2760 (erf_test_data): Likewise.
2761 (erfc_test_data): Likewise.
2762 (exp_test_data): Likewise.
2763 (exp10_test_data): Likewise.
2764 (exp2_test_data): Likewise.
2765 (expm1_test_data): Likewise.
2766 (hypot_test_data): Likewise.
2767 (j0_test_data): Likewise.
2768 (j1_test_data): Likewise.
2769 (jn_test_data): Likewise.
2770 (lgamma_test_data): Likewise.
2771 (log_test_data): Likewise.
2772 (log10_test_data): Likewise.
2773 (log1p_test_data): Likewise.
2774 (log2_test_data): Likewise.
2775 (pow_test_data): Likewise.
2776 (scalb_test_data): Likewise.
2777 (sin_test_data): Likewise.
2778 (sincos_test_data): Likewise.
2779 (sinh_test_data): Likewise.
2780 (tan_test_data): Likewise.
2781 (tanh_test_data): Likewise.
2782 (tgamma_test_data): Likewise.
2783 (y0_test_data): Likewise.
2784 (y1_test_data): Likewise.
2785 (yn_test_data): Likewise.
2788 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2789 argument being NaN and avoid computations with second argument in
2791 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2792 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2793 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2795 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2797 * locale/iso-639.def: Add Chitwani Tharu (the).
2799 2013-11-14 Andreas Schwab <schwab@suse.de>
2801 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2802 word instead of empty string.
2804 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2807 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2809 (__fe_nomask_env): Likewise.
2811 2013-11-13 Steve Ellcey <sellcey@mips.com>
2813 * benchtests/bench-timing.h: Include time.h.
2815 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2818 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2820 * sysdeps/unix/sysv/linux/configure: Regenerated.
2822 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2825 * stdlib/strtod_l.c (round_and_return): Do not consider
2826 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2827 exponent one less than half the least subnormal exponent.
2828 * stdlib/test-strtod-round-data: Add more tests.
2829 * stdlib/tst-strtod-round.c (tests): Regenerated.
2831 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2834 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2835 (__fe_mask_env): Likewise.
2836 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2837 libm_hidden_proto and add function prototype.
2838 (__fe_mask_env): Add function prototype.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2840 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2842 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2844 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2846 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2848 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2849 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2851 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2853 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2854 of htab_find_slot().
2856 2013-11-11 David S. Miller <davem@davemloft.net>
2859 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2860 symbol in the non-vis3 case in static builds.
2861 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2862 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2863 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2864 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2866 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2869 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2872 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2874 * benchtests/Makefile: Add bench-strtod.
2875 * benchtests/bench-strtod.c: New file: strtod benchtest
2877 2013-11-11 Andreas Schwab <schwab@suse.de>
2880 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2881 terminating NUL in key length.
2883 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2886 Add artificial ODP entry for vDSO symbol for PPC64.
2887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2888 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2890 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2893 * nss/getent.c (services_keys): Recognize services starting with digit.
2895 2013-11-06 David S. Miller <davem@davemloft.net>
2898 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2899 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2901 2013-11-06 Will Newton <will.newton@linaro.org>
2903 * manual/memory.texi (Malloc Examples): Remove register
2904 keyword from examples.
2906 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2908 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2910 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2912 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2913 depending on [__GCC_IEC_559 > 0].
2914 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2915 depending on [__GCC_IEC_559_COMPLEX > 0].
2917 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2919 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2922 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2924 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2926 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2929 * malloc/malloc (malloc_info): Do not handle first bin as
2932 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2934 * locale/iso-639.def: Add Central Nahuatl (nhn).
2936 2013-11-01 Bruno Haible <bruno@clisp.org>
2939 * manual/math.texi (BSD Random): Specify range upper bound as
2942 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2944 * locale/iso-639.def: Add Meadow Mari (mhr).
2946 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2948 [BZ #14752], [BZ #15763]
2949 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2951 * rt/tst_shm.c: Add test for escaping directory.
2953 2013-10-31 Andreas Schwab <schwab@suse.de>
2956 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2957 followed by 'x' as part of digit sequence.
2958 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2960 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2963 * configure.ac: allow GNU Make 4.0 and greater.
2964 * configure: Regenerated.
2966 2013-10-30 Will Newton <will.newton@linaro.org>
2969 * malloc/hooks.c (memalign_check): Limit alignment to the
2970 maximum representable power of two.
2971 * malloc/malloc.c (__libc_memalign): Likewise.
2972 * malloc/tst-memalign.c (do_test): Add test for very
2973 large alignment values.
2974 * malloc/tst-posix_memalign.c (do_test): Likewise.
2976 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2979 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2980 (munmap_chunk): Likewise.
2981 (mremap_chunk): Likewise.
2983 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2986 * stdlib/div.c (div): Remove obsolete code.
2987 * stdlib/ldiv.c (ldiv): Likewise.
2988 * stdlib/lldiv.c (lldiv): Likewise.
2990 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2993 * nss/nss_files/files-XXX.c (get_contents_ret): New
2995 (get_contents): New function.
2996 (internal_getent): Use it. Expand size of LINEBUFLEN.
2998 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3000 * configure.in: Moved to ...
3001 * configure.ac: ... here. Change reference to configure.in
3003 * sysdeps/arm/preconfigure.ac: ... here.
3004 configure.in to configure.ac.
3005 * sysdeps/gnu/configure.in: Moved to ...
3006 * sysdeps/gnu/configure.ac: ... here.
3007 * sysdeps/i386/configure.in: Moved to ...
3008 * sysdeps/i386/configure.ac: ... here.
3009 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3010 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3011 * sysdeps/mach/configure.in: Moved to ...
3012 * sysdeps/mach/configure.ac: ... here.
3013 * sysdeps/mach/hurd/configure.in: Moved to ...
3014 * sysdeps/mach/hurd/configure.ac: ... here.
3015 * sysdeps/powerpc/configure.in: Moved to ...
3016 * sysdeps/powerpc/configure.ac: ... here.
3017 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3018 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3019 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3020 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3021 * sysdeps/s390/s390-32/configure.in: Moved to ...
3022 * sysdeps/s390/s390-32/configure.ac: ... here.
3023 * sysdeps/s390/s390-64/configure.in: Moved to ...
3024 * sysdeps/s390/s390-64/configure.ac: ... here.
3025 * sysdeps/sh/configure.in: Moved to ...
3026 * sysdeps/sh/configure.ac: ... here.
3027 * sysdeps/sparc/configure.in: Moved to ...
3028 * sysdeps/sparc/configure.ac: ... here.
3029 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3030 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3031 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3032 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3033 * sysdeps/x86_64/configure.in: Moved to ...
3034 * sysdeps/x86_64/configure.ac: ... here.
3035 * sysdeps/x86_64/preconfigure.in: Moved to ...
3036 * sysdeps/x86_64/preconfigure.ac: ... here.
3037 * aclocal.m4: Change reference to configure.in to configure.ac.
3038 * config.h.in: Likewise.
3039 * manual/install.texi: Likewise.
3040 * manual/maint.texi: Likewise.
3041 * Makefile: Likewise.
3042 * malloc/Makefile: Likewise.
3043 * nscd/Makefile: Likewise.
3044 * Makeconfig: Change reference to configure.in and
3045 preconfigure.in to configure.ac and preconfigure.ac
3047 * INSTALL: Regenerated.
3048 * configure: Likewise.
3049 * sysdeps/gnu/configure: Likewise.
3050 * sysdeps/i386/configure: Likewise.
3051 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3052 * sysdeps/mach/configure: Likewise.
3053 * sysdeps/mach/hurd/configure: Likewise.
3054 * sysdeps/powerpc/configure: Likewise.
3055 * sysdeps/powerpc/powerpc32/configure: Likewise.
3056 * sysdeps/powerpc/powerpc64/configure: Likewise.
3057 * sysdeps/s390/s390-32/configure: Likewise.
3058 * sysdeps/s390/s390-64/configure: Likewise.
3059 * sysdeps/sh/configure: Likewise.
3060 * sysdeps/sparc/configure: Likewise.
3061 * sysdeps/unix/sysv/linux/configure: Likewise.
3062 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3063 * sysdeps/x86_64/configure: Likewise.
3064 * sysdeps/x86_64/preconfigure: Likewise.
3066 2013-10-29 Andreas Schwab <schwab@suse.de>
3068 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3070 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3072 * benchtests/pow-inputs: Add new inputs.
3074 * benchtests/exp-inputs: Add new inputs.
3076 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3077 conditional check for return value.
3078 (__cos32): Likewise.
3080 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3082 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3083 to provide a boost for large inputs with word alignment.
3084 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3085 implementation based on optimized PPC64 strcpy.
3086 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3087 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3088 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3089 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3091 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3094 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3096 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3099 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3100 * time/tst-strptime.c (day_tests): Add testcase.
3102 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3105 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3107 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3110 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3111 MAP_FAILED on error.
3113 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3116 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3117 heap for large requests.
3119 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3122 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3123 result if the result has no associated interface.
3124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3125 interface for all 127.X.Y.Z addresses.
3127 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3129 * locale/iso-639.def: Add Ligurian (lij)
3131 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3134 * sunrpc/rpc_main.c: Document rpcgen -5.
3136 2013-10-19 Michael Stahl <mstahl@redhat.com>
3138 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3140 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3143 * posix/glob.c: Match only directories when trailing slash is present.
3144 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3145 (main): Add testcase.
3147 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3150 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3152 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3154 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3155 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3156 AUTH_DES and cindex for FIPS 140-2.
3157 (DES Encryption): Add cindex FIPS 46-3.
3159 * locale/locarchive.h (struct locarhandle): Add fname.
3160 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3161 if an optional argument was specified to --list-archive,
3163 * locale/programs/locarchive.c (show_archive_content): Take new
3164 argument fname and pass it via ah.fname to open_archive.
3165 * locale/programs/localedef.h: Update decl.
3166 (open_archive): If AH->fname is non-null, open that file
3167 rather than the default file name, and don't ignore ENOENT.
3168 (create_archive): Set AH.fname to NULL.
3169 (delete_locales_from_archive): Likewise.
3170 (add_locales_to_archive): Likewise.
3171 * locale/programs/locfile.c (write_all_categories): Likewise.
3173 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3174 Aldy Hernandez <aldyh@redhat.com>
3176 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3177 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3178 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3179 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3180 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3181 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3182 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3183 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3184 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3185 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3186 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3187 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3188 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3189 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3190 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3194 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3196 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3198 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3199 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3201 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3202 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3203 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3204 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3206 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3207 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3208 * sysdeps/powerpc/preconfigure: Likewise.
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3211 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3212 Replace contents of file by #include of <fenv_libc.h>.
3213 * sysdeps/powerpc/soft-fp/sfp-machine.h
3214 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3216 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3229 Allow copysignl PLT reference to be missing.
3231 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3232 Joseph Myers <joseph@codesourcery.com
3235 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3237 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3239 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3241 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3242 * elf/tst-tls1.c: Likewise.
3243 * elf/tst-tls10.h: Likewise.
3244 * elf/tst-tls14.c: Likewise.
3245 * elf/tst-tls2.c: Likewise.
3246 * elf/tst-tls3.c: Likewise.
3247 * elf/tst-tls4.c: Likewise.
3248 * elf/tst-tls5.c: Likewise.
3249 * elf/tst-tls6.c: Likewise.
3250 * elf/tst-tls7.c: Likewise.
3251 * elf/tst-tls8.c: Likewise.
3252 * elf/tst-tls9.c: Likewise.
3253 * elf/tst-tlsmod1.c: Likewise.
3254 * elf/tst-tlsmod13.c: Likewise.
3255 * elf/tst-tlsmod13a.c: Likewise.
3256 * elf/tst-tlsmod14a.c: Likewise.
3257 * elf/tst-tlsmod16a.c: Likewise.
3258 * elf/tst-tlsmod16b.c: Likewise.
3259 * elf/tst-tlsmod2.c: Likewise.
3260 * elf/tst-tlsmod3.c: Likewise.
3261 * elf/tst-tlsmod4.c: Likewise.
3262 * elf/tst-tlsmod5.c: Likewise.
3263 * elf/tst-tlsmod6.c: Likewise.
3265 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3268 * malloc/malloc.c: remove checks for statistics.
3270 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3273 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3274 * inet/tst-network.c: Add testcase.
3276 2013-10-17 Andreas Schwab <schwab@suse.de>
3279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3280 to determine canonical name.
3282 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3284 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3285 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3301 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3303 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3307 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3308 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3309 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3310 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3311 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3312 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3313 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3314 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3323 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3324 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3325 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3326 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3327 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3328 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3329 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3330 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3331 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3336 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3337 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3339 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3341 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3343 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3346 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3347 make result into a quiet NaN.
3349 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3351 * soft-fp/adddf3.c: Fix horizontal whitespace.
3352 * soft-fp/addsf3.c: Likewise.
3353 * soft-fp/addtf3.c: Likewise.
3354 * soft-fp/divdf3.c: Likewise.
3355 * soft-fp/divsf3.c: Likewise.
3356 * soft-fp/divtf3.c: Likewise.
3357 * soft-fp/double.h: Likewise.
3358 * soft-fp/eqdf2.c: Likewise.
3359 * soft-fp/eqsf2.c: Likewise.
3360 * soft-fp/eqtf2.c: Likewise.
3361 * soft-fp/extenddftf2.c: Likewise.
3362 * soft-fp/extended.h: Likewise.
3363 * soft-fp/extendsfdf2.c: Likewise.
3364 * soft-fp/extendsftf2.c: Likewise.
3365 * soft-fp/extendxftf2.c: Likewise.
3366 * soft-fp/fixdfdi.c: Likewise.
3367 * soft-fp/fixdfsi.c: Likewise.
3368 * soft-fp/fixdfti.c: Likewise.
3369 * soft-fp/fixsfdi.c: Likewise.
3370 * soft-fp/fixsfsi.c: Likewise.
3371 * soft-fp/fixsfti.c: Likewise.
3372 * soft-fp/fixtfdi.c: Likewise.
3373 * soft-fp/fixtfsi.c: Likewise.
3374 * soft-fp/fixtfti.c: Likewise.
3375 * soft-fp/fixunsdfdi.c: Likewise.
3376 * soft-fp/fixunsdfsi.c: Likewise.
3377 * soft-fp/fixunsdfti.c: Likewise.
3378 * soft-fp/fixunssfdi.c: Likewise.
3379 * soft-fp/fixunssfsi.c: Likewise.
3380 * soft-fp/fixunssfti.c: Likewise.
3381 * soft-fp/fixunstfdi.c: Likewise.
3382 * soft-fp/fixunstfsi.c: Likewise.
3383 * soft-fp/fixunstfti.c: Likewise.
3384 * soft-fp/floatdidf.c: Likewise.
3385 * soft-fp/floatdisf.c: Likewise.
3386 * soft-fp/floatditf.c: Likewise.
3387 * soft-fp/floatsidf.c: Likewise.
3388 * soft-fp/floatsisf.c: Likewise.
3389 * soft-fp/floatsitf.c: Likewise.
3390 * soft-fp/floattidf.c: Likewise.
3391 * soft-fp/floattisf.c: Likewise.
3392 * soft-fp/floattitf.c: Likewise.
3393 * soft-fp/floatundidf.c: Likewise.
3394 * soft-fp/floatundisf.c: Likewise.
3395 * soft-fp/floatunditf.c: Likewise.
3396 * soft-fp/floatunsidf.c: Likewise.
3397 * soft-fp/floatunsisf.c: Likewise.
3398 * soft-fp/floatunsitf.c: Likewise.
3399 * soft-fp/floatuntidf.c: Likewise.
3400 * soft-fp/floatuntisf.c: Likewise.
3401 * soft-fp/floatuntitf.c: Likewise.
3402 * soft-fp/fmadf4.c: Likewise.
3403 * soft-fp/fmasf4.c: Likewise.
3404 * soft-fp/fmatf4.c: Likewise.
3405 * soft-fp/gedf2.c: Likewise.
3406 * soft-fp/gesf2.c: Likewise.
3407 * soft-fp/getf2.c: Likewise.
3408 * soft-fp/ledf2.c: Likewise.
3409 * soft-fp/lesf2.c: Likewise.
3410 * soft-fp/letf2.c: Likewise.
3411 * soft-fp/muldf3.c: Likewise.
3412 * soft-fp/mulsf3.c: Likewise.
3413 * soft-fp/multf3.c: Likewise.
3414 * soft-fp/negdf2.c: Likewise.
3415 * soft-fp/negsf2.c: Likewise.
3416 * soft-fp/negtf2.c: Likewise.
3417 * soft-fp/op-1.h: Likewise.
3418 * soft-fp/op-2.h: Likewise.
3419 * soft-fp/op-4.h: Likewise.
3420 * soft-fp/op-8.h: Likewise.
3421 * soft-fp/op-common.h: Likewise.
3422 * soft-fp/quad.h: Likewise.
3423 * soft-fp/single.h: Likewise.
3424 * soft-fp/soft-fp.h: Likewise.
3425 * soft-fp/sqrtdf2.c: Likewise.
3426 * soft-fp/sqrtsf2.c: Likewise.
3427 * soft-fp/sqrttf2.c: Likewise.
3428 * soft-fp/subdf3.c: Likewise.
3429 * soft-fp/subsf3.c: Likewise.
3430 * soft-fp/subtf3.c: Likewise.
3431 * soft-fp/truncdfsf2.c: Likewise.
3432 * soft-fp/trunctfdf2.c: Likewise.
3433 * soft-fp/trunctfsf2.c: Likewise.
3434 * soft-fp/trunctfxf2.c: Likewise.
3435 * soft-fp/unorddf2.c: Likewise.
3436 * soft-fp/unordsf2.c: Likewise.
3437 * soft-fp/unordtf2.c: Likewise.
3439 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3441 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3442 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3444 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3446 * elf/dl-libc.c: Clear initfini list after freeing.
3448 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3450 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3451 * soft-fp/addsf3.c: Likewise.
3452 * soft-fp/addtf3.c: Likewise.
3453 * soft-fp/divdf3.c: Likewise.
3454 * soft-fp/divsf3.c: Likewise.
3455 * soft-fp/divtf3.c: Likewise.
3456 * soft-fp/double.h: Likewise.
3457 * soft-fp/eqdf2.c: Likewise.
3458 * soft-fp/eqsf2.c: Likewise.
3459 * soft-fp/eqtf2.c: Likewise.
3460 * soft-fp/extenddftf2.c: Likewise.
3461 * soft-fp/extended.h: Likewise.
3462 * soft-fp/extendsfdf2.c: Likewise.
3463 * soft-fp/extendsftf2.c: Likewise.
3464 * soft-fp/extendxftf2.c: Likewise.
3465 * soft-fp/fixdfdi.c: Likewise.
3466 * soft-fp/fixdfsi.c: Likewise.
3467 * soft-fp/fixdfti.c: Likewise.
3468 * soft-fp/fixsfdi.c: Likewise.
3469 * soft-fp/fixsfsi.c: Likewise.
3470 * soft-fp/fixsfti.c: Likewise.
3471 * soft-fp/fixtfdi.c: Likewise.
3472 * soft-fp/fixtfsi.c: Likewise.
3473 * soft-fp/fixtfti.c: Likewise.
3474 * soft-fp/fixunsdfdi.c: Likewise.
3475 * soft-fp/fixunsdfsi.c: Likewise.
3476 * soft-fp/fixunsdfti.c: Likewise.
3477 * soft-fp/fixunssfdi.c: Likewise.
3478 * soft-fp/fixunssfsi.c: Likewise.
3479 * soft-fp/fixunssfti.c: Likewise.
3480 * soft-fp/fixunstfdi.c: Likewise.
3481 * soft-fp/fixunstfsi.c: Likewise.
3482 * soft-fp/fixunstfti.c: Likewise.
3483 * soft-fp/floatdidf.c: Likewise.
3484 * soft-fp/floatdisf.c: Likewise.
3485 * soft-fp/floatditf.c: Likewise.
3486 * soft-fp/floatsidf.c: Likewise.
3487 * soft-fp/floatsisf.c: Likewise.
3488 * soft-fp/floatsitf.c: Likewise.
3489 * soft-fp/floattidf.c: Likewise.
3490 * soft-fp/floattisf.c: Likewise.
3491 * soft-fp/floattitf.c: Likewise.
3492 * soft-fp/floatundidf.c: Likewise.
3493 * soft-fp/floatundisf.c: Likewise.
3494 * soft-fp/floatunsidf.c: Likewise.
3495 * soft-fp/floatunsisf.c: Likewise.
3496 * soft-fp/floatuntidf.c: Likewise.
3497 * soft-fp/floatuntisf.c: Likewise.
3498 * soft-fp/floatuntitf.c: Likewise.
3499 * soft-fp/fmadf4.c: Likewise.
3500 * soft-fp/fmasf4.c: Likewise.
3501 * soft-fp/fmatf4.c: Likewise.
3502 * soft-fp/gedf2.c: Likewise.
3503 * soft-fp/gesf2.c: Likewise.
3504 * soft-fp/getf2.c: Likewise.
3505 * soft-fp/ledf2.c: Likewise.
3506 * soft-fp/lesf2.c: Likewise.
3507 * soft-fp/letf2.c: Likewise.
3508 * soft-fp/muldf3.c: Likewise.
3509 * soft-fp/mulsf3.c: Likewise.
3510 * soft-fp/multf3.c: Likewise.
3511 * soft-fp/negdf2.c: Likewise.
3512 * soft-fp/negsf2.c: Likewise.
3513 * soft-fp/negtf2.c: Likewise.
3514 * soft-fp/op-1.h: Likewise.
3515 * soft-fp/op-2.h: Likewise.
3516 * soft-fp/op-4.h: Likewise.
3517 * soft-fp/op-8.h: Likewise.
3518 * soft-fp/op-common.h: Likewise.
3519 * soft-fp/quad.h: Likewise.
3520 * soft-fp/single.h: Likewise.
3521 * soft-fp/soft-fp.h: Likewise.
3522 * soft-fp/sqrtdf2.c: Likewise.
3523 * soft-fp/sqrtsf2.c: Likewise.
3524 * soft-fp/sqrttf2.c: Likewise.
3525 * soft-fp/subdf3.c: Likewise.
3526 * soft-fp/subsf3.c: Likewise.
3527 * soft-fp/subtf3.c: Likewise.
3528 * soft-fp/truncdfsf2.c: Likewise.
3529 * soft-fp/trunctfdf2.c: Likewise.
3530 * soft-fp/trunctfsf2.c: Likewise.
3531 * soft-fp/trunctfxf2.c: Likewise.
3532 * soft-fp/unorddf2.c: Likewise.
3533 * soft-fp/unordsf2.c: Likewise.
3534 * soft-fp/unordtf2.c: Likewise.
3536 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3539 * misc/error.c (error_tail): Fix possible buffer overflow.
3541 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3544 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3547 2013-10-14 P. J. McDermott <pj@pehjota.net>
3550 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3551 testing pipefail option.
3553 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3555 * soft-fp/double.h: Indent preprocessor directives inside #if.
3556 * soft-fp/extended.h: Likewise.
3557 * soft-fp/op-2.h: Likewise.
3558 * soft-fp/op-4.h: Likewise.
3559 * soft-fp/op-common.h: Likewise.
3560 * soft-fp/quad.h: Likewise.
3561 * soft-fp/single.h: Likewise.
3562 * soft-fp/soft-fp.h: Likewise.
3564 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3566 * iconv/iconv_prog.c: Fix typos.
3567 * stdio-common/psiginfo-data.h: Likewise.
3569 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3572 * locale/setlocale.c: Fix typo.
3574 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3577 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3578 signaling NaN arguments.
3579 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3580 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3583 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3585 * soft-fp/gesf2.c (__gesf2): Likewise.
3586 * soft-fp/getf2.c (__getf2): Likewise.
3587 * soft-fp/ledf2.c (__ledf2): Likewise.
3588 * soft-fp/lesf2.c (__lesf2): Likewise.
3589 * soft-fp/letf2.c (__letf2): Likewise.
3591 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3592 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3593 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3594 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3595 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3596 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3597 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3598 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3599 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3600 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3601 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3602 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3603 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3604 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3605 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3606 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3607 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3608 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3609 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3610 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3611 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3612 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3613 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3614 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3615 * soft-fp/floattidf.c (__floattidf): Likewise.
3616 * soft-fp/floattisf.c (__floattisf): Likewise.
3617 * soft-fp/floattitf.c (__floattitf): Likewise.
3618 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3619 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3620 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3621 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3622 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3623 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3624 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3625 * soft-fp/gesf2.c (__gesf2): Likewise.
3626 * soft-fp/getf2.c (__getf2): Likewise.
3627 * soft-fp/ledf2.c (__ledf2): Likewise.
3628 * soft-fp/lesf2.c (__lesf2): Likewise.
3629 * soft-fp/letf2.c (__letf2): Likewise.
3631 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3632 Undefine and redefine.
3633 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3634 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3635 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3636 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3637 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3638 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3639 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3640 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3641 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3642 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3643 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3644 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3645 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3646 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3647 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3650 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3651 without decrementing exponent if mantissa >= that for the
3653 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3654 denominator, not >. Decrement exponent in < case instead of
3655 incrementing in >= case.
3656 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3657 without decrementing exponent if mantissa >= that for the
3660 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3661 computing saturated result for unsigned overflow.
3663 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3664 Jeff Law <law@redhat.com>
3666 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3667 (atan2Mp): Add systemtap probe marker.
3668 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3669 (__ieee754_log): Add systemtap probe marker.
3670 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3671 (atanMp): Add systemtap probe marker.
3672 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3673 (tanMp): Add systemtap probe marker.
3674 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3675 (__slowexp): Add systemtap probe marker.
3676 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3677 (__slowpow): Add systemtap probe marker.
3678 * manual/probes.texi: Document probes.
3680 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3683 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3685 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3687 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3688 written to buffer but not flushed.
3689 * libio/iofwrite_u.c: Likewise.
3690 * libio/iopadn.c: Return bytes returned even if EOF was
3692 * libio/iowpadn.c: Likewise.
3693 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3694 if _IO_padn does not write the whole buffer.
3695 [!COMPILE_WPRINTF] (PAD): Likewise.
3697 2013-10-10 David S. Miller <davem@davemloft.net>
3699 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3702 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3704 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3705 instead of FSF address.
3706 * soft-fp/fixdfti.c: Likewise.
3707 * soft-fp/fixsfti.c: Likewise.
3708 * soft-fp/fixtfti.c: Likewise.
3709 * soft-fp/fixunsdfti.c: Likewise.
3710 * soft-fp/fixunssfti.c: Likewise.
3711 * soft-fp/fixunstfti.c: Likewise.
3712 * soft-fp/floattidf.c: Likewise.
3713 * soft-fp/floattisf.c: Likewise.
3714 * soft-fp/floattitf.c: Likewise.
3715 * soft-fp/floatuntidf.c: Likewise.
3716 * soft-fp/floatuntisf.c: Likewise.
3717 * soft-fp/floatuntitf.c: Likewise.
3718 * soft-fp/trunctfxf2.c: Likewise.
3720 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3721 * soft-fp/fixdfti.c: Likewise.
3722 * soft-fp/fixsfti.c: Likewise.
3723 * soft-fp/fixtfti.c: Likewise.
3724 * soft-fp/fixunsdfti.c: Likewise.
3725 * soft-fp/fixunssfti.c: Likewise.
3726 * soft-fp/fixunstfti.c: Likewise.
3727 * soft-fp/floattidf.c: Likewise.
3728 * soft-fp/floattisf.c: Likewise.
3729 * soft-fp/floattitf.c: Likewise.
3730 * soft-fp/floatuntidf.c: Likewise.
3731 * soft-fp/floatuntisf.c: Likewise.
3732 * soft-fp/floatuntitf.c: Likewise.
3733 * soft-fp/trunctfxf2.c: Likewise.
3735 2013-10-10 David S. Miller <davem@davemloft.net>
3737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3739 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3741 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3742 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3743 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3744 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3745 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3746 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3747 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3750 for NaNs before doing comparisons on argument.
3751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3754 2013-10-10 Will Newton <will.newton@linaro.org>
3756 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3757 passed to _int_memalign does not overflow.
3759 2013-10-10 Torvald Riegel <triegel@redhat.com>
3761 * scripts/bench.pl: Add include-sources directive.
3762 * benchtests/README: Update documentation.
3764 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3766 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3767 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3768 instead of FP_INIT_ROUNDMODE.
3769 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3770 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3773 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3774 copy class of input value.
3775 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3776 not handle exceptions.
3777 * soft-fp/negsf2.c (__negsf2): Likewise.
3778 * soft-fp/negtf2.c (__negtf2): Likewise.
3779 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3781 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3783 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3784 semicolon. From Linux kernel.
3786 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3788 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3790 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3793 * manual/socket.texi: Added statement about buffer
3794 for gethostbyname2_r.
3796 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3798 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3799 Use .p2align directive instead, throughout.
3800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3801 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3802 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3804 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3805 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3806 * sysdeps/x86_64/strchr.S: Likewise.
3807 * sysdeps/x86_64/strrchr.S: Likewise.
3809 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3811 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3813 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3815 * sysdeps/generic/math_private.h (__mpsin1): Remove
3817 (__mpcos1): Likewise.
3818 (__mpsin): New argument __range_reduce.
3819 (__mpcos): Likewise.
3820 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3821 (slow): Use __mpsin and __mpcos.
3828 (bsloww1): Likewise.
3829 (bsloww2): Likewise.
3832 (csloww1): Likewise.
3833 (csloww2): Likewise.
3834 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3835 range_reduce. Merge in __mpsin1.
3836 (__mpcos): Likewise.
3838 (__mpcos1): Likewise.
3840 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3842 * locale/loadlocale.c (_nl_intern_locale_data): Use
3844 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3845 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3846 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3847 obstack data is appropriately aligned.
3848 (obstack_int32_grow_fast): Likewise.
3849 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3850 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3851 (add_locale_uint32_array): Likewise.
3853 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3855 * benchtests/Makefile: Remove ARGLIST and RET variables.
3856 ($(objpfx)bench-%.c): Pass only function name to the script.
3857 * benchtests/README: Update documentation.
3858 * benchtests/acos-inputs: Add new directives.
3859 * benchtests/acosh-inputs: Likewise.
3860 * benchtests/asin-inputs: Likewise.
3861 * benchtests/asinh-inputs: Likewise.
3862 * benchtests/atan-inputs: Likewise.
3863 * benchtests/atanh-inputs: Likewise.
3864 * benchtests/cos-inputs: Likewise.
3865 * benchtests/cosh-inputs: Likewise.
3866 * benchtests/exp-inputs: Likewise.
3867 * benchtests/log-inputs: Likewise.
3868 * benchtests/pow-inputs: Likewise.
3869 * benchtests/rint-inputs: Likewise.
3870 * benchtests/sin-inputs: Likewise.
3871 * benchtests/sinh-inputs: Likewise.
3872 * benchtests/tan-inputs: Likewise.
3873 * benchtests/tanh-inputs: Likewise.
3874 * scripts/bench.pl: Add support for new directives.
3876 2013-10-07 Alan Modra <amodra@gmail.com>
3878 * README: Fix careless merge.
3880 2013-10-05 Alan Modra <amodra@gmail.com>
3882 * NEWS: Mention powerpc64le support and bugs fixed.
3883 * README: Both big-endian and little-endian powerpc64 supported.
3885 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3887 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3888 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3889 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3890 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3892 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3894 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3897 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3899 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3900 Move -mhard-float appending from
3901 ports/sysdeps/powerpc/powerpc32/Makefile.
3902 [$(with-fp) = yes] (ASFLAGS): Likewise.
3903 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3904 * sysdeps/powerpc/nofpu: Move directory from
3905 ports/sysdeps/powerpc/nofpu.
3906 * sysdeps/powerpc/soft-fp: Move directory from
3907 ports/sysdeps/powerpc/soft-fp.
3908 * sysdeps/powerpc/powerpc32/405: Move directory from
3909 ports/sysdeps/powerpc/powerpc32/405.
3910 * sysdeps/powerpc/powerpc32/440: Move directory from
3911 ports/sysdeps/powerpc/powerpc32/440.
3912 * sysdeps/powerpc/powerpc32/464: Move directory from
3913 ports/sysdeps/powerpc/powerpc32/464.
3914 * sysdeps/powerpc/powerpc32/476: Move directory from
3915 ports/sysdeps/powerpc/powerpc32/476.
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3923 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3925 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3926 * README: Update for powerpc-*-linux-gnu software floating point
3929 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3930 case to powerpc/powerpc32*.
3931 * sysdeps/unix/sysv/linux/configure: Regenerated.
3933 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3934 (_FPU_MASK_OM): Define as 0x04.
3935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3943 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3946 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3949 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3950 and setcontext_e500.
3952 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3954 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3956 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3958 * manual/threads.texi (Default Thread Attributes): Fix typo.
3960 2013-10-04 Will Newton <will.newton@linaro.org>
3962 * malloc/Makefile: Add tst-memalign.
3963 * malloc/tst-memalign.c: New file.
3965 * malloc/tst-posix_memalign.c: Add comments.
3966 (do_test): Add comments and call free on all potentially
3967 allocated pointers. Add space after cast.
3969 * malloc/tst-pvalloc.c: Add comments.
3970 (do_test): Add comments and call free on all potentially
3971 allocated pointers. Remove duplicate check for NULL pointer.
3972 Add space after cast.
3974 * malloc/tst-valloc.c: Add comments.
3975 (do_test): Add comments and call free on all potentially
3976 allocated pointers. Remove duplicate check for NULL pointer.
3977 Add space after cast.
3979 2013-10-04 Alan Modra <amodra@gmail.com>
3981 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3982 Use stdint types in rather than __attribute__((mode())).
3983 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3985 2013-10-04 Alan Modra <amodra@gmail.com>
3987 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3988 Correct handling of unaligned relocs for little-endian.
3989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3991 2013-10-04 Alan Modra <amodra@gmail.com>
3993 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3994 * configure: Regenerate.
3995 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3996 * shlib-versions: Likewise.
3998 2013-10-04 Alan Modra <amodra@gmail.com>
4000 * string/tester.c (test_memrchr): Increment reported test cycle.
4002 2013-10-04 Alan Modra <amodra@gmail.com>
4004 * string/test-memcpy.c (do_one_test): When reporting errors, print
4005 string address and don't overrun end of string.
4007 2013-10-04 Alan Modra <amodra@gmail.com>
4009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4010 insrdi. Make better use of reg selection to speed exit slightly.
4011 Schedule entry path a little better. Remove useless "are we done"
4012 checks on entry to main loop. Handle wrapping around zero address.
4013 Correct main loop count. Handle single left-over word from main
4014 loop inline rather than by using loop_small. Remove extra word
4015 case in loop_small caused by wrong loop count. Add little-endian
4017 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4018 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4020 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4021 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4022 support. Avoid rlwimi.
4023 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4025 2013-10-04 Alan Modra <amodra@gmail.com>
4027 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4029 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4030 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4031 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4032 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4033 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4034 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4036 2013-10-04 Alan Modra <amodra@gmail.com>
4038 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4039 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4041 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4043 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4044 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4045 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4046 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4047 use of regs. Use power7 mtocrf. Tidy function tails.
4049 2013-10-04 Alan Modra <amodra@gmail.com>
4051 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4052 Formatting. Consistently use rXXX register defines or rN defines.
4053 Use early exit labels that avoid restoring unused non-volatile regs.
4054 Make cr field use more consistent with rWORDn compares. Rename
4055 regs used as shift registers for unaligned loop, using rN defines
4056 for short lifetime/multiple use regs.
4057 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4059 addi 1,1,64 to pop stack frame. Simplify return value code.
4060 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4062 2013-10-04 Alan Modra <amodra@gmail.com>
4064 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4065 support. Correct typos, formatting. Optimize tail. Use insrdi
4067 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4068 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4069 little-endian support. Correct typos.
4070 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4072 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4073 in loop and entry code to keep "and." results.
4074 (strchr): Add little-endian support. Comment. Move cntlzd
4076 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4078 2013-10-04 Alan Modra <amodra@gmail.com>
4080 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4081 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4082 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4083 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4085 2013-10-04 Alan Modra <amodra@gmail.com>
4087 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4088 (rTMP): Define as r11.
4089 (strcmp): Add little-endian support. Optimise tail.
4090 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4091 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4092 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4093 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4098 2013-10-04 Alan Modra <amodra@gmail.com>
4100 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4101 little-endian support. Remove unnecessary "are we done" tests.
4102 Handle "s" wrapping around zero and extremely large "size".
4103 Correct main loop count. Handle single left-over word from main
4104 loop inline rather than by using small_loop. Correct comments.
4105 Delete "zero" tail, use "end_max" instead.
4106 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4108 2013-10-04 Alan Modra <amodra@gmail.com>
4110 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4111 support. Don't branch over align.
4112 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4113 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4114 support. Rearrange tmp reg use to suit. Comment.
4115 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4117 2013-10-04 Alan Modra <amodra@gmail.com>
4119 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4121 2013-10-04 Alan Modra <amodra@gmail.com>
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4124 conditional form of branch and link when obtaining pc.
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4127 2013-10-04 Alan Modra <amodra@gmail.com>
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4134 2013-10-04 Alan Modra <amodra@gmail.com>
4136 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4137 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4138 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4139 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4140 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4141 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4142 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4143 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4144 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4145 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4147 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4148 Alistair Popple <alistair@ozlabs.au.ibm.com>
4149 Alan Modra <amodra@gmail.com>
4152 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4153 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4154 _dl_hwcap access for little-endian.
4155 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4156 destroy vmx regs when saving unaligned.
4157 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4158 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4159 destroy vmx regs when saving unaligned.
4161 2013-10-04 Alan Modra <amodra@gmail.com>
4163 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4164 Don't use a union to pack hi/low value.
4166 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4168 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4170 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4171 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4172 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4173 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4174 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4176 2013-10-04 Alan Modra <amodra@gmail.com>
4178 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4179 constants to usual value for .cst8 section, and remove redundant
4181 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4182 constant for 0x1p52. Load little-endian words of double from
4183 correct stack offsets.
4185 2013-10-04 Alan Modra <amodra@gmail.com>
4187 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4188 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4189 words of double from correct stack offsets.
4190 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4191 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4192 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4193 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4194 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4195 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4197 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4198 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4200 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4201 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4202 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4203 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4204 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4205 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4206 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4208 2013-10-04 Alan Modra <amodra@gmail.com>
4210 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4211 64-bit int/double union.
4212 (_FPU_SETCW): Likewise.
4213 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4214 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4216 2013-10-04 Alan Modra <amodra@gmail.com>
4218 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4219 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4221 2013-10-04 Alan Modra <amodra@gmail.com>
4223 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4224 use vector int constants.
4225 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4227 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4229 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4230 array with long long.
4231 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4232 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4233 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4234 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4235 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4236 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4237 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4238 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4239 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4240 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4241 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4242 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4243 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4245 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4247 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4248 (__signbit): Likewise. Correct for little-endian.
4249 (__signbitl): Call __signbit.
4250 (lrint): Correct for little-endian.
4251 (lrintf): Call lrint.
4253 2013-10-04 Alan Modra <amodra@gmail.com>
4255 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4256 union 32-bit int array member with 64-bit int array.
4257 (t515, tm256): Double rather than long double.
4258 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4260 2013-10-04 Alan Modra <amodra@gmail.com>
4262 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4264 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4265 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4266 version of math_ldbl.h.
4268 2013-10-04 Alan Modra <amodra@gmail.com>
4270 [BZ #15734], [BZ #15735]
4271 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4272 all uses of ieee875 long double macros and unions. Simplify test
4273 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4274 ldbl_extract_mantissa value for ix,iy exponents. Properly
4275 normalize after ldbl_extract_mantissa, and don't add hidden bit
4276 already handled. Don't treat low word of ieee854 mantissa like
4277 low word of IBM long double and mask off bit when testing for
4279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4280 all uses of ieee875 long double macros and unions. Simplify tests
4281 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4282 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4283 two1022, instead use their values. Recognise that tests for large
4284 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4285 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4286 Rewrite all uses of ieee875 long double macros and unions. Simplify
4287 test for 0.0L and nan. Correct negation.
4288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4289 ieee875 long double macros and unions. Correct output for large
4290 magnitude x. Correct absolute value calculation.
4291 (__erfcl): Likewise.
4292 * math/libm-test.inc: Add tests for errors discovered in IBM long
4293 double versions of fmodl, remainderl, erfl and erfcl.
4295 2013-10-04 Alan Modra <amodra@gmail.com>
4297 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4298 all uses of ieee854 long double macros and unions. Simplify tests
4299 for long doubles that are fully specified by the high double.
4300 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4302 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4303 Remove dead code too.
4304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4305 (__ieee754_ynl): Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4309 Remove dead code too.
4310 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4319 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4320 Comment on variable precision.
4321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4324 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4328 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4330 2013-10-04 Alan Modra <amodra@gmail.com>
4332 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4334 all uses of ieee854 long double macros and unions.
4335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4342 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4348 Simplify sign and nan test too.
4349 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4351 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4355 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4357 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4358 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4359 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4364 2013-10-04 Alan Modra <amodra@gmail.com>
4366 * stdio-common/printf_size.c (__printf_size): Don't use
4367 union ieee854_long_double in fpnum union.
4368 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4369 signbit macro to retrieve sign from long double.
4370 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4371 retrieve sign from long double.
4372 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4373 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4374 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4375 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4376 * math/test-misc.c (main): Don't use union ieee854_long_double.
4378 2013-10-04 Alan Modra <amodra@gmail.com>
4381 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4382 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4383 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4384 calculation. Remove unnecessary test for denormal exponent.
4385 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4386 Correct handling of denormals. Avoid undefined shift behaviour.
4387 Correct normalisation of low mantissa when low double is denormal.
4388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4389 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4390 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4391 Correct normalisation of low mantissa. Test for overflow of high
4392 mantissa and normalise.
4393 (ldbl_nearbyint): Use more readable constant for two52.
4394 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4395 (__mpn_construct_long_double): Fix test for overflow of high
4396 mantissa and correct normalisation. Avoid undefined shift.
4398 2013-10-04 Alan Modra <amodra@gmail.com>
4400 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4401 (union ibm_extended_long_double): Define as an array of ieee754_double.
4402 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4404 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4405 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4414 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4416 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4417 page size instead of calling getpagesize.
4419 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4420 (LOCFILE_ALIGN_MASK): Likewise.
4421 (LOCFILE_ALIGN_UP): Likewise.
4422 (LOCFILE_ALIGNED_P): Likewise.
4423 * locale/programs/ld-collate.c (collate_output): Use the new
4424 macros instead of __alignof__ (int32_t).
4425 * locale/weight.h (findidx): Likewise.
4427 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4430 * manual/string.texi: Fix strncat and wcsncat.
4432 2013-10-03 Brooks Moses <bmoses@google.com>
4435 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4436 * Makerules: ...here, and adjust associated comments.
4438 2013-10-02 Will Newton <will.newton@linaro.org>
4440 * malloc/Makefile: Add tst-pvalloc.
4441 * malloc/tst-pvalloc.c: New file.
4443 2013-10-02 Will Newton <will.newton@linaro.org>
4445 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4446 improve test coverage.
4448 2013-10-02 Will Newton <will.newton@linaro.org>
4450 * malloc/Makefile: Add tst-posix_memalign.
4451 * malloc/tst-posix_memalign.c: New file.
4453 2013-10-01 Eric Blake <eblake@redhat.com>
4455 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4456 Use __THROWNL rather than __THROW on static functions.
4458 2013-09-30 Petr Machata <pmachata@redhat.com>
4460 * elf/elf.h (R_AARCH64_ABS16): New macro.
4461 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4462 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4463 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4464 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4465 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4466 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4467 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4468 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4469 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4470 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4471 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4472 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4473 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4474 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4475 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4476 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4477 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4478 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4479 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4480 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4481 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4482 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4483 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4484 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4485 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4486 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4487 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4488 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4489 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4490 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4491 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4492 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4493 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4494 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4495 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4496 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4497 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4498 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4499 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4500 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4501 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4502 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4503 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4504 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4505 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4506 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4507 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4508 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4509 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4510 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4511 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4512 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4513 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4514 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4515 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4516 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4517 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4518 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4519 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4520 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4521 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4522 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4523 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4524 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4525 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4526 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4527 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4528 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4529 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4530 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4531 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4532 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4533 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4534 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4535 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4536 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4537 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4538 (R_AARCH64_TLSDESC_LDR): Likewise.
4539 (R_AARCH64_TLSDESC_ADD): Likewise.
4540 (R_AARCH64_TLSDESC_CALL): Likewise.
4542 2013-09-30 Andreas Schwab <schwab@suse.de>
4545 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4546 the nss database lookup.
4547 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4550 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4552 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4554 2013-09-28 P. J. McDermott <pj@pehjota.net>
4556 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4557 ${Bash-specific parameter/pattern/string} parameter expansion.
4558 * sysdeps/unix/make-syscalls.sh: Likewise.
4560 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4562 * sysdeps/sh/stackguard-macros.h: New file.
4564 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4568 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4569 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4570 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4571 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4573 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4575 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4576 Fix thread ID register.
4578 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4580 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4581 [POSIX || UNIX98]: Require rather than permitting all symbols from
4583 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4584 element of struct sched_param.
4585 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4586 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4587 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4588 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4591 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4593 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4594 argument calculation.
4596 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4598 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4600 [POSIX] (pthread_attr_t): Do not require type.
4601 [POSIX] (pthread_cond_t): Likewise.
4602 [POSIX] (pthread_condattr_t): Likewise.
4603 [POSIX] (pthread_key_t): Likewise.
4604 [POSIX] (pthread_mutex_t): Likewise.
4605 [POSIX] (pthread_mutexattr_t): Likewise.
4606 [POSIX] (pthread_once_t): Likewise.
4607 [POSIX] (pthread_t): Likewise.
4608 [POSIX-based standards] (pthread_atfork): Expect function.
4610 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4611 Richard Sandiford <richard@codesourcery.com>
4613 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4614 (swap_endianness_p): New extern variable.
4615 (set_big_endian): New inline function.
4616 (maybe_swap_uint32): Likewise.
4617 (maybe_swap_uint32_array): Likewise.
4618 (maybe_swap_uint32_obstack): Likewise.
4619 * locale/programs/locfile.c: Include <stdbool.h>.
4620 (swap_endianness_p): New variable.
4621 (add_locale_uint32): Call maybe_swap_uint32.
4622 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4623 (write_locale_data): Call maybe_swap_uint32_array.
4624 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4626 (obstack_int32_grow_fast): Likewise.
4627 (output_weightwc): Call maybe_swap_uint32_obstack.
4628 (collate_output): Likewise.
4629 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4630 (OPT_LITTLE_ENDIAN): Likewise.
4631 (options): Add --little-endian and --big-endian options.
4632 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4633 * locale/programs/locarchive.c: Include "locfile.h".
4637 (create_archive): Use the new macros to access fields of
4638 structures directly mapped from or written to locale archives.
4639 (oldlocrecentcmp): Likewise.
4640 (enlarge_archive): Likewise.
4641 (insert_name): Likewise.
4642 (add_alias): Likewise.
4643 (add_locale): Likewise.
4644 (delete_locales_from_archive): Likewise.
4645 (show_archive_content): Likewise.
4646 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4649 2013-09-24 Roland McGrath <roland@hack.frob.com>
4651 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4652 http://www.gnu.org/doc/freemanuals.texi.
4653 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4655 2013-09-24 Will Newton <will.newton@linaro.org>
4657 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4660 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4662 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4665 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4667 * manual/threads.texi (POSIX Threads): Fix a typo.
4669 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4672 * string/tst-strcoll-overflow.c: New test case.
4673 * string/Makefile (xtests): Add tst-strcoll-overflow.
4674 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4675 cache if string sizes may cause integer overflow.
4678 * string/strcoll_l.c (coll_seq): New members rule, idx,
4679 save_idx and back_us.
4680 (get_next_seq_nocache): New function.
4681 (do_compare_nocache): New function.
4682 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4685 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4688 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4689 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4690 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4693 * elf/Makefile (tests): Add tst-ptrguard1.
4694 (tests-static): Add tst-ptrguard1-static.
4695 (tst-ptrguard1-ARGS): Define.
4696 (tst-ptrguard1-static-ARGS): Define.
4697 * elf/tst-ptrguard1.c: New file.
4698 * elf/tst-ptrguard1-static.c: New file.
4699 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4700 * sysdeps/i386/stackguard-macros.h: Likewise.
4701 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4702 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4703 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4704 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4705 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4706 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4708 2013-09-23 Hector Marco <hecmargi@upv.es>
4709 Ismael Ripoll <iripoll@disca.upv.es>
4710 Carlos O'Donell <carlos@redhat.com>
4713 * sysdeps/generic/stackguard-macros.h: Define
4714 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4715 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4716 Define __pointer_chk_guard_local.
4717 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4718 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4720 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4723 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4725 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4727 * include/string.h (__ffs): Declare as hidden.
4728 * string/ffs.c (__ffs): Define as hidden.
4729 * sysdeps/i386/ffs.c (__ffs): Likewise.
4730 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4731 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4732 * sysdeps/s390/ffs.c (__ffs): Likewise.
4733 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4735 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4737 * NEWS: Mention malloc probes.
4739 * malloc/arena.c (new_heap): New memory_heap_new probe.
4740 (grow_heap): New memory_heap_more probe.
4741 (shrink_heap): New memory_heap_less probe.
4742 (heap_trim): New memory_heap_free probe.
4743 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4744 (systrim): New memory_sbrk_less probe.
4745 * manual/probes.texi: Document them.
4747 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4748 * manual/probes.texi: Document it.
4750 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4751 (__libc_realloc): Add memory_realloc_retry probe.
4752 (__libc_memalign): Add memory_memalign_retry probe.
4753 (__libc_valloc): Add memory_valloc_retry probe.
4754 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4755 (__libc_calloc): Add memory_calloc_retry probe.
4756 * manual/probes.texi: Document them.
4758 * malloc/arena.c (get_free_list): Add probe
4759 memory_arena_reuse_free_list.
4760 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4761 and memory_arena_reuse.
4762 (arena_get2) [!PER_THREAD]: Likewise.
4763 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4764 memory_arena_reuse_realloc.
4765 * manual/probes.texi: Document them.
4767 * malloc/malloc.c (__libc_free): Add
4768 memory_mallopt_free_dyn_thresholds probe.
4769 (__libc_mallopt): Add multiple memory_mallopt probes.
4770 * manual/probes.texi: Document them.
4772 * malloc/malloc.c: Include stap-probe.h.
4773 (__libc_mallopt): Add memory_mallopt probe.
4774 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4775 * manual/probes.texi: New.
4776 * manual/Makefile (chapters): Add probes.
4777 * manual/threads.texi: Set next node.
4779 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4782 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4783 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4784 Add `Chinese' to `nan' entry name.
4786 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4788 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4789 (POLYNOMIAL): Likewise.
4790 (TAYLOR_SINCOS): Likewise.
4791 (TAYLOR_SLOW): Likewise.
4792 (__sin): Use TAYLOR_SINCOS.
4794 (slow): Use TAYLOR_SLOW.
4799 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4801 * stdlib/strtod_l.c: Fix buffer overrun.
4803 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4805 * benchtests/Makefile (bench): Add sincos.
4806 * benchtests/bench-sincos.c: New file.
4808 * math/libm-test.inc (cos_test_data): New test inputs.
4809 (sin_test_data): Likewise.
4811 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4819 (bsloww1): Likewise.
4820 (bsloww2): Likewise.
4822 (csloww1): Likewise.
4823 (csloww2): Likewise.
4825 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4830 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4834 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4836 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4837 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4838 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4839 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4840 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4841 * elf/cache.c (print_entry): Handle the new cache flags.
4843 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4844 Aldy Hernandez <aldyh@redhat.com>
4846 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4847 Change condition to [_SOFT_FLOAT].
4848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4860 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4863 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4866 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4868 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4869 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4870 (__longjmp): Use LOAD_GP to load saved GPRs.
4871 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4872 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4873 (__sigsetjmp): Use SAVE_GP to save GPRs.
4875 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4876 Do not append -msoft-float.
4877 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4879 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4881 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4883 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4886 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4887 (_FPU_GETCW): Use initial "__" on variable and field names but not
4888 on macro parameter name.
4889 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4890 parentheses around reference to macro parameter.
4892 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4894 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4896 (ctype_startup): Use uint32_t in cast and sizeof for
4899 2013-09-11 Jia Liu <proljc@gmail.com>
4901 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4903 [__FreeBSD__]: Likewise.
4905 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4908 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4909 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4910 (strchr): Remove __strchr_sse42 ifunc selection.
4911 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4912 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4914 2013-09-11 Will Newton <will.newton@linaro.org>
4916 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4917 parameter to RES. Remove hardcoded 1000 value.
4918 * benchtests/bench-skeleton.c (main): Pass RES parameter
4919 to TIMING_INIT and multiply result by 1000.
4921 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4925 2013-09-11 Andreas Schwab <schwab@suse.de>
4927 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4929 (O_TMPFILE) [__USE_GNU]: Define.
4930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4933 2013-09-11 Will Newton <will.newton@linaro.org>
4936 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4939 2013-09-11 Will Newton <will.newton@linaro.org>
4942 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4945 2013-09-11 Will Newton <will.newton@linaro.org>
4948 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4951 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4953 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4954 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4959 2013-09-10 Allan McRae <allan@archlinux.org>
4962 * manual/arith.texi (Parsing of Floats): Clarify
4966 * manual/install.texi (Running make install): Mention
4968 * INSTALL: Regenerated.
4970 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4972 * csu/init-first.c (_init): Remove the !SHARED condition around
4973 FPU control word initialization.
4974 * elf/dl-support.c (_dl_fpu_control): New variable.
4975 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4976 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4977 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4978 * math/test-fpucw-static.c: New file.
4979 * math/test-fpucw-ieee.c: New file.
4980 * math/test-fpucw-ieee-static.c: New file.
4981 * math/Makefile (tests): Add `test-fpucw-ieee' and
4983 (tests-static): New variable.
4984 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4986 [($(build-shared),yes)]
4987 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4989 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4992 2013-09-09 Allan McRae <allan@archlinux.org>
4995 * manual/string.texi (Collation Functions): Fix typo in
4997 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5000 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5003 * libio/memstream.c (open_memstream): Fix memory leak.
5004 * libio/wmemstream.c (open_wmemstream): Likewise.
5007 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5009 2013-09-09 Will Newton <will.newton@linaro.org>
5011 * malloc/Makefile: Add tst-realloc to tests.
5012 * malloc/tst-realloc.c: New file.
5014 2013-09-09 Allan McRae <allan@archlinux.org>
5017 * COPYING: Update from GNU website to fix FSF address.
5018 * COPYING.LIB: Likewise.
5020 2013-09-06 David S. Miller <davem@davemloft.net>
5022 * po/zh_TW.po: Update Chinese (traditional) translation from
5023 translation project.
5025 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5026 Joseph Myers <joseph@codesourcery.com>
5028 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5030 (obstack_chunk_alloc): New macro.
5031 (obstack_chunk_free): Likewise.
5032 (record_offset): New function.
5033 (init_locale_data): Likewise.
5034 (align_locale_data): Likewise.
5035 (add_locale_empty): Likewise.
5036 (add_locale_raw_data): Likewise.
5037 (add_locale_raw_obstack): Likewise.
5038 (add_locale_string): Likewise.
5039 (add_locale_wstring): Likewise.
5040 (add_locale_uint32): Likewise.
5041 (add_locale_uint32_array): Likewise.
5042 (add_locale_char): Likewise.
5043 (start_locale_structure): Likewise.
5044 (end_locale_structure): Likewise.
5045 (start_locale_prelude): Likewise.
5046 (end_locale_prelude): Likewise.
5047 (write_locale_data): Take locale_file structure rather than an
5049 * locale/programs/locfile.h: Include "obstack.h".
5050 (struct locale_file): Change to store locale file contents instead
5052 (init_locale_data): New prototype.
5053 (align_locale_data): Likewise.
5054 (add_locale_empty): Likewise.
5055 (add_locale_raw_data): Likewise.
5056 (add_locale_raw_obstack): Likewise.
5057 (add_locale_string): Likewise.
5058 (add_locale_wstring): Likewise.
5059 (add_locale_uint32): Likewise.
5060 (add_locale_uint32_array): Likewise.
5061 (add_locale_char): Likewise.
5062 (start_locale_structure): Likewise.
5063 (end_locale_structure): Likewise.
5064 (start_locale_prelude): Likewise.
5065 (end_locale_prelude): Likewise.
5066 (write_locale_data): Update prototype.
5067 * locale/programs/3level.h (struct TABLE): Remove result field.
5068 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5069 Use new locale_file interface.
5070 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5071 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5072 * locale/programs/ld-address.c (address_output): Use new
5073 locale_file interface.
5074 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5076 (collate_finish): Don't call collseq_table_finalize.
5077 (collate_output): Use new locale_file interface.
5078 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5080 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5081 (TABLE): Move defines earlier in file.
5082 (ELEMENT): Likewise.
5083 (DEFAULT): Likewise.
5084 (wctrans_table_add): Move macro and inline function earlier in
5086 (struct wctype_table): Move type earlier in file.
5087 (add_locale_wctype_table): New static prototype.
5088 (struct locale_ctype_t): Use logical types instead of struct iovec
5089 pointers for members.
5090 (ctype_output): Use new locale_file interface.
5091 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5092 new locale_file interface.
5093 (allocate_arrays): Update for use of new locale_file interface.
5094 * locale/programs/ld-identification.c (identification_output): Use
5095 new locale_file interface.
5096 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5097 * locale/programs/ld-messages.c (messages_output): Likewise.
5098 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5099 * locale/programs/ld-name.c (name_output): Likewise.
5100 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5101 * locale/programs/ld-paper.c (paper_output): Likewise.
5102 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5103 * locale/programs/ld-time.c (time_output): Likewise.
5105 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5107 * benchtests/Makefile: Add memrchr benchmark.
5108 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5109 benchmark as memrchr.
5110 * benchtests/bench-memrchr-ifunc.c: New file.
5111 * benchtests/bench-memrchr.c: New file.
5113 2013-09-06 Will Newton <will.newton@linaro.org>
5115 * benchtests/Makefile (string-bench): Add memcpy.
5117 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5118 Cong Wang <amwang@redhat.com>
5120 * sysdeps/unix/sysv/linux/bits/in.h
5121 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5122 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5123 before __USE_KERNEL_IPV6_DEFS uses.
5124 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5126 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5127 sockaddr_in6, or ipv6_mreq.
5129 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5131 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5132 memory access for final bytes in some large inputs.
5133 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5135 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137 * string/test-memrchr.c: New file.
5138 * string/test-memrchr-ifunc.c: New file.
5139 * string/Makefile: Add new memrchr testcase.
5141 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5143 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5144 fanotify_init returns EPERM.
5146 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5148 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5150 (top level): Treat second token from macro or constant entries for
5151 allowed headers as allowed.
5152 * include/complex.h: Condition internal declarations on
5154 * include/fenv.h: Condition include of <stdbool.h> and internal
5155 declarations on [!_ISOMAC].
5157 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5160 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5162 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5164 * configure.in (--enable-versioning): Remove configure option.
5165 (libc_cv_asm_symver_directive): Remove configure test.
5166 (libc_cv_ld_version_script_option): Likewise.
5167 (VERSIONING): Remove variable and AC_SUBST.
5168 (DO_VERSIONING): Remove AC_DEFINE.
5169 * configure: Regenerated.
5170 * config.h.in (DO_VERSIONING): Remove macro.
5171 * Makerules [$(versioning) = yes]: Change conditionals to
5172 [$(build-shared) = yes].
5173 * config.make.in (versioning): Remove variable.
5174 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5175 [$(build-shared) = yes].
5176 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5177 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5178 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5179 [$(build-shared) = yes].
5180 * extra-lib.mk [$(versioning) = yes]: Likewise.
5181 * hurd/Makefile [$(versioning) = yes]: Likewise.
5182 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5184 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5186 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5187 [SHARED && !NO_HIDDEN].
5188 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5190 [SHARED && DO_VERSIONING]: Likewise..
5191 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5192 [$(build-shared) = yes].
5193 * manual/install.texi (--disable-versioning): Remove
5195 * INSTALL: Regenerated.
5196 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5198 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5199 [$(build-shared) = yes].
5200 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5201 * sysdeps/i386/i686/multiarch/strstr-c.c
5202 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5203 [SHARED && !NO_HIDDEN].
5204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5205 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5206 * sysdeps/powerpc/powerpc32/dl-machine.c
5207 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5208 * sysdeps/powerpc/powerpc32/sysdep.h
5209 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5210 to [SHARED && PIC && !NO_HIDDEN].
5211 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5212 conditional to [SHARED].
5214 2013-09-04 Will Newton <will.newton@linaro.org>
5216 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5217 * benchtests/bench-string.h: Include bench-timing.h instead
5218 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5219 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5220 call to HP_TIMING_DIFF_INIT.
5221 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5222 instead of hp-timing.h macros.
5223 * benchtests/bench-memchr.c: Likewise.
5224 * benchtests/bench-memcmp.c: Likewise.
5225 * benchtests/bench-memcpy.c: Likewise.
5226 * benchtests/bench-memmem.c: Likewise.
5227 * benchtests/bench-memmove.c: Likewise.
5228 * benchtests/bench-memset.c: Likewise.
5229 * benchtests/bench-rawmemchr.c: Likewise.
5230 * benchtests/bench-strcasecmp.c: Likewise.
5231 * benchtests/bench-strcasestr.c: Likewise.
5232 * benchtests/bench-strcat.c: Likewise.
5233 * benchtests/bench-strchr.c: Likewise.
5234 * benchtests/bench-strcmp.c: Likewise.
5235 * benchtests/bench-strcpy.c: Likewise.
5236 * benchtests/bench-strcpy_chk.c: Likewise.
5237 * benchtests/bench-strlen.c: Likewise.
5238 * benchtests/bench-strncasecmp.c: Likewise.
5239 * benchtests/bench-strncat.c: Likewise.
5240 * benchtests/bench-strncmp.c: Likewise.
5241 * benchtests/bench-strncpy.c: Likewise.
5242 * benchtests/bench-strnlen.c: Likewise.
5243 * benchtests/bench-strpbrk.c: Likewise.
5244 * benchtests/bench-strrchr.c: Likewise.
5245 * benchtests/bench-strspn.c: Likewise.
5246 * benchtests/bench-strstr.c: Likewise.
5248 2013-09-04 Will Newton <will.newton@linaro.org>
5250 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5252 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5256 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5257 * math/libm-test.inc (lgamma_test_data): Add more tests.
5258 * sysdeps/i386/fpu/libm-test-ulps: Update.
5259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5261 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5263 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5267 Add strcmp-sse2-unaligned
5268 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5270 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5272 * Versions.def (libc): Add GLIBC_2.19.
5274 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5276 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5277 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5279 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5283 intermediate calculations in recurrence.
5284 (__ieee754_ynf): Likewise.
5285 * math/libm-test.inc (jn_test_data): Do not allow spurious
5286 underflow exception. Add more tests.
5287 (yn_test_data): Add more tests.
5288 * sysdeps/i386/fpu/libm-test-ulps: Update.
5289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5295 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5297 * csu/init-first.c: Fix then/than typos.
5298 * locale/programs/ld-collate.c: Likewise.
5299 * locale/programs/linereader.h: Likewise.
5300 * manual/charset.texi: Likewise.
5301 * manual/filesys.texi: Likewise.
5302 * manual/stdio.texi: Likewise.
5303 * manual/string.texi: Likewise.
5304 * stdlib/fmtmsg.c: Likewise.
5305 * sysdeps/i386/stpncpy.S: Likewise.
5306 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5307 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5308 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5309 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5311 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5313 * elf/dl-open.c: Fix typos.
5314 * iconvdata/gbbig5.c: Likewise.
5315 * iconvdata/iso-2022-jp.c: Likewise.
5316 * iconv/gconv_int.h: Likewise.
5317 * iconv/loop.c: Likewise.
5318 * nis/rpcsvc/nis.h: Likewise.
5319 * resolv/ns_name.c: Likewise.
5320 * stdio-common/vfscanf.c: Likewise.
5321 * streams/stropts.h: Likewise.
5322 * sunrpc/rpc_thread.c: Likewise.
5323 * sysdeps/i386/strpbrk.S: Likewise.
5324 * sysdeps/ieee754/k_standard.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5327 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5328 * sysdeps/mach/hurd/profil.c: Likewise.
5329 * sysdeps/s390/dl-procinfo.h: Likewise.
5330 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5331 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5332 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5333 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5334 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5336 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5338 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5341 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5343 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5345 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5347 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5348 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5349 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5350 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5351 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5352 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5354 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5355 Roland McGrath <roland@hack.frob.com>
5357 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5358 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5360 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5362 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5363 __executable_start symbol instead of _start.
5365 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5367 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5368 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5370 * sysdeps/gnu/ldsodefs.h: ... this new file.
5372 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5373 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5374 instead of ELFOSABI_LINUX.
5376 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5377 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5378 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5379 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5381 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5382 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5383 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5385 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5386 (ibm_extended_long_double): Add ieee_nan member.
5387 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5388 (do_test): New function.
5390 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5392 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5393 functions, renamed from truncdfsf_test, trunctfsf_test,
5395 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5397 (do_test): Run all these.
5399 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5401 * argp/argp-help.c: Fix typos.
5402 * argp/argp-parse.c: Likewise.
5403 * debug/backtracesyms.c: Likewise.
5404 * elf/elf.h: Likewise.
5405 * malloc/malloc.c: Likewise.
5406 * nis/nis_print.c: Likewise.
5407 * resolv/res_comp.c: Likewise.
5408 * stdlib/stdlib.h: Likewise.
5409 * sunrpc/clnt_tcp.c: Likewise.
5410 * sunrpc/clnt_udp.c: Likewise.
5411 * sunrpc/clnt_unix.c: Likewise.
5412 * sysdeps/unix/bsd/ptsname.c: Likewise.
5413 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5414 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5421 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5423 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5425 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5428 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5431 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5432 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5433 ($(objpfx)bug-dl-leaf): New rule.
5434 ($(objpfx)bug-dl-leaf.so): Likewise.
5435 ($(objpfx)bug-dl-leaf.out): Likewise.
5436 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5437 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5438 * dlfcn/bug-dl-leaf.c: New test.
5439 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5440 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5441 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5442 (dlclose): Likewise.
5443 (dlmopen): Likewise.
5445 2013-08-27 Roland McGrath <roland@hack.frob.com>
5447 * include/netdb.h [!_ISOMAC]:
5448 Don't include <tls.h>.
5449 (h_errno, __libc_h_errno): Move declaration and macros out of
5452 * include/resolv.h [_RESOLV_H_]:
5453 Don't include <tls.h>.
5454 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5455 * resolv/res_libc.c: Don't include <tls.h>.
5456 (_res): Use __attribute__ ((nocommon)) in place of
5457 __attribute__ ((section (".bss"))).
5459 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5460 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5462 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5464 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5465 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5467 * resolv/res_mkquery.c: Include <sys/time.h>.
5469 * inet/ifreq.c: Moved to ...
5470 * sysdeps/unix/ifreq.c: ... here.
5471 * inet/ifreq.c: New file, true stub version.
5473 * socket/sa_len.c: New file.
5474 * socket/Makefile (aux): Add it.
5475 * sysdeps/unix/sysv/linux/Makefile
5476 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5477 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5478 and #include <socket/sa_len.c>.
5479 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5480 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5483 * bits/socket.h: ... here.
5485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5486 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5487 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5489 2013-08-27 Andreas Schwab <schwab@suse.de>
5492 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5493 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5494 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5495 * string/test-strcasecmp.c (test_main): Run tests in several
5497 * string/test-strncasecmp.c (test_main): Likewise.
5499 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5500 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5501 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5502 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5503 (__strncasecmp_ssse3) [PIC]: Likewise.
5505 2013-08-26 Roland McGrath <roland@hack.frob.com>
5507 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5509 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5510 instead of explicitly declaring xdecrypt.
5511 * nis/nss_nis/nis-publickey.c: Likewise.
5513 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5516 * nscd/aicache.c: Include res_hconf.h.
5517 (addhstaiX): Initialize res_hconf.
5519 2013-08-26 Andreas Schwab <schwab@suse.de>
5521 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5522 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5524 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5526 * nscd/aicache.c (addhstaiX): Fix indentation.
5528 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5530 * configure.ac: Quote $build_pt_chown test.
5531 * configure: Regenerated.
5533 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5536 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5537 * math/s_cexpf.c (__cexpf): Likewise.
5538 * math/s_cexpl.c (__cexpl): Likewise.
5539 * math/libm-test.inc (cexp_test_data): Correct expected return
5540 value for NaN + i0. Add another test.
5542 2013-08-22 David S. Miller <davem@davemloft.net>
5544 * po/ca.po: Update Catalan translation from translation project.
5545 * po/uk.po: Add Ukrainian translations from translation project.
5547 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5550 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5551 is infinite, not alongside NaN test.
5552 * math/s_fdimf.c (__fdimf): Likewise.
5553 * math/s_fdiml.c (__fdiml): Likewise.
5554 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5557 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5559 * argp/argp-help.c: Fix typos.
5560 * crypt/speeds.c: Likewise.
5561 * csu/check_fds.c: Likewise.
5562 * elf/dl-load.c: Likewise.
5563 * elf/dl-open.c: Likewise.
5564 * elf/reldep3.c: Likewise.
5565 * elf/reldep.c: Likewise.
5566 * elf/sprof.c: Likewise.
5567 * iconv/iconv_charmap.c: Likewise.
5568 * iconv/skeleton.c: Likewise.
5569 * iconv/strtab.c: Likewise.
5570 * io/lockf64.c: Likewise.
5571 * libio/libioP.h: Likewise.
5572 * resolv/gai_notify.c: Likewise.
5573 * resolv/ns_name.c: Likewise.
5574 * resolv/ns_samedomain.c: Likewise.
5575 * resolv/res_send.c: Likewise.
5576 * stdlib/random.c: Likewise.
5577 * sunrpc/rpc/xdr.h: Likewise.
5578 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5579 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5580 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5581 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5582 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5583 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5585 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5586 * sysdeps/mach/hurd/check_fds.c: Likewise.
5587 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5588 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5589 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5590 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5591 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5592 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5593 * sysdeps/pthread/aio_notify.c: Likewise.
5594 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5595 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5596 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5597 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5598 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5600 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5602 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5603 version if bit_Slow_SSE4_2 is set.
5604 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5605 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5607 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5610 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5611 trampoline stack frame information.
5612 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5613 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5614 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5615 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5616 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5617 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5618 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5619 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5621 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5622 interrupting a syscall and set with option SA_SIGINFO.
5624 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5627 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5628 argument is infinite.
5629 * math/s_cprojf.c (__cprojf): Likewise.
5630 * math/s_cprojl.c (__cprojl): Likewise.
5631 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5632 * math/libm-test.inc (cproj_test_data): Add more tests.
5634 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5636 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5637 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5638 size. Use __ffs to determine corresponding shift.
5640 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5641 Roland McGrath <roland@hack.frob.com>
5643 * Makefile (INSTALL): Remove trailing blank lines from output of
5646 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5648 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5649 Align 32 bit compat elf_greg to 8 bytes.
5651 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5653 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5655 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5657 * string/strcoll_l.c (coll_seq): New structure.
5658 (get_next_seq_cached): New function.
5659 (get_next_seq): New function.
5660 (do_compare): New function.
5661 (STRCOLL): Use GNU style definition. Simplify implementation
5662 by using get_next_seq, get_next_seq_cached and do_compare.
5664 2013-08-16 Florian Weimer <fweimer@redhat.com>
5668 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5670 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5672 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5673 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5674 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5676 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5677 GETDENTS_64BIT_ALIGNED.
5678 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5679 * manual/filesys.texi (Reading/Closing Directory): Document
5680 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5682 * manual/conf.texi (Limits for Files): Add portability note to
5684 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5686 2013-08-13 Andreas Schwab <schwab@suse.de>
5689 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5691 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5692 LDBL_MAX_EXP >= 16384]: Add tests for it.
5694 2013-08-12 David S. Miller <davem@davemloft.net>
5696 * version.h (RELEASE): Set to "development".
5697 (VERSION): Set to "2.18.90".
5698 * NEWS: Add 2.19 section.
5700 2013-08-03 David S. Miller <davem@davemloft.net>
5702 * po/ko.po: Update Korean translation from translation project.
5704 2013-08-01 David S. Miller <davem@davemloft.net>
5706 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5707 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5710 2013-07-30 David S. Miller <davem@davemloft.net>
5712 * po/fr.po: Update French translation from translation project.
5714 2013-07-28 David S. Miller <davem@davemloft.net>
5716 * po/cs.po: Update Czech translation from translation project.
5718 * po/sv.po: Update Swedish translation from translation project.
5720 2013-07-27 David S. Miller <davem@davemloft.net>
5722 * po/eo.po: Update Esperanto translation from translation project.
5724 * po/vi.po: Update Vietnamese translation from translation project.
5726 * po/de.po: Update German translation from translation project.
5728 2013-07-26 David S. Miller <davem@davemloft.net>
5730 * po/bg.po: Update Bulgarian translation from translation project.
5732 * po/nl.po: Update Dutch translation from translation project.
5733 * po/pl.po: Update Polish translation from translation project.
5734 * po/ru.po: Update Russian translation from translation project.
5736 2013-07-24 David S. Miller <davem@davemloft.net>
5738 * po/libc.pot: Update.
5740 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5742 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5744 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5745 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5746 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5748 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5750 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5752 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5753 Andreas Schwab <schwab@suse.de>
5754 Roland McGrath <roland@hack.frob.com>
5755 Joseph Myers <joseph@codesourcery.com>
5756 Carlos O'Donell <carlos@redhat.com>
5759 * config.h.in: Define HAVE_PT_CHOWN.
5760 * config.make.in (build-pt-chown): New variable.
5761 * configure.in (--enable-pt_chown): New configure option.
5762 * configure: Regenerate.
5763 * login/Makefile: Include Makeconfig. Build pt_chown only if
5764 build-pt-chown is enabled.
5765 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5766 pt_chown to fix pty ownership.
5767 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5769 * manual/install.texi (Configuring and compiling): Mention
5770 --enable-pt_chown. Add @findex for grantpt.
5771 * INSTALL: Regenerate.
5773 2013-07-20 David S. Miller <davem@davemloft.net>
5775 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5776 difference between 32-bit and 64-bit.
5778 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5781 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5782 Avoid system header dependency with -ffreestanding.
5783 ($(objpfx)bits/syscall%d): Likewise.
5785 2013-07-13 David S. Miller <davem@davemloft.net>
5787 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5788 underflows from atanl/atan2l due to bug 15319.
5789 (casinh_test_data): Likewise.
5791 2013-07-07 David S. Miller <davem@davemloft.net>
5793 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5795 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5797 * sysdeps/i386/fpu/libm-test-ulps: Update.
5798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5800 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5802 * configure.in (--enable-lock-elision): Fix message text.
5803 * INSTALL: Regenerate.
5804 * configure: Regenerate.
5806 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5810 2013-07-03 Andreas Jaeger <aj@suse.de>
5812 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5814 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5815 (ptrace_peeksiginfo_args): Add.
5816 (__ptrace_peeksiginfo_flags): Add.
5817 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5819 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5821 2013-07-03 Allan McRae <allan@archlinux.org>
5823 * sysdeps/i386/fpu/libm-test-ulps: Update.
5825 2013-07-02 David S. Miller <davem@davemloft.net>
5827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5829 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5833 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5835 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5838 2013-07-02 Andi Kleen <ak@linux.intel.com>
5840 * config.h.in (ENABLE_LOCK_ELISION): Add.
5841 * configure.in (--enable-lock-elision): Add option.
5842 * manual/install.texi: Document --enable lock elision.
5843 * configure: Regenerate
5844 * INSTALL: Regenerate.
5846 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5848 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5849 SSE4.2 strcasecmp for libc.a.
5850 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5852 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5855 * soft-fp/op-common.h (_FP_FMA): New macro.
5856 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5857 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5858 (_FP_MUL_MEAT_1_imm): ... here.
5859 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5860 (_FP_MUL_MEAT_1_wide): ... here.
5861 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5862 (_FP_MUL_MEAT_1_hard): ... here.
5863 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5864 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5865 (_FP_MUL_MEAT_2_wide): ... here.
5866 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5867 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5868 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5869 (_FP_MUL_MEAT_2_gmp): ... here.
5870 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5871 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5872 (_FP_MUL_MEAT_4_wide): ... here.
5873 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5874 (_FP_MUL_MEAT_4_gmp): ... here.
5875 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5876 (_FP_WFRACBITS_DW_S): Likewise.
5877 (_FP_WFRACXBITS_DW_S): Likewise.
5878 (_FP_HIGHBIT_DW_S): Likewise.
5879 (FP_FMA_S): Likewise.
5880 (_FP_FRAC_HIGH_DW_S): Likewise.
5881 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5882 (_FP_WFRACBITS_DW_D): Likewise.
5883 (_FP_WFRACXBITS_DW_D): Likewise.
5884 (_FP_HIGHBIT_DW_D): Likewise.
5885 (FP_FMA_D): Likewise.
5886 (_FP_FRAC_HIGH_DW_D): Likewise.
5887 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5888 (_FP_WFRACBITS_DW_E): Likewise.
5889 (_FP_WFRACXBITS_DW_E): Likewise.
5890 (_FP_HIGHBIT_DW_E): Likewise.
5891 (FP_FMA_E): Likewise.
5892 (_FP_FRAC_HIGH_DW_E): Likewise.
5893 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5894 (_FP_WFRACBITS_DW_Q): Likewise.
5895 (_FP_WFRACXBITS_DW_Q): Likewise.
5896 (_FP_HIGHBIT_DW_Q): Likewise.
5897 (FP_FMA_Q): Likewise.
5898 (_FP_FRAC_HIGH_DW_Q): Likewise.
5899 * soft-fp/fmasf4.c: New file.
5900 * soft-fp/fmadf4.c: Likewise.
5901 * soft-fp/fmatf4.c: Likewise.
5903 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5906 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5910 (index_Slow_SSE4_2): Likewise.
5911 (index_Prefer_PMINUB_for_stringop): Likewise.
5912 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5913 bit_Slow_SSE4_2 is set.
5914 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5915 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5917 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5919 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5920 rtld_global._dl_hwcap2.
5921 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5923 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5924 POWER8 feature descriptions defined in _dl_hwcap2.
5925 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5926 string handling for POWER8 feature bits.
5927 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5928 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5929 _dl_powerpc_cap_flags.
5930 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5931 * sysdeps/powerpc/rtld-global-offsets.sym
5932 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5933 _dl_hwcap2 in the rtld_global_ro structure.
5935 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5937 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5938 hardware capabilities in support of AT_HWCAP2.
5939 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5940 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5942 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5943 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5944 explicitly the unknown a_type display mechanism is used.
5945 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5946 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5948 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5949 to macro prototype for AT_HWCAP2 support.
5950 * sysdeps/i386/dl-procinfo.h: Likewise.
5951 * sysdeps/s390/dl-procinfo.h: Likewise.
5952 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5953 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5954 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5955 return -1 for unknown a_type display fallback.
5956 * sysdeps/sparc/dl-procinfo.h: Likewise.
5957 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5958 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5960 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5962 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5963 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5965 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5968 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5969 mprotect making __stack_prot writable.
5971 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5972 Joseph Myers <joseph@codesourcery.com>
5974 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5975 as being properly aligned.
5977 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5979 * dlfcn/modstatic5.c: New file.
5980 * dlfcn/tststatic5.c: New file.
5981 * dlfcn/Makefile (tests): Add tststatic5.
5982 (tests-static): Likewise.
5983 (modules-names): Add modstatic5.
5984 (tststatic5-ENV): New variable.
5985 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5988 * elf/dl-support.c (_dl_main_map): New variable.
5989 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5990 (_dl_nns, _dl_load_adds): Set to 1.
5991 (_dl_initial_searchlist): Refer to _dl_main_map.
5992 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5993 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5994 call to _dl_get_origin.
5995 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5997 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5998 * dlfcn/modstatic3.c: New file.
5999 * dlfcn/tststatic3.c: New file.
6000 * dlfcn/tststatic4.c: New file.
6001 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6002 (tests-static): Likewise.
6003 (modules-names): Add modstatic3.
6004 (tststatic3-ENV, tststatic4-ENV): New variables.
6005 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6006 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6008 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6010 * configure.in (CC): Require GCC version 4.4 or later.
6011 * configure: Regenerated.
6012 * manual/install.texi (Tools for Compilation): Update GCC version
6014 * INSTALL: Regenerated.
6016 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6019 * string/test-memcmp.c (check2): New.
6020 (main): Call check2.
6022 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6024 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6027 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6029 (dl_open_worker) [!SHARED]: ... here.
6031 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6033 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6035 2013-06-25 Richard Henderson <rth@redhat.com>
6037 * locale/programs/locarchive.c: Include <libc-internal.h>
6039 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6041 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6042 trailing whitespace removed.
6044 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6047 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6048 * locale/programs/locarchive.c: Include libc-mmap.h.
6049 (prepare_address_space): Take two new outputs (the mmap base and len).
6050 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6052 (create_archive): Declare new mmap base and len values for
6053 prepare_address_space, and store the result in ah.
6054 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6055 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6056 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6057 Declare new mmap base and len values for
6058 prepare_address_space, and store the result in new_ah.
6059 (open_archive): Declare new mmap base and len values for
6060 prepare_address_space, and store the result in ah.
6061 (close_archive): If ah->mmap_base is not NULL, use that and
6062 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6063 * sysdeps/generic/libc-mmap.h: New file.
6065 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6067 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6068 (ALIGN_UP): Likewise.
6069 (PTR_ALIGN_DOWN): Likewise.
6070 (PTR_ALIGN_UP): Likewise.
6072 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6074 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6075 entry mapped to PPC_PLATFORM_POWER8.
6076 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6078 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6079 (_dl_string_platform): Add case for exporting platform position for
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6082 search path to sysdeps/powerpc/powerpc32/power8 directory.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6084 search path to sysdeps/powerpc/powerpc64/power8 directory.
6085 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6087 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6090 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6092 * INSTALL: Regenerate.
6094 * nscd/connections.c (nscd_init): Fix comment.
6096 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6098 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6101 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6102 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6104 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6106 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6108 (DL_DST_REQ_STATIC): Remove macro.
6110 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6113 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6114 with a shift of 0 bits.
6116 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6118 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6121 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6124 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6126 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6128 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6129 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6130 accepts -fno-tree-loop-distribute-patterns.
6131 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6132 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6134 * string/memset.c (memset): Likewise.
6135 * string/test-memmove.c (simple_memmove): Disable loop transformation
6137 * string/test-memset.c (simple_memset): Likewise.
6138 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6139 * benchtests/bench-memset.c (simple_memset): Likewise.
6140 * configure: Regenerated.
6142 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6144 * math/test-misc.c (main): Ignore fesetround failure when failures
6145 of subsequent rounding tests would be ignored.
6148 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6149 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6150 * math/fegetenv.c (__fegetenv): Return 0.
6151 * math/fegetexcept.c (fegetexcept): Return 0.
6152 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6154 * math/feholdexcpt.c (feholdexcept): Return 0.
6155 * math/fesetenv.c (__fesetenv): Return 0.
6156 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6157 argument FE_TONEAREST.
6158 * math/feupdateenv.c (__feupdateenv): Return 0.
6159 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6161 2013-06-18 Roland McGrath <roland@hack.frob.com>
6163 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6164 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6165 ($(objpfx)rtld-%.os rules): Use them.
6167 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6172 2013-06-17 Roland McGrath <roland@hack.frob.com>
6174 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6175 length of target pattern, then descending length of dependency pattern.
6176 * configure.in (AWK): Require gawk 3.1.2 or newer.
6177 * manual/install.texi (Tools for Compilation): Say that we do.
6178 * configure: Regenerated.
6180 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6181 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6182 * scripts/sysd-rules.awk: ... this new script.
6183 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6184 than a glob-style pattern.
6186 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6188 * math/test-misc.c (main): Do not treat incorrectly rounded
6189 conversions as failure unless ROUNDING_TESTS passes.
6191 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6194 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6195 restore exception state around main square root computation, then
6196 check for inexactness explicitly.
6198 * math/libm-test.inc (fma_test_data): Add another test.
6200 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6202 * manual/threads.texi (Non-POSIX Extensions): New document
6203 node. Document pthread_getattr_default_np and
6204 pthread_setattr_default_np.
6206 * Versions.def (libpthread): Add GLIBC_2.18.
6207 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6216 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6227 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6230 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6232 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6233 H.J. Lu <hjl.tools@gmail.com>
6236 * sysdeps/x86_64/rtld-memset.c: Remove file.
6237 * sysdeps/x86_64/rtld-memset.S: New file.
6239 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6241 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6242 (test_in_one_mode): Take arguments for whether the rounding mode
6243 is supported for each floating-point type.
6244 (do_test): Pass new arguments to test_in_one_mode using
6247 2013-06-13 Roland McGrath <roland@hack.frob.com>
6249 * posix/tst-waitid.c (do_test): Distinguish different instances of
6250 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6251 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6252 before entering the kernel for waitpid.
6254 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6256 * NEWS: Fix note on clock function precision. Text by Roland
6259 2013-06-13 Roland McGrath <roland@hack.frob.com>
6261 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6262 it into place only when and if the sanity check passes.
6264 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6266 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6267 output for whether conversion result is exact. Take argument
6268 indicating whether type is IBM long double.
6269 (round_for_all): Change need_exact field to ibm_ld.
6270 * stdlib/tst-strtod-round.c (struct exactness): New type.
6271 (struct test): Change bool ld_ok field to struct exactness exact.
6272 (TEST): Update all definitions for change to field.
6273 (tests): Regenerate array contents.
6274 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6275 field value. Check for IBM long double here.
6276 (do_test): Update calls to test_in_one_mode.
6278 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6281 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6282 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6284 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6287 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6288 generated by the compiler on loop optimizations.
6289 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6290 general definitions.
6292 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6294 * math/bug-nextafter.c: Include <math-tests.h>.
6295 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6297 * math/bug-nexttoward.c: Include <math-tests.h>.
6298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6300 * math/test-misc.c: Include <math-tests.h>.
6301 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6304 2013-06-12 Andreas Jaeger <aj@suse.de>
6306 * po/ia.po: Update Interlingua translation from translation
6309 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6311 * include/fenv.h: Include stdbool.h.
6312 (struct rm_ctx): New structure.
6313 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6315 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6316 (SET_RESTORE_ROUNDF): Likewise.
6317 (SET_RESTORE_ROUNDL): Likewise.
6318 (SET_RESTORE_ROUND_NOEX): Likewise.
6319 (SET_RESTORE_ROUND_NOEXF): Likewise.
6320 (SET_RESTORE_ROUND_NOEXL): Likewise.
6321 (SET_RESTORE_ROUND_53BIT): Likewise.
6322 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6323 (libc_feresetround_noexf_ctx): Likewise.
6324 (libc_feresetround_noexl_ctx): Likewise.
6325 (libc_feholdsetround_53bit_ctx): Likewise.
6326 (libc_feresetround_53bit_ctx): Likewise.
6327 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6328 (libc_feholdexcept_setround_sse_ctx): New function.
6329 (libc_fesetenv_sse_ctx): Likewise.
6330 (libc_feupdateenv_sse_ctx): Likewise.
6331 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6332 (libc_feholdexcept_setround_387_ctx): Likewise.
6333 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6334 (libc_feholdsetround_387_prec_ctx): Likewise.
6335 (libc_feholdsetround_387_ctx): Likewise.
6336 (libc_feholdsetround_387_53bit_ctx): Likewise.
6337 (libc_feholdsetround_sse_ctx): Likewise.
6338 (libc_feresetround_sse_ctx): Likewise.
6339 (libc_feresetround_387_ctx): Likewise.
6340 (libc_feupdateenv_387_ctx): Likewise.
6341 (libc_feholdexcept_setroundf_ctx): Define macro.
6342 (libc_fesetenvf_ctx): Likewise.
6343 (libc_feupdateenvf_ctx): Likewise.
6344 (libc_feholdsetroundf_ctx): Likewise.
6345 (libc_feresetroundf_ctx): Likewise.
6346 (libc_feholdexcept_setround_ctx): Likewise.
6347 (libc_fesetenv_ctx): Likewise.
6348 (libc_feupdateenv_ctx): Likewise.
6349 (libc_feholdsetround_ctx): Likewise.
6350 (libc_feresetround_ctx): Likewise.
6351 (libc_feholdexcept_setroundl_ctx): Likewise.
6352 (libc_feupdateenvl_ctx): Likewise.
6353 (libc_feholdsetroundl_ctx): Likewise.
6354 (libc_feresetroundl_ctx): Likewise.
6355 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6356 (libc_feresetround_53bit_ctx): Likewise.
6358 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6360 * locale/iso-639.def: Convert to UTF-8.
6362 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6364 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6365 (EXCEPTION_TESTS_double): Likewise.
6366 (EXCEPTION_TESTS_long_double): Likewise.
6367 (EXCEPTION_TESTS): Likewise.
6368 * math/libm-test.inc (test_exceptions): Only test exceptions if
6369 EXCEPTION_TESTS (FLOAT).
6371 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6373 * benchtests/Makefile (string-bench): Add strcpy_chk and
6375 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6376 * benchtests/bench-stpcpy_chk.c: New file.
6377 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6378 * benchtests/bench-strcpy_chk.c: New file.
6379 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6381 (do_test): Likewise.
6383 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6385 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6386 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6387 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6388 with tabs where appropriate.
6389 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6391 [PPC_PLATFORM_PPC440]: Likewise.
6392 [PPC_PLATFORM_PPC464]: Likewise.
6393 [PPC_PLATFORM_PPC476]: Likewise.
6394 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6395 ppc464, and ppc476 platform strings merging from ports/
6398 2013-06-11 Andreas Schwab <schwab@suse.de>
6401 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6402 (from_ucs4_idx): Regenerate.
6403 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6404 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6405 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6406 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6407 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6408 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6409 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6410 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6411 from FROM_LOOP and TO_LOOP specific macros.
6412 (BODY): Handle combining characters.
6413 * iconvdata/BIG5HKSCS.irreversible: Update.
6414 * iconvdata/BIG5HKSCS.precomposed: New file.
6415 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6417 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6419 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6421 * include/sys/time.h: Fix indentation and add copyright header.
6423 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6424 (do_test): Likewise.
6425 * string/test-memchr.c (do_one_test): Likewise.
6426 (do_test): Likewise.
6427 * string/test-memcmp.c (do_one_test): Likewise.
6428 (do_test): Likewise.
6429 * string/test-memcpy.c (do_one_test): Likewise.
6430 (do_test): Likewise.
6431 * string/test-memmem.c (do_one_test): Likewise.
6432 (do_test): Likewise.
6433 (do_random_tests): Likewise.
6434 * string/test-memmove.c (do_one_test): Likewise.
6435 (do_test): Likewise.
6436 * string/test-memset.c (do_one_test): Likewise.
6437 (do_test): Likewise.
6438 * string/test-rawmemchr.c (do_one_test): Likewise.
6439 (do_test): Likewise.
6440 * string/test-strcasecmp.c (do_one_test): Likewise.
6441 (do_test): Likewise.
6442 * string/test-strcasestr.c (do_one_test): Likewise.
6443 (do_test): Likewise.
6444 * string/test-strcat.c (do_one_test): Likewise.
6445 (do_test): Likewise.
6446 * string/test-strchr.c (do_one_test): Likewise.
6447 (do_test): Likewise.
6448 * string/test-strcmp.c (do_one_test): Likewise.
6449 (do_test): Likewise.
6450 * string/test-strcpy.c (do_one_test): Likewise.
6451 (do_test): Likewise.
6452 * string/test-string.h: Likewise.
6453 (test_init): Likewise.
6454 * string/test-strlen.c (do_one_test): Likewise.
6455 (do_test): Likewise.
6456 * string/test-strncasecmp.c (do_one_test): Likewise.
6457 (do_test): Likewise.
6458 * string/test-strncat.c (do_one_test): Likewise.
6459 (do_test): Likewise.
6460 * string/test-strncmp.c (do_one_test): Likewise.
6461 (do_test_limit): Likewise.
6462 (do_test): Likewise.
6463 * string/test-strncpy.c (do_one_test): Likewise.
6464 (do_test): Likewise.
6465 * string/test-strnlen.c (do_one_test): Likewise.
6466 (do_test): Likewise.
6467 * string/test-strpbrk.c (do_one_test): Likewise.
6468 (do_test): Likewise.
6469 * string/test-strrchr.c (do_one_test): Likewise.
6470 (do_test): Likewise.
6471 * string/test-strspn.c (do_one_test): Likewise.
6472 (do_test): Likewise.
6473 * string/test-strstr.c (do_one_test): Likewise.
6474 (do_test): Likewise.
6476 * benchtests/Makefile (string-bench): Add string benchmarks.
6477 * benchtests/bench-bcopy-ifunc.c: New file.
6478 * benchtests/bench-bcopy.c: New file.
6479 * benchtests/bench-bzero-ifunc.c: New file.
6480 * benchtests/bench-bzero.c: New file.
6481 * benchtests/bench-memccpy-ifunc.c: New file.
6482 * benchtests/bench-memccpy.c: New file.
6483 * benchtests/bench-memchr-ifunc.c: New file.
6484 * benchtests/bench-memchr.c: New file.
6485 * benchtests/bench-memcmp-ifunc.c: New file.
6486 * benchtests/bench-memcmp.c: New file.
6487 * benchtests/bench-memmem-ifunc.c: New file.
6488 * benchtests/bench-memmem.c: New file.
6489 * benchtests/bench-memmove-ifunc.c: New file.
6490 * benchtests/bench-memmove.c: New file.
6491 * benchtests/bench-mempcpy-ifunc.c: New file.
6492 * benchtests/bench-mempcpy.c: New file.
6493 * benchtests/bench-memset-ifunc.c: New file.
6494 * benchtests/bench-memset.c: New file.
6495 * benchtests/bench-rawmemchr-ifunc.c: New file.
6496 * benchtests/bench-rawmemchr.c: New file.
6497 * benchtests/bench-stpcpy-ifunc.c: New file.
6498 * benchtests/bench-stpcpy.c: New file.
6499 * benchtests/bench-stpncpy-ifunc.c: New file.
6500 * benchtests/bench-stpncpy.c: New file.
6501 * benchtests/bench-strcasecmp-ifunc.c: New file.
6502 * benchtests/bench-strcasecmp.c: New file.
6503 * benchtests/bench-strcasestr-ifunc.c: New file.
6504 * benchtests/bench-strcasestr.c: New file.
6505 * benchtests/bench-strcat-ifunc.c: New file.
6506 * benchtests/bench-strcat.c: New file.
6507 * benchtests/bench-strchr-ifunc.c: New file.
6508 * benchtests/bench-strchr.c: New file.
6509 * benchtests/bench-strchrnul-ifunc.c: New file.
6510 * benchtests/bench-strchrnul.c: New file.
6511 * benchtests/bench-strcmp-ifunc.c: New file.
6512 * benchtests/bench-strcmp.c: New file.
6513 * benchtests/bench-strcpy-ifunc.c: New file.
6514 * benchtests/bench-strcpy.c: New file.
6515 * benchtests/bench-strcspn-ifunc.c: New file.
6516 * benchtests/bench-strcspn.c: New file.
6517 * benchtests/bench-strlen-ifunc.c: New file.
6518 * benchtests/bench-strlen.c: New file.
6519 * benchtests/bench-strncasecmp-ifunc.c: New file.
6520 * benchtests/bench-strncasecmp.c: New file.
6521 * benchtests/bench-strncat-ifunc.c: New file.
6522 * benchtests/bench-strncat.c: New file.
6523 * benchtests/bench-strncmp-ifunc.c: New file.
6524 * benchtests/bench-strncmp.c: New file.
6525 * benchtests/bench-strncpy-ifunc.c: New file.
6526 * benchtests/bench-strncpy.c: New file.
6527 * benchtests/bench-strnlen-ifunc.c: New file.
6528 * benchtests/bench-strnlen.c: New file.
6529 * benchtests/bench-strpbrk-ifunc.c: New file.
6530 * benchtests/bench-strpbrk.c: New file.
6531 * benchtests/bench-strrchr-ifunc.c: New file.
6532 * benchtests/bench-strrchr.c: New file.
6533 * benchtests/bench-strspn-ifunc.c: New file.
6534 * benchtests/bench-strspn.c: New file.
6535 * benchtests/bench-strstr-ifunc.c: New file.
6536 * benchtests/bench-strstr.c: New file.
6538 * benchtests/Makefile: Disable parallel execution of targets.
6539 (string-bench): Add memcpy.
6540 (benchset): New variable to store a list of benchmark sets.
6541 (bench-func): Renamed from bench.
6542 (bench-set): New target.
6543 (bench): Depend on bench-func and bench-set.
6544 * benchtests/README: Add section on benchmark sets.
6545 * benchtests/bench-memcpy-ifunc.c: New file.
6546 * benchtests/bench-memcpy.c: New file.
6547 * benchtests/bench-string.h: New file.
6549 2013-06-11 Andreas Schwab <schwab@suse.de>
6552 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6553 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6554 values in the triple.
6555 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6556 terminator in the group key.
6558 2013-06-11 Andreas Jaeger <aj@suse.de>
6560 * po/zh_TW.po: Update Chinese (traditional) translation from
6561 translation project.
6563 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6565 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6566 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6567 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6569 (clock_getcpuclockid): Likewise.
6570 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6571 Add weak_alias and libc_hidden_def.
6572 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6573 * rt/clock_gettime.c (clock_gettime): Rename to
6574 __clock_gettime. Add weak_alias and libc_hidden_def.
6575 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6576 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6577 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6578 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6579 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6581 * rt/clock_settime.c (clock_settime): Rename to
6582 __clock_settime. Add weak_alias and libc_hidden_def.
6583 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6585 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6587 * mach/err_boot.sub: Remove trailing whitespace.
6588 * mach/err_ipc.sub: Likewise.
6589 * mach/err_mach.sub: Likewise.
6591 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6592 (ROUNDING_TESTS_double): Likewise.
6593 (ROUNDING_TESTS_long_double): Likewise.
6594 (ROUNDING_TESTS): Likewise.
6595 * math/libm-test.inc: Include <math-tests.h>.
6596 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6597 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6598 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6599 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6601 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6603 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6606 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6608 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6609 otherwise empty TRANS lines.
6610 * sysdeps/gnu/errlist.c: Regenerated.
6612 * catgets/gencat.c (error_print): Use (void) in function
6614 * crypt/crypt_util.c (__init_des): Likewise.
6615 * crypt/speeds.c (Stop): Likewise.
6617 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6618 * inet/ruserpass.c (token): Likewise.
6619 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6620 * intl/localealias.c (extend_alias_table): Likewise.
6621 * intl/plural-exp.c (init_germanic_plural): Likewise.
6622 * libio/fcloseall.c (__fcloseall): Likewise.
6623 * libio/genops.c (_IO_flush_all): Likewise.
6624 (_IO_flush_all_linebuffered): Likewise.
6625 (_IO_cleanup): Likewise.
6626 (_IO_iter_begin): Likewise.
6627 (_IO_iter_end): Likewise.
6628 (_IO_list_lock): Likewise.
6629 (_IO_list_unlock): Likewise.
6630 (_IO_list_resetlock): Likewise.
6631 * libio/getchar.c (getchar): Likewise.
6632 * libio/getchar_u.c (getchar_unlocked): Likewise.
6633 * libio/getwchar.c (getwchar): Likewise.
6634 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6635 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6636 * login/getpt.c (__getpt): Likewise.
6637 * login/tst-utmp.c (main): Likewise.
6638 * malloc/hooks.c (__malloc_check_init): Likewise.
6639 * malloc/malloc.c (__malloc_stats): Likewise.
6640 * malloc/mtrace.c (tr_break): Likewise.
6642 (muntrace): Likewise.
6643 * misc/fstab.c (endfsent): Likewise.
6644 * misc/getclktck.c (__getclktck): Likewise.
6645 * misc/getdtsz.c (__getdtablesize): Likewise.
6646 * misc/gethostid.c (gethostid): Likewise.
6647 * misc/getpagesize.c (__getpagesize): Likewise.
6648 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6649 (__get_nprocs): Likewise.
6650 (__get_phys_pages): Likewise.
6651 (__get_avphys_pages): Likewise.
6652 * misc/getttyent.c (getttyent): Likewise.
6653 (setttyent): Likewise.
6654 (endttyent): Likewise.
6655 * misc/getusershell.c (getusershell): Likewise.
6656 (endusershell): Likewise.
6657 (setusershell): Likewise.
6658 (initshells): Likewise.
6659 * misc/hsearch.c (__hdestroy): Likewise.
6660 * misc/sync.c (sync): Likewise.
6661 * misc/syslog.c (closelog_internal): Likewise.
6662 (closelog): Likewise.
6663 * misc/ttyslot.c (ttyslot): Likewise.
6664 * misc/vhangup.c (vhangup): Likewise.
6665 * posix/fork.c (__fork): Likewise.
6666 * posix/getegid.c (__getegid): Likewise.
6667 * posix/geteuid.c (__geteuid): Likewise.
6668 * posix/getgid.c (__getgid): Likewise.
6669 * posix/getpid.c (__getpid): Likewise.
6670 * posix/getppid.c (__getppid): Likewise.
6671 * posix/getuid.c (__getuid): Likewise.
6672 * posix/pause.c (pause): Likewise.
6673 * posix/setpgrp.c (setpgrp): Likewise.
6674 * posix/setsid.c (__setsid): Likewise.
6675 * posix/test-vfork.c (noop): Likewise.
6676 * resolv/gethnamaddr.c (_endhtent): Likewise.
6677 (_gethtent): Likewise.
6678 (ht_endhostent): Likewise.
6679 (gethostent): Likewise.
6680 (dns_service): Likewise.
6681 * stdlib/drand48.c (drand48): Likewise.
6682 * stdlib/lrand48.c (lrand48): Likewise.
6683 * stdlib/mrand48.c (mrand48): Likewise.
6684 * stdlib/rand.c (rand): Likewise.
6685 * stdlib/random.c (__random): Likewise.
6686 * stdlib/setenv.c (clearenv): Likewise.
6687 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6688 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6689 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6690 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6691 (__get_nprocs): Likewise.
6692 (__get_phys_pages): Likewise.
6693 (__get_avphys_pages): Likewise.
6694 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6695 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6696 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6697 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6698 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6699 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6700 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6701 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6702 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6703 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6704 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6705 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6706 * sysdeps/posix/clock.c (clock): Likewise.
6707 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6708 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6709 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6710 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6711 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6713 (__get_nprocs_conf): Likewise.
6714 (__get_phys_pages): Likewise.
6715 (__get_avphys_pages): Likewise.
6716 * time/clock.c (clock): Likewise.
6717 * time/tzset.c (__tzname_max): Likewise.
6719 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6721 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6722 (__bswap_32): Do not use "register".
6723 * crypt/crypt.c (_ufc_doit_r): Likewise.
6724 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6725 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6726 * gmon/gmon.c (__monstartup): Likewise.
6727 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6728 * hurd/hurdmalloc.c (more_memory): Likewise.
6731 (realloc): Likewise.
6732 (malloc_fork_prepare): Likewise.
6733 (malloc_fork_parent): Likewise.
6734 (malloc_fork_child): Likewise.
6735 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6736 (_svcauth_des): Likewise.
6737 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6738 * inet/inet_net.c (inet_network): Likewise.
6739 * inet/inet_netof.c (inet_netof): Likewise.
6740 * inet/rcmd.c (__validuser2_sa): Likewise.
6741 * io/fts.c (fts_open): Likewise.
6742 (fts_load): Likewise.
6743 (fts_close): Likewise.
6744 (fts_read): Likewise.
6745 (fts_children): Likewise.
6746 (fts_build): Likewise.
6747 (fts_stat): Likewise.
6748 (fts_sort): Likewise.
6749 (fts_alloc): Likewise.
6750 (fts_lfree): Likewise.
6751 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6752 (_IO_file_xsgetn): Likewise.
6753 (_IO_file_xsgetn_mmap): Likewise.
6754 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6755 (_IO_cookie_write): Likewise.
6756 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6757 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6758 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6759 * malloc/obstack.c (_obstack_begin): Likewise.
6760 (_obstack_begin_1): Likewise.
6761 (_obstack_newchunk): Likewise.
6762 (_obstack_allocated_p): Likewise.
6763 (obstack_free): Likewise.
6764 (_obstack_memory_used): Likewise.
6765 * misc/getttyent.c (getttynam): Likewise.
6766 (getttyent): Likewise.
6769 * misc/getusershell.c (initshells): Likewise.
6770 * misc/syslog.c (__vsyslog_chk): Likewise.
6771 * misc/ttyslot.c (ttyslot): Likewise.
6772 * nis/nis_hash.c (__nis_hash): Likewise.
6773 * posix/fnmatch_loop.c (FCT): Likewise.
6774 * posix/getconf.c (print_all): Likewise.
6776 * posix/getopt.c (exchange): Likewise.
6777 * posix/glob.c (globfree): Likewise.
6778 (prefix_array): Likewise.
6779 (__glob_pattern_type): Likewise.
6780 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6781 (NS_GET32): Likewise.
6782 (NS_PUT16): Likewise.
6783 (NS_PUT32): Likewise.
6784 * resolv/gethnamaddr.c (getanswer): Likewise.
6785 (gethostbyname2): Likewise.
6786 (gethostbyaddr): Likewise.
6787 (_gethtent): Likewise.
6788 (_gethtbyname2): Likewise.
6789 (_gethtbyaddr): Likewise.
6790 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6791 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6792 * resolv/res_init.c (__res_vinit): Likewise.
6793 (net_mask): Likewise.
6794 * resolv/res_mkquery.c (outchar): Likewise.
6796 * stdio-common/printf_fp.c (outchar): Likewise.
6798 * stdio-common/printf_fphex.c (outchar): Likewise.
6800 * stdio-common/printf_size.c (outchar): Likewise.
6802 * stdio-common/test_rdwr.c (main): Likewise.
6803 * stdio-common/tfformat.c (matches): Likewise.
6804 * stdio-common/vfprintf.c (outchar): Likewise.
6805 (printf_unknown): Likewise.
6806 (buffered_vfprintf): Likewise.
6807 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6808 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6809 (ReadFile): Likewise.
6810 * stdlib/qsort.c (SWAP): Likewise.
6811 (_quicksort): Likewise.
6812 * stdlib/setenv.c (__add_to_environ): Likewise.
6813 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6814 * stdlib/strtol_l.c (__strtol_l): Likewise.
6815 * stdlib/tst-strtod.c (main): Likewise.
6816 * stdlib/tst-strtol.c (main): Likewise.
6817 * stdlib/tst-strtoll.c (main): Likewise.
6818 * string/bits/string2.h (__strcmp_cc): Likewise.
6819 (__strcmp_cg): Likewise.
6820 (__strcspn_c1): Likewise.
6821 (__strcspn_c2): Likewise.
6822 (__strcspn_c3): Likewise.
6823 (__strspn_c1): Likewise.
6824 (__strspn_c2): Likewise.
6825 (__strspn_c3): Likewise.
6826 (__strsep_1c): Likewise.
6827 (__strsep_2c): Likewise.
6828 (__strsep_3c): Likewise.
6829 * string/memccpy.c (__memccpy): Likewise.
6830 * string/stpcpy.c (__stpcpy): Likewise.
6831 * string/strcmp.c (strcmp): Likewise.
6832 * string/strrchr.c (strrchr): Likewise.
6833 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6835 * sysdeps/mach/hurd/getcwd.c
6836 (_hurd_canonicalize_directory_name_internal): Likewise.
6837 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6838 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6839 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6840 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6841 Likewise, in both definitions.
6842 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6844 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6845 64] (__bswap_64): Likewise.
6846 * time/test_time.c (main): Likewise.
6847 * time/tzfile.c (__tzfile_read): Likewise.
6848 (__tzfile_compute): Likewise.
6849 * time/tzset.c (__tzset_parse_tz): Likewise.
6850 (tzset_internal): Likewise.
6851 (compute_change): Likewise.
6852 * wcsmbs/wcscat.c (__wcscat): Likewise.
6853 * wcsmbs/wcschr.c (wcschr): Likewise.
6854 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6855 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6856 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6857 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6858 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6859 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6860 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6861 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6862 * wcsmbs/wmemset.c (wmemset): Likewise.
6864 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6866 * scripts/config.guess: Update to version 2013-05-16.
6867 * scripts/config.sub: Update to version 2013-04-24.
6868 * scripts/install-sh: Update to version 2011-11-20.07.
6869 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6870 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6872 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6874 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6875 * elf/sln.c: Likewise.
6876 * hurd/hurd/ioctl.h: Likewise.
6877 * hurd/hurdmalloc.c: Likewise.
6878 * hurd/xattr.c: Likewise.
6879 * include/shlib-compat.h: Likewise.
6880 * inet/ruserpass.c: Likewise.
6881 * libio/iofgets_u.c: Likewise.
6882 * libio/iofgetws_u.c: Likewise.
6883 * locale/programs/ld-identification.c: Likewise.
6884 * locale/programs/ld-time.c: Likewise.
6885 * mach/msg-destroy.c: Likewise.
6886 * nss/nss_files/files-netgrp.c: Likewise.
6887 * resolv/res_data.c: Likewise.
6888 * soft-fp/op-1.h: Likewise.
6889 * soft-fp/op-2.h: Likewise.
6890 * soft-fp/op-4.h: Likewise.
6891 * soft-fp/op-common.h: Likewise.
6892 * stdio-common/printf_fphex.c: Likewise.
6893 * stdlib/strtod_l.c: Likewise.
6894 * sunrpc/rpc/clnt.h: Likewise.
6895 * sysdeps/generic/framestate.c: Likewise.
6896 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6897 * sysdeps/i386/bsd-setjmp.S: Likewise.
6898 * sysdeps/i386/__longjmp.S: Likewise.
6899 * sysdeps/i386/setjmp.S: Likewise.
6900 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6901 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6902 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6918 * sysdeps/ieee754/support.c: Likewise.
6919 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6920 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6921 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6922 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6923 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6924 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6925 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6926 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6927 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6928 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6929 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6930 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6931 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6932 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6933 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6934 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6935 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6938 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6940 * posix/transbug.c: Remove executable mode.
6942 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6944 * crypt/speeds.c: Remove trailing whitespace.
6945 * dlfcn/default.c: Likewise.
6946 * elf/ifuncdep2.c: Likewise.
6947 * elf/ifuncmain1.c: Likewise.
6948 * elf/ifuncmain1vis.c: Likewise.
6949 * elf/testobj.h: Likewise.
6950 * elf/tst-stackguard1.c: Likewise.
6951 * gmon/sys/gmon.h: Likewise.
6952 * hurd/hurdmsg.c: Likewise.
6953 * hurd/new-fd.c: Likewise.
6954 * hurd/ports-get.c: Likewise.
6955 * iconvdata/ibm1008_420.c: Likewise.
6956 * inet/tst-getni1.c: Likewise.
6957 * inet/tst-getni2.c: Likewise.
6958 * libio/ioungetc.c: Likewise.
6959 * libio/wfiledoalloc.c: Likewise.
6960 * manual/libm-err-tab.pl: Likewise.
6961 * math/w_dremf.c: Likewise.
6962 * misc/ftruncate.c: Likewise.
6963 * posix/bug-glob2.c: Likewise.
6964 * posix/tst-pcre.c: Likewise.
6965 * posix/wait4.c: Likewise.
6966 * resolv/README: Likewise.
6967 * resolv/res_debug.h: Likewise.
6968 * resolv/tst-inet_ntop.c: Likewise.
6969 * setjmp/bug269-setjmp.c: Likewise.
6970 * soft-fp/extended.h: Likewise.
6971 * soft-fp/op-1.h: Likewise.
6972 * soft-fp/op-2.h: Likewise.
6973 * soft-fp/op-4.h: Likewise.
6974 * soft-fp/op-8.h: Likewise.
6975 * soft-fp/testit.c: Likewise.
6976 * stdio-common/bug16.c: Likewise.
6977 * stdlib/random.c: Likewise.
6978 * sunrpc/rpcsvc/rquota.x: Likewise.
6979 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6980 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6982 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6983 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6984 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6985 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6986 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6987 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6988 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6989 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7006 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7008 * sysdeps/ieee754/s_lib_version.c: Likewise.
7009 * sysdeps/mach/hurd/check_fds.c: Likewise.
7010 * sysdeps/mach/hurd/getsockname.c: Likewise.
7011 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7012 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7013 * sysdeps/powerpc/bits/link.h: Likewise.
7014 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7015 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7016 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7017 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7018 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7019 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7020 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7021 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7022 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7023 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7024 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7025 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7026 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7027 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7028 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7029 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7030 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7035 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7037 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7038 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7040 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7041 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7042 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7044 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7045 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7046 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7047 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7048 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7049 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7050 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7051 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7052 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7053 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7054 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7055 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7056 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7057 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7058 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7059 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7060 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7061 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7062 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7063 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7064 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7065 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7066 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7067 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7068 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7069 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7070 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7071 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7072 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7073 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7074 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7075 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7076 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7077 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7078 * sysdeps/powerpc/sysdep.h: Likewise.
7079 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7080 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7081 * sysdeps/sh/dl-trampoline.S: Likewise.
7082 * sysdeps/sh/memset.S: Likewise.
7083 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7084 * sysdeps/sh/strlen.S: Likewise.
7085 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7086 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7087 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7088 * sysdeps/sparc/sparc32/rem.S: Likewise.
7089 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7090 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7091 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7092 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7093 * sysdeps/sparc/sparc32/urem.S: Likewise.
7094 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7095 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7096 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7097 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7098 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7099 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7100 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7101 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7102 * sysdeps/unix/bsd/times.c: Likewise.
7103 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7104 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7108 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7109 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7110 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7111 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7114 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7115 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7116 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7117 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7118 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7119 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7120 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7121 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7122 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7123 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7124 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7125 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7126 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7127 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7128 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7129 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7130 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7131 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7132 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7133 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7134 * sysdeps/x86_64/strcspn.S: Likewise.
7136 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7138 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7139 generated file. Regenerate properly from gen-translit.pl.
7140 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7141 locale/C-translit.h.
7143 2013-06-05 Andreas Schwab <schwab@suse.de>
7146 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7147 week as 6 instead of -1.
7148 * time/tst-strptime.c (day_tests): Add test case.
7150 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7152 * sysdeps/generic/math_private.h
7153 (libc_feholdexcept_setround_53bit): Replace with
7154 libc_feholdsetround_53bit.
7155 (libc_feupdateenv_53bit): Replace with
7156 libc_feresetround_53bit.
7157 (SET_RESTORE_ROUND_53BIT): Adjust.
7159 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7161 * string/test-strchrnul.c: Add copyright header.
7163 * posix/tst-getaddrinfo4.c: Increase test timeout.
7165 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7168 * math/libm-test.inc (MAX_EXP): Remove
7170 (ulp): Use MIN_EXP - MANT_DIG.
7171 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7173 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7175 * po/be.po: Revert last change.
7176 * po/zh_CN.po: Likewise.
7177 * po/header.pot: Likewise.
7179 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7181 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7182 link-libc-deps to empty as target-specific variable.
7183 * Makerules (link-libc-args): New variable.
7184 (libc-for-link): Likewise.
7185 (link-libc-deps): Likewise.
7186 (lib%.so): Depend on $(link-libc-deps). Link with
7188 (build-module): Link with $(link-libc-args).
7189 (build-module-asneeded): Likewise.
7190 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7192 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7193 target-specific variable.
7194 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7195 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7196 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7198 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7200 ($(objpfx)libpcprofile.so): Likewise.
7201 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7203 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7204 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7205 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7207 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7208 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7209 * login/Makefile ($(objpfx)libutil.so): Likewise.
7210 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7211 * math/Makefile ($(objpfx)libm.so): Likewise.
7212 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7213 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7214 variable instead of depending directly on libc.
7215 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7216 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7218 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7220 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7221 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7222 ($(objpfx)libanl.so): Likewise.
7223 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7225 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7227 * sysdeps/i386/fpu/Makefile: Remove file.
7228 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7229 ($(objpfx)libm.so): Remove dependency on ld.so.
7231 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7234 * nis/yp_xdr.c (XDRMAXNAME): Define.
7235 (XDRMAXRECORD): Define.
7236 (xdr_domainname): Use XDRMAXNAME.
7237 (xdr_mapname): Likewise.
7238 (xdr_peername): Likewise.
7239 (xdr_keydat): Use XDRMAXRECORD.
7240 (xdr_valdat): Likewise.
7242 2013-05-30 Jeff Law <law@redhat.com>
7245 * manual/errno.texi (ESTALE): Update to account for more than
7246 just NFS file systems.
7247 * sysdeps/gnu/errlist.c: Regenerated.
7249 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7252 * elf/Makefile (tests): Add tst-null-argv.
7253 (modules-names): Add tst-null-argv-lib.
7254 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7255 (tst-null-argv-ENV): Set environment for tst-null-argv.
7256 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7257 (RTLD_PROGNAME): New macro.
7258 * elf/tst-null-argv.c: New test case.
7259 * elf/tst-null-argv-lib.c: Library for test case.
7260 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7261 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7262 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7263 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7264 * elf/dl-init.c (call_init): Likewise.
7265 (_dl_init): Likewise.
7266 * elf/dl-load.c (print_search_path): Likewise.
7267 (_dl_map_object): Likewise.
7268 * elf/dl-lookup.c (do_lookup_x): Likewise.
7269 (add_dependency): Likewise.
7270 (_dl_lookup_symbol_x): Likewise.
7271 (_dl_debug_bindings): Likewise.
7272 * elf/dl-open.c (_dl_show_scope): Likewise.
7273 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7274 * elf/dl-version.c (match_symbol): Likewise.
7275 (_dl_check_map_versions): Likewise.
7276 * elf/rtld.c (dl_main): Likewise.
7277 (print_unresolved): Use RTLD_PROGNAME.
7278 (print_missing_version): Likewise.
7279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7280 (elf_machine_rela): Likewise.
7281 * sysdeps/powerpc/powerpc32/dl-machine.c
7282 (__process_machine_rela): Likewise.
7283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7285 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7287 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7289 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7296 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7298 * po/be.po: Add descriptive title.
7299 * po/zh_CN.po: Likewise.
7300 * po/header.pot: Likewise.
7302 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7304 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7306 (enlarge_archive): Likewise.
7308 2013-05-28 Ben North <ben@redfrontdoor.org>
7310 * manual/arith.texi (frexp): It is the magnitude of the return
7311 value which lies in [0.5, 1), not the return value itself.
7313 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7317 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7319 * stdio-common/bug26.c (main): Correct fscanf template.
7321 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7322 declare _dl_skip_args.
7324 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7327 * manual/platform.texi: Add missing @end deftypefun.
7329 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7332 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7333 bit of mantissa of 2^16382.
7334 * math/libm-test.inc (hypot_test_data): Add more tests.
7336 * math/libm-test.inc: Add drem and pow10 to list of tested
7338 (pow10_test): New function.
7339 (drem_test): Likewise.
7340 (drem_test_tonearest): Likewise.
7341 (drem_test_towardzero): Likewise.
7342 (drem_test_downward): Likewise.
7343 (drem_test_upward): Likewise.
7344 (main): Call the new functions.
7346 * math/libm-test.inc (finite_test_data): Remove.
7347 (finite_test): Run tests from isfinite_test_data.
7348 (gamma_test_data): Remove.
7349 (gamma_test): Run tests from lgamma_test_data.
7350 * sysdeps/i386/fpu/libm-test-ulps: Update.
7351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7353 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7355 * manual/platform.texi: Add PowerPC PPR function set documentation.
7356 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7359 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7361 * math/libm-test.inc (MAX_EXP): Define.
7363 (ulp): New function.
7364 (check_float_internal): Use ULPDIFF.
7365 (cpow_test): Disable failing test.
7366 (check_ulp): Test ulp() implemetnation.
7367 (main): Call check_ulp before starting tests.
7369 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7371 * math/gen-libm-test.pl (generate_testfile): Do not handle
7372 START_DATA and END_DATA.
7373 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7375 (acos_tonearest_test_data): Likewise.
7376 (acos_towardzero_test_data): Likewise.
7377 (acos_downward_test_data): Likewise.
7378 (acos_upward_test_data): Likewise.
7379 (acosh_test_data): Likewise.
7380 (asin_test_data): Likewise.
7381 (asin_tonearest_test_data): Likewise.
7382 (asin_towardzero_test_data): Likewise.
7383 (asin_downward_test_data): Likewise.
7384 (asin_upward_test_data): Likewise.
7385 (asinh_test_data): Likewise.
7386 (atan_test_data): Likewise.
7387 (atanh_test_data): Likewise.
7388 (atan2_test_data): Likewise.
7389 (cabs_test_data): Likewise.
7390 (cacos_test_data): Likewise.
7391 (cacosh_test_data): Likewise.
7392 (carg_test_data): Likewise.
7393 (casin_test_data): Likewise.
7394 (casinh_test_data): Likewise.
7395 (catan_test_data): Likewise.
7396 (catanh_test_data): Likewise.
7397 (cbrt_test_data): Likewise.
7398 (ccos_test_data): Likewise.
7399 (ccosh_test_data): Likewise.
7400 (ceil_test_data): Likewise.
7401 (cexp_test_data): Likewise.
7402 (cimag_test_data): Likewise.
7403 (clog_test_data): Likewise.
7404 (clog10_test_data): Likewise.
7405 (conj_test_data): Likewise.
7406 (copysign_test_data): Likewise.
7407 (cos_test_data): Likewise.
7408 (cos_tonearest_test_data): Likewise.
7409 (cos_towardzero_test_data): Likewise.
7410 (cos_downward_test_data): Likewise.
7411 (cos_upward_test_data): Likewise.
7412 (cosh_test_data): Likewise.
7413 (cosh_tonearest_test_data): Likewise.
7414 (cosh_towardzero_test_data): Likewise.
7415 (cosh_downward_test_data): Likewise.
7416 (cosh_upward_test_data): Likewise.
7417 (cpow_test_data): Likewise.
7418 (cproj_test_data): Likewise.
7419 (creal_test_data): Likewise.
7420 (csin_test_data): Likewise.
7421 (csinh_test_data): Likewise.
7422 (csqrt_test_data): Likewise.
7423 (ctan_test_data): Likewise.
7424 (ctan_tonearest_test_data): Likewise.
7425 (ctan_towardzero_test_data): Likewise.
7426 (ctan_downward_test_data): Likewise.
7427 (ctan_upward_test_data): Likewise.
7428 (ctanh_test_data): Likewise.
7429 (ctanh_tonearest_test_data): Likewise.
7430 (ctanh_towardzero_test_data): Likewise.
7431 (ctanh_downward_test_data): Likewise.
7432 (ctanh_upward_test_data): Likewise.
7433 (erf_test_data): Likewise.
7434 (erfc_test_data): Likewise.
7435 (exp_test_data): Likewise.
7436 (exp_tonearest_test_data): Likewise.
7437 (exp_towardzero_test_data): Likewise.
7438 (exp_downward_test_data): Likewise.
7439 (exp_upward_test_data): Likewise.
7440 (exp10_test_data): Likewise.
7441 (exp2_test_data): Likewise.
7442 (expm1_test_data): Likewise.
7443 (fabs_test_data): Likewise.
7444 (fdim_test_data): Likewise.
7445 (finite_test_data): Likewise.
7446 (floor_test_data): Likewise.
7447 (fma_test_data): Likewise.
7448 (fma_towardzero_test_data): Likewise.
7449 (fma_downward_test_data): Likewise.
7450 (fma_upward_test_data): Likewise.
7451 (fmax_test_data): Likewise.
7452 (fmin_test_data): Likewise.
7453 (fmod_test_data): Likewise.
7454 (fpclassify_test_data): Likewise.
7455 (frexp_test_data): Likewise.
7456 (gamma_test_data): Likewise.
7457 (hypot_test_data): Likewise.
7458 (ilogb_test_data): Likewise.
7459 (isfinite_test_data): Likewise.
7460 (isgreater_test_data): Likewise.
7461 (isgreaterequal_test_data): Likewise.
7462 (isinf_test_data): Likewise.
7463 (isless_test_data): Likewise.
7464 (islessequal_test_data): Likewise.
7465 (islessgreater_test_data): Likewise.
7466 (isnan_test_data): Likewise.
7467 (isnormal_test_data): Likewise.
7468 (issignaling_test_data): Likewise.
7469 (isunordered_test_data): Likewise.
7470 (j0_test_data): Likewise.
7471 (j1_test_data): Likewise.
7472 (jn_test_data): Likewise.
7473 (ldexp_test_data): Likewise.
7474 (lgamma_test_data): Likewise.
7475 (lrint_test_data): Likewise.
7476 (lrint_tonearest_test_data): Likewise.
7477 (lrint_towardzero_test_data): Likewise.
7478 (lrint_downward_test_data): Likewise.
7479 (lrint_upward_test_data): Likewise.
7480 (llrint_test_data): Likewise.
7481 (llrint_tonearest_test_data): Likewise.
7482 (llrint_towardzero_test_data): Likewise.
7483 (llrint_downward_test_data): Likewise.
7484 (llrint_upward_test_data): Likewise.
7485 (log_test_data): Likewise.
7486 (log10_test_data): Likewise.
7487 (log1p_test_data): Likewise.
7488 (log2_test_data): Likewise.
7489 (logb_test_data): Likewise.
7490 (logb_downward_test_data): Likewise.
7491 (lround_test_data): Likewise.
7492 (llround_test_data): Likewise.
7493 (modf_test_data): Likewise.
7494 (nearbyint_test_data): Likewise.
7495 (nextafter_test_data): Likewise.
7496 (nexttoward_test_data): Likewise.
7497 (pow_test_data): Likewise.
7498 (pow_tonearest_test_data): Likewise.
7499 (pow_towardzero_test_data): Likewise.
7500 (pow_downward_test_data): Likewise.
7501 (pow_upward_test_data): Likewise.
7502 (remainder_test_data): Likewise.
7503 (remainder_tonearest_test_data): Likewise.
7504 (remainder_towardzero_test_data): Likewise.
7505 (remainder_downward_test_data): Likewise.
7506 (remainder_upward_test_data): Likewise.
7507 (remquo_test_data): Likewise.
7508 (rint_test_data): Likewise.
7509 (rint_tonearest_test_data): Likewise.
7510 (rint_towardzero_test_data): Likewise.
7511 (rint_downward_test_data): Likewise.
7512 (rint_upward_test_data): Likewise.
7513 (round_test_data): Likewise.
7514 (scalb_test_data): Likewise.
7515 (scalbn_test_data): Likewise.
7516 (scalbln_test_data): Likewise.
7517 (signbit_test_data): Likewise.
7518 (sin_test_data): Likewise.
7519 (sin_tonearest_test_data): Likewise.
7520 (sin_towardzero_test_data): Likewise.
7521 (sin_downward_test_data): Likewise.
7522 (sin_upward_test_data): Likewise.
7523 (sincos_test_data): Likewise.
7524 (sinh_test_data): Likewise.
7525 (sinh_tonearest_test_data): Likewise.
7526 (sinh_towardzero_test_data): Likewise.
7527 (sinh_downward_test_data): Likewise.
7528 (sinh_upward_test_data): Likewise.
7529 (sqrt_test_data): Likewise.
7530 (tan_test_data): Likewise.
7531 (tan_tonearest_test_data): Likewise.
7532 (tan_towardzero_test_data): Likewise.
7533 (tan_downward_test_data): Likewise.
7534 (tan_upward_test_data): Likewise.
7535 (tanh_test_data): Likewise.
7536 (tgamma_test_data): Likewise.
7537 (trunc_test_data): Likewise.
7538 (y0_test_data): Likewise.
7539 (y1_test_data): Likewise.
7540 (yn_test_data): Likewise.
7541 (significand_test_data): Likewise.
7543 * math/gen-libm-test.pl (@functions): Remove variable.
7544 (generate_testfile): Don't handle START and END lines.
7545 * math/libm-test.inc (START): New macro.
7547 (END_COMPLEX): Likewise.
7548 (acos_test): Use END macro without arguments.
7549 (acos_test_tonearest): Likewise.
7550 (acos_test_towardzero): Likewise.
7551 (acos_test_downward): Likewise.
7552 (acos_test_upward): Likewise.
7553 (acosh_test): Likewise.
7554 (asin_test): Likewise.
7555 (asin_test_tonearest): Likewise.
7556 (asin_test_towardzero): Likewise.
7557 (asin_test_downward): Likewise.
7558 (asin_test_upward): Likewise.
7559 (asinh_test): Likewise.
7560 (atan_test): Likewise.
7561 (atanh_test): Likewise.
7562 (atan2_test): Likewise.
7563 (cabs_test): Likewise.
7564 (cacos_test): Use END_COMPLEX macro without arguments.
7565 (cacosh_test): Likewise.
7566 (carg_test): Use END macro without arguments.
7567 (casin_test): Use END_COMPLEX macro without arguments.
7568 (casinh_test): Likewise.
7569 (catan_test): Likewise.
7570 (catanh_test): Likewise.
7571 (cbrt_test): Use END macro without arguments.
7572 (ccos_test): Use END_COMPLEX macro without arguments.
7573 (ccosh_test): Likewise.
7574 (ceil_test): Use END macro without arguments.
7575 (cexp_test): Use END_COMPLEX macro without arguments.
7576 (cimag_test): Use END macro without arguments.
7577 (clog_test): Use END_COMPLEX macro without arguments.
7578 (clog10_test): Likewise.
7579 (conj_test): Likewise.
7580 (copysign_test): Use END macro without arguments.
7581 (cos_test): Likewise.
7582 (cos_test_tonearest): Likewise.
7583 (cos_test_towardzero): Likewise.
7584 (cos_test_downward): Likewise.
7585 (cos_test_upward): Likewise.
7586 (cosh_test): Likewise.
7587 (cosh_test_tonearest): Likewise.
7588 (cosh_test_towardzero): Likewise.
7589 (cosh_test_downward): Likewise.
7590 (cosh_test_upward): Likewise.
7591 (cpow_test): Use END_COMPLEX macro without arguments.
7592 (cproj_test): Likewise.
7593 (creal_test): Use END macro without arguments.
7594 (csin_test): Use END_COMPLEX macro without arguments.
7595 (csinh_test): Likewise.
7596 (csqrt_test): Likewise.
7597 (ctan_test): Likewise.
7598 (ctan_test_tonearest): Likewise.
7599 (ctan_test_towardzero): Likewise.
7600 (ctan_test_downward): Likewise.
7601 (ctan_test_upward): Likewise.
7602 (ctanh_test): Likewise.
7603 (ctanh_test_tonearest): Likewise.
7604 (ctanh_test_towardzero): Likewise.
7605 (ctanh_test_downward): Likewise.
7606 (ctanh_test_upward): Likewise.
7607 (erf_test): Use END macro without arguments.
7608 (erfc_test): Likewise.
7609 (exp_test): Likewise.
7610 (exp_test_tonearest): Likewise.
7611 (exp_test_towardzero): Likewise.
7612 (exp_test_downward): Likewise.
7613 (exp_test_upward): Likewise.
7614 (exp10_test): Likewise.
7615 (exp2_test): Likewise.
7616 (expm1_test): Likewise.
7617 (fabs_test): Likewise.
7618 (fdim_test): Likewise.
7619 (finite_test): Likewise.
7620 (floor_test): Likewise.
7621 (fma_test): Likewise.
7622 (fma_test_towardzero): Likewise.
7623 (fma_test_downward): Likewise.
7624 (fma_test_upward): Likewise.
7625 (fmax_test): Likewise.
7626 (fmin_test): Likewise.
7627 (fmod_test): Likewise.
7628 (fpclassify_test): Likewise.
7629 (frexp_test): Likewise.
7630 (gamma_test): Likewise.
7631 (hypot_test): Likewise.
7632 (ilogb_test): Likewise.
7633 (isfinite_test): Likewise.
7634 (isgreater_test): Likewise.
7635 (isgreaterequal_test): Likewise.
7636 (isinf_test): Likewise.
7637 (isless_test): Likewise.
7638 (islessequal_test): Likewise.
7639 (islessgreater_test): Likewise.
7640 (isnan_test): Likewise.
7641 (isnormal_test): Likewise.
7642 (issignaling_test): Likewise.
7643 (isunordered_test): Likewise.
7644 (j0_test): Likewise.
7645 (j1_test): Likewise.
7646 (jn_test): Likewise.
7647 (ldexp_test): Likewise.
7648 (lgamma_test): Likewise.
7649 (lrint_test): Likewise.
7650 (lrint_test_tonearest): Likewise.
7651 (lrint_test_towardzero): Likewise.
7652 (lrint_test_downward): Likewise.
7653 (lrint_test_upward): Likewise.
7654 (llrint_test): Likewise.
7655 (llrint_test_tonearest): Likewise.
7656 (llrint_test_towardzero): Likewise.
7657 (llrint_test_downward): Likewise.
7658 (llrint_test_upward): Likewise.
7659 (log_test): Likewise.
7660 (log10_test): Likewise.
7661 (log1p_test): Likewise.
7662 (log2_test): Likewise.
7663 (logb_test): Likewise.
7664 (logb_test_downward): Likewise.
7665 (lround_test): Likewise.
7666 (llround_test): Likewise.
7667 (modf_test): Likewise.
7668 (nearbyint_test): Likewise.
7669 (nextafter_test): Likewise.
7670 (nexttoward_test): Likewise.
7671 (pow_test): Likewise.
7672 (pow_test_tonearest): Likewise.
7673 (pow_test_towardzero): Likewise.
7674 (pow_test_downward): Likewise.
7675 (pow_test_upward): Likewise.
7676 (remainder_test): Likewise.
7677 (remainder_test_tonearest): Likewise.
7678 (remainder_test_towardzero): Likewise.
7679 (remainder_test_downward): Likewise.
7680 (remainder_test_upward): Likewise.
7681 (remquo_test): Likewise.
7682 (rint_test): Likewise.
7683 (rint_test_tonearest): Likewise.
7684 (rint_test_towardzero): Likewise.
7685 (rint_test_downward): Likewise.
7686 (rint_test_upward): Likewise.
7687 (round_test): Likewise.
7688 (scalb_test): Likewise.
7689 (scalbn_test): Likewise.
7690 (scalbln_test): Likewise.
7691 (signbit_test): Likewise.
7692 (sin_test): Likewise.
7693 (sin_test_tonearest): Likewise.
7694 (sin_test_towardzero): Likewise.
7695 (sin_test_downward): Likewise.
7696 (sin_test_upward): Likewise.
7697 (sincos_test): Likewise.
7698 (sinh_test): Likewise.
7699 (sinh_test_tonearest): Likewise.
7700 (sinh_test_towardzero): Likewise.
7701 (sinh_test_downward): Likewise.
7702 (sinh_test_upward): Likewise.
7703 (sqrt_test): Likewise.
7704 (tan_test): Likewise.
7705 (tan_test_tonearest): Likewise.
7706 (tan_test_towardzero): Likewise.
7707 (tan_test_downward): Likewise.
7708 (tan_test_upward): Likewise.
7709 (tanh_test): Likewise.
7710 (tgamma_test): Likewise.
7711 (trunc_test): Likewise.
7712 (y0_test): Likewise.
7713 (y1_test): Likewise.
7714 (yn_test): Likewise.
7715 (significand_test): Likewise.
7717 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7720 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7722 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7725 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7726 __ppc_mdoio and __ppc_mdoom.
7727 * manual/platform.texi: Document new functions __ppc_yield,
7728 __ppc_mdoio and __ppc_mdoom.
7730 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7732 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7733 (main): Mention "tls" pseudo-hwcap is legacy.
7734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7736 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7738 * math/gen-libm-test.pl (parse_args): Output only string of
7739 arguments as text for test name, not full call or descriptions of
7740 tests for extra outputs.
7741 (generate_testfile): Do not pass function name to parse_args.
7742 Generate this_func variable from START.
7743 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7745 (struct test_ff_f_data): Likewise.
7746 (test_ff_f_data_nexttoward): Likewise.
7747 (struct test_fi_f_data): Likewise.
7748 (struct test_fl_f_data): Likewise.
7749 (struct test_if_f_data): Likewise.
7750 (struct test_fff_f_data): Likewise.
7751 (struct test_c_f_data): Likewise.
7752 (struct test_f_f1_data): Likewise. Remove field extra_name.
7753 (struct test_fF_f1_data): Likewise.
7754 (struct test_ffI_f1_data): Likewise.
7755 (struct test_c_c_data): Rename test_name field to arg_str.
7756 (struct test_cc_c_data): Likewise.
7757 (struct test_f_i_data): Likewise.
7758 (struct test_ff_i_data): Likewise.
7759 (struct test_f_l_data): Likewise.
7760 (struct test_f_L_data): Likewise.
7761 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7763 (COMMON_TEST_SETUP): New macro.
7764 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7765 (COMMON_TEST_CLEANUP): Likewise.
7766 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7767 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7769 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7770 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7772 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7773 (RUN_TEST_fff_f): Take argument string. Call new setup and
7775 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7776 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7778 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7779 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7781 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7782 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7784 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7785 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7787 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7788 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7790 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7791 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7793 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7794 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7796 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7797 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7799 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7800 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7802 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7803 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7805 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7806 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7808 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7809 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7811 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7812 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7814 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7815 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7817 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7818 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7820 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7822 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7824 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7825 to _sifields.sigfault.
7826 (si_addr_lsb): Define new macro.
7827 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7829 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7831 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7834 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7836 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7838 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7841 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7843 * math/gen-libm-test.pl (parse_args): Do not include expected
7844 result in test name.
7845 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7846 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7847 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7848 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7849 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7852 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7854 * benchtests/Makefile: Sort function entries.
7856 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7857 tanh, asinh, acosh, atanh.
7858 * benchtests/acos-inputs: New file.
7859 * benchtests/acosh-inputs: New file.
7860 * benchtests/asin-inputs: New file.
7861 * benchtests/asinh-inputs: New file.
7862 * benchtests/atanh-inputs: New file.
7863 * benchtests/cosh-inputs: New file.
7864 * benchtests/log-inputs: New file.
7865 * benchtests/sinh-inputs: New file.
7866 * benchtests/tanh-inputs: New file.
7868 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7871 * posix/tst-getaddrinfo4.c: New test.
7872 * posix/Makefile (tests): Add it.
7874 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7877 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7878 when no services were used.
7879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7880 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7882 2013-05-21 Andreas Schwab <schwab@suse.de>
7885 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7886 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7888 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7889 redundant variable declarations and reallocation of buffer when
7890 parsing as IPv6 address. Always set NSS status when called from
7891 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7892 buffer too small. Correct computation of needed size.
7893 * nss/Makefile (tests): Add test-digits-dots.
7894 * nss/test-digits-dots.c: New test.
7896 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7898 * benchtests/Makefile: Remove instructions for adding
7900 * benchtests/README: New file to explain how to execute and
7901 enhance the benchmark tests.
7903 2013-05-21 Andreas Schwab <schwab@suse.de>
7906 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7907 * setjmp/tst-sigsetjmp.c: New test.
7909 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7911 * sysdeps/x86_64/memset.S (memset): New implementation.
7912 (__bzero): Likewise.
7913 (__memset_tail): New function.
7915 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7917 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7918 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7919 __memcpy_sse2_unaligned ifunc selection.
7920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7921 Add memcpy-sse2-unaligned.S.
7922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7923 Add: __memcpy_sse2_unaligned.
7925 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7928 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7929 math_force_eval before restoring floating-point envrionment.
7930 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7933 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7935 (__nearbyintl): Use math_force_eval before restoring
7936 floating-point environment.
7937 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7939 * math/gen-libm-test.pl (special_functions): Remove.
7940 (parse_args): Don't handle TEST_extra. Handle functions with no
7942 * math/libm-test.inc (struct test_sincos_data): Replace with
7943 struct test_fFF_11_data.
7944 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7945 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7946 (sincos_test_data): Change element type to struct
7947 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7948 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7949 RUN_TEST_LOOP_sincos.
7950 * math/README.libm-test: Don't mention special handling of
7951 individual functions.
7952 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7954 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7955 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7956 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7959 * math/gen-libm-test.pl (get_variable): Remove function.
7960 (parse_args): Don't show pointer parameters to call in test
7961 names. Use "extra output N" in test names for extra outputs
7962 rather than naming variables.
7964 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7967 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7968 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7969 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7971 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7973 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7976 * math/gen-libm-test.pl (@tests): Remove variable.
7978 (new_test): Remove function.
7979 (show_exceptions): New function.
7980 (special_functions): Use show_exceptions instead of new_test.
7981 (parse_args): Likewise.
7982 (generate_testfile): Pass only function name in generated call to
7983 print_max_error or print_complex_max_error.
7984 (get_ulps): Do not handle complex tests specially.
7985 (output_test): Rename to ...
7986 (get_all_ulps_for_test): ... this. Return a string rather than
7987 printing to a file. Require ulps to be present.
7988 (output_ulps): Generate arrays rather than #defines.
7989 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7990 (struct ulp_data): New type.
7991 (BUILD_COMPLEX_ULP): Remove macro.
7992 (compare_ulp_data): New function.
7993 (find_ulps): Likewise.
7994 (find_test_ulps): Likewise.
7995 (find_function_ulps): Likewise.
7996 (find_complex_function_ulps): Likewise.
7997 (print_max_error): Determine allowed ulps using
7999 (print_complex_max_error): Determine allowed ulps using
8000 find_complex_function_ulps.
8001 (check_float_internal): Determine max ulps using find_test_ulps.
8002 (check_float): Do not take max_ulp parameter. Update call to
8003 check_float_internal.
8004 (check_complex): Likewise.
8005 (check_int): Do not take max_ulp parameter.
8006 (check_long): Likewise.
8007 (check_bool): Likewise.
8008 (check_longlong): Likewise.
8009 (struct test_f_f_data): Remove max_ulp field.
8010 (struct test_ff_f_data): Likewise.
8011 (struct test_ff_f_data_nexttoward): Likewise.
8012 (struct test_fi_f_data): Likewise.
8013 (struct test_fl_f_data): Likewise.
8014 (struct test_if_f_data): Likewise.
8015 (struct test_fff_f_data): Likewise.
8016 (struct test_c_f_data): Likewise.
8017 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8018 (struct test_fF_f1_data): Likewise.
8019 (struct test_ffI_f1_data): Likewise.
8020 (struct test_c_c_data): Remove max_ulp field.
8021 (struct test_cc_c_data): Likewise.
8022 (struct test_f_i_data): Likewise.
8023 (struct test_ff_i_data): Likewise.
8024 (struct test_f_l_data): Likewise.
8025 (struct test_f_L_data): Likewise.
8026 (struct test_sincos_data): Likewise.
8027 (RUN_TEST_f_f): Do not handle ulps.
8028 (RUN_TEST_LOOP_f_f): Likewise.
8029 (RUN_TEST_2_f): Likewise.
8030 (RUN_TEST_LOOP_2_f): Likewise.
8031 (RUN_TEST_fff_f): Likewise.
8032 (RUN_TEST_LOOP_fff_f): Likewise.
8033 (RUN_TEST_c_f): Likewise.
8034 (RUN_TEST_LOOP_c_f): Likewise.
8035 (RUN_TEST_f_f1): Likewise.
8036 (RUN_TEST_LOOP_f_f1): Likewise.
8037 (RUN_TEST_fF_f1): Likewise.
8038 (RUN_TEST_LOOP_fF_f1): Likewise.
8039 (RUN_TEST_fI_f1): Likewise.
8040 (RUN_TEST_LOOP_fI_f1): Likewise.
8041 (RUN_TEST_ffI_f1): Likewise.
8042 (RUN_TEST_LOOP_ffI_f1): Likewise.
8043 (RUN_TEST_c_c): Likewise.
8044 (RUN_TEST_LOOP_c_c): Likewise.
8045 (RUN_TEST_cc_c): Likewise.
8046 (RUN_TEST_LOOP_cc_c): Likewise.
8047 (RUN_TEST_f_i): Likewise.
8048 (RUN_TEST_LOOP_f_i): Likewise.
8049 (RUN_TEST_f_i_tg): Likewise.
8050 (RUN_TEST_LOOP_f_i_tg): Likewise.
8051 (RUN_TEST_ff_i_tg): Likewise.
8052 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8053 (RUN_TEST_f_b): Likewise.
8054 (RUN_TEST_LOOP_f_b): Likewise.
8055 (RUN_TEST_f_b_tg): Likewise.
8056 (RUN_TEST_LOOP_f_b_tg): Likewise.
8057 (RUN_TEST_f_l): Likewise.
8058 (RUN_TEST_LOOP_f_l): Likewise.
8059 (RUN_TEST_f_L): Likewise.
8060 (RUN_TEST_LOOP_f_L): Likewise.
8061 (RUN_TEST_sincos): Likewise.
8062 (RUN_TEST_LOOP_sincos): Likewise.
8064 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8068 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8069 main case of finite arguments, set rounding mode to FE_TONEAREST
8070 and discard exceptions.
8071 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8073 (remainder_tonearest_test_data): New variable.
8074 (remainder_test_tonearest): New function.
8075 (remainder_towardzero_test_data): New variable.
8076 (remainder_test_towardzero): New function.
8077 (remainder_downward_test_data): New variable.
8078 (remainder_test_downward): New function.
8079 (remainder_upward_test_data): New variable.
8080 (remainder_test_upward): New function.
8081 (main): Call the new test functions.
8083 * math/libm-test.inc (struct test_f_f1_data): Remove field
8085 (struct test_fF_f1_data): Likewise.
8086 (struct test_ffI_f1_data): Likewise.
8087 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8088 based on value of EXTRA_EXPECTED.
8089 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8090 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8091 EXTRA_VAR based on value of EXTRA_EXPECTED.
8092 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8093 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8094 EXTRA_VAR based on value of EXTRA_EXPECTED.
8095 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8096 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8097 EXTRA_VAR based on value of EXTRA_EXPECTED.
8098 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8099 * math/gen-libm-test.pl (parse_args): Don't output initializers
8100 for extra output values.
8102 * math/libm-test.inc (check_int): Expect result to be exactly
8103 equal to expected value and do not handle ulps.
8104 (check_long): Likewise.
8105 (check_longlong): Likewise.
8107 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8109 (cimag_test_data): Likewise.
8110 (conj_test_data): Likewise.
8111 (copysign_test_data): Likewise.
8112 (cproj_test_data): Likewise.
8113 (creal_test_data): Likewise.
8114 (fabs_test_data): Likewise.
8115 (fdim_test_data): Likewise.
8116 (finite_test_data): Likewise.
8117 (floor_test_data): Likewise.
8118 (fmax_test_data): Likewise.
8119 (fmin_test_data): Likewise.
8120 (fmod_test_data): Likewise.
8121 (fpclassify_test_data): Likewise.
8122 (frexp_test_data): Likewise.
8123 (ilogb_test_data): Likewise.
8124 (isfinite_test_data): Likewise.
8125 (isgreater_test_data): Likewise.
8126 (isgreaterequal_test_data): Likewise.
8127 (isinf_test_data): Likewise.
8128 (isless_test_data): Likewise.
8129 (islessequal_test_data): Likewise.
8130 (islessgreater_test_data): Likewise.
8131 (isnan_test_data): Likewise.
8132 (isnormal_test_data): Likewise.
8133 (issignaling_test_data): Likewise.
8134 (isunordered_test_data): Likewise.
8135 (ldexp_test_data): Likewise.
8136 (lrint_test_data): Likewise.
8137 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8138 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8139 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8140 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8141 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8142 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8144 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8145 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8146 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8147 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8149 (lrint_downward_test_data): Test for "inexact" exceptions.
8150 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8151 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8152 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8154 (lrint_upward_test_data): Test for "inexact" exceptions.
8155 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8157 (llrint_test_data): Test for "inexact" exceptions.
8158 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8159 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8160 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8161 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8162 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8163 (llrint_downward_test_data): Test for "inexact" exceptions.
8164 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8165 (llrint_upward_test_data): Test for "inexact" exceptions.
8166 (logb_test_data): Likewise.
8167 (logb_downward_test_data): Likewise.
8168 (nextafter_test_data): Likewise.
8169 (nexttoward_test_data): Likewise.
8170 (remainder_test_data): Likewise.
8171 (remquo_test_data): Likewise.
8172 (scalbn_test_data): Likewise.
8173 (scalbln_test_data): Likewise.
8174 (signbit_test_data): Likewise.
8175 (sqrt_test_data): Likewise.
8176 (significand_test_data): Likewise.
8178 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8181 * benchtests/bench-modf.c (struct args): Mark arg0 as
8183 * scripts/bench.pl: Mark members of struct args as volatile.
8185 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8189 negative infinity on POWER6 or lower.
8190 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8192 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8195 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8196 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8197 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8198 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8199 (_FP_SETQNAN): New macro.
8200 (_FP_SETQNAN_SEMIRAW): Likewise.
8201 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8202 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8203 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8204 (FP_EXTEND): Use _FP_FRAC_SNANP.
8205 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8206 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8208 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8210 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8213 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8215 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8216 with DIVIDE_BY_ZERO_EXCEPTION.
8217 (gamma_test_data): Likewise.
8218 (lgamma_test_data): Likewise.
8219 (log_test_data): Likewise.
8220 (log10_test_data): Likewise.
8221 (log2_test_data): Likewise.
8222 (tgamma_test_data): Likewise.
8224 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8225 (acos_test_tonearest): Likewise.
8226 (acos_test_towardzero): Likewise.
8227 (acos_test_downward): Likewise.
8228 (acos_test_upward): Likewise.
8229 (acosh_test): Likewise.
8230 (asin_test): Likewise.
8231 (asin_test_tonearest): Likewise.
8232 (asin_test_towardzero): Likewise.
8233 (asin_test_downward): Likewise.
8234 (asin_test_upward): Likewise.
8235 (asinh_test): Likewise.
8236 (atan_test): Likewise.
8237 (atanh_test): Likewise.
8238 (atan2_test): Likewise.
8239 (cabs_test): Likewise.
8240 (cacos_test): Likewise.
8241 (cacosh_test): Likewise.
8242 (casin_test): Likewise.
8243 (casinh_test): Likewise.
8244 (catan_test): Likewise.
8245 (catanh_test): Likewise.
8246 (cbrt_test): Likewise.
8247 (ccos_test): Likewise.
8248 (ccosh_test): Likewise.
8249 (cexp_test): Likewise.
8250 (clog_test): Likewise.
8251 (clog10_test): Likewise.
8252 (cos_test): Likewise.
8253 (cos_test_tonearest): Likewise.
8254 (cos_test_towardzero): Likewise.
8255 (cos_test_downward): Likewise.
8256 (cos_test_upward): Likewise.
8257 (cosh_test): Likewise.
8258 (cosh_test_tonearest): Likewise.
8259 (cosh_test_towardzero): Likewise.
8260 (cosh_test_downward): Likewise.
8261 (cosh_test_upward): Likewise.
8262 (cpow_test): Likewise.
8263 (csin_test): Likewise.
8264 (csinh_test): Likewise.
8265 (csqrt_test): Likewise.
8266 (ctan_test): Likewise.
8267 (ctan_test_tonearest): Likewise.
8268 (ctan_test_towardzero): Likewise.
8269 (ctan_test_downward): Likewise.
8270 (ctan_test_upward): Likewise.
8271 (ctanh_test): Likewise.
8272 (ctanh_test_tonearest): Likewise.
8273 (ctanh_test_towardzero): Likewise.
8274 (ctanh_test_downward): Likewise.
8275 (ctanh_test_upward): Likewise.
8276 (erf_test): Likewise.
8277 (erfc_test): Likewise.
8278 (exp_test): Likewise.
8279 (exp_test_tonearest): Likewise.
8280 (exp_test_towardzero): Likewise.
8281 (exp_test_downward): Likewise.
8282 (exp_test_upward): Likewise.
8283 (exp10_test): Likewise.
8284 (exp2_test): Likewise.
8285 (expm1_test): Likewise.
8286 (fmod_test): Likewise.
8287 (gamma_test): Likewise.
8288 (hypot_test): Likewise.
8289 (j0_test): Likewise.
8290 (j1_test): Likewise.
8291 (jn_test): Likewise.
8292 (lgamma_test): Likewise.
8293 (log_test): Likewise.
8294 (log10_test): Likewise.
8295 (log1p_test): Likewise.
8296 (log2_test): Likewise.
8297 (logb_test_downward): Likewise.
8298 (pow_test): Likewise.
8299 (pow_test_tonearest): Likewise.
8300 (pow_test_towardzero): Likewise.
8301 (pow_test_downward): Likewise.
8302 (pow_test_upward): Likewise.
8303 (remainder_test): Likewise.
8304 (remquo_test): Likewise.
8305 (sin_test): Likewise.
8306 (sin_test_tonearest): Likewise.
8307 (sin_test_towardzero): Likewise.
8308 (sin_test_downward): Likewise.
8309 (sin_test_upward): Likewise.
8310 (sincos_test): Likewise.
8311 (sinh_test): Likewise.
8312 (sinh_test_tonearest): Likewise.
8313 (sinh_test_towardzero): Likewise.
8314 (sinh_test_downward): Likewise.
8315 (sinh_test_upward): Likewise.
8316 (sqrt_test): Likewise.
8317 (tan_test): Likewise.
8318 (tan_test_tonearest): Likewise.
8319 (tan_test_towardzero): Likewise.
8320 (tan_test_downward): Likewise.
8321 (tan_test_upward): Likewise.
8322 (tanh_test): Likewise.
8323 (tgamma_test): Likewise.
8324 (y0_test): Likewise.
8325 (y1_test): Likewise.
8326 (yn_test): Likewise.
8328 * math/gen-libm-test.pl (adjust_arg): Remove function.
8329 (special_function): Remove argument $in_func. Only handle
8330 generating output for tables of tests, not inside functions.
8331 (parse_args): Likewise.
8332 (generate_testfile): Remove variable $in_func. Update call to
8334 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8335 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8336 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8337 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8338 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8339 (MAX_VALUE_INIT): Rename macro to max_value.
8340 (MIN_VALUE_INIT): Rename macro to min_value.
8341 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8342 (plus_zero): Remove variable.
8343 (minus_zero): Likewise.
8344 (plus_infty): Likewise.
8345 (minus_infty): Likewise.
8346 (qnan_value): Likewise.
8347 (max_value): Likewise.
8348 (min_value): Likewise.
8349 (min_subnorm_value): Likewise.
8351 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8353 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8354 uint64_t or uint32_t usage.
8355 * crypt/sha256-block.c: Likewise.
8356 * crypt/sha256-crypt.c: Likewise.
8357 * crypt/sha256.c: Likewise.
8358 * crypt/sha512-block.c: Likewise.
8359 * crypt/sha512-crypt.c: Likewise.
8360 * crypt/sha512.c: Likewise.
8361 * debug/backtrace-tst.c: Likewise.
8362 * debug/pcprofiledump.c: Likewise.
8363 * elf/cache.c: Likewise.
8364 * elf/dl-cache.c: Likewise.
8365 * elf/dl-misc.c: Likewise.
8366 * elf/dl-profile.c: Likewise.
8367 * elf/dl-support.c: Likewise.
8368 * elf/ldconfig.c: Likewise.
8369 * elf/sprof.c: Likewise.
8370 * iconv/dummy-repertoire.c: Likewise.
8371 * iconv/iconv_charmap.c: Likewise.
8372 * iconv/skeleton.c: Likewise.
8373 * iconvdata/8bit-generic.c: Likewise.
8374 * iconvdata/cp737.h: Likewise.
8375 * iconvdata/cp775.h: Likewise.
8376 * iconvdata/ibm1008.h: Likewise.
8377 * iconvdata/ibm1025.h: Likewise.
8378 * iconvdata/ibm1046.h: Likewise.
8379 * iconvdata/ibm1097.h: Likewise.
8380 * iconvdata/ibm1112.h: Likewise.
8381 * iconvdata/ibm1122.h: Likewise.
8382 * iconvdata/ibm1123.h: Likewise.
8383 * iconvdata/ibm1124.h: Likewise.
8384 * iconvdata/ibm1129.h: Likewise.
8385 * iconvdata/ibm1130.h: Likewise.
8386 * iconvdata/ibm1132.h: Likewise.
8387 * iconvdata/ibm1133.h: Likewise.
8388 * iconvdata/ibm1137.h: Likewise.
8389 * iconvdata/ibm1140.h: Likewise.
8390 * iconvdata/ibm1141.h: Likewise.
8391 * iconvdata/ibm1142.h: Likewise.
8392 * iconvdata/ibm1143.h: Likewise.
8393 * iconvdata/ibm1144.h: Likewise.
8394 * iconvdata/ibm1145.h: Likewise.
8395 * iconvdata/ibm1146.h: Likewise.
8396 * iconvdata/ibm1147.h: Likewise.
8397 * iconvdata/ibm1148.h: Likewise.
8398 * iconvdata/ibm1149.h: Likewise.
8399 * iconvdata/ibm1153.h: Likewise.
8400 * iconvdata/ibm1154.h: Likewise.
8401 * iconvdata/ibm1155.h: Likewise.
8402 * iconvdata/ibm1156.h: Likewise.
8403 * iconvdata/ibm1157.h: Likewise.
8404 * iconvdata/ibm1158.h: Likewise.
8405 * iconvdata/ibm1160.h: Likewise.
8406 * iconvdata/ibm1161.h: Likewise.
8407 * iconvdata/ibm1162.h: Likewise.
8408 * iconvdata/ibm1163.h: Likewise.
8409 * iconvdata/ibm1164.h: Likewise.
8410 * iconvdata/ibm1166.h: Likewise.
8411 * iconvdata/ibm1167.h: Likewise.
8412 * iconvdata/ibm12712.h: Likewise.
8413 * iconvdata/ibm1390.h: Likewise.
8414 * iconvdata/ibm1399.h: Likewise.
8415 * iconvdata/ibm16804.h: Likewise.
8416 * iconvdata/ibm4517.h: Likewise.
8417 * iconvdata/ibm4899.h: Likewise.
8418 * iconvdata/ibm4909.h: Likewise.
8419 * iconvdata/ibm4971.h: Likewise.
8420 * iconvdata/ibm5347.h: Likewise.
8421 * iconvdata/ibm803.h: Likewise.
8422 * iconvdata/ibm856.h: Likewise.
8423 * iconvdata/ibm901.h: Likewise.
8424 * iconvdata/ibm902.h: Likewise.
8425 * iconvdata/ibm9030.h: Likewise.
8426 * iconvdata/ibm9066.h: Likewise.
8427 * iconvdata/ibm921.h: Likewise.
8428 * iconvdata/ibm922.h: Likewise.
8429 * iconvdata/ibm9448.h: Likewise.
8430 * iconvdata/isiri-3342.h: Likewise.
8431 * iconvdata/jis0201.h: Likewise.
8432 * include/link.h: Likewise.
8433 * include/netdb.h: Likewise.
8434 * inet/check_native.c: Likewise.
8435 * inet/check_pf.c: Likewise.
8436 * inet/getipv4sourcefilter.c: Likewise.
8437 * inet/getnameinfo.c: Likewise.
8438 * inet/getsourcefilter.c: Likewise.
8439 * inet/htonl.c: Likewise.
8440 * inet/setipv4sourcefilter.c: Likewise.
8441 * inet/setsourcefilter.c: Likewise.
8442 * inet/test-inet6_opt.c: Likewise.
8443 * inet/tst-network.c: Likewise.
8444 * locale/C-collate.c: Likewise.
8445 * locale/C-ctype.c: Likewise.
8446 * locale/C-time.c: Likewise.
8447 * locale/C-translit.h: Likewise.
8448 * locale/loadarchive.c: Likewise.
8449 * locale/programs/3level.h: Likewise.
8450 * locale/programs/charmap.c: Likewise.
8451 * locale/programs/charmap.h: Likewise.
8452 * locale/programs/ld-address.c: Likewise.
8453 * locale/programs/ld-collate.c: Likewise.
8454 * locale/programs/ld-ctype.c: Likewise.
8455 * locale/programs/ld-identification.c: Likewise.
8456 * locale/programs/ld-measurement.c: Likewise.
8457 * locale/programs/ld-messages.c: Likewise.
8458 * locale/programs/ld-monetary.c: Likewise.
8459 * locale/programs/ld-name.c: Likewise.
8460 * locale/programs/ld-numeric.c: Likewise.
8461 * locale/programs/ld-paper.c: Likewise.
8462 * locale/programs/ld-telephone.c: Likewise.
8463 * locale/programs/ld-time.c: Likewise.
8464 * locale/programs/linereader.c: Likewise.
8465 * locale/programs/locale.c: Likewise.
8466 * locale/programs/locarchive.c: Likewise.
8467 * locale/programs/locfile.h: Likewise.
8468 * locale/programs/repertoire.c: Likewise.
8469 * locale/programs/simple-hash.c: Likewise.
8470 * locale/programs/simple-hash.h: Likewise.
8471 * malloc/memusage.c: Likewise.
8472 * malloc/memusagestat.c: Likewise.
8473 * nis/nis_defaults.c: Likewise.
8474 * nis/nis_hash.c: Likewise.
8475 * nis/nis_print.c: Likewise.
8476 * nis/nis_xdr.c: Likewise.
8477 * nscd/connections.c: Likewise.
8478 * nscd/hstcache.c: Likewise.
8479 * nscd/nscd_gethst_r.c: Likewise.
8480 * nscd/nscd_getserv_r.c: Likewise.
8481 * nscd/nscd_helper.c: Likewise.
8482 * nscd/servicescache.c: Likewise.
8483 * nss/makedb.c: Likewise.
8484 * nss/nss_db/db-XXX.c: Likewise.
8485 * nss/nss_db/db-initgroups.c: Likewise.
8486 * nss/nss_db/db-netgrp.c: Likewise.
8487 * nss/nss_files/files-network.c: Likewise.
8488 * nss/nss_files/files-parse.c: Likewise.
8489 * posix/bug-regex5.c: Likewise.
8490 * posix/fnmatch_loop.c: Likewise.
8491 * posix/regcomp.c: Likewise.
8492 * posix/regexec.c: Likewise.
8493 * posix/tst-rfc3484-2.c: Likewise.
8494 * posix/tst-rfc3484-3.c: Likewise.
8495 * posix/tst-rfc3484.c: Likewise.
8496 * resolv/nss_dns/dns-canon.c: Likewise.
8497 * resolv/nss_dns/dns-network.c: Likewise.
8498 * resolv/res_init.c: Likewise.
8499 * resolv/res_mkquery.c: Likewise.
8500 * resolv/tst-aton.c: Likewise.
8501 * stdlib/cxa_atexit.c: Likewise.
8502 * stdlib/cxa_finalize.c: Likewise.
8503 * stdlib/gen-fpioconst.c: Likewise.
8504 * stdlib/strtol_l.c: Likewise.
8505 * string/tst-endian.c: Likewise.
8506 * sunrpc/auth_des.c: Likewise.
8507 * sunrpc/clnt_udp.c: Likewise.
8508 * sunrpc/rtime.c: Likewise.
8509 * sunrpc/svcauth_des.c: Likewise.
8510 * sunrpc/xdr.c: Likewise.
8511 * sunrpc/xdr_intXX_t.c: Likewise.
8512 * sunrpc/xdr_rec.c: Likewise.
8513 * sysdeps/generic/ldconfig.h: Likewise.
8514 * sysdeps/generic/ldsodefs.h: Likewise.
8515 * sysdeps/generic/memusage.h: Likewise.
8516 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8519 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8526 * sysdeps/posix/getaddrinfo.c: Likewise.
8527 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8528 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8529 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8530 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8531 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8532 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8533 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8534 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8535 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8536 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8537 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8538 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8539 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8540 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8541 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8542 * sysdeps/x86_64/dl-tls.h: Likewise.
8543 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8544 * time/alt_digit.c: Likewise.
8545 * time/era.c: Likewise.
8546 * wcsmbs/tst-c16c32-1.c: Likewise.
8548 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8550 * math/libm-test.inc (struct test_sincos_data): New type.
8551 (RUN_TEST_LOOP_sincos): New macro.
8552 (sincos_test_data): New variable.
8553 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8555 2013-05-16 Richard Henderson <rth@redhat.com>
8557 * math/atest-exp2.c (LIMB64): New macro.
8558 (CONSTSZ): New macro.
8559 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8561 (print_mpn_fp): ... to function scope.
8562 (read_mpn_hex): Remove.
8564 (exp2_mpn): Use mp_log2.
8565 (main): Use mp_exp1.
8567 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8569 * math/libm-test.inc: Remove comment about not testing "inexact"
8571 (INEXACT_EXCEPTION): New macro.
8572 (NO_INEXACT_EXCEPTION): Likewise.
8573 (INVALID_EXCEPTION_OK): Update value.
8574 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8575 (OVERFLOW_EXCEPTION_OK): Likewise.
8576 (UNDERFLOW_EXCEPTION_OK): Likewise.
8577 (IGNORE_ZERO_INF_SIGN): Likewise.
8578 (ERRNO_UNCHANGED): Likewise.
8579 (ERRNO_EDOM): Likewise.
8580 (ERRNO_ERANGE): Likewise.
8581 (test_exceptions): Handle testing "inexact" exceptions.
8582 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8583 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8584 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8585 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8587 (rint_towardzero_test_data): Likewise.
8588 (rint_downward_test_data): Likewise.
8589 (rint_upward_test_data): Likewise.
8591 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8592 with OVERFLOW_EXCEPTION.
8593 (exp10_test_data): Likewise.
8594 (exp2_test_data): Likewise.
8595 (expm1_test_data): Likewise.
8596 (lgamma_test_data): Likewise.
8597 (pow_test_data): Likewise.
8598 (tgamma_test_data): Likewise.
8599 (yn_test_data): Remove duplicate test of overflow.
8601 * math/libm-test.inc (struct test_cc_c_data): New type.
8602 (RUN_TEST_LOOP_cc_c): New macro.
8603 (cpow_test_data): New variable.
8604 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8606 * math/libm-test.inc (struct test_f_L_data): New type.
8607 (RUN_TEST_LOOP_f_L): New macro.
8608 (llrint_test_data): New variable.
8609 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8610 (llrint_tonearest_test_data): New variable.
8611 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8612 (llrint_towardzero_test_data): New variable.
8613 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8614 (llrint_downward_test_data): New variable.
8615 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8616 (llrint_upward_test_data): New variable.
8617 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8618 (llround_test_data): New variable.
8619 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8621 2013-05-13 Peter Collingbourne <pcc@google.com>
8623 * math/atest-exp2.c (get_log2): Remove const attribute.
8625 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8627 * math/libm-test.inc (struct test_f_l_data): New type.
8628 (RUN_TEST_LOOP_f_l): New macro.
8629 (lrint_test_data): New variable.
8630 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8631 (lrint_tonearest_test_data): New variable.
8632 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8633 (lrint_towardzero_test_data): New variable.
8634 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8635 (lrint_downward_test_data): New variable.
8636 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8637 (lrint_upward_test_data): New variable.
8638 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8639 (lround_test_data): New variable.
8640 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8642 2013-05-15 Peter Collingbourne <pcc@google.com>
8644 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8645 (EXTRACT_WORDS64) Use where appropriate.
8646 (INSERT_WORDS64) Likewise.
8648 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8649 constraints with x constraints.
8650 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8652 * malloc/obstack.c (_obstack_compat): Add initializer.
8654 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8656 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8657 si_trapno and add si_addr_lsb to _sifields.sigfault.
8658 (si_trapno): Remove macro.
8659 (si_addr_lsb): Define new macro.
8660 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8662 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8664 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8665 instead of TEST_f_l.
8666 (llrint_test_tonearest): Likewise.
8667 (llrint_test_towardzero): Likewise.
8668 (llrint_test_downward): Likewise.
8669 (llrint_test_upward): Likewise.
8670 (llround_test): Likewise.
8672 * math/libm-test.inc (struct test_f_i_data): Add comment.
8673 (RUN_TEST_LOOP_f_b): New macro.
8674 (RUN_TEST_LOOP_f_b_tg): Likewise.
8675 (finite_test_data): New variable.
8676 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8677 (isfinite_test_data): New variable.
8678 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8679 (isinf_test_data): New variable.
8680 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8681 (isnan_test_data): New variable.
8682 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8683 (isnormal_test_data): New variable.
8684 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8685 (issignaling_test_data): New variable.
8686 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8687 (signbit_test_data): New variable.
8688 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8690 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8691 with INVALID_EXCEPTION.
8692 (acosh_test_data): Likewise.
8693 (asin_test_data): Likewise.
8694 (atanh_test_data): Likewise.
8695 (fmod_test_data): Likewise.
8696 (log_test_data): Likewise.
8697 (log10_test_data): Likewise.
8698 (log2_test_data): Likewise.
8699 (pow_test_data): Likewise.
8700 (sqrt_test_data): Likewise.
8701 (y0_test_data): Likewise.
8702 (y1_test_data): Likewise.
8703 (yn_test_data): Likewise.
8705 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8708 * math/libm-test.inc (struct test_ff_i_data): New type.
8709 (RUN_TEST_LOOP_ff_i_tg): New macro.
8710 (isgreater_test_data): New variable.
8711 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8712 (isgreaterequal_test_data): New variable.
8713 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8714 (isless_test_data): New variable.
8715 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8716 (islessequal_test_data): New variable.
8717 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8718 (islessgreater_test_data): New variable.
8719 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8720 (isunordered_test_data): New variable.
8721 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8723 2013-05-14 David S. Miller <davem@davemloft.net>
8725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8727 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8729 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8731 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8733 (struct test_f_i_data): Change type of max_ulp to int.
8735 * math/libm-test.inc (test_ffI_f1_data): New type.
8736 (RUN_TEST_LOOP_ffI_f1): New macro.
8737 (remquo_test_data): New variable.
8738 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8740 * setjmp/tst-setjmp-fp.c: New file.
8741 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8742 (link-libm): New variable.
8743 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8745 * math/libm-test.inc (struct test_f_i_data): New type.
8746 (RUN_TEST_LOOP_f_i): New macro.
8747 (RUN_TEST_LOOP_f_i_tg): Likewise.
8748 (fpclassify_test_data): New variable.
8749 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8750 (ilogb_test_data): New variable.
8751 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8753 * math/libm-test.inc (scalbln_test): Correct function name in END
8756 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8757 (RUN_TEST_LOOP_fI_f1): New macro.
8758 (frexp_test_data): New variable.
8759 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8761 * math/libm-test.inc (struct test_fF_f1_data): New type.
8762 (RUN_TEST_LOOP_fF_f1): New macro.
8763 (modf_test_data): New variable.
8764 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8766 * math/libm-test.inc (struct test_f_f1_data): New type.
8767 (RUN_TEST_LOOP_f_f1): New macro.
8768 (gamma_test_data): New variable.
8769 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8770 (lgamma_test_data): New variable.
8771 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8773 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8775 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8776 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8777 (main): Comment "tls" pseudo-hwcap.
8779 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8781 * math/libm-test.inc (struct test_fl_f_data): New type.
8782 (RUN_TEST_LOOP_fl_f): New variable.
8783 (scalbln_test_data): New variable.
8784 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8786 * math/libm-test.inc (struct test_fi_f_data): New type.
8787 (RUN_TEST_LOOP_fi_f): New macro.
8788 (ldexp_test_data): New variable.
8789 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8790 (scalbn_test_data): New variable.
8791 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8793 * math/libm-test.inc (struct test_c_f_data): New type.
8794 (RUN_TEST_LOOP_c_f): New macro.
8795 (cabs_test_data): New variable.
8796 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8797 (carg_test_data): New variable.
8798 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8799 (cimag_test_data): New variable.
8800 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8801 (creal_test_data): New variable.
8802 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8804 * math/libm-test.inc (struct test_if_f_data): New type.
8805 (RUN_TEST_LOOP_if_f): New macro.
8806 (jn_test_data): New variable.
8807 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8808 (yn_test_data): New variable.
8809 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8811 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8813 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8815 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8816 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8818 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8820 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8821 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8822 (bench-deps): Add bench-timing.h.
8823 * benchtests-bench-skeleton.c: Include bench-timing.h.
8824 (main): Use TIMING_* macros instead of clock_gettime.
8825 * benchtests/bench-timing.h: New file.
8828 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8829 Renamed from _LIB_VERSION.
8830 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8832 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8834 * math/libm-test.inc (struct test_fff_f_data): New type.
8835 (RUN_TEST_LOOP_fff_f): New macro.
8836 (fma_test_data): New variable.
8837 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8838 (fma_towardzero_test_data): New variable.
8839 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8840 (fma_downward_test_data): New variable.
8841 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8842 (fma_upward_test_data): New variable.
8843 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8845 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8846 (struct test_c_c_data): New type.
8847 (RUN_TEST_LOOP_c_c): New macro.
8848 (cacos_test_data): New variable.
8849 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8850 (cacosh_test_data): New variable.
8851 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8852 (casin_test_data): New variable.
8853 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8854 (casinh_test_data): New variable.
8855 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8856 (catan_test_data): New variable.
8857 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8858 (catanh_test_data): New variable.
8859 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8860 (ccos_test_data): New variable.
8861 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8862 (ccosh_test_data): New variable.
8863 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8864 (cexp_test_data): New variable.
8865 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8866 (clog_test_data): New variable.
8867 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8868 (clog10_test_data): New variable.
8869 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8870 (conj_test_data): New variable.
8871 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8872 (cproj_test_data): New variable.
8873 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8874 (csin_test_data): New variable.
8875 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8876 (csinh_test_data): New variable.
8877 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8878 (csqrt_test_data): New variable.
8879 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8880 (ctan_test_data): New variable.
8881 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8882 (ctan_tonearest_test_data): New variable.
8883 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8884 (ctan_towardzero_test_data): New variable.
8885 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8886 (ctan_downward_test_data): New variable.
8887 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8888 (ctan_upward_test_data): New variable.
8889 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8890 (ctanh_test_data): New variable.
8891 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8892 (ctanh_tonearest_test_data): New variable.
8893 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8894 (ctanh_towardzero_test_data): New variable.
8895 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8896 (ctanh_downward_test_data): New variable.
8897 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8898 (ctanh_upward_test_data): New variable.
8899 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8900 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8903 * math/libm-test.inc (struct test_ff_f_data): New type.
8904 (struct test_ff_f_data_nexttoward): Likewise.
8905 (RUN_TEST_LOOP_2_f): New macro.
8906 (RUN_TEST_LOOP_ff_f): Likewise.
8907 (atan2_test_data): New variable.
8908 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8909 (copysign_test_data): New variable.
8910 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8911 (fdim_test_data): New variable.
8912 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8913 (fmax_test_data): New variable.
8914 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8915 (fmin_test_data): New variable.
8916 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8917 (fmod_test_data): New variable.
8918 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8919 (hypot_test_data): New variable.
8920 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8921 (nextafter_test_data): New variable.
8922 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8923 (nexttoward_test_data): New variable.
8924 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8925 (pow_test_data): New variable.
8926 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8927 (pow_tonearest_test_data): New variable.
8928 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8929 (pow_towardzero_test_data): New variable.
8930 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8931 (pow_downward_test_data): New variable.
8932 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8933 (pow_upward_test_data): New variable.
8934 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8935 (remainder_test_data): New variable.
8936 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8937 (scalb_test_data): New variable.
8938 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8939 * sysdeps/i386/fpu/libm-test-ulps: Update.
8941 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8943 * math/libm-test.inc (fma_test): Use max_value instead of local
8945 (nextafter_test): Likewise.
8947 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8948 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8949 (acos_downward_test_data): New variable.
8950 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8951 (acos_upward_test_data): New variable.
8952 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8953 (acosh_test_data): New variable.
8954 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8955 (asin_test_data): New variable.
8956 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8957 (asin_tonearest_test_data): New variable.
8958 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8959 (asin_towardzero_test_data): New variable.
8960 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8961 (asin_downward_test_data): New variable.
8962 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8963 (asin_upward_test_data): New variable.
8964 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8965 (asinh_test_data): New variable.
8966 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8967 (atan_test_data): New variable.
8968 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8969 (atanh_test_data): New variable.
8970 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8971 (cbrt_test_data): New variable.
8972 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8973 (ceil_test_data): New variable.
8974 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8975 (cos_test_data): New variable.
8976 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8977 (cos_tonearest_test_data): New variable.
8978 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8979 (cos_towardzero_test_data): New variable.
8980 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8981 (cos_downward_test_data): New variable.
8982 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8983 (cos_upward_test_data): New variable.
8984 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8985 (cosh_test_data): New variable.
8986 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8987 (cosh_tonearest_test_data): New variable.
8988 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8989 (cosh_towardzero_test_data): New variable.
8990 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8991 (cosh_downward_test_data): New variable.
8992 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8993 (cosh_upward_test_data): New variable.
8994 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8995 (erf_test_data): New variable.
8996 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8997 (erfc_test_data): New variable.
8998 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8999 (exp_test_data): New variable.
9000 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9001 (exp_tonearest_test_data): New variable.
9002 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9003 (exp_towardzero_test_data): New variable.
9004 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9005 (exp_downward_test_data): New variable.
9006 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9007 (exp_upward_test_data): New variable.
9008 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9009 (exp10_test_data): New variable.
9010 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9011 (exp2_test_data): New variable.
9012 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9013 (expm1_test_data): New variable.
9014 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9015 (fabs_test_data): New variable.
9016 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9017 (floor_test_data): New variable.
9018 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9019 (j0_test_data): New variable.
9020 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9021 (j1_test_data): New variable.
9022 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9023 (log_test_data): New variable.
9024 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9025 (log10_test_data): New variable.
9026 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9027 (log1p_test_data): New variable.
9028 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9029 (log2_test_data): New variable.
9030 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9031 (logb_test_data): New variable.
9032 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9033 (logb_downward_test_data): New variable.
9034 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9035 (nearbyint_test_data): New variable.
9036 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9037 (rint_test_data): New variable.
9038 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9039 (rint_tonearest_test_data): New variable.
9040 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9041 (rint_towardzero_test_data): New variable.
9042 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9043 (rint_downward_test_data): New variable.
9044 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9045 (rint_upward_test_data): New variable.
9046 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9047 (round_test_data): New variable.
9048 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9049 (sin_test_data): New variable.
9050 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9051 (sin_tonearest_test_data): New variable.
9052 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9053 (sin_towardzero_test_data): New variable.
9054 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9055 (sin_downward_test_data): New variable.
9056 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9057 (sin_upward_test_data): New variable.
9058 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9059 (sinh_test_data): New variable.
9060 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9061 (sinh_tonearest_test_data): New variable.
9062 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9063 (sinh_towardzero_test_data): New variable.
9064 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9065 (sinh_downward_test_data): New variable.
9066 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9067 (sinh_upward_test_data): New variable.
9068 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9069 (sqrt_test_data): New variable.
9070 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9071 (tan_test_data): New variable.
9072 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9073 (tan_tonearest_test_data): New variable.
9074 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9075 (tan_towardzero_test_data): New variable.
9076 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9077 (tan_downward_test_data): New variable.
9078 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9079 (tan_upward_test_data): New variable.
9080 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9081 (tanh_test_data): New variable.
9082 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9083 (tgamma_test_data): New variable.
9084 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9085 (trunc_test_data): New variable.
9086 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9087 (y0_test_data): New variable.
9088 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9089 (y1_test_data): New variable.
9090 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9091 (significand_test_data): New variable.
9092 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9094 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9097 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9099 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9101 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9103 2013-05-10 Andreas Jaeger <aj@suse.de>
9106 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9107 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9109 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9111 * math/gen-libm-test.pl (adjust_arg): New function.
9112 (special_functions): Handle generating output in both functions
9114 (parse_args): Likewise.
9115 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9116 $in_func argument to parse_args.
9117 * math/libm-test.inc (struct test_f_f_data): New type.
9118 (IF_ROUND_INIT_): New macro.
9119 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9120 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9121 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9122 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9123 (ROUND_RESTORE_): Likewise.
9124 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9125 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9126 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9127 (ROUND_RESTORE_FE_UPWARD): Likewise.
9128 (RUN_TEST_LOOP_f_f): New macro.
9129 (acos_test_data): New variable.
9130 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9131 (acos_tonearest_test_data): New variable.
9132 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9134 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9136 * benchtests/bench-skeleton.c (startup): Fix coding style.
9138 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9141 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9142 negative infinity argument.
9143 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9144 negative infinity argument.
9145 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9146 negative infinity argument.
9147 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9150 2013-05-10 Florian Weimer <fweimer@redhat.com>
9152 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9153 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9154 * iconv/iconv_prog.c (main): Likewise.
9155 * locale/programs/charmap-dir.c (charmap_readdir)
9156 (fopen_uncompressed): Likewise.
9157 * locale/programs/locfile.c (siblings_uncached)
9158 (write_locale_data): Use lstat64 instead of lstat.
9159 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9162 2013-05-10 Andreas Jaeger <aj@suse.de>
9165 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9169 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9171 * elf/dl-close.c (_dl_close_worker): Add comments.
9173 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9176 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9178 (__ieee754_rem_pio2l): Update comments.
9181 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9183 (__ieee754_rem_pio2l): Update comments.
9185 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9186 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9188 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9191 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9192 (M_PI_34_LOG10El): Likewise.
9193 (M_PI2_LOG10El): Likewise.
9194 (M_PI4_LOG10El): Likewise.
9195 (M_PI_LOG10El): Likewise.
9197 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9201 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9203 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9204 (MINUS_ZERO_INIT): Likewise.
9205 (PLUS_INFTY_INIT): Likewise.
9206 (MINUS_INFTY_INIT): Likewise.
9207 (QNAN_VALUE_INIT): Likewise.
9208 (MAX_VALUE_INIT): Likewise.
9209 (MIN_VALUE_INIT): Likewise.
9210 (MIN_SUBNORM_VALUE_INIT): Likewise.
9211 (plus_zero): Initialize with PLUS_ZERO_INIT.
9212 (minus_zero): Initialize with MINUS_ZERO_INIT.
9213 (plus_infty): Initialize with PLUS_INFTY_INIT.
9214 (minus_infty): Initialize with MINUS_INFTY_INIT.
9215 (qnan_value): Initialize with QNAN_VALUE_INIT.
9216 (max_value): Initialize with MAX_VALUE_INIT.
9217 (min_value): Initialize with MIN_VALUE_INIT.
9218 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9220 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9221 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9222 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9223 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9225 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9226 (RUN_TEST_2_f): Likewise.
9227 (RUN_TEST_ff_f): Likewise.
9228 (RUN_TEST_fi_f): Likewise.
9229 (RUN_TEST_fl_f): Likewise.
9230 (RUN_TEST_fff_f): Likewise.
9231 (RUN_TEST_c_f): Likewise.
9232 (RUN_TEST_f_f1): Likewise.
9233 (RUN_TEST_fF_f1): Likewise.
9234 (RUN_TEST_fI_f1): Likewise.
9235 (RUN_TEST_ffI_f1): Likewise.
9236 (RUN_TEST_c_c): Likewise.
9237 (RUN_TEST_cc_c): Likewise.
9238 (RUN_TEST_f_i): Likewise.
9239 (RUN_TEST_f_i_tg): Likewise.
9240 (RUN_TEST_ff_i_tg): Likewise.
9241 (RUN_TEST_f_b): Likewise.
9242 (RUN_TEST_f_b_tg): Likewise.
9243 (RUN_TEST_f_l): Likewise.
9244 (RUN_TEST_f_L): Likewise.
9245 (RUN_TEST_sincos): Likewise.
9246 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9247 whether to show exceptions. Do not include ");\n" in return
9249 (special_functions): Output call to RUN_TEST_sincos instead of
9250 check_float calls. Update calls to new_test.
9251 (parse_args): Output call to single RUN_TEST_* macro instead of
9252 check_* calls and other assignments. Update calls to new_test.
9258 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9259 input to result for tgamma overflow.
9260 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9261 (gamma_coeff): New variable.
9262 (NCOEFF): New macro.
9263 (gamma_positive): New function.
9264 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9265 underflow here. Use gamma_positive instead of exp (lgamma) for
9267 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9268 (gamma_coeff): New variable.
9269 (NCOEFF): New macro.
9270 (gammaf_positive): New function.
9271 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9272 underflow here. Use gamma_positive instead of exp (lgamma) for
9274 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9275 (gamma_coeff): New variable.
9276 (NCOEFF): New macro.
9277 (gammal_positive): New function.
9278 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9279 underflow here. Use gamma_positive instead of exp (lgamma) for
9281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9282 (gamma_coeff): New variable.
9283 (NCOEFF): New macro.
9284 (gammal_positive): New function.
9285 (__ieee754_gammal_r): Handle positive infinity, overflow and
9286 underflow here. Handle NaN the same as positive infinity. Remove
9287 check x < 0xffffffff for negative integers. Use gamma_positive
9288 instead of exp (lgamma) for other arguments.
9289 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9290 (gamma_coeff): New variable.
9291 (NCOEFF): New macro.
9292 (gammal_positive): New function.
9293 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9294 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9298 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9299 * sysdeps/generic/math_private.h (__gamma_productf): New
9301 (__gamma_product): Likewise.
9302 (__gamma_productl): Likewise.
9303 * math/Makefile (libm-calls): Add gamma_product.
9304 * math/libm-test.inc (tgamma_test): Add more tests.
9305 * sysdeps/i386/fpu/libm-test-ulps: Update.
9306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9308 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9310 * benchtests/bench-skeleton.c (main): Preheat CPU.
9312 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9314 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9316 2013-05-07 Roland McGrath <roland@hack.frob.com>
9318 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9319 and _dl_skip_args_internal.
9321 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9323 * manual/message.texi (Message Translation): Talk about users.
9324 Message to key mapping impacts design.
9326 2013-05-06 Roland McGrath <roland@hack.frob.com>
9328 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9330 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9332 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9333 * sysdeps/wordsize-64/glob64.c: ... here.
9335 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9336 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9339 * debug/getlogin_r_chk.c: Moved to ...
9340 * login/getlogin_r_chk.c: ... here.
9341 * debug/Makefile (routines): Move getlogin_r_chk to ...
9342 * login/Makefile (routines): ... here.
9343 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9344 * login/Versions (libc: GLIBC_2.4): ... here.
9346 * io/poll.c (__poll): Renamed from poll.
9347 Add libc_hidden_def.
9348 (poll): Define as weak alias.
9350 * debug/ptsname_r_chk.c: Moved to ...
9351 * login/ptsname_r_chk.c: ... here.
9352 * debug/Makefile (routines): Move ptsname_r_chk to ...
9353 * login/Makefile (routines): ... here.
9354 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9355 * login/Versions (libc: GLIBC_2.4): ... here.
9357 * posix/getlogin.c: Moved to ...
9358 * login/getlogin.c: ... here.
9359 * posix/getlogin_r.c: Moved to ...
9360 * login/getlogin_r.c: ... here.
9361 * posix/getlogin_r.c: Moved to ...
9362 * login/getlogin_r.c: ... here.
9363 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9364 * login/Makefile (routines): ... here.
9365 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9366 * login/Versions (libc: GLIBC_2.0): ... here.
9368 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9369 (setrlimit): Define as weak alias.
9371 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9372 Call __ names for open, ftruncate, and close.
9373 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9374 (truncate): Define as weak alias.
9376 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9378 * math/gen-libm-test.pl (parse_args): Initialize x before each
9379 test of frexp, modf and remquo.
9381 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9384 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9388 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9390 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9392 2013-05-06 Roland McGrath <roland@hack.frob.com>
9394 * elf/dl-writev.h: New file.
9395 * elf/dl-misc.c: Include it.
9396 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9397 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9399 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9401 * math/libm-test.inc (noXFails): Remove variable.
9402 (noXPasses): Likewise.
9403 (BUILD_COMPLEX_INT): Remove macro.
9404 (print_screen): Remove xfail argument.
9405 (print_screen_max_error): Likewise.
9406 (update_stats): Likewise.
9407 (print_max_error): Likewise. Update calls to other affected
9409 (print_complex_max_error): Likewise.
9410 (test_single_exception): Update calls to print_screen.
9411 (test_single_errno): Likewise.
9412 (check_float_internal): Remove xfail argument. Update calls to
9413 other affected functions.
9414 (check_float): Likewise.
9415 (check_complex): Likewise.
9416 (check_int): Likewise.
9417 (check_long): Likewise.
9418 (check_bool): Likewise.
9419 (check_longlong): Likewise.
9420 (main): Don't print noXFails and noXPasses.
9421 * math/gen-libm-test.pl (top level): Don't mention expected
9422 failure handling in comment.
9423 (new_test): Don't handle expected failures.
9424 (parse_args): Don't mention expected failure handling in comment.
9425 (generate_testfile): Don't handle expected failures.
9426 (parse_ulps): Likewise.
9427 (print_ulps_file): Likewise.
9428 (get_failure): Remove function.
9429 (output_test): Don't handle expected failures.
9430 * make/README.libm-test: Don't mention expected failure handling.
9432 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9433 (minus_zero): Likewise.
9434 (plus_infty): Likewise.
9435 (minus_infty): Likewise.
9436 (qnan_value): Likewise.
9437 (max_value): Likewise.
9438 (min_value): Likewise.
9439 (min_subnorm_value): Likewise.
9440 (initialize): Do not initialize those variables dynamically.
9442 2013-05-03 Roland McGrath <roland@hack.frob.com>
9444 * io/open.c (__open_2): Moved to ...
9445 * io/open_2.c: ... this new file.
9446 * io/open64.c (__open64_2): Moved to ...
9447 * io/open64_2.c: ... this new file.
9448 * io/openat.c (__openat_2): Moved to ...
9449 * io/openat_2.c: ... this new file.
9450 * io/openat64.c (__openat64_2): Moved to ...
9451 * io/openat64_2.c: ... this new file.
9452 * io/Makefile (routines): Add them.
9453 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9454 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9455 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9456 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9457 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9458 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9459 (__openat64): Add hidden_ver.
9460 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9461 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9463 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9464 Separately conditionalize setting of GLRO(dl_sysinfo) so
9465 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9466 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9468 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9470 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9471 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9473 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9474 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9475 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9476 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9477 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9479 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9481 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9484 * math/libm-test.inc (hypot_test): Do not use
9485 IGNORE_ZERO_INF_SIGN.
9487 2013-05-03 Andreas Jaeger <aj@suse.de>
9489 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9491 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9492 (PF_MAX): Adjust for VSOCK change.
9494 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9498 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9501 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9502 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9503 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9505 2013-05-02 David S. Miller <davem@davemloft.net>
9507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9509 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9511 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9513 2013-05-01 Roland McGrath <roland@hack.frob.com>
9515 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9517 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9520 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9521 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9522 Use __attribute__ ((__gnu_inline__)).
9523 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9524 Don't use __attribute__ ((__gnu_inline__)).
9526 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9529 * math/s_catan.c (__catan): Handle small real or imaginary part of
9530 input specially to avoid spurious underflow.
9531 * math/s_catanf.c (__catanf): Likewise.
9532 * math/s_catanh.c (__catanh): Likewise.
9533 * math/s_catanhf.c (__catanhf): Likewise.
9534 * math/s_catanhl.c (__catanhl): Likewise.
9535 * math/s_catanl.c (__catanl): Likewise.
9536 * math/libm-test.inc (catan_test): Add more tests.
9537 (catanh_test): Likewise.
9538 * sysdeps/i386/fpu/libm-test-ulps: Update.
9539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9541 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9545 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9548 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9549 accurately for denominator in atan2.
9550 * math/s_catanf.c (__catanf): Likewise.
9551 * math/s_catanh.c (__catanh): Likewise.
9552 * math/s_catanhf.c (__catanhf): Likewise.
9553 * math/s_catanhl.c (__catanhl): Likewise.
9554 * math/s_catanl.c (__catanl): Likewise.
9555 * math/libm-test.inc (catan_test): Add more tests.
9556 (catanh_test): Likewise.
9557 * sysdeps/i386/fpu/libm-test-ulps: Update.
9558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9560 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9562 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9564 * benchtests/Makefile (bench): Remove slow benchmarks.
9565 * benchtests/atan-inputs: Add slow benchmark inputs.
9566 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9567 (BENCH_FUNC): Accept variant offset.
9569 * benchtests/bench-skeleton.c (main): Run benchmark for each
9571 * benchtests/cos-inputs: Add slow benchmark inputs.
9572 * benchtests/exp-inputs: Likewise.
9573 * benchtests/pow-inputs: Likewise.
9574 * benchtests/sin-inputs: Likewise.
9575 * benchtests/slowatan-inputs: Remove.
9576 * benchtests/slowatan.c: Remove.
9577 * benchtests/slowcos-inputs: Remove.
9578 * benchtests/slowcos.c: Remove.
9579 * benchtests/slowexp-inputs: Remove.
9580 * benchtests/slowexp.c: Remove.
9581 * benchtests/slowpow-inputs: Remove.
9582 * benchtests/slowpow.c: Remove.
9583 * benchtests/slowsin-inputs: Remove.
9584 * benchtests/slowsin.c: Remove.
9585 * benchtests/slowtan-inputs: Remove.
9586 * benchtests/slowtan.c: Remove.
9587 * benchtests/tan-inputs: Add slow benchmark inputs.
9588 * scripts/bench.pl: Parse comments and directives.
9590 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9592 ($(objpfx)bench-%.c): Remove *-ITER.
9593 * benchtests/bench-modf.c: Remove definition of ITER.
9594 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9595 (main): Loop for DURATION seconds instead of fixed number of
9597 * scripts/bench.pl: Don't expect iterations in parameters.
9599 2013-04-29 Roland McGrath <roland@hack.frob.com>
9601 * io/fchdir.c (__fchdir): Renamed from fchdir.
9602 (fchdir): Define as weak alias.
9604 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9606 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9607 (ERRNO_EDOM): Likewise.
9608 (ERRNO_ERANGE): Likewise.
9609 (noErrnoTests): New variable.
9610 (init_max_error): Set errno to 0.
9611 (test_single_errno): New function.
9612 (test_errno): Likewise.
9613 (check_float_internal): Call test_errno. Set errno to 0.
9614 (check_complex): Refer to errno tests in comment.
9615 (check_int): Call test_errno. Set errno to 0.
9616 (check_long): Likewise.
9617 (check_bool): Likewise.
9618 (check_longlong): Likewise.
9619 (cos_test): Use ERRNO_* flags for errno tests instead of
9621 (expm1_test): Likewise.
9622 (fmod_test): Likewise.
9623 (ilogb_test): Likewise.
9624 (lgamma_test): Likewise.
9625 (pow_test): Likewise.
9626 (remainder_test): Likewise.
9627 (sin_test): Likewise.
9628 (tan_test): Likewise.
9629 (yn_test): Likewise.
9630 (initialize): Set errno to 0.
9631 (main): Print number of errno tests.
9632 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9634 2013-04-29 Andreas Jaeger <aj@suse.de>
9637 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9641 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9642 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9646 * stdlib/random.c (__initstate): Return NULL if
9650 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9651 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9654 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9658 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9660 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9661 of individual tests.
9662 (casin_test): Likewise.
9663 (casinh_test): Likewise.
9665 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9668 * math/s_catan.c (__catan): Handle arguments with large real or
9669 imaginary part separately without squaring.
9670 * math/s_catanf.c (__catanf): Likewise.
9671 * math/s_catanh.c (__catanh): Likewise.
9672 * math/s_catanhf.c (__catanhf): Likewise.
9673 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9675 (__catanhl): Handle arguments with large real or imaginary part
9676 separately without squaring.
9677 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9679 (__catanl): Handle arguments with large real or imaginary part
9680 separately without squaring.
9681 * math/libm-test.inc (catan_test): Add more tests.
9682 (catanh_test): Likewise.
9683 * sysdeps/i386/fpu/libm-test-ulps: Update.
9684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9686 2013-04-27 Andreas Jaeger <aj@suse.de>
9689 * stdlib/stdlib.h: Update guards for qecvt.
9690 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9693 2013-04-27 Allan McRae <allan@archlinux.org>
9695 * sysdeps/i386/fpu/libm-test-ulps: Update.
9697 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9700 * math/s_catan.c: Include <float.h>.
9701 (__catan): Ensure underflow exception occurs for underflowed
9703 * math/s_catanf.c: Include <float.h>.
9704 (__catanf): Ensure underflow exception occurs for underflowed
9706 * math/s_catanh.c: Include <float.h>.
9707 (__catanh): Ensure underflow exception occurs for underflowed
9709 * math/s_catanhf.c: Include <float.h>.
9710 (__catanhf): Ensure underflow exception occurs for underflowed
9712 * math/s_catanhl.c: Include <float.h>.
9713 (__catanhl): Ensure underflow exception occurs for underflowed
9715 * math/s_catanl.c: Include <float.h>.
9716 (__catanl): Ensure underflow exception occurs for underflowed
9718 * math/libm-test.inc (catan_test): Add more tests.
9719 (catanh_test): Likewise.
9722 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9724 * math/s_ccoshf.c (__ccoshf): Likewise.
9725 * math/s_ccoshl.c (__ccoshl): Likewise.
9726 * math/s_csin.c (__csin): Likewise.
9727 * math/s_csinf.c (__csinf): Likewise.
9728 * math/s_csinh.c (__csinh): Likewise.
9729 * math/s_csinhf.c (__csinhf): Likewise.
9730 * math/s_csinhl.c (__csinhl): Likewise.
9731 * math/s_csinl.c (__csinl): Likewise.
9732 * math/libm-test.inc (ccos_test): Add more tests.
9733 (ccosh_test): Likewise.
9734 (csin_test): Likewise.
9735 (csinh_test): Likewise.
9737 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9739 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9740 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9741 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9742 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9743 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9744 powerpc/power5+/fpu folders.
9745 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9748 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9752 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9754 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9755 additions to variable.
9756 [$(config-machine) = x86_64] (modules-names): Likewise.
9757 ($(objpfx)tst-audit3): Remove dependency.
9758 ($(objpfx)tst-audit3.out): Likewise.
9759 ($(objpfx)tst-audit4): Likewise.
9760 ($(objpfx)tst-audit4.out): Likewise.
9761 ($(objpfx)tst-audit5): Likewise.
9762 ($(objpfx)tst-audit5.out): Likewise.
9763 ($(objpfx)tst-audit6): Likewise.
9764 ($(objpfx)tst-audit6.out): Likewise.
9765 ($(objpfx)tst-audit7): Likewise.
9766 ($(objpfx)tst-audit7.out): Likewise.
9767 (tst-audit3-ENV): Remove variable.
9768 (tst-audit4-ENV): Likewise.
9769 (tst-audit5-ENV): Likewise.
9770 (tst-audit6-ENV): Likewise.
9771 (tst-audit7-ENV): Likewise.
9772 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9773 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9774 addition to variable.
9775 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9776 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9777 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9780 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9781 tst-audit3, tst-audit4 and tst-audit5.
9782 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9783 tst-audit6 and tst-audit7.
9784 [$(subdir) = elf] (modules-names): Add audit modules for those
9786 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9787 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9788 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9789 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9790 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9791 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9792 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9793 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9794 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9795 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9796 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9797 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9798 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9799 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9800 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9801 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9803 [$(subdir) = elf && $(config-cflags-avx) = yes]
9804 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9805 [$(subdir) = elf && $(config-cflags-avx) = yes]
9806 (CFLAGS-tst-auditmod4a.c): Likewise.
9807 [$(subdir) = elf && $(config-cflags-avx) = yes]
9808 (CFLAGS-tst-auditmod4b.c): Likewise.
9809 [$(subdir) = elf && $(config-cflags-avx) = yes]
9810 (CFLAGS-tst-auditmod6b.c): Likewise.
9811 [$(subdir) = elf && $(config-cflags-avx) = yes]
9812 (CFLAGS-tst-auditmod6c.c): Likewise.
9813 [$(subdir) = elf && $(config-cflags-avx) = yes]
9814 (CFLAGS-tst-auditmod7b.c): Likewise.
9815 * elf/tst-audit3.c: Move to ...
9816 * sysdeps/x86_64/tst-audit3.c: ... here.
9817 * elf/tst-audit4.c: Move to ...
9818 * sysdeps/x86_64/tst-audit4.c: ... here.
9819 * elf/tst-audit5.c: Move to ...
9820 * sysdeps/x86_64/tst-audit5.c: ... here.
9821 * elf/tst-audit6.c: Move to ...
9822 * sysdeps/x86_64/tst-audit6.c: ... here.
9823 * elf/tst-audit7.c: Move to ...
9824 * sysdeps/x86_64/tst-audit7.c: ... here.
9825 * elf/tst-auditmod3a.c: Move to ...
9826 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9827 * elf/tst-auditmod3b.c: Move to ...
9828 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9829 * elf/tst-auditmod4a.c: Move to ...
9830 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9831 * elf/tst-auditmod4b.c: Move to ...
9832 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9833 * elf/tst-auditmod5a.c: Move to ...
9834 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9835 * elf/tst-auditmod5b.c: Move to ...
9836 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9837 * elf/tst-auditmod6a.c: Move to ...
9838 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9839 * elf/tst-auditmod6b.c: Move to ...
9840 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9841 * elf/tst-auditmod6c.c: Move to ...
9842 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9843 * elf/tst-auditmod7a.c: Move to ...
9844 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9845 * elf/tst-auditmod7b.c: Move to ...
9846 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9848 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9851 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9852 define unconditionally.
9853 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9854 define unconditionally.
9855 (INT8_C, INT16_C, etc.): Likewise.
9857 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9859 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9860 __ehdr_start with hidden visibility.
9862 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9864 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9866 * math/libm-test.inc (cos_test): Use accurate hex constants.
9867 (sincost_test): Likewise.
9869 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9871 * math/libm-test.inc (catan_test): Add more tests.
9872 (catanh_test): Likewise.
9874 * math/s_catanf.c (__catanf): Use suffixed floating-point
9876 * math/s_catanhf.c (__catanhf): Likewise.
9877 * math/s_catanhl.c (__catanhl): Likewise.
9878 * math/s_catanl.c (__catanl): Likewise.
9881 * math/s_catan.c (__catan): Calculate imaginary part of result
9882 with log1p not log unless computing log of number close to 0.
9883 * math/s_catanf.c (__catanf): Likewise.
9884 * math/s_catanl.c (__catanl): Likewise.
9885 * math/s_catanh.c (__catanh): Calculate real part of result with
9886 log1p not log unless computing log of number close to 0.
9887 * math/s_catanhf.c (__catanhf): Likewise.
9888 * math/s_catanhl.c (__catanhl): Likewise.
9889 * math/libm-test.inc (catan_test): Add more tests.
9890 (catanh_test): Likewise.
9891 * sysdeps/i386/fpu/libm-test-ulps: Update.
9892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9894 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9896 * benchtests/Makefile: Mention files in which fast and slow
9897 paths of math functions are implemented.
9899 2013-04-23 Roland McGrath <roland@hack.frob.com>
9901 * sysdeps/posix/timespec_get.c: New file.
9903 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9905 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9907 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9909 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9910 powerpc/power5/fpu folders.
9911 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9912 * benchtests/Makefile: Add modf testcase.
9913 * benchtests/bench-modf.c: New file: Benchmark test for mo
9915 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9918 * time/Makefile (tests): Add tst-strptime-whitespace.
9919 * time/strptime_l.c (get_number): Use ISSPACE.
9920 (__strptime_internal): Likewise.
9921 * time/tst-strptime-whitespace.c: New test case.
9923 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9925 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9927 (_nss_files_init): Set it here.
9929 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9931 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9932 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9935 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9937 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9939 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9941 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9944 2013-04-21 David S. Miller <davem@davemloft.net>
9946 * po/ru.po: Update Russion translation from translation project.
9948 2013-04-17 Adam Conrad <adconrad@0c3.net>
9950 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9953 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9955 * configure.in: Remove i386 configure warning. Remove i386 case.
9956 * configure: Regenerate.
9957 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9958 Add example to error message.
9959 * sysdeps/i386/configure: Regenerate.
9961 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9963 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9965 * benchtests/cos-inputs: New file.
9966 * benchtests/slowcos-inputs: New file.
9967 * benchtests/slowcos.c: New file.
9968 * benchtests/slowtan-inputs: New file.
9969 * benchtests/slowtan.c: New file.
9970 * benchtests/tan-inputs: New file.
9972 2013-04-16 Roland McGrath <roland@hack.frob.com>
9974 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9977 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9979 * benchtests/Makefile: Include cppflags-iterator.mk to add
9980 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9982 * Makefile.in (bench-clean): New target.
9983 * benchtests/Makefile (bench-clean): Likewise.
9985 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9987 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9989 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9991 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9993 2013-04-15 Andreas Schwab <schwab@suse.de>
9995 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9997 * nscd/pwdcache.c (cache_addpw): Likewise.
9998 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10001 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10003 * benchtests/Makefile (bench): Write all output to
10004 bench-out.tmp together.
10006 2013-04-15 Andreas Schwab <schwab@suse.de>
10008 * nscd/nscd.c (main): Don't fork again after closing files.
10010 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10012 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10014 * benchtests/Rules (bench-deps): Collect dependencies into a
10015 single variable. Add Makefile to dependencies.
10016 ($(objpfx)bench-%.c): Depend on bench-deps.
10018 2013-04-12 Roland McGrath <roland@hack.frob.com>
10019 Xavier Roche <roche+kml2@exalead.com>
10022 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10023 just that it's a file descriptor.
10024 * manual/llio.texi (Synchronizing AIO Operations): Update description
10025 for EBADF error from aio_fsync.
10027 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10029 * Rules (bench): Move target definition...
10030 * benchtests/Makefile: ... here.
10032 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10034 * math/libm-test.inc (cos_test): Fix PI/2 test.
10035 (sincos_test): Likewise.
10036 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10037 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10039 2013-04-11 Andreas Schwab <schwab@suse.de>
10042 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10043 accept exponent character only when digits were seen.
10044 * stdio-common/Makefile (tests): Add bug26.
10045 * stdio-common/bug26.c: New file.
10048 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10051 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10053 * Makeconfig (rtld-prefix): Define built linker prefix.
10054 * Rules (run-bench): Use it.
10055 * math/Makefile (run-regen-ulps): Likewise.
10057 * Rules (bench): Remove eval.
10059 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10060 Roland McGrath <roland@hack.frob.com>
10061 Ondrej Bilka <neleai@seznam.cz>
10064 * time/getdate.c: Include ctype.h and alloca.h.
10065 (__getdate_r): Trim leading and trailing spaces of input.
10066 * time/tst-getdate.c (tests): Add tests with leading and
10069 2013-04-08 Roland McGrath <roland@hack.frob.com>
10072 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10073 when computing value.
10075 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10077 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10078 Use testrun.sh to run libm tests.
10081 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10083 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10086 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10088 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10090 * Makefile.in (regen-ulps): New target.
10091 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10092 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10093 [ifneq (no,$(PERL)] (regen-ulps): New target.
10094 [ifeq (no,$(PERL)] (regen-ulps): New target.
10095 * math/libm-test.inc (ulps_file_name): Define.
10096 (output_dir): New variable.
10097 (options): Add "output-dir" option.
10098 (parse_opt): Handle 'o' case.
10099 (main): If output_dir is non-NULL use it as a prefix
10101 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10103 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10105 [BZ #10060, #10062]
10106 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10107 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10108 fail configure if __sync_val_compare_and_swap is not inlined.
10109 * sysdeps/i386/configure: Regenerate.
10110 * configure.in: Build for i686 when configured for i386.
10111 * configure: Regenerate.
10112 * README: Remove i386 reference.
10114 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10116 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10119 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10121 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10122 (lmsnanval): New variables.
10123 (F): Add conversion tests.
10124 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10125 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10127 * stdio-common/tstdiomisc.c (F): Properly collect individual
10130 [BZ #14686, #15336]
10131 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10132 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10133 Instead, use input NaN values or generate a qNaN by arithmetic
10134 operation. Also fix bugs to comply with the standard.
10135 * math/libm-test.inc (remainder_test): Add more tests.
10137 [BZ #15335, #15342]
10138 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10140 input NaN values or generate a qNaN by arithmetic operation.
10142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10145 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10148 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10151 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10152 underflowed result.
10153 * math/s_cexpf.c (__cexpf): Likewise.
10154 * math/s_cexpl.c (__cexpl): Likewise.
10155 * math/libm-test.inc (cexp_test): Add more tests.
10157 2013-04-03 Andreas Schwab <schwab@suse.de>
10160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10161 order arrays from heap if bigger than alloca cutoff.
10163 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10165 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10166 (SNAN_TESTS_double): Refer to GCC PR56831.
10167 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10170 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10172 * Rules (bench): Move bench.out after the run is complete.
10174 * Rules (bench): Echo currently running benchmark.
10176 * benchtests/Makefile (bench): Add atan and slowatan.
10177 * benchtests/atan-inputs: New file.
10178 * benchtests/slowatan-inputs: New file.
10179 * benchtests/slowatan.c: New file.
10181 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10186 * sysdeps/unix/sysv/linux/kernel-features.h
10187 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10188 __ASSUME_XFS_RESTRICTED_CHOWN.
10189 * sysdeps/unix/sysv/linux/pathconf.c
10190 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10191 Save and restore errno.
10193 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10196 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10197 arguments using __kernel_casinh.
10198 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10199 arguments using __kernel_casinhf.
10200 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10201 arguments using __kernel_casinhl.
10202 * math/libm-test.inc (cacosh_test): Add more tests.
10203 * sysdeps/i386/fpu/libm-test-ulps: Update.
10204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10206 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10208 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10211 * bench/Makefile (bench): Add sin and slowsin.
10212 * benchtests/sin-inputs: New file.
10213 * benchtests/slowsin-inputs: New file.
10214 * benchtests/slowsin.c: New file.
10216 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10217 (bench): Add slowexp and slowpow.
10218 (exp-ITER): Increase iterations.
10219 (pow-ITER): Likewise.
10220 * benchtests/exp-inputs: Change input.
10221 * benchtests/pow-inputs: Likewise.
10222 * benchtests/slowexp-inputs: New file.
10223 * benchtests/slowexp.c: New file.
10224 * benchtests/slowpow-inputs: New file.
10225 * benchtests/slowpow.c: New file.
10227 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10229 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10231 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10232 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10233 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10234 * benchtests/Makefile: Add rint benchtest.
10235 * benchtests/rint-inputs: Input for rint benchtest.
10237 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10239 * Versions.def (libm): Add GLIBC_2.18.
10240 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10241 hidden libm prototypes.
10242 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10243 * math/Makefile (libm-calls): Add s_issignaling.
10244 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10245 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10246 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10248 * math/math.h [__USE_GNU] (issignaling): New macro.
10249 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10250 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10252 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10255 * manual/arith.texi (issignaling): New section.
10256 * manual/libm-err-tab.pl (@all_functions): Update comment.
10257 * math/gen-libm-test.pl (parse_args): Apply special handling for
10259 * math/libm-test.inc (print_float, issignaling_test): New
10261 (check_float_internal): Add issignaling checks.
10262 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10263 default definition.
10264 * sysdeps/powerpc/math-tests.h: New file.
10265 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10267 * math/test-snan.c (TEST_FUNC): Likewise.
10269 2013-03-30 David S. Miller <davem@davemloft.net>
10271 * po/de.po: Update from translation team.
10273 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10276 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10277 imaginary part less than 1.0 and real part less than 0.5
10279 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10280 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10281 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10282 (cacos_test): Add more tests.
10283 (casin_test): Likewise.
10284 (casinh_test): Likewise.
10285 * sysdeps/i386/fpu/libm-test-ulps: Update.
10286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10288 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10290 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10291 ONE with its value.
10293 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10294 (__pow_mp): Replace ONE and MONE with their values.
10295 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10297 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10298 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10299 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10302 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10304 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10305 (__pow_mp): Replace ZERO and MZERO with their values.
10306 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10308 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10310 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10311 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10314 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10316 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10318 2013-03-28 Roland McGrath <roland@hack.frob.com>
10320 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10321 Declare with __attribute__ ((weak)).
10322 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10323 Call __call_tls_dtors only if it's not NULL.
10325 2013-03-28 Roland McGrath <roland@hack.frob.com>
10327 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10328 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10329 magic __ehdr_start linker symbol if it's defined.
10330 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10331 them up here if it was already done.
10333 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10334 (_dl_aux_init): Use const in cast when setting it.
10335 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10336 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10337 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10339 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10341 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10342 * csu/libc-tls.c: Nor here.
10343 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10345 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10346 (__libc_message): Never call vsyslog.
10348 2013-03-28 Alan Modra <amodra@gmail.com>
10350 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10352 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10355 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10362 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10365 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10366 Don't add gid passed as argument.
10368 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10370 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10373 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10374 imaginary part between 1.0 and 1.5 and real part less than 0.5
10376 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10377 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10378 * math/libm-test.inc (cacos_test): Add more tests.
10379 (casin_test): Likewise.
10380 (casinh_test): Likewise.
10381 * sysdeps/i386/fpu/libm-test-ulps: Update.
10382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10384 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10386 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10389 (denorm): Likewise.
10390 (__dbl_mp): Likewise.
10391 (add_magnitudes): Likewise.
10392 (sub_magnitudes): Likewise.
10400 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10402 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10403 (__dubcos): Likewise.
10404 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10405 (__ieee754_acos): Likewise.
10406 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10407 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10408 (__exp1): Likewise.
10409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10412 (my_log2): Likewise.
10413 (checkint): Likewise.
10414 * sysdeps/ieee754/dbl-64/e_remainder.c
10415 (__ieee754_remainder): Likewise.
10416 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10418 (bsloww): Likewise.
10419 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10421 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10422 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10423 MANTISSA_STORE_T to store computations on mantissa. Use
10424 macros for rounding and division.
10425 (denorm): Likewise.
10426 (__dbl_mp): Likewise.
10427 (add_magnitudes): Likewise.
10428 (sub_magnitudes): Likewise.
10431 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10432 powers of two in terms of TWOPOW macro.
10433 (mp_no): Make type of mantissa as MANTISSA_T.
10434 [!RADIXI]: Define RADIXI.
10435 [!TWO52]: Define TWO52.
10436 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10438 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10440 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10441 llroundl symbol when building for PPC32.
10443 2013-03-24 Mark H Weaver <mhw@netris.org>
10445 * manual/arith.texi (Normalization Functions): Fix prototypes for
10446 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10448 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10452 high value to check if expl overflow.
10453 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10454 to check for underflow and overflow.
10455 * math/libm-test.inc: Add exp test.
10457 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10460 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10463 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10465 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10468 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10470 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10471 wrap blocks consisting of several statements.
10473 * sysdeps/generic/math-tests.h: New file.
10474 * sysdeps/i386/fpu/math-tests.h: Likewise.
10475 * math/test-snan.c: Include it.
10476 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10478 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10481 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10482 (__ieee754_j0l): Do not improve calculations using cos of twice
10483 input for inputs above LDBL_MAX / 2.0L.
10484 (__ieee754_y0l): Likewise.
10485 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10486 (__ieee754_j1l): Do not improve calculations using cos of twice
10487 input for inputs above LDBL_MAX / 2.0L.
10488 (__ieee754_y1l): Likewise.
10489 * math/libm-test.inc (j0_test): Add another test.
10490 (j1_test): Likewise.
10491 (y0_test): Likewise.
10492 (y1_test): Likewise.
10493 * sysdeps/i386/fpu/libm-test-ulps: Update.
10495 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10497 * Rules ($(objpfx)bench-%.c): Include code from a C source
10500 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10503 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10504 imaginary part 1.0 and real part less than 0.5 specially.
10505 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10506 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10507 * math/libm-test.inc (cacos_test): Add more tests.
10508 (casin_test): Likewise.
10509 (casinh_test): Likewise.
10510 * sysdeps/i386/fpu/libm-test-ulps: Update.
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10513 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10516 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10518 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10520 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10521 * config.make.in (config-cflags-sse4): Remove variable.
10522 (config-cflags-avx): Likewise.
10523 (config-cflags-sse2avx): Likewise.
10524 (config-cflags-novzeroupper): Likewise.
10525 (config-asflags-i686): Likewise.
10526 (have-mfma4): Likewise.
10527 (have-as-vis3): Likewise.
10529 * configure.in (MIG): Do not AC_SUBST.
10530 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10531 (libc_cv_cc_sse4): Do not AC_SUBST.
10532 (libc_cv_cc_avx): Likewise.
10533 (libc_cv_cc_sse2avx): Likewise.
10534 (libc_cv_cc_novzeroupper): Likewise.
10535 (libc_cv_cc_fma4): Likewise.
10536 (libc_cv_as_i686): Likewise.
10537 (libc_cv_sparc_as_vis3): Likewise.
10538 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10540 (config-asflags-i686): Likewise.
10541 (config-cflags-avx): Likewise.
10542 (config-cflags-sse2avx): Likewise.
10543 (have-mfma4): Likewise.
10544 (config-cflags-novzeroupper): Likewise.
10545 * sysdeps/mach/configure.in (MIG): Likewise.
10546 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10547 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10549 (config-cflags-avx): Likewise.
10550 (config-cflags-sse2avx): Likewise.
10551 (have-mfma4): Likewise.
10552 (config-cflags-novzeroupper): Likewise.
10553 * configure: Regenerated.
10554 * sysdeps/i386/configure: Likewise.
10555 * sysdeps/mach/configure: Likewise.
10556 * sysdeps/sparc/configure: Likewise.
10557 * sysdeps/x86_64/configure: Likewise.
10559 2013-03-20 Roland McGrath <roland@hack.frob.com>
10562 * locale/programs/localedef.c (options): Put N_ translation marker
10563 on argument names, not just descriptions.
10565 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10567 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10569 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10572 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10574 2013-03-19 Roland McGrath <roland@hack.frob.com>
10576 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10577 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10578 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10579 [!BEFORE_ABORT] (before_abort): New function.
10580 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10581 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10582 (writev_for_fatal): New function.
10583 (WRITEV_FOR_FATAL): New macro; call that.
10584 (backtrace_and_maps): New function.
10585 (BEFORE_ABORT): New macro; call that.
10586 (struct str_list): Type removed.
10587 (__libc_message, __libc_fatal): Functions removed.
10588 Include <sysdeps/posix/libc_fatal.c> instead.
10590 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10592 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10594 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10597 2013-03-19 Andreas Schwab <schwab@suse.de>
10599 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10600 * sysdeps/gnu/configure: Regenerate.
10602 * configure.in: Substitute libc_cv_rtlddir.
10603 * configure: Regenerate.
10604 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10605 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10606 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10607 * elf/Makefile (install-others, CFLAGS-interp.c)
10608 (ldso_install, common-ldd-rewrite): Likewise.
10609 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10610 $(inst_slibdir)/$(rtld-installed-name).
10611 * scripts/rellns-sh: Add -p option.
10612 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10615 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10617 * manual/nptl.texi: Renamed to ...
10618 * manual/threads.texi: ... this.
10619 * manual/Makefile (chapters): Update.
10621 2013-03-18 Roland McGrath <roland@hack.frob.com>
10624 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10625 on argument names, not just descriptions.
10626 * malloc/memusagestat.c (options): Likewise.
10627 * nss/getent.c (options): Likewise.
10629 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10632 * iconv/iconv_prog.c (options): Put N_ translation marker
10633 on argument names, not just descriptions.
10634 * iconv/iconvconfig.c (options): Likewise.
10636 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10638 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10639 implementation which is faster on all x86_64 architectures.
10640 Tested on AMD, Intel Nehalem, SNB, IVB.
10641 * sysdeps/x86_64/strnlen.S: Likewise.
10643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10644 Remove all multiarch strlen and strnlen versions.
10645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10646 Remove strlen and strnlen related parts.
10648 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10649 Inline strlen part.
10650 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10652 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10653 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10654 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10655 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10656 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10657 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10659 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10661 * manual/memory.texi (Malloc Tunable Parameters):
10662 Sort parameters alphabetically. Add comments for missing entries.
10664 2013-03-17 David S. Miller <davem@davemloft.net>
10666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10668 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10671 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10672 for arguments at most half maximum finite value.
10673 * math/libm-test.inc (j0_test): Add more tests.
10674 (j1_test): Likewise.
10675 (y0_test): Likewise.
10676 (y1_test): Likewise.
10677 * sysdeps/i386/fpu/libm-test-ulps: Update.
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10681 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10682 1 / x and functions P and Q for arguments above 0x1p256L.
10683 (__ieee754_y0l): Likewise.
10684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10685 (__ieee754_y1l): Likewise.
10686 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10687 (j1_test): Likewise.
10688 (y0_test): Likewise.
10689 (y1_test): Likewise.
10691 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10693 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10696 2013-03-15 Roland McGrath <roland@hack.frob.com>
10698 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10699 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10700 zero since it's initialized to EXEC_PAGESIZE.
10702 * sysdeps/unix/sysv/linux/ldsodefs.h
10703 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10704 * sysdeps/generic/ldsodefs.h: ... here.
10706 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10708 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10710 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10712 * math/test-snan.c: Renamed from
10713 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10714 * math/Makefile (tests): Add test-snan.
10715 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10718 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10719 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10721 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10722 __builtin_nan family of functions.
10723 * math/libm-test.inc (initialize): Initialize qnan_value with
10724 __builtin_nan family of functions.
10725 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10727 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10729 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10730 storage class. Initialize qNaN_var and sNaN_var with
10731 __builtin_nan and __builtin_nans families of functions,
10734 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10735 (sqrt_test): Remove duplicate test with qNaN input.
10736 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10737 (round_test, signbit_test, significand_test): Note missing +/-Inf
10738 as well as qNaN tests.
10740 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10741 qNaN_var. Fix a few strings, too.
10742 * math/libm-test.inc (nan_value): Rename to qnan_value.
10743 * math/gen-libm-test.pl (%beautify): Adjust to that.
10744 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10745 * math/test-misc.c (main): Likewise.
10746 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10747 to __qnan_bytes, and __qnan_union, respectively.
10748 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10750 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10751 and lqnanval, respectively.
10752 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10753 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10754 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10755 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10757 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10758 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10761 * math/test-misc.c (main): Fix copy'n'pastos.
10762 * misc/tst-efgcvt.c (special): Likewise.
10764 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10765 Remove declarations.
10767 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10769 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10770 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10771 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10774 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10776 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10777 macro to return vdso values correctly in IFUNC implementations.
10778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10779 Optimization by using IFUNC.
10781 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10782 Richard Henderson <rth@redhat.com>
10783 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10785 * Makefile.in (bench): New target.
10786 * NEWS: Mention the benchmark framework.
10787 * Rules (bench): Likewise.
10788 (binaries-bench): Generate binaries for functions to
10790 * benchtests/Makefile: New makefile for benchmark tests.
10791 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10793 * benchtests/exp-inputs: New input file for EXP function.
10794 * benchtests/pow-inputs: New input file for POW function.
10795 * scripts/bench.pl: New script to generate source files for
10796 benchmark programs.
10798 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10800 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10801 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10802 computations on mantissa. Use macros for rounding and
10804 (denorm): Likewise.
10805 (__dbl_mp): Likewise.
10806 (add_magnitudes): Likewise.
10807 (sub_magnitudes): Likewise.
10810 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10811 powers of two in terms of TWOPOW macro.
10812 (mp_no): Make type of mantissa as MANTISSA_T.
10813 [!RADIXI]: Define RADIXI.
10814 [!TWO52]: Define TWO52.
10815 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10817 * manual/nptl.texi (cindex): Modify threads to pthreads.
10819 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10821 * sysdeps/x86_64/preconfigure: Regenerated.
10823 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10826 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10828 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10829 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10831 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10832 * math/libm-test.inc (j0_test): Do not allow one spurious
10833 underflow exception.
10834 (y1_test): Likewise.
10836 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10838 * manual/Makefile (chapters): Add nptl.
10839 * manual/debug.texi (Debugging Support): Add link to Threads
10841 * manual/nptl.texi: New file.
10843 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10845 2013-03-14 Petr Baudis <pasky@ucw.cz>
10847 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10848 for non-NULL pointer before the memory validity test. Pointed
10849 out by Holger Brunck <holger.brunck@keymile.com>.
10851 2013-03-13 Andreas Schwab <schwab@suse.de>
10853 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10856 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10858 * timezone/zic.c: Update from tzcode 2013b.
10860 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10862 * manual/install.texi (Configuring and compiling):
10863 Mention i686 and i586.
10864 * INSTALL: Regenerate.
10866 2013-03-12 Roland McGrath <roland@hack.frob.com>
10868 * sysdeps/init_array/elf-init.c: New file.
10870 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10871 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10873 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10874 __gmon_start__ as global, but as static with a .preinit_array pointer.
10875 * sysdeps/init_array/gmon-start.c: New file. Use that.
10876 * sysdeps/init_array/crti.S: New file, empty except for comments.
10877 * sysdeps/init_array/crtn.S: Likewise.
10879 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10881 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10884 Remove Prefer_SSE_for_memop.
10885 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10886 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10887 HAS_PREFER_SSE_FOR_MEMOP.
10888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10891 Remove bzero, memset ifunc support.
10892 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10893 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10894 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10895 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10897 2013-03-11 Andreas Schwab <schwab@suse.de>
10900 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10903 (GLIBC_2.16): Remove pthread_atfork.
10905 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10907 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10908 (ptestcases.h): Likewise.
10910 2013-03-08 Roland McGrath <roland@hack.frob.com>
10912 * Makeconfig ($(common-objpfx)config.status): Depend on
10913 sysdeps/*/preconfigure{,.in} too.
10915 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10917 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10918 (__free_hook): Use void * instead of __malloc_ptr_t.
10919 (__malloc_hook): Likewise.
10920 (__realloc_hook): Likewise.
10921 (__memalign_hook): Likewise.
10922 (__after_morecore_hook): Likewise.
10923 * malloc/arena.c (save_malloc_hook): Likewise.
10924 (save_free_hook): Likewise.
10925 * malloc/hooks.c (malloc_hook_ini): Likewise.
10926 (realloc_hook_ini): Likewise.
10927 (memalign_hook_ini): Likewise.
10928 * malloc/malloc.c (malloc_hook_ini): Likewise.
10929 (realloc_hook_ini): Likewise.
10930 (memalign_hook_ini): Likewise.
10931 (__free_hook): Likewise.
10932 (__malloc_hook): Likewise.
10933 (__realloc_hook): Likewise.
10934 (__memalign_hook): Likewise.
10935 (__libc_malloc): Likewise.
10936 (__libc_free): Likewise.
10937 (__libc_realloc): Likewise.
10938 (__libc_memalign): Likewise.
10939 (__libc_valloc): Likewise.
10940 (__libc_pvalloc): Likewise.
10941 (__libc_calloc): Likewise.
10942 (__posix_memalign): Likewise.
10943 * malloc/morecore.c (__sbrk): Likewise.
10944 (__default_morecore): Likewise.
10946 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10948 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10949 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10950 __malloc_ptrdiff_t.
10952 * malloc/malloc.h (__malloc_size_t): Remove macro.
10953 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10955 (old_memalign_hook): Likewise.
10956 (old_realloc_hook): Likewise.
10957 (struct hdr): Likewise.
10959 (mallochook): Likewise.
10960 (memalignhook): Likewise.
10961 (reallochook): Likewise.
10962 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10963 (tr_old_realloc_hook): Likewise.
10964 (tr_old_memalign_hook): Likewise.
10965 (tr_mallochook): Likewise.
10966 (tr_reallochook): Likewise.
10967 (tr_memalignhook): Likewise.
10969 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10972 default_ldbl_pack and using as default implementation.
10973 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10975 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10976 redundant definition.
10977 (ldbl_insert_mantissa): Likewise.
10978 (ldbl_canonicalize): Likewise.
10979 (ldbl_nearbyint): Likewise.
10980 (ldbl_pack): Rename to ldbl_pack_ppc.
10981 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10982 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10983 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10985 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10988 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10989 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10990 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10992 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10993 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10994 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10996 2013-03-07 Andreas Jaeger <aj@suse.de>
10998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11001 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11003 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11004 Include mpa.h and declare __MPEXP.
11005 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11006 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11007 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11008 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11009 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11010 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11011 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11013 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11014 (__slowpow): Use long double EXPL and LOGL functions to
11016 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11017 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11018 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11019 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11020 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11024 intermediate variable to calculate exponent.
11026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11030 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11031 [!NO__SQR]: Define __sqr.
11032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11033 and NO__SQR. Remove all code except __mul and __sqr. Include
11034 sysdeps/ieee754/dbl-64/mpa.c.
11035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11038 * posix/Makefile (tests): Add tst-pathconf.
11039 * posix/tst-pathconf.c: New test case.
11040 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11042 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11044 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11046 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11048 2013-03-06 Andreas Jaeger <aj@suse.de>
11050 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11051 definition via __MAP_ANONYMOUS.
11053 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11054 it's not part of Linux headers.
11056 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11057 (MAP_HUGE_MASK): Define.
11059 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11062 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11065 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11068 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11072 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11073 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11074 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11075 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11076 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11077 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11083 Handle f2fs and efivarfs.
11085 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11088 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11089 (EFIVARFS_MAGIC): Add.
11090 (F2FS_LINK_MAX): Add.
11092 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11094 * stdio-common/vfprintf.c: Replace __builtin_expect with
11097 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11100 * sysdeps/generic/bp-sym.h: Remove file.
11101 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11102 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11103 <bp-sym.h> and <bp-asm.h>.
11104 (__longjmp): Don't use BP_SYM.
11105 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11107 (memcpy): Don't use BP_SYM.
11108 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11109 <bp-sym.h> and <bp-asm.h>.
11110 (memcpy): Don't use BP_SYM.
11111 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11113 (memcpy): Don't use BP_SYM.
11114 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11116 (memset): Don't use BP_SYM.
11117 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11118 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11119 (__bzero): Don't use BP_SYM.
11120 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11121 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11122 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11123 <bp-sym.h> and <bp-asm.h>.
11124 (memcmp): Don't use BP_SYM. Remove comment about bounded
11126 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11127 <bp-sym.h> and <bp-asm.h>.
11128 (memcpy): Don't use BP_SYM.
11129 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11130 <bp-sym.h> and <bp-asm.h>.
11131 (memset): Don't use BP_SYM.
11132 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11133 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11134 (__bzero): Don't use BP_SYM.
11135 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11136 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11137 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11138 <bp-sym.h> and <bp-asm.h>.
11139 (strncmp): Don't use BP_SYM. Remove comment about bounded
11141 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11142 <bp-sym.h> and <bp-asm.h>.
11143 (memcpy): Don't use BP_SYM.
11144 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11145 <bp-sym.h> and <bp-asm.h>.
11146 (memset): Don't use BP_SYM.
11147 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11148 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11149 (__bzero): Don't use BP_SYM.
11150 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11151 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11152 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11153 <bp-sym.h> and <bp-asm.h>.
11154 (__memchr): Don't use BP_SYM.
11155 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11156 <bp-sym.h> and <bp-asm.h>.
11157 (memcmp): Don't use BP_SYM. Remove comment about bounded
11159 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11160 <bp-sym.h> and <bp-asm.h>.
11161 (memcpy): Don't use BP_SYM.
11162 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11163 <bp-sym.h> and <bp-asm.h>.
11164 (__mempcpy): Don't use BP_SYM.
11165 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11166 <bp-sym.h> and <bp-asm.h>.
11167 (__memrchr): Don't use BP_SYM.
11168 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11169 <bp-sym.h> and <bp-asm.h>.
11170 (memset): Don't use BP_SYM.
11171 (__bzero): Likewise.
11172 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11173 <bp-sym.h> and <bp-asm.h>.
11174 (__rawmemchr): Don't use BP_SYM.
11175 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11176 <bp-sym.h> and <bp-asm.h>.
11177 (__STRCMP): Don't use BP_SYM.
11178 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11179 <bp-sym.h> and <bp-asm.h>.
11180 (strchr): Don't use BP_SYM.
11181 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11182 <bp-sym.h> and <bp-asm.h>.
11183 (__strchrnul): Don't use BP_SYM.
11184 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11185 <bp-sym.h> and <bp-asm.h>.
11186 (strlen): Don't use BP_SYM.
11187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11188 <bp-sym.h> and <bp-asm.h>.
11189 (strncmp): Don't use BP_SYM. Remove comment about bounded
11191 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11192 <bp-sym.h> and <bp-asm.h>.
11193 (__strnlen): Don't use BP_SYM.
11194 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11195 <bp-sym.h> and <bp-asm.h>.
11196 (__GI__setjmp): Don't use BP_SYM.
11197 (_setjmp): Likewise.
11198 (__sigsetjmp): Likewise.
11199 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11200 (L(start_addresses)): Don't use BP_SYM.
11201 (_start): Likewise.
11202 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11204 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11205 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11206 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11207 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11208 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11210 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11211 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11212 about bounded pointers.
11213 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11214 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11215 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11217 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11218 about bounded pointers. Remove GKM FIXME comments.
11219 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11220 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11222 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11223 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11224 Remove GKM FIXME comments.
11225 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11226 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11227 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11229 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11230 about bounded pointers. Remove GKM FIXME comment.
11231 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11233 (strncmp): Don't use BP_SYM. Remove comment about bounded
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11236 <bp-sym.h> and <bp-asm.h>.
11237 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11239 <bp-sym.h> and <bp-asm.h>.
11240 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11243 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11245 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11248 2013-03-05 David S. Miller <davem@davemloft.net>
11250 * po/es.po: Update from translation team.
11252 2013-03-05 Andreas Jaeger <aj@suse.de>
11254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11255 <bits/mman-linux.h>.
11256 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11258 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11259 <bits/mman-linux.h> to end of file.
11260 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11262 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11263 <bits/mman-linux.h> to end of file.
11264 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11267 <bits/mman-linux.h> to end of file.
11269 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11270 (MCL_CURRENT, MCL_FUTURE): Define here.
11272 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11275 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11279 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11281 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11282 fourth parameter needed for rt_sigprocmask syscall.
11283 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11284 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11285 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11286 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11287 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11288 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11290 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11293 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11294 comment about bounded pointers.
11295 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11296 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11298 2013-03-04 Andreas Jaeger <aj@suse.de>
11300 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11301 common definitions.
11303 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11304 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11305 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11307 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11310 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11313 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11314 __ieee754_sqrl instead of __sqrl.
11316 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11318 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11319 * sysdeps/powerpc/fpu_control.h: ... here.
11320 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11321 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11322 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11323 * sysdeps/powerpc/bits/mathinline.h: ... here.
11325 2013-03-01 Roland McGrath <roland@hack.frob.com>
11327 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11328 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11329 to just [NEED_DL_SYSINFO_DSO].
11330 * elf/dl-support.c: Likewise.
11331 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11332 * elf/rtld.c (dl_main): Likewise.
11333 * elf/setup-vdso.h (setup_vdso): Likewise.
11334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11335 * sysdeps/unix/sysv/linux/dl-sysdep.c
11336 (_dl_discover_osversion): Likewise.
11338 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11340 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11341 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11343 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11345 * NEWS: Mention libm performance improvements and non-x86 PI
11348 * csu/libc-start.c (__pthread_initialize_minimal): Change
11349 function arguments.
11350 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11352 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11355 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11356 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11357 <bp-sym.h> and <bp-asm.h>.
11358 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11361 (memcpy): Don't use BP_SYM.
11362 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11364 (__mpn_add_n): Don't use BP_SYM.
11365 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11366 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11368 (__mpn_addmul_1): Don't use BP_SYM.
11369 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11370 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11372 (_setjmp): Don't use BP_SYM.
11373 (__novmx_setjmp): Likewise.
11374 (__GI__setjmp): Likewise.
11375 (__vmx_setjmp): Likewise.
11376 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11378 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11379 (__bzero): Don't use BP_SYM.
11380 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11381 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11382 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11383 <bp-sym.h> and <bp-asm.h>.
11384 (memcpy): Don't use BP_SYM.
11385 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11386 <bp-sym.h> and <bp-asm.h>.
11387 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11388 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11389 <bp-sym.h> and <bp-asm.h>.
11390 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11391 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11393 (__mpn_lshift): Don't use BP_SYM.
11394 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11395 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11397 (memset): Don't use BP_SYM.
11398 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11399 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11400 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11402 (__mpn_mul_1): Don't use BP_SYM.
11403 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11405 <bp-sym.h> and <bp-asm.h>.
11406 (memcmp): Don't use BP_SYM.
11407 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11408 <bp-sym.h> and <bp-asm.h>.
11409 (memcpy): Don't use BP_SYM.
11410 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11411 <bp-sym.h> and <bp-asm.h>.
11412 (memset): Don't use BP_SYM.
11413 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11414 <bp-sym.h> and <bp-asm.h>.
11415 (strncmp): Don't use BP_SYM.
11416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11417 <bp-sym.h> and <bp-asm.h>.
11418 (memcpy): Don't use BP_SYM.
11419 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11420 <bp-sym.h> and <bp-asm.h>.
11421 (memset): Don't use BP_SYM.
11422 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11423 <bp-sym.h> and <bp-asm.h>.
11424 (__memchr): Don't use BP_SYM.
11425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11426 <bp-sym.h> and <bp-asm.h>.
11427 (memcmp): Don't use BP_SYM.
11428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11429 <bp-sym.h> and <bp-asm.h>.
11430 (memcpy): Don't use BP_SYM.
11431 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11432 <bp-sym.h> and <bp-asm.h>.
11433 (__mempcpy): Don't use BP_SYM.
11434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11435 <bp-sym.h> and <bp-asm.h>.
11436 (__memrchr): Don't use BP_SYM.
11437 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11438 <bp-sym.h> and <bp-asm.h>.
11439 (memset): Don't use BP_SYM.
11440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11441 <bp-sym.h> and <bp-asm.h>.
11442 (__rawmemchr): Don't use BP_SYM.
11443 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11444 <bp-sym.h> and <bp-asm.h>.
11445 (__STRCMP): Don't use BP_SYM.
11446 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11447 <bp-sym.h> and <bp-asm.h>.
11448 (strchr): Don't use BP_SYM.
11449 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11450 <bp-sym.h> and <bp-asm.h>.
11451 (__strchrnul): Don't use BP_SYM.
11452 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11453 <bp-sym.h> and <bp-asm.h>.
11454 (strlen): Don't use BP_SYM.
11455 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11456 <bp-sym.h> and <bp-asm.h>.
11457 (strncmp): Don't use BP_SYM.
11458 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11459 <bp-sym.h> and <bp-asm.h>.
11460 (__strnlen): Don't use BP_SYM.
11461 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11463 (__mpn_rshift): Don't use BP_SYM.
11464 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11465 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11466 <bp-sym.h> and <bp-asm.h>.
11467 (__sigsetjmp): Don't use BP_SYM.
11468 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11469 (L(start_addresses)): Don't use BP_SYM.
11470 (_start): Likewise.
11471 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11473 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11474 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11475 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11476 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11478 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11479 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11480 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11481 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11483 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11485 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11486 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11488 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11490 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11491 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11492 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11494 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11496 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11498 (strncmp): Don't use BP_SYM,
11499 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11501 (__mpn_sub_n): Don't use BP_SYM.
11502 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11503 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11505 (__mpn_submul_1): Don't use BP_SYM.
11506 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11508 <bp-sym.h> and <bp-asm.h>.
11509 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11511 <bp-sym.h> and <bp-asm.h>.
11512 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11515 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11518 Use ZK to minimize writes to Z.
11519 (sub_magnitudes): Simplify code a bit.
11520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11521 Use ZK to minimize writes to Z.
11522 (sub_magnitudes): Simplify code a bit.
11524 2013-02-27 Roland McGrath <roland@hack.frob.com>
11526 * csu/gmon-start.c: Add special exception to license text.
11528 2013-02-27 Richard Henderson <rth@redhat.com>
11530 * scripts/config.guess: Update from config.git.
11531 * scripts/config.sub: Likewise.
11533 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11535 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11537 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11539 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11541 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11543 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11545 2013-02-26 Roland McGrath <roland@hack.frob.com>
11547 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11548 [$(build-shared = yes].
11550 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11552 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11553 (__mul): Reduce iterations for calculating mantissa.
11555 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11557 (__mpranred): Likewise.
11560 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11561 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11563 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11565 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11566 Define __attribute__.
11568 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11570 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11572 * posix/regex_internal.h (__attribute): Remove.
11573 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11574 (re_string_context_at): Likewise.
11575 (bitset_not): Use __attribute__ and mark function as possibly
11577 (bitset_merge): Likewise.
11578 (bitset_mask): Likewise.
11579 (re_string_char_size_at): Likewise.
11580 (re_string_wchar_at): Likewise.
11581 (re_string_elem_size_at): Likewise.
11583 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11585 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11589 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11593 (denorm): Likewise.
11594 (__dbl_mp): Likewise.
11595 (add_magnitudes): Likewise.
11596 (sub_magnitudes): Likewise.
11600 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11603 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11606 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11610 up changes with default code.
11611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11614 2013-02-24 Allan McRae <allan@archlinux.org>
11616 * manual/socket.texi (The Internet Namespace): Order menu items
11617 to match that in the file.
11619 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11620 node listing of the info page menu.
11622 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11625 * sysdeps/i386/bp-asm.h: Remove file.
11626 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11627 (PARMS): Do not use macros from bp-asm.h.
11631 (__mpn_add_n): Do not use BP_SYM
11632 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11634 (PARMS): Do not use macros from bp-asm.h.
11637 (__mpn_addmul_1): Do not use BP_SYM
11638 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11640 (PARMS): Do not use macros from bp-asm.h.
11641 (SIGMSK): Likewise.
11642 (_setjmp): Likewise. Do not use BP_SYM.
11643 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11645 (PARMS): Do not use macros from bp-asm.h.
11646 (SIGMSK): Likewise.
11647 (setjmp): Likewise. Do not use BP_SYM.
11648 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11650 (PARMS): Do not use macros from bp-asm.h.
11651 (__frexp): Do not use BP_SYM.
11653 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11655 (PARMS): Do not use macros from bp-asm.h.
11656 (__frexpf): Do not use BP_SYM.
11657 (frexpf): Likewise.
11658 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11660 (PARMS): Do not use macros from bp-asm.h.
11661 (__frexpl): Do not use BP_SYM.
11662 (frexpl): Likewise.
11663 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11665 (PARMS): Do not use macros from bp-asm.h.
11666 (__remquo): Do not use BP_SYM.
11667 (remquo): Likewise.
11668 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11670 (PARMS): Do not use macros from bp-asm.h.
11671 (__remquof): Do not use BP_SYM.
11672 (remquof): Likewise.
11673 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11675 (PARMS): Do not use macros from bp-asm.h.
11676 (__remquol): Do not use BP_SYM.
11677 (remquol): Likewise.
11678 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11680 (PARMS): Do not use macros from bp-asm.h.
11683 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11684 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11686 (PARMS): Do not use macros from bp-asm.h.
11687 (strlen): Do not use BP_SYM.
11688 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11690 (PARMS): Do not use macros from bp-asm.h.
11694 (__mpn_add_n): Do not use BP_SYM.
11695 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11697 (PARMS): Do not use macros from bp-asm.h.
11700 (__mpn_addmul_1): Do not use BP_SYM.
11701 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11704 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11706 (PARMS): Do not use macros from bp-asm.h.
11709 (__mpn_lshift): Do not use BP_SYM.
11710 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11712 (PARMS): Do not use macros from bp-asm.h.
11716 (memcpy): Likewise. Do not use BP_SYM.
11717 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11718 libc_hidden_def and weak_alias.
11719 (mempcpy): Do not use BP_SYM in weak_alias.
11720 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11722 (PARMS): Do not use macros from bp-asm.h.
11725 [!BZERO_P] (CHR): Likewise.
11726 (memset): Likewise. Do not use BP_SYM.
11727 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11729 (PARMS): Do not use macros from bp-asm.h.
11732 (__mpn_mul_1): Do not use BP_SYM.
11733 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11735 (PARMS): Do not use macros from bp-asm.h.
11738 (__mpn_rshift): Do not use BP_SYM.
11739 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11741 (PARMS): Do not use macros from bp-asm.h.
11744 (strchr): Likewise. Do not use BP_SYM.
11745 (index): Do not use BP_SYM in weak_alias.
11746 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11748 (PARMS): Do not use macros from bp-asm.h.
11751 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11752 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11754 (PARMS): Do not use macros from bp-asm.h.
11755 (strlen): Do not use BP_SYM.
11756 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11758 (PARMS): Do not use macros from bp-asm.h.
11762 (__mpn_sub_n): Do not use BP_SYM.
11763 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11765 (PARMS): Do not use macros from bp-asm.h.
11768 (__mpn_submul_1): Do not use BP_SYM.
11769 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11771 (PARMS): Do not use macros from bp-asm.h.
11775 (__mpn_add_n): Do not use BP_SYM.
11776 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11779 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11781 (PARMS): Do not use macros from bp-asm.h.
11784 (memcmp): Do not use BP_SYM.
11785 (bcmp): Do not use BP_SYM in weak_alias.
11786 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11788 (PARMS): Do not use macros from bp-asm.h.
11792 (memcpy): Likewise. Do not use BP_SYM.
11793 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11795 (PARMS): Do not use macros from bp-asm.h.
11799 (memmove): Likewise. Do not use BP_SYM.
11800 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11802 (PARMS): Do not use macros from bp-asm.h.
11806 (__mempcpy): Likewise. Do not use BP_SYM.
11807 (mempcpy): Do not use BP_SYM in weak_alias.
11808 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11810 (PARMS): Do not use macros from bp-asm.h.
11813 [!BZERO_P] (CHR): Likewise.
11814 (memset): Likewise. Do not use BP_SYM.
11815 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11817 (PARMS): Do not use macros from bp-asm.h.
11819 (strcmp): Do not use BP_SYM.
11820 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11822 (PARMS): Do not use macros from bp-asm.h.
11825 [USE_AS_STRTOK_R] (SAVE): Likewise.
11826 (FUNCTION): Likewise. Do not use BP_SYM.
11827 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11829 (strtok_r): Likewise.
11830 (__GI___strtok_r): Likewise.
11831 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11832 (PARMS): Do not use macros from bp-asm.h.
11835 (__mpn_lshift): Do not use BP_SYM.
11836 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11837 (PARMS): Do not use macros from bp-asm.h.
11840 (__memchr): Do not use BP_SYM.
11841 (memchr): Do not use BP_SYM in weak_alias.
11842 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11843 (PARMS): Do not use macros from bp-asm.h.
11846 (memcmp): Do not use BP_SYM.
11847 (bcmp): Do not use BP_SYM in weak_alias.
11848 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11849 (PARMS): Do not use macros from bp-asm.h.
11852 (__mpn_mul_1): Do not use BP_SYM.
11853 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11855 (PARMS): Do not use macros from bp-asm.h.
11858 (__rawmemchr): Do not use BP_SYM.
11859 (rawmemchr): Do not use BP_SYM in weak_alias.
11860 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11861 (PARMS): Do not use macros from bp-asm.h.
11864 (__mpn_rshift): Do not use BP_SYM.
11865 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11866 (PARMS): Do not use macros from bp-asm.h.
11867 (SIGMSK): Likewise.
11868 (__sigsetjmp): Likewise. Do not use BP_SYM.
11869 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11870 (_start): Do not use BP_SYM.
11871 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11872 (PARMS): Do not use macros from bp-asm.h.
11875 (__stpcpy): Likewise. Do not use BP_SYM.
11876 (stpcpy): Do not use BP_SYM in weak_alias.
11877 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11879 (PARMS): Do not use macros from bp-asm.h.
11883 (__stpncpy): Likewise. Do not use BP_SYM.
11884 (stpncpy): Do not use BP_SYM in weak_alias.
11885 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11886 (PARMS): Do not use macros from bp-asm.h.
11889 (strchr): Likewise. Do not use BP_SYM.
11890 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11892 (PARMS): Do not use macros from bp-asm.h.
11895 (__strchrnul): Likewise. Do not use BP_SYM.
11896 (strchrnul): Do not use BP_SYM in weak_alias.
11897 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11899 (PARMS): Do not use macros from bp-asm.h.
11901 (strcspn): Do not use BP_SYM.
11902 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11904 (PARMS): Do not use macros from bp-asm.h.
11907 (strpbrk): Likewise. Do not use BP_SYM.
11908 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11910 (PARMS): Do not use macros from bp-asm.h.
11913 (strrchr): Likewise. Do not use BP_SYM.
11914 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11915 (PARMS): Do not use macros from bp-asm.h.
11917 (strspn): Do not use BP_SYM.
11918 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11919 (PARMS): Do not use macros from bp-asm.h.
11923 (FUNCTION): Likewise. Do not use BP_SYM.
11924 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11926 (strtok_r): Likewise.
11927 (__GI___strtok_r): Likewise.
11928 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11929 (PARMS): Do not use macros from bp-asm.h.
11933 (__mpn_sub_n): Do not use BP_SYM.
11934 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11936 (PARMS): Do not use macros from bp-asm.h.
11939 (__mpn_submul_1): Do not use BP_SYM.
11940 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11942 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11944 (PARMS): Do not use macros from bp-asm.h.
11949 (__clone): Do not use BP_SYM.
11950 (clone): Do not use BP_SYM in weak_alias.
11951 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11953 (PARMS): Do not use macros from bp-asm.h.
11955 (__mmap64): Do not use BP_SYM.
11956 (mmap64): Do not use BP_SYM in weak_alias.
11957 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11958 <bp-sym.h> and <bp-asm.h>.
11959 (PARMS): Do not use macros from bp-asm.h.
11960 (__posix_fadvise64_l64): Do not use BP_SYM.
11961 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11962 (PARMS): Do not use macros from bp-asm.h.
11964 (semtimedop): Do not use BP_SYM.
11965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11968 2013-02-21 Allan McRae <allan@archlinux.org>
11970 * manual/message.texi (Charset conversion in gettext):
11971 Move @end statement to beginning of line.
11973 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11980 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11981 (denorm): Likewise.
11982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11985 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11987 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11988 tail-call to the resolved function if pltexit isn't needed.
11990 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11993 or Y being zero as being unlikely.
11994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11997 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11999 * manual/nss.texi (System Databases and Name Service Switch):
12000 Remove frobnicate @pxref.
12002 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12004 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12005 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12007 2013-02-20 Petr Machata <pmachata@redhat.com>
12009 * elf/elf.h (R_ARM_TARGET1): New macro.
12010 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12011 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12012 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12013 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12014 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12015 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12016 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12017 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12018 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12019 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12020 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12021 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12022 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12023 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12024 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12025 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12026 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12027 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12028 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12029 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12030 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12031 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12032 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12033 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12034 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12035 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12036 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12037 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12038 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12039 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12040 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12041 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12042 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12043 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12044 (R_ARM_THM_GOT_BREL12): Likewise.
12045 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12046 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12047 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12048 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12049 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12050 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12051 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12052 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12053 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12055 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12057 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12058 __attribute_used__ to __attribute__ ((unused)).
12060 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12062 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12065 comment formatting.
12066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12068 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12071 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12073 (ENTER): Remove both macro definitions.
12075 (CHECK_BOUNDS_LOW): Likewise.
12076 (CHECK_BOUNDS_HIGH): Likewise.
12077 (CHECK_BOUNDS_BOTH): Likewise.
12078 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12079 (RETURN_BOUNDED_POINTER): Likewise.
12080 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12081 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12082 (POP_ERRNO_LOCATION_RETURN): Likewise.
12083 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12084 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12085 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12087 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12088 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12089 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12090 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12091 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12092 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12093 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12094 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12095 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12096 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12097 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12098 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12099 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12100 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12102 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12103 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12105 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12106 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12107 * sysdeps/i386/i586/memset.S (memset): Likewise.
12108 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12109 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12110 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12112 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12113 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12114 Change uses of L(2) to L(out).
12115 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12116 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12117 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12118 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12119 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12121 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12122 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12124 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12125 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12126 (RETURN): Do not use macro LEAVE.
12127 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12128 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12129 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12130 * sysdeps/i386/i686/memset.S (memset): Likewise.
12131 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12132 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12133 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12134 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12136 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12137 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12138 L(1_2) and L(1_3) into L(1).
12139 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12140 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12141 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12142 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12143 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12144 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12145 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12146 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12147 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12149 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12150 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12151 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12152 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12153 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12154 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12155 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12156 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12157 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12158 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12159 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12160 * sysdeps/i386/strspn.S (strspn): Likewise.
12161 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12163 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12164 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12165 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12166 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12167 L(1_3) into L(1_1).
12168 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12169 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12170 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12172 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12174 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12176 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12179 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12181 * math/atest-exp.c (exp_mpn): Remove ROUND.
12182 * math/atest-exp2.c (exp_mpn): Likewise.
12183 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12185 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12186 * stdlib/tst-tls-atexit-lib.c: Likewise.
12187 * stdlib/tst-tls-atexit.c: Likewise.
12189 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12191 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12192 and __attribute_alloc_size__.
12194 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12196 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12197 __attribute_alloc_size__.
12198 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12199 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12201 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12203 * include/programs/xmalloc.h: New file.
12204 * catgets/gencat.c: Include it.
12205 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12206 * elf/pldd.c: Likewise.
12207 * iconv/iconv_charmap.c: Likewise.
12208 * iconv/iconvconfig.c: Likewise.
12209 * iconv/strtab.c: Likewise.
12210 * locale/programs/locale.c: Likewise.
12211 * locale/programs/localedef.h: Likewise.
12212 * locale/programs/simple-hash.c: Likewise.
12213 * nscd/nscd.h: Likewise.
12214 * nss/makedb.c: Likewise.
12215 * sysdeps/generic/ldconfig.h: Likewise.
12217 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12219 * Versions.def: Add GLIBC_2.18.
12220 * include/link.h (struct link_map): New member l_tls_dtor_count.
12221 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12222 (__call_tls_dtors): Likewise.
12223 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12224 __cxa_thread_atexit_impl.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12241 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12242 (tests): Add test case tst-tls-atexit.
12243 (modules-names): Add shared library for tst-tls-atexit.
12244 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12245 (GLIBC_PRIVATE): Add __call_tls_dtors.
12246 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12248 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12249 * stdlib/tst-tls-atexit.c: New test case.
12250 * stdlib/tst-tls-atexit-lib.c: New test case.
12252 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12254 * elf/Versions (ld): Add _dl_find_dso_for_object.
12255 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12256 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12257 (dl_open_worker): Use _dl_find_dso_for_object.
12258 * elf/dl-sym.c (do_sym): Likewise.
12259 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12261 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12263 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12264 Syntactic changes only.
12265 (_dl_runtime_profile): Do a tail-call to the resolved function.
12267 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12270 * sysdeps/x86_64/bp-asm.h: Remove file.
12271 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12272 <bp-sym.h> and <bp-asm.h>.
12273 (__clone): Do not use BP_SYM.
12274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12275 <bp-sym.h> and <bp-asm.h>.
12276 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12277 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12279 (_setjmp): Do not use BP_SYM.
12280 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12282 (setjmp): Do not use BP_SYM.
12283 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12285 (mempcpy): Do not use BP_SYM in weak_alias.
12286 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12288 (strchr): Do not use BP_SYM.
12289 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12291 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12292 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12293 (_start): Do not use BP_SYM.
12294 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12296 (strcat): Do not use BP_SYM.
12297 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12299 (STRCMP): Do not use BP_SYM.
12300 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12302 (STRCPY): Do not use BP_SYM.
12303 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12305 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12307 (FUNCTION): Do not use BP_SYM.
12308 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12310 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12312 2013-02-17 Andreas Jaeger <aj@suse.de>
12314 * time/Versions: Sort entries.
12315 * string/Versions: Likewise.
12316 * resolv/Versions: Likewise.
12317 * posix/Versions: Likewise.
12318 * iconv/Versions: Likewise.
12319 * elf/Versions: Likewise.
12320 * wcsmbs/Versions: Likewise.
12322 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12324 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12325 loop termination condition.
12327 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12328 variable to calculate EZ.
12331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12332 the lower precision input.
12334 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12337 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12338 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12339 (run-via-rtld-prefix): Do not handle %-bp tests.
12340 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12341 (all-object-suffixes): Remove .ob.
12342 (bppfx): Remove variable.
12343 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12344 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12345 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12346 [$(build-bounded) = yes] (libtype.ob): Likewise.
12347 * Makerules (elide-routines.ob): Remove variable.
12348 (do-tests-clean): Do not handle *-bp.out.
12349 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12350 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12351 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12352 (tests): Do not include $(tests-bp.out).
12353 (xtests): Do not include $(xtests-bp.out).
12354 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12355 [$(build-bounded) = yes] ($(addprefix
12356 $(objpfx),$(binaries-bounded))): Remove rule.
12357 ($(objpfx)%-bp.out): Remove rule.
12358 * config.make.in (build-bounded): Remove variable.
12359 * crypt/Makefile [$(build-bounded) = yes]
12360 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12361 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12362 append to variable.
12363 [$(build-bounded) = yes] (install-lib): Likewise.
12364 [$(build-bounded) = yes] (generated): Likewise.
12365 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12367 * intl/Makefile [$(build-bounded) = yes]
12368 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12369 * math/Makefile [$(build-bounded) = yes]
12370 ($(tests:%=$(objpfx)%-bp): Likewise.
12371 * misc/Makefile [$(build-bounded) = yes]
12372 ($(objpfx)tst-tsearch-bp): Likewise.
12373 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12374 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12376 * string/Makefile (o-objects.ob): Remove variable.
12377 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12378 (CFLAGS-.ob): Remove variable.
12379 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12380 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12381 both definitions of variable.
12382 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12383 (ASFLAGS-.ob): Remove variable.
12385 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12388 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12389 Remove __BOUNDED_POINTERS__ from condition.
12390 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12391 * string/bits/string2.h [!__NO_STRING_INLINES &&
12392 !__BOUNDED_POINTERS__]: Likewise.
12393 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12395 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12396 Remove conditional code.
12397 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12398 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12399 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12403 * csu/libc-start.c: Do not include <bp-sym.h>.
12404 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12405 * elf/dl-open.c: Do not include <bp-sym.h>.
12406 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12407 * math/fegetenv.c: Do not include <bp-sym.h>.
12408 (fegetenv): Do not use BP_SYM in versioned symbols.
12409 * nptl/sysdeps/pthread/bits/libc-lockP.h
12410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12413 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12415 (__pthread_mutex_destroy): Likewise.
12416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12417 (__pthread_mutex_lock): Likewise.
12418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12419 (__pthread_mutex_trylock): Likewise.
12420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12421 (__pthread_mutex_unlock): Likewise.
12422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12423 (__pthread_mutexattr_init): Likewise.
12424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12425 (__pthread_mutexattr_destroy): Likewise.
12426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12427 (__pthread_mutexattr_settype): Likewise.
12428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12429 (__pthread_rwlock_init): Likewise.
12430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12431 (__pthread_rwlock_destroy): Likewise.
12432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12433 (__pthread_rwlock_rdlock): Likewise.
12434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12435 (__pthread_rwlock_tryrdlock): Likewise.
12436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12437 (__pthread_rwlock_wrlock): Likewise.
12438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12439 (__pthread_rwlock_trywrlock): Likewise.
12440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12441 (__pthread_rwlock_unlock): Likewise.
12442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12443 (__pthread_key_create): Likewise.
12444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12445 (__pthread_setspecific): Likewise.
12446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12447 (__pthread_getspecific): Likewise.
12448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12451 (_pthread_cleanup_push_defer): Likewise.
12452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12453 (_pthread_cleanup_pop_restore): Likewise.
12454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12455 (pthread_setcancelstate): Likewise.
12456 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12458 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12459 (memchr): Do not use BP_SYM in weak_alias.
12460 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12461 (fegetenv): Do not use BP_SYM in versioned symbols.
12462 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12463 (fesetenv): Do not use BP_SYM in versioned symbols.
12464 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12465 (feupdateenv): Do not use BP_SYM in versioned symbols.
12466 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12467 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12468 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12469 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12470 (open64): Do not use BP_SYM in weak_alias.
12471 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12472 (fegetenv): Do not use BP_SYM in versioned symbols.
12473 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12474 (fesetenv): Do not use BP_SYM in versioned symbols.
12475 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12476 (feupdateenv): Do not use BP_SYM in versioned symbols.
12477 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12478 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12479 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12480 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12481 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12482 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12483 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12485 (__libc_start_main): Do not use BP_SYM.
12487 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12490 redundant return line.
12492 (denorm): Likewise.
12493 (dbl_mp): Likewise.
12494 (sub_magnitudes): Likewise.
12500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12502 (denorm): Likewise.
12503 (dbl_mp): Likewise.
12504 (sub_magnitudes): Likewise.
12511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12513 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12514 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12517 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12518 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12520 of __mul for squares.
12521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12525 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12528 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12531 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12533 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12534 prototype or function definition. Rename ubp_* variables and
12535 parameters. Remove argv definitions conditional on
12536 [__BOUNDED_POINTERS__].
12537 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12538 * elf/dl-runtime.c (_dl_fixup): Likewise.
12539 * include/set-hooks.h (RUN_HOOK): Likewise.
12540 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12542 * string/strcpy.c (strcpy): Do not use __unbounded.
12543 * sysdeps/generic/frame.h (struct layout): Likewise.
12544 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12545 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12546 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12547 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12548 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12549 (__backtrace): Likewise.
12550 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12552 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12553 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12554 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12556 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12557 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12558 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12559 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12560 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12561 Do not use __unbounded.
12562 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12563 Rename __unboundedrlimits parameter to rlimits in prototype.
12564 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12565 Do not use __unbounded.
12566 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12567 not use __ptrvalue.
12568 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12569 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12570 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12571 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12572 __ptrvalue or __unbounded.
12573 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12574 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12576 (__new_msgctl): Do not use __ptrvalue.
12577 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12579 (__libc_msgrcv): Do not use __ptrvalue.
12580 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12581 startup_info): Do not use __unbounded.
12582 (__libc_start_main): Likewise. Rename ubp_* variables and
12583 parameters. Remove argv definitions conditional on
12584 [__BOUNDED_POINTERS__].
12585 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12587 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12589 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12591 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12593 (__new_shmctl): Do not use __ptrvalue.
12594 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12595 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12597 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12599 (__libc_sigaction): Likewise.
12600 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12601 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12603 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12605 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12607 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12609 * string/mempcpy.c: Implement by calling memcpy.
12611 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12618 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12619 values in the mantissa.
12621 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12622 minimize writes to Z.
12623 (sub_magnitudes): Simplify code a bit.
12625 2013-02-12 Roland McGrath <roland@hack.frob.com>
12627 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12628 from the message. The linker prefixes all warnings with that already.
12630 2013-02-12 Andreas Schwab <schwab@suse.de>
12633 * posix/regexec.c (extend_buffers): Add parameter min_len.
12634 (check_matching): Pass minimum needed length.
12635 (clean_state_log_if_needed): Likewise.
12636 (get_subexp): Likewise.
12637 * posix/Makefile (tests): Add bug-regex34.
12638 (bug-regex34-ENV): Define.
12639 * posix/bug-regex34.c: New file.
12642 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12643 elements compare against the byte sequence of it, not its name.
12644 * posix/Makefile (tests): Add bug-regex35.
12645 (bug-regex35-ENV): Define.
12646 * posix/bug-regex35.c: New file.
12648 2013-02-11 Tom de Vries <tom@codesourcery.com>
12650 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12652 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12653 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12654 (CHECK_EOL): Add undef.
12656 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12658 * bits/stdlib-bsearch.h: New file.
12659 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12660 * stdlib/stdlib.h: Likewise.
12662 2013-02-11 Roland McGrath <roland@hack.frob.com>
12664 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12665 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12667 * manual/search.texi (Array Search Function): Add missing const in
12669 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12670 declaration to use rlim_t.
12671 (Basic Scheduling Functions): Remove erroneous const from
12672 sched_getparam prototype. Remove erroneous * from
12673 sched_get_priority_max and sched_get_priority_min prototypes.
12674 (Resource Usage): Fix summary @comment on vtimes to refer to
12675 sys/vtimes.h rather than vtimes.h.
12676 Add missing *s in vtimes prototype.
12677 (Limits on Resources): Fix ulimit prototype to return long int.
12678 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12679 prototypes to use long int rather than double.
12680 (BSD Random): Fix initstate and setstate to use char *, not void *.
12681 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12682 prototype to make second argument 'struct aiocb64 *const[]'.
12683 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12684 (Status of AIO Operations): Remove erroneous const in aio_return and
12685 aio_return64 prototypes.
12686 (Synchronizing I/O): Fix sync prototype to return void.
12687 * manual/startup.texi (Suboptions): Remove an erroneous const in
12688 getsubopt prototype.
12689 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12690 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12691 use size_t rather than int.
12692 (Scanning All Users): Likewise for getpwent_r.
12693 (Setting Groups): Add missing const to setgroups prototype.
12694 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12695 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12696 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12697 'const void *' rather than 'const char *'.
12698 (Host Address Functions): Likewise for inet_ntop.
12699 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12700 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12701 ssize_t for return value.
12702 (Sending Data): Likewise for send, sendto, sendmsg.
12703 (Socket Option Functions): Add a missing const in setsockopt prototype.
12704 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12705 use wchar_t for the argument.
12706 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12707 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12709 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12710 double/float/long double for second argument.
12711 Fix return types of significand, significandf, significandl.
12712 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12713 argument in fchmod prototype.
12714 (File Owner): Use uid_t and gid_t in fchown prototype.
12715 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12716 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12717 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12718 use 'const struct dirent **' as argument types to CMP function pointer
12720 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12721 (File Times): Fix summary magic @comment for struct utimbuf and utime
12722 to refer to utime.h, not time.h.
12723 * manual/string.texi (Argz Functions): Add missing const in
12724 argz_extract and argz_next prototypes.
12725 (Finding Tokens in a String): Likewise for basename.
12726 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12727 (Copying and Concatenation): Fix typo in wmemmove prototype.
12728 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12729 (Signal Stack): Remove erroneous const in sigstack prototype.
12730 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12732 (Simple Calendar Time): Likewise for stime.
12733 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12735 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12736 say sys/sysctl.h instead.
12737 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12738 and vsyslog prototypes.
12740 2013-02-11 Tom de Vries <tom@codesourcery.com>
12742 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12745 2013-02-11 Roland McGrath <roland@hack.frob.com>
12747 * misc/sys/mman.h: Fix typo in mremap comment.
12749 2013-02-08 Roland McGrath <roland@hack.frob.com>
12751 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12752 the '\0' terminator.
12754 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12757 * debug/segfault.c: Don't include <bp-checks.h>.
12758 * sysdeps/generic/bp-checks.h: Remove file.
12759 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12760 (__GETDENTS): Don't use CHECK_N.
12761 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12762 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12763 (__getgroups): Don't use CHECK_N.
12764 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12765 (setgroups): Don't use CHECK_N.
12766 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12767 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12768 (__libc_msgrcv): Don't use CHECK_N.
12769 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12770 (__libc_msgsnd): Don't use CHECK_N.
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12773 (__libc_pread): Don't use CHECK_N.
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12775 include <bp-checks.h>.
12776 (__libc_pread64): Don't use CHECK_N.
12777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12778 include <bp-checks.h>.
12779 (__libc_pwrite): Don't use CHECK_N.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12781 include <bp-checks.h>.
12782 (__libc_pwrite64): Don't use CHECK_N.
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12785 (__libc_pread): Don't use CHECK_N.
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12787 include <bp-checks.h>.
12788 (__libc_pread64): Don't use CHECK_N.
12789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12790 include <bp-checks.h>.
12791 (__libc_pwrite): Don't use CHECK_N.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12793 include <bp-checks.h>.
12794 (__libc_pwrite64): Don't use CHECK_N.
12795 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12796 (do_pread): Don't use CHECK_N.
12797 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12798 (do_pread64): Don't use CHECK_N.
12799 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12800 (do_pwrite): Don't use CHECK_N.
12801 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12802 (do_pwrite64): Don't use CHECK_N.
12803 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12804 (__libc_readv): Don't use CHECK_N.
12805 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12806 (semop): Don't use CHECK_N.
12807 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12809 (semtimedop): Don't use CHECK_N.
12810 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12811 (__libc_pread): Don't use CHECK_N.
12812 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12814 (__libc_pread64): Don't use CHECK_N.
12815 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12817 (__libc_pwrite): Don't use CHECK_N.
12818 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12820 (__libc_pwrite64): Don't use CHECK_N.
12821 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12823 (__libc_msgrcv): Don't use CHECK_N.
12824 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12825 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12826 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12827 (__libc_writev): Don't use CHECK_N.
12829 2013-02-08 Roland McGrath <roland@hack.frob.com>
12831 * string/strcpy.c: Removed unused variable.
12833 * Makeconfig (+sysdep-includes): Define with := rather than =.
12834 Use an existing include/ subdir of each sysdeps dir before it.
12836 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12838 * nscd/connection.c (register_traced_file): Comment function.
12839 [HAVE_INOTIFY] (union __inev): Define.
12840 [HAVE_INOTIFY] (inotify_check_files): New function.
12841 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12842 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12844 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12846 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12848 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12849 loaded if not already and that a failure is permanent.
12851 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12854 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12855 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12857 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12860 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12861 (CHECK_1_NULL_OK): Likewise.
12862 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12863 (__fxstat): Do not use CHECK_1.
12864 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12866 (___fxstat64): Do not use CHECK_1.
12867 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12869 (__fxstatat): Do not use CHECK_1.
12870 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12872 (__fxstatat64): Do not use CHECK_1.
12873 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12875 (__fxstat): Do not use CHECK_1.
12876 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12878 (__fxstatat): Do not use CHECK_1.
12879 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12881 (__getresgid): Do not use CHECK_1.
12882 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12884 (__getresuid): Do not use CHECK_1.
12885 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12887 (__lxstat): Do not use CHECK_1.
12888 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12890 (__old_msgctl): Do not use CHECK_1.
12891 (__new_msgctl): Likewise.
12892 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12894 (__new_setrlimit): Do not use CHECK_1.
12895 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12897 (__old_shmctl): Do not use CHECK_1.
12898 (__new_shmctl): Likewise.
12899 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12901 (__xstat): Do not use CHECK_1.
12902 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12903 (__lxstat): Do not use CHECK_1.
12904 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12906 (___lxstat64): Do not use CHECK_1.
12907 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12908 (__old_msgctl): Do not use CHECK_1.
12909 (__new_msgctl): Likewise.
12910 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12912 (__gettimeofday): Do not use CHECK_1.
12913 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12914 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12915 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12917 (__gettimeofday): Do not use CHECK_1.
12918 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12919 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12920 (__new_shmctl): Do not use CHECK_1.
12921 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12923 (do_sigtimedwait): Do not use CHECK_1.
12924 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12926 (do_sigwaitinfo): Do not use CHECK_1.
12927 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12929 (msgctl): Do not use CHECK_1.
12930 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12932 (shmctl): Do not use CHECK_1.
12933 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12934 (ustat): Do not use CHECK_1.
12935 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12937 (__fxstat): Do not use CHECK_1.
12938 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12940 (__fxstatat): Do not use CHECK_1.
12941 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12943 (__lxstat): Do not use CHECK_1.
12944 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12946 (__xstat): Do not use CHECK_1.
12947 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12948 (__xstat): Do not use CHECK_1.
12949 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12950 (___xstat64): Do not use CHECK_1.
12953 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12955 (CHECK_BOUNDS_HIGH): Likewise.
12956 * string/strcpy.c: Do not include <bp-checks.h>.
12957 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12959 2013-02-07 Roland McGrath <roland@hack.frob.com>
12961 * nscd/nscd-client.h (__nscd_drop_map_ref):
12962 Add __attribute__ ((unused)).
12963 * nis/nss-nisplus.h (niserr2nss): Likewise.
12965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12966 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12968 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12969 Remove inline keyword.
12970 * include/rounding-mode.h (round_away): Likewise.
12971 * libio/wfileops.c (adjust_wide_data): Likewise.
12972 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12973 (__m128i_strloadu_tolower): Likewise.
12974 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12975 (__m128i_strloadu_tolower): Likewise.
12976 * time/mktime.c (ydhms_diff): Likewise.
12977 * locale/elem-hash.h (elem_hash): Likewise.
12978 * locale/setlocale.c (setdata): Likewise.
12979 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12980 (re_string_wchar_at): Likewise.
12981 (bitset_not, bitset_merge, bitset_mask): Likewise.
12982 [!(__GNUC__ > 3)] (inline): Remove macro.
12983 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12984 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12985 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12986 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12987 * string/memcmp.c (memcmp_bytes): Likewise.
12988 * locale/programs/locarchive.c (compute_hashval): Likewise.
12989 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12990 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12991 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12992 * nss/getent.c (print_rpc, print_protocols): Likewise.
12993 (print_passwd, print_group, print_aliases): Likewise.
12994 * nis/nss-nisplus.h (niserr2nss): Likewise.
12995 * nscd/connections.c (restart_p): Likewise.
12996 Change return type to bool.
12998 2013-02-05 Roland McGrath <roland@hack.frob.com>
13000 * Makeconfig (all-Depend-files): Add existing
13001 $(sorted-subdirs:=/Depend) files.
13002 (all-subdirs): Remove nss.
13003 * sysdeps/unix/inet/Subdirs: Add it here instead.
13004 * hesiod/Depend: New file.
13006 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13007 instead of calling alloca.
13009 * io/lseek.c (__lseek): Rename to __libc_lseek.
13010 Define __lseek as an alias.
13012 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13014 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13016 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13017 else clause and remove check for non-standard endianness.
13019 2013-02-04 David S. Miller <davem@davemloft.net>
13021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13023 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13026 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13027 (__ubp_memchr): Remove prototype.
13028 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13029 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13030 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13031 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13032 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13034 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13035 (__ubp_memchr): Likewise.
13036 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13037 (__ubp_memchr): Likewise.
13038 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13039 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13040 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13041 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13043 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13044 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13045 (__getcwd): Do not use CHECK_STRING.
13046 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13048 (__real_chown): Do not use CHECK_STRING.
13049 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13051 (fchownat): Do not use CHECK_STRING.
13052 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13054 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13056 (__lchown): Do not use CHECK_STRING.
13057 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13058 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13059 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13060 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13062 include <bp-checks.h>.
13063 (truncate64): Do not use CHECK_STRING.
13064 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13066 (__real_chown): Do not use CHECK_STRING.
13067 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13069 (__lchown): Do not use CHECK_STRING.
13070 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13072 (__chown): Do not use CHECK_STRING.
13073 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13075 (truncate64): Do not use CHECK_STRING.
13076 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13078 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13079 (__xmknod): Do not use CHECK_STRING.
13080 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13082 (__xmknodat): Do not use CHECK_STRING.
13083 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13084 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13086 2013-02-04 Andreas Schwab <schwab@suse.de>
13089 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13090 * include/netdb.h: Likewise for h_errno.
13091 * elf/tst-stackguard1.c: Include <tls.h>.
13093 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13095 * elf/link.h (struct link_map): Extend the l_addr comment.
13096 * include/link.h (struct link_map): Likewise.
13098 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13101 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13102 (BOUNDED_1): Remove macro.
13103 * debug/backtrace.c: Don't include <bp-checks.h>.
13104 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13105 (__backtrace): Likewise.
13106 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13108 (__backtrace): Don't use BOUNDED_1.
13109 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13111 (__backtrace): Don't use BOUNDED_1.
13112 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13113 (__backtrace): Don't use BOUNDED_1.
13114 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13115 (shmat): Don't use BOUNDED_N.
13117 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13120 * sysdeps/generic/bp-start.h: Remove file.
13121 * csu/libc-start.c: Don't include <bp-start.h>.
13122 (LIBC_START_MAIN): Set up __environ directly instead of using
13123 INIT_ARGV_and_ENVIRON.
13124 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13128 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13130 (CHECK_FCNTL): Likewise.
13131 (CHECK_N_PAGES): Likewise.
13134 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13136 (CHECK_SIGSET_NULL_OK): Likewise.
13137 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13139 (sigpending): Don't use CHECK_SIGSET.
13140 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13142 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13143 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13145 (do_sigsuspend): Don't use CHECK_SIGSET.
13146 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13148 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13149 (do_sigwait): Don't use CHECK_SIGSET.
13150 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13153 include <bp-checks.h>.
13154 (sigpending): Don't use CHECK_SIGSET.
13155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13156 include <bp-checks.h>.
13157 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13158 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13160 (sigpending): Don't use CHECK_SIGSET.
13161 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13163 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13166 * sysdeps/generic/bp-semctl.h: Remove file.
13167 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13168 <bp-checks.h> and <bp-semctl.h>.
13169 (__old_semctl): Don't use CHECK_SEMCTL.
13170 (__new_semctl): Likewise.
13171 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13173 (__old_semctl): Don't use CHECK_SEMCTL.
13174 (__new_semctl): Likewise.
13175 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13176 <bp-checks.h> and <bp-semctl.h>.
13177 (__old_semctl): Don't use CHECK_SEMCTL.
13178 (__new_semctl): Likewise.
13179 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13180 <bp-checks.h> and <bp-semctl.h>.
13181 (semctl): Don't use CHECK_SEMCTL.
13184 * Makerules (elide-bp-thunks): Remove variable.
13185 (elide-routines.oS): Don't use $(elide-bp-thunks).
13186 (elide-routines.os): Likewise.
13187 (elide-routines.o): Likewise.
13188 (elide-routines.op): Likewise.
13189 (elide-routines.og): Likewise.
13190 (objects): Don't use $(bp-thunks).
13191 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13193 (common-generated): Do not add s-proto-bp.d.
13194 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13197 Do not generate makefile rules for bounded-pointer thunks.
13198 * sysdeps/generic/bp-thunks.h: Remove file.
13199 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13200 * sysdeps/unix/s-proto-bp.S: Likewise.
13203 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13204 parts of result separately when argument is not close to line from
13205 -i to i and one part of argument is small.
13206 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13207 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13208 * math/libm-test.inc (cacos_test): Add more tests.
13209 (casin_test): Likewise.
13210 (casinh_test): Likewise.
13211 * sysdeps/i386/fpu/libm-test-ulps: Update.
13212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13214 2013-01-31 David S. Miller <davem@davemloft.net>
13216 * po/de.po: Update from translation team.
13218 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13220 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13222 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13224 * configure.in (_AC_PROG_CC_C89): New definition.
13225 * configure: Regenerate.
13227 * configure.in (AC_PROG_CPP): New definition.
13228 * configure: Regenerate.
13230 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13232 * debug/tst-backtrace.h: New file.
13233 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13234 (ret): Remove variable.
13236 (FAIL): Remove macro.
13237 (NO_INLINE): Likewise.
13238 (fn1): Use match function instead of strstr.
13239 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13240 (ret): Remove variable.
13242 (FAIL): Remove macro.
13243 (NO_INLINE): Likewise.
13244 (fn): Use match function instead of strstr.
13245 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13246 (ret): Remove variable.
13248 (FAIL): Remove macro.
13249 (NO_INLINE): Likewise.
13250 (handle_signal): Use match function instead of strstr.
13251 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13252 (ret): Remove variable.
13254 (FAIL): Remove macro.
13255 (NO_INLINE): Likewise.
13256 (handle_signal): Use match function instead of strstr.
13258 2013-01-23 Roland McGrath <roland@hack.frob.com>
13260 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13262 2013-01-23 David S. Miller <davem@davemloft.net>
13264 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13265 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13266 argument of CAS if possible.
13267 * sysdeps/sparc/sparc64/bits/atomic.h
13268 (__arch_compare_and_exchange_val_32_acq): Likewise.
13269 (__arch_compare_and_exchange_val_64_acq): Likewise.
13271 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13273 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13274 * sysdeps/posix/ulimit.c: ... this.
13275 Include <limits.h>.
13276 * sysdeps/unix/bsd/ulimit.c: Remove file.
13278 2013-01-23 Adam Conrad <adconrad@0c3.net>
13280 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13281 (LDFLAGS-tst-array5): Likewise.
13283 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13286 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13287 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13288 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13289 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13291 2013-01-21 David S. Miller <davem@davemloft.net>
13293 * sysdeps/sparc/backtrace.c: New file.
13294 * sysdeps/sparc/sparc32/backtrace.h: New file.
13295 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13296 * sysdeps/sparc/sparc64/backtrace.h: New file.
13297 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13298 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13301 2013-01-21 Andreas Schwab <schwab@suse.de>
13304 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13307 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13313 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13314 Mark Mitchell <mark@codesourcery.com>
13315 Tom de Vries <tom@codesourcery.com>
13316 Paul Pluzhnikov <ppluzhnikov@google.com>
13318 * debug/tst-backtrace2.c: New file.
13319 * debug/tst-backtrace3.c: Likewise.
13320 * debug/tst-backtrace4.c: Likewise.
13321 * debug/tst-backtrace5.c: Likewise.
13322 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13323 (CFLAGS-tst-backtrace3.c): Likewise.
13324 (CFLAGS-tst-backtrace4.c): Likewise.
13325 (CFLAGS-tst-backtrace5.c): Likewise.
13326 (LDFLAGS-tst-backtrace2): Likewise.
13327 (LDFLAGS-tst-backtrace3): Likewise.
13328 (LDFLAGS-tst-backtrace4): Likewise.
13329 (LDFLAGS-tst-backtrace5): Likewise.
13330 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13331 tst-backtrace4 and tst-backtrace5.
13333 2013-01-18 Anton Blanchard <anton@samba.org>
13334 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13337 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13338 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13339 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13341 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13342 "+r" and remove output regs list as redundant. Add explicit inline
13343 asm to specify register of return val to work around compiler codegen
13344 bug. Remove (int) cast on return value. Add return type parameter to
13345 use in macro so that this macro does not truncate return value for
13347 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13348 pass to INTERNAL_VSYSCALL_NCS.
13349 (INLINE_VSYSCALL): Add 'long int' as return type to
13350 INTERNAL_VSYSCALL_NCS macro invocation.
13351 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13352 INTERNAL_VSYSCALL_NCS macro invocation.
13353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13355 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13358 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13359 Fix application of SIMD FP exception mask.
13361 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13362 mp_no from a power of two.
13363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13364 __mpexp_twomm1. Use __pow_mp.
13366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13369 2013-01-17 David S. Miller <davem@davemloft.net>
13371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13373 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13376 * include/complex.h: Condition contents on [!_COMPLEX_H].
13377 (__kernel_casinhf): New prototype.
13378 (__kernel_casinh): Likewise.
13379 (__kernel_casinhl): Likewise.
13380 * math/Makefile (libm_calls): Add k_casinh.
13381 * math/k_casinh.c: New file.
13382 * math/k_casinhf.c: Likewise.
13383 * math/k_casinhl.c: Likewise.
13384 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13385 finite nonzero arguments.
13386 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13387 finite nonzero arguments.
13388 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13389 finite nonzero arguments.
13390 * math/s_casinh.c: Do not include <float.h>.
13391 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13392 * math/s_casinhf.c: Do not include <float.h>.
13393 (__casinhf): Move code for finite nonzero arguments to
13395 * math/s_casinhl.c: Do not include <float.h>.
13396 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13398 (__casinhl): Move code for finite nonzero arguments to
13400 * math/libm-test.inc (cacos_test): Add more tests.
13401 * sysdeps/i386/fpu/libm-test-ulps: Update.
13402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13404 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13406 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13407 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13408 [!HAVE_MREMAP]: Remove [defined linux] case.
13409 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13411 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13413 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13415 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13417 * elf/elf.h (R_386_SIZE32): New relocation.
13418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13420 (elf_machine_rela): Likewise.
13421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13422 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13424 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13426 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13427 (FP_FAST_FMA): Do not define.
13428 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13429 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13430 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13431 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13432 !_SOFT_FLOAT]: Likewise.
13433 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13434 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13436 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13437 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13438 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13440 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13441 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13444 2013-01-16 Andreas Schwab <schwab@suse.de>
13447 * include/stdlib.h (__mktemp): Add declaration.
13448 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13449 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13451 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13453 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13455 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13456 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13457 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13459 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13460 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13462 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13464 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13465 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13466 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13468 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13469 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13471 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13473 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13475 2013-01-15 David S. Miller <davem@davemloft.net>
13477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13478 trunc{,f} to libm-sysdep_routes.
13479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13489 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13490 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13491 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13492 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13493 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13494 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13497 nearbyint{,f} to libm-sysdep_routes.
13498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13515 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13516 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13518 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13519 libc_feholdexcept and libc_fesetenv.
13521 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13523 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13525 2013-01-14 David S. Miller <davem@davemloft.net>
13527 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13528 (SPARC_ASM_VIS2_IFUNC): Likewise.
13529 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13531 use of 'siam' instruction.
13532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13565 routines to libm-sysdep_routines.
13566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13569 fdim/fdimf to libm-sysdep_routines.
13570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13578 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13579 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13580 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13581 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13583 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13585 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13586 to optimize copies.
13588 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13593 local variable MPTWO.
13594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13597 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13599 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13602 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13604 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13606 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13608 * manual/pattern.texi (glob_t): Document gl_flags.
13609 (glob64_t): Likewise.
13611 2013-01-11 David S. Miller <davem@davemloft.net>
13613 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13614 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13615 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13616 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13617 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13618 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13619 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13620 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13621 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13622 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13623 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13624 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13625 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13627 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13628 sparc V9 rather than using V8 code.
13629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13632 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13634 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13637 2013-01-11 Roland McGrath <roland@hack.frob.com>
13639 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13640 not in the main loop.
13641 * configure: Regenerated.
13643 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13645 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13646 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13648 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13649 [!__GLIBC_HAVE_LONG_LONG] case.
13650 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13651 condition to just #else.
13652 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13653 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13654 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13655 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13657 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13658 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13659 #elif condition to just #else.
13660 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13661 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13662 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13663 #elif condition to just #else.
13665 2013-01-11 Steve Ellcey <sellcey@mips.com>
13667 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13668 (EF_MIPS_ARCH_64): Fix value.
13669 (EF_MIPS_ARCH_32R2): New.
13670 (EF_MIPS_ARCH_64R2): New.
13672 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13674 * Makeconfig (+link-pie-before-libc): New.
13675 (+link-pie-after-libc): Likewise.
13676 (+link-pie-tests): Likewise.
13677 (+link-pie): Rewritten.
13678 (link-before-libc): Remove $(config-LDFLAGS).
13679 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13680 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13681 (config-LDFLAGS): Renamed to ...
13682 (rtld-LDFLAGS): This.
13683 (rtld-tests-LDFLAGS): New macro.
13684 (link-libc-rpath-link): Likewise.
13685 (link-libc-tests-rpath-link): Likewise.
13686 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13687 (link-libc): Prepand $(link-libc-rpath-link).
13688 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13689 (test-program-prefix): New macro.
13690 (test-via-rtld-prefix): Likewise.
13691 (test-program-cmd): Likewise.
13692 (host-test-program-cmd): Likewise.
13693 * Makefile ($(common-objpfx)testrun.sh): Replace
13694 $(run-program-prefix) with $(test-program-prefix).
13695 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13697 ($(common-objpfx)shlib.lds): Likewise.
13698 (build-module-helper): Likewise.
13699 ($(common-objpfx)format.lds): Likewise.
13700 * Rules (binaries-pie-tests): New.
13701 (binaries-pie-notests): Likewise.
13702 (binaries-pie): Rewritten.
13703 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13704 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13705 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13706 (make-test-out): Replace $(host-built-program-cmd) with
13707 $(host-test-program-cmd).
13708 * config.make.in (build-hardcoded-path-in-tests): New variable.
13709 * configure.in (--enable-hardcoded-path-in-tests): New configure
13711 (hardcoded_path_in_tests): New AC_SUBST.
13712 * configure: Regenerated.
13713 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13714 $(built-program-cmd) with $(test-program-cmd).
13715 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13716 (test_program_cmd): This.
13717 * elf/Makefile ($(objpfx)order.out): Run test with
13718 $(test-program-prefix).
13719 ($(objpfx)order2.out): Likewise.
13720 ($(objpfx)tst-initorder.out): Likewise.
13721 ($(objpfx)tst-initorder2.out): Likewise.
13722 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13723 $(test-program-cmd).
13724 ($(objpfx)tst-array1-static.out): Likewise.
13725 ($(objpfx)tst-array2.out): Likewise.
13726 ($(objpfx)tst-array3.out): Likewise.
13727 ($(objpfx)tst-array4.out): Likewise.
13728 ($(objpfx)tst-array5.out): Likewise.
13729 ($(objpfx)tst-array5-static.out): Likewise.
13730 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13731 $(test-program-cmd).
13732 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13733 $(run-program-prefix) with $(test-program-prefix).
13734 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13735 (test_program_prefix): This.
13736 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13737 $(run-program-prefix) with $(test-program-prefix).
13738 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13739 (test_program_prefix): This.
13740 * iconvdata/tst-tables.sh: Likewise.
13741 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13742 $(run-program-prefix) with $(test-program-prefix).
13743 ($(objpfx)tst-translit.out): Likewise.
13744 ($(objpfx)tst-gettext2.out): Likewise.
13745 ($(objpfx)tst-gettext4.out): Likewise.
13746 ($(objpfx)tst-gettext6.out): Likewise.
13747 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13748 (test_program_prefix): This.
13749 * intl/tst-gettext2.sh: Likewise.
13750 * intl/tst-gettext4.sh Likewise.
13751 * intl/tst-gettext6.sh: Likewise.
13752 * intl/tst-translit.sh: Likewise.
13753 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13754 with $(test-program-cmd).
13755 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13756 $(run-program-prefix) with $(test-program-prefix).
13757 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13758 (test_program_prefix): This.
13759 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13760 $(run-program-prefix) with $(test-program-prefix).
13761 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13762 (test_program_prefix): This.
13763 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13764 * posix/Makefile ($(objpfx)globtest.out): Replace
13765 $(run-via-rtld-prefix) and $(test-wrapper) with
13766 $(test-program-prefix) and $(test-via-rtld-prefix).
13767 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13768 $(test-program-prefix).
13769 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13770 $(host-test-program-cmd).
13771 (tst-spawn-ARGS): Likewise.
13772 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13773 $(test-program-prefix).
13774 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13775 (test_via_rtld_prefix): This.
13776 (test_wrapper): Renamed to ...
13777 (test_program_prefix): This.
13778 (run_program_prefix): Replaced by test_program_prefix.
13779 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13780 (test_program_prefix): This.
13781 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13782 with $(host-test-program-cmd).
13783 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13784 $(run-program-prefix) with $(test-program-prefix).
13785 ($(objpfx)tst-printf.out): Likewise.
13786 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13787 $(test-program-cmd).
13788 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13789 (test_program_prefix): This.
13790 * stdio-common/tst-unbputc.sh: Likewise.
13791 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13792 $(run-program-prefix) with $(test-program-prefix).
13793 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13794 (test_program_prefix): This.
13795 * string/Makefile ($(objpfx)tst-svc.out): Replace
13796 $(built-program-cmd) with $(test-program-cmd).
13798 2013-01-11 Andreas Jaeger <aj@suse.de>
13801 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13802 value. Sync with Linux 3.7.
13804 2013-01-10 David S. Miller <davem@davemloft.net>
13806 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13807 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13808 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13810 2013-01-10 Roland McGrath <roland@hack.frob.com>
13812 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13814 * configure: Regenerated.
13816 2013-01-10 David S. Miller <davem@davemloft.net>
13818 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13819 sparc V9 rather than using V8 code.
13820 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13821 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13823 2013-01-10 Roland McGrath <roland@hack.frob.com>
13825 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13826 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13827 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13828 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13829 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13830 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13831 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13832 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13833 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13834 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13835 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13836 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13837 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13838 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13839 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13840 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13841 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13842 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13843 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13844 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13845 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13846 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13847 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13848 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13849 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13850 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13851 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13853 2013-01-10 David S. Miller <davem@davemloft.net>
13855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13857 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13859 * posix/Makefile (tests-static): New variable.
13860 (tests): Add $(tests-static).
13861 (tst-exec-static-ARGS): New variable.
13862 (tst-spawn-static-ARGS): Likewise.
13863 * posix/tst-exec-static.c: New file.
13864 * posix/tst-spawn-static.c: Likewise.
13865 * posix/tst-exec.c: Support run directly.
13866 * posix/tst-spawn.c: Likewise.
13868 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13870 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13872 * math/bits/mathcalls.h (llrint): Likewise.
13873 (llround): Likewise.
13874 * stdlib/stdlib.h (struct drand48_data): Likewise.
13875 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13876 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13877 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13879 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13881 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13882 (elf_greg_t): Likewise.
13883 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13884 (__jmp_buf): Likewise.
13885 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13887 (llrint): Likewise, for all definitions.
13888 (llrintl): Likewise.
13890 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13891 Remove [__GNUC__] condition.
13892 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13893 condition to just [__USE_ISOC99].
13894 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13896 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13899 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13900 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13902 (_POSIX_V6_ILP32_OFF32): Likewise.
13903 (_XBS5_ILP32_OFF32): Likewise.
13904 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13905 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13907 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13909 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13912 doubles __mpexp_twomm1. Adjust usage.
13913 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13916 2013-01-10 Andreas Schwab <schwab@suse.de>
13919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13920 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13922 2013-01-09 David S. Miller <davem@davemloft.net>
13925 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13926 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13927 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13928 TCP_FASTOPEN): Define.
13929 (tcp_repair_opt): New structure.
13930 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13932 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13933 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13934 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13935 (tcp_cookie_transactions): New structure.
13937 2013-01-09 Anton Blanchard <anton@samba.org>
13939 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13940 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13941 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13942 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13944 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13946 * include/features.h (__USE_ANSI): Remove.
13948 2013-01-09 Roland McGrath <roland@hack.frob.com>
13950 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13952 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13954 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13956 * sysdeps/s390/fpu/libm-test-ulps: Update.
13958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13960 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13964 (denorm): Likewise.
13965 (__mp_dbl): Likewise.
13966 (__dbl_mp): Likewise.
13967 (add_magnitudes): Likewise.
13968 (sub_magnitudes): Likewise.
13974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13978 (denorm): Likewise.
13979 (__mp_dbl): Likewise.
13980 (__dbl_mp): Likewise.
13981 (add_magnitudes): Likewise.
13982 (sub_magnitudes): Likewise.
13988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13992 (denorm): Likewise.
13993 (__mp_dbl): Likewise.
13994 (__dbl_mp): Likewise.
13995 (add_magnitudes): Likewise.
13996 (sub_magnitudes): Likewise.
14003 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14005 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14006 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14007 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14008 2 && __USE_EXTERN_INLINES]: Likewise.
14010 2013-01-08 Andreas Jaeger <aj@suse.de>
14013 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14015 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14016 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14018 2013-01-07 Anton Blanchard <anton@samba.org>
14020 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14021 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14022 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14023 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14024 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14025 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14026 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14027 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14029 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14034 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14035 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14036 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14037 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14038 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14039 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14040 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14041 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14042 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14043 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14044 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14045 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14046 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14047 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14049 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14050 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14052 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14054 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14055 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14056 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14058 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14059 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14060 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14062 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14064 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14066 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14067 (__MALLOC_PMT): Likewise.
14068 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14069 [__GNUC__], only on [_LIBC].
14070 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14071 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14072 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14073 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14074 forward declaration.
14075 (realloc_hook_ini): Likewise.
14076 (memalign_hook_ini): Likewise.
14077 (__libc_memalign): Do not use __MALLOC_PMT in variable
14079 (__libc_valloc): Likewise.
14080 (__libc_pvalloc): Likewise.
14081 (__libc_calloc): Likewise.
14082 (__posix_memalign): Likewise.
14085 * math/s_casinh.c: Include <float.h>.
14086 (__casinh): Do not do computation with squaring and square root
14087 for large arguments.
14088 * math/s_casinhf.c: Include <float.h>.
14089 (__casinhf): Do not do computation with squaring and square root
14090 for large arguments.
14091 * math/s_casinhl.c: Include <float.h>.
14092 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14093 (__casinhl): Do not do computation with squaring and square root
14094 for large arguments.
14095 * math/libm-test.inc (casin_test): Add more tests.
14096 (casinh_test): Likewise.
14097 * sysdeps/i386/fpu/libm-test-ulps: Update.
14098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14100 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14102 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14103 (__x86_64_raw_data_cache_size): Likewise.
14104 (__x86_64_data_cache_size_half): Likewise.
14105 (__x86_64_raw_data_cache_size_half): Likewise.
14106 (__x86_64_shared_cache_size): Likewise.
14107 (__x86_64_raw_shared_cache_size): Likewise.
14108 (__x86_64_shared_cache_size_half): Likewise.
14109 (__x86_64_raw_shared_cache_size_half): Likewise.
14110 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14112 (__x86_data_cache_size): This.
14113 (__x86_64_raw_data_cache_size): Renamed to ...
14114 (__x86_raw_data_cache_size): This.
14115 (__x86_64_data_cache_size_half): Renamed to ...
14116 (__x86_data_cache_size_half): This.
14117 (__x86_64_raw_data_cache_size_half): Renamed to ...
14118 (__x86_raw_data_cache_size_half): This.
14119 (__x86_64_shared_cache_size): Renamed to ...
14120 (__x86_shared_cache_size): This.
14121 (__x86_64_raw_shared_cache_size): Renamed to ...
14122 (__x86_raw_shared_cache_size): This.
14123 (__x86_64_shared_cache_size_half): Renamed to ...
14124 (__x86_shared_cache_size_half): This.
14125 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14126 (__x86_raw_shared_cache_size_half): This.
14127 * sysdeps/x86_64/memcpy.S: Updated.
14128 * sysdeps/x86_64/memset.S: Likewise.
14129 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14133 2013-01-04 David S. Miller <davem@davemloft.net>
14135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14137 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14139 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14140 1 to avoid redefinition warning.
14141 (__USE_GNU): Don't define.
14142 (init_signaling_nan): Protoize.
14144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14146 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14148 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14150 (__cpymn): Likewise.
14151 (norm): Remove commented code.
14152 (denorm): Likewise.
14153 (__mp_dbl): Likewise.
14155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14156 (__cpymn): Likewise.
14157 (norm): Remove commented code.
14158 (denorm): Likewise.
14159 (__mp_dbl): Likewise.
14162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14163 mp_no value for 1.0 and 2.0.
14164 (norm): Use RADIXI instead of radixi.d.
14165 (denorm): Likewise.
14166 (__mul): Use 0.0 instead of zero.d.
14167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14168 mp_no value for 1.0 and 2.0.
14169 (norm): Use RADIXI instead of radixi.d.
14170 (denorm): Likewise.
14171 (__mul): Use 0.0 instead of zero.d.
14173 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14176 * math/s_casinh.c (__casinh): Reduce finite argument to first
14177 quadrant then set signs of results at the end.
14178 * math/s_casinhf.c (__casinhf): Likewise.
14179 * math/s_casinhl.c (__casinhl): Likewise.
14180 * math/libm-test.inc (casin_test): Add more tests.
14181 (casinh_test): Likewise.
14182 * sysdeps/i386/fpu/libm-test-ulps: Update.
14183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14185 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14187 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14189 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14191 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14193 (denorm): Likewise.
14194 (__mp_dbl): Likewise.
14197 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14198 and adjust the header comment.
14200 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14201 variable name from declaration.
14203 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14206 Initialize COMMON_CPUID_INDEX_7 element.
14207 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14208 (CPUID_RTM): Likewise.
14209 (HAS_RTM): Likewise.
14210 (COMMON_CPUID_INDEX_7): New enum.
14212 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14215 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14216 size is zero, record memory as freed.
14218 2013-01-03 Andreas Jaeger <aj@suse.de>
14220 * po/ia.po: Add new Interlingua translation.
14222 2012-01-03 Allan McRae <allan@archlinux.org>
14224 * locale/programs/localedef.c: Fix description of '--posix' flag.
14226 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14228 * NEWS: Update dates in second copyright notice.
14229 * README: Update copyright dates in example.
14230 * manual/libc.texinfo: Update copyright dates.
14231 * scripts/test-installation.pl: Update copyright date in --version
14234 * hurd/ctty-input.c: Fix copyright notice formatting.
14235 * hurd/ctty-output.c: Likewise.
14236 * hurd/dtable.c: Likewise.
14237 * hurd/hurd-raise.c: Likewise.
14238 * hurd/hurdprio.c: Likewise.
14239 * hurd/msgportdemux.c: Likewise.
14240 * misc/sys/file.h: Likewise.
14241 * misc/sys/ioctl.h: Likewise.
14242 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14243 * sysdeps/mach/hurd/chdir.c: Likewise.
14244 * sysdeps/mach/hurd/fchdir.c: Likewise.
14245 * sysdeps/mach/hurd/rename.c: Likewise.
14246 * sysdeps/mach/hurd/rmdir.c: Likewise.
14247 * sysdeps/mach/hurd/seekdir.c: Likewise.
14248 * sysdeps/mach/hurd/setsid.c: Likewise.
14249 * sysdeps/posix/wait3.c: Likewise.
14251 * All files with FSF copyright notices: Update copyright dates
14252 using scripts/update-copyrights.
14253 * intl/plural.c: Regenerated.
14254 * locale/programs/charmap-kw.h: Likewise.
14255 * locale/programs/locfile-kw.h: Likewise.
14257 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14259 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14262 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14263 calculation loop and add branch prediction.
14265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14266 check access beyond bounds of m1np.
14268 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14270 (__inv): Remove local variable MPTWO to use the global
14272 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14275 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14276 MP3HALFS static const.
14278 2013-01-01 David S. Miller <davem@davemloft.net>
14280 * po/ca.po: Update from translation team.
14282 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14284 * scripts/update-copyrights: New file.
14285 * Makeconfig: Reformat copyright notice.
14286 * ctype/ctype.h: Likewise.
14287 * debug/swprintf_chk.c: Likewise.
14288 * elf/dl-cache.c: Likewise.
14289 * elf/dl-debug.c: Likewise.
14290 * elf/dl-object.c: Likewise.
14291 * grp/initgroups.c: Likewise.
14292 * hurd/Makefile: Likewise.
14293 * hurd/hurd/signal.h: Likewise.
14294 * hurd/hurdfault.c: Likewise.
14295 * hurd/hurdioctl.c: Likewise.
14296 * hurd/hurdlookup.c: Likewise.
14297 * hurd/intr-msg.c: Likewise.
14298 * iconv/gconv_open.c: Likewise.
14299 * libio/swprintf.c: Likewise.
14300 * locale/lc-ctype.c: Likewise.
14301 * locale/nl_langinfo.c: Likewise.
14302 * mach/Machrules: Likewise.
14303 * mach/Makefile: Likewise.
14304 * malloc/obstack.h: Likewise.
14305 * manual/Makefile: Likewise.
14306 * manual/tsort.awk: Likewise.
14307 * misc/bits/stab.def: Likewise.
14308 * nis/nis_print_group_entry.c: Likewise.
14309 * nis/nis_table.c: Likewise.
14310 * nis/nss_compat/compat-pwd.c: Likewise.
14311 * nis/nss_compat/compat-spwd.c: Likewise.
14312 * po/Makefile: Likewise.
14313 * posix/fnmatch.c: Likewise.
14314 * posix/regex.h: Likewise.
14315 * resolv/Makefile: Likewise.
14316 * resolv/nss_dns/dns-network.c: Likewise.
14317 * resolv/res_hconf.c: Likewise.
14318 * scripts/gen-sorted.awk: Likewise.
14319 * soft-fp/soft-fp.h: Likewise.
14320 * stdio-common/printf.h: Likewise.
14321 * stdlib/monetary.h: Likewise.
14322 * stdlib/random.c: Likewise.
14323 * stdlib/random_r.c: Likewise.
14324 * sysdeps/generic/Makefile: Likewise.
14325 * sysdeps/gnu/Makefile: Likewise.
14326 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14338 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14354 * sysdeps/mach/hurd/errnos.awk: Likewise.
14355 * sysdeps/mach/hurd/fork.c: Likewise.
14356 * sysdeps/mach/hurd/getcwd.c: Likewise.
14357 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14358 * sysdeps/mach/hurd/mmap.c: Likewise.
14359 * sysdeps/mach/hurd/utimes.c: Likewise.
14360 * sysdeps/mach/hurd/xmknod.c: Likewise.
14361 * sysdeps/posix/profil.c: Likewise.
14362 * sysdeps/posix/readdir_r.c: Likewise.
14363 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14364 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14365 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14366 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14368 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14369 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14370 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14372 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14373 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14374 * sysdeps/pthread/lio_listio.c: Likewise.
14375 * sysdeps/sparc/dl-procinfo.h: Likewise.
14376 * sysdeps/unix/i386/sysdep.S: Likewise.
14377 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14378 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14379 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14380 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14382 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14383 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14384 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14385 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14386 * sysdeps/wordsize-32/divdi3.c: Likewise.
14387 * time/sys/time.h: Likewise.
14388 * wcsmbs/Makefile: Likewise.
14390 2013-01-01 David S. Miller <davem@davemloft.net>
14392 * po/fr.po: Update from translation team.
14394 * catgets/gencat.c: Update copyright year.
14395 * csu/version.c: Likewise.
14396 * debug/catchsegv.sh: Likewise.
14397 * debug/pcprofiledump.c: Likewise.
14398 * debug/xtrace.sh: Likewise.
14399 * elf/ldconfig.c: Likewise.
14400 * elf/ldd.bash.in: Likewise.
14401 * elf/pldd.c: Likewise.
14402 * elf/sotruss.ksh: Likewise.
14403 * elf/sprof.c: Likewise.
14404 * iconv/iconv_prog.c: Likewise.
14405 * iconv/iconvconfig.c: Likewise.
14406 * locale/programs/locale.c: Likewise.
14407 * locale/programs/localedef.c: Likewise.
14408 * login/programs/pt_chown.c: Likewise.
14409 * malloc/memusage.sh: Likewise.
14410 * malloc/memusagestat.c: Likewise.
14411 * malloc/mtrace.pl: Likewise.
14412 * nscd/nscd.c: Likewise.
14413 * nss/getent.c: Likewise.
14414 * nss/makedb.c: Likewise.
14415 * posix/getconf.c: Likewise.
14417 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14419 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14422 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14424 * math/bits/mathcalls.h (modf): Use __nonnull.
14426 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14428 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14429 (split): Use macro CN instead of the bare value.
14430 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14433 instead of the bare value.
14434 (power1): Likewise.
14436 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14438 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14440 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14442 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14444 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14445 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14446 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14447 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14449 2012-12-28 Andreas Jaeger <aj@suse.de>
14451 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14452 values are from Linux 3.7.
14454 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14455 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14457 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14459 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14462 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14464 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14465 variables with preprocessor constants.
14466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14467 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14468 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14470 2012-12-27 Bruno Haible <bruno@clisp.org>
14473 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14476 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14479 and use variable directly.
14480 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14482 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14484 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14485 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14487 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14489 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14490 include directive. Remove local variable MPONE.
14491 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14492 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14493 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14495 2012-12-25 David S. Miller <davem@davemloft.net>
14497 * version.h (RELEASE): Set to "development".
14498 (VERSION): Set to "2.17.90".
14499 * NEWS: Add 2.18 section.
14501 2012-12-21 David S. Miller <davem@davemloft.net>
14503 * po/hr.po: Update from translation team.
14505 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14507 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14509 2012-12-19 Steve Ellcey <sellcey@mips.com>
14511 * NEWS: Mention new memcpy for MIPS.
14513 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14515 * manual/contrib.texi (Contributors): Spelling correction.
14517 2012-12-15 David S. Miller <davem@davemloft.net>
14519 * po/ru.po: Update from translation team.
14521 2012-12-13 David S. Miller <davem@davemloft.net>
14523 * NEWS: Mention IFUNC testsuite enhancements.
14525 * po/pl.po: Update from translation team.
14526 * po/bg.po: Likewise.
14528 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14529 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14531 2012-12-11 David S. Miller <davem@davemloft.net>
14533 * po/sv.po: Update from translation team.
14535 * po/vi.po: Update from translation team.
14537 * po/cs.po: Update from translation team.
14539 * po/de.po: Update from translation team.
14540 * po/eo.po: Likewise.
14541 * po/nl.po: Likewise.
14543 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14546 * manual/argp.texi (Argp Helper Functions): Move node to follow
14547 Argp Parsing State.
14550 * manual/conf.texi (Limits on File System Capacity): Mention if
14551 terminating null is included in the max size.
14553 2012-12-10 Andreas Jaeger <aj@suse.de>
14555 * po/cs.po: Update from translation team.
14557 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14559 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14560 void pointer and cast to uintptr_t.
14561 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14563 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14564 * sysdeps/s390/s390-64/memset.S: Likewise.
14566 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14569 * menual/message.texi (Message Translation): Fix typos.
14570 (Helper programs for gettext): Likewise.
14572 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14575 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14578 2012-12-07 David S. Miller <davem@davemloft.net>
14580 * po/libc.pot: Update.
14582 2012-12-07 Richard Henderson <rth@redhat.com>
14585 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14586 normal/normal case to before the switch.
14587 (_FP_DIV): Likewise.
14589 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14590 Mike Frysinger <vapier@gentoo.org>
14592 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14593 check for __NR_fadvise64_64.
14595 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14597 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14598 0, not just to plain "0" as a statement.
14599 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14602 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14604 * NEWS: Use sourceware.org in Bugzilla URL.
14606 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14609 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14611 * stdio-common/tst-put-error.c (do_test): Add newline to the
14612 padded test to ensure flush.
14614 2012-12-05 Jeff Law <law@redhat.com>
14616 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14618 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14620 * README: Don't refer to ports add-on as distributed separately.
14621 Mention AArch64 in list of systems supported in the ports add-on.
14623 * LICENSES: Add more non-FSF copyright and license notices.
14625 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14630 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14631 10000 as width of padded output.
14633 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14635 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14637 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14638 variable LX with __attribute__ ((unused)).
14639 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14641 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14644 with __attribute__ ((unused)).
14646 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14648 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14650 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14652 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14653 (CFLAGS-nldbl-acos.c): New variable.
14654 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14655 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14656 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14657 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14658 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14659 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14660 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14661 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14662 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14663 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14664 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14665 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14666 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14667 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14668 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14669 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14670 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14671 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14672 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14673 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14674 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14675 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14676 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14677 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14678 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14679 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14680 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14681 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14682 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14683 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14684 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14685 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14686 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14687 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14688 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14689 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14690 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14691 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14692 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14693 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14694 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14695 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14696 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14697 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14698 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14699 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14700 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14701 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14702 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14703 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14704 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14705 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14706 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14707 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14708 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14709 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14710 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14711 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14712 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14713 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14714 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14715 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14716 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14717 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14718 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14719 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14720 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14721 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14722 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14723 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14724 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14725 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14726 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14727 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14728 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14729 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14730 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14731 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14732 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14733 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14734 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14735 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14736 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14737 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14738 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14739 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14740 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14741 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14742 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14743 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14744 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14745 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14746 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14747 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14748 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14749 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14750 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14753 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14756 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14757 whole low double instead of just low 47 bits when splitting values
14760 2012-12-03 Allan McRae <allan@archlinux.org>
14762 * manual/stdio.texi (Predefined Printf Handlers): Remove
14763 @hsep and @vsep usage.
14765 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14767 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14768 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14770 2012-12-03 Jeff Law <law@redhat.com>
14772 * time/sys/time.h (settimeofday): Do not mark TV argument
14775 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14777 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14778 when currently writing and seek to current position when not.
14779 * libio/Makefile (tests): Remove bug-fclose1.
14780 * libio/bug-fclose1.c: Delete.
14782 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14784 * manual/arith.texi (feenableexcept): Fix typo.
14785 (fedisableexcept): Likewise.
14787 2012-11-30 Roland McGrath <roland@hack.frob.com>
14789 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14790 second, differently-typed declaration, rather than a cast.
14792 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14794 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14795 * include/rpc/svc.h: ... here.
14797 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14800 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14801 depending n and resplen2 to catch cases where answer
14804 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14806 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14807 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14809 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14813 2012-11-29 Roland McGrath <roland@hack.frob.com>
14815 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14817 2012-11-28 Jeff Law <law@redhat.com>
14820 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14821 dataset_temporary. Track alloca usage into alloca_used.
14822 If dataset is large allocate and release it via malloc/free.
14824 2012-06-04 Florian Weimer <fweimer@redhat.com>
14827 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14829 2012-11-28 David S. Miller <davem@davemloft.net>
14831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14833 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14836 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14837 of pi/2 rounded to nearest to 64 bits.
14838 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14839 nearest to 64 bits.
14840 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14843 2012-11-28 Jeff Law <law@redhat.com>
14844 Martin Osvald <mosvald@redhat.com>
14847 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14848 * sunrpc/svc.c: Include time.h.
14849 (__svc_accept_failed): New function.
14850 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14851 any reason other than EINTR, call __svc_accept_failed.
14852 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14853 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14855 2012-11-28 Andreas Schwab <schwab@suse.de>
14857 * scripts/abilist.awk: Also handle indirect functions in .opd
14860 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14863 * sysdeps/x86/fpu/powl_helper.c: New file.
14864 * sysdeps/x86/fpu/Makefile: Likewise.
14865 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14867 (__ieee754_powl): Use __powl_helper for finite arguments except
14868 integer exponents below 8.
14869 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14871 (__ieee754_powl): Use __powl_helper for finite arguments except
14872 integer exponents below 8.
14873 * math/libm-test.inc (pow_test): Add more tests and enable some
14874 previously disabled tests.
14875 * sysdeps/i386/fpu/libm-test-ulps: Update.
14876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14878 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14879 Carlos O'Donell <carlos_odonell@mentor.com>
14881 * nss/makedb.c (is_prime): Assert that input is odd and greater
14882 than 4. Note that fact in a comment too.
14883 (next_prime): Add 4 to input.
14885 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14888 * libio/Makefile (tests): Add test case tst-fwrite-error.
14889 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14890 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14891 * libio/tst-fwrite-error.c: New test case.
14893 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14895 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14896 before casting to void *.
14897 * include/libc-internal.h (__pointer_type): New macro.
14898 (__integer_if_pointer_type_sub): Likewise.
14899 (__integer_if_pointer_type): Likewise.
14900 (cast_to_integer): Likewise.
14901 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14902 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14903 before casting to atomic64_t.
14904 (atomic_exchange_acq): Likewise.
14905 (__arch_exchange_and_add_body): Likewise.
14906 (__arch_add_body): Likewise.
14907 (atomic_add_negative): Likewise.
14908 (atomic_add_zero): Likewise.
14910 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14912 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14913 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14914 (add_fdes): Likewise.
14915 (linear_search_fdes): Likewise.
14916 (binary_search_unencoded_fdes): Likewise.
14918 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14920 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14922 2012-11-24 Adam Conrad <adconrad@0c3.net>
14924 * configure.in: Autodetect C++ header directories.
14925 * configure: Regenerated.
14927 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14929 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14931 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14935 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14937 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14938 LDBL_MANT_DIG == 106]: Disable some tests.
14939 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14941 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14945 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14946 input for small inputs. Return +/- pi/2 for large inputs.
14947 * math/libm-test.inc (atan_test): Add more tests.
14949 * sysdeps/generic/unwind-dw2-fde-glibc.c
14950 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14951 __attribute__ ((unused)).
14954 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14955 x * y if x and y are nonzero and z is zero.
14958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14959 nonzero exponents with absolute value below 0x1p-117 to +/-
14963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14964 up arguments below 2**-450, not just those below 2**-500.
14965 * math/libm-test.inc (hypot_test): Add another test.
14968 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14969 Return a+b for ratio over 2**120, not 2**60.
14970 * math/libm-test.inc (hypot_test): Add another test.
14972 * math/libm-test.inc (clog_test): Use
14973 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14974 (clog10_test): Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14979 2012-11-22 Andreas Schwab <schwab@suse.de>
14981 * sysdeps/i386/fpu/libm-test-ulps: Update.
14983 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14985 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14986 printf output with newline.
14988 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14991 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14992 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14993 -z nodlopen, -z initfirst and -z execstack support.
14994 * configure: Regenerated.
14996 * elf/elf.h (DF_1_NODIRECT): New macro.
14997 (DF_1_IGNMULDEF): Likewise.
14998 (DF_1_NOKSYMS): Likewise.
14999 (DF_1_NOHDR): Likewise.
15000 (DF_1_EDITED): Likewise.
15001 (DF_1_NORELOC): Likewise.
15002 (DF_1_SYMINTPOSE): Likewise.
15003 (DF_1_GLOBAUDIT): Likewise.
15004 (DF_1_SINGLETON): Likewise.
15005 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15006 DT_1_SUPPORTED_MASK bits.
15007 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15009 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15011 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15013 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15015 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15018 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15019 (sendmmsg): Move declarations...
15020 * socket/sys/socket.h: ... here.
15021 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15022 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15024 * socket/recvmmsg.c: ... this new file.
15025 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15026 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15027 definition of __sendmmsg hidden.
15028 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15029 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15030 Move ENOSYS stub into and include it from...
15031 * socket/sendmmsg.c: ... this new file.
15032 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15033 (sysdep_routines): Move recvmmsg and sendmmsg...
15034 * socket/Makefile (routines): ... here.
15035 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15036 (GLIBC_PRIVATE): Add __sendmmsg.
15037 * include/sys/socket.h (__sendmmsg): Add declarations.
15038 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15041 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15044 variable I1 with __attribute__ ((unused)).
15045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15047 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15049 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15050 DUMMY variables with __attribute__ ((unused)).
15052 * bits/byteswap.h: Include <bits/types.h>.
15053 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15055 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15057 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15058 string_t. Do not manually set errno.
15059 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15060 length with __strnlen. Make sure to both set errno and return it on
15063 2012-11-19 David S. Miller <davem@davemloft.net>
15065 With help from Joseph Myers.
15066 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15067 very large arguments properly.
15068 * math/libm-test.inc (atan_test): New tests.
15069 (atan2_test): New tests.
15070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15073 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15076 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15079 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15080 [POSIX] (EADDRNOTAVAIL): Likewise.
15081 [POSIX] (EAFNOSUPPORT): Likewise.
15082 [POSIX] (EALREADY): Likewise.
15083 [POSIX] (ECONNABORTED): Likewise.
15084 [POSIX] (ECONNREFUSED): Likewise.
15085 [POSIX] (ECONNRESET): Likewise.
15086 [POSIX] (EDESTADDRREQ): Likewise.
15087 [POSIX] (EDQUOT): Likewise.
15088 [POSIX] (EHOSTUNREACH): Likewise.
15089 [POSIX] (EIDRM): Likewise.
15090 [POSIX] (EISCONN): Likewise.
15091 [POSIX] (ELOOP): Likewise.
15092 [POSIX] (EMULTIHOP): Likewise.
15093 [POSIX] (ENETDOWN): Likewise.
15094 [POSIX] (ENETUNREACH): Likewise.
15095 [POSIX] (ENOBUFS): Likewise.
15096 [POSIX] (ENODATA): Likewise.
15097 [POSIX] (ENOLINK): Likewise.
15098 [POSIX] (ENOMSG): Likewise.
15099 [POSIX] (ENOPROTOOPT): Likewise.
15100 [POSIX] (ENOSR): Likewise.
15101 [POSIX] (ENOSTR): Likewise.
15102 [POSIX] (ENOTCONN): Likewise.
15103 [POSIX] (ENOTSOCK): Likewise.
15104 [POSIX] (EOPNOTSUPP): Likewise.
15105 [POSIX] (EOVERFLOW): Likewise.
15106 [POSIX] (EPROTO): Likewise.
15107 [POSIX] (EPROTONOSUPPORT): Likewise.
15108 [POSIX] (EPROTOTYPE): Likewise.
15109 [POSIX] (ESTALE): Likewise.
15110 [POSIX] (ETIME): Likewise.
15111 [POSIX] (ETXTBSY): Likewise.
15112 [POSIX] (EWOULDBLOCK): Likewise.
15113 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15114 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15115 [POSIX] (SEEK_CUR): Likewise.
15116 [POSIX] (SEEK_END): Likewise.
15117 [POSIX || UNIX98] (mode_t): Do not require.
15118 [POSIX] (off_t): Likewise.
15119 [POSIX] (pid_t): Likewise.
15120 [POSIX] (sys/stat.h): Do not allow header.
15121 [POSIX] (unistd.h): Likewise.
15122 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15123 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15124 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15125 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15127 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15128 sigevent): Specify elements.
15129 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15131 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15132 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15134 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15135 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15136 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15137 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15138 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15139 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15140 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15141 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15142 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15143 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15144 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15145 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15146 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15149 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15151 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15153 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15155 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15156 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15157 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15158 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15159 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15160 Specify lower bound on value.
15161 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15162 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15163 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15164 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15165 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15166 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15167 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15168 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15170 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15172 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15173 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15174 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15175 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15176 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15177 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15178 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15179 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15180 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15181 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15182 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15183 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15184 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15185 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15186 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15187 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15189 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15191 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15192 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15193 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15198 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15200 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15201 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15202 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15203 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15206 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15208 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15209 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15210 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15211 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15212 specify as optional.
15213 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15214 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15215 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15216 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15217 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15218 [XPG3] (NL_LANGMAX): Likewise.
15219 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15220 [POSIX || XPG3] (NL_NMAX): Likewise.
15221 [POSIX || XPG3] (NL_SETMAX): Likewise.
15222 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15223 [XPG3] (NZERO): Likewise.
15224 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15225 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15226 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15227 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15228 (REG_ERANGE): Expect.
15229 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15231 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15232 Use (void) in prototype.
15233 [POSIX] (*_t): Allow.
15234 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15235 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15236 (WRDE_BADVAL): Expect.
15238 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15240 [XPG3 || XPG4] (O_RSYNC): Likewise.
15241 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15243 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15244 [XPG3 || XPG4] (sigqueue): Likewise.
15245 [XPG3 || XPG4] (sigtimedwait): Likewise.
15246 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15247 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15248 [XPG3 || XPG4] (vsnprintf): Likewise.
15249 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15251 [XPG3 || XPG4] (blksize_t): Likewise.
15252 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15254 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15255 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15256 [XPG3 || XPG4] (struct itimerspec): Likewise.
15257 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15258 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15259 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15260 [XPG3 || XPG4] (clockid_t): Likewise.
15261 [XPG3 || XPG4] (timer_t): Likewise.
15262 [XPG3 || XPG4] (clock_getres): Likewise.
15263 [XPG3 || XPG4] (clock_gettime): Likewise.
15264 [XPG3 || XPG4] (clock_settime): Likewise.
15265 [XPG3 || XPG4] (nanosleep): Likewise.
15266 [XPG3 || XPG4] (timer_create): Likewise.
15267 [XPG3 || XPG4] (timer_delete): Likewise.
15268 [XPG3 || XPG4] (timer_gettime): Likewise.
15269 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15270 [XPG3 || XPG4] (timer_settime): Likewise.
15271 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15272 [XPG3 || XPG4] (getlogin_r): Likewise.
15273 [XPG3 || XPG4] (pread): Likewise.
15274 [XPG3 || XPG4] (pthread_atfork): Likewise.
15275 [XPG3 || XPG4] (pwrite): Likewise.
15278 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15281 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15283 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15284 finalizing MALLSTREAM.
15286 * sysdeps/mach/hurd/syncfs.c: New file.
15288 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15291 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15292 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15293 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15294 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15295 (_nss_dns_gethostbyname4_r): Likewise.
15296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15297 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15299 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15302 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15304 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15306 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15307 * elf/cache.c (print_entry): Print ",AArch64" for
15310 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15311 * elf/cache.c (print_entry): Print ",hard-float" for
15314 2012-11-18 David S. Miller <davem@davemloft.net>
15316 With help from Joseph Myers.
15317 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15319 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15321 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15322 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15324 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15325 * math/libm-test.inc (y0_test): New tests.
15326 (y1_test): New tests.
15327 * sysdeps/i386/fpu/libm-test-ulps: Update.
15328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15331 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15333 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15335 * configure: Regenerated.
15337 2012-11-17 David S. Miller <davem@davemloft.net>
15340 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15341 nonzero exponents with absolute value below 0x1p-128 to +/-
15344 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15346 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15348 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15350 * posix/getconf-speclist.c: New file.
15351 * posix/posix-envs.def: Likewise.
15352 * posix/confstr.c (START_ENV_GROUP): New macro.
15353 (END_ENV_GROUP): Likewise.
15354 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15355 (KNOWN_PRESENT_ENV_STRING): Likewise.
15356 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15357 (UNKNOWN_ENVIRONMENT): Likewise.
15358 (confstr): Include posix-envs.def instead of handling
15359 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15360 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15361 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15362 (END_ENV_GROUP): Likewise.
15363 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15364 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15365 (UNKNOWN_ENVIRONMENT): Likewise.
15366 (__sysconf): Include posix-envs.def instead of handling associated
15367 cases directly here.
15368 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15369 preprocessing getconf-speclist.c rather than running getconf or
15370 generating empty file.
15372 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15374 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15376 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15379 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15381 2012-11-16 David S. Miller <davem@davemloft.net>
15383 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15384 smaller than LDBL_EPSILON/2.0L, just return xm1.
15386 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15388 * elf/tst-array1.c (init): Set constructor priority to 1000.
15389 (fini): Set destructor priority to 1000.
15390 * elf/tst-array2dep.c: Likewise.
15392 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15395 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15396 (_IO_new_file_xsputn): Also return EOF if none of the input
15397 data was written when overflow failed.
15398 * libio/iopadn.c (_IO_padn): Likewise.
15399 * libio/iowpadn.c (_IO_wpadn): Likewise.
15400 * stdio-common/tst-put-error.c: Add copyright notice.
15401 (do_test): Add case for printing padded string.
15402 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15403 _IO_padn returned error.
15404 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15405 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15408 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15410 * libio/libioP.h: Add comment note that the references to C++
15411 bits are now obsolete.
15413 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15415 * math/libm-test.inc (check_complex): Use asprintf.
15417 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15419 * debug/pcprofiledump.c (print_version): Update copyright year.
15420 * malloc/memusagestat.c (print_version): Likewise.
15422 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15425 * elf/Makefile (tests): Add tst-audit8.
15426 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15427 ($(objpfx)tst-audit8.out): New target.
15428 (tst-audit8-ENV): New variable.
15429 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15430 audit if l_reloc_result is NULL.
15431 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15432 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15433 * elf/tst-audit8.c: New file.
15435 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15437 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15438 * misc/Makefile (CFLAGS-select.c): Define.
15439 * posix/Makefile (CFLAGS-pause.c): Define.
15441 2012-11-13 David S. Miller <davem@davemloft.net>
15443 * crypt/Makefile: Move test targets after toplevel Rules
15444 inclusion. Grab any necessary sysdep routines when linking.
15445 * crypt/md5.c (md5_process_block): Remove define, we will always
15446 name it __md5_process_block.
15447 (md5_finish_ctx): Update md5_process_block call.
15448 (md5_stream): Likewise.
15449 (md5_process_bytes): Likewise.
15450 (md5_process_block): Rename to __md5_process_block and move to ...
15451 * crypt/md5-block.c: ... here.
15452 * crypt/sha256.c (sha256_process_block): Move to ...
15453 * crypt/sha256-block.c: ... here.
15454 * crypt/sha512.c (sha512_process_block): Move to ...
15455 * crypt/sha512-block.c: ... here.
15456 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15458 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15459 * sysdeps/sparc/sparc64/multiarch/Makefile
15460 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15462 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15463 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15465 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15466 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15467 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15468 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15469 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15470 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15471 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15472 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15473 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15475 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15480 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15482 * timezone/tzselect.ksh: Update from tzcode git revision
15483 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15484 * timezone/zdump.c: Likewise.
15485 * timezone/zic.c: Likewise.
15486 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15487 in TZVERSION setting, not $(PKGVERSION).
15488 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15489 REPORT_BUGS_TO settings.
15492 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15495 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15497 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15498 detection to immediately after _FP_ROUND().
15499 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15502 2012-11-11 David S. Miller <davem@davemloft.net>
15504 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15506 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15507 __close rather than their public counterparts.
15509 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15511 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15513 [UNIX98] (sem_timedwait): Do not expect.
15514 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15515 [XPG4 || UNIX98] (sockatmark): Do not expect.
15516 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15517 (clock_getcpuclockid): Do not expect.
15518 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15519 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15521 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15522 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15523 [UNIX98] (vwscanf): Likewise.
15524 [UNIX98] (vswscanf): Likewise.
15526 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15528 * timezone/version.h: Remove file.
15529 * timezone/README: Do not refer to version.h.
15530 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15531 $(objpfx)version.h.
15532 ($(objpfx)zdump.o): Likewise.
15533 ($(objpfx)version.h): New target.
15535 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15537 * timezone/README: Don't mention modification to tzselect.ksh.
15538 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15539 work on unmodified tzselect.ksh. Substitute version numbers in
15542 * Makefile (format-me): Remove.
15543 (INSTALL): Adjust indentation. Use commands directly instead of
15544 using $(format-me).
15546 * aclocal.m4 (ACX_PKGVERSION): New macro.
15547 (ACX_BUGURL): Likewise.
15548 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15549 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15550 (REPORT_BUGS_TO): Likewise.
15551 * configure: Regenerated.
15552 * config.h.in (PKGVERSION): New macro.
15553 (REPORT_BUGS_TO): Likewise.
15554 * config.make.in (PKGVERSION): New variable.
15555 (PKGVERSION_TEXI): Likewise.
15556 (REPORT_BUGS_TO): Likewise.
15557 (REPORT_BUGS_TEXI): Likewise.
15558 * Makefile (format-me): Use -I$(common-objpfx)manual.
15559 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15560 ($(common-objpfx)manual/%): New target.
15561 (manual/%): Remove target.
15562 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15563 (print_version): Use PKGVERSION.
15564 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15565 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15566 and REPORT_BUGS_TO.
15567 ($(objpfx)xtrace): Likewise.
15568 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15569 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15570 (print_version): Use PKGVERSION.
15571 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15572 (do_version): Use PKGVERSION.
15573 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15575 (common-ldd-rewrite): Likewise.
15576 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15577 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15578 (print_version): Use PKGVERSION.
15579 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15580 * elf/pldd.c (argp_program_bug_address): Remove variable.
15581 (more_help): New function.
15582 (argp): Use more_help.
15583 (print_version): Use PKGVERSION.
15584 * elf/sln.c (main): Use PKGVERSION.
15585 (usage): Use REPORT_BUGS_TO.
15586 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15587 (top level): Use PKGVERSION.
15588 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15589 (print_version): Use PKGVERSION.
15590 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15591 (print_version): Use PKGVERSION.
15592 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15593 (print_version): Use PKGVERSION.
15594 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15595 (print_version): Use PKGVERSION.
15596 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15597 (print_version): Use PKGVERSION.
15598 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15599 (print_version): Use PKGVERSION.
15600 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15602 ($(objpfx)memusage): Likewise.
15603 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15604 (do_version): Use PKGVERSION.
15605 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15606 (print_version): Use PKGVERSION.
15607 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15608 ($PKGVERSION): New variable.
15609 ($REPORT_BUGS_TO): Likewise.
15610 (usage): Use $REPORT_BUGS_TO.
15611 (top level): Use $PKGVERSION.
15612 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15613 ($(objpfx)pkgvers.texi): New rule.
15614 ($(objpfx)stamp-pkgvers): Likewise.
15615 * manual/install.texi: Include pkgvers.texi.
15616 (--with-pkgversion): Document new configure option.
15617 (--with-bugurl): Likewise.
15618 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15619 than necessarily for this particular distribution. Use
15620 REPORT_BUGS_TO for where to report bugs.
15621 * INSTALL: Regenerated.
15622 * manual/libc.texinfo: Include pkgvers.texi.
15623 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15624 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15625 (print_version): Use PKGVERSION.
15626 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15627 (print_version): Use PKGVERSION.
15628 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15629 (print_version): Use PKGVERSION.
15630 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15631 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15633 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15634 (print_version): Use PKGVERSION.
15635 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15636 (print_version): Use PKGVERSION.
15637 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15640 * timezone/checktab.awk: Update from tzcode 2012i.
15641 * timezone/ialloc.c: Likewise.
15642 * timezone/private.h: Likewise.
15643 * timezone/scheck.c: Likewise.
15644 * timezone/tzfile.h: Likewise.
15645 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15646 (TZVERSION): Hardcode tzcode version number.
15647 * timezone/zdump.c: Update from tzcode 2012i.
15648 * timezone/zic.c: Likewise.
15649 * timezone/version.h: New file.
15650 * timezone/README: Describe version.h. Update upstream location.
15653 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15654 (mktemp): Enable declaration.
15655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15672 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15673 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15674 for copies of such integer values.
15675 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15676 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15678 2012-11-09 Andreas Jaeger <aj@suse.de>
15680 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15681 definitions and declarations that are provided by
15682 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15684 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15686 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15687 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15688 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15691 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15693 * elf/elf.h: Update comment before AArch64 relocations.
15695 2012-11-07 David S. Miller <davem@davemloft.net>
15697 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15698 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15699 (__start_context): Declare.
15700 (__makecontext_ret): Delete.
15701 (__makecontext): Hook up __start_context instead of
15703 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15704 (sysdep_routines): Add __start_context when in stdlib.
15706 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15708 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15709 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15710 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15712 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15713 (READELF): New variable. Use it instead of hardcoded "readelf".
15715 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15717 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15718 * sysdeps/x86/Makefile: Here.
15719 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15720 * sysdeps/x86/tst-xmmymm.sh: This.
15722 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15724 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15726 [UNIX98] (pthread_barrier_t): Do not expect.
15727 [UNIX98] (pthread_barrierattr_t): Likewise.
15728 [UNIX98] (pthread_spinlock_t): Likewise.
15729 [UNIX98] (pthread_barrier_destroy): Likewise.
15730 [UNIX98] (pthread_barrier_init): Likewise.
15731 [UNIX98] (pthread_barrier_wait): Likewise.
15732 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15733 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15734 [UNIX98] (pthread_barrierattr_init): Likewise.
15735 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15736 [UNIX98] (pthread_getcpuclockid): Likewise.
15737 [UNIX98] (pthread_mutex_timedlock): Likewise.
15738 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15739 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15740 [UNIX98] (pthread_sigmask): Likewise.
15741 [UNIX98] (pthread_spin_destroy): Likewise.
15742 [UNIX98] (pthread_spin_init): Likewise.
15743 [UNIX98] (pthread_spin_lock): Likewise.
15744 [UNIX98] (pthread_spin_trylock): Likewise.
15745 [UNIX98] (pthread_spin_unlock): Likewise.
15746 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15748 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15749 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15750 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15751 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15752 [XPG3 || XPG4] (pthread_key_t): Likewise.
15753 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15754 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15755 [XPG3 || XPG4] (pthread_once_t): Likewise.
15756 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15757 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15759 [XPG3 || XPG4] (pthread_t): Likewise.
15761 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15763 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15765 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15766 Change function return type to int.
15768 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15769 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15770 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15771 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15772 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15773 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15774 [!POSIX] (posix_madvise): Likewise.
15775 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15777 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15778 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15779 (mode_t): Likewise.
15780 (posix_mem_offset): Likewise.
15781 (posix_typed_mem_get_info): Likewise.
15782 (posix_typed_mem_open): Likewise.
15784 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15785 Change condition to [XOPEN2K8].
15787 * conform/conformtest.pl: Preprocess allow-header data with -x c
15788 instead of from stdin.
15789 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15790 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15791 [C99-based standards] (cerfc): Likewise.
15792 [C99-based standards] (cexp2): Likewise.
15793 [C99-based standards] (cexpm1): Likewise.
15794 [C99-based standards] (clog10): Likewise.
15795 [C99-based standards] (clog1p): Likewise.
15796 [C99-based standards] (clog2): Likewise.
15797 [C99-based standards] (clgamma): Likewise.
15798 [C99-based standards] (ctgamma): Likewise.
15799 [C99-based standards] (cerff): Likewise.
15800 [C99-based standards] (cerfcf): Likewise.
15801 [C99-based standards] (cexp2f): Likewise.
15802 [C99-based standards] (cexpm1f): Likewise.
15803 [C99-based standards] (clog10f): Likewise.
15804 [C99-based standards] (clog1pf): Likewise.
15805 [C99-based standards] (clog2f): Likewise.
15806 [C99-based standards] (clgammaf): Likewise.
15807 [C99-based standards] (ctgammaf): Likewise.
15808 [C99-based standards] (cerfl): Likewise.
15809 [C99-based standards] (cerfcl): Likewise.
15810 [C99-based standards] (cexp2l): Likewise.
15811 [C99-based standards] (cexpm1l): Likewise.
15812 [C99-based standards] (clog10l): Likewise.
15813 [C99-based standards] (clog1pl): Likewise.
15814 [C99-based standards] (clog2l): Likewise.
15815 [C99-based standards] (clgammal): Likewise.
15816 [C99-based standards] (ctgammal): Likewise.
15817 * conform/data/inttypes.h-data [C99-based standards]: Include
15818 stdint.h-data. Remove all expectations for stdint.h contents.
15819 [C99-based standards] (PRI*): Do not allow.
15820 [C99-based standards] (SCN*): Likewise.
15821 [C99-based standards] (*_t): Likewise.
15822 [C99-based-standards] (PRId8): Expect macro.
15823 [C99-based-standards] (PRIi8): Likewise.
15824 [C99-based-standards] (PRIo8): Likewise.
15825 [C99-based-standards] (PRIu8): Likewise.
15826 [C99-based-standards] (PRIx8): Likewise.
15827 [C99-based-standards] (PRIX8): Likewise.
15828 [C99-based-standards] (SCNd8): Likewise.
15829 [C99-based-standards] (SCNi8): Likewise.
15830 [C99-based-standards] (SCNo8): Likewise.
15831 [C99-based-standards] (SCNu8): Likewise.
15832 [C99-based-standards] (SCNx8): Likewise.
15833 [C99-based-standards] (PRIdLEAST8): Likewise.
15834 [C99-based-standards] (PRIiLEAST8): Likewise.
15835 [C99-based-standards] (PRIoLEAST8): Likewise.
15836 [C99-based-standards] (PRIuLEAST8): Likewise.
15837 [C99-based-standards] (PRIxLEAST8): Likewise.
15838 [C99-based-standards] (PRIXLEAST8): Likewise.
15839 [C99-based-standards] (SCNdLEAST8): Likewise.
15840 [C99-based-standards] (SCNiLEAST8): Likewise.
15841 [C99-based-standards] (SCNoLEAST8): Likewise.
15842 [C99-based-standards] (SCNuLEAST8): Likewise.
15843 [C99-based-standards] (SCNxLEAST8): Likewise.
15844 [C99-based-standards] (PRIdFAST8): Likewise.
15845 [C99-based-standards] (PRIiFAST8): Likewise.
15846 [C99-based-standards] (PRIoFAST8): Likewise.
15847 [C99-based-standards] (PRIuFAST8): Likewise.
15848 [C99-based-standards] (PRIxFAST8): Likewise.
15849 [C99-based-standards] (PRIXFAST8): Likewise.
15850 [C99-based-standards] (SCNdFAST8): Likewise.
15851 [C99-based-standards] (SCNiFAST8): Likewise.
15852 [C99-based-standards] (SCNoFAST8): Likewise.
15853 [C99-based-standards] (SCNuFAST8): Likewise.
15854 [C99-based-standards] (SCNxFAST8): Likewise.
15855 [C99-based-standards] (PRId16): Likewise.
15856 [C99-based-standards] (PRIi16): Likewise.
15857 [C99-based-standards] (PRIo16): Likewise.
15858 [C99-based-standards] (PRIu16): Likewise.
15859 [C99-based-standards] (PRIx16): Likewise.
15860 [C99-based-standards] (PRIX16): Likewise.
15861 [C99-based-standards] (SCNd16): Likewise.
15862 [C99-based-standards] (SCNi16): Likewise.
15863 [C99-based-standards] (SCNo16): Likewise.
15864 [C99-based-standards] (SCNu16): Likewise.
15865 [C99-based-standards] (SCNx16): Likewise.
15866 [C99-based-standards] (PRIdLEAST16): Likewise.
15867 [C99-based-standards] (PRIiLEAST16): Likewise.
15868 [C99-based-standards] (PRIoLEAST16): Likewise.
15869 [C99-based-standards] (PRIuLEAST16): Likewise.
15870 [C99-based-standards] (PRIxLEAST16): Likewise.
15871 [C99-based-standards] (PRIXLEAST16): Likewise.
15872 [C99-based-standards] (SCNdLEAST16): Likewise.
15873 [C99-based-standards] (SCNiLEAST16): Likewise.
15874 [C99-based-standards] (SCNoLEAST16): Likewise.
15875 [C99-based-standards] (SCNuLEAST16): Likewise.
15876 [C99-based-standards] (SCNxLEAST16): Likewise.
15877 [C99-based-standards] (PRIdFAST16): Likewise.
15878 [C99-based-standards] (PRIiFAST16): Likewise.
15879 [C99-based-standards] (PRIoFAST16): Likewise.
15880 [C99-based-standards] (PRIuFAST16): Likewise.
15881 [C99-based-standards] (PRIxFAST16): Likewise.
15882 [C99-based-standards] (PRIXFAST16): Likewise.
15883 [C99-based-standards] (SCNdFAST16): Likewise.
15884 [C99-based-standards] (SCNiFAST16): Likewise.
15885 [C99-based-standards] (SCNoFAST16): Likewise.
15886 [C99-based-standards] (SCNuFAST16): Likewise.
15887 [C99-based-standards] (SCNxFAST16): Likewise.
15888 [C99-based-standards] (PRId32): Likewise.
15889 [C99-based-standards] (PRIi32): Likewise.
15890 [C99-based-standards] (PRIo32): Likewise.
15891 [C99-based-standards] (PRIu32): Likewise.
15892 [C99-based-standards] (PRIx32): Likewise.
15893 [C99-based-standards] (PRIX32): Likewise.
15894 [C99-based-standards] (SCNd32): Likewise.
15895 [C99-based-standards] (SCNi32): Likewise.
15896 [C99-based-standards] (SCNo32): Likewise.
15897 [C99-based-standards] (SCNu32): Likewise.
15898 [C99-based-standards] (SCNx32): Likewise.
15899 [C99-based-standards] (PRIdLEAST32): Likewise.
15900 [C99-based-standards] (PRIiLEAST32): Likewise.
15901 [C99-based-standards] (PRIoLEAST32): Likewise.
15902 [C99-based-standards] (PRIuLEAST32): Likewise.
15903 [C99-based-standards] (PRIxLEAST32): Likewise.
15904 [C99-based-standards] (PRIXLEAST32): Likewise.
15905 [C99-based-standards] (SCNdLEAST32): Likewise.
15906 [C99-based-standards] (SCNiLEAST32): Likewise.
15907 [C99-based-standards] (SCNoLEAST32): Likewise.
15908 [C99-based-standards] (SCNuLEAST32): Likewise.
15909 [C99-based-standards] (SCNxLEAST32): Likewise.
15910 [C99-based-standards] (PRIdFAST32): Likewise.
15911 [C99-based-standards] (PRIiFAST32): Likewise.
15912 [C99-based-standards] (PRIoFAST32): Likewise.
15913 [C99-based-standards] (PRIuFAST32): Likewise.
15914 [C99-based-standards] (PRIxFAST32): Likewise.
15915 [C99-based-standards] (PRIXFAST32): Likewise.
15916 [C99-based-standards] (SCNdFAST32): Likewise.
15917 [C99-based-standards] (SCNiFAST32): Likewise.
15918 [C99-based-standards] (SCNoFAST32): Likewise.
15919 [C99-based-standards] (SCNuFAST32): Likewise.
15920 [C99-based-standards] (SCNxFAST32): Likewise.
15921 [C99-based-standards] (PRId64): Likewise.
15922 [C99-based-standards] (PRIi64): Likewise.
15923 [C99-based-standards] (PRIo64): Likewise.
15924 [C99-based-standards] (PRIu64): Likewise.
15925 [C99-based-standards] (PRIx64): Likewise.
15926 [C99-based-standards] (PRIX64): Likewise.
15927 [C99-based-standards] (SCNd64): Likewise.
15928 [C99-based-standards] (SCNi64): Likewise.
15929 [C99-based-standards] (SCNo64): Likewise.
15930 [C99-based-standards] (SCNu64): Likewise.
15931 [C99-based-standards] (SCNx64): Likewise.
15932 [C99-based-standards] (PRIdLEAST64): Likewise.
15933 [C99-based-standards] (PRIiLEAST64): Likewise.
15934 [C99-based-standards] (PRIoLEAST64): Likewise.
15935 [C99-based-standards] (PRIuLEAST64): Likewise.
15936 [C99-based-standards] (PRIxLEAST64): Likewise.
15937 [C99-based-standards] (PRIXLEAST64): Likewise.
15938 [C99-based-standards] (SCNdLEAST64): Likewise.
15939 [C99-based-standards] (SCNiLEAST64): Likewise.
15940 [C99-based-standards] (SCNoLEAST64): Likewise.
15941 [C99-based-standards] (SCNuLEAST64): Likewise.
15942 [C99-based-standards] (SCNxLEAST64): Likewise.
15943 [C99-based-standards] (PRIdFAST64): Likewise.
15944 [C99-based-standards] (PRIiFAST64): Likewise.
15945 [C99-based-standards] (PRIoFAST64): Likewise.
15946 [C99-based-standards] (PRIuFAST64): Likewise.
15947 [C99-based-standards] (PRIxFAST64): Likewise.
15948 [C99-based-standards] (PRIXFAST64): Likewise.
15949 [C99-based-standards] (SCNdFAST64): Likewise.
15950 [C99-based-standards] (SCNiFAST64): Likewise.
15951 [C99-based-standards] (SCNoFAST64): Likewise.
15952 [C99-based-standards] (SCNuFAST64): Likewise.
15953 [C99-based-standards] (SCNxFAST64): Likewise.
15954 [C99-based-standards] (PRIdMAX): Likewise.
15955 [C99-based-standards] (PRIiMAX): Likewise.
15956 [C99-based-standards] (PRIoMAX): Likewise.
15957 [C99-based-standards] (PRIuMAX): Likewise.
15958 [C99-based-standards] (PRIxMAX): Likewise.
15959 [C99-based-standards] (PRIXMAX): Likewise.
15960 [C99-based-standards] (SCNdMAX): Likewise.
15961 [C99-based-standards] (SCNiMAX): Likewise.
15962 [C99-based-standards] (SCNoMAX): Likewise.
15963 [C99-based-standards] (SCNuMAX): Likewise.
15964 [C99-based-standards] (SCNxMAX): Likewise.
15965 [C99-based-standards] (PRIdPTR): Likewise.
15966 [C99-based-standards] (PRIiPTR): Likewise.
15967 [C99-based-standards] (PRIoPTR): Likewise.
15968 [C99-based-standards] (PRIuPTR): Likewise.
15969 [C99-based-standards] (PRIxPTR): Likewise.
15970 [C99-based-standards] (PRIXPTR): Likewise.
15971 [C99-based-standards] (SCNdPTR): Likewise.
15972 [C99-based-standards] (SCNiPTR): Likewise.
15973 [C99-based-standards] (SCNoPTR): Likewise.
15974 [C99-based-standards] (SCNuPTR): Likewise.
15975 [C99-based-standards] (SCNxPTR): Likewise.
15976 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15978 * conform/data/stdint.h-data: Update comments to clarify
15980 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15982 [C99-based standards] (INT8_MAX): Likewise.
15983 [C99-based standards] (INT16_MIN): Likewise.
15984 [C99-based standards] (INT16_MAX): Likewise.
15985 [C99-based standards] (INT32_MIN): Likewise.
15986 [C99-based standards] (INT32_MAX): Likewise.
15987 [C99-based standards] (INT64_MIN): Likewise.
15988 [C99-based standards] (INT64_MAX): Likewise.
15989 [C99-based standards] (UINT8_MAX): Likewise.
15990 [C99-based standards] (UINT16_MAX): Likewise.
15991 [C99-based standards] (UINT32_MAX): Likewise.
15992 [C99-based standards] (UINT64_MAX): Likewise.
15993 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15994 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15995 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15996 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15997 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15998 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15999 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16000 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16001 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16002 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16003 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16004 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16005 [C99-based standards] (INT_FAST8_MIN): Likewise.
16006 [C99-based standards] (INT_FAST8_MAX): Likewise.
16007 [C99-based standards] (INT_FAST16_MIN): Likewise.
16008 [C99-based standards] (INT_FAST16_MAX): Likewise.
16009 [C99-based standards] (INT_FAST32_MIN): Likewise.
16010 [C99-based standards] (INT_FAST32_MAX): Likewise.
16011 [C99-based standards] (INT_FAST64_MIN): Likewise.
16012 [C99-based standards] (INT_FAST64_MAX): Likewise.
16013 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16014 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16015 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16016 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16017 [C99-based standards] (INTPTR_MIN): Likewise.
16018 [C99-based standards] (INTPTR_MAX): Likewise.
16019 [C99-based standards] (UINTPTR_MAX): Likewise.
16020 [C99-based standards] (INTMAX_MIN): Likewise.
16021 [C99-based standards] (INTMAX_MAX): Likewise.
16022 [C99-based standards] (UINTMAX_MAX): Likewise.
16023 [C99-based standards] (PTRDIFF_MIN): Likewise.
16024 [C99-based standards] (PTRDIFF_MAX): Likewise.
16025 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16026 [C99-based standards] (SIZE_MAX): Likewise.
16027 [C99-based standards] (WCHAR_MAX): Likewise.
16028 [C99-based standards] (WINT_MAX): Likewise.
16029 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16030 constraint on value.
16031 [C99-based standards] (WCHAR_MIN): Likewise.
16032 [C99-based standards] (WINT_MIN): Likewise.
16033 [C99-based standards] (*_t): Allow.
16034 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16035 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16036 Include math.h-data and complex.h-data. Remove all expectations
16037 of math.h and complex.h contents.
16038 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16040 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16041 (struct tm): Expect tag.
16042 [C99-based-standards] (wcstof): Expect function.
16043 [C99-based-standards] (wcstold): Likewise.
16044 [C99-based-standards] (wcstoll): Likewise.
16045 [C99-based-standards] (wcstoull): Likewise.
16046 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16047 macro-int-constant. Specify type.
16048 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16049 constraint on value.
16050 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16052 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16054 [ISO C standards]: Do not allow headers.
16055 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16056 wcs[abcdefghijklmnopqrstuvwxyz]*.
16057 [ISO C standards] (*_t): Do not allow.
16058 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16060 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16061 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16063 [ISO C standards]: Do not allow headers.
16064 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16065 is[abcdefghijklmnopqrstuvwxyz]*.
16066 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16067 to[abcdefghijklmnopqrstuvwxyz]*.
16068 [ISO C standards] (*_t): Do not allow.
16069 * conform/data/stdalign.h-data: New file.
16070 * conform/data/stdbool.h-data: Likewise.
16071 * conform/data/stdnoreturn.h-data: Likewise.
16073 2012-11-07 Roland McGrath <roland@hack.frob.com>
16076 * manual/filesys.texi (Directory Entries): Typo fix.
16077 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16079 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16081 * elf/elf.h (EM_AARCH64): New macro.
16082 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16083 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16084 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16085 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16086 (R_AARCH64_TLSDESC): Likewise.
16087 (NT_ARM_TLS): Likewise.
16088 (NT_ARM_HW_BREAK): Likewise.
16089 (NT_ARM_HW_WATCH): Likewise.
16091 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16094 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16095 (__ieee754_powl): Saturate nonzero exponents with absolute value
16096 below 0x1p-79 to +/- 0x1p-79.
16097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16098 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16099 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16100 nonzero exponents with absolute value below 0x1p-32 to +/-
16102 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16103 (__ieee754_powl): Saturate nonzero exponents with absolute value
16104 below 0x1p-79 to +/- 0x1p-79.
16105 * math/libm-test.inc (pow_test): Add more tests.
16107 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16109 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16110 _dl_s390_cap_flags with kernel. Increase string length.
16111 (_dl_s390_platforms): Add z196 and zEC12.
16113 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16115 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16116 Change XOPEN21K to XOPEN2K.
16118 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16120 * string/memmove.c: Use memcpy when possible.
16122 2012-11-06 Andreas Jaeger <aj@suse.de>
16124 * po/eo.po: Update from translation team.
16126 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16130 exponent and small x and y exponents, scale x or y up. Increase
16131 by 2 the exponent used in scaling up.
16132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16134 * math/libm-test.inc (fma_test): Add more tests.
16135 (fma_test_towardzero): Likewise.
16136 (fma_test_downward): Likewise.
16137 (fma_test_upward): Likewise.
16139 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16142 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16146 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16147 namespace for names of struct fields.
16148 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16150 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16151 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16153 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16156 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16158 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16160 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16164 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16167 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16171 definitely overflow as x * y not x * y + z.
16172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16173 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16174 * math/libm-test.inc (fma_test): Add more tests.
16175 (fma_test_towardzero): Likewise.
16176 (fma_test_downward): Likewise.
16177 (fma_test_upward): Likewise.
16179 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16183 * include/stub-tag.h: Remove file.
16184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16186 * manual/maint.texi (Porting): Don't reference it.
16187 * Makerules ($(objpfx)stubs): Likewise.
16188 * dirent/closedir.c: Don't include <stub-tag.h>.
16189 * dirent/dirfd.c: Likewise.
16190 * dirent/fdopendir.c: Likewise.
16191 * dirent/getdents.c: Likewise.
16192 * dirent/getdents64.c: Likewise.
16193 * dirent/opendir.c: Likewise.
16194 * dirent/readdir.c: Likewise.
16195 * dirent/readdir64.c: Likewise.
16196 * dirent/readdir64_r.c: Likewise.
16197 * dirent/readdir_r.c: Likewise.
16198 * dirent/rewinddir.c: Likewise.
16199 * dirent/seekdir.c: Likewise.
16200 * dirent/telldir.c: Likewise.
16201 * gmon/profil.c: Likewise.
16202 * grp/setgroups.c: Likewise.
16203 * inet/if_index.c: Likewise.
16204 * io/access.c: Likewise.
16205 * io/chdir.c: Likewise.
16206 * io/chmod.c: Likewise.
16207 * io/chown.c: Likewise.
16208 * io/close.c: Likewise.
16209 * io/dup.c: Likewise.
16210 * io/dup2.c: Likewise.
16211 * io/dup3.c: Likewise.
16212 * io/euidaccess.c: Likewise.
16213 * io/faccessat.c: Likewise.
16214 * io/fchdir.c: Likewise.
16215 * io/fchmod.c: Likewise.
16216 * io/fchmodat.c: Likewise.
16217 * io/fchown.c: Likewise.
16218 * io/fchownat.c: Likewise.
16219 * io/fcntl.c: Likewise.
16220 * io/flock.c: Likewise.
16221 * io/fstatfs.c: Likewise.
16222 * io/fstatfs64.c: Likewise.
16223 * io/fstatvfs.c: Likewise.
16224 * io/fstatvfs64.c: Likewise.
16225 * io/futimens.c: Likewise.
16226 * io/fxstat.c: Likewise.
16227 * io/fxstat64.c: Likewise.
16228 * io/fxstatat.c: Likewise.
16229 * io/fxstatat64.c: Likewise.
16230 * io/getcwd.c: Likewise.
16231 * io/isatty.c: Likewise.
16232 * io/lchmod.c: Likewise.
16233 * io/lchown.c: Likewise.
16234 * io/link.c: Likewise.
16235 * io/linkat.c: Likewise.
16236 * io/lseek.c: Likewise.
16237 * io/lseek64.c: Likewise.
16238 * io/lxstat64.c: Likewise.
16239 * io/mkdir.c: Likewise.
16240 * io/mkdirat.c: Likewise.
16241 * io/mkfifo.c: Likewise.
16242 * io/mkfifoat.c: Likewise.
16243 * io/open.c: Likewise.
16244 * io/open64.c: Likewise.
16245 * io/openat.c: Likewise.
16246 * io/openat64.c: Likewise.
16247 * io/pipe.c: Likewise.
16248 * io/pipe2.c: Likewise.
16249 * io/poll.c: Likewise.
16250 * io/posix_fadvise.c: Likewise.
16251 * io/posix_fadvise64.c: Likewise.
16252 * io/posix_fallocate.c: Likewise.
16253 * io/posix_fallocate64.c: Likewise.
16254 * io/read.c: Likewise.
16255 * io/readlink.c: Likewise.
16256 * io/readlinkat.c: Likewise.
16257 * io/rmdir.c: Likewise.
16258 * io/sendfile.c: Likewise.
16259 * io/sendfile64.c: Likewise.
16260 * io/statfs.c: Likewise.
16261 * io/statfs64.c: Likewise.
16262 * io/statvfs.c: Likewise.
16263 * io/statvfs64.c: Likewise.
16264 * io/symlink.c: Likewise.
16265 * io/symlinkat.c: Likewise.
16266 * io/ttyname.c: Likewise.
16267 * io/ttyname_r.c: Likewise.
16268 * io/umask.c: Likewise.
16269 * io/unlink.c: Likewise.
16270 * io/unlinkat.c: Likewise.
16271 * io/utime.c: Likewise.
16272 * io/utimensat.c: Likewise.
16273 * io/write.c: Likewise.
16274 * io/xmknod.c: Likewise.
16275 * io/xmknodat.c: Likewise.
16276 * io/xstat.c: Likewise.
16277 * io/xstat64.c: Likewise.
16278 * login/getpt.c: Likewise.
16279 * login/grantpt.c: Likewise.
16280 * login/unlockpt.c: Likewise.
16281 * math/e_acoshl.c: Likewise.
16282 * math/e_acosl.c: Likewise.
16283 * math/e_asinl.c: Likewise.
16284 * math/e_atan2l.c: Likewise.
16285 * math/e_atanhl.c: Likewise.
16286 * math/e_coshl.c: Likewise.
16287 * math/e_expl.c: Likewise.
16288 * math/e_fmodl.c: Likewise.
16289 * math/e_gammal_r.c: Likewise.
16290 * math/e_hypotl.c: Likewise.
16291 * math/e_j0l.c: Likewise.
16292 * math/e_j1l.c: Likewise.
16293 * math/e_jnl.c: Likewise.
16294 * math/e_lgammal_r.c: Likewise.
16295 * math/e_log10l.c: Likewise.
16296 * math/e_log2l.c: Likewise.
16297 * math/e_logl.c: Likewise.
16298 * math/e_powl.c: Likewise.
16299 * math/e_rem_pio2l.c: Likewise.
16300 * math/e_sinhl.c: Likewise.
16301 * math/e_sqrtl.c: Likewise.
16302 * math/fclrexcpt.c: Likewise.
16303 * math/fedisblxcpt.c: Likewise.
16304 * math/feenablxcpt.c: Likewise.
16305 * math/fegetenv.c: Likewise.
16306 * math/fegetexcept.c: Likewise.
16307 * math/fegetround.c: Likewise.
16308 * math/feholdexcpt.c: Likewise.
16309 * math/fesetenv.c: Likewise.
16310 * math/fesetround.c: Likewise.
16311 * math/feupdateenv.c: Likewise.
16312 * math/fgetexcptflg.c: Likewise.
16313 * math/fraiseexcpt.c: Likewise.
16314 * math/fsetexcptflg.c: Likewise.
16315 * math/ftestexcept.c: Likewise.
16316 * math/k_cosl.c: Likewise.
16317 * math/k_rem_pio2l.c: Likewise.
16318 * math/k_sinl.c: Likewise.
16319 * math/k_tanl.c: Likewise.
16320 * math/s_asinhl.c: Likewise.
16321 * math/s_atanl.c: Likewise.
16322 * math/s_cbrtl.c: Likewise.
16323 * math/s_erfl.c: Likewise.
16324 * math/s_expm1l.c: Likewise.
16325 * math/s_log1pl.c: Likewise.
16326 * math/s_tanhl.c: Likewise.
16327 * misc/acct.c: Likewise.
16328 * misc/brk.c: Likewise.
16329 * misc/chflags.c: Likewise.
16330 * misc/chroot.c: Likewise.
16331 * misc/fchflags.c: Likewise.
16332 * misc/fgetxattr.c: Likewise.
16333 * misc/flistxattr.c: Likewise.
16334 * misc/fremovexattr.c: Likewise.
16335 * misc/fsetxattr.c: Likewise.
16336 * misc/fsync.c: Likewise.
16337 * misc/ftruncate.c: Likewise.
16338 * misc/futimes.c: Likewise.
16339 * misc/futimesat.c: Likewise.
16340 * misc/getdomain.c: Likewise.
16341 * misc/getdtsz.c: Likewise.
16342 * misc/gethostid.c: Likewise.
16343 * misc/gethostname.c: Likewise.
16344 * misc/getloadavg.c: Likewise.
16345 * misc/getpagesize.c: Likewise.
16346 * misc/getsysstats.c: Likewise.
16347 * misc/getxattr.c: Likewise.
16348 * misc/gtty.c: Likewise.
16349 * misc/ioctl.c: Likewise.
16350 * misc/lgetxattr.c: Likewise.
16351 * misc/listxattr.c: Likewise.
16352 * misc/llistxattr.c: Likewise.
16353 * misc/lremovexattr.c: Likewise.
16354 * misc/lsetxattr.c: Likewise.
16355 * misc/lutimes.c: Likewise.
16356 * misc/madvise.c: Likewise.
16357 * misc/mincore.c: Likewise.
16358 * misc/mlock.c: Likewise.
16359 * misc/mlockall.c: Likewise.
16360 * misc/mmap.c: Likewise.
16361 * misc/mprotect.c: Likewise.
16362 * misc/msync.c: Likewise.
16363 * misc/munlock.c: Likewise.
16364 * misc/munlockall.c: Likewise.
16365 * misc/munmap.c: Likewise.
16366 * misc/preadv.c: Likewise.
16367 * misc/preadv64.c: Likewise.
16368 * misc/ptrace.c: Likewise.
16369 * misc/pwritev.c: Likewise.
16370 * misc/pwritev64.c: Likewise.
16371 * misc/readv.c: Likewise.
16372 * misc/reboot.c: Likewise.
16373 * misc/remap_file_pages.c: Likewise.
16374 * misc/removexattr.c: Likewise.
16375 * misc/revoke.c: Likewise.
16376 * misc/select.c: Likewise.
16377 * misc/setdomain.c: Likewise.
16378 * misc/setegid.c: Likewise.
16379 * misc/seteuid.c: Likewise.
16380 * misc/sethostid.c: Likewise.
16381 * misc/sethostname.c: Likewise.
16382 * misc/setregid.c: Likewise.
16383 * misc/setreuid.c: Likewise.
16384 * misc/setxattr.c: Likewise.
16385 * misc/sstk.c: Likewise.
16386 * misc/stty.c: Likewise.
16387 * misc/swapoff.c: Likewise.
16388 * misc/swapon.c: Likewise.
16389 * misc/sync.c: Likewise.
16390 * misc/syncfs.c: Likewise.
16391 * misc/syscall.c: Likewise.
16392 * misc/truncate.c: Likewise.
16393 * misc/ualarm.c: Likewise.
16394 * misc/usleep.c: Likewise.
16395 * misc/ustat.c: Likewise.
16396 * misc/utimes.c: Likewise.
16397 * misc/vhangup.c: Likewise.
16398 * misc/writev.c: Likewise.
16399 * posix/_exit.c: Likewise.
16400 * posix/alarm.c: Likewise.
16401 * posix/execve.c: Likewise.
16402 * posix/fexecve.c: Likewise.
16403 * posix/fork.c: Likewise.
16404 * posix/fpathconf.c: Likewise.
16405 * posix/getaddrinfo.c: Likewise.
16406 * posix/getegid.c: Likewise.
16407 * posix/geteuid.c: Likewise.
16408 * posix/getgid.c: Likewise.
16409 * posix/getgroups.c: Likewise.
16410 * posix/getlogin.c: Likewise.
16411 * posix/getlogin_r.c: Likewise.
16412 * posix/getpgid.c: Likewise.
16413 * posix/getpid.c: Likewise.
16414 * posix/getppid.c: Likewise.
16415 * posix/getresgid.c: Likewise.
16416 * posix/getresuid.c: Likewise.
16417 * posix/getsid.c: Likewise.
16418 * posix/getuid.c: Likewise.
16419 * posix/glob64.c: Likewise.
16420 * posix/nanosleep.c: Likewise.
16421 * posix/pathconf.c: Likewise.
16422 * posix/pause.c: Likewise.
16423 * posix/posix_madvise.c: Likewise.
16424 * posix/pread.c: Likewise.
16425 * posix/pread64.c: Likewise.
16426 * posix/pwrite.c: Likewise.
16427 * posix/pwrite64.c: Likewise.
16428 * posix/sched_getaffinity.c: Likewise.
16429 * posix/sched_getp.c: Likewise.
16430 * posix/sched_gets.c: Likewise.
16431 * posix/sched_primax.c: Likewise.
16432 * posix/sched_primin.c: Likewise.
16433 * posix/sched_rr_gi.c: Likewise.
16434 * posix/sched_setaffinity.c: Likewise.
16435 * posix/sched_setp.c: Likewise.
16436 * posix/sched_sets.c: Likewise.
16437 * posix/sched_yield.c: Likewise.
16438 * posix/setgid.c: Likewise.
16439 * posix/setlogin.c: Likewise.
16440 * posix/setpgid.c: Likewise.
16441 * posix/setresgid.c: Likewise.
16442 * posix/setresuid.c: Likewise.
16443 * posix/setsid.c: Likewise.
16444 * posix/setuid.c: Likewise.
16445 * posix/sleep.c: Likewise.
16446 * posix/spawni.c: Likewise.
16447 * posix/sysconf.c: Likewise.
16448 * posix/times.c: Likewise.
16449 * posix/wait.c: Likewise.
16450 * posix/wait3.c: Likewise.
16451 * posix/wait4.c: Likewise.
16452 * posix/waitpid.c: Likewise.
16453 * resolv/gai_sigqueue.c: Likewise.
16454 * resource/getpriority.c: Likewise.
16455 * resource/getrlimit.c: Likewise.
16456 * resource/getrusage.c: Likewise.
16457 * resource/nice.c: Likewise.
16458 * resource/setpriority.c: Likewise.
16459 * resource/setrlimit.c: Likewise.
16460 * resource/ulimit.c: Likewise.
16461 * rt/aio_cancel.c: Likewise.
16462 * rt/aio_fsync.c: Likewise.
16463 * rt/aio_read.c: Likewise.
16464 * rt/aio_sigqueue.c: Likewise.
16465 * rt/aio_suspend.c: Likewise.
16466 * rt/aio_write.c: Likewise.
16467 * rt/clock_getres.c: Likewise.
16468 * rt/clock_gettime.c: Likewise.
16469 * rt/clock_nanosleep.c: Likewise.
16470 * rt/clock_settime.c: Likewise.
16471 * rt/lio_listio.c: Likewise.
16472 * rt/mq_close.c: Likewise.
16473 * rt/mq_getattr.c: Likewise.
16474 * rt/mq_notify.c: Likewise.
16475 * rt/mq_open.c: Likewise.
16476 * rt/mq_receive.c: Likewise.
16477 * rt/mq_send.c: Likewise.
16478 * rt/mq_setattr.c: Likewise.
16479 * rt/mq_timedreceive.c: Likewise.
16480 * rt/mq_timedsend.c: Likewise.
16481 * rt/mq_unlink.c: Likewise.
16482 * rt/shm_open.c: Likewise.
16483 * rt/shm_unlink.c: Likewise.
16484 * rt/timer_create.c: Likewise.
16485 * rt/timer_delete.c: Likewise.
16486 * rt/timer_getoverr.c: Likewise.
16487 * rt/timer_gettime.c: Likewise.
16488 * rt/timer_settime.c: Likewise.
16489 * setjmp/__longjmp.c: Likewise.
16490 * setjmp/setjmp.c: Likewise.
16491 * signal/kill.c: Likewise.
16492 * signal/killpg.c: Likewise.
16493 * signal/raise.c: Likewise.
16494 * signal/sigaction.c: Likewise.
16495 * signal/sigaltstack.c: Likewise.
16496 * signal/sigblock.c: Likewise.
16497 * signal/sigignore.c: Likewise.
16498 * signal/sigintr.c: Likewise.
16499 * signal/signal.c: Likewise.
16500 * signal/sigpause.c: Likewise.
16501 * signal/sigpending.c: Likewise.
16502 * signal/sigqueue.c: Likewise.
16503 * signal/sigreturn.c: Likewise.
16504 * signal/sigset.c: Likewise.
16505 * signal/sigsetmask.c: Likewise.
16506 * signal/sigstack.c: Likewise.
16507 * signal/sigsuspend.c: Likewise.
16508 * signal/sigtimedwait.c: Likewise.
16509 * signal/sigvec.c: Likewise.
16510 * signal/sigwait.c: Likewise.
16511 * signal/sigwaitinfo.c: Likewise.
16512 * signal/sysv_signal.c: Likewise.
16513 * socket/accept.c: Likewise.
16514 * socket/accept4.c: Likewise.
16515 * socket/bind.c: Likewise.
16516 * socket/connect.c: Likewise.
16517 * socket/getpeername.c: Likewise.
16518 * socket/getsockname.c: Likewise.
16519 * socket/getsockopt.c: Likewise.
16520 * socket/isfdtype.c: Likewise.
16521 * socket/listen.c: Likewise.
16522 * socket/recv.c: Likewise.
16523 * socket/recvfrom.c: Likewise.
16524 * socket/recvmsg.c: Likewise.
16525 * socket/send.c: Likewise.
16526 * socket/sendmsg.c: Likewise.
16527 * socket/sendto.c: Likewise.
16528 * socket/setsockopt.c: Likewise.
16529 * socket/shutdown.c: Likewise.
16530 * socket/sockatmark.c: Likewise.
16531 * socket/socket.c: Likewise.
16532 * socket/socketpair.c: Likewise.
16533 * stdio-common/ctermid.c: Likewise.
16534 * stdio-common/cuserid.c: Likewise.
16535 * stdio-common/remove.c: Likewise.
16536 * stdio-common/rename.c: Likewise.
16537 * stdio-common/renameat.c: Likewise.
16538 * stdio-common/tempname.c: Likewise.
16539 * stdlib/getcontext.c: Likewise.
16540 * stdlib/makecontext.c: Likewise.
16541 * stdlib/setcontext.c: Likewise.
16542 * stdlib/swapcontext.c: Likewise.
16543 * stdlib/system.c: Likewise.
16544 * streams/fattach.c: Likewise.
16545 * streams/fdetach.c: Likewise.
16546 * streams/getmsg.c: Likewise.
16547 * streams/getpmsg.c: Likewise.
16548 * streams/putmsg.c: Likewise.
16549 * streams/putpmsg.c: Likewise.
16550 * sysdeps/unix/bsd/getpt.c: Likewise.
16551 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16552 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16553 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16556 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16558 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16559 * sysvipc/msgctl.c: Likewise.
16560 * sysvipc/msgget.c: Likewise.
16561 * sysvipc/msgrcv.c: Likewise.
16562 * sysvipc/msgsnd.c: Likewise.
16563 * sysvipc/semctl.c: Likewise.
16564 * sysvipc/semget.c: Likewise.
16565 * sysvipc/semop.c: Likewise.
16566 * sysvipc/semtimedop.c: Likewise.
16567 * sysvipc/shmat.c: Likewise.
16568 * sysvipc/shmctl.c: Likewise.
16569 * sysvipc/shmdt.c: Likewise.
16570 * sysvipc/shmget.c: Likewise.
16571 * termios/tcdrain.c: Likewise.
16572 * termios/tcflow.c: Likewise.
16573 * termios/tcflush.c: Likewise.
16574 * termios/tcgetattr.c: Likewise.
16575 * termios/tcgetpgrp.c: Likewise.
16576 * termios/tcsendbrk.c: Likewise.
16577 * termios/tcsetattr.c: Likewise.
16578 * termios/tcsetpgrp.c: Likewise.
16579 * time/adjtime.c: Likewise.
16580 * time/clock.c: Likewise.
16581 * time/getitimer.c: Likewise.
16582 * time/gettimeofday.c: Likewise.
16583 * time/setitimer.c: Likewise.
16584 * time/settimeofday.c: Likewise.
16585 * time/stime.c: Likewise.
16586 * time/time.c: Likewise.
16588 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16590 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16593 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16595 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16597 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16601 FE_TONEAREST before applying Dekker multiplication and Knuth
16602 addition. Clear inexact exceptions and check for exact zero
16603 results afterwards.
16604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16605 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16607 * math/libm-test.inc (fma_test): Add more tests.
16608 (fma_test_towardzero): Likewise.
16609 (fma_test_downward): Likewise.
16610 (fma_test_upward): Likewise.
16611 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16613 (libc_fesetround): New macro.
16614 (libc_fesetroundf): Likewise.
16615 (libc_fesetroundl): Likewise.
16616 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16618 (libc_fesetround_387): Likewise.
16619 (libc_fesetroundf): New macro.
16620 (libc_fesetround): Likewise.
16621 (libc_fesetroundl): Likewise.
16622 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16624 (libc_fesetroundf): New macro.
16625 (libc_fesetround): Likewise.
16626 (libc_fesetroundl): Likewise.
16627 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16628 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16629 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16631 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16632 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16634 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16635 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16637 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16641 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16642 integer constant usable in #if and use that to give value to enum
16644 (FE_DIVBYZERO): Likewise.
16645 (FE_UNDERFLOW): Likewise.
16646 (FE_OVERFLOW): Likewise.
16647 (FE_INVALID): Likewise.
16648 (FE_INVALID_SNAN): Likewise.
16649 (FE_INVALID_ISI): Likewise.
16650 (FE_INVALID_IDI): Likewise.
16651 (FE_INVALID_ZDZ): Likewise.
16652 (FE_INVALID_IMZ): Likewise.
16653 (FE_INVALID_COMPARE): Likewise.
16654 (FE_INVALID_SOFTWARE): Likewise.
16655 (FE_INVALID_SQRT): Likewise.
16656 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16657 (FE_TONEAREST): Likewise.
16658 (FE_TOWARDZERO): Likewise.
16659 (FE_UPWARD): Likewise.
16660 (FE_DOWNWARD): Likewise.
16661 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16662 (FE_DIVBYZERO): Likewise.
16663 (FE_OVERFLOW): Likewise.
16664 (FE_UNDERFLOW): Likewise.
16665 (FE_INEXACT): Likewise.
16666 (FE_TONEAREST): Likewise.
16667 (FE_DOWNWARD): Likewise.
16668 (FE_UPWARD): Likewise.
16669 (FE_TOWARDZERO): Likewise.
16670 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16671 (FE_UNDERFLOW): Likewise.
16672 (FE_OVERFLOW): Likewise.
16673 (FE_DIVBYZERO): Likewise.
16674 (FE_INVALID): Likewise.
16675 (FE_TONEAREST): Likewise.
16676 (FE_TOWARDZERO): Likewise.
16677 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16678 (FE_OVERFLOW): Likewise.
16679 (FE_UNDERFLOW): Likewise.
16680 (FE_DIVBYZERO): Likewise.
16681 (FE_INEXACT): Likewise.
16682 (FE_TONEAREST): Likewise.
16683 (FE_TOWARDZERO): Likewise.
16684 (FE_UPWARD): Likewise.
16685 (FE_DOWNWARD): Likewise.
16686 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16687 (FE_DIVBYZERO): Likewise.
16688 (FE_OVERFLOW): Likewise.
16689 (FE_UNDERFLOW): Likewise.
16690 (FE_INEXACT): Likewise.
16691 (FE_TONEAREST): Likewise.
16692 (FE_DOWNWARD): Likewise.
16693 (FE_UPWARD): Likewise.
16694 (FE_TOWARDZERO): Likewise.
16696 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16698 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16700 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16702 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16703 commands. Quote $PWD.
16704 (blacklist_exports): Don't use remove_newlines. Replace "declare
16706 (remove_newlines): Remove.
16708 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16710 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16711 * stdlib/stdlib.h (atof): Moved to ...
16712 * include/bits/stdlib-float.h: Here. New file.
16713 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16714 * stdlib/bits/stdlib-float.h: New file.
16715 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16717 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16720 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16722 * conform/conformtest.pl (@headers): Add fenv.h.
16723 * conform/data/fenv.h-data: New file.
16724 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16725 include of <math/fenv.h>.
16727 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16728 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16729 && !UNIX98]. Enables tests for XOPEN2K8.
16730 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16731 POSIX2008]: Likewise.
16733 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16734 (struct rusage): Do not expect type or its members.
16737 * math/math.h (FP_NAN): Define macro to integer constant usable in
16738 #if and use that to give value to enum constant.
16739 (FP_INFINITE): Likewise.
16740 (FP_ZERO): Likewise.
16741 (FP_SUBNORMAL): Likewise.
16742 (FP_NORMAL): Likewise.
16744 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16746 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16747 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16750 2012-11-02 Roland McGrath <roland@hack.frob.com>
16752 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16753 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16754 autoconf-time if not.
16755 * configure.in: Remove AC_PREREQ.
16757 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16759 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16760 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16761 of the internal implementation.
16763 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16765 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16766 except include of <misc/sys/syslog.h>.
16768 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16771 function returns with a NULL context exit with zero.
16773 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16775 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16777 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16779 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16780 (run_program_cmd): This.
16781 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16782 (tst_langinfo): New variable. Use it.
16784 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16786 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16787 floating point opcodes.
16789 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16791 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16794 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16796 * sysdeps/mach/hurd/powerpc: Remove directory.
16797 * sysdeps/mach/powerpc: Likewise.
16799 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16801 * scripts/check-local-headers.sh: Ignore c++ headers.
16803 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16805 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16806 __libc_cleanup_region_start argument.
16808 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16813 x * y using scaling, not as x * y + z.
16814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16816 * math/libm-test.inc (fma_test): Add more tests.
16817 (fma_test_towardzero): Likewise.
16818 (fma_test_downward): Likewise.
16819 (fma_test_upward): Likewise.
16821 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16823 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16825 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16827 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16830 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16832 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16834 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16841 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16844 Fix the order of the list for glibc 2.17.
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16848 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16852 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16855 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16856 for low part of x being zero before using __atanl (y).
16857 * math/libm-test.inc (atan2_test): Add another test.
16859 * manual/install.texi (Configuring and compiling): Document
16860 general use of test-wrapper and test-wrapper-env.
16861 * INSTALL: Regenerated.
16863 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16864 (__fma): Do not extract and scale down low bits on after-rounding
16865 systems when result rounded to normal precision would have normal
16867 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16868 (__fmal): Do not extract and scale down low bits on after-rounding
16869 systems when result rounded to normal precision would have normal
16871 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16872 (__fmal): Do not extract and scale down low bits on after-rounding
16873 systems when result rounded to normal precision would have normal
16875 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16877 (fma_test): Add more tests.
16878 (fma_test_towardzero): Likewise.
16879 (fma_test_downward): Likewise.
16880 (fma_test_upward): Likewise.
16882 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16884 * sysdeps/i386/tininess.h: Renamed to ...
16885 * sysdeps/x86/tininess.h: This.
16886 * sysdeps/x86_64/tininess.h: Removed.
16888 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16890 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16891 input. Use $(build-program-cmd).
16892 ($(objpfx)tst-array1-static.out): Likewise.
16893 ($(objpfx)tst-array2.out): Likewise.
16894 ($(objpfx)tst-array3.out): Likewise.
16895 ($(objpfx)tst-array4.out): Likewise.
16896 ($(objpfx)tst-array5.out): Likewise.
16897 ($(objpfx)tst-array5-static.out): Likewise.
16899 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16901 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16904 * nss/nsswitch.h (nss_interface_function): Provide new
16905 macro for use with NSS functions.
16906 * grp/initgroups.c: Use new macro.
16907 * nss/getXXbyYY.c: Likewise.
16908 * nss/getXXbyYY_r.c: Likewise.
16909 * nss/getXXent.c: Likewise.
16910 * nss/getXXent_r.c: Likewise.
16911 * sysdeps/posix/getaddrinfo.c: Likewise.
16913 2012-10-30 Andreas Jaeger <aj@suse.de>
16915 * po/ru.po: Update Russion translation from translation project.
16917 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16922 result and shift together with sticky bit instead of replicating
16923 round-to-nearest rounding.
16924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16926 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16927 missing underflow exceptions.
16928 (fma_test_towardzero): Add more tests.
16929 (fma_test_downward): Likewise.
16930 (fma_test_upward): Likewise.
16933 * sysdeps/generic/tininess.h: New file.
16934 * sysdeps/i386/tininess.h: Likewise.
16935 * sysdeps/sh/tininess.h: Likewise.
16936 * sysdeps/x86_64/tininess.h: Likewise.
16937 * stdlib/tst-strtod-underflow.c: Likewise.
16938 * stdlib/tst-tininess.c: Likewise.
16939 * stdlib/strtod_l.c: Include <tininess.h>.
16940 (round_and_return): Do not set errno for exact underflow cases.
16941 Force an underflow exception when setting errno for underflow.
16942 Determine underflow based on rounding to normal precision if
16943 TININESS_AFTER_ROUNDING.
16944 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16945 ERANGE for exact underflow cases.
16946 * stdlib/Makefile (tests): Add tst-tininess and
16947 tst-strtod-underflow.
16948 ($(objpfx)tst-tininess): Use $(link-libm).
16949 ($(objpfx)tst-strtod-underflow): Likewise.
16951 2012-10-30 Andreas Jaeger <aj@suse.de>
16954 * elf/Makefile (tests): Remove conditional for have-initfini-array
16955 since this is now always required and the variable does not exist
16957 (tests-static): Likewise.
16958 (modules-names): Likewise.
16960 * po/eo.po: Add Esperanto translation from translation project.
16962 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16963 merged with constructor/destructor.
16964 (init_array): Likewise.
16965 * elf/tst-array2dep.c (fini_array): Likewise.
16966 (init_array): Likewise.
16968 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16970 * manual/message.texi: Delete @cartouche tags.
16972 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16974 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16976 * sysdeps/mach/hurd/fsync.c: Likewise.
16978 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16979 [_POSIX_REALTIME_SIGNALS]: Change condition to
16980 [_POSIX_REALTIME_SIGNALS > 0].
16982 2012-10-27 Andreas Jaeger <aj@suse.de>
16984 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16985 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16987 [__WORDSIZE != 64]: Likewise.
16989 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16991 * iconvdata/tst-table.sh: Remove ${SHELL}.
16992 * iconvdata/tst-tables.sh: Likewise.
16994 2012-10-25 David S. Miller <davem@davemloft.net>
16996 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16997 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17002 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17003 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17004 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17007 2012-10-25 Roland McGrath <roland@hack.frob.com>
17009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17010 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17013 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17014 Jim Blandy <jimb@codesourcery.com>
17016 * scripts/cross-test-ssh.sh: New file.
17017 * manual/install.texi (Configuring and compiling): Document use of
17019 * INSTALL: Regenerated.
17021 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17023 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17026 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17028 * Makeconfig (run-program-prefix): Fix comment.
17030 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17031 Jim Blandy <jimb@codesourcery.com>
17033 * Makeconfig (test-wrapper): New variable,
17034 (test-wrapper-env): Likewise.
17035 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17036 (run-built-tests): Define to yes.
17037 (run-program-prefix): Use $(test-wrapper).
17038 (built-program-cmd): Likewise.
17039 * Rules (make-test-out): Use $(test-wrapper-env) and
17040 $(host-built-program-cmd).
17041 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17042 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17044 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17045 $(test-wrapper-env) to tst-rtld-load-self.sh.
17046 ($(objpfx)order2.out): Use $(test-wrapper).
17047 ($(objpfx)tst-initorder.out): Likewise.
17048 ($(objpfx)tst-initorder2.out): Likewise.
17049 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17050 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17051 (test_wrapper_env): New variable. Use it to run ld.so.
17052 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17053 Use it to run ld.so.
17054 (test_wrapper_env): Likewise.
17055 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17056 $(test-wrapper) to run-iconv-test.sh.
17057 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17058 (ICONV): Use $test_wrapper.
17059 * posix/Makefile ($(objpfx)globtest.out): Pass
17060 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17061 globtest.sh, not $(run-program-prefix).
17062 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17063 (test_wrapper): Likewise.
17064 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17065 set together with run_via_rtld_prefix.
17066 (run_program_prefix): Define in terms of test_wrapper and
17067 run_via_rtld_prefix.
17069 2012-10-24 Roland McGrath <roland@hack.frob.com>
17071 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17072 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17076 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17077 Declare __clock_getres, __clock_gettime, __clock_settime,
17078 __clock_nanosleep, and __clock_getcpuclockid.
17079 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17080 Remove librt_hidden_def (clock_gettime).
17081 * sysdeps/unix/clock_gettime.c: Likewise.
17082 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17084 * rt/clock_getres.c: Define __clock_getres as an alias.
17085 * sysdeps/posix/clock_getres.c: Likewise.
17086 * rt/clock_settime.c: Define __clock_settime as an alias.
17087 * sysdeps/unix/clock_settime.c: Likewise.
17088 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17089 * sysdeps/unix/clock_nanosleep.c: Likewise.
17090 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17091 * rt/clock-compat.c: New file.
17092 * rt/Makefile (librt-routines): Add clock-compat and move
17093 $(clock-routines) to ...
17094 (routines): ... here, new variable.
17095 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17096 Don't add get_clockfreq here.
17097 * rt/Versions (libc: GLIBC_2.17): New version set.
17098 Add clock_* symbols here.
17099 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17101 (GLIBC_2.17): Add clock_* symbols.
17102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17113 * NEWS: Mention the move.
17115 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17116 Use __open, __read, __close rather than their public counterparts.
17117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17118 (__get_clockfreq_via_cpuinfo): Likewise.
17119 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17120 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17122 * config.h.in (HAVE_IFUNC): New #undef.
17123 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17125 * configure: Regenerated.
17127 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17129 * configure.in: Move READELF check to start of file.
17130 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17131 libc_cv_asm_gnu_indirect_function in the process.
17132 * configure: Regenerated.
17134 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17136 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17137 send the output to /dev/null.
17138 (libc_cv_cc_with_libunwind): Likewise.
17139 (libc_cv_as_noexecstack): Likewise.
17140 * configure: Regenerate.
17142 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17144 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17146 * posix/globtest.sh (TMPDIR): Do not set.
17147 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17148 (testout): Likewise.
17150 2012-10-24 Andreas Jaeger <aj@suse.de>
17152 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17153 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17154 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17155 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17156 posix_fadvise64, posix_fallocate64.
17158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17159 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17160 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17162 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17164 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17167 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17168 <bits/fcntl-linux.h>.
17169 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17172 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17173 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17174 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17175 [__WORDSIZE != 64]: Likewise.
17177 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17179 * Makeconfig (run-built-tests): New variable.
17180 * Rules [$(cross-compiling) = yes]: Change condition to
17181 [$(run-built-tests) = no].
17182 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17183 to [$(run-built-tests) = yes].
17184 * elf/Makefile [$(cross-compiling) = no]: Likewise
17185 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17186 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17187 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17188 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17189 * io/Makefile [$(cross-compiling) = no]: Likewise.
17190 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17191 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17192 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17193 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17194 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17195 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17196 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17197 * string/Makefile [$(cross-compiling) = no]: Likewise.
17199 * posix/Makefile ($(objpfx)globtest.out): Pass
17200 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17201 $(rtld-installed-name).
17202 * posix/globtest.sh (elf_objpfx): Remove variable.
17203 (rtld_installed_name): Likewise.
17204 (library_path): Likewise.
17205 (run_program_prefix): New variable. Use for running globtest
17208 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17209 Joseph Myers <joseph@codesourcery.com>
17211 * Makeconfig (host-built-program-cmd): New variable.
17212 * elf/Makefile (tst-stackguard1-ARGS): Use
17213 $(host-built-program-cmd).
17214 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17215 (tst-spawn-ARGS): Likewise.
17216 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17218 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17219 Jim Blandy <jimb@codesourcery.com>
17221 * Makeconfig (run-via-rtld-prefix): New variable.
17222 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17223 (built-program-cmd): Likewise.
17225 2012-10-22 Andreas Jaeger <aj@suse.de>
17227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17228 __O_RSYNC if it exists, otherwise to O_SYNC.
17230 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17231 Joseph Myers <joseph@codesourcery.com>
17233 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17235 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17237 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17240 2012-10-22 Andreas Jaeger <aj@suse.de>
17242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17247 bits/fcntl-linux.h.
17249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17250 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17257 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17258 Joseph Myers <joseph@codesourcery.com>
17260 * config.make.in (NM): New variable.
17262 2012-10-21 Andreas Jaeger <aj@suse.de>
17264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17265 definitions and declarations that are provided by
17266 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17268 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17271 * elf/Makefile (tests-static): Add tst-leaks1-static.
17272 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17273 ($(objpfx)tst-leaks1-static): New rule.
17274 ($(objpfx)tst-leaks1-static-mem): Likewise.
17275 (tst-leaks1-static-ENV): New macro.
17276 * elf/dl-open.c (dl_open_worker): Check the main application
17277 only if SHARED is defined.
17278 * elf/tst-leaks1-static.c: New file.
17280 2012-10-20 Andreas Jaeger <aj@suse.de>
17282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17283 generic values for Linux.
17284 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17285 and declarations that are provided by <bits/fcntl-linux.h> and
17286 include <bits/fcntl-linux.h>.
17287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17290 2012-10-20 Roland McGrath <roland@hack.frob.com>
17292 * io/fcntl.h: Move include of <bits/types.h> to the top and
17293 include it unconditionally.
17295 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17297 * wcsmbs/Makefile (tests-ifunc): New variable.
17298 (tests): Add $(tests-ifunc).
17299 * wcsmbs/test-wcschr-ifunc.c: New file.
17300 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17301 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17302 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17303 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17304 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17306 * string/Makefile (tests-ifunc): New variable.
17307 (tests): Add $(tests-ifunc).
17308 * string/test-memccpy.c (TEST_NAME): New macro.
17309 * string/test-memchr.c (TEST_NAME): Likewise.
17310 * string/test-memcmp.c (TEST_NAME): Likewise.
17311 * string/test-memcpy.c (TEST_NAME): Likewise.
17312 * string/test-memmem.c (TEST_NAME): Likewise.
17313 * string/test-memmove.c (TEST_NAME): Likewise.
17314 * string/test-memset.c (TEST_NAME): Likewise.
17315 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17316 * string/test-stpcpy.c (TEST_NAME): Likewise.
17317 * string/test-stpncpy.c (TEST_NAME): Likewise.
17318 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17319 * string/test-strcasestr.c (TEST_NAME): Likewise.
17320 * string/test-strcat.c (TEST_NAME): Likewise.
17321 * string/test-strchr.c (TEST_NAME): Likewise.
17322 * string/test-strcmp.c(TEST_NAME): Likewise.
17323 * string/test-strcpy.c (TEST_NAME): Likewise.
17324 * string/test-strcspn.c (TEST_NAME): Likewise.
17325 * string/test-strlen.c (TEST_NAME): Likewise.
17326 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17327 * string/test-strncmp.c (TEST_NAME): Likewise.
17328 * string/test-strncpy.c (TEST_NAME): Likewise.
17329 * string/test-strnlen.c (TEST_NAME): Likewise.
17330 * string/test-strpbrk.c (TEST_NAME): Likewise.
17331 * string/test-strrchr.c (TEST_NAME): Likewise.
17332 * string/test-strspn.c (TEST_NAME): Likewise.
17333 * string/test-strstr.c (TEST_NAME): Likewise.
17334 * string/test-bcopy-ifunc.c: New file.
17335 * string/test-bzero-ifunc.c: Likewise.
17336 * string/test-memccpy-ifunc.c: Likewise.
17337 * string/test-memchr-ifunc.c: Likewise.
17338 * string/test-memcmp-ifunc.c: Likewise.
17339 * string/test-memcpy-ifunc.c: Likewise.
17340 * string/test-memmem-ifunc.c: Likewise.
17341 * string/test-memmove-ifunc.c: Likewise.
17342 * string/test-mempcpy-ifunc.c: Likewise.
17343 * string/test-memset-ifunc.c: Likewise.
17344 * string/test-rawmemchr-ifunc.c: Likewise.
17345 * string/test-stpcpy-ifunc.c: Likewise.
17346 * string/test-stpncpy-ifunc.c: Likewise.
17347 * string/test-strcasecmp-ifunc.c: Likewise.
17348 * string/test-strcasestr-ifunc.c: Likewise.
17349 * string/test-strcat-ifunc.c: Likewise.
17350 * string/test-strchr-ifunc.c: Likewise.
17351 * string/test-strchrnul-ifunc.c: Likewise.
17352 * string/test-strcmp-ifunc.c: Likewise.
17353 * string/test-strcpy-ifunc.c: Likewise.
17354 * string/test-strcspn-ifunc.c: Likewise.
17355 * string/test-strlen-ifunc.c: Likewise.
17356 * string/test-strncasecmp-ifunc.c: Likewise.
17357 * string/test-strncat-ifunc.c: Likewise.
17358 * string/test-strncmp-ifunc.c: Likewise.
17359 * string/test-strncpy-ifunc.c: Likewise.
17360 * string/test-strnlen-ifunc.c: Likewise.
17361 * string/test-strpbrk-ifunc.c: Likewise.
17362 * string/test-strrchr-ifunc.c: Likewise.
17363 * string/test-strspn-ifunc.c: Likewise.
17364 * string/test-strstr-ifunc.c: Likewise.
17366 * debug/Makefile (tests-ifunc): New variable.
17367 (tests): Add $(tests-ifunc).
17368 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17369 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17370 * debug/test-stpcpy_chk-ifunc.c: New file.
17371 * debug/test-strcpy_chk-ifunc.c: Likewise.
17373 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17376 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17377 header is not read in.
17379 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17381 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17382 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17383 directly. Pass built executable to script as
17384 $(built-program-cmd).
17385 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17386 $testprogram without using LD_LIBRARY_PATH and $ldso.
17388 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17389 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17390 $(rtld-installed-name).
17391 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17392 (rtld_installed_name): Likewise.
17393 (library_path): Likewise.
17394 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17395 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17396 $(run-program-prefix) to tst-tables.sh.
17397 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17398 it to run tst-table-from and tst-table-to.
17399 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17400 Pass it to tst-table.sh.
17401 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17402 $(run-program-prefix) to tst-gettext.sh.
17403 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17405 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17407 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17408 to run tst-gettext.
17409 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17410 to run tst-gettext2.
17411 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17412 to run tst-translit.
17413 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17414 $(run-program-prefix) to tst-mtrace.sh.
17415 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17417 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17418 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17419 $(rtld-installed-name).
17420 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17421 (rtld_installed_name): Likewise.
17422 (run_program_prefix): New variable. Use it to run wordexp-test.
17424 * Makeconfig (ARCH): Remove all definitions.
17425 (machine): Likewise.
17426 [ARCH]: Remove conditional code.
17427 [!objdir]: Give error.
17428 [!objdir] (objpfx): Remove.
17429 [!objdir] (common-objpfx): Likewise.
17430 [!objdir] (common-objdir): Likewise.
17431 * configure.in (config_makefile): Remove. Hardcode Makefile in
17432 AC_CONFIG_FILES call.
17433 * configure: Regenerated.
17436 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17438 (testout): Likewise.
17440 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17441 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17442 $(rtld-installed-name).
17443 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17444 (rtld_installed_name): Likwise.
17445 (runit): Remove function.
17446 (run_getconf): New variable, Use it for running getconf binary.
17448 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17451 * string/test-memmem.c (check_result): New function.
17452 (do_one_test): Use it.
17453 (check1): New function.
17454 (test_main): Use it.
17456 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17458 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17460 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17462 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17463 (_G_LSEEK64): Likewise.
17464 (_G_MMAP64): Likewise.
17465 (_G_FSTAT64): Likewise.
17466 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17467 (_G_LSEEK64): Likewise.
17468 (_G_MMAP64): Likewise.
17469 (_G_FSTAT64): Likewise.
17470 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17471 unconditional. Call __mmap64 directly.
17472 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17473 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17474 __lseek64 directly.
17475 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17476 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17478 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17479 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17480 __lseek64 directly.
17481 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17482 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17483 __lseek64 directly.
17484 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17485 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17486 __lseek64 directly.
17487 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17488 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17489 __fxstat64 directly.
17490 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17491 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17493 (freopen64) [!_G_OPEN64]: Remove conditional code.
17494 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17496 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17497 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17499 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17500 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17502 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17503 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17505 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17506 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17508 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17509 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17511 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17512 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17514 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17516 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17519 * manual/memory.texi (Malloc Tunable Parameters): Add note
17520 about free list pointers overwriting some perturb bytes.
17521 Wording suggested by Roland McGrath.
17523 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17525 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17526 (lgamma_test): Likewise.
17527 (tgamma_test): Likewise.
17529 2012-10-16 Florian Weimer <fweimer@redhat.com>
17532 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17533 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17535 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17537 * NEWS: Mention BZ #14716.
17538 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17539 when removing AVAILABLE1_USES_J macro.
17541 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17543 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17544 (__bswap_64): __uint64_t for unsigned 64-bit int.
17546 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17548 * include/string.h (memmem): Declare libc hidden alias.
17549 * string/memmem.c (memmem): Define libc hidden alias.
17550 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17551 __read, __close instead of open, read, close.
17553 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17556 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17558 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17559 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17560 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17562 (__rawmemchr_sse2): Likewise.
17563 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17564 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17565 (__strchr_sse2): Likewise.
17566 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17567 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17568 (__strcasecmp_sse2): Likewise.
17569 (__strncasecmp_sse2): Likewise.
17570 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17571 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17572 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17573 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17574 (__strrchr_sse2): Likewise.
17575 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17577 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17578 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17579 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17580 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17581 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17582 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17583 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17584 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17585 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17586 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17587 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17588 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17589 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17590 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17591 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17592 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17593 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17594 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17595 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17596 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17597 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17598 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17599 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17600 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17601 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17602 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17603 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17604 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17605 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17606 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17608 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17610 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17611 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17612 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17613 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17615 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17617 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17618 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17619 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17620 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17622 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17623 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17624 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17625 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17626 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17627 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17628 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17629 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17630 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17631 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17632 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17633 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17634 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17635 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17636 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17638 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17639 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17640 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17642 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17643 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17644 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17645 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17647 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17648 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17649 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17650 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17651 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17652 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17653 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17654 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17655 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17662 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17664 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17665 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17666 * include/ifunc-impl-list.h: New file.
17667 * misc/ifunc-impl-list.c: Likewise.
17668 * misc/Makefile (routines): Add ifunc-impl-list.
17669 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17670 * string/test-string.h: Include <ifunc-impl-list.h>.
17671 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17672 impl_array): New variables.
17673 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17675 (test_init): Call __libc_ifunc_impl_list to initialize
17676 func_list if TEST_IFUNC and TEST_NAME are defined.
17678 * string/Makefile (strop-tests): Add bcopy and bzero.
17679 * string/test-bcopy.c: New file.
17680 * string/test-bzero.c: Likewise.
17681 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17683 * string/test-memset.c: Support bzero test if TEST_BZERO is
17685 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17687 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17689 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17692 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17694 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17695 * configure: Regenerated.
17697 * Makeconfig (+link-static-before-libc): Don't include
17698 $(link-static-libc).
17700 * libio/libio.h (_IO_pos_t): Remove.
17702 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17704 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17707 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17709 * crypt/crypt-entry.c: Include fips-private.h.
17710 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17711 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17712 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17713 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17715 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17717 * crypt/crypt-private.h: Include stdbool.h.
17718 (_ufc_setup_salt_r): Return bool.
17719 * crypt/crypt-entry.c: Include errno.h.
17720 (__crypt_r): Return NULL with EINVAL for bad salt.
17721 * crypt/crypt_util.c (bad_for_salt): New.
17722 (_ufc_setup_salt_r): Check that salt is long enough and within
17723 the specified alphabet.
17724 * crypt/badsalttest.c: New file.
17725 * crypt/Makefile (tests): Add it.
17726 ($(objpfx)badsalttest): New.
17728 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17730 * NEWS: Add entry for BZ #14602.
17732 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17734 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17736 * math/libm-test.inc: Update comment listing what functions and
17738 (isgreater_test): New function.
17739 (isgreaterequal_test): Likewise.
17740 (isless_test): Likewise.
17741 (islessequal_test): Likewise.
17742 (islessgreater_test): Likewise.
17743 (isunordered_test): Likewise.
17744 (main): Call the new functions.
17746 2012-10-09 Roland McGrath <roland@hack.frob.com>
17748 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17749 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17750 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17751 * sysdeps/i386/configure: Regenerated.
17752 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17753 * sysdeps/mach/configure: Regenerated.
17754 * sysdeps/mach/hurd/configure: Regenerated.
17755 * sysdeps/powerpc/configure: Regenerated.
17756 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17757 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17758 * sysdeps/s390/s390-32/configure: Regenerated.
17759 * sysdeps/s390/s390-64/configure: Regenerated.
17760 * sysdeps/sh/configure: Regenerated.
17761 * sysdeps/sparc/configure: Regenerated.
17762 * sysdeps/unix/sysv/linux/configure: Regenerated.
17763 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17764 * sysdeps/x86_64/configure: Regenerated.
17766 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17767 defined. Don't check if MAP is NULL.
17769 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17771 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17772 (_G_stat64): Likewise.
17773 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17774 (_G_stat64): Likewise.
17775 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17776 instead of struct _G_stat64.
17777 * libio/fileops.c (mmap_remap_check): Likewise.
17778 (decide_maybe_mmap): Likewise.
17779 (_IO_new_file_seekoff): Likewise.
17780 (_IO_file_stat): Likewise.
17781 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17783 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17784 instead of struct _G_stat64.
17785 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17787 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17790 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17792 (CHECK_EOL): New macro.
17793 (two_way_short_needle): Check beginning of haystack for EOL. Use
17795 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17796 Replace with CHECK_EOL.
17797 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17798 Replace with CHECK_EOL.
17800 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17802 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17804 * math/libm-test.inc: Update comment listing what functions and
17806 (finite_test): New function.
17807 (isinf_test): Likewise.
17808 (isnan_test): Likewise.
17809 (fpclassify_test): Test subnormal input.
17810 (isfinite_test): Likewise.
17811 (isnormal_test): Likewise.
17812 (main): Call the new functions.
17814 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17817 * Makerules (%.dynsym): Force C locale when running
17818 $(OBJDUMP) --dynamic-syms.
17820 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17822 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17825 2012-10-06 David S. Miller <davem@davemloft.net>
17827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17828 upper 32-bits of the length value in %o2 since we use branch-on-register
17829 tests which consider the entire 64-bit register.
17831 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17833 * string/test-strstr.c (check2): Add a test for page boundary.
17835 2012-10-05 David S. Miller <davem@davemloft.net>
17837 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17840 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17842 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17843 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17844 and bzero when HWCAP_SPARC_CRYPTO is present.
17846 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17849 * string/test-strstr.c (check2): New function.
17850 (test_main): Call check2.
17852 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17854 * string/bug-strcasestr1.c (do_test): Moved to ...
17855 * string/test-strcasestr.c (check1): Here. New function.
17856 (do_one_test): Break out result checking code into ...
17857 (check_result): This. New function.
17858 (do_one_test): Call check_result.
17859 (test_main): Call check1.
17860 * string/bug-strchr1.c (do_test): Moved to ...
17861 * string/test-strchr.c (check1): Here. New function.
17862 (do_one_test): Break out result checking code into ...
17863 (check_result): This. New function.
17864 (do_one_test): Call check_result.
17865 (test_main): Call check1.
17866 * string/bug-strstr1.c (main): Moved to ...
17867 * string/test-strstr.c (check1): Here. New function.
17868 (do_one_test): Break out result checking code into ...
17869 (check_result): This. New function.
17870 (do_one_test): Call check_result.
17871 (test_main): Call check1.
17872 * string/bug-strcasestr1.c: Removed.
17873 * string/bug-strchr1.c: Likewise.
17874 * string/bug-strstr1.c: Likewise.
17876 * elf/Makefile (dl-routines): Add hwcaps.
17877 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17878 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17879 (_dl_important_hwcaps): Moved to ...
17880 * elf/dl-hwcaps.c: Here. New file.
17881 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17884 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17885 if IS_IN_rtld isn't defined.
17887 * elf/dl-support.c (_dl_sysinfo_map): New.
17888 Include "get-dynamic-info.h" and "setup-vdso.h".
17889 (_dl_non_dynamic_init): Call setup_vdso.
17890 * elf/dynamic-link.h: Don't include <assert.h>.
17891 (elf_get_dynamic_info): Moved to ...
17892 * elf/get-dynamic-info.h: Here. New file.
17893 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17894 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17895 * elf/setup-vdso.h: Here. New file.
17896 * elf/rtld.c: Include "setup-vdso.h".
17897 (dl_main): Call setup_vdso.
17899 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17901 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17902 creal in comment listing functions tested. List finite, isinf,
17903 isnan, isless, islessequal, isgreater, isgreaterequal,
17904 islessgreater, isunordered, lgamma_r and pow10 as functions and
17905 macros not tested. Mention which functions not tested are aliases
17906 for other functions. Fix typo. Note that signs of NaNs are not
17909 * scripts/config.guess: Update from config.git.
17910 * scripts/config.sub: Likewise.
17912 2012-10-04 Roland McGrath <roland@hack.frob.com>
17914 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17915 * misc/madvise.c (madvise): Renamed to __madvise.
17916 Make madvise a weak alias.
17917 * include/sys/mman.h: Declare __madvise.
17918 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17919 * sysdeps/unix/syscalls.list
17920 (madvise): Make __madvise the strong name, and madvise a weak alias.
17921 * sysdeps/unix/sysv/linux/syscalls.list
17922 (madvise, mmap): Remove redundant entries.
17923 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17924 * malloc/malloc.c (mtrim): Likewise.
17925 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17927 2012-10-03 Roland McGrath <roland@hack.frob.com>
17929 * sysdeps/mach/hurd/dl-cache.c: File removed.
17930 * config.h.in (USE_LDCONFIG): New #undef.
17931 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17932 * configure: Regenerated.
17933 * elf/Makefile (dl-routines): Add dl-cache only under
17934 [$(use-ldconfig) = yes].
17935 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17936 cache on [USE_LDCONFIG].
17937 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17939 * elf/rtld.c (dl_main): Likewise.
17941 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17943 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17944 _SC_LEVEL4_CACHE_LINESIZE.
17946 2012-10-03 Roland McGrath <roland@hack.frob.com>
17948 * sysdeps/unix/bsd/confstr.h: File removed.
17950 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17952 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17955 2012-10-02 Roland McGrath <roland@hack.frob.com>
17957 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17958 Make 'mapoff' field ElfW(Off) rather than off_t.
17960 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17962 * nscd/Makefile: Remove nscd-cflags and all its users.
17963 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17964 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17967 * malloc.c (malloc_printerr): Clarify error message.
17969 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17973 Set bit_FMA_Usable if FMA is supported.
17974 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17976 (bit_FMA4_Usable): Updated.
17977 (index_FMA_Usable): New macro.
17978 (CPUID_FMA): Likewise
17979 (HAS_FMA): Defined with bit_FMA_Usable.
17981 2012-10-01 Roland McGrath <roland@hack.frob.com>
17983 * bits/types.h (__swblk_t): Type removed.
17984 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17985 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17987 (__SWBLK_T_TYPE): Likewise.
17988 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17989 (__SWBLK_T_TYPE): Likewise.
17990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17991 (__SWBLK_T_TYPE): Likewise.
17992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17993 (__SWBLK_T_TYPE): Likewise.
17995 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17996 Honza Horak <hhorak@redhat.com>
17998 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17999 (xdr_mapname): Use YPMAXMAP as maxsize.
18000 (xdr_peername): Use YPMAXPEER as maxsize.
18001 (xdr_keydat): Use YPAXRECORD as maxsize.
18002 (xdr_valdat): Use YPMAXRECORD as maxsize.
18004 2012-10-01 Roland McGrath <roland@hack.frob.com>
18006 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18008 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18009 * csu/init-first.c: ... here.
18010 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18011 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18012 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18013 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18014 * sysdeps/i386/init-first.c: File removed.
18015 * sysdeps/sh/init-first.c: File removed.
18017 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18021 if x * y might underflow to zero and z is zero.
18022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18024 * math/libm-test.inc (min_subnorm_value): New variable.
18025 (fma_test): Add more tests.
18026 (fma_test_towardzero): Likewise.
18027 (fma_test_downward): Likewise
18028 (fma_test_upward): Likewise.
18029 (initialize): Set min_subnorm_value.
18031 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18036 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18037 mode for addition resulting in exact zero.
18038 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18041 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18043 * math/libm-test.inc (fma_test): Add more tests.
18044 (fma_test_towardzero): New function.
18045 (fma_test_downward): Likewise.
18046 (fma_test_upward): Likewise.
18047 (main): Call the new functions.
18049 2012-09-28 David S. Miller <davem@davemloft.net>
18051 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18053 2012-09-28 Roland McGrath <roland@hack.frob.com>
18055 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18056 instead of SIGALRM.
18058 * sysdeps/gnu/_G_config.h: Moved to ...
18059 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18060 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18061 * sysdeps/generic/_G_config.h: ... here.
18063 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18065 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18067 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18068 Conditionalize target on [libnss_test1.so-version].
18070 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18072 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18073 (elfobjdir): Move out of conditionals.
18075 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18076 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18077 (__nss_lookup_function): Conditionalize label remove_from_tree on
18078 [!DO_STATIC_NSS || SHARED], matching its only use.
18080 2012-09-28 David S. Miller <davem@davemloft.net>
18082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18083 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18085 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18087 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18089 when HWCAP_SPARC_CRYPTO is present.
18091 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18093 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18095 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18098 * stdio-common/vfprintf.c (process_string_arg): Revert
18101 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18103 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18105 * stdio-common/tst-sprintf.c: Include <locale.h>
18106 (main): Test sprintf's handling of incomplete multibyte
18109 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18111 * elf/dl-runtime.c (VERSYMIDX): Removed.
18112 * elf/dl-version.c (VERSYMIDX): Likewise.
18113 * elf/do-rel.h (VERSYMIDX): Likewise.
18114 (VALIDX): Likewise.
18115 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18116 * elf/rtld.c (VALIDX): Likewise.
18117 (ADDRIDX): Likewise.
18118 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18119 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18120 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18121 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18122 (VALIDX): Likewise.
18123 (ADDRIDX): Likewise.
18125 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18127 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18129 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18132 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18134 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18135 addresses are in the same scope as 192.0.2/24.
18136 * posix/gai.conf: Document new scope table defaults.
18138 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18141 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18142 for ftell. Compute offsets from write pointers instead.
18143 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18145 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18148 * libio/Makefile (tests): New test case tst-fseek.
18149 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18150 combination works in wide mode.
18151 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18152 state when the external buffer state changes.
18154 2012-09-27 David S. Miller <davem@davemloft.net>
18157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18158 pass reloc->r_addend in as the 'high' argument to
18159 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18163 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18165 * rt/tst-aio2.c: Include <pthread.h>.
18166 * rt/tst-aio3.c: Likewise.
18168 2012-09-27 Steve Ellcey <sellcey@mips.com>
18170 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18172 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18174 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18175 contents on [SHARED].
18177 2012-09-26 Marek Polacek <polacek@redhat.com>
18181 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18182 for C++ and GCC <4.3 as well as for non GCC compilers.
18184 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18188 2012-09-25 Roland McGrath <roland@hack.frob.com>
18190 * Makefile.in (all, install): Declare with .PHONY.
18191 Reported by Michael Hope <michael.hope@linaro.org>.
18193 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18195 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18196 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18198 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18200 (sydep_routines): Add the new and the internal functions.
18201 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18202 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18204 (GLIBC_2.17): Add the new function.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18206 (GLIBC_2.17): Likewise.
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18208 (GLIBC_2.17): Likewise.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18210 (GLIBC_2.17): Likewise.
18211 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18213 2012-09-25 Alan Modra <amodra@gmail.com>
18215 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18216 Add release barrier before setting once_control to say
18217 initialisation is done. Add hints on lwarx. Use macro in
18219 (clear_once_control): Add release barrier.
18221 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18224 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18226 * math/s_clog10.c (__clog10): Likewise.
18227 * math/s_clog10f.c (__clog10f): Likewise.
18228 * math/s_clog10l.c (__clog10l): Likewise.
18229 * math/s_clogf.c (__clogf): Likewise.
18230 * math/s_clogl.c (__clogl): Likewise.
18231 * math/Makefile (libm-calls): Add x2y2m1.
18232 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18233 (__x2y2m1): Likewise.
18234 (__x2y2m1l): Likewise.
18235 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18236 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18241 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18242 * sysdeps/i386/fpu/libm-test-ulps: Update.
18243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18246 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18247 int as type of variable DEPTH.
18248 (glob): Use size_t instead of int as type of variables NEWCOUNT
18251 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18253 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18254 Add s_sincosf-sse2.
18255 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18256 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18257 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18258 macros for using routine as __sincosf_ia32.
18259 Use macro for function declaration and weak_alias.
18260 * sysdeps/i386/fpu/libm-test-ulps: Update.
18262 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18265 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18266 subnormal argument.
18267 * math/s_cexpf.c (__cexpf): Likewise.
18268 * math/s_csinf.c (__csinf): Likewise.
18269 * math/s_csinhf.c (__csinhf): Likewise.
18270 * math/s_ctanf.c (__ctanf): Likewise.
18271 * math/s_ctanhf.c (__ctanhf): Likewise.
18272 * math/s_ccosh.c (__ccoshf): Likewise.
18273 * math/s_cexp.c (__cexpl): Likewise.
18274 * math/s_csin.c (__csin): Likewise.
18275 * math/s_csinh.c (__csinh): Likewise.
18276 * math/s_ctan.c (__ctan): Likewise.
18277 * math/s_ctanh.c (ctanh): Likewise.
18278 * math/s_ccoshl.c (__ccoshl): Likewise.
18279 * math/s_cexpl.c (__cexpl): Likewise.
18280 * math/s_csinl.c (__csinl): Likewise.
18281 * math/s_csinhl.c (__csinhl): Likewise.
18282 * math/s_ctanl.c (__ctanl): Likewise.
18283 * math/s_ctanhl.c (__ctanhl): Likewise.
18285 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18287 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18288 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18289 (_IO_off_t): Define to __off_t, not _G_off_t.
18290 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18291 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18292 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18293 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18294 type of __dummy and __dummy2 fields.
18295 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18296 (_G_ssize_t): Likewise.
18297 (_G_off_t): Likewise.
18298 (_G_pid_t): Likewise.
18299 (_G_uid_t): Likewise.
18300 (_G_wchar_t): Likewise.
18301 (_G_wint_t): Likewise.
18302 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18303 (_G_ssize_t): Likewise.
18304 (_G_off_t): Likewise.
18305 (_G_pid_t): Likewise.
18306 (_G_uid_t): Likewise.
18307 (_G_wchar_t): Likewise.
18308 (_G_wint_t): Likewise.
18309 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18310 (_G_ssize_t): Likewise.
18311 (_G_off_t): Likewise.
18312 (_G_pid_t): Likewise.
18313 (_G_uid_t): Likewise.
18314 (_G_wchar_t): Likewise.
18315 (_G_wint_t): Likewise.
18317 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18319 * malloc/arena.c: Include malloc-sysdep.h.
18320 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18321 is sufficient to shrink the heap or an unmap is needed.
18322 * sysdeps/generic/malloc-sysdep.h: New file. Define
18323 new function check_may_shrink_heap.
18324 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18325 new function check_may_shrink_heap.
18327 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18329 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18332 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18334 * catgets/test-gencat.sh: Add "set -e".
18335 * elf/tst-pathopt.sh: Likewise.
18336 * grp/tst_fgetgrent.sh: Likewise.
18337 * iconvdata/run-iconv-test.sh: Likewise.
18338 * intl/tst-gettext.sh: Likewise.
18339 * intl/tst-gettext2.sh: Likewise.
18340 * intl/tst-gettext4.sh: Likewise.
18341 * intl/tst-gettext6.sh: Likewise.
18342 * intl/tst-translit.sh: Likewise.
18343 * io/ftwtest-sh: Likewise.
18344 * libio/test-freopen.sh: Likewise.
18345 * malloc/tst-mtrace.sh: Likewise.
18346 * posix/globtest.sh: Likewise.
18347 * posix/tst-getconf.sh: Likewise.
18348 * posix/wordexp-tst.sh: Likewise.
18349 * stdio-common/tst-printf.sh: Likewise.
18350 * stdio-common/tst-unbputc.sh: Likewise.
18351 * stdlib/tst-fmtmsg.sh: Likewise.
18352 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18353 * catgets/Makefile: Do not specify -e option when running
18354 testsuite shell scripts.
18355 * elf/Makefile: Likewise.
18356 * grp/Makefile: Likewise.
18357 * iconvdata/Makefile: Likewise.
18358 * intl/Makefile: Likewise.
18359 * io/Makefile: Likewise.
18360 * libio/Makefile: Likewise.
18361 * malloc/Makefile: Likewise.
18362 * posix/Makefile: Likewise.
18363 * stdio-common/Makefile: Likewise.
18364 * stdlib/Makefile: Likewise.
18365 * sysdeps/x86_64/Makefile: Likewise.
18367 * io/ftwtest-sh: Add copyright header.
18368 * posix/globtest.sh: Likewise.
18369 * posix/tst-getconf.sh: Likewise.
18370 * posix/wordexp-tst.sh: Likewise.
18371 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18373 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18376 * Makeconfig (+link): Defined as $(+link-static) if
18377 $(build-shared) isn't yes.
18378 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18380 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18382 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18385 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18386 new chunk size with MALLOC_ALIGN_MASK.
18388 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18391 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18393 (__printf_fphex): Determine rounding using get_rounding_mode and
18395 * stdio-common/tst-printf-round.c (struct hex_test): New
18397 (hex_tests): New variable.
18398 (test_hex_in_one_mode): New function.
18399 (do_test): Also run tests for hex float output.
18401 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18403 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18405 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18406 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18408 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18409 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18410 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18412 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18414 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18415 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18416 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18417 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18419 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18422 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18424 * elf/tst-rtld-load-self.sh: New test.
18425 * elf/Makefile: Run it.
18427 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18429 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18430 (tst-writev-ENV): Remove.
18431 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18433 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18435 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18437 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18439 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18441 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18443 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18444 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18445 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18448 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18451 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18452 * config.make.in (have-cpp-asm-debuginfo): Removed.
18453 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18454 * configure: Regenerated.
18456 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18459 * stdio-common/printf_fp.c: Include <stdbool.h> and
18461 (___printf_fp): Determine rounding using get_rounding_mode and
18463 * stdio-common/tst-printf-round.c: New file.
18464 * stdio-common/Makefile (tests): Add tst-printf-round.
18465 (link-libm): New variable.
18466 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18468 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18471 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18472 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18474 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18477 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18479 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18480 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18481 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18482 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18484 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18487 * include/rounding-mode.h: New file.
18488 * sysdeps/generic/get-rounding-mode.h: Likewise.
18489 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18490 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18491 (MAX_VALUE): New macro.
18492 (MIN_VALUE): Likewise.
18493 (overflow_value): New function.
18494 (underflow_value): Likewise.
18495 (round_and_return): Use overflow_value and underflow_value to
18496 determine return values in overflow and underflow cases. Use
18497 round_away to determine rounding depending on rounding mode.
18498 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18499 determine return values in overflow and underflow cases.
18500 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18501 (struct test_results): New structure.
18502 (struct test): Use struct test_results to store expected results
18503 for all rounding modes.
18504 (TEST): Include expected results for all rounding modes.
18505 (test_in_one_mode): New function.
18506 (do_test): Use test_in_one_mode to compute and check results.
18507 Check results for all rounding modes.
18508 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18511 2012-12-09 Allan McRae <allan@archlinux.org>
18513 * sysdeps/i386/fpu/libm-test-ulps: Update
18515 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18517 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18518 (_G_int32_t): Likewise.
18519 (_G_uint16_t): Likewise.
18520 (_G_uint32_t): Likewise.
18521 (_G_HAVE_BOOL): Likewise.
18522 (_G_HAVE_ATEXIT): Likewise.
18523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18524 (_G_HAVE_IO_FILE_OPEN): Likewise.
18525 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18526 (_G_int32_t): Likewise.
18527 (_G_uint16_t): Likewise.
18528 (_G_uint32_t): Likewise.
18529 (_G_HAVE_BOOL): Likewise.
18530 (_G_HAVE_ATEXIT): Likewise.
18531 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18532 (_G_HAVE_IO_FILE_OPEN): Likewise.
18533 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18534 (_G_int32_t): Likewise.
18535 (_G_uint16_t): Likewise.
18536 (_G_uint32_t): Likewise.
18537 (_G_HAVE_BOOL): Likewise.
18538 (_G_HAVE_ATEXIT): Likewise.
18539 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18540 (_G_HAVE_IO_FILE_OPEN): Likewise.
18542 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18544 * csu/libc-tls.c: Update copyright years.
18546 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18548 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18549 [!_G_USING_THUNKS]: Remove conditional code.
18550 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18551 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18553 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18554 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18555 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18556 (_G_VTABLE_LABEL_PREFIX): Likewise.
18557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18558 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18559 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18560 (_G_VTABLE_LABEL_PREFIX): Likewise.
18561 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18562 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18563 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18564 (_G_VTABLE_LABEL_PREFIX): Likewise.
18565 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18567 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18569 * libio/Makefile: Include ../Makeconfig before tests.
18570 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18571 only if $(build-shared) is yes.
18573 * iconv/gconv_db.c: Update copyright years.
18575 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18577 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18578 unwind info if defined PIC. Fix special cases description.
18579 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18581 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18583 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18585 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18587 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18589 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18592 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18593 (LDLIBS-tst-chk4): This.
18594 (LDFLAGS-tst-chk5): Renamed to ...
18595 (LDLIBS-tst-chk5): This.
18596 (LDFLAGS-tst-chk6): Renamed to ...
18597 (LDLIBS-tst-chk6): This.
18598 (LDFLAGS-tst-lfschk4): Renamed to ...
18599 (LDLIBS-tst-lfschk4): This.
18600 (LDFLAGS-tst-lfschk5): Renamed to ...
18601 (LDLIBS-tst-lfschk5): This.
18602 (LDFLAGS-tst-lfschk6): Renamed to ...
18603 (LDLIBS-tst-lfschk6): This.
18605 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18606 on $(common-objpfx)soversions.mk.
18608 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18611 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18614 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18616 * malloc/arena.c (arena_get_retry): New function that gets
18617 another arena for the caller to try its request on.
18618 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18619 current arena cannot fulfill the request.
18620 (__libc_memalign): Likewise.
18621 (__libc_memalign): Likewise.
18622 (__libc_pvalloc): Likewise.
18623 (__libc_calloc): Likewise.
18625 2012-09-05 John Tobey <john.tobey@gmail.com>
18628 * manual/arith.texi (Operations on Complex): Fix description
18629 of carg branch cut.
18631 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18634 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18638 * manual/memory.texi (Memory): Make order of menu items match
18641 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18643 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18644 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18645 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18647 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18649 * csu/libc-tls.c (static_dtv): Renamed to ...
18650 (_dl_static_dtv): This. Make it global.
18651 (_dl_initial_dtv): Removed.
18652 (__libc_setup_tls): Updated.
18653 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18654 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18657 2012-09-06 Petr Machata <pmachata@redhat.com>
18659 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18660 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18661 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18662 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18664 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18667 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18668 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18671 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18674 * Makeconfig (link-static-before-libc): Replace $(+prector)
18676 (link-static-after-libc): Replace $(+postctor) with
18678 (link-bounded): Replace $(+prector)/$(+postctor) with
18679 $(+prectorT)/$(+postctorT).
18680 (+prectorT): New macro.
18681 (+postctorT): Likewise.
18683 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18685 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18686 (round_str): Handle values above the maximum for IBM long double
18688 * stdlib/tst-strtod-round.c (tests): Regenerated.
18690 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18692 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18694 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18695 zarch_nohighgprs around the zarch optimized routines.
18696 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18697 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18698 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18701 2012-09-05 David S. Miller <davem@davemloft.net>
18703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18705 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18706 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18707 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18708 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18713 * malloc/arena.c: Fold copyright years.
18714 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18718 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18720 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18722 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18724 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18726 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18727 change internal state upon failure.
18729 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18731 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18732 * malloc/memusage.c (mmap): Likewise.
18733 (mmap64, mremap): Likewise. Adjust name in comment.
18735 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18737 * libio/fileops.c: Fix typos in comments.
18738 * libio/oldfileops.c: Likewise.
18739 * libio/wfileops.c: Likewise.
18741 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18744 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18745 (tst-malloc-usable-ENV): Set environment for test case.
18746 * malloc/hooks.c (malloc_check_get_size): New function to get
18748 * malloc/malloc.c (musable): Use malloc_check_get_size.
18749 * malloc/tst-malloc-usable.c: New test case.
18751 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18753 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18755 2012-09-05 Allan McRae <allan@archlinux.org>
18758 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18759 determine header location.
18760 * configure: Regenerated.
18762 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18764 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18766 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18767 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18769 (test): Regenerate.
18771 2012-09-04 David S. Miller <davem@davemloft.net>
18773 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18774 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18777 2012-09-04 Florian Weimer <fweimer@redhat.com>
18779 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18782 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18784 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18787 * libio/iogetdelim.c: Include <limits.h>.
18788 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18789 + len + 1 would overflow.
18791 2012-09-03 Andreas Jaeger <aj@suse.de>
18793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18794 * sysdeps/i386/fpu/libm-test-ulps: Update.
18796 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18798 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18799 Add s_sinf-sse2, s_conf-sse2.
18801 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18802 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18803 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18804 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18806 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18807 for using routine as __sinf_ia32.
18808 Use macro for function declaration and weak_alias.
18809 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18810 for using routine as __cosf_ia32.
18811 Use macro for function declaration and weak_alias.
18813 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18814 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18816 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18817 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18820 * math/libm-test.inc (cos_test): Add more test cases.
18821 (sin_test): Likewise.
18822 (sincos_test): Likewise.
18824 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18826 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18827 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18831 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18834 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18835 first element of the GOT.
18836 (elf_machine_load_address): Return the difference between
18837 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18839 2012-09-01 Allan McRae <allan@archlinux.org>
18842 * configure.in (AWK): Require gawk version 3.0 or later.
18843 * configure: Regenerated.
18845 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18847 * sysdeps/unix/sysv/linux/kernel-features.h
18848 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18849 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18850 [__NR_clock_getres]: Make code unconditional.
18851 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18852 (clock_getcpuclockid): Remove code left unreachable by removal of
18854 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18855 code unconditional.
18856 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18857 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18858 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18859 Make code unconditional.
18860 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18861 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18862 * sysdeps/unix/sysv/linux/clock_settime.c
18863 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18865 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18866 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18868 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18871 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18872 scripts/test-installation.pl.
18874 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18875 and $ld_so_version if it is set.
18877 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18881 failure if reading from procfs failed.
18882 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18884 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18886 * sysdeps/unix/sysv/linux/kernel-features.h
18887 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18888 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18889 Remove conditional code.
18890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18891 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18892 Remove conditional code.
18893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18894 * sysdeps/unix/sysv/linux/i386/fxstat.c
18895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18897 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18900 * sysdeps/unix/sysv/linux/i386/lxstat.c
18901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18903 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18904 Remove conditional code.
18905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18906 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18907 Remove conditional code.
18908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18909 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18910 <kernel-features.h>.
18911 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18913 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18914 Remove conditional code.
18915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18916 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18917 Remove conditional.
18919 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18922 * NEWS: Add fixed bug number.
18924 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18927 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18928 underflowing exponent in case of negative sign.
18929 * stdlib/tst-strtod-round-data: Add more tests.
18930 * stdlib/tst-strtod-round.c (tests): Regenerated.
18933 * stdlib/strtod_l.c (NDIG): Remove.
18934 (HEXNDIG): Likewise.
18935 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18936 smallest representable value.
18937 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18938 lie within an exact representation of 1/2 ulp of the result.
18939 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18941 (TENS_P9_IDX): Define unconditionally.
18942 (TENS_P9_SIZE): Likewise.
18943 (TENS_P10_IDX): Likewise.
18944 (TENS_P10_SIZE): Likewise.
18945 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18946 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18947 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18948 entries for 10^2^13 and 10^2^14.
18949 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18950 (TENS_P13_IDX): Define.
18951 (TENS_P13_SIZE): Likewise.
18952 (TENS_P14_IDX): Likewise.
18953 (TENS_P14_SIZE): Likewise.
18954 (_fpioconst_pow10): Change array size to
18955 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18957 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18958 1024]: Add entries for 10^2^13 and 10^2^14.
18959 [LAST_POW10 > _LAST_POW10]: Remove #error.
18960 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18961 (_fpioconst_pow10): Change array size to
18962 FPIOCONST_POW10_ARRAY_SIZE.
18963 * stdlib/gen-fpioconst.c: New file.
18964 * stdlib/gen-tst-strtod-round.c: Likewise.
18965 * stdlib/tst-strtod-round-data: Likewise.
18966 * stdlib/tst-strtod-round.c: Likewise.
18967 * stdlib/Makefile (tests): Add tst-strtod-round.
18970 * stdlib/strtod_l.c: Include <stdint.h>.
18971 (NDEBUG): Do not define.
18972 (round_and_return): Change EXPONENT parameter to type intmax_t.
18973 Rearrange calculations to avoid internal overflow possibilities.
18974 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18975 Rearrange calculations to avoid internal overflow possibilities.
18976 Assert that number fits inside MPNSIZE limbs.
18977 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18978 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18979 calculations and add assertions to avoid internal overflow
18980 possibilities. Add casts to avoid signed/unsigned operations.
18981 * stdlib/tst-strtod-overflow.c: New file.
18982 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18984 2012-08-25 Marek Polacek <polacek@redhat.com>
18986 * time/time.h: Fix some typos in comments.
18988 2012-08-23 Roland McGrath <roland@hack.frob.com>
18990 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18991 * posix/tst-rfc3484-2.c: Likewise.
18992 * posix/tst-rfc3484-3.c: Likewise.
18994 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18996 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18997 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18999 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19001 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19002 #include of fxstatat64.c.
19004 2012-08-22 Roland McGrath <roland@hack.frob.com>
19006 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19007 * shadow/getspent_r.c: Likewise.
19008 * shadow/getspnam.c: Likewise.
19009 * shadow/getspnam_r.c: Likewise.
19010 * gshadow/getsgent.c: Likewise.
19011 * gshadow/getsgent_r.c: Likewise.
19012 * gshadow/getsgnam.c: Likewise.
19013 * gshadow/getsgnam_r.c: Likewise.
19014 * inet/getnetbyad.c: Likewise.
19015 * inet/getnetbyad_r.c: Likewise.
19016 * inet/getnetbynm.c: Likewise.
19017 * inet/getnetbynm_r.c: Likewise.
19018 * inet/getnetent.c: Likewise.
19019 * inet/getnetent_r.c: Likewise.
19020 * inet/getproto.c: Likewise.
19021 * inet/getproto_r.c: Likewise.
19022 * inet/getprtent.c: Likewise.
19023 * inet/getprtent_r.c: Likewise.
19024 * inet/getprtname.c: Likewise.
19025 * inet/getprtname_r.c: Likewise.
19026 * inet/getrpcbyname.c: Likewise.
19027 * inet/getrpcbyname_r.c: Likewise.
19028 * inet/getrpcbynumber.c: Likewise.
19029 * inet/getrpcbynumber_r.c: Likewise.
19030 * inet/getrpcent.c: Likewise.
19031 * inet/getrpcent_r.c: Likewise.
19032 * inet/getaliasent.c: Likewise.
19033 * inet/getaliasent_r.c: Likewise.
19034 * inet/getaliasname.c: Likewise.
19035 * inet/getaliasname_r.c: Likewise.
19036 * nscd/getgrgid_r.c: Likewise.
19037 * nscd/getgrnam_r.c: Likewise.
19038 * nscd/gethstbyad_r.c: Likewise.
19039 * nscd/gethstbynm3_r.c: Likewise.
19040 * nscd/getpwnam_r.c: Likewise.
19041 * nscd/getpwuid_r.c: Likewise.
19042 * nscd/getsrvbynm_r.c: Likewise.
19043 * nscd/getsrvbypt_r.c: Likewise.
19044 * nscd/gai.c: Likewise.
19046 * configure.in (build_nscd): New substituted variable, set
19047 by --disable-build-nscd and defaults to $use_nscd.
19048 * configure: Regenerated.
19049 * config.make.in (build-nscd): New substituted variable.
19050 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19051 Change conditional to require [$(build-nscd) = yes] as well.
19052 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19055 * configure.in (use_nscd): New substituted variable, set by
19056 --disable-nscd. If enabled, define USE_NSCD.
19057 * configure: Regenerated.
19058 * config.h.in: Add USE_NSCD.
19059 * config.make.in (use-nscd): New substituted variable.
19060 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19061 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19062 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19063 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19064 (CFLAGS-getgrnam_r.c): Likewise.
19065 (CFLAGS-initgroups.c): Likewise.
19066 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19067 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19069 * inet/getnetgrent_r.c
19070 (nscd_setnetgrent): New function, broken out of ...
19071 (setnetgrent): ... here. Call it.
19072 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19073 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19074 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19075 * nscd/Makefile (routines, aux): Move definitions after include of
19076 Makeconfig. Conditionalize on [$(use-nscd) != no].
19077 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19078 Conditionalize on [USE_NSCD].
19079 (is_nscd, nscd_init_cb): Likewise.
19080 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19081 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19082 * nss/nss_db/db-init.c: Likewise.
19083 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19085 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19086 (make_request): Use it.
19087 (cache_valid_p): New function.
19088 (__check_pf): Use it.
19089 * NEWS: Add item for --disable-nscd.
19091 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19093 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19094 to support sed >= 4.2.1-20-ga9bf076.
19095 * configure: Regenerated.
19097 2012-08-22 Roland McGrath <roland@hack.frob.com>
19099 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19100 Conditionalize whole body on [IREL].
19102 2012-08-22 Jeff Law <law@redhat.com>
19105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19106 if the family is PF_UNSPEC.
19108 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19110 * Makerules (lib-version): Rename from V.
19111 (install-lib-nosubdir): Change V to lib-version.
19113 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19116 * powerpc32/power6/wcschr.c: New file.
19117 * powerpc32/power6/wcscpy.c: New file.
19118 * powerpc32/power6/wcsrchr.c: New file.
19119 * powerpc64/power6/wcschr.c: New file.
19120 * powerpc64/power6/wcscpy.c: New file.
19121 * powerpc64/power6/wcsrchr.c: New file.
19123 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19125 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19126 (two_way_short_needle): Use it.
19127 * string/strstr.c (AVAILABLE1_USES_J): Define.
19128 * string/strcasestr.c: Likewise.
19130 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19132 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19135 * NEWS: Add an entry.
19136 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19137 define their defaults.
19138 (two_way_short_needle): Detect end-of-string on-the-fly.
19139 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19140 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19141 * string/bug-strcasestr1.c: New test.
19142 * string/Makefile: Run it.
19144 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19147 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19148 the first character.
19150 2012-08-21 Roland McGrath <roland@hack.frob.com>
19152 * csu/elf-init.c (__libc_csu_irel): Function removed.
19153 * csu/libc-start.c (apply_irel): New function.
19154 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19156 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19158 * sysdeps/unix/sysv/linux/kernel-features.h
19159 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19160 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19161 <kernel-features.h>.
19162 [__NR_fadvise64_64]: Make code unconditional.
19163 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19164 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19165 !__NR_fadvise64_64)]: Likewise.
19166 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19167 !__NR_fadvise64_64))]: Likewise.
19168 [__NR_fadvise64]: Make code unconditional.
19169 [!__NR_fadvise64]: Remove conditional code.
19170 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19171 <kernel-features.h>.
19172 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19174 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19177 not include <kernel-features.h>.
19178 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19180 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19182 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19183 include <kernel-features.h>.
19184 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19186 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19189 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19191 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19192 slight instruction rearrangements per scrollpipe analysis.
19193 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19195 2012-08-20 Roland McGrath <roland@hack.frob.com>
19197 * manual/syslog.texi (syslog; vsyslog, closelog):
19198 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19199 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19201 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19202 DSOCAPS to match condition on defining it.
19204 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19206 * sysdeps/unix/sysv/linux/kernel-features.h
19207 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19218 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19219 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19221 * sysdeps/unix/sysv/linux/kernel-features.h
19222 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19223 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19225 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19226 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19227 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19228 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19229 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19230 Make code unconditional.
19231 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19232 (__mmap64) [!__NR_mmap2]: Likewise.
19233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19234 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19235 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19237 [__NR_mmap2]: Make code unconditional.
19238 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19239 (__mmap64) [!__NR_mmap2]: Likewise.
19241 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19243 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19245 2012-08-18 Andreas Jaeger <aj@suse.de>
19247 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19249 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19251 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19252 * include/unistd.h (__have_sock_cloexec): Likewise.
19253 (__have_pipe2): Likewise.
19254 (__have_dup3): Likewise.
19256 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19259 * include/unistd.h (__have_pipe2): Change define into an extern int.
19260 (__have_dup3): Likewise.
19261 * socket/have_sock_cloexec.c: Include fcntl.h.
19262 (__have_pipe2): New variable.
19263 (__have_dup3): Likewise.
19265 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19267 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19269 2012-08-17 Marek Polacek <polacek@redhat.com>
19271 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19272 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19274 2012-08-17 Roland McGrath <roland@hack.frob.com>
19276 * configure.in: Add AC_SUBST for sysheaders.
19277 * configure: Regenerated.
19278 * config.make.in (sysheaders): New substituted variable.
19280 * sysdeps/unix/mkfifo.c: Moved ...
19281 * sysdeps/posix/mkfifo.c: ... here.
19282 * sysdeps/unix/mkfifoat.c: Moved ...
19283 * sysdeps/posix/mkfifoat.c: ... here.
19285 * sysdeps/unix/utime.c: Moved ...
19286 * sysdeps/posix/utime.c: ... here.
19288 * sysdeps/unix/time.c: Moved ...
19289 * sysdeps/posix/time.c: ... here.
19290 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19291 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19293 * sysdeps/unix/nice.c: Moved ...
19294 * sysdeps/posix/nice.c: ... here.
19296 * sysdeps/unix/alarm.c: Moved ...
19297 * sysdeps/posix/alarm.c: ... here.
19299 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19301 2012-08-17 Jeff Law <law@redhat.com>
19303 * intl/Makefile (codeset_mo): New variable.
19304 ($(codeset_mo)): New target.
19305 (tst-codeset.out): Depend on that. Remove explicit rule.
19306 (tst-gettext3.out, tst-gettext5.out): Likewise.
19307 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19308 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19309 * intl/tst-codeset.sh: Remove.
19310 * intl/tst-gettext3.sh: Likewise.
19311 * intl/tst-gettext5.sh: Likewise.
19313 2012-08-17 Roland McGrath <roland@hack.frob.com>
19315 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19316 * sysdeps/unix/syscalls.list: ... here.
19318 * sysdeps/posix/getaddrinfo.c
19319 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19320 (gaiconf_init, gaiconf_reload): Use them.
19321 [!_STATBUF_ST_NSEC]
19322 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19323 Define using time_t rather than struct timespec.
19325 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19326 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19328 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19330 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19331 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19334 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19335 __libc_cleanup_push argument.
19337 * bits/param.h: New file.
19338 * misc/sys/param.h: New file.
19339 * include/sys/param.h: New file.
19340 * misc/Makefile (headers): Add bits/param.h.
19341 * sysdeps/generic/sys/param.h: File removed.
19342 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19343 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19344 * sysdeps/mach/hurd/bits/param.h: New file.
19345 * sysdeps/mach/hurd/sys/param.h: File removed.
19347 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19350 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19352 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19353 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19356 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19357 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19358 rather than -D_IO_MTSAFE_IO conditionally.
19359 * stdio-common/Makefile (CPPFLAGS): Likewise.
19360 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19361 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19362 Use $(libio-mtsafe).
19363 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19364 of -D_IO_MTSAFE_IO.
19365 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19366 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19367 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19368 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19369 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19370 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19371 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19372 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19373 (CFLAGS-fread_u_chk.c): Likewise.
19374 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19375 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19376 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19377 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19378 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19379 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19380 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19381 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19382 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19384 * libio/Makefile: Test [$(libc-reentrant) = yes]
19385 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19388 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19389 * sysdeps/pthread/configure: File removed.
19390 * sysdeps/pthread/Makeconfig: New file.
19391 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19392 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19394 2012-08-16 Gary Benson <gbenson@redhat.com>
19396 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19397 unmapping the first object in a namespace.
19399 2012-08-16 Roland McGrath <roland@hack.frob.com>
19401 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19402 (__internal_setnetgrent): ... this. Add internal_function to
19403 definition. Add libc_hidden_def.
19404 (setnetgrent): Update caller.
19405 (internal_endnetgrent): Renamed to ...
19406 (__internal_endnetgrent): ... this. Add internal_function to
19407 definition. Add libc_hidden_def.
19408 (endnetgrent): Update caller.
19409 (internal_getnetgrent_r): Renamed to ...
19410 (__internal_getnetgrent_r): ... this. Add internal_function to
19411 definition. Add libc_hidden_def.
19412 (__getnetgrent_r): Update caller.
19413 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19415 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19417 * stdlib/longlong.h: Update from GCC.
19419 2012-08-16 Roland McGrath <roland@hack.frob.com>
19421 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19422 on _QL, which is set by umul_ppmm but never used.
19423 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19424 variables, which are set by GMP macros but never used.
19425 * stdio-common/_itowa.c (_itowa): Likewise.
19426 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19427 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19429 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19431 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19432 struct La_sh_regs is not constant.
19433 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19434 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19435 and struct La_sparc64_regs are not constant.
19437 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19439 * sysdeps/unix/sysv/linux/kernel-features.h
19440 (__ASSUME_POSIX_TIMERS): Remove.
19441 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19443 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19444 Make code unconditional.
19445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19446 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19447 Make code unconditional.
19448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19449 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19450 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19452 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19453 Make code unconditional.
19454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19455 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19456 (__libc_missing_posix_timers): Remove.
19458 2012-08-15 Roland McGrath <roland@hack.frob.com>
19460 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19461 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19463 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19465 * elf/dl-sym.c: Include <stdlib.h>.
19467 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19468 constants, which avoids warnings in 32-bit builds.
19470 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19471 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19473 * misc/lseek.c: File moved to ...
19474 * io/lseek.c: ... here.
19476 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19478 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19479 shifting LEN more than 31 bits at once.
19481 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19484 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19485 segmentation fault for a case of two empty input strings.
19486 * string/test-strncasecmp.c (check1): Renamed to...
19487 (bz12205): ...this.
19488 (bz14195): Add new testcase for two empty input strings and N > 0.
19489 (test_main): Call new testcase, adapt for renamed function.
19491 2012-08-15 Andreas Jaeger <aj@suse.de>
19494 * crypt/md5test2.c: New test, based on test supplied by Serge
19495 Belyshev <belyshev@depni.sinp.msu.ru>.
19496 * crypt/Makefile (xtests): Add md5test-giant..
19497 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19499 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19502 * crypt/md5.c (md5_process_block): Don't assume the buffer
19503 length is less than 2**32.
19504 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19505 length is less than 2**64.
19507 2012-08-15 Roland McGrath <roland@hack.frob.com>
19509 * string/str-two-way.h: Include <sys/param.h>.
19510 (MAX): Macro removed.
19512 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19513 Move #define and #undef of memmove to just before and after
19514 including <string.h>.
19516 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19517 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19518 and after including <string.h>. Move declarations of
19519 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19520 to before #include "string/memmove.c".
19522 * include/dirent.h: Declare __getdirentries.
19524 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19525 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19527 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19529 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19530 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19531 * sysdeps/i386/configure: Regenerated.
19532 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19533 STABS_CURRENT_FILE, and STABS_FUN.
19534 (END): Remove call to STABS_FUN_END.
19535 (STABS_CURRENT_FILE1): Delete.
19536 (STABS_CURRENT_FILE): Likewise.
19537 (STABS_FUN): Likewise.
19538 (STABS_FUN_END): Likewise.
19539 (STABS_FUN2): Likewise.
19540 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19541 * sysdeps/x86_64/configure: Regenerated.
19543 2012-08-14 Roland McGrath <roland@hack.frob.com>
19545 * elf/dl-open.c: Include <atomic.h>.
19546 * elf/dl-lookup.c: Likewise.
19548 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19550 * sysdeps/unix/sysv/linux/kernel-features.h
19551 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19552 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19554 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19556 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19557 condition on __ASSUME_CLONE_THREAD_FLAGS.
19559 2012-08-14 Andreas Jaeger <aj@suse.de>
19561 * sysdeps/i386/fpu/libm-test-ulps: Update.
19563 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19565 * include/atomic.h (atomic_exchange_and_add): Split into ...
19566 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19569 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19573 2012-08-13 Jeff Law <law@redhat.com>
19575 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19576 null byte in the output string.
19578 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19580 * sysdeps/unix/sysv/linux/kernel-features.h
19581 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19582 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19583 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19585 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19586 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19587 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19589 2012-08-09 Jeff Law <law@redhat.com>
19592 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19593 When avoid_arena is set, don't retry in the that arena. Pick the
19594 next one, whatever it might be.
19595 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19596 (arena_lock): Pass in new parameter to arena_get2.
19597 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19599 (__libc_malloc): Unify retrying after main arena failure with
19600 __libc_memalign version.
19601 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19603 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19606 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19607 to __redirect_strstr.
19608 (__strstr_sse42): Use typeof __redirect_strstr.
19609 (__strstr_ia32): Likewise.
19610 (__libc_strstr): New prototype.
19611 (strstr): Renamed to ...
19612 (__libc_strstr): This.
19613 (strstr): New strong alias of __libc_strstr.
19614 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19615 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19618 (__libc_time): New prototype.
19619 (time_ifunc): Replace time with __libc_time.
19620 (time): New strong alias and hidden definition of __libc_time.
19621 (__GI_time): Remove strong alias.
19622 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19623 Include <stddef.h>.
19624 (memmove): Redefined to __redirect_memmove.
19625 (__memmove_sse2): Use typeof __redirect_memmove.
19626 (__memmove_ssse3): Likewise.
19627 (__memmove_ssse3_back): Likewise.
19628 (__libc_memmove): New prototype.
19629 (memmove): Renamed to ...
19630 (__libc_memmove): This.
19631 (memmove): New strong alias of __libc_memmove.
19633 2012-08-08 Mark Salter <msalter@redhat.com>
19636 (R_MN10300_TLS_GD): Define.
19637 (R_MN10300_TLS_LD): Likewise.
19638 (R_MN10300_TLS_LDO): Likewise.
19639 (R_MN10300_TLS_GOTIE): Likewise.
19640 (R_MN10300_TLS_IE): Likewise.
19641 (R_MN10300_TLS_LE): Likewise.
19642 (R_MN10300_TLS_DTPMOD): Likewise.
19643 (R_MN10300_TLS_DTPOFF): Likewise.
19644 (R_MN10300_TLS_TPOFF): Likewise.
19645 (R_MN10300_SYM_DIFF): Likewise.
19646 (R_MN10300_ALIGN): Likewise.
19647 (R_MN10300_NUM): Update.
19649 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19654 2012-08-08 Roland McGrath <roland@hack.frob.com>
19656 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19658 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19659 sysdeps/unix -> sysdeps/posix move.
19660 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19662 2012-08-07 Allan McRae <allan@archlinux.org>
19665 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19666 (SUNOS_CPP): Likewise.
19667 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19669 (open_input): Call CPP using execvp.
19671 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19673 * sysdeps/unix/sysv/linux/kernel-features.h
19674 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19675 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19676 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19677 (__ASSUME_WAITID_SYSCALL): Likewise.
19678 * sysdeps/unix/sysv/linux/dl-execstack.c
19679 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19680 code unconditional.
19681 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19683 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19684 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19685 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19687 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19689 [__ASSUME_WAITID_SYSCALL]: Likewise.
19690 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19692 2012-08-07 Roland McGrath <roland@hack.frob.com>
19694 * sysdeps/unix/closedir.c: Renamed to ...
19695 * sysdeps/posix/closedir.c: ... here.
19696 * sysdeps/unix/dirfd.c: Renamed to ...
19697 * sysdeps/posix/dirfd.c: ... here.
19698 * sysdeps/unix/dirstream.h: Renamed to ...
19699 * sysdeps/posix/dirstream.h: ... here.
19700 * sysdeps/unix/fdopendir.c: Renamed to ...
19701 * sysdeps/posix/fdopendir.c: ... here.
19702 * sysdeps/unix/opendir.c: Renamed to ...
19703 * sysdeps/posix/opendir.c: ... here.
19704 * sysdeps/unix/readdir.c: Renamed to ...
19705 * sysdeps/posix/readdir.c: ... here.
19706 * sysdeps/unix/readdir_r.c: Renamed to ...
19707 * sysdeps/posix/readdir_r.c: ... here.
19708 * sysdeps/unix/rewinddir.c: Renamed to ...
19709 * sysdeps/posix/rewinddir.c: ... here.
19710 * sysdeps/unix/seekdir.c: Renamed to ...
19711 * sysdeps/posix/seekdir.c: ... here.
19712 * sysdeps/unix/telldir.c: Renamed to ...
19713 * sysdeps/posix/telldir.c: ... here.
19714 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19715 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19716 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19717 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19720 * bits/fcntl.h: ... here.
19722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19724 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19725 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19726 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19727 (struct flock): Move l_start, l_len to the beginning.
19728 Use __pid_t for l_pid.
19729 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19730 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19731 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19732 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19733 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19734 [__USE_LARGEFILE64] (struct flock64): New type.
19735 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19738 * bits/dirent.h: ... here.
19740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19741 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19743 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19746 Change from 2.6.0 to 2.6.16.
19747 * sysdeps/unix/sysv/linux/configure: Regenerated.
19748 * sysdeps/unix/sysv/linux/kernel-features.h
19749 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19750 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19752 (__ASSUME_UTIMES): Likewise.
19753 (__ASSUME_CLONE_STOPPED): Remove.
19754 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19755 architectures, not kernel version.
19756 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19757 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19758 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19759 (__ASSUME_WAITID_SYSCALL): Likewise.
19760 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19761 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19762 * README: State 2.6.16 as minimum Linux kernel version. Do not
19763 refer to older versions.
19765 2012-08-06 Roland McGrath <roland@hack.frob.com>
19767 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19768 Define alphasort64 as an alias.
19769 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19770 Define versionsort64 as an alias.
19771 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19772 Define scandir64 as an alias.
19773 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19774 Define scandirat64 as an alias.
19775 * dirent/alphasort64.c (alphasort64):
19776 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19777 * dirent/versionsort64.c: Likewise.
19778 * dirent/scandir64.c: Likewise.
19779 * dirent/scandirat64.c: Likewise.
19780 * sysdeps/wordsize-64/alphasort.c: File removed.
19781 * sysdeps/wordsize-64/alphasort64.c: File removed.
19782 * sysdeps/wordsize-64/scandir.c: File removed.
19783 * sysdeps/wordsize-64/scandir64.c: File removed.
19784 * sysdeps/wordsize-64/scandirat.c: File removed.
19785 * sysdeps/wordsize-64/scandirat64.c: File removed.
19786 * sysdeps/wordsize-64/versionsort.c: File removed.
19787 * sysdeps/wordsize-64/versionsort64.c: File removed.
19788 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19797 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19799 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19801 [defined __arch64__ || defined __sparcv9]
19802 (__INO_T_MATCHES_INO64_T): New macro.
19803 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19804 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19805 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19806 * sysdeps/unix/sysv/linux/bits/dirent.h
19807 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19808 (_DIRENT_MATCHES_DIRENT64): New macro.
19810 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19811 Define lockf64 as an alias.
19812 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19813 Define fseeko64 as an alias.
19814 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19815 Define ftello64 as an alias.
19816 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19817 Define _IO_fgetpos64 and fgetpos64 as aliases.
19818 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19819 Define _IO_fsetpos64 and fsetpos64 as aliases.
19820 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19821 Conditionalize body on this.
19822 * libio/fseeko64.c: Likewise.
19823 * libio/ftello64.c: Likewise.
19824 * libio/iofgetpos64.c: Likewise.
19825 * libio/iofsetpos64.c: Likewise.
19826 * sysdeps/wordsize-64/lockf.c: File removed.
19827 * sysdeps/wordsize-64/lockf64.c: File removed.
19828 * sysdeps/wordsize-64/fseeko.c: File removed.
19829 * sysdeps/wordsize-64/fseeko64.c: File removed.
19830 * sysdeps/wordsize-64/ftello.c: File removed.
19831 * sysdeps/wordsize-64/ftello64.c: File removed.
19832 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19833 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19834 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19835 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19839 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19841 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19843 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19844 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19847 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19849 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19851 [defined __arch64__ || defined __sparcv9]
19852 (__OFF_T_MATCHES_OFF64_T): New macro.
19853 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19854 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19855 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19856 (__OFF_T_MATCHES_OFF64_T): New macro.
19858 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19860 * stdlib/secure-getenv.c (__secure_getenv): Replace
19861 GLIBC_2_16 with GLIBC_2_17.
19863 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19865 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19868 2012-08-03 David S. Miller <davem@davemloft.net>
19870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19872 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19874 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19876 (__ASSUME_CORRECT_SI_PID): Likewise.
19877 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19878 (__ASSUME_TMPFS_NAME): Likewise.
19879 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19880 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19881 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19882 (HAVE_AUX_SECURE): Make definition unconditional.
19883 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19884 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19886 2012-08-03 Roland McGrath <roland@hack.frob.com>
19888 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19889 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19890 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19891 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19892 __eloop_threshold instead of SYMLOOP_MAX.
19894 * sysdeps/generic/eloop-threshold.h: New file.
19895 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19897 * elf/chroot_canon.c (chroot_canon): Likewise.
19899 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19903 Change to 2.6.0 everywhere.
19904 * sysdeps/unix/sysv/linux/configure: Regenerated.
19905 * sysdeps/unix/sysv/linux/kernel-features.h
19906 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19907 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19909 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19910 (__ASSUME_FUTEX_REQUEUE): Remove.
19911 (__ASSUME_STATFS64): Define unconditionally.
19912 (__ASSUME_AT_SECURE): Likewise.
19913 (__ASSUME_CORRECT_SI_PID): Likewise.
19914 (__ASSUME_TGKILL): Define without depending on kernel version for
19916 (__ASSUME_UTIMES): Likewise.
19917 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19919 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19920 (__ASSUME_TMPFS_NAME): Likewise.
19921 * README: Update reference to Linux kernel versions.
19923 2012-08-02 Marek Polacek <polacek@redhat.com>
19926 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19927 libc_cv_asm_type_prefix with %.
19928 * configure: Regenerated.
19929 * include/libc-symbols.h: Remove comment about
19930 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19931 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19932 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19933 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19934 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19935 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19936 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19937 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19938 * elf/tst-unique2mod1.c: Likewise.
19939 * elf/tst-unique1mod2.c: Likewise.
19940 * elf/tst-unique1mod1.c: Likewise.
19941 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19942 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19943 Replace ASM_TYPE_DIRECTIVE with .type.
19944 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19945 * sysdeps/i386/sysdep.h: Likewise.
19946 * sysdeps/x86_64/sysdep.h: Likewise.
19947 * sysdeps/sh/sysdep.h: Likewise.
19948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19949 Do not define ASM_TYPE_DIRECTIVE.
19950 * sysdeps/powerpc/sysdep.h: Likewise.
19951 * sysdeps/powerpc/powerpc32/sysdep.h:
19952 Replace ASM_TYPE_DIRECTIVE with .type.
19953 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19954 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19955 * sysdeps/i386/fpu/e_powf.S: Likewise.
19956 * sysdeps/i386/fpu/e_expl.S: Likewise.
19957 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19959 * sysdeps/i386/fpu/e_pow.S: Likewise.
19960 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19961 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19962 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19963 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19964 * sysdeps/i386/fpu/e_log2.S: Likewise.
19965 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19967 * sysdeps/i386/fpu/e_powl.S: Likewise.
19968 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19969 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19970 * sysdeps/i386/fpu/e_logl.S: Likewise.
19971 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19972 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19973 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19974 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19975 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19976 * sysdeps/i386/fpu/e_log.S: Likewise.
19977 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19978 * sysdeps/i386/fpu/e_logf.S: Likewise.
19979 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19980 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19981 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19982 * sysdeps/i386/fpu/e_log10.S: Likewise.
19983 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19984 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19985 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19986 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19987 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19988 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19989 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19990 * sysdeps/i386/i686/strtok.S: Likewise.
19991 * sysdeps/i386/i386-mcount.S: Likewise.
19992 * sysdeps/i386/strtok.S: Likewise.
19993 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19994 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19996 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19997 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19998 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19999 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20000 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20001 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20002 * sysdeps/x86_64/_mcount.S: Likewise.
20003 * sysdeps/x86_64/strtok.S: Likewise.
20004 * sysdeps/sh/_mcount.S: Likewise.
20006 2012-08-01 Roland McGrath <roland@hack.frob.com>
20008 * libio/iofopen.c: Include <fcntl.h>.
20009 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20010 (_IO_fopen64, fopen64): Define as aliases.
20011 * libio/iofopen64.c: Include <fcntl.h>.
20012 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20013 Conditionalize body on this.
20014 * sysdeps/wordsize-64/iofopen.c: File removed.
20015 * sysdeps/wordsize-64/iofopen64.c: File removed.
20017 2012-08-01 Marek Polacek <polacek@redhat.com>
20019 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20020 Use dlfcn directly instead of a variable.
20021 (binfmt-subdir): Do not define.
20024 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20026 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20027 Remove all definitions.
20028 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20029 <kernel-features.h>.
20030 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20031 (miss_F_GETOWN_EX): Remove all definitions.
20032 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20034 [!__ASSUME_FCNTL64]: Remove conditional code.
20035 [__ASSUME_FCNTL64]: Make code unconditional.
20036 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20037 <kernel-features.h>.
20038 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20039 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20040 (lockf64) [__NR_fcntl64]: Make code unconditional.
20041 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20043 * sysdeps/unix/sysv/linux/kernel-features.h
20044 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20045 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20046 Make code unconditional.
20047 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20048 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20050 [__NR_vfork]: Make code unconditional.
20051 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20052 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20054 [__NR_vfork]: Make code unconditional.
20055 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20056 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20058 2012-08-01 Roland McGrath <roland@hack.frob.com>
20060 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20061 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20063 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20064 Define mkstemp64 as an alias.
20065 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20066 Define mkstemps64 as an alias.
20067 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20068 Define mkostemp64 as an alias.
20069 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20070 Define mkostemps64 as an alias.
20071 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20072 Conditionalize body on this.
20073 * misc/mkostemp64.c: Likewise.
20074 * misc/mkostemps64.c: Likewise.
20075 * misc/mkstemps64.c: Likewise.
20076 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20077 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20078 * sysdeps/wordsize-64/mkostemp.c: File removed.
20079 * sysdeps/wordsize-64/mkstemp.c: File removed.
20080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20081 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20086 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20087 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20088 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20089 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20091 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20092 compat_symbol macros from <shlib-compat.h> rather than the underlying
20093 default_symbol_version and symbol_version macros, so that DEFAULT
20094 lines in shlib-versions are respected.
20095 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20097 2012-08-01 Florian Weimer <fweimer@redhat.com>
20099 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20100 Declare with warn_unused_result.
20101 (setgid, setregid, setegid, setresgid): Likewise.
20102 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20104 * WUR-REPORT: Remove set*id functions.
20106 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20108 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20110 2012-07-31 Roland McGrath <roland@hack.frob.com>
20113 * include/sys/socket.h (__libc_accept, __libc_accept4):
20114 Add attribute_hidden.
20115 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20117 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20119 * inet/getnetgrent_r.c (setup): Likewise.
20121 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20123 2012-07-31 David S. Miller <davem@davemloft.net>
20125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20127 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20130 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20131 value between 1.0 and 2.0 and smaller part has absolute value less
20133 * math/s_clog10.c (__clog10): Likewise.
20134 * math/s_clog10f.c (__clog10f): Likewise.
20135 * math/s_clog10l.c (__clog10l): Likewise.
20136 * math/s_clogf.c (__clogf): Likewise.
20137 * math/s_clogl.c (__clogl): Likewise.
20138 * math/libm-test.inc (clog_test): Add more tests.
20139 (clog10_test): Likewise.
20140 * sysdeps/i386/fpu/libm-test-ulps: Update.
20141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20143 2012-07-31 Florian Weimer <fweimer@redhat.com>
20145 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20146 Exit with zero in case no suitable GID is found, and write a
20147 message to standard error.
20149 2012-07-30 Roland McGrath <roland@hack.frob.com>
20151 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20153 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20154 (MAXPATHLEN): Removed.
20155 (NOGROUP, NODEV): New macros.
20156 (setbit, clrbit, isset, isclr): New macros.
20157 (howmany, roundup, powerof2): New macros.
20158 (DEV_BSIZE): New macro.
20160 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20161 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20163 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20164 definition on [!__NO_LONG_DOUBLE_MATH].
20166 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20167 PTR_MANGLE and PTR_DEMANGLE.
20169 * socket/accept4.c (accept4): Rename to __libc_accept4.
20170 Define accept4 as a weak alias.
20172 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20173 on [_DIRENT_HAVE_D_TYPE].
20174 * io/ftw.c (ftw_dir): Likewise.
20176 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20178 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20180 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20181 Use the BSD numbers rather than the arbitrary ones we had.
20182 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20183 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20184 (SIGXCPU, SIGXFSZ): New macros.
20187 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20188 initializer on [_LIBC_REENTRANT].
20190 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20191 definitions inside [_POSIX_MAPPED_FILES].
20193 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20195 * dirent/opendir.c: Include <fcntl.h>.
20197 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20198 (__libc_getspecific): Likewise.
20199 (__libc_key_create): Likewise.
20201 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20202 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20203 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20204 (tmpfile64): Define as alias.
20205 * sysdeps/wordsize-64/tmpfile.c: File removed.
20206 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20207 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20208 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20210 * stdio-common/vfscanf.c: Include <stdbool.h>.
20211 * nss/makedb.c: Likewise.
20212 * stdio-common/_i18n_number.h: Likewise.
20213 * argp/argp-help.c: Likewise.
20214 * posix/wordexp.c: Likewise.
20215 * sysdeps/posix/spawni.c: Likewise.
20216 * nss/nss_files/files-initgroups.c: Likewise.
20217 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20218 * nss/nss_files/files-initgroups.c: Likewise.
20219 * nss/nss_db/db-netgrp.c: Likewise.
20220 * nss/nss_db/db-initgroups.c: Likewise.
20221 * io/fchmodat.c: Include <sys/stat.h>.
20223 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20224 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20226 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20229 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20230 Add multiple inclusion protection.
20232 2012-07-27 David S. Miller <davem@davemloft.net>
20234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20236 2012-07-27 Gary Benson <gbenson@redhat.com>
20239 * elf/rtld.c: Include <stap-probe.h>.
20240 (dl_main): Added static probes "init_start" and "init_complete".
20241 * elf/dl-load.c: Include <stap-probe.h>.
20242 (lose): Take new parameter "nsid".
20243 Added static probe "map_failed".
20244 (_dl_map_object_from_fd): Pass namespace id to lose.
20245 Added static probe "map_start".
20246 (open_verify): Pass namespace id to lose.
20247 * elf/dl-open.c: Include <stap-probe.h>.
20248 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20249 and "reloc_complete".
20250 * elf/dl-close.c: Include <stap-probe.h>.
20251 (_dl_close_worker): Added static probes "unmap_start" and
20253 * elf/rtld-debugger-interface.txt: New file documenting the above.
20255 2012-07-26 Roland McGrath <roland@hack.frob.com>
20257 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20258 rather than a string variable.
20259 * sunrpc/rpc_main.c (h_output): Likewise.
20260 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20262 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20264 * inet/check_native.c: New file.
20266 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20269 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20270 if larger part has absolute value 1.0.
20271 * math/s_clog10.c (__clog10): Likewise.
20272 * math/s_clog10f.c (__clog10f): Likewise.
20273 * math/s_clog10l.c (__clog10l): Likewise.
20274 * math/s_clogf.c (__clogf): Likewise.
20275 * math/s_clogl.c (__clogl): Likewise.
20276 * math/libm-test.inc (clog_test): Add more tests.
20277 (clog10_test): Likewise.
20278 * sysdeps/i386/fpu/libm-test-ulps: Update.
20279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20281 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20282 (pltexit): Likewise.
20283 (La_regs): Likewise.
20284 (La_retval): Likewise.
20285 (int_retval): Likewise.
20286 Update #error for removed macros to refer only to definitions in
20288 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20290 (pltexit): Likewise.
20291 (La_regs): Likewise.
20292 (La_retval): Likewise.
20293 (int_retval): Likewise.
20294 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20296 (pltexit): Likewise.
20297 (La_regs): Likewise.
20298 (La_retval): Likewise.
20299 (int_retval): Likewise.
20300 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20302 (pltexit): Likewise.
20303 (La_regs): Likewise.
20304 (La_retval): Likewise.
20305 (int_retval): Likewise.
20306 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20308 (pltexit): Likewise.
20309 (La_regs): Likewise.
20310 (La_retval): Likewise.
20311 (int_retval): Likewise.
20312 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20314 (pltexit): Likewise.
20315 (La_regs): Likewise.
20316 (La_retval): Likewise.
20317 (int_retval): Likewise.
20318 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20320 (pltexit): Likewise.
20321 (La_regs): Likewise.
20322 (La_retval): Likewise.
20323 (int_retval): Likewise.
20324 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20325 macro definitions in tst-audit.h.
20326 * sysdeps/i386/tst-audit.h: New file.
20327 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20328 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20329 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20330 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20331 * sysdeps/sh/tst-audit.h: Likewise.
20332 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20333 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20334 * sysdeps/x86_64/tst-audit.h: Likewise.
20336 2012-07-26 Andreas Jaeger <aj@suse.de>
20338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20341 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20342 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20343 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20345 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20346 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20347 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20349 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20352 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20354 (si_call_addr, si_syscall, si_arch): Define new macro.
20355 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20357 (si_call_addr, si_syscall, si_arch): Define new marcro.
20358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20360 (si_call_addr, si_syscall, si_arch): Define new macro.
20361 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20363 (si_call_addr, si_syscall, si_arch): Define new macro.
20365 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20369 Change to 2.4.21 where previously 2.4.1.
20370 * sysdeps/unix/sysv/linux/configure: Regenerated.
20371 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20372 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20373 Linux kernel version.
20374 (__ASSUME_STD_AUXV): Remove.
20375 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20377 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20378 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20379 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20380 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20381 (__ASSUME_NETLINK_SUPPORT): Likewise.
20382 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20383 (__no_netlink_support): Remove conditional definition.
20384 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20386 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20387 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20388 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20389 (if_nameindex_ioctl): Remove.
20390 (if_nameindex_netlink): Do not handle __no_netlink_support.
20391 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20393 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20394 Remove conditional code.
20395 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20397 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20399 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20400 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20401 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20403 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20404 [!__ASSUME_STD_AUXV]: Remove conditional code.
20405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20406 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20407 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20409 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20410 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20412 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20414 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20415 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20417 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20419 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20422 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20425 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20426 code unconditional.
20427 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20429 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20431 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20434 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20436 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20439 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20440 code unconditional.
20441 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20443 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20445 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20448 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20449 code unconditional.
20450 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20452 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20454 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20457 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20459 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20460 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20461 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20462 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20463 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20464 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20465 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20466 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20467 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20468 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20469 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20470 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20471 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20472 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20473 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20474 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20475 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20476 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20477 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20479 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20480 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20481 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20483 2012-07-25 Florian Weimer <fweimer@redhat.com>
20485 * Versions.def: Add GLIBC_2.17.
20486 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20487 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20488 Introduce __libc_secure_getenv.
20489 * stdlib/Versions (2.17): Add secure_getenv
20490 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20491 * stdlib/secure-getenv.c: Rename __secure_getenv to
20492 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20493 symbol __secure_getenv for GLIBC_2.0.
20494 * stdlib/tst-secure-getenv.c: New.
20495 * stdlib/Makefile (tests): Add testcase.
20496 * manual/startup.texi (Environment Access): Document
20498 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20499 __libc_secure_getenv.
20500 * inet/ruserpass.c (ruserpass): Likewise.
20501 * malloc/mtrace.c (mtrace): Likewise.
20502 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20503 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20504 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20505 * sysdeps/posix/tempname.c: Likewise. Evaluate
20506 HAVE_SECURE_GETENV.
20507 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20508 __secure_getenv to __libc_secure_getenv.
20509 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20522 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20524 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20525 (struct La_i86_retval): Likewise.
20526 (struct La_x86_64_regs): Likewise.
20527 (struct La_x86_64_retval): Likewise.
20528 (struct La_x32_regs): Likewise.
20529 (struct La_x32_retval): Likewise.
20530 (struct La_ppc32_regs): Likewise.
20531 (struct La_ppc32_retval): Likewise.
20532 (struct La_ppc64_regs): Likewise.
20533 (struct La_ppc64_retval): Likewise.
20534 (struct La_sh_regs): Likewise.
20535 (struct La_sh_retval): Likewise.
20536 (struct La_s390_32_regs): Likewise.
20537 (struct La_s390_32_retval): Likewise.
20538 (struct La_s390_64_regs): Likewise.
20539 (struct La_s390_64_retval): Likewise.
20540 (struct La_sparc32_regs): Likewise.
20541 (struct La_sparc32_retval): Likewise.
20542 (struct La_sparc64_regs): Likewise.
20543 (struct La_sparc64_retval): Likewise.
20544 (struct audit_ifaces): Remove architecture-specific pltenter and
20546 * sysdeps/i386/ldsodefs.h: New file.
20547 * sysdeps/powerpc/ldsodefs.h: Likewise.
20548 * sysdeps/s390/ldsodefs.h: Likewise.
20549 * sysdeps/sh/ldsodefs.h: Likewise.
20550 * sysdeps/sparc/ldsodefs.h: Likewise.
20551 * sysdeps/x86_64/ldsodefs.h: Likewise.
20553 2012-07-25 Marek Polacek <polacek@redhat.com>
20556 * math/libm-test.inc (yn_test): Add another test.
20557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20558 to ERANGE when the result is +-Inf.
20559 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20560 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20561 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20562 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20564 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20566 * conform/data/time.h-data (NULL): Use macro-constant. Require
20568 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20570 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20572 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20574 * configure.in <sysdeps resolving>: Correct printing
20576 * configure: Regenerate.
20578 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20580 * math/w_ilogb.c: Include <limits.h>.
20581 * math/w_ilogbl.c: Likewise.
20583 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20585 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20586 va_copy. Document allowing for unavailable va_copy only as
20587 pre-C99 compatibility.
20588 * manual/string.texi (Copying and Concatenation): Use va_copy
20589 instead of __va_copy in concat example.
20591 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20593 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20594 (__sendto): Use create_address_port. Initialize APORT and deallocate
20597 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20598 with O_NOLINK passed to __file_name_lookup.
20600 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20601 with O_NOLINK passed to __file_name_lookup.
20603 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20604 negative N or less than NGIDS.
20606 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20607 type to string_t. Set ERANGE as errno and return it if NAME is not big
20608 enough. Use memcpy instead of strncpy.
20610 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20612 * elf/Makefile (check-data): Remove.
20613 (localplt.data): New vpath directive.
20614 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20615 instead of $(check-data).
20616 * scripts/data/localplt-generic.data: Move to ...
20617 * sysdeps/generic/localplt.data: ... here.
20618 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20619 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20620 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20623 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20626 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20629 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20632 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20635 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20639 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20641 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20642 PPC32 and PPC64 files.
20643 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20644 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20646 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20648 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20649 __makecontext_ret to ...
20650 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20651 ... here and call exit if uc_link is NULL. New file.
20652 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20653 __makecontext_ret.S.
20654 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20655 __makecontext_ret to ...
20656 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20657 ... here and call exit if uc_link is NULL. New file.
20658 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20659 __makecontext_ret.S.
20661 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20663 * elf/elf.h (R_390_IRELATIVE): New definition.
20664 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20665 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20666 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20667 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20668 (elf_machine_lazy_rel): Likewise.
20669 * sysdeps/s390/dl-irel.h: New file.
20670 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20671 * sysdeps/s390/s390-64/memset.S: New asm code.
20672 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20673 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20675 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20676 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20677 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20678 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20679 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20680 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20681 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20682 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20683 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20684 * sysdeps/s390/s390-32/memset.S: New asm code.
20685 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20687 2012-07-17 Marek Polacek <polacek@redhat.com>
20690 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20691 * sysdeps/s390/s390-64/configure.in: Likewise.
20692 * sysdeps/sparc/configure.in: Likewise.
20693 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20694 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20695 * sysdeps/i386/configure.in: Likewise.
20696 * sysdeps/x86_64/configure.in: Likewise.
20697 * sysdeps/sh/configure.in: Likewise.
20698 * sysdeps/s390/s390-32/configure: Regenerated.
20699 * sysdeps/s390/s390-64/configure: Likewise.
20700 * sysdeps/x86_64/configure: Likewise.
20701 * sysdeps/sh/configure: Likewise.
20702 * sysdeps/powerpc/powerpc64/configure: Likewise.
20703 * sysdeps/powerpc/powerpc32/configure: Likewise.
20704 * sysdeps/sparc/configure: Likwise.
20705 * sysdeps/i386/configure: Likewise.
20707 * elf/dl-open.c: Comment fixes.
20709 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20711 * Makefile [CXX] (check-data): Remove.
20712 [CXX] (c++-types.data): New vpath directive.
20713 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20714 vpath. Do not allow for C++ type data being missing.
20715 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20716 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20717 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20718 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20719 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20720 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20721 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20724 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20727 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20730 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20733 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20736 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20739 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20742 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20745 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20746 definitions to architecture-specific files.
20747 (TLS_IE): Likewise.
20748 (TLS_LD): Likewise.
20749 (TLS_GD): Likewise.
20750 * sysdeps/i386/tls-macros.h: New file.
20751 * sysdeps/powerpc/tls-macros.h: Likewise.
20752 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20753 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20754 * sysdeps/sh/tls-macros.h: Likewise.
20755 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20756 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20757 * sysdeps/x86_64/tls-macros.h: Likewise.
20759 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20761 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20762 zero value for regular exit case.
20764 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20765 (__start_context): Preserve zero value for regular exit case.
20767 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20768 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20770 * manual/setjmp.texi (setcontext): Clarify normal process
20771 termination when uc_link is the null pointer.
20772 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20775 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20777 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20778 preprocessor. Test for each exception mask separately.
20780 2012-07-16 Andreas Jaeger <aj@suse.de>
20782 * po/ru.po: Update from translation team.
20784 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20786 * conform/data/string.h-data (NULL): Use macro-constant. Require
20788 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20789 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20790 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20791 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20792 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20794 2012-07-13 Andreas Jaeger <aj@suse.de>
20796 * po/fr.po: Update from translation team.
20798 2012-07-12 Marek Polacek <polacek@redhat.com>
20801 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20802 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20805 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20809 Change to 2.4.1 where previously 2.4.0.
20810 * sysdeps/unix/sysv/linux/configure: Regenerated.
20811 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20812 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20814 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20815 (__ASSUME_AT_CLKTCK): Remove.
20816 (__ASSUME_AT_PAGESIZE): Likewise.
20817 (__ASSUME_AT_XID): Likewise.
20818 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20819 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20820 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20822 (HAVE_AUX_PAGESIZE): Likewise.
20823 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20824 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20825 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20827 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20831 the temporary buffer used to invoke __gethostbyname2_r,
20832 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20833 host_data / struct gaih_addrtuple.
20834 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20835 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20836 header file nss/nsswitch.h.
20837 * nss/nsswitch.h (global scope): Add definition of implementation
20838 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20839 resolv/nss_dns/dns-host.c).
20841 2012-07-11 Andreas Jaeger <aj@suse.de>
20843 * po/fr.po: Update from translation team.
20845 * po/sv.po: Update from translation team
20846 * po/fr.po: Another update from translation team.
20848 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20850 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20851 for subnormals or multiply small sinh result by itself.
20852 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20855 2012-07-11 David S. Miller <davem@davemloft.net>
20857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20859 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20862 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20863 (INTERNAL_MARK): Shift it here.
20865 2012-07-10 Marek Polacek <polacek@redhat.com>
20868 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20869 libc_cv_asm_global_directive with .globl.
20870 * configure: Regenerated.
20871 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20873 * sysdeps/i386/configure: Regenerated.
20874 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20876 * sysdeps/x86_64/configure: Regenerated.
20877 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20878 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20879 * elf/tst-unique2mod2.c: Likewise.
20880 * elf/tst-unique2mod1.c: Likewise.
20881 * elf/tst-unique1mod2.c: Likewise.
20882 * elf/tst-unique1mod1.c: Likewise.
20883 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20884 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20886 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20887 * sysdeps/mach/sysdep.h: Likewise.
20888 * sysdeps/i386/sysdep.h: Likewise.
20889 * sysdeps/i386/i386-mcount.S: Likewise.
20890 * sysdeps/x86_64/_mcount.S: Likewise.
20891 * sysdeps/x86_64/sysdep.h: Likewise.
20892 * sysdeps/sh/_mcount.S: Likewise.
20893 * sysdeps/sh/sysdep.h: Likewise.
20894 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20895 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20896 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20897 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20898 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20899 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20900 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20901 * locale/localeinfo.h: Likewise.
20902 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20903 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20905 2012-07-09 Roland McGrath <roland@hack.frob.com>
20908 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20910 * manual/message.texi (The Uniforum approach): Likewise.
20911 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20912 (glibc iconv Implementation): Likewise.
20914 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20917 * math/s_clog.c (__clog): Avoid scaling a value down where that
20918 could result in underflow.
20919 * math/s_clog10.c (__clog10): Likewise.
20920 * math/s_clog10f.c (__clog10f): Likewise.
20921 * math/s_clog10l.c (__clog10l): Likewise.
20922 * math/s_clogf.c (__clogf): Likewise.
20923 * math/s_clogl.c (__clogl): Likewise.
20924 * math/libm-test.inc (clog_test): Add more tests.
20925 (clog10_test): Likewise.
20926 * sysdeps/i386/fpu/libm-test-ulps: Update.
20927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20929 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20932 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20933 by 7 not 8 to examine high bit of fractional part.
20936 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20937 for call to __mcount_internal.
20938 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20939 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20940 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20942 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20945 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20946 approximation for values within 0x1p-13f of an odd multiple of
20948 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20949 exception. Add more tests.
20950 * sysdeps/i386/fpu/libm-test-ulps: Update.
20953 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20954 inputs and return -1 for them. Do not check for +Inf in case not
20955 reachable for +Inf.
20956 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20957 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20958 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20959 and return -1 for them. Do not check for +Inf in case not
20960 reachable for +Inf.
20961 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20963 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20964 and return -1 for them. Do not check for +Inf in case not
20965 reachable for +Inf.
20966 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20967 spurious underflow.
20968 * sysdeps/i386/fpu/libm-test-ulps: Update.
20969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20971 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20973 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20975 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20979 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20980 could result in spurious underflow. Scale down values above
20981 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20982 * math/s_csqrtf.c (__csqrtf): Likewise.
20983 * math/s_csqrtl.c (__csqrtl): Likewise.
20984 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20985 spurious underflow.
20986 * sysdeps/i386/fpu/libm-test-ulps: Update.
20987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20989 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20991 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20993 * catgets/xopen-msg.awk: New file.
20994 * catgets/xopen-msg.sed: Removed.
20996 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20998 * intl/po2test.awk: New file.
20999 * intl/po2test.sed: Removed.
21001 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21004 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21005 or multiply small sinh result by itself.
21006 * math/s_ctanf.c (__ctanf): Likewise.
21007 * math/s_ctanh.c (__ctanh): Likewise.
21008 * math/s_ctanhf.c (__ctanhf): Likewise.
21009 * math/s_ctanhl.c (__ctanhl): Likewise.
21010 * math/s_ctanl.c (__ctanl): Likewise.
21011 * math/libm-test.inc (ctan_test_tonearest): New function.
21012 (ctan_test_towardzero): Likewise.
21013 (ctan_test_downward): Likewise.
21014 (ctan_test_upward): Likewise.
21015 (ctanh_test_tonearest): Likewise.
21016 (ctanh_test_towardzero): Likewise.
21017 (ctanh_test_downward): Likewise.
21018 (ctanh_test_upward): Likewise.
21019 (main): Call these new functions.
21020 * sysdeps/i386/fpu/libm-test-ulps: Update.
21021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21023 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21025 * .gitignore: Delete /ports entry.
21027 2012-07-03 Andreas Jaeger <aj@suse.de>
21029 * po/bg.po: Update from translation team.
21030 * po/cs.po: Likewise.
21031 * po/de.po: Likewise.
21032 * po/hr.po: Likewise.
21033 * po/nl.pl: Likewise.
21034 * po/pl.po: Likewise.
21035 * po/vi.po: Likewise.
21037 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21039 * Makeconfig [!+link] (+link-before-libc): New variable.
21040 [!+link] (+link-after-libc): Likewise.
21041 [!+link] (+link-tests): Likewise.
21042 [!+link] (+link): Define in terms of $(+link-before-libc) and
21043 $(+link-after-libc).
21044 [!+link-static] (+link-static-before-libc): New variable.
21045 [!+link-static] (+link-static-after-libc): Likewise.
21046 [!+link-static] (+link-static-tests): Likewise.
21047 [!+link-static] (+link-static): Define in terms of
21048 $(+link-static-before-libc) and $(+link-static-after-libc).
21049 [build-shared] (link-libc-before-gnulib): New variable.
21050 [build-shared] (link-libc-tests): Likewise.
21051 [build-shared] (link-libc): Define in terms of
21052 $(link-libc-before-gnulib).
21053 [!build-shared] (link-libc-tests): New variable.
21054 (link-libc-static-tests): New variable.
21055 [!gnulib] (gnulib-arch): New variable.
21056 [!gnulib] (gnulib-tests): Likewise.
21057 [!gnulib] (static-gnulib-arch): Likewise.
21058 [!gnulib] (static-gnulib-tests): Likewise.
21059 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21060 Define with "=" instead of ":=".
21061 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21062 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21063 * Rules (binaries-all-notests): New variable.
21064 (binaries-all-tests): Likewise.
21065 (binaries-static-notests): Likewise.
21066 (binaries-static-tests): Likewise.
21067 (binaries-all): Define using $(binaries-all-notests) and
21068 $(binaries-all-tests).
21069 (binaries-static): Define using $(binaries-static-notests) and
21070 $(binaries-static-tests).
21071 (binaries-shared-tests): New variable.
21072 (binaries-shared-notests): Likewise.
21073 (binaries-shared): Remove variable.
21074 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21075 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21076 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21077 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21078 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21079 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21080 * elf/Makefile (sln-modules): New variable.
21081 (extra-objs): Add $(sln-modules:=.o).
21082 (ldconfig-modules): Add static-stubs.
21083 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21084 * elf/static-stubs.c: New file.
21087 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21088 by 7 not 8 to examine high bit of fractional part. Use volatile
21089 variables when splitting into final array of floats if
21090 __FLT_EVAL_METHOD__ != 0.
21091 * math/libm-test.inc (cos_test): Add another test.
21092 (sin_test): Likewise.
21093 * sysdeps/i386/fpu/libm-test-ulps: Update.
21096 * math/libm-test.inc (cosh_test): Add more tests.
21098 * version.h (RELEASE): Set to "development".
21099 (VERSION): Set to "2.16.90".
21101 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21103 * NEWS: Update copyright. Remove last-updated date.
21104 Mention math library bug fixes and timezone data changes.
21105 * README: Mention GNU/Hurd, x32, and HPPA support status.
21107 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21109 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21111 2012-06-27 Andreas Jaeger <aj@suse.de>
21113 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21115 2012-06-25 Andreas Jaeger <aj@suse.de>
21117 * sysdeps/s390/fpu/libm-test-ulps: Update.
21119 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21120 Thomas Schwinge <thomas@codesourcery.com>
21122 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21123 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21124 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21127 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21129 * sysdeps/mach/start.c: Remove file.
21130 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21131 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21132 * sysdeps/sh/init-first.c: Likewise.
21134 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21135 registers for frame unwinding purposes, add CFI directives.
21136 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21137 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21138 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21141 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21142 __fortify_fail returning.
21143 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21145 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21146 sysdeps/sh/____longjmp_chk.S.
21147 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21148 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21149 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21150 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21152 * sysdeps/sh/abort-instr.h: New file.
21153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21154 process in case exit returns.
21156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21157 initialize the GOT register before use.
21159 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21160 calculation of ARGC > 4.
21162 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21163 meaningful names to some local labels.
21165 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21166 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21168 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21169 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21170 (__arch_compare_and_exchange_val_16_acq): Likewise.
21171 (__arch_compare_and_exchange_val_32_acq): Likewise.
21172 (atomic_exchange_and_add): Fix gUSA sequence.
21173 (atomic_add): Likewise.
21174 (atomic_add_negative): Likewise.
21175 (atomic_add_zero): Likewise.
21176 (atomic_bit_test_set): Likewise.
21178 2012-06-22 Andreas Schwab <schwab@redhat.com>
21181 * include/link.h (struct link_map): Add l_free_initfini.
21182 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21184 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21185 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21186 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21189 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21191 * configure.in: Use AC_LANG_SOURCE.
21192 * configure: Regenerate.
21194 2012-06-22 Roland McGrath <roland@hack.frob.com>
21196 * configure.in (libc_cv_localstatedir): New substituted variable.
21197 * configure: Regenerated.
21198 * config.make.in (localstatedir): New variable, substituted from
21199 libc_cv_localstatedir.
21200 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21201 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21202 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21203 * sysdeps/gnu/configure: Regenerated.
21205 2012-06-21 Jeff Law <law@redhat.com>
21208 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21209 free. Simplify list management for _LIBC case.
21211 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21214 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21215 Clear sign bit of 64-bit integer value before comparing against
21218 * sysdeps/mach/configure: Regenerated.
21220 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21223 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21225 2012-06-21 Jeff Law <law@redhat.com>
21228 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21229 uint16_t for elements in the "seen" array to avoid char overflows.
21230 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21231 * elf/dl-open.c (dl_open_worker): Likewise.
21233 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21235 * scripts/list-sources.sh: Scan PORTS for translations.
21236 * po/libc.pot: Regenerated.
21238 2012-06-21 Andreas Jaeger <aj@suse.de>
21241 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21243 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21244 * bits/byteswap-16.h (__bswap_16): Likewise.
21245 * bits/byteswap.h (__bswap_constant_16): Likewise.
21247 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21250 * sysdeps/i386/fpu_control.h: Removed.
21251 * sysdeps/x86_64/fpu_control.h: Moved to ...
21252 * sysdeps/x86/fpu_control.h: Here.
21254 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21255 (_FPU_SETCW): Likewise.
21257 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21260 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21261 * sysdeps/x86/fpu/bits/mathinline.h: This.
21262 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21266 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21267 functions if __x86_64__ is defined.
21269 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21271 * string/endian.h: Add !__ASSEMBLER__ condition for including
21272 conversion interfaces.
21274 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21278 of ABS(x) in calculating zero to negative powers other than odd
21280 * math/libm-test.inc (pow_test): Add more tests.
21282 2012-06-15 Andreas Jaeger <aj@suse.de>
21284 * manual/contrib.texi (Contributors): Update entry of Liubov
21285 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21288 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21290 * string/string.h: Add __wur to GNU version of strerror_r.
21292 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21295 * string/Makefile (tests): Add tst-strtok_r.
21296 * string/tst-strtok_r.c: New file.
21297 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21298 RAX_LP/RDX_LP on SAVE_PTR.
21300 2012-06-14 Roland McGrath <roland@hack.frob.com>
21302 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21304 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21306 * libm_test.inc (csqrt_test): Allow more spurious underflow
21308 (j0_test): Likewise.
21309 (j1_test): Likewise.
21310 (y0_test): Likewise.
21311 (y1_test): Likewise.
21313 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21315 * po/Makefile (libc.pot): Use UTF-8 charset.
21317 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21320 Suppress sign-conversion warning from FD_SET.
21321 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21322 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21323 not unsigned long int.
21324 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21326 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21330 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21331 __extern_always_inline instead of __extern_inline.
21332 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21333 (__signbit): Likewise.
21334 (__signbitl): Support C++ namespace.
21335 (lrintf): New inline function.
21337 (llrintf): Likewise.
21338 (llrint): Likewise.
21348 (floorf): Likewise.
21349 (nearbyint): Likewise.
21350 (nearbyintf): Likewise.
21352 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21355 non-default versions.
21357 2012-06-11 Roland McGrath <roland@hack.frob.com>
21360 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21362 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21364 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21365 (FE_UPWARD, FE_DOWNWARD): Don't define.
21366 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21369 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21371 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21372 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21374 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21376 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21378 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21379 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21381 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21384 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21385 * sysdeps/i386/fpu/Implies: New file.
21386 * sysdeps/x86_64/fpu/Implies: Likewise.
21387 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21388 * sysdeps/x86/fpu/bits/fenv.h: This.
21390 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21393 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21396 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21397 character 0xffff that matches the last element of the
21400 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21402 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21405 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21408 values higher than 25.6283.
21410 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21413 subnormal exponent extraction and add some __builtin_expect.
21414 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21415 Fix for subnormal mantissa calculation.
21417 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21419 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21420 cpu2 is -1 and errno is not ENOSYS.
21422 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21425 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21426 * sysdeps/x86/bits/string.h: This.
21427 * sysdeps/x86_64/bits/string.h: Removed.
21429 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21430 if not compiling for x86-64, but compiling for >= i486.
21432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21433 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21436 New macro from Linux kernel 3.4.0.
21437 (FP_XSTATE_MAGIC2): Likewise.
21438 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21439 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21440 (struct _fpx_sw_bytes): New struct.
21441 (struct _xsave_hdr): Likewise.
21442 (struct _ymmh_state): Likewise.
21443 (struct _xstate): Likewise.
21445 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21446 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21448 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21449 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21450 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21452 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21453 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21454 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21455 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21456 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21457 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21459 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21462 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21463 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21464 (sysdep_headers): Include sys/platform/ppc.h.
21465 * sysdeps/powerpc/test-gettimebase.c: Test for
21466 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21467 * manual/Makefile (appendices): Include platform.texi.
21468 * manual/contrib.texi (Contributors): Update @node pointers.
21469 * manual/maint.texi (Maintenance): Likewise.
21470 (Platform): New node.
21471 * manual/platform.texi: New file. Document the new features.
21473 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21474 Jakub Jelinek <jakub@redhat.com>
21477 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21478 where __builtin_expect is unavailable.
21480 2012-06-03 David S. Miller <davem@davemloft.net>
21482 * stdlib/longlong.h: Updated from GCC.
21484 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21487 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21488 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21491 (GLIBC_2.16): Likewise.
21493 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21495 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21497 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21500 (default-abi): New variable.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21502 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21504 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21506 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21508 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21511 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21512 definition. Document in comment.
21514 2012-06-01 David S. Miller <davem@davemloft.net>
21516 * stdlib/longlong.h: Updated from GCC.
21518 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21521 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21522 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21523 sys/debugreg.h sys/io.h here.
21524 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21525 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21527 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21528 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21529 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21530 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21531 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21532 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21534 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21535 Define only if __x86_64__ is defined.
21537 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21541 Use int64_t for variable i.
21542 * math/libm-test.inc (fmod_test): Add more tests.
21544 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21545 z computation is not scheduled after fetestexcept.
21546 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21547 Use math_force_eval instead of asm to ensure calculation scheduled
21548 before exception test.
21549 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21550 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21552 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21555 computation is not scheduled after fetestexcept.
21557 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21560 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21561 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21563 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21565 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21566 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21568 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21571 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21573 (__WCHAR_MIN): Support __WORDSIZE == 64.
21574 (__WCHAR_MAX): Likewise.
21576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21577 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21580 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21581 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21584 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21585 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21588 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21591 Defined to 1 if __x86_64__ isn't defined.
21592 (_STAT_VER_LINUX_OLD): New.
21593 (st_atime): Remove duplicate.
21594 (st_mtime): Likewise.
21595 (st_ctime): Likewise.
21597 2012-05-31 David S. Miller <davem@davemloft.net>
21599 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21602 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21604 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21608 * elf/dl-reloc.c: Include <_itoa.h>.
21609 (_dl_reloc_bad_type): Remove use of INTUSE.
21610 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21611 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21612 * stdio-common/psiginfo.c (psiginfo): Likewise.
21613 * stdio-common/psignal.c (psignal): Likewise.
21614 * string/strsignal.c (strsignal): Likewise.
21615 * include/signal.h (_sys_siglist): Declare hidden proto.
21616 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21617 INTVARDEF with libc_hidden_data_def.
21618 * stdio-common/itoa-udigits.c: Likewise.
21619 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21620 (_itoa_lower_digits_internal): Remove declaration.
21621 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21622 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21623 (_sys_sigabbrev_internal): Remove aliases.
21624 (_sys_siglist): Define hidden alias.
21626 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21631 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21634 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21635 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21637 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21638 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21639 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21640 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21642 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21644 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21645 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21646 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21648 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21656 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21658 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21660 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21661 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21662 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21663 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21664 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21665 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21667 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21668 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21670 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21671 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21673 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21675 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21677 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21678 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21680 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21682 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21683 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21684 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21686 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21688 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21690 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21692 * math/math.h (M_El): Use two more decimal places.
21693 (M_LOG2El): Likewise.
21694 (M_LOG10El): Likewise.
21695 (M_LN2l): Likewise.
21696 (M_LN10l): Likewise.
21698 (M_PI_2l): Likewise.
21699 (M_PI_4l): Likewise.
21700 (M_1_PIl): Likewise.
21701 (M_2_PIl): Likewise.
21702 (M_2_SQRTPIl): Likewise.
21703 (M_SQRT2l): Likewise.
21704 (M_SQRT1_2l): Likewise.
21706 2012-05-31 David S. Miller <davem@davemloft.net>
21708 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21709 values between float registers.
21710 * sysdeps/sparc/sparc64/memset.S: Likewise.
21711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21713 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21715 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21716 -D_FORTIFY_SOURCE=1.
21717 (CPPFLAGS-tst-longjmp_chk.c): Define.
21718 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21719 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21720 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21721 CFLAGS-tst-wchar-h.c.
21723 2012-05-31 Marek Polacek <polacek@redhat.com>
21726 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21727 __endmntent_internal): Remove declaration.
21728 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21729 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21730 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21732 2012-05-30 David S. Miller <davem@davemloft.net>
21734 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21735 (___Q_simulate_exceptions): Use real FP ops rather than writing
21737 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21740 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21743 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21744 * sysdeps/x86/bits/xtitypes.h: This.
21746 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21747 * sysdeps/x86/bits/wordsize.h: This.
21749 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21750 * sysdeps/x86/bits/huge_vall.h: This.
21752 * sysdeps/i386/bits/select.h: Removed.
21753 * sysdeps/x86_64/bits/select.h: Renamed to ...
21754 * sysdeps/x86/bits/select.h: This.
21756 * sysdeps/i386/bits/setjmp.h: Removed.
21757 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21758 * sysdeps/x86/bits/setjmp.h: This.
21760 * sysdeps/i386/bits/mathdef.h: Removed.
21761 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21762 * sysdeps/x86/bits/mathdef.h: This.
21764 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21767 * include/sys/socket.h (__connect_internal)
21768 (__libc_sa_len_internal): Remove declaration.
21769 (__connect, __libc_sa_len): Declare hidden_proto.
21770 (SA_LEN): Remove use of INTUSE.
21771 * socket/connect.c: Add libc_hidden_def.
21772 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21773 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21774 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21776 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21777 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21778 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21779 of adding _internal alias.
21781 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21784 * sysdeps/i386/bits/link.h: Removed.
21785 * sysdeps/i386/bits/linkmap.h: Likewise.
21786 * sysdeps/x86_64/bits/link.h: Renamed to ...
21787 * sysdeps/x86/bits/link.h: This.
21788 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21789 * sysdeps/x86/bits/linkmap.h: This.
21791 * sysdeps/i386/bits/endian.h: Removed.
21792 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21793 * sysdeps/x86/bits/endian.h: This.
21795 * sysdeps/i386/bits/byteswap.h: Removed.
21796 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21797 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21798 * sysdeps/x86/bits/byteswap.h: This.
21799 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21800 * sysdeps/x86/bits/byteswap-16.h: This.
21801 * sysdeps/i386/Implies: Add x86.
21802 * sysdeps/x86_64/Implies: Likewise.
21804 2012-05-30 David S. Miller <davem@davemloft.net>
21806 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21807 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21808 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21809 (FP_TRAPPING_EXCEPTIONS): Define.
21810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21811 (FP_TRAPPING_EXCEPTIONS): Define.
21812 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21813 subnormals only when inexact has been signalled or underflow
21814 exceptions are enabled.
21815 (_FP_PACK_CANONICAL): Likewise.
21817 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21820 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21821 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21823 2012-05-30 Richard Henderson <rth@twiddle.net>
21825 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21826 with #ifndef NOT_IN_libc.
21828 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21829 marked to avoid plt entry.
21831 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21834 * Makeconfig (default-abi): New macro.
21835 (abi-includes): Likewise.
21836 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21837 $(abi-$(default-abi)-lib-soname) for soname if defined.
21838 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21840 * Makefile (installed-stubs): Likewise.
21841 * include/stubs-biarch.h: Removed.
21842 * scripts/lib-names.awk: Only handle one library at a time.
21843 * scripts/soversions.awk: Remove WORDSIZE support.
21844 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21846 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21848 (syscall-list-default-condition): Likewise.
21849 (syscall-list-default-condition): Likewise.
21850 (syscall-list-includes): Likewise.
21851 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21852 syscall-list-* with abi-*. Handle undefined abi-variants.
21853 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21854 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21855 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21856 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21857 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21858 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21860 (syscall-list-32-options): Likewise.
21861 (syscall-list-32-condition): Likewise.
21862 (syscall-list-64-options): Likewise.
21863 (syscall-list-64-condition): Likewise.
21864 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21866 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21869 (abi-64-ld-soname): New macro.
21870 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21871 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21874 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21875 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21877 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21879 * sysdeps/unix/sysv/linux/kernel-features.h
21880 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21881 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21882 include <kernel-features.h>.
21883 [!__NR_ftruncate64]: Remove conditional code.
21884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21885 [__NR_ftruncate64]: Make code unconditional.
21886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21887 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21888 include <kernel-features.h>.
21889 [!__NR_ftruncate64]: Remove conditional code.
21890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21891 [__NR_ftruncate64]: Make code unconditional.
21892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21894 include <kernel-features.h>.
21895 [!__NR_ftruncate64]: Remove conditional code.
21896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21897 [__NR_ftruncate64]: Make code unconditional.
21898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21900 include <kernel-features.h>.
21901 [!__NR_ftruncate64]: Remove conditional code.
21902 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21903 [__NR_ftruncate64]: Make code unconditional.
21904 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21906 * configure.in (libc_cv_fpie): Weaken to a compile test using
21907 LIBC_TRY_CC_OPTION.
21908 * configure: Regenerated.
21910 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21925 2012-05-27 David S. Miller <davem@davemloft.net>
21927 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21929 (__Q_simulate_exceptions): Return void. Change to simulate
21930 exceptions by writing into the %fsr.
21931 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21932 (__Qp_handle_exceptions): Likewise.
21934 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21935 __Qp_handle_exceptions.
21936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21937 __Qp_handle_exceptions.
21938 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21939 as unused and give dummy FP_RND_NEAREST initializer.
21940 (FP_INHIBIT_RESULTS): Define.
21941 (___Q_simulate_exceptions): Update declaration.
21942 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21944 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21945 as unused and give dummy FP_RND_NEAREST initializer.
21946 (__Qp_handle_exceptions): Update declaration.
21947 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21950 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21952 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21953 the temporary FPU control word.
21954 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21955 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21956 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21957 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21958 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21959 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21960 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21961 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21962 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21963 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21964 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21966 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21968 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21971 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21973 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21974 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21975 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21976 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21978 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21979 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21982 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21984 * po/h.po: Update from translation team.
21986 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21988 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21990 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21991 handling of denormals.
21992 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21993 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21994 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21995 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21996 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22001 2012-05-26 Marek Polacek <polacek@redhat.com>
22004 * math/libm-test.inc (fma_test): Don't always expect underflow
22007 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22010 * elf/tst-execstack.c: Include stackinfo.h.
22011 (do_test): Adjust test case to ensure that pthread_getattr_np
22012 behaviour remains the same after marking stack executable.
22014 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22016 * sysdeps/unix/sysv/linux/kernel-features.h
22017 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22018 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22020 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22021 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22022 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22024 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22025 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22027 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22029 * configure.in: Define the default includes to being none.
22030 * configure: Regenerated.
22032 2012-05-25 Roland McGrath <roland@hack.frob.com>
22034 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22035 * sysdeps/x86_64/setjmp.S: Likewise.
22036 * sysdeps/i386/bsd-setjmp.S: Likewise.
22037 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22038 * sysdeps/i386/setjmp.S: Likewise.
22039 * sysdeps/i386/__longjmp.S: Likewise.
22040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22041 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22043 * include/stap-probe.h: New file.
22044 * configure.in: Handle --enable-systemtap.
22045 * configure: Regenerated.
22046 * config.h.in (USE_STAP_PROBE): New #undef.
22047 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22048 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22049 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22051 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22055 to 2.4.0 where earlier.
22056 * sysdeps/unix/sysv/linux/configure: Regenerated.
22057 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22058 <kernel-features.h>.
22059 [__ASSUME_32BITUIDS]: Make code unconditional.
22060 [!__ASSUME_32BITUIDS]: Remove conditional code.
22061 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22062 <kernel-features.h>.
22063 [__ASSUME_32BITUIDS]: Make code unconditional.
22064 [!__ASSUME_32BITUIDS]: Remove conditional code.
22065 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22066 [__ASSUME_32BITUIDS]: Make code unconditional.
22067 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22068 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22069 <kernel-features.h>.
22070 [__ASSUME_32BITUIDS]: Make code unconditional.
22071 [!__ASSUME_32BITUIDS]: Remove conditional code.
22072 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22073 <kernel-features.h>.
22074 [__ASSUME_32BITUIDS]: Make code unconditional.
22075 [!__ASSUME_32BITUIDS]: Remove conditional code.
22076 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22077 <kernel-features.h>.
22078 [__ASSUME_32BITUIDS]: Make code unconditional.
22079 [!__ASSUME_32BITUIDS]: Remove conditional code.
22080 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22081 <kernel-features.h>.
22082 [__ASSUME_32BITUIDS]: Make code unconditional.
22083 [!__ASSUME_32BITUIDS]: Remove conditional code.
22084 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22085 <kernel-features.h>.
22086 [__ASSUME_32BITUIDS]: Make code unconditional.
22087 [!__ASSUME_32BITUIDS]: Remove conditional code.
22088 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22089 <kernel-features.h>.
22090 [__ASSUME_32BITUIDS]: Make code unconditional.
22091 [!__ASSUME_32BITUIDS]: Remove conditional code.
22092 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22093 <kernel-features.h>.
22094 [__ASSUME_32BITUIDS]: Make code unconditional.
22095 [!__ASSUME_32BITUIDS]: Remove conditional code.
22096 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22097 <kernel-features.h>.
22098 [__ASSUME_32BITUIDS]: Make code unconditional.
22099 [!__ASSUME_32BITUIDS]: Remove conditional code.
22100 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22101 <kernel-features.h>.
22102 [__ASSUME_32BITUIDS]: Make code unconditional.
22103 [!__ASSUME_32BITUIDS]: Remove conditional code.
22104 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22105 <kernel-features.h>.
22106 [__ASSUME_32BITUIDS]: Make code unconditional.
22107 [!__ASSUME_32BITUIDS]: Remove conditional code.
22108 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22109 <kernel-features.h>.
22110 [__NR_setresgid] (__setresgid): Do not declare.
22111 [__ASSUME_32BITUIDS]: Make code unconditional.
22112 [!__ASSUME_32BITUIDS]: Remove conditional code.
22113 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22114 <kernel-features.h>.
22115 [__NR_setresuid] (__setresuid): Do not declare.
22116 [__ASSUME_32BITUIDS]: Make code unconditional.
22117 [!__ASSUME_32BITUIDS]: Remove conditional code.
22118 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22119 <kernel-features.h>.
22120 [__ASSUME_32BITUIDS]: Make code unconditional.
22121 [!__ASSUME_32BITUIDS]: Remove conditional code.
22122 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22123 <kernel-features.h>.
22124 [__ASSUME_32BITUIDS]: Make code unconditional.
22125 [!__ASSUME_32BITUIDS]: Remove conditional code.
22126 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22127 <kernel-features.h>.
22128 [__ASSUME_32BITUIDS]: Make code unconditional.
22129 [!__ASSUME_32BITUIDS]: Remove conditional code.
22130 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22131 <kernel-features.h>.
22132 [__ASSUME_32BITUIDS]: Make code unconditional.
22133 [!__ASSUME_32BITUIDS]: Remove conditional code.
22134 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22135 <kernel-features.h>.
22136 [__ASSUME_32BITUIDS]: Make code unconditional.
22137 [!__ASSUME_32BITUIDS]: Remove conditional code.
22138 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22139 <kernel-features.h>.
22140 [__ASSUME_32BITUIDS]: Make code unconditional.
22141 [!__ASSUME_32BITUIDS]: Remove conditional code.
22142 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22143 <kernel-features.h>.
22144 [__ASSUME_32BITUIDS]: Make code unconditional.
22145 [!__ASSUME_32BITUIDS]: Remove conditional code.
22146 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22147 <kernel-features.h>.
22148 [__ASSUME_32BITUIDS]: Make code unconditional.
22149 [!__ASSUME_32BITUIDS]: Remove conditional code.
22150 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
22159 (__ASSUME_SETRESUID_SYSCALL): Remove.
22160 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22161 (__ASSUME_32BITUIDS): Likewise.
22162 (__ASSUME_LDT_WORKS): Likewise.
22163 (__ASSUME_O_DIRECTORY): Likewise.
22164 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22165 architecture but not kernel version.
22166 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22167 (__ASSUME_MMAP2_SYSCALL): Likewise.
22168 (__ASSUME_STAT64_SYSCALL): Likewise.
22169 (__ASSUME_IPC64): Likewise.
22170 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22171 <kernel-features.h>.
22172 [__ASSUME_32BITUIDS]: Make code unconditional.
22173 [!__ASSUME_32BITUIDS]: Remove conditional code.
22174 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22175 <kernel-features.h>.
22176 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22177 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22178 132096]: Remove conditional code.
22179 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22180 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22181 <kernel-features.h>.
22182 [__ASSUME_32BITUIDS]: Make code unconditional.
22183 [!__ASSUME_32BITUIDS]: Remove conditional code.
22184 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22185 <kernel-features.h>.
22186 [__ASSUME_32BITUIDS]: Make code unconditional.
22187 [!__ASSUME_32BITUIDS]: Remove conditional code.
22188 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22189 <kernel-features.h>.
22190 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22192 (__setresgid): Do not declare.
22193 [__ASSUME_32BITUIDS]: Make code unconditional.
22194 [!__ASSUME_32BITUIDS]: Remove conditional code.
22195 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22196 <kernel-features.h>.
22197 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22199 (__setresuid): Do not declare.
22200 [__ASSUME_32BITUIDS]: Make code unconditional.
22201 [!__ASSUME_32BITUIDS]: Remove conditional code.
22202 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22203 <kernel-features.h>.
22204 [__ASSUME_32BITUIDS]: Make code unconditional.
22205 [!__ASSUME_32BITUIDS]: Remove conditional code.
22206 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22207 <kernel-features.h>.
22208 [__ASSUME_32BITUIDS]: Make code unconditional.
22209 [!__ASSUME_32BITUIDS]: Remove conditional code.
22211 2012-05-25 Richard Henderson <rth@twiddle.net>
22213 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22214 dl_hwcap to ifunc resolver.
22215 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22217 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22218 dl_hwcap to ifunc resolver.
22219 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22221 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22224 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22225 for |x| <= 2**-26, not 2**-57.
22226 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22229 2012-05-24 Jeff Law <law@redhat.com>
22231 * stdio-common/Makefile (tests): Add bug25.
22232 * stdio-common/bug25.c: New test.
22234 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22237 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22238 multiple of MALLOC_ALIGNMENT in size.
22239 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22241 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22243 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22245 (FILENAME_MAX): Use macro-int-constant.
22246 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22247 (_IOFBF): Use macro-int-constant.
22248 (_IOLBF): Likewise.
22249 (_IONBF): Likewise.
22250 (SEEK_CUR): Likewise.
22251 (SEEK_END): Likewise.
22252 (SEEK_SET): Likewise.
22253 (TMP_MAX): Likewise.
22254 (EOF): Use macro-int-constant. Require < 0.
22255 (NULL): Use macro-constant. Require == 0.
22256 (stdin): Require type to be FILE *.
22257 (stdout): Likewise.
22258 (stderr): Likewise.
22259 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22260 macro-int-constant.
22261 (EXIT_SUCCESS): Likewise.
22262 (NULL): Use macro-constant. Require == 0.
22263 (RAND_MAX): Use macro-int-constant.
22264 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22265 [C99-based standards] (strtof): Require function.
22266 [C99-based standards] (strtold): Likewise.
22267 [C99-based standards] (strtoll): Likewise.
22268 [C99-based standards] (strtoull): Likewise.
22269 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22270 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22271 [ISO || ISO99 || ISO11] (math.h): Likewise.
22272 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22273 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22276 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22279 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22280 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22281 * intl/dgettext.c (DCGETTEXT): Likewise.
22282 * intl/gettext.c (DCGETTEXT): Likewise.
22283 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22284 * posix/regex_internal.h (gettext): Likewise.
22285 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22286 Remove declaration.
22287 * include/argz.h (__argz_count_internal)
22288 (__argz_stringify_internal): Remove declaration.
22289 (__argz_count, __argz_stringify): Declare hidden proto.
22290 * intl/dcgettext.c: Remove use of INTDEF.
22291 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22292 * string/argz-stringify.c: Likewise.
22293 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22294 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22295 Declare hidden proto.
22296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22298 Declare hidden proto.
22299 * include/stdio.h (__asprintf_internal): Don't declare.
22300 (__asprintf): Don't define as macro. Declare hidden proto.
22301 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22302 (__fsetlocking): Declare hidden proto.
22303 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22304 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22306 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22307 (_IO_setlinebuf): Remove use of INTUSE.
22308 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22309 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22310 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22311 Remove declaration.
22312 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22313 (_IO_do_flush): Remove use of INTUSE.
22314 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22315 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22316 (_IO_adjust_column, _IO_least_wmarker)
22317 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22318 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22319 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22320 (_IO_default_doallocate, _IO_wdefault_doallocate)
22321 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22322 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22323 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22324 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22325 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22326 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22327 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22328 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22329 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22330 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22331 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22332 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22333 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22335 (_IO_flush_all_internal, _IO_adjust_column_internal)
22336 (_IO_default_uflow_internal, _IO_default_finish_internal)
22337 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22338 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22339 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22340 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22341 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22342 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22343 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22344 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22345 (_IO_file_close_internal, _IO_file_close_it_internal)
22346 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22347 (_IO_file_init_internal, _IO_file_attach_internal)
22348 (_IO_file_fopen_internal, _IO_file_read_internal)
22349 (_IO_file_sync_internal, _IO_file_seek_internal)
22350 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22351 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22352 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22353 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22354 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22355 (_IO_list_all_internal, _IO_link_in_internal)
22356 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22357 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22358 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22359 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22360 (_IO_do_write_internal, _IO_padn_internal)
22361 (_IO_getline_info_internal, _IO_getline_internal)
22362 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22363 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22364 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22365 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22366 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22367 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22368 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22369 with libc_hidden_ver, remove use of INTUSE.
22370 * libio/genops.c: Likewise.
22371 * libio/freopen.c: Likewise.
22372 * libio/freopen64.c: Likewise.
22373 * libio/iofclose.c: Likewise.
22374 * libio/iofdopen.c: Likewise.
22375 * libio/iofflush.c: Likewise.
22376 * libio/iofflush_u.c: Likewise.
22377 * libio/iofgets.c: Likewise.
22378 * libio/iofgets_u.c: Likewise.
22379 * libio/iofopen.c: Likewise.
22380 * libio/iofopncook.c: Likewise.
22381 * libio/iofread.c: Likewise.
22382 * libio/iofread_u.c: Likewise.
22383 * libio/ioftell.c: Likewise.
22384 * libio/iofwrite.c: Likewise.
22385 * libio/iogetline.c: Likewise.
22386 * libio/iogets.c: Likewise.
22387 * libio/iogetwline.c: Likewise.
22388 * libio/iopadn.c: Likewise.
22389 * libio/iopopen.c: Likewise.
22390 * libio/ioseekoff.c: Likewise.
22391 * libio/ioseekpos.c: Likewise.
22392 * libio/iosetbuffer.c: Likewise.
22393 * libio/iosetvbuf.c: Likewise.
22394 * libio/ioungetc.c: Likewise.
22395 * libio/ioungetwc.c: Likewise.
22396 * libio/iovdprintf.c: Likewise.
22397 * libio/iovsprintf.c: Likewise.
22398 * libio/iovsscanf.c: Likewise.
22399 * libio/memstream.c: Likewise.
22400 * libio/obprintf.c: Likewise.
22401 * libio/oldfileops.c: Likewise.
22402 * libio/oldiofclose.c: Likewise.
22403 * libio/oldiofdopen.c: Likewise.
22404 * libio/oldiofopen.c: Likewise.
22405 * libio/oldiopopen.c: Likewise.
22406 * libio/oldstdfiles.c: Likewise.
22407 * libio/putc.c: Likewise.
22408 * libio/setbuf.c: Likewise.
22409 * libio/setlinebuf.c: Likewise.
22410 * libio/stdfiles.c: Likewise.
22411 * libio/strops.c: Likewise.
22412 * libio/vasprintf.c: Likewise.
22413 * libio/vscanf.c: Likewise.
22414 * libio/vsnprintf.c: Likewise.
22415 * libio/vswprintf.c: Likewise.
22416 * libio/wfiledoalloc.c: Likewise.
22417 * libio/wfileops.c: Likewise.
22418 * libio/wgenops.c: Likewise.
22419 * libio/wmemstream.c: Likewise.
22420 * libio/wstrops.c: Likewise.
22421 * libio/__fpurge.c: Likewise.
22422 * libio/__fsetlocking.c: Likewise.
22423 * assert/assert.c: Likewise.
22424 * debug/fgets_chk.c: Likewise.
22425 * debug/fgets_u_chk.c: Likewise.
22426 * debug/fread_chk.c: Likewise.
22427 * debug/fread_u_chk.c: Likewise.
22428 * debug/gets_chk.c: Likewise.
22429 * debug/obprintf_chk.c: Likewise.
22430 * debug/vasprintf_chk.c: Likewise.
22431 * debug/vdprintf_chk.c: Likewise.
22432 * debug/vsnprintf_chk.c: Likewise.
22433 * debug/vsprintf_chk.c: Likewise.
22434 * malloc/mtrace.c: Likewise.
22435 * misc/error.c: Likewise.
22436 * misc/syslog.c: Likewise.
22437 * stdio-common/asprintf.c: Likewise.
22438 * stdio-common/fxprintf.c: Likewise.
22439 * stdio-common/getw.c: Likewise.
22440 * stdio-common/isoc99_fscanf.c: Likewise.
22441 * stdio-common/isoc99_scanf.c: Likewise.
22442 * stdio-common/isoc99_vfscanf.c: Likewise.
22443 * stdio-common/isoc99_vscanf.c: Likewise.
22444 * stdio-common/isoc99_vsscanf.c: Likewise.
22445 * stdio-common/printf-prs.c: Likewise.
22446 * stdio-common/printf_fp.c: Likewise.
22447 * stdio-common/printf_fphex.c: Likewise.
22448 * stdio-common/printf_size.c: Likewise.
22449 * stdio-common/putw.c: Likewise.
22450 * stdio-common/scanf.c: Likewise.
22451 * stdio-common/sprintf.c: Likewise.
22452 * stdio-common/tmpfile.c: Likewise.
22453 * stdio-common/vfprintf.c: Likewise.
22454 * stdio-common/vfscanf.c: Likewise.
22455 * stdlib/strfmon_l.c: Likewise.
22456 * sunrpc/openchild.c: Likewise.
22457 * sunrpc/xdr_stdio.c: Likewise.
22458 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22459 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22461 2012-05-24 Roland McGrath <roland@hack.frob.com>
22463 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22465 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22466 in the third column, to generate for the shared library an IFUNC
22467 that uses _dl_vdso_vsym.
22468 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22469 * Makeconfig (object-suffixes-noshared): New variable.
22471 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22472 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22473 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22474 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22477 * include/sys/time.h (__gettimeofday): Remove macro.
22478 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22479 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22481 (__gettimeofday): Add libc_hidden_def.
22482 (gettimeofday): Add libc_hidden_weak.
22483 * sysdeps/mach/gettimeofday.c: Likewise.
22484 * sysdeps/posix/gettimeofday.c: Likewise.
22485 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22486 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22488 (__gettimeofday_internal): Remove strong_alias.
22489 (__gettimeofday): Add libc_hidden_def.
22490 (gettimeofday): Add libc_hidden_weak.
22491 * sysdeps/unix/syscalls.list (gettimeofday):
22492 Remove __gettimeofday_internal alias.
22494 2012-05-24 Daniel Jacobowitz <drow@false.org>
22495 H.J. Lu <hongjiu.lu@intel.com>
22498 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22499 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22500 (largebin_index_32_big): New.
22501 (largebin_index): Use it for 16-byte alignment.
22502 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22503 correction with front_misalign.
22505 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22533 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22534 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22536 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22540 * math/libm-test.inc (exp_test): Add test from bug 14036.
22541 (pow_test): Add test from bug 10846.
22543 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22545 (special_function): Do not include flags in test name.
22546 (parse_args): Likewise.
22547 * sysdeps/i386/fpu/libm-test-ulps: Update.
22548 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22549 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22550 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22553 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22555 * math/libm-test.inc ("Philosophy"): Update comment about
22557 (UNDERFLOW_EXCEPTION): New macro.
22558 (UNDERFLOW_EXCEPTION_OK): Likewise.
22559 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22560 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22561 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22562 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22563 (INVALID_EXCEPTION_OK): Update value.
22564 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22565 (OVERFLOW_EXCEPTION_OK): Likewise.
22566 (IGNORE_ZERO_INF_SIGN): Likewise.
22567 (test_exceptions): Handle underflow exceptions.
22568 (acos_test): Update for underflow exception expectations.
22569 (cexp_test): Likewise.
22570 (clog_test): Likewise.
22571 (clog10_test): Likewise.
22572 (csqrt_test): Likewise.
22573 (ctan_test): Likewise.
22574 (ctanh_test): Likewise.
22575 (exp_test): Likewise.
22576 (exp10_test): Likewise.
22577 (exp2_test): Likewise.
22578 (expm1_test): Likewise.
22579 (fma_test): Likewise.
22580 (j0_test): Likewise.
22581 (jn_test): Likewise.
22582 (nexttoward_test): Likewise.
22583 (pow_test): Likewise.
22584 (scalbn_test): Likewise.
22585 (scalbln_test): Likewise.
22586 (tan_test): Likewise.
22587 (y1_test): Likewise.
22588 * sysdeps/i386/fpu/libm-test-ulps: Update.
22589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22591 2012-05-23 David S. Miller <davem@davemloft.net>
22593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22594 (__libc_sigaction): Remove unused local variables.
22596 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22598 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22600 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22602 mktime: avoid signed integer overflow
22603 * time/mktime.c (__mktime_internal): Do not mishandle the case
22604 where diff == INT_MIN.
22606 mktime: simplify computation of average
22607 * time/mktime.c (ranged_convert): Use new time_t_avg function
22608 instead of rolling our own (probably-slower) code.
22610 mktime: do not assume signed right shift propagates sign bit
22611 * time/mktime.c (isdst_differ): New static function.
22612 (__mktime_internal): No need to normalize tm_isdst now.
22613 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22616 mktime: merge another wrapv change from gnulib
22617 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22618 from some compilers.
22620 mktime: remove incorrect attempt at unusual arithmetics
22621 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22622 The code didn't really work on such machines anyway.
22623 (TYPE_MINIMUM): Assume two's complement.
22624 (twos_complement_arithmetic): Verify that long_int and time_t
22625 are two's complement (or unsigned, in the latter case).
22627 mktime: check signed shifts on long_int and time_t, too
22628 * time/mktime.c (SHR): Check that shifts work as desired
22629 on the types long_int and time_t too, as SHR is used on
22632 mktime: do not assume 'long' is wide enough
22633 * time/mktime.c (verify): Move decl up.
22634 (long_int): New type.
22635 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22636 to remove assumption in the code that 'long' is wide enough to
22637 store year values. This assumption is not true on x32 and on
22638 some non-glibc platforms.
22640 mktime: merge wrapv change from gnulib
22641 * time/mktime.c (WRAPV): New macro.
22642 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22643 (guess_time_tm, __mktime_internal): Do not assume that signed
22644 integer overflow wraps around; modern compilers generate code
22645 where this assumption is no longer valid.
22647 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22649 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22650 Replace "jmp L(pseudo_end)" with "ret".
22651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22654 2012-05-23 Andreas Jaeger <aj@suse.de>
22656 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22657 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22659 2012-05-23 Andreas Jaeger <aj@suse.de>
22660 Maximilian Attems <max@stro.at>
22662 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22665 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22667 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22668 code so that pseudo_end is just ret and the stack pointer is
22669 correct also for static library in error case.
22671 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22673 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22674 move to syscalls.list.
22675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22680 * manual/install.texi (Running make install): Do not mention Linux
22681 kernel version for which pt_chown is not needed.
22682 (Linux): Do not mention problems with nscd with 2.0 kernels.
22683 * INSTALL: Regenerated.
22685 2012-05-23 Andreas Jaeger <aj@suse.de>
22687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22688 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22690 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22692 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22694 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22695 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22697 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22700 * sysdeps/unix/sysv/linux/bits/in.h
22701 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22703 2012-05-22 Roland McGrath <roland@hack.frob.com>
22705 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22706 (PREPARE_VERSION): Just use assert instead, it will be elided
22707 under [NDEBUG] anyway.
22709 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22711 * sysdeps/unix/sysv/linux/Makefile: Include
22712 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22713 (sysdep_routines): Remove sysctl.
22714 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22715 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22716 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22717 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22718 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22720 2012-05-22 Andreas Jaeger <aj@suse.de>
22722 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22723 that pseudo_end is just ret and the stack pointer is correct also
22724 for static library in error case.
22726 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22729 * nss/nsswitch.c (defconfig_entries): New variable.
22730 (__nss_database_lookup): Don't leak defconfig entries.
22731 (nss_parse_service_list): Don't leak on error paths.
22732 (free_database_entries): New function.
22733 (free_defconfig): New function.
22734 (free_mem): Move common code to free_database_entries.
22736 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22740 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22742 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22743 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22746 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22747 (INTERNAL_SYSCALL_TYPES): Likewise.
22748 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22749 (LOAD_REGS_TYPES_[1-6]): Likewise.
22750 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22751 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22753 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22755 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22756 copysignl for GLIBC_2_0.
22757 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22758 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22760 logbl for GLIBC_2_0.
22761 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22762 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22764 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22767 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22769 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22772 * time/mktime.c: Update copyright years.
22774 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22776 mktime: merge comment-quoting-style change from gnulib
22777 * time/mktime.c: Quote 'like this' in comments.
22778 The GNU coding standards suggest that we no longer quote `like this',
22779 as "`" and "'" are typically rendered asymmetrically nowadays.
22780 The typical gnulib style is to quote 'like this' when quoting
22781 code, and "like this" when quoting English.
22783 * time/mktime.c (compile-command): Add "-I.".
22785 mktime: merge mktime-internal.h change from gnulib
22786 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22788 mktime: merge time_r change from gnulib
22789 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22791 mktime: merge DEBUG change from gnulib
22792 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22793 case system <time.h> has a #define.
22795 mktime: merge <sys/types.h> change from gnulib
22796 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22797 since <time.t> is now guaranteed to define time_t.
22799 mktime: merge HAVE_CONFIG_H change from gnulib
22800 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22802 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22807 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22809 (struct rusage): Use anonymous union to pad each field to
22812 2012-05-21 David S. Miller <davem@davemloft.net>
22814 * Makefules (o-iterator): Remove .s cases.
22815 (compile-command.s): Delete.
22816 (COMPILE.s): Delete.
22817 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22819 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22821 * configure.in (libc_cv_predef_stack_protector): Only consider
22822 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22823 * configure: Regenerated.
22825 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22828 New macro. Use R*LP on int and pointer.
22829 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22830 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22831 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22832 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22834 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22835 [__WORDSIZE_TIME64_COMPAT32] instead of
22836 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22837 (struct utmp): Likewise.
22838 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22839 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22841 (__WORDSIZE_TIME64_COMPAT32): This.
22842 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22843 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22844 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22845 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22846 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22847 (__WORDSIZE_TIME64_COMPAT32): New macro.
22849 2012-05-21 Andreas Jaeger <aj@suse.de>
22851 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22852 only if [SHARED]. Add prototype for __wcschr_ia32.
22854 2012-05-21 Roland McGrath <roland@hack.frob.com>
22856 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22857 of %rbp unmolested in the jmp_buf while mangling the low bits.
22858 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22859 unmolested high bits of %rbp while demangling the low bits.
22860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22862 2012-05-21 Andreas Jaeger <aj@suse.de>
22864 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22865 * sunrpc/svc_simple.c: Use it for registerrpc.
22866 * sunrpc/xcrypt.c: Use it for passwd2des.
22868 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22870 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22872 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22873 Don't define if [__SYSCALL_WORDSIZE != 32].
22874 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22877 2012-05-21 Bruno Haible <bruno@clisp.org>
22878 Andreas Jaeger <aj@suse.de>
22880 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22881 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22882 inptr and inend for must_buffer_ch.
22883 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22884 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22885 * stdio-common/Makefile (tests): Remove bug15.
22886 (bug15-ENV): Remove macro.
22887 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22890 2012-05-19 Andreas Jaeger <aj@suse.de>
22891 Roland McGrath <roland@hack.frob.com>
22893 * manual/contrib.texi: Completely rewritten. It contains now an
22894 alphabetical list of contributors and their contributions.
22896 2012-05-21 Richard Henderson <rth@twiddle.net>
22898 * misc/getauxval.c (__getauxval): Use unsigned long int.
22899 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22900 (getauxval): Use unsigned long int.
22902 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22906 2012-05-21 Roland McGrath <roland@hack.frob.com>
22908 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22909 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22910 __alignof__ (long double).
22912 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22916 2012-05-20 Richard Henderson <rth@twiddle.net>
22918 * misc/getauxval.c: New file.
22919 * misc/sys/auxv.h: New file.
22920 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22921 (routines): Add getauxval.
22922 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22923 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22924 * elf/dl-sysdep.c (_dl_auxv): Remove.
22925 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22926 * elf/dl-support.c (_dl_auxv): New variable.
22927 (_dl_aux_init): Initialize it.
22928 * manual/startup.texi (Auxiliary Vector): New node.
22929 * sysdeps/generic/bits/hwcap.h: New file.
22930 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22931 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22932 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22933 * sysdeps/sparc/sysdep.h: ... here. Include it.
22934 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22941 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22947 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22951 2012-05-19 David S. Miller <davem@davemloft.net>
22953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22955 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22958 * math/s_ccosh.c: Include <float.h>
22959 (__ccosh): Avoid internal overflow calculating sinh and cosh
22960 values before multiplying by sin and cos values.
22961 * math/s_ccoshf.c: Likewise.
22962 * math/s_ccoshl.c: Likewise.
22963 * math/s_csin.c: Likewise.
22964 * math/s_csinf.c: Likewise.
22965 * math/s_csinl.c: Likewise.
22966 * math/s_csinh.c: Likewise.
22967 * math/s_csinhf.c: Likewise.
22968 * math/s_csinhl.c: Likewise.
22969 * math/libm-test.inc (ccos_test): Add more tests.
22970 (ccosh_test): Likewise.
22971 (csin_test): Likewise.
22972 (csinh_test): Likewise.
22973 * sysdeps/i386/fpu/libm-test-ulps: Update.
22974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22976 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22978 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22979 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22981 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22983 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22985 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22986 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22987 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22988 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22989 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22990 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22991 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22992 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22993 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22994 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22995 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22996 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22997 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22998 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22999 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23000 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23001 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23002 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23003 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23004 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23005 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23006 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23007 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23008 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23009 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23010 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23011 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23012 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23013 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23014 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23015 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23017 2012-05-18 Andreas Jaeger <aj@suse.de>
23019 * csu/.gitignore: Delete.
23021 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23023 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23024 (timex): Use __syscall_slong_t.
23026 2012-05-18 Andreas Jaeger <aj@suse.de>
23027 Carlos O'Donell <carlos_odonell@mentor.com>
23029 * manual/install.texi (Configuring and compiling): Update
23030 description about files modified in the source directory.
23031 * INSTALL: Regenerated.
23033 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23035 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23036 value. Use "or" to set return value to -1.
23037 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23038 negate return value.
23040 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23042 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23043 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23044 failure if the compiler has Graphite support disabled.
23045 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23047 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23048 CFLAGS-memmove.c): Likewise.
23049 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23052 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23054 * sysdeps/x86_64/x32/_itoa.h: New file.
23056 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23057 getdents system call only if kernel and user dirents have the
23058 same d_ino and d_off.
23060 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23061 LLONG_MAX != LONG_MAX.
23062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23063 (_fitoa_word): Likewise.
23065 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23067 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23068 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23069 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23071 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23072 include <bits/wordsize.h>. Check __x86_64__ instead of
23074 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23075 if __x86_64__ is defined. Use anonymous union on fpstate.
23077 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23080 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23082 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23083 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23084 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23085 Refer to _rtld_local_ro instead of _rtld_global_ro.
23086 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23088 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23090 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23092 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23093 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23094 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23096 * sysdeps/powerpc/powerpc32/dl-machine.c
23097 (__elf_machine_runtime_setup) [PROF]: Don't reference
23100 2012-05-18 Andreas Jaeger <aj@suse.de>
23102 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23103 function only available for GCCs before 3.4 since GCC 3.4
23104 introduced a builtin.
23106 (llrintf): Likewise.
23107 (llrint): Likewise.
23114 (nearbyint): Likewise.
23115 (nearbyintf): Likewise.
23119 (floorf): Likewise.
23121 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23123 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23124 on both fields and cast pointer to __syscall_ulong_t.
23126 * bits/types.h (__fsword_t): New type.
23127 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23128 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23130 (__FSWORD_T_TYPE): Likewise.
23131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23132 (__FSWORD_T_TYPE): Likewise.
23133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23134 (__FSWORD_T_TYPE): Likewise.
23135 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23136 (__FSWORD_T_TYPE): Likewise.
23137 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23138 __SWORD_TYPE with __fsword_t.
23139 (statfs64): Likewise.
23141 2012-05-17 David S. Miller <davem@davemloft.net>
23143 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23145 2012-05-17 Andreas Jaeger <aj@suse.de>
23147 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23150 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23152 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23154 2012-05-17 Andreas Jaeger <aj@suse.de>
23156 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23159 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23161 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23163 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23165 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23166 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23168 2012-05-17 Andreas Jaeger <aj@suse.de>
23169 Carlos O'Donell <carlos_odonell@mentor.com>
23172 * sysdeps/x86_64/multiarch/init-arch.h
23173 (bit_YMM_Usable): Rename to...
23174 (bit_AVX_Usable): ... this.
23175 (bit_FMA4_Usable): New macro.
23176 (bit_XMM_state): New macro.
23177 (bit_YMM_state): New macro.
23178 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23179 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23180 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23181 (CPUID_OSXSAVE): New macro.
23182 (CPUID_AVX): New macro.
23183 (CPUID_FMA4): New macro.
23184 (index_YMM_Usable): Rename to...
23185 (index_AVX_Usable): ... this.
23186 (HAS_AVX): Use HAS_ARCH_FEATURE.
23187 (HAS_FMA4): Likewise.
23188 (HAS_YMM_USABLE): Remove.
23189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23190 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23192 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23193 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23194 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23195 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23196 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23198 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23200 * math/libm-test.c: Support platforms without multiple rounding modes.
23201 * math/bug-nextafter.c: Support platforms without FP exceptions.
23202 * math/bug-nexttoward.c: Likewise.
23203 * math/test-fenv.c: Likewise.
23204 * math/test-misc.c: Likewise.
23205 * stdlib/bug-getcontext.c: Likewise.
23207 2012-05-17 Andreas Jaeger <aj@suse.de>
23209 * manual/examples/search.c (critter_cmp): Change signature to
23211 * manual/string.texi (Collation Functions): Likewise.
23213 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23215 * bits/types.h: Fold copyright years.
23216 * bits/typesizes.h: Likewise.
23217 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23221 * time/time.h: Likewise.
23223 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23226 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23227 in instead of returning them. Return void.
23228 (__libc_mallinfo): Accumulate over all arenas.
23229 (__malloc_stats): Adjust for change in int_mallinfo interface.
23231 2012-05-16 Roland McGrath <roland@hack.frob.com>
23234 * configure.in (NM): Add AC_CHECK_TOOL for it.
23235 (libc_extra_cflags): New substituted variable.
23236 Check for -fstack-protector being used implicitly.
23237 * configure: Regenerated.
23238 * config.make.in (config-extra-cflags): New variable,
23239 gets @libc_extra_cflags@.
23240 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23243 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23244 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23245 * configure: Regenerated.
23246 * config.make.in (CPPUNDEFS): New substituted variable.
23247 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23248 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23249 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23251 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23253 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23254 (mq_attr): Use __syscall_slong_t.
23256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23258 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23259 Check __x86_64__ instead of __WORDSIZE.
23260 (_STAT_VER_LINUX): Likewise.
23261 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23262 __syscall_ulong_t and __syscall_slong_t.
23263 (stat64): Likewise.
23265 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23267 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23271 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23275 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23278 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23279 include <bits/wordsize.h>. Check __x86_64__ instead of
23281 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23283 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23285 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23286 include <bits/wordsize.h>. Check __x86_64__ instead of
23288 (user_regs_struct): Use "__extension__ unsigned long long"
23289 instead of "unsigned long" if __x86_64__ is defined.
23290 (user): Likewise. Pad after pointer field if __ILP32__ is
23293 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23295 * configure.in (makeinfo): Require version 4.5 or later. Allow
23297 * configure: Regenerated.
23298 * manual/install.texi (texinfo): Increase version requirement to
23300 * INSTALL: Regenerated.
23302 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23304 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23306 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23308 * sysdeps/x86_64/x32/ffs.c: New file.
23310 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23312 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23313 defined. Use __syscall_ulong_t.
23314 (shminfo): Use __syscall_ulong_t.
23315 (shm_info): Likewise.
23317 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23320 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23322 (msgqnum_t): Use __syscall_ulong_t.
23323 (msglen_t): Likewise.
23324 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23327 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23328 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23330 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23332 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23333 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23335 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23338 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23339 include <bits/wordsize.h>. Check __x86_64__ instead of
23342 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23343 "unsigned long long int" if __x86_64__ is defined.
23344 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23346 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23347 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23348 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23350 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23352 (GET_PC): Cast to uintptr_t first.
23353 (GET_FRAME): Likewise.
23354 (GET_STACK): Likewise.
23356 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23357 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23362 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23363 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23364 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23365 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23366 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23367 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23368 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23369 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23370 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23371 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23372 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23376 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23378 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23380 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23383 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23384 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23386 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23388 * Makerules (+depfiles): Also collect depfiles from .oS in
23390 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23391 .oS, $(libnldbl-routines)).
23393 * Makerules (native-compile-mkdep-flags): Define.
23394 * sunrpc/Makefile (extra-objs): Add $(addprefix
23395 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23396 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23397 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23398 calling $(make-target-directory).
23400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23402 * bits/types.h (__snseconds_t): Removed.
23403 * time/time.h (struct timespec): Replace __snseconds_t with
23405 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23406 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23409 (__SNSECONDS_T_TYPE): Likewise.
23410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23411 (__SNSECONDS_T_TYPE): Likewise.
23412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23413 (__SNSECONDS_T_TYPE): Likewise.
23415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23417 * sysdeps/mach/hurd/bits/typesizes.h
23418 (__SYSCALL_SLONG_TYPE): New macro.
23419 (__SYSCALL_ULONG_TYPE): Likewise.
23421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23423 * bits/types.h (__syscall_slong_t): New type.
23424 (__syscall_ulong_t): Likewise.
23426 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23427 (__SYSCALL_ULONG_TYPE): Likewise.
23428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23429 (__SYSCALL_SLONG_TYPE): Likewise.
23430 (__SYSCALL_ULONG_TYPE): Likewise.
23431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23432 (__SYSCALL_SLONG_TYPE): Likewise.
23433 (__SYSCALL_ULONG_TYPE): Likewise.
23434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23435 (__SYSCALL_SLONG_TYPE): Likewise.
23436 (__SYSCALL_ULONG_TYPE): Likewise.
23438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23440 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23441 Add sigaltstack-offsets.sym.
23442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23443 <sigaltstack-offsets.h>.
23444 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23445 longjmp_msg pointer.
23446 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23447 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23449 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23451 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23453 * elf/stackguard-macros.h: Remove file.
23454 * sysdeps/generic/stackguard-macros.h: New file.
23455 * sysdeps/i386/stackguard-macros.h: Likewise.
23456 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23457 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23458 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23459 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23460 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23461 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23462 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23463 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23464 <elf/stackguard-macros.h>.
23467 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23468 __aligned__ in attribute.
23469 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23470 (gregset_t): Likewise.
23472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23474 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23475 * sysdeps/x86_64/64/Implies-after: Here. New file.
23476 * sysdeps/x86_64/x32/Implies-after: New file.
23478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23480 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23481 and access return value for _dl_profile_fixup. Use R10_LP to
23484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23486 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23490 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23491 * sysdeps/x86_64/x32/sysdep.h: New file.
23493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23495 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23496 * sysdeps/x86_64/setjmp.S: Likewise.
23498 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23502 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23503 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23504 remove unused global constant.
23506 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23508 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23509 include of <not-cancel.h>.
23511 2012-05-15 Roland McGrath <roland@hack.frob.com>
23513 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23515 2012-05-15 Jeff Law <law@redhat.com>
23516 Andreas Jaeger <aj@suse.de>
23519 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23521 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23522 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23523 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23524 code changing __hst_map_handle.map.
23526 2012-05-15 Roland McGrath <roland@hack.frob.com>
23528 * configure.in (sysnames): Look for Implies-before and Implies-after
23530 * configure: Regenerated.
23532 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23534 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23535 8-byte data alignment with LP_SIZE alignment.
23537 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23539 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23544 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23548 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23549 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23550 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23552 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23556 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23557 (stackinfo_sub_sp): Likewise.
23559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23576 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23580 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23581 into R11_LP and load __x86_64_shared_cache_size_half into
23584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23586 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23589 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23591 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23593 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23597 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23598 powerpc32/power7/fpu/s_logb.c via #include.
23599 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23600 powerpc32/power7/fpu/s_logbf.c via #include.
23601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23602 powerpc32/power7/fpu/s_logbl.c via #include.
23604 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23606 * README.libm: Remove file.
23608 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23610 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23611 count for x32. Use R*_LP and omit operand-size suffix.
23613 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23615 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23616 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23617 * sysdeps/x86_64/x32/shlib-versions: New file.
23619 2012-05-14 Roland McGrath <roland@hack.frob.com>
23621 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23622 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23623 Use _dl_fatal_printf instead.
23625 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23627 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23628 set if not set by the user. Do not allow for being unset.
23629 * sysdeps/unix/sysv/linux/configure: Regenerated.
23631 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23633 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23634 the `q' suffix from lea and replace .quad with ASM_ADDR.
23636 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23639 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23641 (PTR_DEMANGLE): Likewise.
23643 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23645 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23647 (ASM_ADDR): Likewise.
23648 (RAX_LP): Likewise.
23649 (RBP_LP): Likewise.
23650 (RBX_LP): Likewise.
23651 (RCX_LP): Likewise.
23652 (RDI_LP): Likewise.
23653 (RSI_LP): Likewise.
23654 (RSP_LP): Likewise.
23657 (R10_LP): Likewise.
23658 (R10_LP): Likewise.
23659 (R11_LP): Likewise.
23660 (R12_LP): Likewise.
23661 (R13_LP): Likewise.
23662 (R14_LP): Likewise.
23663 (R15_LP): Likewise.
23665 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23667 * sysdeps/x86_64/x32/dl-machine.h: New file.
23669 2012-05-14 Andreas Jaeger <aj@suse.de>
23671 * manual/Makefile (subdir): Remove export of subdir.
23672 (all): Remove target.
23673 (.PHONY): Remove all from list.
23674 (mkinstalldirs): Remove.
23675 (.PHONY): Remove installdirs from list.
23676 ($(inst_infodir)/libc.info): Use make-target-directory.
23677 (installdirs): Remove.
23678 (subdir_%): Remove.
23679 (glibc-targets): Remove.
23682 ($(objpfx)stubs ../po/manual.pot): Remove.
23683 ($(objpfx)stamp%): Remove.
23684 (make-target-directory): Remove.
23685 (subdir_install): Remove.
23686 (routines): Remove.
23693 * manual/.gitignore: Remove, it's not needed anymore.
23694 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23696 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23698 (texis): Renamed to $(objpfx)texis.
23699 (texis-path): New, contains path to generated files.
23700 (chapters.%): Use texis-path for complete path, add extra argument
23702 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23703 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23704 (summary,texi, stamp-summary): Use complete path of
23705 files. Generate files in build dir.
23706 (dir-add.texi): Build in build dir.
23707 (libm-err.texi,stamp-libm-err): Likewise.
23708 (version.texi, stamp-version): Likewise.
23709 (.%c.texi): Likewise.
23710 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23711 (mostlyclean): Remove target.
23712 (realclean): Remove target.
23713 (generated): Add new variable with contents from mostlyclean and
23714 realclean, remove entries duplicated in common-mostlyclean, add
23715 stamp-libm-err and stamp-version.
23716 (generated-dirs): Add libc directory.
23717 ($(inst_infodir)/libc.info): Install files from build dir.
23719 * manual/install.texi (Configuring and compiling): Adjust since
23720 the info files are not part of the tar ball anymore.
23722 2012-05-14 Andreas Jaeger <aj@suse.de>
23724 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23727 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23731 to 2.2.0 where earlier.
23732 * sysdeps/unix/sysv/linux/configure: Regenerated.
23733 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23734 Remove conditional code.
23735 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23736 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23737 Remove conditional code.
23738 [!__NR_lchown]: Likewise.
23739 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23740 [__NR_lchown]: Likewise.
23741 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23742 comment referencing __ASSUME_LCHOWN_SYSCALL.
23743 * sysdeps/unix/sysv/linux/i386/sigaction.c
23744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23746 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23747 Remove conditional code.
23748 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23749 (__protocol_available): Remove #if 0 code.
23750 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23752 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23753 * sysdeps/unix/sysv/linux/kernel-features.h
23754 (__ASSUME_GETCWD_SYSCALL): Don't define.
23755 (__ASSUME_REALTIME_SIGNALS): Likewise.
23756 (__ASSUME_PREAD_SYSCALL): Likewise.
23757 (__ASSUME_PWRITE_SYSCALL): Likewise.
23758 (__ASSUME_POLL_SYSCALL): Likewise.
23759 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23760 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23762 (__ASSUME_SIOCGIFNAME): Don't define.
23763 (__ASSUME_MSG_NOSIGNAL): Likewise.
23764 (__ASSUME_SENDFILE): Define unconditionally.
23765 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23766 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23768 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23769 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23770 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23771 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23772 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23774 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23799 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23800 Remove conditional code.
23801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23802 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23803 Remove conditional code.
23804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23805 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23806 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23807 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23808 Remove conditional code.
23809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23810 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23811 Remove conditional code.
23812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23813 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23814 Remove conditional code.
23815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23816 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23817 Remove conditional code.
23818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23819 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23820 Remove conditional code.
23821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23822 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23825 * sysdeps/unix/sysv/linux/sigaction.c
23826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23828 * sysdeps/unix/sysv/linux/sigpending.c
23829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23831 * sysdeps/unix/sysv/linux/sigprocmask.c
23832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23834 * sysdeps/unix/sysv/linux/sigsuspend.c
23835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23838 (__libc_missing_rt_sigs): Remove.
23839 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23840 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23841 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23842 Remove conditional code.
23843 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23844 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23846 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23847 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23848 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23849 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23851 2012-05-14 Andreas Jaeger <aj@suse.de>
23853 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23854 it's not used in glibc.
23855 (__coshm1): Likewise.
23856 (__acosh1p): Likewise.
23859 * manual/string.texi (Copying and Concatenation): Add missing
23860 variable in concat example.
23861 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23867 __builtin_clzl with __builtin_clzll.
23869 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23872 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23875 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23877 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23878 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23879 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23880 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23882 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23884 * NEWS: Update ia64 info.
23886 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23888 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23891 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23893 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23894 * sysdeps/unix/syscalls.list (dup3): Likewise.
23895 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23896 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23898 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23900 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23901 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23903 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23905 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23907 (TLS_IE): Use mov/add instead of movq/addq to load thread
23909 (TLS_GD_PREFIX): New.
23912 2012-05-11 David S. Miller <davem@davemloft.net>
23914 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23915 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23916 (_FPU_SETCW): Likewise.
23918 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23920 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23921 is 32-byte aligned.
23923 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23926 * iconvdata/gb18030.c: Update tables.
23927 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23928 characters specially.
23929 (BODY for TO_LOOP): Add encoding of missing ranges.
23931 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23934 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23935 * sysdeps/mach/hurd/dup3.c: Likewise.
23936 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23937 * sysdeps/powerpc/memmove.c:: Likewise.
23939 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23942 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23944 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23946 * elf/elf.h (R_X86_64_RELATIVE64): New.
23947 (R_X86_64_NUM): Updated.
23948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23949 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23950 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23951 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23952 tst-quad1pie tst-quad2pie
23953 (modules-names): Add tst-quadmod1 tst-quadmod2.
23954 ($(objpfx)tst-quad1): New dependency.
23955 ($(objpfx)tst-quad2): Likewise.
23956 ($(objpfx)tst-quad1pie): Likewise.
23957 ($(objpfx)tst-quad2pie): Likewise.
23958 * sysdeps/x86_64/tst-quad1.c: New file.
23959 * sysdeps/x86_64/tst-quad1pie.c: New file.
23960 * sysdeps/x86_64/tst-quad2.c: Likewise.
23961 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23962 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23963 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23964 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23965 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23969 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23970 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23971 * streams/stropts.h (t_scalar_t): Define type.
23973 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23974 (_PATH_PRESERVE): Set to "/var/lib".
23975 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23977 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23980 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23981 if __dir_mkfile succeeded.
23983 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23984 checking for _hurd_dtablesize. Unlock it right after having
23985 finished _hurd_dtable allocation.
23987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23989 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23990 * sysdeps/mach/hurd/configure: Regenerated.
23991 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23992 special-casing to...
23993 * sysdeps/gnu/configure.in: ... this new file.
23994 * sysdeps/unix/sysv/linux/configure: Regenerated.
23995 * sysdeps/gnu/configure: New generated file.
23997 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23998 for Linux: use nsec instead of usec, as well as:
23999 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24000 members of type struct timespec.
24001 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24003 (struct stat64): Likewise.
24004 (_STATBUF_ST_NSEC): New macro.
24005 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24007 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24008 __strtoul_internal rather than strtoul.
24010 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24012 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24017 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24018 which preserves existing values.
24019 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24021 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24023 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24024 TIMEOUT values. Return EINVAL for NFDS values either negative or
24025 greater than FD_SETSIZE.
24027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24029 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24030 allocated, call __vm_protect to finish enabling the existing space, and
24031 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24032 allocate the remainder.
24034 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24036 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24037 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24041 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24042 sysdeps/mach/hurd/readlink.c.
24044 * posix/tst-sysconf.c (posix_options): Only use
24045 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24046 _POSIX_SYNCHRONIZED_IO when they are defined
24047 * sysdeps/mach/hurd/bits/posix_opt.h:
24048 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24049 (_XOPEN_REALTIME): Undefine macro.
24050 (_XOPEN_REALTIME_THREADS): Undefine macro.
24051 (_XOPEN_SHM): Undefine macro.
24052 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24054 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24056 (_POSIX_ASYNC_IO): Undefine macro.
24057 (_POSIX_PRIORITIZED_IO): Undefine macro.
24058 (_POSIX_SPIN_LOCKS): Define macro to -1.
24060 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24061 SA_NODEFER, SA_RESETHAND.
24062 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24063 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24066 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24068 * elf/Makefile (pldd-modules): Define unconditionally.
24070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24072 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24074 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24076 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24077 Return ENOENT when name is empty.
24078 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24080 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24082 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24084 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24088 Fix mlock in all cases except non-readable pages.
24089 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24090 instead of VM_PROT_ALL as parameter to __vm_wire function.
24092 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24093 (__mkdir): When path is `/', just fail with EEXIST.
24094 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24098 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24099 <sys/uio.h> (for writev).
24100 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24101 and <sys/param.h> (for MIN).
24103 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24105 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24106 REQUESTED_TIME. Properly set the remaining time and return EINTR
24109 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24111 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24112 Depend on against $(link-rpcuserlibs).
24114 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24116 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24117 (__libc_stack_end): Do not use attribute_relro.
24118 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24119 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24120 to libthread-provided value.
24121 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24124 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24127 * bits/libc-lock.h (__libc_once_get): New macro.
24128 * sysdeps/mach/bits/libc-lock.h: Likewise.
24129 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24131 instead of using implementation details.
24133 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24134 * libio/freopen.c: Likewise.
24135 * libio/freopen64.c: Likewise.
24136 * misc/syslog.c: Likewise.
24137 * nscd/connections.c: Likewise.
24138 * nscd/netgroupcache.c: Likewise.
24139 * sysdeps/posix/getcwd.c: Likewise.
24141 2012-05-10 Roland McGrath <roland@hack.frob.com>
24143 * math/w_ilogbf.c: Add #include <limits.h>.
24145 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24147 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24148 path instead of returning without unlocking.
24150 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24151 immediate-write ioctls.
24152 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24156 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24157 __builtin_frame_address instead of making assumptions about the
24158 location of the return address relative to DATA. Force early load of
24159 the return address.
24160 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24161 __builtin_frame_address.
24164 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24165 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24166 implement dup3 and do some further code clean-ups.
24167 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24168 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24172 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24174 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24175 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24176 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24177 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24178 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24181 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24182 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24183 when handler == SIG_ERR, not when handler != SIG_ERR.
24185 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24187 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24188 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24191 accept4 for GNU Hurd.
24192 * include/sys/socket.h (__libc_accept4): New prototype.
24193 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24194 to implement __libc_accept4.
24195 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24197 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24199 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24200 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24201 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24202 signal-defines.sym.
24204 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24206 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24210 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24211 assertion on O_CLOEXEC flag.
24212 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24213 * hurd/intern-fd.c: Likewise.
24214 * hurd/port2fd.c: Likewise.
24216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24219 * bits/in.h (IPV6_PKTINFO): Define new macro.
24220 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24222 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24227 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24229 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24230 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24232 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24233 * math/libm-test.inc (logb_test) : Additional logb tests.
24235 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24236 Andreas Jaeger <aj@suse.de>
24238 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24239 * configure: Regenerated.
24240 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24241 * config.make.in (link-obsolete-rpc): New substituted variable.
24242 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24243 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24244 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24245 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24246 so that libc.a contains the symbols.
24247 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24248 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24249 * sunrpc/auth_none.c: Likewise.
24250 * sunrpc/auth_unix.c: Likewise.
24251 * sunrpc/authdes_prot.c: Likewise.
24252 * sunrpc/authuxprot.c: Likewise.
24253 * sunrpc/clnt_gen.c: Likewise.
24254 * sunrpc/clnt_perr.c: Likewise.
24255 * sunrpc/clnt_raw.c: Likewise.
24256 * sunrpc/clnt_simp.c: Likewise.
24257 * sunrpc/clnt_tcp.c: Likewise.
24258 * sunrpc/clnt_udp.c: Likewise.
24259 * sunrpc/clnt_unix.c: Likewise.
24260 * sunrpc/des_crypt.c: Likewise.
24261 * sunrpc/des_soft.c: Likewise.
24262 * sunrpc/get_myaddr.c: Likewise.
24263 * sunrpc/key_call.c: Likewise.
24264 * sunrpc/key_prot.c: Likewise.
24265 * sunrpc/netname.c: Likewise.
24266 * sunrpc/pm_getmaps.c: Likewise.
24267 * sunrpc/pm_getport.c: Likewise.
24268 * sunrpc/pmap_clnt.c: Likewise.
24269 * sunrpc/pmap_prot.c: Likewise.
24270 * sunrpc/pmap_prot2.c: Likewise.
24271 * sunrpc/pmap_rmt.c: Likewise.
24272 * sunrpc/publickey.c: Likewise.
24273 * sunrpc/rpc_cmsg.c: Likewise.
24274 * sunrpc/rpc_common.c: Likewise.
24275 * sunrpc/rpc_dtable.c: Likewise.
24276 * sunrpc/rpc_prot.c: Likewise.
24277 * sunrpc/rpc_thread.c: Likewise.
24278 * sunrpc/rtime.c: Likewise.
24279 * sunrpc/svc.c: Likewise.
24280 * sunrpc/svc_auth.c: Likewise.
24281 * sunrpc/svc_raw.c: Likewise.
24282 * sunrpc/svc_run.c: Likewise.
24283 * sunrpc/svc_tcp.c: Likewise.
24284 * sunrpc/svc_udp.c: Likewise.
24285 * sunrpc/svc_unix.c: Likewise.
24286 * sunrpc/svcauth_des.c: Likewise.
24287 * sunrpc/xcrypt.c: Likewise.
24288 * sunrpc/xdr.c: Likewise.
24289 * sunrpc/xdr_array.c: Likewise.
24290 * sunrpc/xdr_float.c: Likewise.
24291 * sunrpc/xdr_intXX_t.c: Likewise.
24292 * sunrpc/xdr_mem.c: Likewise.
24293 * sunrpc/xdr_rec.c: Likewise.
24294 * sunrpc/xdr_ref.c: Likewise.
24295 * sunrpc/xdr_sizeof.c: Likewise.
24296 * sunrpc/xdr_stdio.c: Likewise.
24298 2012-05-10 Roland McGrath <roland@hack.frob.com>
24300 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24301 change. Update copyright years.
24303 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24305 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24307 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24308 Joseph Myers <joseph@codesourcery.com>
24309 Paul Pluzhnikov <ppluzhnikov@google.com>
24312 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24314 [cross-compiling] (extra-libs): Likewise.
24315 [cross-compiling] (extra-libs-others): Likewise.
24316 [cross-compiling] (librpcsvc-routines): Likewise.
24317 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24318 [cross-compiling] (omit-deps): Likewise.
24319 (sunrpc-CPPFLAGS): New variable.
24320 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24321 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24322 (cross-rpcgen-objs): New variable.
24323 (extra-objs): Append $(cross-rpcgen-objs).
24324 ($(cross-rpcgen-objs)): New rule.
24325 ($(objpfx)cross-rpcgen): Likewise.
24326 (rpcgen-cmd): Define to use $(built-program-file). Expand
24328 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24329 ($(objpfx)x%.stmp): Likewise.
24330 * sunrpc/proto.h [IS_IN_build] (_): Define.
24331 [IS_IN_build] (_libc_intl_domainname): Likewise.
24333 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24336 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24337 and R_X86_64_TPOFF64.
24339 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24341 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24342 sysdeps/unix/sysv/syscalls.list.
24345 * sysdeps/unix/sysv/syscalls.list: Remove file.
24347 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24350 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24351 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24352 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24353 (__LC_IDENTIFICATION): Make these macros useful in #if
24354 expressions, as required by C99.
24356 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24358 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24359 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24362 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24364 * stdlib/longlong.h: Updated from GCC.
24366 2012-05-09 Andreas Jaeger <aj@suse.de>
24368 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24369 default is first entry.
24370 (run_mode): Set type.
24371 (main): Remove informal message about syslog.
24372 (options): Fix typo.
24375 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24378 (llrintf): Likewise.
24379 (llrint): Likewise.
24382 (nearbyint): Likewise.
24383 (nearbyintf): Likewise.
24385 2012-05-09 Andreas Jaeger <aj@suse.de>
24386 Pedro Alves <palves@redhat.com>
24388 * nscd/nscd.c (run_mode): Use enum.
24389 (main): Cleanup coding style issue.
24391 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24392 Andreas Jaeger <aj@suse.de>
24394 * nscd/nscd.c (go_background): Replaced with...
24395 (run_mode): ... this.
24396 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24397 (options): Add -F --foreground.
24398 (main): Implement it.
24399 (parse_opt): Parse it.
24401 2012-05-09 Andreas Jaeger <aj@suse.de>
24404 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24405 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24406 -Wconversion warning.
24407 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24410 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24412 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24414 (LC_ALL): Use macro-int-constant.
24415 (LC_COLLATE): Likewise.
24416 (LC_CTYPE): Likewise.
24417 (LC_MESSAGES): Likewise.
24418 (LC_MONETARY): Likewise.
24419 (LC_NUMERIC): Likewise.
24420 (LC_TIME): Likewise.
24421 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24422 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24424 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24426 [C99-based standards] (float_t): Expect type.
24427 [C99-based standards] (double_t): Expect type.
24428 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24430 [C99-based standards] (HUGE_VALL): Likewise.
24431 [C99-based standards] (INFINITY): Likewise.
24432 [C99-based standards] (NAN): Likewise.
24433 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24434 [C99-based standards] (FP_NAN): Likewise.
24435 [C99-based standards] (FP_NORMAL): Likewise.
24436 [C99-based standards] (FP_SUBNORMAL): Likewise.
24437 [C99-based standards] (FP_ZERO): Likewise.
24438 [C99-based standards] (FP_FAST_FMA): Use
24439 optional-macro-int-constant. Specify type. Require == 1.
24440 [C99-based standards] (FP_FAST_FMAF): Likewise.
24441 [C99-based standards] (FP_FAST_FMAL): Likewise.
24442 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24443 [C99-based standards] (FP_ILOGBNAN): Likewise.
24444 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24446 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24447 [C99-based standards] (math_errhandling): Specify type.
24448 [ISO99 || ISO11] (signgam): Do not allow.
24449 [non-C99-based standards] (copysignf): Do not allow.
24450 [non-C99-based standards] (exp2f): Likewise.
24451 [non-C99-based standards] (log2f): Likewise.
24452 [non-C99-based standards] (modff): Allow.
24453 [non-C99-based standards] (erff): Do not allow.
24454 [non-C99-based standards] (erfcf): Likewise.
24455 [non-C99-based standards] (gammaf): Likewise.
24456 [non-C99-based standards] (hypotf): Likewise.
24457 [non-C99-based standards] (j0f): Likewise.
24458 [non-C99-based standards] (j1f): Likewise.
24459 [non-C99-based standards] (jnf): Likewise.
24460 [non-C99-based standards] (lgammaf): Likewise.
24461 [non-C99-based standards] (tgammaf): Likewise.
24462 [non-C99-based standards] (y0f): Likewise.
24463 [non-C99-based standards] (y1f): Likewise.
24464 [non-C99-based standards] (ynf): Likewise.
24465 [non-C99-based standards] (isnanf): Likewise.
24466 [non-C99-based standards] (acoshf): Likewise.
24467 [non-C99-based standards] (asinhf): Likewise.
24468 [non-C99-based standards] (atanhf): Likewise.
24469 [non-C99-based standards] (cbrtf): Likewise.
24470 [non-C99-based standards] (expm1f): Likewise.
24471 [non-C99-based standards] (ilogbf): Likewise.
24472 [non-C99-based standards] (log1pf): Likewise.
24473 [non-C99-based standards] (logbf): Likewise.
24474 [non-C99-based standards] (nextafterf): Likewise.
24475 [non-C99-based standards] (remainderf): Likewise.
24476 [non-C99-based standards] (rintf): Likewise.
24477 [non-C99-based standards] (scalbf): Likewise.
24478 [non-C99-based standards] (copysignl): Likewise.
24479 [non-C99-based standards] (exp2l): Likewise.
24480 [non-C99-based standards] (log2l): Likewise.
24481 [non-C99-based standards] (modfl): Allow.
24482 [non-C99-based standards] (erfl): Do not allow.
24483 [non-C99-based standards] (erfcl): Likewise.
24484 [non-C99-based standards] (gammal): Likewise.
24485 [non-C99-based standards] (hypotl): Likewise.
24486 [non-C99-based standards] (j0l): Likewise.
24487 [non-C99-based standards] (j1l): Likewise.
24488 [non-C99-based standards] (jnl): Likewise.
24489 [non-C99-based standards] (lgammal): Likewise.
24490 [non-C99-based standards] (tgammal): Likewise.
24491 [non-C99-based standards] (y0l): Likewise.
24492 [non-C99-based standards] (y1l): Likewise.
24493 [non-C99-based standards] (ynl): Likewise.
24494 [non-C99-based standards] (isnanl): Likewise.
24495 [non-C99-based standards] (acoshl): Likewise.
24496 [non-C99-based standards] (asinhl): Likewise.
24497 [non-C99-based standards] (atanhl): Likewise.
24498 [non-C99-based standards] (cbrtl): Likewise.
24499 [non-C99-based standards] (expm1l): Likewise.
24500 [non-C99-based standards] (ilogbl): Likewise.
24501 [non-C99-based standards] (log1pl): Likewise.
24502 [non-C99-based standards] (logbl): Likewise.
24503 [non-C99-based standards] (nextafterl): Likewise.
24504 [non-C99-based standards] (remainderl): Likewise.
24505 [non-C99-based standards] (rintl): Likewise.
24506 [non-C99-based standards] (scalbl): Likewise.
24507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24508 [non-C99-based standards] (FP_*): Do not allow.
24509 [C99-based standards] (FP_*): Change to
24510 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24511 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24513 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24514 (SIG_ERR): Likewise.
24515 [X/Open-based standards] (SIG_HOLD): Likewise.
24516 (SIG_IGN): Likewise.
24517 (SIGABRT): Use macro-int-constant. Specify type. Require
24519 (SIGFPE): Likewise.
24520 (SIGILL): Likewise.
24521 (SIGINT): Likewise.
24522 (SIGSEGV): Likewise.
24523 (SIGTER): Likewise.
24524 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24525 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24526 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24527 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24528 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24529 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24530 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24531 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24532 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24533 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24534 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24535 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24536 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24537 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24538 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24539 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24540 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24541 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24542 [X/Open-based standards] (SIGTRAP): Likewise.
24543 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24544 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24545 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24546 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24547 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24550 2012-05-08 Ian Wienand <ianw@vmware.com>
24553 * time/tzset.c (__tzset_parse_tz): Update default rules for
24554 daylight time changes in the Energy Policy Act of 2005.
24556 2012-05-09 Andreas Jaeger <aj@suse.de>
24559 * elf/ldconfig.c (parse_conf): Change string to make clear that
24560 ldconfig only issued a warning if ld.so.conf does not exist.
24562 2012-05-08 David S. Miller <davem@davemloft.net>
24564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24565 movxtod instead of popping the value on the stack.
24567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24569 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24571 * config.h.in: Add HAVE_ARM_PCS_VFP.
24573 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24576 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24577 checking but the checks are disabled for any reason.
24579 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24581 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24582 and ELF64_R_TYPE with ELFW(R_TYPE).
24584 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24586 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24587 (ulimit): Likewise.
24589 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24590 (settimeofday): Likewise.
24592 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24594 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24595 a struct th_u2 inside the union, and move tu_block/tu_code into
24596 a new th_u3 union of tu_block/tu_code inside of that. Move
24597 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24598 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24599 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24600 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24601 (th_stuff): Change to th_u1.tu_stuff.
24603 (th_msg): Change to th_u1.th_u2.tu_data.
24605 2012-05-07 David S. Miller <davem@davemloft.net>
24607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24610 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24611 (SETUP_PIC_REG): Use it.
24612 (SETUP_PIC_REG_LEAF): Use it.
24614 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24618 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24620 (EXPL_FINITE): Likewise.
24621 (FLDLOG): Likewise.
24622 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24623 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24625 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24627 (EXPL_FINITE): Likewise.
24628 (FLDLOG): Likewise.
24629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24630 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24632 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24633 test of -max_value argument for long double.
24634 * sysdeps/i386/fpu/libm-test-ulps: Update.
24635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24637 2012-05-06 David S. Miller <davem@davemloft.net>
24639 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24640 quad soft-float symbols whose references which are compiler
24642 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24644 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24648 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24650 (EXPL_FINITE): Likewise.
24651 (FLDLOG): Likewise.
24654 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24655 Adjust comments for base varying.
24656 (__expl_finite): Change alias to EXPL_FINITE.
24657 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24659 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24660 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24662 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24663 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24665 (EXPL_FINITE): Likewise.
24666 (FLDLOG): Likewise.
24669 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24670 Adjust comments for base varying.
24671 (__expl_finite): Change alias to EXPL_FINITE.
24672 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24677 * math/libm-test.inc (check_float_internal): Correct ulp
24678 calculation for subnormal expected results.
24680 2012-05-06 Andreas Jaeger <aj@suse.de>
24682 * Makeconfig (+math-flags): New, set to -frounding-math.
24683 (+cflags): Add +math-flags so that all of glibc gets compiled with
24686 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24688 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24690 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24696 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24697 (__ieee754_expl): Allow for and saturate large arguments.
24698 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24699 (u_threshold): Likewise.
24700 (__exp): Call __ieee754_exp before checking for overflow and
24702 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24703 (u_threshold): Likewise.
24704 (__expf): Call __ieee754_expf before checking for overflow and
24706 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24707 (u_threshold): Likewise.
24708 (__expl): Call __ieee754_expl before checking for overflow and
24710 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24711 (__ieee754_expl): Allow for and saturate large arguments.
24712 * math/libm-test.inc (exp_test): Add another test. Do not allow
24713 missing overflow exception on overflow.
24714 (expm1_test): Do not allow missing overflow exception on overflow.
24716 * sysdeps/i386/fpu/e_expl.c: Move to ...
24717 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24718 rather than using inline asm.
24719 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24720 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24721 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24723 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24726 (signal): Likewise.
24730 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24732 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24733 sysdeps/unix/common/syscalls.list.
24734 (fchmod): Likewise.
24735 (fchown): Likewise.
24736 (ftruncate): Likewise.
24737 (getrusage): Likewise.
24738 (gettimeofday): Likewise.
24739 (setpgid): Likewise.
24740 (setregid): Likewise.
24741 (setreuid): Likewise.
24742 (sigaction): Likewise.
24743 (truncate): Likewise.
24744 (vhangup): Likewise.
24745 * sysdeps/unix/common/syscalls.list: Remove file.
24746 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24747 * sysdeps/unix/sysv/linux/Implies: Likewise.
24749 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24751 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24753 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24757 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24760 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24763 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24766 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24769 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24772 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24775 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24779 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24783 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24786 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24790 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24794 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24796 * sysdeps/unix/common/bits/dirent.h: Remove file.
24797 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24799 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24800 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24801 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24802 * sysdeps/unix/bsd/isatty.c: Likewise.
24803 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24804 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24805 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24807 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24811 long double comparison inaccuracies.
24812 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24815 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24817 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24818 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24820 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24823 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24824 nonzero digits before rounding a hex value.
24825 * stdlib/tst-strtod.c (tests): Add another test.
24827 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24829 * sysdeps/s390/fpu/libm-test-ulps: Update.
24831 2012-05-03 Andreas Jaeger <aj@suse.de>
24833 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24834 does not get optimized out.
24835 (malloc_opt_barrier): New.
24837 2012-05-03 Andreas Jaeger <aj@suse.de>
24838 Roland McGrath <roland@hack.frob.com>
24840 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24841 intermediate file deletion.
24842 (generated): Add .symlist files.
24844 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24847 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24848 Redirect under this condition.
24849 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24850 [__USE_GNU] (__dprintf_chk): Not under this condition.
24851 [__USE_GNU] (__vdprintf_chk): Likewise.
24852 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24853 under this condition.
24854 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24855 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24856 [__USE_XOPEN2K8] (vdprintf): Likewise.
24857 [__USE_GNU] (__dprintf_chk): Not under this condition.
24858 [__USE_GNU] (__vdprintf_chk): Likewise.
24859 [__USE_GNU] (dprintf): Likewise.
24860 [__USE_GNU] (vdprintf): Likewise.
24862 2012-05-03 Roland McGrath <roland@hack.frob.com>
24864 * elf/Makefile (common-generated): Set this instead of generated for
24865 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24866 $(all-built-dso)-derived lists.
24868 2012-05-03 Andreas Jaeger <aj@suse.de>
24870 * sysdeps/i386/fpu/libm-test-ulps: Update.
24873 * FAQ.in: Likewise.
24874 * scripts/gen-FAQ.pl: Likewise.
24875 * manual/install.texi (Installation): Point to online location of
24877 * Makefile (files-for-dist): Remove FAQ.
24880 2012-05-02 Allan McRae <allan@archlinux.org>
24882 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24883 (LDFLAGS-reldepmod5.so): Likewise.
24884 (LDFLAGS-reldep6mod1.so): Likewise.
24885 (LDFLAGS-reldep6mod4.so): Likewise.
24886 (LDFLAGS-reldep8mod3.so): Likewise.
24887 (LDFLAGS-unload4mod1.so): Likewise.
24888 (LDFLAGS-unload4mod2.so): Likewise.
24889 (LDFLAGS-tst-initorder): Likewise.
24890 (LDFLAGS-tst-initordera2.so): Likewise.
24891 (LDFLAGS-tst-initordera3.so): Likewise.
24892 (LDFLAGS-tst-initordera4.so): Likewise.
24893 (LDFLAGS-tst-initorderb2.so): Likewise.
24894 (LDFLAGS-noload): Likewise.
24895 (LDFLAGS-next): Likewise.
24896 (LDFLAGS-order2mod1.so): Likewise.
24897 (LDFLAGS-order2mod2.so): Likewise.
24898 (LDFLAGS-tst-initorder2): Likewise.
24899 (LDFLAGS-tst-initorder2a.so): Likewise.
24900 (LDFLAGS-tst-initorder2b.so): Likewise.
24901 (LDFLAGS-tst-initorder2c.so): Likewise.
24902 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24904 2012-05-02 David S. Miller <davem@davemloft.net>
24906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24908 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24911 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24913 2012-05-02 Andreas Jaeger <aj@suse.de>
24915 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24916 since we manipulate rounding mode.
24917 (CPPFLAGS-test-idouble.c): Likewise.
24918 (CPPFLAGS-test-ifloat.c): Likewise.
24919 (CFLAGS-test-ldouble.c): Likewise.
24920 (CFLAGS-test-double.c): Likewise.
24921 (CFLAGS-test-float.c): Likewise.
24922 (CFLAGS-test-misc.c): Likewise.
24923 (CFLAGS-test-test-fenv.c): Likewise.
24925 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24929 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24930 comparisons to determine direction to adjust input.
24932 2012-05-01 Roland McGrath <roland@hack.frob.com>
24934 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24935 output to the target.
24937 * scripts/localplt.awk: New file.
24938 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24939 (check-localplt-CFLAGS): Variable removed.
24940 ($(all-built-dso:=.jmprel)): New static pattern rule.
24941 (generated): Add those targets.
24942 (localplt-built-dso): New variable.
24943 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24945 * elf/check-localplt.c: File removed.
24947 * scripts/check-execstack.awk: New file.
24948 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24949 (check-execstack-CFLAGS): Variable removed.
24950 ($(objpfx)check-execstack.h): Target removed.
24951 ($(objpfx)execstack-default): New target.
24952 (generated): Add that instead of check-execstack.h.
24953 ($(all-built-dso:=.phdr)): New static pattern rule.
24954 (generated): Add those targets.
24955 * elf/check-execstack.c: File removed.
24957 * scripts/check-textrel.awk: New file.
24958 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24959 (check-textrel-CFLAGS): Variable removed.
24960 (all-built-dso): Use := to define.o
24961 ($(all-built-dso:=.dyn)): New static pattern rule.
24962 (generated): Add those targets.
24963 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24964 * config.make.in (READELF): New substituted variable.
24965 * elf/check-textrel.c: File removed.
24967 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24969 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24971 * conform/data/ctype.h-data [C99-based standards] (isblank):
24973 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24974 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24975 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24976 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24977 Specify type. Require positive value.
24978 (EILSEQ): Likewise.
24979 (ERANGE): Likewise.
24980 [ISO || POSIX] (EILSEQ): Do not expect.
24981 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24982 Specify type. Require positive value.
24983 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24984 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24985 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24986 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24987 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24988 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24989 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24990 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24991 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24992 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24993 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24994 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24995 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24996 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24997 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24998 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24999 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25000 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25001 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25002 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25003 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25004 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25005 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25006 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25007 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25008 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25009 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25010 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25011 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25012 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25013 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25014 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25015 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25016 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25017 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25018 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25019 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25020 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25021 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25022 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25023 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25024 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25025 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25026 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25027 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25028 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25029 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25030 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25031 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25032 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25033 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25034 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25035 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25036 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25037 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25038 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25039 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25040 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25041 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25042 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25043 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25044 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25045 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25046 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25047 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25048 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25049 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25050 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25051 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25052 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25053 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25054 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25055 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25056 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25057 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25058 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25059 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25061 (FLT_ROUNDS): Expect as macro, not constant.
25062 (FLT_MANT_DIG): Use macro-int-constant.
25063 (DBL_MANT_DIG): Likewise.
25064 (LDBL_MANT_DIG): Likewise.
25065 (FLT_DIG): Likewise.
25066 (DBL_DIG): Likewise.
25067 (LDBL_DIG): Likewise.
25068 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25069 (DBL_MIN_EXP): Likewise.
25070 (LDBL_MIN_EXP): Likewise.
25071 (FLT_MAX_EXP): Use macro-int-constant.
25072 (DBL_MAX_EXP): Likewise.
25073 (LDBL_MAX_EXP): Likewise.
25074 (FLT_MAX_10_EXP): Likewise.
25075 (DBL_MAX_10_EXP): Likewise.
25076 (LDBL_MAX_10_EXP): Likewise.
25077 (FLT_MAX): Use macro-constant.
25078 (DBL_MAX): Likewise.
25079 (LDBL_MAX): Likewise.
25080 (FLT_EPSILON): Use macro-constant. Give upper bound.
25081 (DBL_EPSILON): Likewise.
25082 (LDBL_EPSILON): Likewise.
25083 (FLT_MIN): Likewise.
25084 (DBL_MIN): Likewise.
25085 (LDBL_MIN): Likewise.
25086 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25087 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25088 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25089 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25090 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25091 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25092 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25093 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25094 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25095 [ISO11] (FLT_TRUE_MIN): Likewise.
25096 [ISO11] (LDBL_TRUE_MIN): Likewise.
25097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25098 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25099 (SCHAR_MIN): Use macro-int-constant. Specify type.
25100 (SCHAR_MAX): Likewise.
25101 (UCHAR_MAX): Likewise.
25102 (CHAR_MIN): Likewise.
25103 (CHAR_MAX): Likewise.
25104 (MB_LEN_MAX): Use macro-int-constant.
25105 (SHRT_MIN): Use macro-int-constant. Specify type.
25106 (SHRT_MAX): Likewise.
25107 (USHRT_MAX): Likewise.
25108 (INT_MAX): Likewise.
25109 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25111 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25113 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25115 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25116 bound negative. Suffix upper bound with "L".
25117 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25119 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25121 [C99-based standards] (LLONG_MAX): Likewise.
25122 [C99-based standards] (ULLONG_MAX): Likewise.
25123 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25125 [ISO11] (max_align_t): Require type.
25126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25128 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25129 from $CFLAGS, without defining away __attribute__ calls.
25130 (checknamespace): Use $CFLAGS_namespace.
25132 * conform/conformtest.pl (@keywords): Only include C99 keywords
25133 for standards based on C99 or C11.
25135 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25137 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25140 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25141 usability of symbols in #if.
25143 * conform/conformtest.pl: If macro or constant types start
25144 "promoted:", expect the symbol to be of the following type
25145 promoted by the integer promotions.
25147 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25148 in one place. Also handle "macro-constant".
25150 * conform/conformtest.pl: Only accept expected macro values with
25151 "==". Parse all "macro" lines in one place.
25152 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25154 * conform/conformtest.pl: Handle braced types on "constant" lines
25155 instead of handling "typed-constant".
25156 * conform/data/signal.h-data: Use "constant" instead of
25159 * conform/conformtest.pl: Handle "optional-" at start of lines in
25160 one place rather than duplicating several cases. Handle each
25161 format of "macro" line with initial "optional-".
25163 * conform/conformtest.pl: Only accept expected constant or
25164 optional-constant values with "==". Parse all "constant" lines in
25165 one place. Parse all "optional-constant" lines in one place.
25166 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25167 * conform/data/fmtmsg.h-data: Likewise.
25168 * conform/data/netinet/in.h-data: Likewise.
25169 * conform/data/tar.h-data: Likewise.
25170 * conform/data/limits.h-data: Use "==" form on "constant" and
25171 "optional-constant" lines.
25173 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25174 Use -std=c99 for XOPEN2K.
25175 (@knownproblems): Remove.
25176 (newtoken): Don't check %isknown.
25178 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25179 Do not expect macro.
25180 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25181 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25182 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25183 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25184 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25185 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25186 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25187 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25188 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25189 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25190 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25191 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25192 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25193 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25194 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25195 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25196 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25197 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25198 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25199 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25200 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25201 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25202 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25203 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25204 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25205 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25206 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25207 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25208 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25209 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25210 [XPG3] (acosh): Likewise.
25211 [XPG3] (asinh): Likewise.
25212 [XPG3] (atanh): Likewise.
25213 [XPG3] (cbrt): Likewise.
25214 [XPG3] (expm1): Likewise.
25215 [XPG3] (ilogb): Likewise.
25216 [XPG3] (log1p): Likewise.
25217 [XPG3] (logb): Likewise.
25218 [XPG3] (nextafter): Likewise.
25219 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25220 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25221 [XPG3] (remainder): Likewise.
25222 [XPG3] (rint): Likewise.
25223 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25224 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25225 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25226 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25227 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25228 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25229 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25230 [UNIX98 || XOPEN2K] (scalb): Expect.
25231 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25232 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25233 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25234 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25235 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25236 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25237 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25238 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25239 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25240 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25241 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25242 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25243 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25244 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25245 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25246 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25247 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25248 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25249 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25250 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25251 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25252 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25253 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25254 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25255 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25256 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25257 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25258 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25259 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25260 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25261 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25262 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25263 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25264 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25265 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25266 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25267 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25268 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25269 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25270 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25271 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25272 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25273 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25274 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25275 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25276 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25277 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25278 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25279 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25280 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25281 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25282 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25283 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25284 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25285 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25286 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25287 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25288 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25289 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25290 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25291 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25292 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25293 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25294 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25295 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25296 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25297 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25298 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25299 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25300 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25301 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25302 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25303 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25304 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25305 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25306 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25307 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25308 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25309 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25310 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25311 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25312 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25313 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25314 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25315 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25316 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25317 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25318 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25319 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25320 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25321 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25322 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25323 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25324 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25325 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25326 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25327 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25328 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25329 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25330 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25331 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25332 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25333 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25334 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25335 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25336 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25337 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25338 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25339 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25340 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25341 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25342 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25343 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25344 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25345 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25346 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25347 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25348 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25349 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25350 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25351 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25352 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25353 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25354 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25355 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25356 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25357 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25358 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25359 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25360 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25361 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25362 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25363 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25364 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25365 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25366 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25367 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25369 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25370 _XOPEN_SOURCE_EXTENDED for XPG4.
25372 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25374 * Makeconfig (localtime): Remove variable.
25375 (inst_localtime-file): Likewise.
25377 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25398 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25402 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25403 comparisons to determine direction to adjust input.
25404 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25405 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25406 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25408 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25410 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25415 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25417 * math/libm-test.inc (nexttoward_test): Add more tests.
25419 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25422 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25423 in version GLIBC_2.1, not GLIBC_2.0.
25424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25427 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25430 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25432 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25433 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25434 * math/libm-test.inc (acos_test): Add more tests.
25435 (asin_test): Likewise.
25436 * sysdeps/i386/fpu/libm-test-ulps: Update.
25437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25440 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25442 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25443 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25444 * math/libm-test.inc (acos_test_tonearest): New function.
25445 (acos_test_towardzero): Likewise.
25446 (acos_test_downward): Likewise.
25447 (acos_test_upward): Likewise.
25448 (asin_test_tonearest): Likewise.
25449 (asin_test_towardzero): Likewise.
25450 (asin_test_downward): Likewise.
25451 (asin_test_upward): Likewise.
25452 (main): Call the new functions.
25453 * sysdeps/i386/fpu/libm-test-ulps: Update.
25454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25458 * math/e_exp10.c: Include <float.h>.
25459 (__ieee754_exp10): Handle underflow here rather than multiplying
25460 large negative argument by M_LN10.
25461 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25463 * math/e_exp10l.c: Include <float.h>.
25464 (__ieee754_exp10l): Handle underflow here rather than multiplying
25465 large negative argument by M_LN10l.
25466 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25467 spurious overflow exception on underflow.
25469 2012-04-29 Marek Polacek <polacek@redhat.com>
25471 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25472 (__fortify_function): New macro.
25473 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25474 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25475 __extern_always_inline.
25476 * libio/bits/stdio2.h: Likewise.
25477 * libio/bits/stdio.h: Likewise.
25478 * string/string.h: Likewise.
25479 * string/bits/string3.h: Likewise.
25480 * include/stdio.h: Likewise.
25481 * stdlib/bits/stdlib.h: Likewise.
25482 * stdlib/stdlib.h: Likewise.
25483 * rt/bits/mqueue2.h: Likewise.
25484 * rt/mqueue.h: Likewise.
25485 * posix/bits/unistd.h: Likewise.
25486 * posix/unistd.h: Likewise.
25487 * io/bits/poll2.h: Likewise.
25488 * io/bits/fcntl2.h: Likewise.
25489 * io/fcntl.h: Likewise.
25490 * io/sys/poll.h: Likewise.
25491 * misc/bits/syslog.h: Likewise.
25492 * misc/bits/syslog-ldbl.h: Likewise.
25493 * misc/sys/syslog.h: Likewise.
25494 * socket/bits/socket2.h: Likewise.
25495 * socket/sys/socket.h: Likewise.
25496 * debug/tst-chk1.c: Likewise.
25497 * wcsmbs/bits/wchar2.h: Likewise.
25498 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25499 * wcsmbs/wchar.h: Likewise.
25501 2012-04-29 Andreas Jaeger <aj@suse.de>
25503 * Makerules (tests): Remove enable-check-abi protection.
25504 (check-abi-warn): Remove.
25505 (check-abi-%): Remove check-abi-warn usage.
25507 * configure.in: Remove check-abi configure option.
25508 * configure: Regenerated.
25509 * config.make.in (enable-check-abi): Remove.
25511 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25514 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25515 double functions to double *_finite functions.
25518 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25519 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25521 * stdio-common/Makefile (tests): Add tst-sprintf3.
25522 * stdio-common/tst-sprintf3.c: New file.
25524 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25525 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25527 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25529 * conform/conformtest.pl: Remove duplicate typed-constant
25532 2012-04-28 David S. Miller <davem@davemloft.net>
25534 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25535 (check-abi-%): Remove AWK script prerequisite and explicit
25537 (check-abi): Rewrite to just diff the symlist with the abilist.
25538 (config-tls, config-abi-config): Delete, no longer used.
25539 (update-abi-%): Remove AWK script and explicit abilist directory.
25540 (update-abi): Rewrite to simply compare and conditionally copy the
25541 symlist and the sysdep abilist file. Remove update-abi-config
25543 * abilist/ld.abilist: Remove.
25544 * abilist/libBrokenLocale.abilist: Remove.
25545 * abilist/libanl.abilist: Remove.
25546 * abilist/libcrypt.abilist: Remove.
25547 * abilist/libdl.abilist: Remove.
25548 * abilist/librt.abilist: Remove.
25549 * abilist/libthread_db.abilist: Remove.
25550 * abilist/libutil.abilist: Remove.
25551 * scripts/extract-abilist.awk: Remove.
25552 * scripts/merge-abilist.awk: Remove.
25553 * sysdeps/generic/libcidn.abilist: New file.
25554 * sysdeps/generic/libnss_compat.abilist: New file.
25555 * sysdeps/generic/libnss_db.abilist: New file.
25556 * sysdeps/generic/libnss_dns.abilist: New file.
25557 * sysdeps/generic/libnss_files.abilist: New file.
25558 * sysdeps/generic/libnss_hesiod.abilist: New file.
25559 * sysdeps/generic/libnss_nis.abilist: New file.
25560 * sysdeps/generic/libnss_nisplus.abilist: New file.
25561 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25562 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25563 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25566 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25567 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25568 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25569 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25570 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25571 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25572 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25573 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25575 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25576 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25577 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25578 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25580 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25581 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25582 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25583 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25584 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25585 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25587 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25588 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25589 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25591 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25694 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25695 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25696 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25699 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25700 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25701 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25702 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25703 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25704 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25705 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25706 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25707 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25759 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25761 * conform/conformtest.pl: Fix typo in handling typed-constant from
25764 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25766 * README: Cut down references to pre-2.6 Linux kernels and
25767 Linuxthreads. Update lists of configurations in libc and ports
25768 and sort alphabetically. Say "or newer" with Linux kernel version
25771 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25773 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25776 * math/libm-test.inc (logb_test_downward): New test to expose
25777 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25780 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25783 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25785 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25786 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25788 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25790 * sysdeps/unix/i386/brk.S: Remove file.
25791 * sysdeps/unix/i386/dl-brk.S: Likewise.
25792 * sysdeps/unix/i386/pipe.S: Likewise.
25793 * sysdeps/unix/i386/sigreturn.S: Likewise.
25794 * sysdeps/unix/i386/syscall.S: Likewise.
25795 * sysdeps/unix/i386/vfork.S: Likewise.
25796 * sysdeps/unix/i386/wait.S: Likewise.
25798 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25799 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25801 * configure.in (arm*-none*): Do not allow without
25802 --enable-hacker-mode.
25803 (netbsd*): Remove case setting base_os.
25804 (386bsd*): Likewise.
25805 (freebsd*): Likewise.
25808 (sunos*): Likewise.
25809 (ultrix*): Likewise.
25810 (newsos*): Likewise.
25811 (dynix*): Likewise.
25817 (minix*): Likewise.
25818 (irix4*): Likewise.
25819 (irix6*): Likewise.
25820 (solaris[2-9]*): Likewise.
25822 * configure: Regenerated.
25824 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25827 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25828 overflow or cancellation in calculating denominator.
25829 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25830 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25831 down expression to avoid unexpected rounding in newer GCCs.
25832 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25834 2012-04-26 David S. Miller <davem@davemloft.net>
25836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25837 long-double compat symbols.
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25852 2012-04-25 David S. Miller <davem@davemloft.net>
25854 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25855 HWCAP_* values only after the memory barriers have been defined.
25856 (atomic_full_barrier): Define.
25857 (atomic_read_barrier): Define.
25858 (atomic_write_barrier): Define.
25860 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25862 * shlib-versions: Add libgcc_s version information.
25863 * sysdeps/generic/libgcc_s.h: Remove.
25864 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25866 * sysdeps/gnu/unwind-resume.c: Likewise.
25867 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25869 2012-04-25 David S. Miller <davem@davemloft.net>
25871 * sysdeps/unix/sparc/brk.S: Delete.
25872 * sysdeps/unix/sparc/dl-brk.S: Delete.
25873 * sysdeps/unix/sparc/pipe.S: Delete.
25874 * sysdeps/unix/sparc/sysdep.S: Delete.
25875 * sysdeps/unix/sparc/sysdep.h: Delete.
25876 * sysdeps/unix/sparc/vfork.S: Delete.
25877 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25878 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25880 ret_ERRVAL, r0, r1, MOVE): Define.
25881 (JUMPTARGET): Remove.
25882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25883 sysdeps/unix/sparc/sysdep.h
25884 (ENTRY, END): Remove.
25885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25887 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25889 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25890 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25893 * timezone/README: Update upstream location and email address for
25895 * timezone/zdump.c: Update from tzcode 2012b.
25896 * timezone/zic.c: Likewise.
25898 * configure.in (libc_cv_as_needed): Remove test.
25899 * configure: Regenerated.
25900 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25901 conditional definition.
25902 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25903 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25904 * config.make.in (have-as-needed): Remove variable.
25906 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25907 Paul Pluzhnikov <ppluzhnikov@google.com>
25909 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25912 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25914 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25915 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25916 * sysdeps/sh/strlen.S: Likewise.
25918 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25920 * sysdeps/unix/fork.S: Remove file.
25921 * sysdeps/unix/i386/fork.S: Likewise.
25922 * sysdeps/unix/sparc/fork.S: Likewise.
25924 * sysdeps/unix/system.c: Remove file.
25925 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25927 * sysdeps/unix/getegid.S: Remove file.
25928 * sysdeps/unix/geteuid.S: Likewise.
25930 2012-04-24 Roland McGrath <roland@hack.frob.com>
25932 * scripts/check-localplt.awk: New file.
25933 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25935 * scripts/data/localplt-generic.data: Add a comment.
25937 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25938 NODE when __dir_mkfile failed.
25939 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25940 Reported by Ludovic Courtès <ludo@gnu.org>.
25942 2012-04-24 Andreas Jaeger <aj@suse.de>
25944 * Makerules (common-clean): Also remove gen-as-const-headers
25947 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25949 * Makerules (native-compile): Do not change working directory for
25950 build. Use $(OUTPUT_OPTION) in command.
25951 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25953 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25956 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25957 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25958 * math/libm-test.inc (floor_test): Add more tests.
25959 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25961 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25963 * sysdeps/unix/getdents.c: Remove file.
25964 * sysdeps/unix/sysv/getdents.c: Likewise.
25965 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25967 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25968 sysdeps/unix/mman/syscalls.list.
25970 (mprotect): Likewise.
25972 (munmap): Likewise.
25973 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25974 * sysdeps/unix/mman/syscalls.list: Remove.
25975 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25977 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25978 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25979 * configure: Regenerated.
25980 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25981 $(libgcc_s_suffix).
25982 * config.make.in (libgcc_s_suffix): Remove variable.
25984 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25986 * sysdeps/unix/sysv/gethostname.c: Move to ...
25987 * sysdeps/posix/gethostname.c: ... here.
25989 * sysdeps/unix/execve.S: Remove file.
25991 * sysdeps/unix/_exit.S: Remove file.
25993 2012-04-23 Andreas Jaeger <aj@suse.de>
25996 * manual/Makefile: Remove make dist support, there's no
25997 need for a stand-alone documentation tar ball.
25998 (TEXI2DVI): Define always, it's not in Makeconfig.
26001 (edition): Removed.
26002 (glibc-doc-$(edition).tar): Removed
26006 (ETAGS): Remove, it's in Makeconfig.
26007 (move-if-change): Remove, it's in Makeconfig.
26009 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26012 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26013 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26014 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26015 (strtod_l, strtof_l, strtold_l): Remove __wur.
26016 It is not necessarily an error to ignore strtol's return value.
26017 One can reliably look at the stored endptr to decide whether
26018 the number had valid syntax.
26020 2012-04-21 Andreas Jaeger <aj@suse.de>
26023 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26025 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26027 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26028 * sysdeps/unix/sysv/Versions: Remove file.
26030 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26035 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26039 version from __vm86.
26041 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26043 * sysdeps/unix/common/lxstat.c: Remove file.
26044 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26046 * sysdeps/unix/sysv/Makefile: Remove file.
26048 * sysdeps/unix/sysv/direct.h: Remove file.
26050 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26051 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26052 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26053 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26054 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26055 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26056 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26058 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26060 * sysdeps/unix/xmknod.c: Remove file.
26061 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26063 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26065 * sysdeps/unix/sysv/i386/time.S: Remove file.
26067 * sysdeps/unix/fxstat.c: Remove file.
26068 * sysdeps/unix/xstat.c: Likewise.
26069 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26071 * sysdeps/unix/sysv/sigaction.c: Remove file.
26073 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26074 (sysdep_headers): Remove variable.
26075 [termio.h not in sysdep_headers] (generated): Likewise.
26076 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26077 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26078 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26079 * sysdeps/unix/sysv/tcflow.c: Likewise.
26080 * sysdeps/unix/sysv/tcflush.c: Likewise.
26081 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26082 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26083 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26084 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26085 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26087 * sysdeps/unix/siglist.c: Remove file.
26089 * sysdeps/unix/getppid.S: Remove file.
26091 * sysdeps/unix/mkdir.c: Remove file.
26092 * sysdeps/unix/rmdir.c: Likewise.
26094 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26096 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26098 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26099 errlist-compat value.
26101 2012-04-18 David S. Miller <davem@davemloft.net>
26103 * sysdeps/generic/memcopy.h (reg_char): Delete.
26104 * debug/strcat_chk.c: Use char, not reg_char.
26105 * debug/strcpy_chk.c: Likewise.
26106 * debug/strncat_chk.c: Likewise.
26107 * debug/strncpy_chk.c: Likewise.
26108 * string/memchr.c: Likewise.
26109 * string/memrchr.c: Likewise.
26110 * string/rawmemchr.c: Likewise.
26111 * string/strcat.c: Likewise.
26112 * string/strchr.c: Likewise.
26113 * string/strchrnul.c: Likewise.
26114 * string/strcmp.c: Likewise.
26115 * string/strcpy.c: Likewise.
26116 * string/strncat.c: Likewise.
26117 * string/strncmp.c: Likewise.
26118 * string/strncpy.c: Likewise.
26120 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26122 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26123 __builtin_memcopy is called when src and dest ranges are known to not
26126 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26128 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26129 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26130 fwd_align_merge macro call.
26131 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26132 bwd_align_merge macro call.
26133 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26135 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26137 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26138 bwd_align_merge macros.
26139 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26140 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26141 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26143 2012-04-18 David S. Miller <davem@davemloft.net>
26145 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26147 2012-04-18 Andreas Jaeger <aj@suse.de>
26150 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26151 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26152 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26154 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26155 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26158 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26159 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26160 Adjust for changed ldbl-128 files.
26162 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26163 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26164 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26166 2012-04-17 David S. Miller <davem@davemloft.net>
26168 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26170 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26172 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26173 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26174 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26175 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26176 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26177 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26179 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26182 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26183 * math/libm-test.inc: Add ilogb errno and exception tests.
26184 * math/w_ilogb.c: New file: ilogb wrapper.
26185 * math/w_ilogbf.c: New file: ilogbf wrapper.
26186 * math/w_ilogbl.c: New file: ilogbl wrapper.
26187 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26188 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26189 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26190 exception being thrown with 0.0 as argument.
26191 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26192 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26193 exception being thrown with 0.0 as argument.
26194 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26195 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26196 exception being thrown with 0.0 as argument.
26197 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26198 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26199 exception being thrown with 0.0 as argument.
26200 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26201 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26203 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26204 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26205 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26206 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26207 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26208 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26210 2012-04-17 Petr Baudis <pasky@ucw.cz>
26212 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26215 2012-04-16 Marek Polacek <polacek@redhat.com>
26217 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26219 2012-04-16 Marek Polacek <polacek@redhat.com>
26221 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26222 operands of fdivp instruction.
26224 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26226 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26227 * elf/tst-auditmod3b.c: Likewise.
26228 * elf/tst-auditmod4b.c: Likewise.
26229 * elf/tst-auditmod5b.c: Likewise.
26230 * elf/tst-auditmod6b.c: Likewise.
26231 * elf/tst-auditmod6c.c: Likewise.
26232 * elf/tst-auditmod7b.c: Likewise.
26233 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26234 * sysdeps/x86_64/preconfigure.in: Likewise.
26235 * sysdeps/x86_64/preconfigure: Regenerated.
26237 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26239 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26242 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26245 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26247 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26250 * locale/iso-639.def: Fix gl language name. Spotted by
26253 2012-04-12 Roland McGrath <roland@hack.frob.com>
26256 * libio/libio.h (__io_write_fn): Update comment.
26258 2012-04-12 Petr Baudis <pasky@ucw.cz>
26261 * stdio.texi (Hook Functions): The user provided writer function
26262 is not allowed to return -1.
26264 2012-04-11 David S. Miller <davem@davemloft.net>
26266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26268 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26270 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26271 Add a leading slash to rtkaio.
26273 2012-04-11 Jim Meyering <meyering@redhat.com>
26276 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26277 It is not necessarily an error to ignore fwrite's return
26278 value. One can reliably use ferror to test for errors after
26281 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26283 * bits/types.h (__snseconds_t): New type.
26284 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26286 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26288 (__SNSECONDS_T_TYPE): Likewise.
26289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26290 (__SNSECONDS_T_TYPE): Likewise.
26291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26292 (__SNSECONDS_T_TYPE): Likewise.
26294 2012-04-10 Andreas Jaeger <aj@suse.de>
26297 * manual/time.texi (Processor Time): Return type of times is
26298 elapsed real time since an arbitrary point in the past.
26299 (CPU Time): Move CLK_TCK from here...
26300 (Processor Time): ...to here. Correct description.
26301 * manual/conf.texi (Constants for Sysconf): Correct description of
26304 2012-04-10 David S. Miller <davem@davemloft.net>
26307 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26308 where the is a gap between DT_REL(A) and DT_JMPREL.
26310 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26312 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26313 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26314 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26316 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26318 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26319 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26320 (dl_main): Handle --inhibit-cache.
26321 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26323 * elf/dl-load.c (_dl_map_object): Use it.
26324 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26326 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26329 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26330 (__ieee754_powl): Saturate large exponents rather than testing for
26331 overflow of y*log2(x).
26332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26333 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26337 * math/s_ctan.c: Include <float.h>.
26338 (__ctan): Avoid internal overflow or cancellation in calculating
26340 * math/s_ctanf.c: Likewise.
26341 * math/s_ctanl.c: Likewise.
26342 * math/s_ctanh.c: Likewise.
26343 * math/s_ctanhf.c: Likewise.
26344 * math/s_ctanhl.c: Likewise.
26345 * math/libm-test.inc (ctan_test): Add more tests.
26346 (ctanh_test): Likewise.
26347 * sysdeps/i386/fpu/libm-test-ulps: Update.
26348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26350 2012-04-09 Andreas Jaeger <aj@suse.de>
26353 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26354 is an optional BSD extension.
26357 * manual/stdio.texi (Opening Streams): Document additional fopen
26360 2012-04-09 Roland McGrath <roland@hack.frob.com>
26362 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26363 %eax without telling the compiler.
26365 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26368 * manual/install.texi: Use sourceware.org.
26370 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26373 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26374 (__ieee754_pow): Generate overflow and underflow using huge*huge
26375 and tiny*tiny rather than just returning constant infinity or zero
26376 for large exponents.
26377 * math/libm-test.inc (pow_test): Require overflow exceptions for
26378 applicable cases of large exponents.
26381 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26382 (__ieee754_pow): Use iterative multiplication algorithm only for
26383 integer exponents with absolute value below 1024. Check for odd
26384 integer exponents when using algorithm for real exponents.
26385 * math/libm-test.inc (pow_test): Add more tests.
26386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26388 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26391 * math/libm-test.inc (exp_test): Do not allow overflow exception
26394 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26397 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26398 instead of __kernel_standard_f.
26400 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26402 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26403 * sysdeps/x86_64/memset_chk.S: Likewise.
26405 2012-04-08 Andreas Jaeger <aj@suse.de>
26408 * manual/startup.texi (Environment Access): Describe return value
26409 for putenv and setenv.
26412 * manual/filesys.texi (Directory Entries): Add description for
26416 * manual/filesys.texi (Directory Entries): Clarify that it's file
26417 system not operating system in the description of DT_UNKNOWN.
26420 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26422 2012-04-08 Stephen Compall <s11@member.fsf.org>
26425 * manual/llio.texi (Opening and Closing Files): Add cross
26426 reference to explain mode argument.
26428 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26430 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26431 * sysdeps/x86_64/memset_chk.S: Likewise.
26433 2012-04-07 David S. Miller <davem@davemloft.net>
26435 * elf/elf.h (R_SPARC_WDISP10): Define.
26436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26438 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26439 R_SPARC_SIZE64 and R_SPARC_H34.
26441 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26443 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26444 conditions and remove no longer applicable assertion.
26446 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26448 * bits/byteswap.h: Include <features.h>.
26449 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26450 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26452 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26454 * bits/byteswap.h (__bswap_16): Removed.
26455 Include <bits/byteswap-16.h> to get __bswap_16.
26456 * sysdeps/i386/bits/byteswap.h: Likewise.
26457 * sysdeps/s390/bits/byteswap.h: Likewise.
26458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26459 * bits/byteswap-16.h: New file.
26460 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26461 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26462 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26463 * string/Makefile (headers): Add bits/byteswap-16.h.
26465 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26468 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26470 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26471 * nss/tst-nss-static.c: New.
26473 2012-04-06 Robert Millan <rmh@gnu.org>
26476 * manual/llio.texi (File Position Primitive): lseek
26477 refers to WHENCE when it really means OFFSET.
26479 2012-04-06 Andreas Jaeger <aj@suse.de>
26481 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26482 strncmp declarations.
26484 * abilist/libc.abilist: Add __poll and __ppoll.
26486 2012-04-05 David S. Miller <davem@davemloft.net>
26488 * scripts/check-local-headers.sh: Accept a host triplet in the
26489 path matched by the exclude regexp.
26491 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26493 * sysdeps/powerpc/powerpc32/dl-machine.h
26494 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26495 * sysdeps/s390/s390-32/dl-machine.h
26496 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26497 * sysdeps/sparc/sparc32/dl-machine.h
26498 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26499 * sysdeps/sparc/sparc64/dl-machine.h
26500 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26502 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26504 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26505 undefined symbol errors.
26507 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26510 2012-04-05 Michael Matz <matz@suse.de>
26513 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26515 2012-04-05 Andreas Jaeger <aj@suse.de>
26518 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26521 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26523 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26524 which ROUND is no valid rounding mode.
26526 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26528 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26530 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26532 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26534 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26535 an exception using FPU order intentionally.
26537 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26539 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26540 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26541 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26542 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26544 2012-04-05 Simon Josefsson <simon@josefsson.org>
26547 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26548 EINVAL when BUFLEN is too smal.
26550 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26553 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26554 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26556 2012-04-03 Andreas Jaeger <aj@suse.de>
26559 * manual/setjmp.texi (System V contexts): Fix sentence.
26562 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26563 New macro for this case.
26564 [!__GNUC__] (__bswap_64): New inline function for this case.
26565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26566 * bits/byteswap.h: Likewise.
26567 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26568 ull, guard with __GLIBC_HAVE_LONG_LONG.
26570 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26571 __GLIBC_HAVE_LONG_LONG.
26573 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26574 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26576 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26579 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26580 inptr and inend, rather than using last_ch.
26582 2012-04-02 David S. Miller <davem@davemloft.net>
26584 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26585 * stdio-common/printf-parse.h (read_int): Change return type to
26586 'int', return -1 on INT_MAX overflow.
26587 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26588 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26589 overflows INT_MAX. Check for overflow of in-format-string precision
26590 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26591 SIZE_MAX not INT_MAX for integer overflow test.
26592 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26593 skip the construct in the format string but do not record anything.
26594 * stdio-common/bug22.c: Adjust to test both width/prevision
26595 INT_MAX overflow as well as total length INT_MAX overflow. Check
26596 explicitly for proper errno values.
26598 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26600 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26602 * string/test-strcmp.c [! WIDE]: Likewise.
26603 * time/tst-mktime2.c: Likewise for INT_MAX.
26604 * string/test-string.h: #include <sys/param.h> for MIN.
26606 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26607 * sysdeps/i386/init-first.c (init): Likewise.
26608 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26609 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26610 * sysdeps/sh/init-first.c (init): Likewise.
26612 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26614 * po/ru.po: Update from translation team.
26615 * po/vi.po: Likewise.
26617 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26619 * resolv/nss_dns/dns-host.c: Merge copyright years.
26621 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26623 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26624 Optimize memcpy with prefetch if
26625 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26626 src, dst pointers have unequal 16 byte alignments.
26628 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26631 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26632 from a CNAME entry and return the minimum ttl for the query.
26633 (gaih_getanswer_slice): Likewise.
26635 2012-03-30 Jeff Law <law@redhat.com>
26637 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26639 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26640 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26642 * resolv/nss_dns/dns-host.c: Update copyright year.
26644 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26646 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26647 requests to save a system call. Fix check that all bytes are sent.
26649 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26650 comments for sendmmsg.
26652 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26655 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26656 with only 1 character between 0x0041 and 0x01b0.
26657 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26658 * wcsmbs/tst-mbsnrtowcs.c: New file.
26660 2012-03-29 David S. Miller <davem@davemloft.net>
26662 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26663 small copies by hand.
26665 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26668 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26669 _nss_compat_initgroups_dyn): Fall back to malloc/free
26670 for large group memberships.
26672 2012-03-28 David S. Miller <davem@davemloft.net>
26674 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26675 that branches into memcpy.
26676 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26679 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26682 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26683 implementation too.
26684 * sysdeps/sparc/mempcpy.S: New file.
26686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26687 the IFUNC routine in the libc case.
26688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26690 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26691 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26692 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26693 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26694 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26695 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26696 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26697 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26699 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26700 loop to 256 bytes instead of 64 bytes and fix test signedness.
26702 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26703 * sysdeps/sparc/sparc32/Makefile: rather than here...
26704 * sysdeps/sparc/sparc64/Makefile: and here.
26706 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26708 * malloc/mallocbug.c: Avoid warnings about unused variables.
26710 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26713 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26714 in the right place. Discard and retry query if response is
26715 larger than input buffer size.
26717 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26722 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26723 x for large integer exponent.
26724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26725 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26726 sign of result as needed afterwards.
26727 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26728 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26729 result for underflowing pow the same as for overflow.
26730 (__kernel_standard_l): Handle powl overflow and underflow here
26731 rather than calling __kernel_standard.
26732 * math/libm-test.inc (pow_test): Add more tests.
26747 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26748 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26749 (__kernel_standard_l): New function.
26750 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26752 * math/w_acosl.c (__acosl): Likewise.
26753 * math/w_asinl.c (__asinl): Likewise.
26754 * math/w_atan2l.c (__atan2l): Likewise.
26755 * math/w_atanhl.c (__atanhl): Likewise.
26756 * math/w_coshl.c (__coshl): Likewise.
26757 * math/w_exp10l.c (__exp10l): Likewise.
26758 * math/w_exp2l.c (__exp2l): Likewise.
26759 * math/w_fmodl.c (__fmodl): Likewise.
26760 * math/w_hypotl.c (__hypotl): Likewise.
26761 * math/w_j0l.c (__j0l, __y0l): Likewise.
26762 * math/w_j1l.c (__j1l, __y1l): Likewise.
26763 * math/w_jnl.c (__jnl, __ynl): Likewise.
26764 * math/w_lgammal.c (__lgammal): Likewise.
26765 * math/w_log10l.c (__log10l): Likewise.
26766 * math/w_log2l.c (__log2l): Likewise.
26767 * math/w_logl.c (__logl): Likewise.
26768 * math/w_powl.c (__powl): Likewise.
26769 * math/w_remainderl.c (__remainderl): Likewise.
26770 * math/w_scalbl.c (sysv_scalbl): Likewise.
26771 * math/w_sinhl.c (__sinhl): Likewise.
26772 * math/w_sqrtl.c (__sqrtl): Likewise.
26773 * math/w_tgammal.c (__tgammal): Likewise.
26774 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26775 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26776 * math/libm-test.inc (acos_test): Add more tests.
26777 (acosh_test): Likewise.
26778 (asin_test): Likewise.
26779 (atanh_test): Likewise.
26780 (exp_test): Likewise.
26781 (exp10_test): Likewise.
26782 (exp2_test): Likewise.
26783 (expm1_test): Likewise.
26784 (lgamma_test): Likewise.
26785 (log_test): Likewise.
26786 (log10_test): Likewise.
26787 (log1p_test): Likewise.
26788 (log2_test): Likewise.
26789 (pow_test): Do not allow some spurious overflow exceptions.
26790 (sqrt_test): Add more tests.
26791 (tgamma_test): Likewise.
26792 (y0_test): Likewise.
26793 (y1_test): Likewise.
26794 (yn_test): Likewise.
26796 2012-03-27 Anton Blanchard <anton@samba.org>
26798 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26801 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26804 2012-03-27 David S. Miller <davem@davemloft.net>
26806 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26808 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26809 have-as-vis3 check.
26811 2012-03-27 Andreas Jaeger <aj@suse.de>
26813 * sysdeps/x86_64/elf/configure.in: Moved to ...
26814 * sysdeps/x86_64/configure.in: ... here.
26815 * sysdeps/x86_64/elf/start.S: Moved to ...
26816 * sysdeps/x86_64/start.S: ... here.
26817 * sysdeps/x86_64/elf/configure: Delete.
26819 * sysdeps/x86_64/configure.in: Merge contents from
26820 sysdeps/i386/configure.in (without i686 check).
26822 * sysdeps/i386/elf/Versions: Merge into ...
26823 * sysdeps/i386/Versions: ... this.
26824 * sysdeps/i386/elf/Versions: Delete file.
26825 * sysdeps/i386/elf/start.S: Moved to ...
26826 * sysdeps/i386/start.S: ...here.
26827 * sysdeps/i386/elf/configure.in: Merge into...
26828 * sysdeps/i386/configure.in: ...here.
26829 * sysdeps/i386/elf/configure.in: Delete file.
26830 * sysdeps/i386/elf/configure: Delete file.
26832 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26833 * debug/backtracesyms.c: ... here.
26834 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26835 * debug/backtracesymsfd.c: ... here.
26836 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26837 * sysdeps/generic/ifunc-sel.h: ... here.
26839 * sysdeps/unix/i386/start.c: Delete file.
26840 * sysdeps/unix/sparc/start.c: Delete file.
26841 * sysdeps/unix/start.c: Delete file.
26843 * sysdeps/sh/elf/configure.in: Moved to ...
26844 * sysdeps/sh/configure.in: ... here.
26845 * sysdeps/sh/elf/start.S: Moved to ...
26846 * sysdeps/sh/start.S: ... here.
26847 * sysdeps/sh/elf/configure: Delete file.
26849 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26850 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26851 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26852 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26853 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26854 * sysdeps/powerpc/powerpc64/start.S: here.
26855 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26856 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26857 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26858 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26859 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26861 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26862 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26863 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26864 * sysdeps/powerpc/powerpc32/start.S: ... here.
26865 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26866 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26867 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26869 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26870 * sysdeps/powerpc/ifunc-sel.h: ... here.
26871 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26872 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26874 * sysdeps/sparc/elf/configure.in: Moved to ...
26875 * sysdeps/sparc/configure.in: ... here.
26876 * sysdeps/sparc/elf/configure: Delete file.
26877 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26878 * sysdeps/sparc/sparc32/start.S: ... here.
26879 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26880 * sysdeps/sparc/sparc64/start.S: ... here.
26881 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26882 * sysdeps/sparc/sparc32/Makefile: ... this.
26883 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26884 * sysdeps/sparc/sparc64/Makefile: ... this.
26886 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26887 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26888 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26889 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26890 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26891 * sysdeps/s390/s390-32/setjmp.S: ... here.
26892 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26893 * sysdeps/s390/s390-32/configure.in: ... here.
26894 * sysdeps/s390/s390-32/elf/configure: Delete file.
26895 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26896 * sysdeps/s390/s390-32/start.S: ... here.
26898 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26899 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26900 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26901 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26902 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26903 * sysdeps/s390/s390-64/setjmp.S: ... here.
26904 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26905 * sysdeps/s390/s390-64/configure.in: ... here
26906 * sysdeps/s390/s390-64/elf/configure: Delete file.
26907 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26908 * sysdeps/s390/s390-64/start.S: ... here.
26909 * sysdeps/s390/s390-64/elf/configure: Delete.
26911 * configure.in: Remove support for elf directories in sysdeps.
26913 * configure: Regenerated.
26914 * sysdeps/i386/configure: Regenerated.
26915 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26916 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26917 * sysdeps/s390/s390-32/configure: Regenerated.
26918 * sysdeps/s390/s390-64/configure: Regenerated.
26919 * sysdeps/sh/configure: Regenerated.
26920 * sysdeps/sparc/configure: Regenerated.
26921 * sysdeps/x86_64/configure: Regenerated.
26923 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26927 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26928 denormal result into account.
26930 2012-03-25 Roland McGrath <roland@hack.frob.com>
26932 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26933 Reported by Allan McRae <allan@archlinux.org>.
26935 2012-03-23 Jeff Law <law@redhat.com>
26937 * nss/getnssent.c (__nss_getent): Fix typo.
26939 2012-03-23 David S. Miller <davem@davemloft.net>
26941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26943 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26945 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26946 to pad to uint64_t for each field.
26947 (dl_tls_index): Replace unsigned long with uint64_t.
26949 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26950 Paul Pluzhnikov <ppluzhnikov@google.com>
26953 * grp/Makefile (otherlibs): Don't set it.
26954 * inet/Makefile (otherlibs): Likewise.
26955 * login/Makefile (otherlibs): Likewise.
26956 * nscd/Makefile (otherlibs): Likewise.
26957 * posix/Makefile (otherlibs): Likewise.
26958 * pwd/Makefile (otherlibs): Likewise.
26959 * rt/Makefile (otherlibs): Likewise.
26960 * sunrpc/Makefile (otherlibs): Likewise.
26961 * nss/Makefile (otherlibs): Likewise.
26962 Add libnss_files to routines and static-only-routines.
26963 ($(objpfx)getent): Remove rule.
26964 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26965 static-only-routines.
26967 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26970 * math/s_cexp.c: Include <float.h>.
26971 (__cexp): Handle exp result overflowing not necessarily
26972 overflowing both real and imaginary parts of result.
26973 * math/s_cexpf.c: Likewise.
26974 * math/s_cexpl.c: Likewise.
26975 * math/libm-test.inc (cexp_test): Add more tests.
26976 * sysdeps/i386/fpu/libm-test-ulps: Update.
26977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26979 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26981 * include/link.h (ELFW): New macro.
26982 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26983 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26985 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26987 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26990 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26992 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26994 (struct La_x32_retval): Likewise.
26996 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26998 * sysdeps/x86_64/preconfigure.in: New file.
26999 * sysdeps/x86_64/preconfigure: New generated file.
27001 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27004 * math/e_exp2l.c: Include <float.h>.
27005 (__ieee754_exp2l): Handle overflow and underflow cases
27006 separately. Only pass fractional part of argument to
27008 * math/libm-test.inc (exp2_test): Add more tests.
27010 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27011 negating x to take absolute value.
27012 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27014 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27015 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27017 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27018 computing low part if x was negated.
27019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27021 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27023 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27024 la_x32_gnu_pltexit.
27025 (pltexit): Cast int_retval to ptrdiff_t.
27026 * elf/tst-auditmod3b.c: Likewise.
27027 * elf/tst-auditmod4b.c: Likewise.
27028 * elf/tst-auditmod5b.c: Likewise.
27029 * elf/tst-auditmod6b.c: Likewise.
27030 * elf/tst-auditmod6c.c: Likewise.
27031 * elf/tst-auditmod7b.c: Likewise.
27033 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27034 and x32_gnu_pltexit.
27036 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27037 __ELF_NATIVE_CLASS.
27038 (La_x32_regs): New macro.
27039 (La_x32_retval): Likewise.
27040 (la_x32_gnu_pltenter): New function prototype.
27041 (la_x32_gnu_pltexit): Likewise.
27043 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27050 * configure.in (libc_cv_cc_nofma): Check for option to disable
27051 generation of FMA instructions.
27052 * configure: Regenerate.
27053 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27054 * sysdeps/ieee754/dbl-64/Makefile: New file.
27055 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27056 Remove brandred-fma4.
27057 (CFLAGS-brandred-fma4.c): Remove.
27058 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27059 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27061 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27064 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27066 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27067 LLONG_MAX != LONG_MAX.
27068 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27069 (_fitoa_word): Likewise.
27070 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27071 LLONG_MAX != LONG_MAX.
27072 * stdio-common/_itowa.h: Include <_itoa.h>.
27073 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27074 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27075 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27076 only if not defined.
27077 (_ITOA_WORD_TYPE): Likewise.
27078 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27079 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27081 2012-03-21 David S. Miller <davem@davemloft.net>
27083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27085 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27087 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27088 of x86_64 when setting libc_cv_slibdir, libdir and
27090 * sysdeps/unix/sysv/linux/configure: Regenerated.
27092 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27094 * manual/lang.texi (Old Varargs): Remove section.
27095 (How Variadic): Update menu.
27096 (va_start): Do not mention varargs.h.
27098 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27099 Joseph Myers <joseph@codesourcery.com>
27101 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27103 * configure: Regenerated.
27105 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27107 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27108 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27111 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27114 * Makefile (files-for-dist): Remove NOTES.
27115 (NOTES): Remove rule.
27116 * README: Don't refer to NOTES.
27117 * manual/creature.texi: Don't include macros.texi.
27118 * manual/intro.texi (creature.texi): Remove comment referring to
27121 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27122 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27123 * configure: Regenerated.
27124 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27125 LIBC_TRY_CC_OPTION.
27126 (libc_cv_as_i686): Likewise.
27127 (libc_cv_cc_avx): Likewise.
27128 (libc_cv_cc_sse2avx): Likewise.
27129 (libc_cv_cc_fma4): Likewise.
27130 (libc_cv_cc_novzeroupper): Likewise.
27131 * sysdeps/i386/configure: Regenerated.
27134 * sysdeps/i386/fpu/s_cexp.S: Remove.
27135 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27136 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27137 * math/libm-test.inc (cexp_test): Add more tests.
27138 * sysdeps/i386/fpu/libm-test-ulps: Update.
27139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27141 2012-03-21 Allan McRae <allan@archlinux.org>
27143 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27145 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27148 * math/w_exp2.c: Do not include <float.h>.
27149 (o_threshold, u_threshold): Remove.
27150 (__exp2): Calculate result before checking finiteness and calling
27152 * math/w_exp2f.c: Likewise.
27153 * math/w_exp2l.c: Likewise.
27154 * math/libm-test.inc (exp2_test): Require overflow exception for
27158 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27159 range of signed 64-bit integers before using fistpll. Remove
27160 checks for whether integers fit in mantissa bits.
27161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27162 the range of signed 32-bit integers before using fistpl. Remove
27163 checks for whether integers fit in mantissa bits.
27164 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27165 (__ieee754_powl): Test for y outside the range of signed 64-bit
27166 integers before using fistpll. Reduce 64-bit values to 63-bit
27168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27169 divide-by-zero is raised for zero to large negative powers.
27170 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27171 (__ieee754_powl): Test for y outside the range of signed 64-bit
27172 integers before using fistpll. Reduce 64-bit values to 63-bit
27174 * math/libm-test.inc (pow_test): Add more tests.
27176 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27178 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27179 <stdio-common/_itoa.h>.
27180 * debug/segfault.c: Likewise.
27181 * elf/dl-cache.c: Likewise.
27182 * elf/dl-minimal.c: Likewise.
27183 * elf/dl-misc.c: Likewise.
27184 * elf/dl-sysdep.c: Likewise.
27185 * elf/dl-version.c: Likewise.
27186 * elf/rtld.c: Likewise.
27187 * hurd/hurdsock.c: Likewise.
27188 * hurd/lookup-retry.c: Likewise.
27189 * malloc/malloc.c: Likewise.
27190 * malloc/mtrace.c: Likewise.
27191 * nscd/nscd_getgr_r.c: Likewise.
27192 * nscd/nscd_getpw_r.c: Likewise.
27193 * nscd/nscd_getserv_r.c: Likewise.
27194 * posix/getopt_init.c: Likewise.
27195 * posix/wordexp.c: Likewise.
27196 * stdio-common/_itoa.c: Likewise.
27197 * stdio-common/printf_fphex.c: Likewise.
27198 * stdio-common/vfprintf.c: Likewise.
27199 * string/_strerror.c: Likewise.
27200 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27201 * sysdeps/i386/i686/hp-timing.h: Likewise.
27202 * sysdeps/mach/_strerror.c: Likewise.
27203 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27204 * sysdeps/mach/hurd/sethostid.c: Likewise.
27205 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27206 * sysdeps/mach/xpg-strerror.c: Likewise.
27207 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27208 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27209 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27210 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27211 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27212 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27213 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27214 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27215 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27216 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27217 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27218 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27219 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27220 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27221 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27222 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27223 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27224 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27225 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27226 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27227 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27229 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27231 * stdio-common/_itoa.h: Moved to ...
27232 * sysdeps/generic/_itoa.h: Here.
27234 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27236 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27237 instead of "_itoa.h" and "_itowa.h".
27238 * stdio-common/vfprintf.: Likewise.
27240 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27242 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27244 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27245 (__signbit): Likwise.
27246 (llrintf): Likwise.
27249 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27251 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27254 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27256 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27257 OVERFLOW_EXCEPTION_OK.
27258 * math/libm-test.inc ("Philosophy"): Update comment about
27260 (OVERFLOW_EXCEPTION): Define.
27261 (OVERFLOW_EXCEPTION_OK): Likewise.
27262 (INVALID_EXCEPTION_OK): Renumber.
27263 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27264 (IGNORE_ZERO_INF_SIGN): Likewise.
27265 (test_exceptions): Handle FE_OVERFLOW.
27266 (exp10_test): Expect overflow exceptions.
27267 (exp2_test): Likewise.
27268 (expm1_test): Likewise.
27269 (nextafter_test): Likewise.
27270 (pow_test): Likewise.
27271 (scalbn_test): Likewise.
27272 (scalbln_test): Likewise.
27274 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27276 * sysdeps/x86_64/bits/atomic.h
27277 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27279 (atomic_exchange_acq): Likewise.
27280 (__arch_exchange_and_add_body): Likewise.
27281 (__arch_add_body): Likewise.
27282 (atomic_add_negative): Likewise.
27283 (atomic_add_zero): Likewise.
27285 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27287 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27288 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27290 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27292 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27293 Check __x86_64__ instead of __WORDSIZE.
27295 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27297 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27299 2012-03-19 David S. Miller <davem@davemloft.net>
27301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27303 * sysdeps/sparc/fpu/fenv_private.h: New file.
27304 * sysdeps/sparc/fpu/math_private.h: Use it.
27305 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27307 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27308 (libc_feholdexcept_setroundl): Remove.
27309 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27311 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27312 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27314 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27316 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27317 int64_t instead of long int.
27318 (INSERT_WORDS64): Likwise.
27320 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27322 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27323 _Unwind_GetCFA return to _Unwind_Ptr first.
27325 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27328 * math/s_clog.c: Include <float.h>.
27329 (__clog): Scale large or subnormal inputs.
27330 * math/s_clogf.c: Likewise.
27331 * math/s_clogl.c: Likewise.
27332 * math/s_clog10.c: Include <float.h>.
27333 (M_LOG10_2): Define.
27334 (__clog10): Scale large or subnormal inputs.
27335 * math/s_clog10f.c: Likewise.
27336 * math/s_clog10l.c: Likewise.
27337 * math/libm-test.inc (clog_test): Add more tests.
27338 (clog10_test): Likewise.
27339 * sysdeps/i386/fpu/libm-test-ulps: Update.
27340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27343 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27345 * math/libm-test.inc (atan2_test): Add another test.
27347 * Makerules (common-objdir-compile): Remove.
27348 * sysdeps/unix/Makefile (config-generated): Do not add
27349 $(unix-generated) to variable.
27350 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27351 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27353 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27355 [generic bits/local_lim.h] (before-compile): Do not append to
27357 [generic bits/local_lim.h] (common-generated): Likewise.
27358 [generic sys/param.h] (before-compile): Do not append to variable.
27359 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27360 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27361 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27362 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27364 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27365 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27366 [generic sys/param.h] ($(addprefix
27367 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27368 [generic sys/param.h] (common-generated): Do not append to
27370 [generic sys/param.h] (sysdep_headers): Likewise.
27371 [generic bits/errno.h] (before-compile): Do not append to
27373 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27375 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27376 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27377 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27378 [generic bits/errno.h] (common-generated): Do not append to
27380 [generic bits/ioctls.h] (before-compile): Do not append to
27382 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27384 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27385 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27386 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27388 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27389 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27390 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27391 [generic bits/ioctls.h] (common-generated): Do not append to
27393 [generic sys/syscall.h] (syscall.h): Remove variable.
27394 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27396 [generic sys/syscall.h] (before-compile): Do not append to
27398 [generic sys/syscall.h] (common-generated): Likewise.
27399 * sysdeps/unix/errnos-tmpl.c: Remove file.
27400 * sysdeps/unix/errnos.awk: Likewise.
27401 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27402 * sysdeps/unix/ioctls.awk: Likewise.
27403 * sysdeps/unix/mk-local_lim.c: Likewise.
27404 * sysdeps/unix/snarf-ioctls: Likewise.
27406 2012-03-19 Richard Henderson <rth@twiddle.net>
27408 * sysdeps/i386/fpu/fenv_private.h: New file.
27409 * sysdeps/i386/fpu/math_private.h: Use it.
27410 (math_opt_barrier, math_force_eval): Remove.
27411 (libc_feholdexcept_setround_53bit): Remove.
27412 (libc_feupdateenv_53bit): Remove.
27413 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27414 (math_opt_barrier, math_force_eval): Remove.
27415 (libc_feholdexcept): Remove.
27416 (libc_feholdexcept_setround): Remove.
27417 (libc_fetestexcept, libc_fesetenv): Remove.
27418 (libc_feupdateenv_test): Remove.
27419 (libc_feupdateenv, libc_feholdsetround): Remove.
27420 (libc_feresetround): Remove.
27422 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27423 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27425 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27426 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27427 (libc_feupdateenv_testl): New.
27428 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27429 (libc_feupdateenv_testf): New.
27430 (libc_feupdateenv): Use libc_feupdateenv_test.
27431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27434 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27435 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27436 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27437 (libc_feresetround_noex): New.
27438 (libc_feresetround_noexf): New.
27439 (libc_feresetround_noexl): New.
27440 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27441 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27442 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27443 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27445 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27446 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27448 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27449 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27450 SET_RESTORE_ROUND_NOEX.
27451 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27452 SET_RESTORE_ROUND_NOEXF.
27453 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27454 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27455 (libc_feholdsetroundf): New.
27456 (libc_feresetround, libc_feresetroundf): New.
27458 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27459 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27460 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27462 * sysdeps/generic/math_private.h: Include <fenv.h>.
27463 (default_libc_feholdexcept): New.
27464 (default_libc_feholdexcept_setround): New.
27465 (default_libc_fesetenv, default_libc_feupdateenv): New.
27466 (libc_feholdexcept): Only define if undefined.
27467 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27468 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27469 (libc_feholdexcept_setroundl): Likewise.
27470 (libc_feholdexcept_setround_53bit): Likewise.
27471 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27472 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27473 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27474 (libc_feupdateenv_53bit): Likewise.
27475 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27476 (libc_feholdexcept): Convert from macro to inline function.
27477 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27478 (libc_fesetenv, libc_feupdateenv): Likewise.
27480 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27481 not previously defined.
27482 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27483 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27484 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27485 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27486 * sysdeps/ieee754/flt-32/math_private.h: New file.
27487 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27488 math_private.h below SET_FLOAT_WORD.
27489 (__isnan, __isinf_ns, __finite): Remove.
27490 (__isnanf, __isinf_nsf, __finitef): Remove.
27492 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27496 2012-03-17 David S. Miller <davem@davemloft.net>
27499 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27502 2012-03-16 David S. Miller <davem@davemloft.net>
27504 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27510 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27511 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27512 sysdep_routines when subdir is sysvipc.
27513 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27514 __getshmlba helper.
27516 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27518 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27520 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27523 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27525 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27526 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27527 (__lround): Renamed to ...
27528 (__llround): This. Replace long int with long long int.
27529 Define lround functions as aliases of llround functions.
27530 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27532 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27534 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27535 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27536 adresses to uintptr_t. Replace "long int" and "unsigned long
27537 int" with "greg_t" on va_arg.
27539 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27541 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27542 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27544 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27545 Move e_machine check before EI_CLASS check. Handle x32
27546 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27547 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27548 SKIP_EM_IA_64 and include
27549 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27551 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27552 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27553 (add_system_dir): New macro.
27555 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27556 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27558 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27569 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27571 * math/w_j0f.c (j0f): Likewise.
27573 * math/w_j0l.c (__j0l): Likewise.
27575 * math/w_j1.c (j1): Likewise.
27577 * math/w_j1f.c (j1f): Likewise.
27579 * math/w_j1l.c (__j1l): Likewise.
27581 * math/w_jn.c (jn): Likewise.
27583 * math/w_jnf.c (jnf): Likewise.
27585 * math/w_jnl.c (__jnl): Likewise.
27587 * math/libm-test.inc (j0_test): Add more tests.
27588 (j1_test): Likewise.
27589 (jn_test): Likewise. Add trailing semicolon to existing test.
27590 (y0_test): Likewise.
27591 (y1_test): Likewise.
27592 * sysdeps/i386/fpu/libm-test-ulps: Update.
27593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27597 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27598 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27599 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27601 (__tanl): Set errno for infinite argument.
27602 * sysdeps/i386/fpu/mptan.c: Remove.
27603 * sysdeps/i386/fpu/s_tan.S: Likewise.
27604 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27605 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27606 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27607 * math/libm-test.inc (tan_test): Add more tests and enable more
27608 tests for double and long double.
27609 * sysdeps/i386/fpu/libm-test-ulps: Update.
27610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27612 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27614 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27615 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27617 2012-03-16 Roland McGrath <roland@hack.frob.com>
27619 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27620 * configure.in: Use it for both main tree and add-ons.
27621 * configure: Regenerated.
27623 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27625 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27627 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27629 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27633 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27634 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27635 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27636 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27637 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27639 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27641 != 0 for prec == 2.
27642 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27643 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27644 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27645 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27646 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27647 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27648 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27649 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27650 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27651 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27652 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27653 * math/libm-test.inc (cos_test): Add more tests and enable more
27654 tests for long double.
27655 (sin_test): Likewise.
27656 (sincos_test): Likewise.
27657 * sysdeps/i386/fpu/libm-test-ulps: Update.
27658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27660 2012-03-16 David S. Miller <davem@davemloft.net>
27662 * sysdeps/sparc/fpu/math_private.h: New file.
27664 2012-03-15 David S. Miller <davem@davemloft.net>
27666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27680 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27681 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27683 * sysdeps/sparc/sparc-ifunc.h: New file.
27684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27729 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27731 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27735 2012-03-15 Andreas Jaeger <aj@suse.de>
27738 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27739 ieee754/flt-32 implementation for sin, cos and sincos.
27740 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27741 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27742 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27743 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27744 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27745 ieee754/flt-32 implementation for tan.
27747 * math/libm-test.inc (cos_test): Enable some large input tests for
27749 (sin_test): Likewise.
27750 (sincos_test): Likewise.
27751 (tan_test): Add tests for large input.
27753 * sysdeps/i386/fpu/libm-test-ulps: Update.
27755 2012-03-15 Andreas Jaeger <aj@suse.de>
27758 * math/libm-test.inc (cos_test): Add more test cases.
27759 (sin_test): Likewise.
27760 (sincos_test): Likewise.
27762 2012-03-15 Andreas Jaeger <aj@suse.de>
27765 * math/libm-test.inc (cos_test): Add a test case for large input
27767 (sin_test): Likewise.
27768 (sincos_test): Likewise.
27770 2012-03-15 Andreas Jaeger <aj@suse.de>,
27771 Joseph Myers <joseph@codesourcery.com>
27774 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27775 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27776 * sysdeps/i386/fpu/branred.c: Likewise.
27777 * sysdeps/i386/fpu/dosincos.c: Likewise.
27778 * sysdeps/i386/fpu/mpa.c: Likewise.
27779 * sysdeps/i386/fpu/s_cos.S: Likewise.
27780 * sysdeps/i386/fpu/s_sin.S: Likewise.
27781 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27782 * sysdeps/i386/fpu/sincos32.c: Likewise.
27784 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27786 (libc_feupdateenv_53bit): Define.
27787 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27789 (libc_feupdateenv_53bit): Define.
27791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27792 53 bit (without extend i386 double precision).
27794 * math/libm-test.inc (sincos_test): Add tests for large input.
27798 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27800 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27804 2012-03-15 David S. Miller <davem@davemloft.net>
27806 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27807 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27808 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27809 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27834 fmin/fmax sysdep routines.
27835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27837 2012-03-14 David S. Miller <davem@davemloft.net>
27839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27911 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27916 * sysdeps/sparc/configure.in: New file.
27917 * sysdeps/sparc/configure: Generate.
27918 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27919 * configure: Regenerate.
27920 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27921 * config.make.in (have-as-vis3): New.
27922 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27923 available use -Av9d instead of -Av9a.
27924 * sysdeps/sparc/sparc64/Makefile: Likewise.
27925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27940 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27941 fzeros/fnegs to load 0x80000000 into a float register instead of
27943 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27945 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27949 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27950 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27951 ($(inst_includedir)/bits/syscall.h): Remove rule.
27952 ($(objpfx)bits/syscall.d): Include instead of
27953 $(objpfx)syscall-list.d.
27954 (generated): Change syscall-list.h and syscall-list.d to
27955 bits/syscall.h and bits/syscall.d.
27957 2012-03-14 Roland McGrath <roland@hack.frob.com>
27960 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27962 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27965 * math/s_csqrt.c: Include <float.h>.
27966 (__csqrt): Scale large or subnormal inputs.
27967 * math/s_csqrtf.c: Likewise.
27968 * math/s_csqrtl.c: Likewise.
27969 * math/libm-test.inc (csqrt_test): Add more tests.
27970 * sysdeps/i386/fpu/libm-test-ulps: Update.
27971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27974 * math/libm-test.inc (hypot_test): Add more tests.
27976 2012-03-13 David S. Miller <davem@davemloft.net>
27979 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27980 double-precision for the calculation instead of scaling.
27982 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27984 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27985 manipulate bits before adding and subtracting TWO52[sx].
27986 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27987 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27989 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27991 2012-03-13 David S. Miller <davem@davemloft.net>
27993 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27994 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27996 rtld-global-offsets.h
27997 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27999 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28002 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28004 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28005 'err' in the ifdef scope in which it is actually used.
28007 * nss/nss_db/db-init.c: Include string.h
28009 2012-03-12 David S. Miller <davem@davemloft.net>
28011 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28012 masking out of the most significant byte of random value used.
28013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28014 Fix coding style in previous change.
28016 * sysdeps/unix/sysv/linux/kernel-features.h
28017 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28018 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28020 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28023 2012-03-11 David S. Miller <davem@davemloft.net>
28025 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28026 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28028 for 'resultvar' otherwise things get truncated on 64-bit.
28030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28031 Fix masking out of the most significant byte of random value used.
28033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28035 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28039 2012-03-09 David S. Miller <davem@davemloft.net>
28041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28042 variables with appropriate CPP guards.
28043 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28044 frame pointer, not the stack pointer. Correct layout comments. Fix test
28045 on resulting framesize and the management of the outregs buffer for pltexit.
28046 Preserve floating point return values across _dl_call_pltexit call.
28047 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28048 framesize and the management of the outregs buffer for pltexit.
28049 Preserve floating point return values across _dl_call_pltexit
28051 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28052 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28053 (print_exit): Fix format string for return register value.
28055 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28057 * sunrpc/Makefile (others): Add rpcgen.
28058 ($(objpfx)rpcgen): Remove special build rule and dependency on
28060 * sunrpc/rpcgen.c: New file.
28062 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28065 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28066 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28067 * sysdeps/i386/crti.S: Likewise.
28068 * sysdeps/i386/crtn.S: Likewise.
28069 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28070 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28071 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28072 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28073 * sysdeps/sh/crti.S: Likewise.
28074 * sysdeps/sh/crtn.S: Likewise.
28075 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28078 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28080 * locale/programs/locfile-kw.gperf: Likewise.
28081 * locale/programs/charmap-kw.h: Regenerated.
28082 * locale/programs/locfile-kw.h: Likewise.
28085 * intl/plural.y: Replace FSF snail mail address with URL.
28086 * intl/plural.c: Regenerated.
28088 2012-03-09 Richard Henderson <rth@twiddle.net>
28090 * include/math_private.h: Remove file.
28091 * math/math_private.h: Move file ...
28092 * sysdeps/generic/math_private.h: ... here.
28094 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28095 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28096 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28098 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28099 and <math_private.h>.
28100 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28101 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28102 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28103 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28104 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28109 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28112 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28115 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28116 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28117 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28118 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28119 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28122 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28124 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28125 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28126 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28127 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28130 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28131 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28132 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28133 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28134 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28135 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28136 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28137 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28138 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28140 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28141 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28142 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28143 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28144 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28146 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28147 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28149 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28173 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28174 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28178 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28179 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28180 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28182 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28183 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28184 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28187 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28188 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28189 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28190 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28191 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28193 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28194 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28195 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28196 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28197 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28198 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28199 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28200 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28201 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28202 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28203 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28204 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28205 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28206 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28207 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28208 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28209 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28210 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28211 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28212 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28214 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28216 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28217 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28218 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28219 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28220 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28221 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28223 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28224 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28225 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28226 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28227 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28228 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28229 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28230 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28231 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28232 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28233 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28234 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28235 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28236 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28237 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28238 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28239 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28240 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28241 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28242 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28243 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28244 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28245 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28246 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28247 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28248 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28249 * sysdeps/ieee754/k_standard.c: Likewise.
28250 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28251 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28252 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28253 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28254 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28255 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28256 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28257 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28258 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28259 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28261 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28262 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28263 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28264 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28265 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28327 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28358 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28362 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28364 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28365 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28367 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28369 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28370 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28372 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28374 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28376 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28377 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28382 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28386 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28389 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28390 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28391 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28392 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28393 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28395 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28396 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28397 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28398 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28399 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28400 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28401 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28403 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28408 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28409 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28410 * sysdeps/ieee754/s_lib_version.c: Likewise.
28411 * sysdeps/ieee754/s_matherr.c: Likewise.
28412 * sysdeps/ieee754/s_signgam.c: Likewise.
28413 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28414 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28415 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28416 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28417 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28418 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28419 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28420 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28421 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28422 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28423 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28424 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28425 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28426 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28427 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28430 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28435 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28437 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28438 * sunrpc/rpc_main.c: Likewise.
28439 * sunrpc/rpc_svcout.c: Likewise.
28441 2012-03-09 David S. Miller <davem@davemloft.net>
28443 * include/math_private.h: New file.
28445 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28447 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28448 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28449 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28450 from <bits/socket_type.h>.
28451 (enum __socket_type): Don't define here.
28452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28454 bits/socket_type.h.
28457 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28458 checking __USE_GNU.
28460 * Makerules ($(inst_includedir)/%.h): New rule.
28461 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28462 (install-others): Remove variable setting.
28463 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28465 2012-03-08 Richard Henderson <rth@twiddle.net>
28467 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28468 from macro to inline function; merge with the
28469 !__LIBC_INTERNAL_MATH_INLINES version.
28470 (__ieee754_sqrtf): Likewise.
28472 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28473 to inline function.
28474 (__rintf, __floor, __floorf): Likewise.
28476 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28477 macro to inline function.
28478 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28480 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28481 not <math/math_private.h>.
28483 2012-03-08 David S. Miller <davem@davemloft.net>
28485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28487 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28489 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28491 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28493 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28494 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28496 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28498 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28499 be defined individually, they must be defined as a block. Define
28500 S for printing a string instead of hidint the different by using a
28501 macro for adding the 'l'.
28502 * stdio-common/tst-fphex-wide.c: Adjust.
28504 2012-03-07 Marek Polacek <polacek@redhat.com>
28506 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28508 2012-03-08 Marek Polacek <polacek@redhat.com>
28511 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28512 * stdio-common/tst-fphex.c: Define a few macros to make the
28513 test reusable. Use them.
28514 * stdio-common/tst-fphex-wide.c: New file.
28516 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28519 * manual/macros.texi (gnusystems): New macro.
28520 (nongnusystems): Likewise.
28521 (gnulinuxhurdsystems): Likewise.
28522 (gnuhurdsystems): Likewise..
28523 (gnulinuxsystems): Likewise.
28524 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28525 variants of the GNU system, not "GNU system".
28526 * manual/conf.texi: Likewise.
28527 * manual/errno.texi: Likewise. Update example of errno macro
28529 * manual/filesys.texi: Likewise.
28530 (getumask): Document as specific to GNU/Hurd.
28531 * manual/install.texi: Likewise. Reword some references to
28533 * manual/intro.texi: Likewise.
28534 * manual/io.texi: Likewise.
28535 (File Name Portability): Detail which constraints are inapplicable
28536 to all GNU systems and which are only inapplicable to GNU/Hurd.
28537 * manual/job.texi: Likewise.
28538 * manual/llio.texi: Likewise.
28539 (O_NOCTTY): Document as present on GNU/Linux.
28540 * manual/maint.texi: Likewise.
28541 * manual/memory.texi: Likewise.
28542 * manual/pattern.texi: Likewise.
28543 * manual/pipe.texi: Likewise.
28544 * manual/process.texi: Likewise.
28545 * manual/resource.texi: Likewise.
28546 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28548 * manual/setjmp.texi: Likewise.
28549 * manual/signal.texi: Likewise.
28550 * manual/startup.texi: Likewise.
28551 * manual/stdio.texi: Likewise.
28552 * manual/terminal.texi: Likewise.
28553 (ONLCR): Document as POSIX.
28554 (OXTABS): Document availability on GNU/Linux as XTABS.
28555 (ONOEOT): Document availability separately from other bits.
28556 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28557 * manual/time.texi: Likewise.
28558 * manual/users.texi: Likewise.
28559 * INSTALL: Regenerated.
28560 * sysdeps/gnu/errlist.c: Regenerated.
28562 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28563 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28564 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28566 * configure: Regenerated.
28568 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28570 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28571 default includes instead of AC_HEADER_CHECK.
28572 * sysdeps/i386/configure: Regenerated.
28575 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28576 * math/s_cacoshf.c (__cacoshf): Likewise.
28577 * math/s_cacoshl.c (__cacoshl): Likewise.
28578 * math/s_casinh.c (__casinh): Set signs of result from argument.
28579 * math/s_casinhf.c (__casinhf): Likewise.
28580 * math/s_casinhl.c (__casinhl): Likewise.
28581 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28582 (casinh_test): Add more tests.
28583 * sysdeps/i386/fpu/libm-test-ulps: Update.
28584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28586 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28588 * po/zh_TW.po: Update from translation team.
28590 * login/Makefile (distribute): Remove variable.
28591 * catgets/Makefile: Likewise.
28592 * mach/Makefile: Likewise.
28593 * malloc/Makefile: Likewise.
28594 * misc/Makefile: Likewise.
28595 * iconv/Makefile: Likewise.
28596 * nscd/Makefile: Likewise.
28597 * hurd/Makefile: Likewise.
28598 * manual/Makefile: Likewise.
28599 * locale/Makefile: Likewise.
28600 * intl/Makefile: Likewise.
28601 * conform/Makefile: Likewise.
28602 * nss/Makefile: Likewise.
28603 * time/Makefile: Likewise.
28604 * soft-fp/Makefile: Likewise.
28605 * dirent/Makefile: Likewise.
28606 * gmon/Makefile: Likewise.
28607 * po/Makefile: Likewise.
28608 * rt/Makefile: Likewise.
28609 * socket/Makefile: Likewise.
28610 * math/Makefile: Likewise.
28611 * signal/Makefile: Likewise.
28612 * debug/Makefile: Likewise.
28613 * elf/Makefile: Likewise.
28614 * timezone/Makefile: Likewise.
28615 * stdlib/Makefile: Likewise.
28616 * iconvdata/Makefile: Likewise.
28617 * sunrpc/Makefile: Likewise.
28618 * io/Makefile: Likewise.
28619 * argp/Makefile: Likewise.
28620 * inet/Makefile: Likewise.
28621 * hesiod/Makefile: Likewise.
28622 * grp/Makefile: Likewise.
28623 * csu/Makefile: Likewise.
28624 * wctype/Makefile: Likewise.
28625 * crypt/Makefile: Likewise.
28626 * libio/Makefile: Likewise.
28627 * string/Makefile: Likewise.
28628 * nis/Makefile: Likewise.
28629 * resolv/Makefile: Likewise.
28630 * stdio-common/Makefile: Likewise.
28631 * wcsmbs/Makefile: Likewise.
28632 * dlfcn/Makefile: Likewise.
28633 * posix/Makefile: Likewise.
28636 * timezone/Makefile: Don't install timezone files, just the programs
28639 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28641 * nss/databases.def: Add missing gshadow entry.
28643 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28645 2012-03-06 Marek Polacek <polacek@redhat.com>
28648 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28649 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28650 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28651 * stdio-common/tst-long-dbl-fphex.c: New file.
28653 2012-03-06 David S. Miller <davem@davemloft.net>
28655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28656 (set_obp_int): New function.
28657 (get_obp_int): New function.
28658 (__get_clockfreq_via_dev_openprom): Likewise.
28659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28660 Avoid unused variable warnings on 'val' and use builtin_expect.
28661 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28663 (INLINE_CLONE_SYSCALL): Likewise.
28665 2012-03-05 David S. Miller <davem@davemloft.net>
28667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28669 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28674 only for |x| >= 40.
28675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28677 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28680 Replace gettimeofday with __vdso_gettimeofday.
28682 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28683 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28684 __vdso_clock_gettime and __vdso_getcpu.
28686 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28687 time with __vdso_time.
28689 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28691 * manual/lang.texi (size_t): Note types to which size_t may be
28692 equivalent with the GNU C Library, but do not describe when
28693 differences between them are significant.
28695 2012-03-05 Andreas Jaeger <aj@suse.de>
28697 * sysdeps/i386/fpu/libm-test-ulps: Update.
28699 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28702 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28703 (__ieee754_pow): Save and restore rounding mode and use
28704 round-to-nearest for main computations.
28705 * math/libm-test.inc (pow_test_tonearest): New function.
28706 (pow_test_towardzero): Likewise.
28707 (pow_test_downward): Likewise.
28708 (pow_test_upward): Likewise.
28709 (main): Call the new functions.
28710 * sysdeps/i386/fpu/libm-test-ulps: Update.
28711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28714 * math/libm-test.inc (cosh_test_tonearest): New function.
28715 (cosh_test_towardzero): Likewise.
28716 (cosh_test_downward): Likewise.
28717 (cosh_test_upward): Likewise.
28718 (sinh_test_tonearest): Likewise.
28719 (sinh_test_towardzero): Likewise.
28720 (sinh_test_downward): Likewise.
28721 (sinh_test_upward): Likewise.
28722 (main): Call the new functions.
28723 * sysdeps/i386/fpu/libm-test-ulps: Update.
28724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28726 2012-03-05 Tom de Vries <tom@codesourcery.com>
28728 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28729 default stack guard is set in last bytes.
28730 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28732 2012-03-05 Kees Cook <keescook@chromium.org>
28734 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28737 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28738 possibly allocate from heap instead of stack.
28739 * stdio-common/bug-vfprintf-nargs.c: New file.
28740 * stdio-common/Makefile (tests): Add nargs overflow test.
28742 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28746 2012-03-03 Marek Polacek <polacek@redhat.com>
28748 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28749 * math/math_private.h: Likewise.
28750 * stdlib/tst-strtod.c: Likewise.
28751 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28752 * sysdeps/x86_64/bits/atomic.h: Likewise.
28754 2012-03-02 David S. Miller <davem@davemloft.net>
28756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28760 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28761 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28762 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28763 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28765 2012-03-02 Roland McGrath <roland@hack.frob.com>
28768 * manual/examples/README: New file, says the example source files
28769 can be used under GPL>=2.
28770 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28771 line containing just "*/".
28772 * manual/examples/add.c: Add copyright header (GPL>=2).
28773 * manual/examples/argp-ex1.c: Likewise.
28774 * manual/examples/argp-ex2.c: Likewise.
28775 * manual/examples/argp-ex3.c: Likewise.
28776 * manual/examples/argp-ex4.c: Likewise.
28777 * manual/examples/atexit.c: Likewise.
28778 * manual/examples/db.c: Likewise.
28779 * manual/examples/dir.c: Likewise.
28780 * manual/examples/dir2.c: Likewise.
28781 * manual/examples/execinfo.c: Likewise.
28782 * manual/examples/filecli.c: Likewise.
28783 * manual/examples/filesrv.c: Likewise.
28784 * manual/examples/fmtmsgexpl.c: Likewise.
28785 * manual/examples/genpass.c: Likewise.
28786 * manual/examples/inetcli.c: Likewise.
28787 * manual/examples/inetsrv.c: Likewise.
28788 * manual/examples/isockad.c: Likewise.
28789 * manual/examples/longopt.c: Likewise.
28790 * manual/examples/memopen.c: Likewise.
28791 * manual/examples/memstrm.c: Likewise.
28792 * manual/examples/mkfsock.c: Likewise.
28793 * manual/examples/mkisock.c: Likewise.
28794 * manual/examples/mygetpass.c: Likewise.
28795 * manual/examples/pipe.c: Likewise.
28796 * manual/examples/popen.c: Likewise.
28797 * manual/examples/rprintf.c: Likewise.
28798 * manual/examples/search.c: Likewise.
28799 * manual/examples/select.c: Likewise.
28800 * manual/examples/setjmp.c: Likewise.
28801 * manual/examples/sigh1.c: Likewise.
28802 * manual/examples/sigusr.c: Likewise.
28803 * manual/examples/stpcpy.c: Likewise.
28804 * manual/examples/strdupa.c: Likewise.
28805 * manual/examples/strftim.c: Likewise.
28806 * manual/examples/strncat.c: Likewise.
28807 * manual/examples/subopt.c: Likewise.
28808 * manual/examples/swapcontext.c: Likewise.
28809 * manual/examples/termios.c: Likewise.
28810 * manual/examples/testopt.c: Likewise.
28811 * manual/examples/testpass.c: Likewise.
28812 * manual/examples/timeval_subtract.c: Likewise.
28815 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28817 * manual/timeval_subtract.c.texi: ... here, new file.
28819 2012-03-02 David S. Miller <davem@davemloft.net>
28821 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28823 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28826 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28827 (__sin): Save and restore rounding mode and use round-to-nearest
28828 for all computations.
28829 (__cos): Save and restore rounding mode and use round-to-nearest
28830 for all computations.
28831 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28833 (tan): Save and restore rounding mode and use round-to-nearest for
28835 * math/libm-test.inc (cos_test_tonearest): New function.
28836 (cos_test_towardzero): Likewise.
28837 (cos_test_downward): Likewise.
28838 (cos_test_upward): Likewise.
28839 (sin_test_tonearest): Likewise.
28840 (sin_test_towardzero): Likewise.
28841 (sin_test_downward): Likewise.
28842 (sin_test_upward): Likewise.
28843 (tan_test_tonearest): Likewise.
28844 (tan_test_towardzero): Likewise.
28845 (tan_test_downward): Likewise.
28846 (tan_test_upward): Likewise.
28847 (main): Call the new functions.
28848 * sysdeps/i386/fpu/libm-test-ulps: Update.
28849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28852 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28853 small n, then large n, before computing and testing k+n.
28854 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28859 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28860 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28861 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28862 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28863 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28864 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28865 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28866 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28867 * math/libm-test.inc (scalbn_test): Add more tests.
28868 (scalbln_test): Likewise.
28870 * manual/filesys.texi (mode_t): Describe constraints on size and
28871 signedness, not exact equivalence to a particular type.
28873 (ino64_t): Likewise.
28875 (nlink_t): Likewise.
28876 (blkcnt_t): Likewise.
28877 (blkcnt64_t): Likewise.
28878 * manual/llio.texi (off_t): Likewise.
28881 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28882 (__ieee754_exp): Save and restore rounding mode and use
28883 round-to-nearest for all computations.
28884 * math/libm-test.inc (exp_test_tonearest): New function.
28885 (exp_test_towardzero): Likewise.
28886 (exp_test_downward): Likewise.
28887 (exp_test_upward): Likewise.
28888 (main): Call the new functions.
28889 * sysdeps/i386/fpu/libm-test-ulps: Update.
28890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28892 2012-03-01 Chris Demetriou <cgd@google.com>
28894 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28895 have predictable order.
28897 2012-03-01 David S. Miller <davem@davemloft.net>
28899 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28901 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28902 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28903 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28904 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28906 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28907 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28908 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28910 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28911 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28912 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28913 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28914 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28919 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28922 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28923 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28924 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28925 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28926 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28929 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28930 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28931 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28932 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28935 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28936 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28938 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28939 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28940 * sysdeps/sparc/elf/configure: Regenerated.
28942 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28944 * configure.in (AS, LD): Require binutils 2.20 or later.
28945 * configure: Regenerated.
28946 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28947 as required minimum version.
28948 * INSTALL: Regenerated.
28952 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28953 before squaring exponent.
28954 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28955 bottom long double and 27 bits of top long double before squaring
28957 * math/libm-test.inc (erfc_test): Add more tests.
28958 * sysdeps/i386/fpu/libm-test-ulps: Update.
28959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28962 2012-03-01 Kai Tietz <ktietz@redhat.com>
28964 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28965 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28966 containing bit-fields.
28967 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28968 * soft-fp/single.h (_FP_UNION_S): Likewise.
28969 * soft-fp/double.h (_FP_UNION_D): Likewise.
28971 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28974 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28975 not include ../strcmp.S.
28976 [USE_AS_STRNCASECMP_L]: Likewise.
28977 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28978 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28979 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28980 (__strncasecmp_l_ia32): Define as alias to
28981 __strncasecmp_l_nonascii.
28984 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28985 * sysdeps/i386/fpu/libm-test-ulps: Update.
28986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28988 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28991 2012-02-29 Jeff Law <law@redhat.com>
28993 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28994 out of bounds read.
28996 2012-02-29 Marek Polacek <polacek@redhat.com>
28999 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29000 * elf/Makefile: Add rules to run tst-unused-dep.out.
29002 2012-02-28 David S. Miller <davem@davemloft.net>
29004 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29005 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29008 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29009 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29011 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29013 * math/libm-test.inc (llround_test): Move one test from
29014 lround_test. Use TEST_f_L in moved test.
29015 (lround_test): Move misplaced test to llround_test. Add testcase
29018 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29020 * sysdeps/x86_64/fpu/e_expf.S: New file.
29021 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29023 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29026 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29027 of remain_len that may cause incomplete multi-byte character and
29029 * posix/bug-regex33.c: New file.
29030 * posix/Makefile (tests): Add bug-regex33.
29032 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29034 * manual/macros.texi: New file.
29035 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29036 * manual/libc.texinfo: Include macros.texi.
29037 * manual/creatute.texi: Likewise.
29038 * manual/install.texi: Likewise.
29039 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29040 @glibcadj{} in references to the GNU C Library.
29041 * manual/charset.texi: Likewise.
29042 * manual/conf.texi: Likewise.
29043 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29044 when not using those macros.
29045 * manual/creature.texi: Likewise.
29046 * manual/crypt.texi: Likewise.
29047 * manual/errno.texi: Likewise.
29048 * manual/filesys.texi: Likewise.
29049 * manual/header.texi: Likewise.
29050 * manual/install.texi: Likewise.
29051 * manual/intro.texi: Likewise.
29052 * manual/io.texi: Likewise.
29053 * manual/job.texi: Likewise.
29054 * manual/lang.texi: Likewise.
29055 * manual/libc.texiinfo: Likewise.
29056 * manual/llio.texi: Likewise.
29057 * manual/locale.texi: Likewise.
29058 * manual/maint.texi: Likewise.
29059 * manual/math.texi: Likewise.
29060 * manual/memory.texi: Likewise.
29061 * manual/message.texi: Likewise.
29062 * manual/nss.texi: Likewise.
29063 * manual/pattern.texi: Likewise.
29064 * manual/process.texi: Likewise.
29065 * manual/resource.texi: Likewise.
29066 * manual/search.texi: Likewise.
29067 * manual/setjmp.texi: Likewise.
29068 * manual/signal.texi: Likewise.
29069 * manual/socket.texi: Likewise.
29070 * manual/startup.texi: Likewise.
29071 * manual/stdio.texi: Likewise.
29072 * manual/string.texi: Likewise.
29073 * manual/sysinfo.texi: Likewise.
29074 * manual/syslog.texi: Likewise.
29075 * manual/terminal.texi: Likewise.
29076 * manual/time.texi: Likewise.
29077 * manual/users.texi: Likewise.
29078 * INSTALL: Regenerated.
29079 * NOTES: Regenerated.
29080 * sysdeps/gnu/errlist.c: Regenerated.
29082 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29084 * include/dirent.h: Include <dirstream.h> before
29087 2012-02-28 David S. Miller <davem@davemloft.net>
29089 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29090 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29091 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29092 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29094 2012-02-27 David S. Miller <davem@davemloft.net>
29096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29098 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29099 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29102 frame pointer instead of stack pointer relative arg slot.
29103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29104 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29105 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29107 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29110 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29112 2012-02-27 David S. Miller <davem@davemloft.net>
29114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29118 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29119 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29120 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29121 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29123 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29125 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29126 later. Allow versions 5-9.
29127 * configure: Regenerated.
29128 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29129 required minimum version and 4.6 as recommended version. Do not
29130 mention bugs in GCC 2.7 and 2.8.
29131 * INSTALL: Regenerated.
29133 2012-02-27 David S. Miller <davem@davemloft.net>
29135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29139 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29140 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29141 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29142 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29145 manipulate bits before adding and subtracting TWO112[sx].
29146 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29148 2012-02-27 Roland McGrath <roland@hack.frob.com>
29151 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29152 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29153 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29154 being in POSIX, because they are in 1003.1-2008.
29156 * rt/tst-aio.c: Include <fcntl.h>.
29157 * rt/tst-aio7.c: Likewise.
29158 * rt/tst-aio64.c: Likewise.
29160 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29162 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29164 * manual/install.texi (--with-headers): Describe headers as
29165 interface headers, not private headers.
29166 (Specific advice for GNU/Linux systems): Describe use of headers
29167 from "make headers_install", not private headers from older
29169 * INSTALL: Regenerated.
29170 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29172 * sysdeps/unix/sysv/linux/configure: Regenerated.
29174 * manual/llio.texi (fclean): Remove documentation.
29176 * manual/Makefile (libc-texi-generated): New variable. Include
29178 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29179 $(libc-texi-generated), not duplicated list of files.
29180 (version.texi, stamp-version): New rules.
29181 (realclean): Remove $(libc-texi-generated), not individual files
29182 from that list. Do not remove dir-add.texinfo.
29183 * manual/libc.texinfo: Comment out uses of edition numbers and
29184 references to printed manual. Remove last-updated dates.
29185 (EDITION): Comment out.
29187 (VERSION, UPDATED): Remove.
29188 (version.texi): Include.
29190 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29192 * sysdeps/posix/spawni.c: Include <signal.h>.
29193 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29194 * sysdeps/pthread/aio_fsync.c: Likewise.
29196 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29198 * conform/Makefile (tests): Run only when not cross-compiling and
29199 when fast-check is not defined.
29201 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29202 * conform/data/limits.h-data: Fixes for POSIX2008.
29203 * conform/run-conformtest.sh: Run all tests.
29204 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29206 * include/bits/dlfcn.h: Likewise.
29207 * include/langinfo.h: Likewise.
29208 * include/monetary.h: Likewise.
29209 * include/sys/poll.h: Likewise.
29211 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29213 * posix/spawn.h: Define __need_sigset_t.
29214 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29215 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29216 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29217 to get sigevent_t only.
29218 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29219 only for __USE_GNU.
29220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29221 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29222 process_vm_writev only for __USE_GNU.
29223 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29225 * conform/Makefile: For now ignore errors from run-conformtest.
29226 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29227 POSIX to avoid namespace pollution. Don't prepend headers.
29228 * conform/data/aio.h-data: Fixes for POSIX testing.
29229 * conform/data/fcntl.h-data: Likewise.
29230 * conform/data/glob.h-data: Likewise.
29231 * conform/data/grp.h-data: Likewise.
29232 * conform/data/pthread.h-data: Likewise.
29233 * conform/data/pwd.h-data: Likewise.
29234 * conform/data/signal.h-data: Likewise.
29235 * conform/data/spawn.h-data: Likewise.
29236 * conform/data/stdio.h-data: Likewise.
29237 * conform/data/stdlib.h-data: Likewise.
29238 * conform/data/stropts.h-data: Likewise.
29239 * conform/data/sys/mman.h-data: Likewise.
29240 * conform/data/sys/stat.h-data: Likewise.
29241 * conform/data/sys/types.h-data: Likewise.
29242 * conform/data/sys/wait.h-data: Likewise.
29243 * conform/data/time.h-data: Likewise.
29244 * conform/data/unistd.h-data: Likewise.
29245 * conform/data/utime.h-data: Likewise.
29247 * io/sys/stat.h: fchmod was always in POSIX.
29248 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29249 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29250 * rt/aio.h: Define __need_timespec before including <time.h>.
29251 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29252 struct. Add forward declaration of pthread_attr_t and use it in
29254 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29256 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29257 always remove CLK_TCK definition.
29259 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29261 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29263 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29265 * conform/run-conformtest.sh: New file.
29266 * conform/Makefile: Run run-conformtest for tests.
29267 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29270 * conform/data/uchar.h-data: New file.
29271 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29272 * conform/data/arpa/inet.h-data: Likewise.
29273 * conform/data/assert.h-data: Likewise.
29274 * conform/data/complex.h-data: Likewise.
29275 * conform/data/cpio.h-data: Likewise.
29276 * conform/data/ctype.h-data: Likewise.
29277 * conform/data/dirent.h-data: Likewise.
29278 * conform/data/dlfcn.h-data: Likewise.
29279 * conform/data/errno.h-data: Likewise.
29280 * conform/data/fcntl.h-data: Likewise.
29281 * conform/data/float.h-data: Likewise.
29282 * conform/data/fmtmsg.h-data: Likewise.
29283 * conform/data/fnmatch.h-data: Likewise.
29284 * conform/data/ftw.h-data: Likewise.
29285 * conform/data/glob.h-data: Likewise.
29286 * conform/data/grp.h-data: Likewise.
29287 * conform/data/iconv.h-data: Likewise.
29288 * conform/data/inttypes.h-data: Likewise.
29289 * conform/data/langinfo.h-data: Likewise.
29290 * conform/data/libgen.h-data: Likewise.
29291 * conform/data/limits.h-data: Likewise.
29292 * conform/data/locale.h-data: Likewise.
29293 * conform/data/math.h-data: Likewise.
29294 * conform/data/monetary.h-data: Likewise.
29295 * conform/data/mqueue.h-data: Likewise.
29296 * conform/data/ndbm.h-data: Likewise.
29297 * conform/data/net/if.h-data: Likewise.
29298 * conform/data/netdb.h-data: Likewise.
29299 * conform/data/netinet/in.h-data: Likewise.
29300 * conform/data/nl_types.h-data: Likewise.
29301 * conform/data/poll.h-data: Likewise.
29302 * conform/data/pthread.h-data: Likewise.
29303 * conform/data/pwd.h-data: Likewise.
29304 * conform/data/regex.h-data: Likewise.
29305 * conform/data/sched.h-data: Likewise.
29306 * conform/data/search.h-data: Likewise.
29307 * conform/data/semaphore.h-data: Likewise.
29308 * conform/data/setjmp.h-data: Likewise.
29309 * conform/data/signal.h-data: Likewise.
29310 * conform/data/spawn.h-data: Likewise.
29311 * conform/data/stdarg.h-data: Likewise.
29312 * conform/data/stdio.h-data: Likewise.
29313 * conform/data/stdlib.h-data: Likewise.
29314 * conform/data/string.h-data: Likewise.
29315 * conform/data/strings.h-data: Likewise.
29316 * conform/data/stropts.h-data: Likewise.
29317 * conform/data/sys/ipc.h-data: Likewise.
29318 * conform/data/sys/mman.h-data: Likewise.
29319 * conform/data/sys/msg.h-data: Likewise.
29320 * conform/data/sys/resource.h-data: Likewise.
29321 * conform/data/sys/select.h-data: Likewise.
29322 * conform/data/sys/sem.h-data: Likewise.
29323 * conform/data/sys/shm.h-data: Likewise.
29324 * conform/data/sys/socket.h-data: Likewise.
29325 * conform/data/sys/stat.h-data: Likewise.
29326 * conform/data/sys/statvfs.h-data: Likewise.
29327 * conform/data/sys/time.h-data: Likewise.
29328 * conform/data/sys/timeb.h-data: Likewise.
29329 * conform/data/sys/times.h-data: Likewise.
29330 * conform/data/sys/types.h-data: Likewise.
29331 * conform/data/sys/uio.h-data: Likewise.
29332 * conform/data/sys/un.h-data: Likewise.
29333 * conform/data/sys/utsname.h-data: Likewise.
29334 * conform/data/sys/wait.h-data: Likewise.
29335 * conform/data/syslog.h-data: Likewise.
29336 * conform/data/tar.h-data: Likewise.
29337 * conform/data/termios.h-data: Likewise.
29338 * conform/data/utime.h-data: Likewise.
29339 * conform/data/utmpx.h-data: Likewise.
29340 * conform/data/varargs.h-data: Likewise.
29341 * conform/data/wchar.h-data: Likewise.
29342 * conform/data/wctype.h-data: Likewise.
29343 * conform/data/wordexp.h-data: Likewise.
29345 * include/stropts.h: New file.
29346 * include/uchar.h: New file.
29347 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29348 * include/assert.h: Likewise.
29349 * include/ctype.h: Likewise.
29350 * include/dirent.h: Likewise.
29351 * include/dlfcn.h: Likewise.
29352 * include/fcntl.h: Likewise.
29353 * include/fnmatch.h: Likewise.
29354 * include/glob.h: Likewise.
29355 * include/grp.h: Likewise.
29356 * include/libio.h: Likewise.
29357 * include/locale.h: Likewise.
29358 * include/math.h: Likewise.
29359 * include/net/if.h: Likewise.
29360 * include/netdb.h: Likewise.
29361 * include/netinet/in.h: Likewise.
29362 * include/pthread.h: Likewise.
29363 * include/pwd.h: Likewise.
29364 * include/regex.h: Likewise.
29365 * include/sched.h: Likewise.
29366 * include/search.h: Likewise.
29367 * include/setjmp.h: Likewise.
29368 * include/signal.h: Likewise.
29369 * include/stdio.h: Likewise.
29370 * include/stdlib.h: Likewise.
29371 * include/string.h: Likewise.
29372 * include/sys/cdefs.h: Likewise.
29373 * include/sys/mman.h: Likewise.
29374 * include/sys/msg.h: Likewise.
29375 * include/sys/resource.h: Likewise.
29376 * include/sys/select.h: Likewise.
29377 * include/sys/socket.h: Likewise.
29378 * include/sys/stat.h: Likewise.
29379 * include/sys/statvfs.h: Likewise.
29380 * include/sys/time.h: Likewise.
29381 * include/sys/times.h: Likewise.
29382 * include/sys/uio.h: Likewise.
29383 * include/sys/utsname.h: Likewise.
29384 * include/sys/wait.h: Likewise.
29385 * include/termios.h: Likewise.
29386 * include/time.h: Likewise.
29387 * include/ulimit.h: Likewise.
29388 * include/unistd.h: Likewise.
29389 * include/utime.h: Likewise.
29390 * include/wchar.h: Likewise.
29391 * include/wctype.h: Likewise.
29392 * include/wordexp.h: Likewise.
29394 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29396 * time/time.h: TIME_UTC must be a macro.
29397 Make timespec_get available for ISO C11 only as well.
29399 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29401 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29402 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29404 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29406 * configure.in: Use -o not -a in test for unsupported multi-arch.
29408 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29410 * manual/texinfo.tex: Update to version 2012-01-19.16.
29412 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29414 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29416 2012-02-24 Roland McGrath <roland@hack.frob.com>
29419 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29420 * manual/fdl-1.3.texi: New file.
29421 * manual/fdl-1.1.texi: File removed.
29424 * manual/libc.texinfo (FDL_VERSION): New @set.
29425 Use it for mention of FDL in cover text.
29426 (Documentation License): Use it in @include file name.
29428 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29429 Roland McGrath <roland@hack.frob.com>
29432 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29433 not LONG_LONG_MAX and LONG_LONG_MIN.
29434 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29435 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29437 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29439 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29443 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29444 manipulate bits before adding and subtracting TWO23[sx].
29445 * math/libm-test.inc (nearbyint_test): Add more tests.
29447 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29450 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29451 bits before adding and subtracting TWO23[sx].
29452 * math/libm-test.inc (rint_test): Add more tests.
29453 (rint_test_tonearest): Likewise.
29454 (rint_test_towardzero): Likewise.
29455 (rint_test_downward): Likewise.
29456 (rint_test_upward: Likewise.
29458 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29461 * include/stdc-predef.h: New file. Extracted from features.h.
29462 * include/features.h: Include stdc-predef.h.
29463 * Makefile (headers): Add stdc-predef.h.
29464 * CONFORMANCE (Compiler limitations): Update.
29466 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29468 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29470 2012-02-21 David S. Miller <davem@davemloft.net>
29472 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29473 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29475 2012-02-20 David S. Miller <davem@davemloft.net>
29477 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29478 using a normal save/restore sequence, rather than allocating a
29479 dummy stack frame just to store a frame pointer and restore.
29480 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29482 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29484 * manual/install.texi: Fix stray word in line-wrapped comment.
29486 2012-02-20 David S. Miller <davem@davemloft.net>
29488 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29489 both binutils and gcc support GOTDATA.
29491 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29492 "rd %pc" in the PIC register setup sequences.
29494 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29495 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29496 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29497 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29498 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29501 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29503 (SYSCALL_ERROR_HANDLER): Likewise.
29504 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29505 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29507 (SYSCALL_ERROR_HANDLER): Likewise.
29509 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29510 (HAVE_GCC_GOTDATA): New.
29511 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29512 relocation support in both binutils and gcc.
29513 * sysdeps/sparc/elf/configure: Regenerate.
29515 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29516 * sysdeps/sparc/sparc32/elf/configure: Delete.
29517 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29518 * sysdeps/sparc/sparc64/elf/configure: Delete.
29519 * sysdeps/sparc/elf/configure.in: New file.
29520 * sysdeps/sparc/elf/configure: Generate.
29522 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29523 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29525 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29526 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29528 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29530 * manual/install.texi: Do not mention specific glibc version
29532 * manual/libc.texinfo (VERSION, UPDATED): Update.
29533 (@copying): Use @copyright{} and range of years.
29535 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29538 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29539 [crti.S not in sysdirs] (generated): Do not append.
29540 [crti.S not in sysdirs] (omit-deps): Likewise.
29541 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29542 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29543 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29544 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29545 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29547 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29548 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29549 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29550 * csu/defs.awk: Remove file.
29551 * sysdeps/generic/initfini.c: Likewise.
29552 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29554 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29557 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29559 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29560 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29561 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29562 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29564 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29566 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29567 (__EPOLL_PACKED): Define to empty if not defined by
29569 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29573 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29575 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29576 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29577 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29578 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29580 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29584 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29586 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29589 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29590 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29593 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29598 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29600 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29601 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29603 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29605 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29608 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29610 * math/w_acos.c: Use non-signaling floating-point comparisons.
29611 * math/w_acosf.c: Likewise.
29612 * math/w_acosh.c: Likewise.
29613 * math/w_acoshf.c: Likewise.
29614 * math/w_acoshl.c: Likewise.
29615 * math/w_acosl.c: Likewise.
29616 * math/w_asin.c: Likewise.
29617 * math/w_asinf.c: Likewise.
29618 * math/w_asinl.c: Likewise.
29619 * math/w_atanh.c: Likewise.
29620 * math/w_atanhf.c: Likewise.
29621 * math/w_atanhl.c: Likewise.
29622 * math/w_exp2.c: Likewise.
29623 * math/w_exp2f.c: Likewise.
29624 * math/w_exp2l.c: Likewise.
29625 * math/w_j0.c: Likewise.
29626 * math/w_j0f.c: Likewise.
29627 * math/w_j0l.c: Likewise.
29628 * math/w_j1.c: Likewise.
29629 * math/w_j1f.c: Likewise.
29630 * math/w_j1l.c: Likewise.
29631 * math/w_jn.c: Likewise.
29632 * math/w_jnf.c: Likewise.
29633 * math/w_log.c: Likewise.
29634 * math/w_log10.c: Likewise.
29635 * math/w_log10f.c: Likewise.
29636 * math/w_log10l.c: Likewise.
29637 * math/w_log2.c: Likewise.
29638 * math/w_log2f.c: Likewise.
29639 * math/w_log2l.c: Likewise.
29640 * math/w_logf.c: Likewise.
29641 * math/w_logl.c: Likewise.
29642 * math/w_sqrt.c: Likewise.
29643 * math/w_sqrtf.c: Likewise.
29644 * math/w_sqrtl.c: Likewise.
29645 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29646 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29648 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29649 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29651 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29654 * manual/string.texi (strnlen): Use correct parameter name in
29655 equivalent expression.
29657 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29660 * manual/users.texi (seteuid): Consistently use neweuid for
29663 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29666 * manual/nss.texi (Services in the NSS configuration): Correct
29667 list of services in example configuration file.
29669 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29672 * manual/arith.texi: Remove statements about negative zero
29673 behaving identically to zero.
29675 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29678 * manual/install.texi: Do not document upgrading from libc5.
29680 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29683 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29685 2012-02-18 David S. Miller <davem@davemloft.net>
29687 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29688 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29689 %o7 across the call.
29690 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29693 SETUP_PIC_REG_LEAF.
29694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29695 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29696 * sysdeps/sparc/crtn.S: Likewise.
29698 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29700 * aout/Makefile: Remove.
29702 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29705 * manual/examples/argp-ex1.c (main): Format definition in GNU
29707 * manual/examples/argp-ex2.c (main): Likewise.
29708 * manual/examples/argp-ex3.c (main): Likewise.
29709 * manual/examples/argp-ex4.c (main): Likewise.
29710 * manual/examples/longopt.c (main): Use new-style prototype
29712 * manual/examples/strncat.c (main): Specify return type and use
29713 (void) for arguments.
29714 * manual/examples/subopt.c (main): Use char **argv argument.
29716 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29719 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29722 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29725 * manual/string.texi (strchr): Change when strchrnul is
29728 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29731 * manual/locale.texi (setlocale): Document LOCPATH.
29733 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29736 * manual/process.texi (execle): Move @dots{} before last argument.
29738 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29741 * manual/charset.texi (Generic Charset Conversion): Fix typo
29742 (LC_TYPE -> LC_CTYPE).
29744 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29747 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29748 (scalbnf): Likewise.
29749 (scalbnl): Likewise.
29750 (scalbln): Likewise.
29751 (scalblnf): Likewise.
29752 (scalblnl): Likewise.
29753 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29754 (vwarnx): Likewise.
29757 * manual/filesys.texi (telldir): Use braces around return type.
29758 * manual/llio.texi (mmap): Add space after comma.
29759 (mmap64): Likewise.
29760 * manual/math.texi (jn): Use @var{} on parameter names.
29766 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29768 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29770 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29771 (sched_get_priority_max): Likewise.
29772 * manual/signal.texi (sigvec): Add space after comma.
29773 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29775 (if_indextoname): Likewise.
29776 (if_freenameindex): Likewise.
29777 (sendto): Use ',' instead of '.' in prototype.
29778 * manual/startup.texi (syscall): Use @dots{} instead of literal
29780 * manual/stdio.texi (__fpending): Separate initial words of
29781 paragraph from @deftypefun line.
29782 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29784 (vsyslog): Use @var{} on parameter names.
29785 * manual/terminal.texi (stty): Use @var{} on parameter names.
29786 * manual/users.texi (getutmp): Use @var{} on parameter names.
29787 (getutmpx): Likewise.
29789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29792 * manual/stdio.texi (fopen): Fix typos in description of
29795 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29798 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29799 get clock_id definition.
29801 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29804 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29805 (madvise): Cast every argument to void on its own.
29807 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29810 * manual/startup.texi (Exit Status): Fix typo.
29812 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29815 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29816 * manual/examples/argp-ex2.c: Likewise.
29817 * manual/examples/argp-ex3.c: Likewise.
29819 2012-02-16 Richard Henderson <rth@redhat.com>
29821 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29822 * sysdeps/s390/s390-32/initfini.c: Remove.
29823 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29824 * sysdeps/s390/s390-64/initfini.c: Remove.
29826 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29828 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29829 compiler output for sysdeps/generic/initfini.c.
29830 * sysdeps/sh/elf/initfini.c: Remove file.
29832 2012-02-16 David S. Miller <davem@davemloft.net>
29835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29837 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29838 * sysdeps/sparc/crti.S: New file.
29839 * sysdeps/sparc/crtn.S: New file.
29840 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29841 * sysdeps/sparc/sparc64/Makefile: Likewise.
29843 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29846 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29848 2012-02-15 Roland McGrath <roland@hack.frob.com>
29851 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29853 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29854 (write, read, close): Likewise.
29855 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29857 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29859 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29860 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29861 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29862 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29864 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29868 2012-02-14 Marek Polacek <polacek@redhat.com>
29870 * sysdeps/x86_64/crti.S: New file.
29871 * sysdeps/x86_64/crtn.S: New file.
29872 * sysdeps/x86_64/elf/initfini.c: Remove file.
29874 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29876 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29877 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29878 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29879 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29881 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29885 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29887 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29888 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29889 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29890 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29892 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29896 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29898 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29899 __feraiseexcept instead of feraiseexcept.
29901 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29902 nanosleep invocations.
29903 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29904 strings, and add error checking for a nanosleep invocations.
29906 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29908 Replace FSF snail mail address with URLs, as per GNU coding standards.
29909 Most of the snail mail addresses were wrong anyway, and omitting
29910 them makes the source code easier to maintain. Almost all of the
29911 changes are to license notices and to locale LC_IDENTIFICATION
29912 addresses, except for this one:
29913 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29914 not its snail mail address.
29916 2012-02-09 Richard Henderson <rth@twiddle.net>
29918 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29919 of kernel-features.h.
29921 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29923 2012-02-08 Marek Polacek <polacek@redhat.com>
29925 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29926 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29927 * sysdeps/gnu/_G_config.h: Likewise.
29928 * sysdeps/generic/_G_config.h: Likewise.
29930 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29932 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29936 * sysdeps/powerpc/powerpc32/crti.S: New file.
29937 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29938 * sysdeps/powerpc/powerpc64/crti.S: New file.
29939 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29941 * Makeconfig (have-initfini): Don't set.
29942 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29943 * configure.in (nopic_initfini): Don't substitute.
29944 * config.h.in (HAVE_INITFINI): Don't #undef.
29945 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29946 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29948 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29950 Support crti.S and crtn.S provided directly by architectures.
29951 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29952 [crti.S in sysdirs] (omit-deps): Likewise.
29953 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29954 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29955 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29956 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29957 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29958 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29959 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29960 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29961 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29962 compiler output for sysdeps/generic/initfini.c.
29963 * sysdeps/i386/elf/Makefile: Remove file.
29964 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29966 2012-02-07 Marek Polacek <polacek@redhat.com>
29968 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29969 * sysdeps/gnu/_G_config.h: Likewise.
29970 * sysdeps/mach/hurd/_G_config.h: Likewise.
29972 2012-02-07 Marek Polacek <polacek@redhat.com>
29974 * math/Makefile (tests): Add tst-CMPLX2.
29975 * math/tst-CMPLX2.c: New file.
29977 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29979 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29981 * math/libm-test.inc (jn_test): Add missing L suffix.
29983 2012-02-06 Marek Polacek <polacek@redhat.com>
29985 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29986 * sysdeps/i386/fpu/e_powf.S: Likewise.
29987 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29988 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29989 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29990 * sysdeps/i386/fpu/e_pow.S: Likewise.
29991 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29992 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29993 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29994 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29995 * sysdeps/i386/fpu/e_log2.S: Likewise.
29996 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29997 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29998 * sysdeps/i386/fpu/e_powl.S: Likewise.
29999 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30001 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30002 * sysdeps/i386/fpu/e_logl.S: Likewise.
30003 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30004 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30005 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30006 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30008 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30009 * sysdeps/i386/fpu/e_log.S: Likewise.
30010 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30011 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30012 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30013 * sysdeps/i386/fpu/e_logf.S: Likewise.
30014 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30015 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30016 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30017 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30018 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30019 * sysdeps/i386/fpu/e_log10.S: Likewise.
30020 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30021 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30022 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30023 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30024 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30025 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30026 * sysdeps/i386/asm-syntax.h: Likewise.
30027 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30028 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30030 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30031 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30033 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30034 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30035 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30036 * sysdeps/powerpc/sysdep.h: Likewise.
30037 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30038 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30040 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30043 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30045 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30047 * sysdeps/i386/sysdep.h: Include <features.h>.
30048 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30051 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30053 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30055 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30058 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30060 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30061 (SETUP_PIC_REG): Use GET_PC_THUNK.
30062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30065 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30067 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30068 for non-PIC compilation.
30069 (SETUP_PIC_REG): Add .p2align directive.
30070 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30071 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30072 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30073 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30076 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30078 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30079 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30080 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30081 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30082 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30084 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30085 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30086 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30087 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30088 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30089 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30092 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30093 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30096 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30097 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30098 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30099 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30100 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30102 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30103 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30104 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30105 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30106 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30107 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30108 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30109 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30110 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30112 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30114 * math/tst-CMPLX.c: Include <stdio.h>.
30116 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30118 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30120 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30121 * sysdeps/sparc/bits/mathdef.h: Likewise.
30123 2012-01-31 Marek Polacek <polacek@redhat.com>
30125 * libio/libio.h: Don't define _PARAMS.
30126 * locale/programs/config.h: Don't define PARAMS.
30127 * stdlib/strtol_l.c: Likewise.
30128 (__strtol_l): Remove PARAMS from the prototype.
30130 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30132 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30133 names. Just use the correct names. Remove unnecessary wrapper
30135 * malloc/arena.c: Likewise.
30136 * malloc/hooks.c: Likewise.
30138 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30139 ARENA_TEST says not to. Simplify test for creation of a new arena.
30140 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30142 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30144 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30146 (update_get_addr): New function.
30147 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30148 GET_ADDR_MODULE parameter.
30150 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30152 * crypt/cert.c: Remove __STDC__ conditionals.
30153 * crypt/crypt-entry.c: Likewise.
30154 * crypt/crypt_util.c: Likewise.
30155 * libio/filedoalloc.c: Likewise.
30156 * libio/fileops.c: Likewise.
30157 * libio/genops.c: Likewise.
30158 * libio/iofclose.c: Likewise.
30159 * libio/iofdopen.c: Likewise.
30160 * libio/iofopen.c: Likewise.
30161 * libio/iofopen64.c: Likewise.
30162 * libio/iogetdelim.c: Likewise.
30163 * libio/iopopen.c: Likewise.
30164 * libio/obprintf.c: Likewise.
30165 * libio/oldfileops.c: Likewise.
30166 * libio/oldiofclose.c: Likewise.
30167 * libio/oldiofdopen.c: Likewise.
30168 * libio/oldiofopen.c: Likewise.
30169 * libio/oldiopopen.c: Likewise.
30170 * libio/wfiledoalloc.c: Likewise.
30171 * libio/wgenops.c: Likewise.
30172 * locale/programs/xmalloc.c: Likewise.
30173 * misc/syslog.c: Likewise.
30174 * stdio-common/xbug.c: Likewise.
30175 * string/memchr.c: Likewise.
30176 * string/memcmp.c: Likewise.
30177 * string/memrchr.c: Likewise.
30178 * string/rawmemchr.c: Likewise.
30179 * sysdeps/posix/getcwd.c: Likewise.
30180 * time/strftime_l.c: Likewise.
30182 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30184 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30185 * config.make.in (config-cflags-sse2avx): Define.
30186 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30189 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30191 * scripts/config.guess: Update from upstream config git repository.
30192 * scripts/config.sub: Likewise.
30194 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30196 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30198 (R_TILEPRO_*, R_TILEGX_*): New macros.
30200 * scripts/firstversions.awk: Fix bug in version range handling.
30202 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30204 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30206 * include/sys/epoll.h: New file.
30207 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30210 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30212 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30213 Avoid unnecessary __WORDSIZE == 64 test.
30214 (fmaxf): Use VEX format if possible.
30219 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30220 * math/math_private.h: Remove libc_fegetround* and
30222 * sysdeps/i386/configure.in: Check for -msse2avx.
30223 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30224 also if SSE2AVX is defined.
30225 Remove libc_fegetround* and libc_fesetround*.
30226 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30227 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30231 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30236 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30238 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30240 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30244 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30247 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30249 * Makeconfig (libm): Define.
30250 * elf/Makefile: Add rules to build and run tst-relsort1.
30251 * elf/tst-relsort1.c: New file.
30252 * elf/tst-relsort1mod1.c: New file.
30253 * elf/tst-relsort1mod2.c: New file.
30255 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30257 * math/s_ldexp.c: Remove __STDC__ conditionals.
30258 * math/s_ldexpf.c: Likewise.
30259 * math/s_ldexpl.c: Likewise.
30260 * math/s_nextafter.c: Likewise.
30261 * math/s_nexttowardf.c: Likewise.
30262 * math/s_significand.c: Likewise.
30263 * math/s_significandf.c: Likewise.
30264 * math/s_significandl.c: Likewise.
30265 * math/w_jnl.c: Likewise.
30266 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30267 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30268 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30269 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30270 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30272 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30273 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30274 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30275 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30276 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30277 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30278 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30279 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30280 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30281 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30282 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30283 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30285 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30286 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30287 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30288 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30290 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30291 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30292 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30293 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30294 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30295 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30296 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30297 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30298 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30299 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30300 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30301 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30302 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30303 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30304 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30305 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30306 * sysdeps/ieee754/k_standard.c: Likewise.
30307 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30308 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30309 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30311 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30312 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30314 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30315 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30316 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30317 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30319 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30320 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30321 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30323 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30326 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30332 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30336 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30339 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30349 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30354 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30355 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30367 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30368 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30369 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30370 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30371 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30373 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30374 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30375 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30376 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30377 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30379 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30380 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30381 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30382 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30383 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30384 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30386 * sysdeps/ieee754/s_matherr.c: Likewise.
30387 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30388 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30392 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30394 * crypt/md5.h: Remove __STDC__ conditionals.
30395 * libio/libioP.h: Likewise.
30396 * locale/programs/config.h: Likewise.
30397 * sysdeps/generic/sysdep.h: Likewise.
30398 * sysdeps/i386/asm-syntax.h: Likewise.
30399 * sysdeps/s390/asm-syntax.h: Likewise.
30400 * sysdeps/unix/sysdep.h: Likewise.
30401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30404 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30406 * libio/libio.h: Remove __STDC__ conditionals.
30407 * malloc/obstack.h: Likewise.
30408 * math/complex.h: Likewise.
30409 * math/math.h: Likewise.
30410 * sysdeps/generic/_G_config.h: Likewise.
30411 * sysdeps/gnu/_G_config.h: Likewise.
30412 * sysdeps/mach/hurd/_G_config.h: Likewise.
30413 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30415 * sysdeps/sparc/bits/mathdef.h: Likewise.
30417 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30420 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30421 Clean up HAS_* macros.
30422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30423 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30428 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30433 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30435 * elf/tst-unique3.cc (gets): Remove declaration.
30436 * elf/tst-unique3lib.cc (gets): Likewise.
30437 * elf/tst-unique3lib2.cc (gets): Likewise.
30438 * elf/tst-unique4.cc (gets): Likewise.
30440 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30442 * include/stdio.h: Add C++ protection. Add gets declarations and
30444 * debug/tst-chk1.c: Don't declare gets here.
30445 * stdio-common/tst-gets.c: Likewise.
30447 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30449 * posix/glob: Remove directory.
30451 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30453 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30455 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30457 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30458 of the non-standard EPFNOSUPPORT.
30460 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30462 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30463 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30464 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30466 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30468 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30470 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30472 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30474 * nscd/grpcache.c (cache_addgr): Likewise.
30475 * nscd/hstcache.c (cache_addhst): Likewise.
30476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30477 * nscd/pwdcache.c (cache_addpw): Likewise.
30478 * nscd/servicescache.c (cache_addserv): Likewise.
30480 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30482 * malloc/malloc.c: Various cleanups.
30483 * malloc/hooks.c: Likewise.
30485 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30486 * stdlib/bug-fmtmsg1.c: New file.
30488 * stdlib/fmtmsg.c (init): Add missing unlock.
30489 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30491 2012-01-12 Marek Polacek <polacek@redhat.com>
30493 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30496 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30498 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30499 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30500 macro to ensure uniqueness of label name.
30501 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30502 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30504 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30506 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30508 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30509 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30513 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30515 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30517 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30518 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30519 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30521 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30524 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30525 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30528 * math/bits/math-finite.h: Add ldexp support.
30530 2012-01-10 Marek Polacek <polacek@redhat.com>
30532 * locale/programs/localedef.h (show_archive_content): Add noreturn
30535 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30537 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30539 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30541 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30543 * io/Makefile (headers): Add bits/poll2.h.
30545 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30548 typo #include statement.
30550 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30552 * include/sys/cdefs.h: Define __attribute_alloc_size.
30553 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30554 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30555 * elf/pldd.c: Likewise.
30556 * iconv/iconv_charmap.c: Likewise.
30557 * iconv/iconvconfig.c: Likewise.
30558 * iconv/strtab.c: Likewise.
30559 * locale/programs/locale.c: Likewise.
30560 * locale/programs/localedef.h: Likewise.
30561 * locale/programs/simple-hash.c: Likewise.
30562 * nscd/nscd.h: Likewise.
30563 * nss/makedb.c: Likewise.
30564 * sysdeps/generic/ldconfig.h: Likewise.
30565 * locale/programs/localedef.c: Remove xmalloc prototype.
30566 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30568 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30570 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30573 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30575 * math/Makefile (tests): Add tst-CMPLX.
30576 * math/tst-CMPLX.c: New file.
30578 * math/complex.h (CMPLXL): Fix typo.
30580 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30581 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30583 * debug/tst-chk1.c: Add poll and ppoll tests.
30584 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30585 * include/sys/poll.h: Add hidden proto for ppoll.
30586 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30587 * sysdeps/mach/hurd/ppoll.c: Likewise.
30588 * io/ppoll.c: Likewise.
30589 * debug/poll_chk.c: New file.
30590 * debug/ppoll_chk.c: New file.
30591 * include/bits/poll2.h: New file.
30592 * io/bits/poll2.h: New file.
30595 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30597 * configure.in: static is always set to yes. Remove.
30598 * config.make.in: Don't set build-static.
30599 * Makeconfig: Remove use of build-static.
30600 * dlfcn/Makefile: Likewise.
30601 * elf/Makefile: Likewise.
30602 * math/Makefile: Likewise.
30603 * misc/Makefile: Likewise.
30604 * nptl/Makefile: Likewise.
30605 * sysdeps/mach/hurd/Makefile: Likewise.
30607 * configure.in: PWD_P is not used anymore.
30608 * config.make.in: Remove PWD_P entry.
30610 * configure.in: Remove last remnants of RANLIB.
30611 No need to check for signed size_t anymore.
30612 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30614 Remove __builtin_expect test because we require at least gcc 3.4.
30615 * aclocal.m4: Likewise.
30617 * wcsmbs/mbrtoc16.c: Implement using towc function.
30618 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30619 * wcsmbs/wcsmbsload.c: Likewise.
30620 * iconv/gconv_simple.c: Likewise.
30621 * iconv/gconv_int.h: Likewise.
30622 * iconv/gconv_builtin.h: Likewise.
30623 * iconv/iconv_prog.c: Remove CHAR16 handling.
30625 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30627 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30629 * configure.in: Remove --with-elf and --enable-bounded options.
30630 Dont set base_machine for ia64. More non-ELF conditions removed.
30631 Remove testing and setting of leading underscore information.
30632 * config.make.in (build-bounded): Set to no.
30633 * config.h.in: Remove NO_UNDERSCORES entry.
30634 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30636 * csu/start.c: Remove !NO_UNDERSCORE code.
30637 * locale/localeinfo.h: Likewise.
30638 * sysdeps/generic/machine-gmon.h: Likewise.
30639 * sysdeps/generic/sysdep.h: Likewise.
30640 * sysdeps/i386/sysdep.h: Likewise.
30641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30642 * sysdeps/mach/sysdep.h: Likewise.
30643 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30645 * sysdeps/sh/sysdep.h: Likewise.
30646 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30647 * sysdeps/unix/i386/sysdep.S: Likewise.
30648 * sysdeps/unix/sparc/start.c: Likewise.
30649 * sysdeps/unix/sparc/sysdep.S: Likewise.
30650 * sysdeps/unix/sparc/sysdep.h: Likewise.
30651 * sysdeps/unix/start.c: Likewise.
30652 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30653 * sysdeps/x86_64/sysdep.h: Likewise.
30655 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30658 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30660 * argp/argp-fmtstream.h: Use const instead __const.
30661 * argp/argp.h: Likewise.
30662 * assert/assert.h: Likewise.
30663 * bits/fenv.h: Likewise.
30664 * bits/sched.h: Likewise.
30665 * bits/sigset.h: Likewise.
30666 * bits/sigthread.h: Likewise.
30667 * catgets/nl_types.h: Likewise.
30668 * conform/data/pthread.h-data: Likewise.
30669 * crypt/crypt-private.h: Likewise.
30670 * crypt/crypt.h: Likewise.
30671 * crypt/crypt_util.c: Likewise.
30672 * ctype/ctype.h: Likewise.
30673 * debug/execinfo.h: Likewise.
30674 * debug/mbsnrtowcs_chk.c: Likewise.
30675 * debug/mbsrtowcs_chk.c: Likewise.
30676 * debug/wcsnrtombs_chk.c: Likewise.
30677 * debug/wcsrtombs_chk.c: Likewise.
30678 * debug/wcstombs_chk.c: Likewise.
30679 * dirent/dirent.h: Likewise.
30680 * dlfcn/dlfcn.h: Likewise.
30681 * elf/neededtest4.c: Likewise.
30682 * grp/grp.h: Likewise.
30683 * gshadow/gshadow.h: Likewise.
30684 * iconv/gconv.h: Likewise.
30685 * iconv/gconv_int.h: Likewise.
30686 * iconv/gconv_simple.c: Likewise.
30687 * iconv/iconv.h: Likewise.
30688 * iconv/loop.c: Likewise.
30689 * iconv/skeleton.c: Likewise.
30690 * include/aio.h: Likewise.
30691 * include/aliases.h: Likewise.
30692 * include/argz.h: Likewise.
30693 * include/arpa/inet.h: Likewise.
30694 * include/assert.h: Likewise.
30695 * include/dirent.h: Likewise.
30696 * include/dlfcn.h: Likewise.
30697 * include/execinfo.h: Likewise.
30698 * include/fcntl.h: Likewise.
30699 * include/fenv.h: Likewise.
30700 * include/glob.h: Likewise.
30701 * include/grp.h: Likewise.
30702 * include/libintl.h: Likewise.
30703 * include/mntent.h: Likewise.
30704 * include/netdb.h: Likewise.
30705 * include/pwd.h: Likewise.
30706 * include/rpc/netdb.h: Likewise.
30707 * include/sched.h: Likewise.
30708 * include/search.h: Likewise.
30709 * include/shadow.h: Likewise.
30710 * include/signal.h: Likewise.
30711 * include/stdio.h: Likewise.
30712 * include/stdlib.h: Likewise.
30713 * include/string.h: Likewise.
30714 * include/sys/socket.h: Likewise.
30715 * include/sys/stat.h: Likewise.
30716 * include/sys/statfs.h: Likewise.
30717 * include/sys/statvfs.h: Likewise.
30718 * include/sys/syslog.h: Likewise.
30719 * include/sys/time.h: Likewise.
30720 * include/sys/uio.h: Likewise.
30721 * include/time.h: Likewise.
30722 * include/unistd.h: Likewise.
30723 * include/utmp.h: Likewise.
30724 * include/wchar.h: Likewise.
30725 * include/wctype.h: Likewise.
30726 * inet/aliases.h: Likewise.
30727 * inet/arpa/inet.h: Likewise.
30728 * inet/netinet/ether.h: Likewise.
30729 * inet/netinet/in.h: Likewise.
30730 * intl/libintl.h: Likewise.
30731 * io/bits/fcntl2.h: Likewise.
30732 * io/fcntl.h: Likewise.
30733 * io/ftw.h: Likewise.
30734 * io/sys/poll.h: Likewise.
30735 * io/sys/stat.h: Likewise.
30736 * io/sys/statfs.h: Likewise.
30737 * io/sys/statvfs.h: Likewise.
30738 * io/utime.h: Likewise.
30739 * libio/bits/stdio.h: Likewise.
30740 * libio/bits/stdio2.h: Likewise.
30741 * libio/libio.h: Likewise.
30742 * libio/libioP.h: Likewise.
30743 * libio/stdio.h: Likewise.
30744 * locale/lc-ctype.c: Likewise.
30745 * locale/locale.h: Likewise.
30746 * login/utmp.h: Likewise.
30747 * malloc/arena.c: Likewise.
30748 * malloc/malloc.c: Likewise.
30749 * malloc/malloc.h: Likewise.
30750 * malloc/mcheck.c: Likewise.
30751 * malloc/mtrace.c: Likewise.
30752 * math/bits/mathcalls.h: Likewise.
30753 * math/fenv.h: Likewise.
30754 * math/math_private.h: Likewise.
30755 * misc/bits/error.h: Likewise.
30756 * misc/bits/syslog.h: Likewise.
30757 * misc/err.h: Likewise.
30758 * misc/error.h: Likewise.
30759 * misc/fstab.h: Likewise.
30760 * misc/mntent.h: Likewise.
30761 * misc/regexp.h: Likewise.
30762 * misc/search.h: Likewise.
30763 * misc/sgtty.h: Likewise.
30764 * misc/sys/mman.h: Likewise.
30765 * misc/sys/syslog.h: Likewise.
30766 * misc/sys/uio.h: Likewise.
30767 * misc/sys/xattr.h: Likewise.
30768 * misc/ttyent.h: Likewise.
30769 * nis/rpcsvc/ypclnt.h: Likewise.
30770 * nss/nss.h: Likewise.
30771 * posix/bits/unistd.h: Likewise.
30772 * posix/fnmatch.h: Likewise.
30773 * posix/glob.h: Likewise.
30774 * posix/sched.h: Likewise.
30775 * posix/spawn.h: Likewise.
30776 * posix/sys/wait.h: Likewise.
30777 * posix/unistd.h: Likewise.
30778 * posix/wordexp.h: Likewise.
30779 * pwd/pwd.h: Likewise.
30780 * resolv/netdb.h: Likewise.
30781 * resource/sys/resource.h: Likewise.
30782 * rt/aio.h: Likewise.
30783 * rt/bits/mqueue2.h: Likewise.
30784 * rt/mqueue.h: Likewise.
30785 * shadow/shadow.h: Likewise.
30786 * signal/signal.h: Likewise.
30787 * socket/send.c: Likewise.
30788 * socket/sendto.c: Likewise.
30789 * socket/sys/socket.h: Likewise.
30790 * stdio-common/printf.h: Likewise.
30791 * stdlib/bits/stdlib.h: Likewise.
30792 * stdlib/fmtmsg.h: Likewise.
30793 * stdlib/monetary.h: Likewise.
30794 * stdlib/stdlib.h: Likewise.
30795 * stdlib/ucontext.h: Likewise.
30796 * streams/stropts.h: Likewise.
30797 * string/argz.h: Likewise.
30798 * string/bits/string2.h: Likewise.
30799 * string/string.h: Likewise.
30800 * string/strings.h: Likewise.
30801 * sunrpc/rpc/auth.h: Likewise.
30802 * sunrpc/rpc/auth_des.h: Likewise.
30803 * sunrpc/rpc/clnt.h: Likewise.
30804 * sunrpc/rpc/netdb.h: Likewise.
30805 * sunrpc/rpc/pmap_clnt.h: Likewise.
30806 * sunrpc/rpc/xdr.h: Likewise.
30807 * sysdeps/generic/inttypes.h: Likewise.
30808 * sysdeps/generic/net/if.h: Likewise.
30809 * sysdeps/generic/sys/swap.h: Likewise.
30810 * sysdeps/gnu/net/if.h: Likewise.
30811 * sysdeps/gnu/utmpx.h: Likewise.
30812 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30813 * sysdeps/i386/i486/bits/string.h: Likewise.
30814 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30815 * sysdeps/s390/bits/string.h: Likewise.
30816 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30817 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30818 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30819 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30820 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30821 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30822 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30823 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30824 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30825 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30826 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30827 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30828 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30829 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30830 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30831 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30832 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30836 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30837 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30838 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30839 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30840 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30841 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30842 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30843 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30844 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30845 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30846 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30847 * sysvipc/sys/ipc.h: Likewise.
30848 * sysvipc/sys/msg.h: Likewise.
30849 * sysvipc/sys/sem.h: Likewise.
30850 * sysvipc/sys/shm.h: Likewise.
30851 * termios/termios.h: Likewise.
30852 * time/sys/time.h: Likewise.
30853 * time/time.h: Likewise.
30854 * wcsmbs/bits/wchar2.h: Likewise.
30855 * wcsmbs/uchar.h: Likewise.
30856 * wcsmbs/wchar.h: Likewise.
30857 * wctype/wctype.h: Likewise.
30860 * Makeconfig: Remove all but ELF support including AIX support.
30861 * Makerules: Likewise.
30862 * config.h.in: Likewise.
30863 * config.make.in: Likewise.
30864 * configure: Likewise.
30865 * configure.in: Likewise.
30866 * csu/Makefile: Likewise.
30867 * csu/version.c: Likewise.
30868 * debug/Makefile: Likewise.
30869 * dlfcn/Makefile: Likewise.
30870 * elf/Makefile: Likewise.
30871 * extra-lib.mk: Likewise.
30872 * iconv/Makefile: Likewise.
30873 * include/libc-symbols.h: Likewise.
30874 * include/shlib-compat.h: Likewise.
30875 * resolv/Makefile: Likewise.
30876 * resolv/res_libc.c: Likewise.
30877 * rt/Makefile: Likewise.
30878 * sysdeps/i386/asm-syntax.h: Likewise.
30879 * sysdeps/i386/sysdep.h: Likewise.
30880 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30881 * sysdeps/mach/sysdep.h: Likewise.
30882 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30883 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30884 * sysdeps/s390/asm-syntax.h: Likewise.
30885 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30887 * sysdeps/sh/sysdep.h: Likewise.
30888 * sysdeps/unix/sparc/sysdep.h: Likewise.
30889 * sysdeps/wordsize-32/divdi3.c: Likewise.
30890 * sysdeps/x86_64/sysdep.h: Likewise.
30892 * argp/Versions: Remove _argp_unlock_xxx.
30895 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30896 * abilist/libBrokenLocale.abilist: Likewise.
30897 * abilist/libanl.abilist: Likewise.
30898 * abilist/libc.abilist: Likewise.
30899 * abilist/libcrypt.abilist: Likewise.
30900 * abilist/libdl.abilist: Likewise.
30901 * abilist/libm.abilist: Likewise.
30902 * abilist/libnsl.abilist: Likewise.
30903 * abilist/libpthread.abilist: Likewise.
30904 * abilist/libresolv.abilist: Likewise.
30905 * abilist/librt.abilist: Likewise.
30906 * abilist/libthread_db.abilist: Likewise.
30907 * abilist/libutil.abilist: Likewise.
30908 * abilist/libnss_db.abilist: New file.
30910 * scripts/abilist.awk: Add support for indirect functions.
30912 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30914 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30916 * shlib-versions: Remove entries for ports architectures.
30918 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30920 * elf/stackguard-macros.h: Remove support for IA-64.
30921 * elf/tst-auditmod1.c: Likewise.
30922 * sysdeps/generic/ldsodefs.h: Likewise.
30924 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30925 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30929 * configure.in: Remove --enable-omitfp support.
30931 * config.make.in: Likewise.
30932 * Makeconfig: Likewise.
30933 * manual/install.texi: Likewise.
30935 In case anyone cares, the IA-64 architecture could move to ports.
30936 * sysdeps/ia64/*: Removed.
30937 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30938 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30941 * configure.in: Remove entries for unsupported architectures.
30944 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30945 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30947 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30948 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30949 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30950 fall back to using wcrtomb.
30951 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30952 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30954 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30955 * wcsmbs/tst-c16c32-1.c: New file.
30957 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30960 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30962 * elf/tst-unique3.cc: Add explicit declaration of gets.
30963 * elf/tst-unique3lib.cc: Likewise.
30964 * elf/tst-unique3lib2.cc: Likewise.
30965 * elf/tst-unique4.cc: Likewise.
30967 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30969 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30972 * assert/assert.h (static_assert): Don't define for C++.
30973 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30974 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30976 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30978 * iconv/loop.c (single loop): Fix assertion in storing of
30981 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30983 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30985 * posix/getconf.c: Update copyright year.
30986 * nss/getent.c: Likewise.
30987 * nss/makedb.c: Likewise.
30988 * iconv/iconvconfig.c: Likewise.
30989 * iconv/iconv_prog.c: Likewise.
30990 * elf/ldconfig.c: Likewise.
30991 * elf/pldd.c: Likewise.
30992 * elf/sotruss.ksh: Likewise.
30993 * catgets/gencat.c: Likewise.
30994 * csu/version.c: Likewise.
30995 * elf/ldd.bash.in: Likewise.
30996 * elf/sprof.c (print_version): Likewise.
30997 * locale/programs/locale.c: Likewise.
30998 * locale/programs/localedef.c: Likewise.
30999 * login/programs/pt_chown.c: Likewise.
31000 * nscd/nscd.c (print_version): Likewise.
31001 * debug/xtrace.sh: Likewise.
31002 * malloc/memusage.sh: Likewise.
31003 * malloc/mtrace.pl: Likewise.
31004 * debug/catchsegv.sh: Likewise.
31006 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31008 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31011 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31014 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31015 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31017 * iconv/gconv_int.h: Likewise.
31018 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31019 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31020 from libc for GLIBC_2.16.
31021 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31022 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31023 * wcsmbs/uchar.h: Really define mbstate_t.
31024 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31025 * wcsmbs/c16rtomb.c: New file.
31026 * wcsmbs/mbrtoc16.c: New file.
31027 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31028 for C/POSIX locale.
31029 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31030 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31032 * wcsmbs/wchar.h: Add missing __restrict.
31034 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31037 * time/Makefile (routines): Add timespec_get.
31038 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31039 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31040 timespec for ISO C11.
31041 * time/timespec_get.c: New file.
31042 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31043 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31046 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31047 * stdlib/stdlib.h: Declare aligned_alloc.
31048 * Versions.def: Add GLIBC_2.16 for libc.
31049 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31052 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31055 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31059 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31062 * assert/assert.h (static_assert): Define.
31064 * version.h: Update for 2.16 development version.
31067 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31070 * version.h (RELEASE): Bump for 2.15 release.
31071 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31073 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31074 Patch by Marek Polacek <mpolacek@redhat.com>.
31076 * bits/byteswap.h: Protect long long constants with __extension__.
31077 * sysdeps/i386/bits/byteswap.h: Likewise.
31078 * sysdeps/ia64/bits/byteswap.h: Likewise.
31079 * sysdeps/s390/bits/byteswap.h: Likewise.
31080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31082 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31086 destination buffer.
31087 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31089 2011-12-23 Marek Polacek <polacek@redhat.com>
31091 * elf/dl-addr.c (determine_info): Add inline keyword.
31092 * elf/tst-auditmod4b.c (check_avx): Likewise.
31093 * elf/tst-auditmod6b.c (check_avx): Likewise.
31094 * elf/tst-auditmod6c.c (check_avx): Likewise.
31095 * elf/tst-auditmod7b.c (check_avx): Likewise.
31097 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31099 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31102 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31105 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31106 processing for last bytes.
31108 2011-08-06 Bruno Haible <bruno@clisp.org>
31111 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31112 U+0385, not to U+1FEE.
31115 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31116 entry for U+00A5 U+0301.
31118 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31121 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31122 buffer for the output is too small.
31124 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31128 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31129 SSE flags if possible.
31131 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31134 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31135 processing for last bytes.
31137 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31139 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31140 (syscall-list-default-options, syscall-list-default-condition)
31141 (syscall-list-includes): Define.
31142 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31143 list of ABIs and options and #if conditions for each ABI. Do not
31144 handle common syscalls between ABIs specially.
31145 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31147 (syscall-list-variants, syscall-list-32bit-options)
31148 (syscall-list-32bit-condition, syscall-list-64bit-options)
31149 (syscall-list-64bit-condition): Define.
31150 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31151 (syscall-list-variants, syscall-list-32bit-options)
31152 (syscall-list-32bit-condition, syscall-list-64bit-options)
31153 (syscall-list-64bit-condition): Define.
31154 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31156 (syscall-list-variants, syscall-list-32bit-options)
31157 (syscall-list-32bit-condition, syscall-list-64bit-options)
31158 (syscall-list-64bit-condition): Define.
31159 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31161 (syscall-list-variants, syscall-list-32bit-options)
31162 (syscall-list-32bit-condition, syscall-list-64bit-options)
31163 (syscall-list-64bit-condition): Define.
31165 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31167 * locale/iso-639.def: Add brx entry.
31170 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31171 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31173 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31174 __feraiseexcept_renamed.
31176 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31179 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31180 EPOLLET with unsigned values.
31181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31182 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31184 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31185 to large cancellation.
31186 * math/s_cacoshf.c: Likewise.
31187 * math/s_cacoshl.c: Likewise.
31189 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31193 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31194 * math/s_cacoshf.c: Likewise.
31195 * math/s_cacoshl.c: Likewise.
31197 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31200 * iconv/gconv.h: Define __GCONV_SWAP.
31201 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31202 * iconvdata/utf-16.c: Likewise.
31203 * iconvdata/utf-32.c: Likewise.
31205 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31209 numerator after shifting it by one limb.
31211 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31213 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31214 under [__USE_EXTERN_INLINES].
31216 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31219 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31221 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31223 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31224 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31226 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31227 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31228 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31229 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31230 for strncasecmp/strncasecmp_l compilation.
31231 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31232 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31234 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31237 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31240 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31243 * time/tzfile.c (__tzfile_read): Check values from file header.
31245 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31247 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31248 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31249 * powerpc/powerpc32/dl-start.S: Likewise.
31250 * powerpc/powerpc32/elf/start.S: Likewise.
31251 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31252 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31253 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31254 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31255 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31256 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31257 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31258 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31259 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31260 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31261 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31262 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31263 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31264 * powerpc/powerpc32/memset.S: Likewise.
31265 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31266 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31267 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31268 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31269 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31270 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31271 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31272 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31273 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31274 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31276 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31277 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31279 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31281 * math/libm-test.inc: Added more nearbyint tests.
31282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31287 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31289 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31292 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31294 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31295 Add wcscpy-ssse3 wcscpy-c.
31296 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31297 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31298 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31299 * sysdeps/x86_64/wcschr.S: New file.
31300 * sysdeps/x86_64/wcsrchr.S: New file.
31301 * string/test-strcmp.c: Remove checking of wcscmp function for
31303 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31304 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31305 wcsrchr-sse2 wcsrchr-c.
31306 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31307 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31308 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31309 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31310 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31311 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31312 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31313 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31314 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31315 * wcsmbc/wcschr.c (WCSCHR): New macro.
31317 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31319 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31320 * wcsmbs/test-wcsrchr.c: New file.
31321 * string/test-strrchr.c: Add wcsrchr support.
31323 * wcsmbs/test-wcscpy.c: New file.
31324 * string/test-strcpy.c: Add wcscpy support.
31327 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31329 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31332 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31335 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31337 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31339 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31340 Minor optimizations.
31342 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31343 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31344 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31346 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31348 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31349 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31350 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31351 for gcc to avoid warnings.
31352 * inet/Makefile (tests): Add tst-checks.
31353 * inet/tst-checks.c: New file.
31355 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31358 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31361 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31362 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31364 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31366 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31368 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31371 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31373 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31375 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31376 conditional on GCC version.
31377 (__arch_compare_and_exchange_val_8_acq)
31378 (__arch_compare_and_exchange_val_16_acq)
31379 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31380 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31381 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31383 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31385 * sysdeps/sh/backtrace.c: New file.
31387 2011-12-02 Andreas Schwab <schwab@redhat.com>
31389 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31392 2011-12-01 Andreas Schwab <schwab@redhat.com>
31394 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31395 falling back to utime.
31397 2011-11-30 Andreas Schwab <schwab@redhat.com>
31399 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31400 expectations for float.
31402 2011-11-29 Andreas Schwab <schwab@redhat.com>
31404 * locale/weight.h (findidx): Add parameter len.
31405 * locale/weightwc.h (findidx): Likewise.
31406 * posix/fnmatch_loop.c (FCT): Adjust caller.
31407 * posix/regcomp.c (build_equiv_class): Likewise.
31408 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31409 * posix/regexec.c (check_node_accept_bytes): Likewise.
31410 * string/strcoll_l.c (STRCOLL): Likewise.
31411 * string/strxfrm_l.c (STRXFRM): Likewise.
31413 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31415 * Makefile.in: Remove CVSOPT handling.
31416 * configure.in: Remove use of AC_REVISION.
31417 * iconvdata/Makefile (distribute): No need to filter out CVS.
31418 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31421 2011-11-16 Andreas Schwab <schwab@redhat.com>
31423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31424 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31425 [USE_AS_STRNCASECMP_L]: Likewise.
31426 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31427 NO_TLS_DIRECT_SEG_REFS.
31428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31429 Fix argument offsets for non-PIC.
31430 [USE_AS_STRNCASECMP_L]: Likewise.
31431 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31432 NO_TLS_DIRECT_SEG_REFS.
31434 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31436 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31438 * locale/loadlocale.c (_nl_load_locale): Likewise.
31440 2011-11-15 Andreas Schwab <schwab@redhat.com>
31442 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31443 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31445 (SYSCALL_GETTIME): Set errno on error.
31447 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31448 count references to noai6ai_cached.
31450 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31452 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31454 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31455 FD_CLOEXEC for /proc/self/maps.
31457 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31458 FD_CLOEXEC for /proc/meminfo.
31460 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31463 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31464 FD_CLOEXEC for given file.
31466 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31468 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31469 FD_CLOEXEC for /etc/hosts.
31470 (_gethtent): Likewise.
31472 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31474 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31475 cancellation and set FD_CLOEXEC for /etc/netgroup.
31477 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31478 reading /etc/publickey.
31480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31481 allow cancellation when reading /etc/group.
31483 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31485 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31487 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31488 when using data file.
31490 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31492 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31493 (write_nis_obj): Use "c" and "e" in fopen.
31495 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31497 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31499 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31501 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31503 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31506 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31508 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31510 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31512 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31513 file parsing and set FD_CLOEXEC.
31515 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31517 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31519 2011-11-14 Andreas Schwab <schwab@redhat.com>
31521 * malloc/arena.c (arena_get2): Don't call reused_arena when
31522 _int_new_arena failed.
31524 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31526 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31527 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31528 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31530 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31532 to compile strcasecmp and strncasecmp.
31533 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31534 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31538 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31540 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31541 locale-defines.sym to gen-as-const-headers.
31542 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31543 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31545 to compile strcasecmp and strncasecmp.
31546 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31547 strcasecmp_l and strncasecmp_l.
31548 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31549 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31550 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31551 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31552 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31553 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31554 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31555 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31556 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31557 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31558 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31560 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31562 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31563 result of SYSDEP_GETTIME_CPU to retval.
31564 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31565 parameter list to macro. Remove trailing semicolon. Adjust users.
31567 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31570 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31572 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31574 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31575 from unused variable.
31577 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31579 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31582 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31585 * sunrpc/rpc_prot.c (rejected): Fix case value.
31587 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31588 unsigned long long int to avoid warnings in shift.
31590 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31592 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31595 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31596 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31597 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31599 * nis/nis_table.c (nis_list): Use variable of correct type for
31600 result of __follow_path call.
31602 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31604 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31605 of math functions ceil, trunc, floor, round, and sqrt, when
31606 avaliable on the platform.
31607 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31609 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31610 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31611 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31613 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31615 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31616 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31618 2011-11-11 Roland McGrath <roland@hack.frob.com>
31620 * include/unistd.h: Fix __readlink return type.
31621 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31623 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31625 * stdlib/ucontext.h: Undo last change for makecontext.
31627 2011-11-11 Andreas Schwab <schwab@redhat.com>
31629 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31631 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31632 * setjmp/setjmp.h: Mark functions as non-leaf.
31633 * setjmp/bits/setjmp2.h: Likewise.
31634 * stdlib/ucontext.h: Likewise.
31636 2011-11-10 Andreas Schwab <schwab@redhat.com>
31638 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31639 (reused_arena): Don't check arena limit.
31640 (arena_get2): Atomically check arena limit.
31642 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31644 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31645 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31650 2011-11-07 Andreas Schwab <schwab@redhat.com>
31652 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31653 handler when locking.
31655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31656 Fix size of allocated buffer.
31658 2011-11-04 Andreas Schwab <schwab@redhat.com>
31661 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31662 declarations for long double functions.
31663 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31665 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31667 2011-11-03 Andreas Schwab <schwab@redhat.com>
31669 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31672 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31675 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31677 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31679 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31681 * include/alloca.h (stackinfo_alloca_round): Define.
31682 (extend_alloca): Use it.
31683 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31684 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31687 * scripts/check-local-headers.sh: Ignore libaudit.h.
31689 * nscd/Makefile (extra-objs): Make recursively expanded.
31691 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31693 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31694 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31696 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31697 * posix/tst-rfc3484-2.c: Likewise.
31698 * posix/tst-rfc3484-3.c: Likewise.
31700 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31702 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31704 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31705 process_vm_writev from libc using GLIBC_2.15 version.
31707 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31709 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31711 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31714 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31717 * nss/getent.c (initgroups_keys): Show error message in case no group
31720 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31721 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31722 __bump_nl_timestamp.
31723 * nscd/connections (nscd_init): When host database is served open
31724 netlink socket and request notification about configuration changes.
31725 (main_loop_poll): Track netlink file descriptor and bump timestamp
31726 in case data becomes available.
31727 (main_loop_epoll): Likewise.
31728 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31729 (database_pers_head): Add extra_data fileds.
31730 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31731 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31732 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31735 in6ai data, call __free_in6ai.
31736 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31737 Add -DHAVE_NETLINK.
31738 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31739 interface information. Reuse previous data if netlink timestamp
31741 (__bump_nl_timestamp): New function.
31742 (__free_in6ai): New function.
31744 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31746 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31747 close_not_cancel_no_status here.
31748 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31750 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31753 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31756 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31757 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31758 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31760 2011-07-03 Andreas Jaeger <aj@suse.de>
31763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31764 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31765 * math/libm-test.inc (sin_test): Add test case.
31767 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31770 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31771 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31773 * elf/chroot_canon.c (chroot_canon): Cleanups.
31775 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31778 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31779 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31781 * string/test-strchr.c: Make usable for strchrnul testing.
31782 * string/test-strchrnul.c: New file.
31783 * string/Makefile (strop-tests): Add strchrnul.
31785 * po/it.po: Update from translation team.
31786 * po/es.po: Likewise.
31788 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31790 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31791 the three constants needed as parameters. Drop the others.
31792 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31793 __m128i_strloadu_tolower.
31794 Create and initialize variable zero and use it in all the places
31795 where _mm_setzero_si128 was used.
31797 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31798 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31799 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31800 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31802 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31803 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31804 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31805 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31806 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31807 __mpranred, __mptan.
31808 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31809 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31810 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31811 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31812 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31813 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31815 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31816 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31818 2011-10-28 Andreas Schwab <schwab@redhat.com>
31820 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31821 redefine if SHARED.
31822 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31825 wide char related routines to wcsmbs subdir.
31827 2011-10-27 Andreas Schwab <schwab@redhat.com>
31830 * misc/sys/cdefs.h (__THROWNL): Define.
31831 * posix/unistd.h: Use __THREADNL instead of __THREAD
31832 for memory synchronization functions.
31834 2011-10-26 Roland McGrath <roland@hack.frob.com>
31837 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31839 * manual/stdio.texi (Obstack Streams): Node removed.
31841 2011-10-26 Andreas Schwab <schwab@redhat.com>
31843 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31847 * math/math_private.h (math_force_eval): Allow non-addressable
31849 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31851 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31853 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31854 file is not needed.
31856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31858 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31859 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31861 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31863 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31865 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31866 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31867 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31868 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31869 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31870 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31871 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31872 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31873 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31874 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31875 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31876 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31877 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31878 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31879 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31880 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31881 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31882 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31883 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31885 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31886 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31888 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31889 place. Use VEX encoding when compiling for AVX.
31891 2011-10-25 Andreas Schwab <schwab@redhat.com>
31893 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31894 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31896 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31898 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31900 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31901 useless if() expression.
31902 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31903 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31904 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31906 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31907 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31908 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31912 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31913 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31914 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31915 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31916 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31917 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31918 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31920 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31922 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31924 2011-10-25 Andreas Schwab <schwab@redhat.com>
31926 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31928 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31930 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31932 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31933 .text section. Avoid duplicate constants.
31934 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31938 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31942 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31943 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31944 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31945 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31946 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31947 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31948 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31949 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31950 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31951 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31952 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31954 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31955 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31956 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31957 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31958 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31959 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31960 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31961 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31962 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31963 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31964 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31965 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31967 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31968 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31969 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31970 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31972 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31973 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31974 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31975 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31976 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31978 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31980 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31982 * sysdeps/x86_64/dla.h: Move to ...
31983 * sysdeps/x86_64/fpu/dla.h: ...here.
31984 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31985 situations. Use __builtin_fma only for gcc 4.6 and up.
31987 * config.make.in: Add have-mfma4 entry.
31988 * configure.in: Substitute libc_cv_cc_fma4.
31989 * math/Makefile (dbl-only-routines): Add sincostab.
31990 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31991 Use __sincostab not sincos.
31992 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31999 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32000 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32001 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32002 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32004 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32005 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32007 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32008 define aliases when function name is a macro.
32009 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32010 sysdeps/ieee754/dbl-64/sincos.tbl.
32011 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32012 fma4-enabled routines.
32013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32018 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32020 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32022 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32023 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32024 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32025 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32026 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32027 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32028 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32029 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32030 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32031 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32033 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32034 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32040 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32041 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32042 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32044 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32055 2011-10-24 Andreas Schwab <schwab@redhat.com>
32057 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32059 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32063 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32065 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32067 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32068 Remove unused variable magic_bits.
32069 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32071 * string/strnlen.c: Define and use STRNLEN macro.
32072 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32073 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32075 * wcsmbs/wcslen.c: Define and use WCSLEN.
32076 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32077 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32078 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32079 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32080 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32081 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32082 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32084 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32087 strnlen-sse2-no-bsf.
32088 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32090 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32091 Add strnlen support.
32092 (USE_AS_STRNLEN): New macro.
32093 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32095 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32096 * sysdeps/x86_64/wcslen.S: New file.
32098 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32100 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32101 XMM-moves are used for copying on small sizes.
32103 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32105 * wcsmbs/Makefile (strop-tests): Add wcschr.
32106 * wcsmbs/test-wcschr.c: New file.
32107 * string/test-strchr.c: Update.
32108 Add wcschr support.
32111 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32113 * wcsmbs/Makefile (strop-tests): Add wcslen.
32114 * wcsmbs/test-wcslen.c: New file.
32115 * string/test-strlen.c: Update.
32116 Add wcslen support.
32119 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32121 * po/it.po: Update from translation team.
32123 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32125 * sysdeps/x86_64/wcscmp.S: Update.
32126 Fix wrong comparison semantics.
32127 wcscmp shall use signed comparison not unsigned.
32128 Don't use substraction to avoid overflow bug.
32129 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32130 * wcsmbc/wcscmp.c: Likewise.
32131 * string/test-strcmp.c: Likewise.
32132 Add new tests to check cases with negative values.
32134 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32136 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32137 * sysdeps/x86_64/dla.h: ...here. New file.
32138 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32143 * sysdeps/ieee754/dbl-64/e_sqrt.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-23 Andreas Schwab <schwab@linux-m68k.org>
32150 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32151 __ynl_finite aliases.
32153 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32157 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32159 [DLA_FMA] (EMULV): Use DLA_FMA.
32160 [DLA_FMA] (MUL12): Use EMULV.
32161 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32162 that are not needed.
32163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32171 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32173 * math/s_nan.c: Undef __nan.
32174 * math/s_nanf.c: Undef __nanf.
32175 * math/s_nanl.c: Undef __nanl.
32176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32179 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32181 * math/s_catan.c: Add branch predictions.
32182 * math/s_catanf.c: Likewise.
32183 * math/s_catanh.c: Likewise.
32184 * math/s_catanhf.c: Likewise.
32185 * math/s_catanhl.c: Likewise.
32186 * math/s_catanl.c: Likewise.
32187 * math/s_cexp.c: Likewise.
32188 * math/s_cexpf.c: Likewise.
32189 * math/s_cexpl.c: Likewise.
32190 * math/s_clog.c: Likewise.
32191 * math/s_clog10.c: Likewise.
32192 * math/s_clog10f.c: Likewise.
32193 * math/s_clog10l.c: Likewise.
32194 * math/s_clogf.c: Likewise.
32195 * math/s_clogl.c: Likewise.
32196 * math/s_csqrt.c: Likewise.
32197 * math/s_csqrtf.c: Likewise.
32198 * math/s_csqrtl.c: Likewise.
32199 * math/s_ctanf.c: Likewise.
32200 * math/s_ctanh.c: Likewise.
32201 * math/s_ctanhf.c: Likewise.
32202 * math/s_ctanhl.c: Likewise.
32203 * math/s_ctanl.c: Likewise.
32205 * math/math_private.h: Define __nan, __nanf, __nanl.
32206 * math/s_cacosh.c: Include <math_private.h>.
32207 * math/s_cacoshl.c: Likewise.
32208 * math/s_casinh.c: Likewise.
32209 * math/s_casinhf.c: Likewise.
32210 * math/s_casinhl.c: Likewise.
32211 * math/s_ccos.c: Rely entire on ccosh.
32212 * math/s_ccosf.c: Rely entire on ccoshf.
32213 * math/s_ccosl.c: Rely entirely on ccoshl.
32214 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32215 Remove tests for FE_INVALID.
32216 * math/s_ccoshf.c: Likewise.
32217 * math/s_ccoshl.c: Likewise.
32218 * math/s_csin.c: Likewise.
32219 * math/s_csinf.c: Likewise.
32220 * math/s_csinh.c Likewise.
32221 * math/s_csinhf.c: Likewise.
32222 * math/s_csinhl.c: Likewise.
32223 * math/s_csinl.c: Likewise.
32224 * math/s_ctan.c: Likewise.
32225 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32226 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32227 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32229 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32232 compilation problems.
32234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32237 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32239 * sysdeps/i386/configure.in: Test for -mfma4 option.
32240 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32241 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32242 COMMON_CPUID_INDEX_80000001.
32243 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32244 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32245 use it if FMA3 is not supported.
32246 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32248 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32251 2011-10-20 Andreas Schwab <schwab@redhat.com>
32254 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32255 it would create a cycle with a link time dependency.
32257 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32259 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32261 * string/Makefile (strop-tests): Add rawmemchr.
32262 * string/test-rawmemchr.c: New file.
32264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32266 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32267 when compiling str{,n}casecmp and when AVX is available. Hook up
32268 new optimized code in initializers.
32270 2011-10-19 Andreas Schwab <schwab@redhat.com>
32272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32273 __feraiseexcept instead of feraiseexcept.
32275 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32277 * math/math_private.h: Define defaults for libc_fetestexcept and
32279 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32280 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32281 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32283 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32284 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32285 libc_fetestexcept and libc_feupdateenv.
32287 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32288 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32289 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32290 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32291 libc_feholdexcept_setround.
32293 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32294 Add s_nearbyint-c and s_nearbyintf-c.
32295 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32296 nearbyintf inlines.
32297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32298 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32300 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32302 * math/math_private.h: Define defaults for libc_fegetround,
32303 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32304 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32305 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32306 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32307 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32308 standard functions.
32309 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32310 Remove comments and hacks for old compiler versions.
32311 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32312 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32313 libc_feholdexceptl.
32315 2011-10-18 Andreas Schwab <schwab@redhat.com>
32317 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32318 (__feraiseexcept_renamed): Add __NTH.
32319 (feraiseexcept): Add __NTH. Rename local variables to fix
32320 namespace violations.
32322 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32326 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32328 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32329 recently added interfaces.
32330 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32332 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32333 about macro parameter expansion.
32335 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32336 __NO_MATH_INLINES is defined. Cleanups.
32338 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32339 and __floorf is target has SSE4.1.
32340 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32341 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32342 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32343 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32345 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32347 (floorf): Likewise.
32349 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32351 2011-10-17 Andreas Schwab <schwab@redhat.com>
32353 * misc/sys/cdefs.h: Fix last change.
32355 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32358 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32360 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32362 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32363 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32368 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32370 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32371 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32372 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32373 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32374 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32375 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32376 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32377 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32378 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32379 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32380 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32381 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32382 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32383 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32385 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32386 ceil, ceilf, floor, floorf.
32388 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32389 Perform IRELATIVE relocations last.
32391 * elf/do-rel.h: Add another parameter nrelative, replacing the
32392 local variable with the same name. Change name of the function
32393 to end in Rel or Rela (uppercase).
32394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32395 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32396 elf_dynamic_do_##reloc function.
32398 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32400 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32401 is sufficient, at least on modern CPUs.
32403 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32405 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32408 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32410 * math/bits/math-finite.h: Add entries for exp.
32411 * math/e_expl.c: Add __*_finite alias.
32412 * sysdeps/i386/fpu/e_exp.S: Likewise.
32413 * sysdeps/i386/fpu/e_expf.S: Likewise.
32414 * sysdeps/i386/fpu/e_expl.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32416 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32419 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32420 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32421 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32423 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32424 is sufficient, at least on modern CPUs.
32426 * ctype/ctype-info.c (__ctype_init): Define.
32427 * include/ctype.h (__ctype_init): Declare.
32428 (__ctype_b_loc): The variable is always initialized.
32429 (__ctype_toupper_loc): Likewise.
32430 (__ctype_tolower_loc): Likewise.
32431 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32432 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32434 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32436 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32438 * configure.in: Also look in $cxxmachine/include for C++ system
32441 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32443 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32444 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32445 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32446 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32448 (USE_AS_WMEMCMP): New macro.
32450 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32451 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32452 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32453 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32455 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32456 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32457 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32458 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32459 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32460 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32461 (USE_AS_WMEMCMP): New macro.
32462 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32463 * sysdeps/string/test-memcmp.c: Update.
32464 Fix simple_wmemcmp.
32466 * wcsmbs/wmemcmp.c: Update.
32467 (WMEMCMP): New macro.
32470 2011-10-12 Andreas Jaeger <aj@suse.de>
32473 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32475 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32477 * libio/iofwide.c (do_length): Avoid warning.
32479 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32481 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32483 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32485 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32486 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32487 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32488 * sysdeps/i386/i686/fpu/e_log.S: New file.
32489 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32490 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32492 * ctype/ctype.h: Add support for inlined isXXX functions when
32493 compiling C++ code.
32495 2011-10-14 Andreas Schwab <schwab@redhat.com>
32497 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32499 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32501 2011-10-13 Roland McGrath <roland@hack.frob.com>
32504 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32506 2011-10-13 Andreas Schwab <schwab@redhat.com>
32508 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32509 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32512 * sysdeps/x86_64/memrchr.S: Check for zero size.
32514 * string/stratcliff.c: Add memrchr tests.
32516 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32519 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32520 rawmemchr-sse2 rawmemchr-sse2-bsf.
32521 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32522 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32523 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32524 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32525 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32526 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32527 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32528 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32530 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32531 * string/memrchr.c (MEMRCHR): New macro.
32533 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32535 Add integration with gcc's -ffinite-math-only and optimize wrapper
32537 * Versions.def: Define GLIBC_2.15 version for libm.
32538 * math/Makefile (headers): Add bits/math-finite.h.
32539 * math/bits/math-finite.h: New file.
32540 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32541 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32542 * math/e_acoshl.c: Add __*_finite alias.
32543 * math/e_acosl.c: Likewise.
32544 * math/e_asinl.c: Likewise.
32545 * math/e_atan2l.c: Likewise.
32546 * math/e_atanhl.c: Likewise.
32547 * math/e_coshl.c: Likewise.
32548 * math/e_exp10.c: Likewise.
32549 * math/e_exp10f.c: Likewise.
32550 * math/e_exp10l.c: Likewise.
32551 * math/e_exp2l.c: Likewise.
32552 * math/e_fmodl.c: Likewise.
32553 * math/e_gammal_r.c: Likewise.
32554 * math/e_hypotl.c: Likewise.
32555 * math/e_j0l.c: Likewise.
32556 * math/e_j1l.c: Likewise.
32557 * math/e_jnl.c: Likewise.
32558 * math/e_lgammal_r.c: Likewise.
32559 * math/e_log10l.c: Likewise.
32560 * math/e_log2l.c: Likewise.
32561 * math/e_logl.c: Likewise.
32562 * math/e_powl.c: Likewise.
32563 * math/e_sinhl.c: Likewise.
32564 * math/e_sqrtl.c: Likewise.
32565 * math/e_scalb.c: Completely rewritten and optimized.
32566 * math/e_scalbf.c: Likewise.
32567 * math/e_scalbl.c: Likewise.
32568 * math/w_acos.c: Likewise.
32569 * math/w_acosf.c: Likewise.
32570 * math/w_acosl.c: Likewise.
32571 * math/w_acosh.c: Likewise.
32572 * math/w_acoshf.c: Likewise.
32573 * math/w_acoshl.c: Likewise.
32574 * math/w_asin.c: Likewise.
32575 * math/w_asinf.c: Likewise.
32576 * math/w_asinl.c: Likewise.
32577 * math/w_atan2.c: Likewise.
32578 * math/w_atan2f.c: Likewise.
32579 * math/w_atan2l.c: Likewise.
32580 * math/w_atanh.c: Likewise.
32581 * math/w_atanhf.c: Likewise.
32582 * math/w_atanhl.c: Likewise.
32583 * math/w_exp10.c: Likewise.
32584 * math/w_exp10f.c: Likewise.
32585 * math/w_exp10l.c: Likewise.
32586 * math/w_fmod.c: Likewise.
32587 * math/w_fmodf.c: Likewise.
32588 * math/w_fmodl.c: Likewise.
32589 * math/w_j0.c: Likewise.
32590 * math/w_j0f.c: Likewise.
32591 * math/w_j0l.c: Likewise.
32592 * math/w_j1.c: Likewise.
32593 * math/w_j1f.c: Likewise.
32594 * math/w_j1l.c: Likewise.
32595 * math/w_jn.c: Likewise.
32596 * math/w_jnf.c: Likewise.
32597 * math/w_log.c: Likewise.
32598 * math/w_logf.c: Likewise.
32599 * math/w_logl.c: Likewise.
32600 * math/w_log10.c: Likewise.
32601 * math/w_log10f.c: Likewise.
32602 * math/w_log10l.c: Likewise.
32603 * math/w_log2.c: Likewise.
32604 * math/w_log2f.c: Likewise.
32605 * math/w_log2l.c: Likewise.
32606 * math/w_pow.c: Likewise.
32607 * math/w_powf.c: Likewise.
32608 * math/w_powl.c: Likewise.
32609 * math/w_remainder.c: Likewise.
32610 * math/w_remainderf.c: Likewise.
32611 * math/w_remainderl.c: Likewise.
32612 * math/w_scalb.c: Likewise.
32613 * math/w_scalbf.c: Likewise.
32614 * math/w_scalbl.c: Likewise.
32615 * math/w_sqrt.c: Likewise.
32616 * math/w_sqrtf.c: Likewise.
32617 * math/w_sqrtl.c: Likewise.
32618 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32619 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32621 * math/math_private.h: Declare __kernel_standard_f.
32622 * math/w_cosh.c: Remove cruft and optimize a bit.
32623 * math/w_coshf.c: Likewise.
32624 * math/w_coshl.c: Likewise.
32625 * math/w_exp2.c: Likewise.
32626 * math/w_exp2f.c: Likewise.
32627 * math/w_exp2l.c: Likewise.
32628 * math/w_hypot.c: Likewise.
32629 * math/w_hypotf.c: Likewise.
32630 * math/w_hypotl.c: Likewise.
32631 * math/w_lgamma.c: Likewise.
32632 * math/w_lgamma_r.c: Likewise.
32633 * math/w_lgammaf.c: Likewise.
32634 * math/w_lgammaf_r.c: Likewise.
32635 * math/w_lgammal.c: Likewise.
32636 * math/w_lgammal_r.c: Likewise.
32637 * math/w_sinh.c: Likewise.
32638 * math/w_sinhf.c: Likewise.
32639 * math/w_sinhl.c: Likewise.
32640 * math/w_tgamma.c: Likewise.
32641 * math/w_tgammaf.c: Likewise.
32642 * math/w_tgammal.c: Likewise.
32643 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32645 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32646 Minor optimizations. Pretty printing. Remove cruft.
32647 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32648 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32651 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32652 * sysdeps/i386/fpu/e_asin.S: Likewise.
32653 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32654 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32655 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32656 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32657 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32658 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32659 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32660 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32661 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32662 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32663 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32664 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32665 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32666 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32667 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32668 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32669 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32670 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32671 * sysdeps/i386/fpu/e_log.S: Likewise.
32672 * sysdeps/i386/fpu/e_log10.S: Likewise.
32673 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32674 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32675 * sysdeps/i386/fpu/e_log2.S: Likewise.
32676 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32677 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32678 * sysdeps/i386/fpu/e_logf.S: Likewise.
32679 * sysdeps/i386/fpu/e_logl.S: Likewise.
32680 * sysdeps/i386/fpu/e_pow.S: Likewise.
32681 * sysdeps/i386/fpu/e_powf.S: Likewise.
32682 * sysdeps/i386/fpu/e_powl.S: Likewise.
32683 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32684 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32685 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32686 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32687 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32688 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32689 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32690 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32691 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32692 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32695 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32696 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32697 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32698 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32700 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32701 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32702 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32703 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32706 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32708 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32709 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32712 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32713 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32714 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32715 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32716 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32717 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32719 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32720 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32721 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32722 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32723 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32724 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32725 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32726 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32727 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32728 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32729 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32730 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32731 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32732 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32733 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32748 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32759 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32768 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32772 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32775 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32777 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32780 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32782 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32783 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32785 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32786 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32787 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32788 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32789 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32790 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32791 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32792 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32793 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32794 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32795 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32796 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32797 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32798 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32800 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32802 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32803 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32804 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32805 (__isnanf): Likewise.
32806 (__isinf_ns): Likewise.
32807 (__isinf_nsf): Likewise.
32808 (__finite): Likewise.
32809 (__finitef): Likewise.
32810 (__ieee754_sqrt): Define as macro.
32811 (__ieee754_sqrtf): Define as macro.
32812 (__ieee754_sqrtl): Define as macro.
32813 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32815 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32816 __FINITE_MATH_ONLY__ consistent.
32817 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32819 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32821 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32824 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32826 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32828 * po/ja.po: Update from translation team.
32830 2011-10-08 Roland McGrath <roland@hack.frob.com>
32832 * locale/programs/locarchive.c (prepare_address_space): New function.
32833 (create_archive, enlarge_archive, open_archive): Use it.
32835 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32836 inside [SHARED], where it is used.
32838 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32840 * nss/getent.c (netgroup_keys): Remove unused variable.
32841 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32843 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32845 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32846 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32848 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32849 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32850 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32851 * math/Makefile (libm-calls): Add s_isinf_ns.
32852 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32853 * math/multc3.c: Likewise.
32854 * math/s_casin.c: Likewise.
32855 * math/s_casinf.c: Likewise.
32856 * math/s_casinl.c: Likewise.
32857 * math/s_ccos.c: Likewise.
32858 * math/s_ccosf.c: Likewise.
32859 * math/s_ccosl.c: Likewise.
32860 * math/s_ctan.c: Likewise.
32861 * math/s_ctanf.c: Likewise.
32862 * math/s_ctanh.c: Likewise.
32863 * math/s_ctanhf.c: Likewise.
32864 * math/s_ctanhl.c: Likewise.
32865 * math/s_ctanl.c: Likewise.
32866 * math/w_fmod.c: Likewise.
32867 * math/w_fmodf.c: Likewise.
32868 * math/w_fmodl.c: Likewise.
32869 * math/w_remainder.c: Likewise.
32870 * math/w_remainderf.c: Likewise.
32871 * math/w_remainderl.c: Likewise.
32872 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32873 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32874 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32876 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32877 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32878 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32879 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32881 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32883 * stdio-common/printf_fphex.c: Likewise.
32884 * stdio-common/printf_size.c: Likewise.
32886 * math/e_exp10.c: Include math_private.h using <...> not "...".
32887 * math/e_exp10f.c: Likewise.
32888 * math/e_exp10l.c: Likewise.
32889 * math/e_exp2l.c: Likewise.
32890 * math/e_j0l.c: Likewise.
32891 * math/e_j1l.c: Likewise.
32892 * math/e_jnl.c: Likewise.
32893 * math/e_lgammal_r.c: Likewise.
32894 * math/e_rem_pio2l.c: Likewise.
32895 * math/e_scalb.c: Likewise.
32896 * math/e_scalbf.c: Likewise.
32897 * math/e_scalbl.c: Likewise.
32898 * math/k_cosl.c: Likewise.
32899 * math/k_sinl.c: Likewise.
32900 * math/k_tanl.c: Likewise.
32901 * math/s_cacoshf.c: Likewise.
32902 * math/s_catan.c: Likewise.
32903 * math/s_catanf.c: Likewise.
32904 * math/s_catanh.c: Likewise.
32905 * math/s_catanhf.c: Likewise.
32906 * math/s_catanhl.c: Likewise.
32907 * math/s_catanl.c: Likewise.
32908 * math/s_ccosh.c: Likewise.
32909 * math/s_ccoshf.c: Likewise.
32910 * math/s_ccoshl.c: Likewise.
32911 * math/s_cexp.c: Likewise.
32912 * math/s_cexpf.c: Likewise.
32913 * math/s_cexpl.c: Likewise.
32914 * math/s_clog.c: Likewise.
32915 * math/s_clog10.c: Likewise.
32916 * math/s_clog10f.c: Likewise.
32917 * math/s_clog10l.c: Likewise.
32918 * math/s_clogf.c: Likewise.
32919 * math/s_clogl.c: Likewise.
32920 * math/s_csin.c: Likewise.
32921 * math/s_csinf.c: Likewise.
32922 * math/s_csinh.c: Likewise.
32923 * math/s_csinhf.c: Likewise.
32924 * math/s_csinhl.c: Likewise.
32925 * math/s_csinl.c: Likewise.
32926 * math/s_csqrt.c: Likewise.
32927 * math/s_csqrtf.c: Likewise.
32928 * math/s_csqrtl.c: Likewise.
32929 * math/s_ctan.c: Likewise.
32930 * math/s_ctanf.c: Likewise.
32931 * math/s_ctanh.c: Likewise.
32932 * math/s_ctanhf.c: Likewise.
32933 * math/s_ctanhl.c: Likewise.
32934 * math/s_ctanl.c: Likewise.
32935 * math/s_ldexp.c: Likewise.
32936 * math/s_ldexpf.c: Likewise.
32937 * math/s_ldexpl.c: Likewise.
32938 * math/s_significand.c: Likewise.
32939 * math/s_significandf.c: Likewise.
32940 * math/s_significandl.c: Likewise.
32941 * math/w_acos.c: Likewise.
32942 * math/w_acosf.c: Likewise.
32943 * math/w_acosh.c: Likewise.
32944 * math/w_acoshf.c: Likewise.
32945 * math/w_acoshl.c: Likewise.
32946 * math/w_acosl.c: Likewise.
32947 * math/w_asin.c: Likewise.
32948 * math/w_asinf.c: Likewise.
32949 * math/w_asinl.c: Likewise.
32950 * math/w_atan2.c: Likewise.
32951 * math/w_atan2f.c: Likewise.
32952 * math/w_atan2l.c: Likewise.
32953 * math/w_atanh.c: Likewise.
32954 * math/w_atanhf.c: Likewise.
32955 * math/w_atanhl.c: Likewise.
32956 * math/w_cosh.c: Likewise.
32957 * math/w_coshf.c: Likewise.
32958 * math/w_coshl.c: Likewise.
32959 * math/w_dremf.c: Likewise.
32960 * math/w_exp10.c: Likewise.
32961 * math/w_exp10f.c: Likewise.
32962 * math/w_exp10l.c: Likewise.
32963 * math/w_exp2.c: Likewise.
32964 * math/w_exp2f.c: Likewise.
32965 * math/w_fmod.c: Likewise.
32966 * math/w_fmodf.c: Likewise.
32967 * math/w_fmodl.c: Likewise.
32968 * math/w_hypot.c: Likewise.
32969 * math/w_hypotf.c: Likewise.
32970 * math/w_hypotl.c: Likewise.
32971 * math/w_j0.c: Likewise.
32972 * math/w_j0f.c: Likewise.
32973 * math/w_j0l.c: Likewise.
32974 * math/w_j1.c: Likewise.
32975 * math/w_j1f.c: Likewise.
32976 * math/w_j1l.c: Likewise.
32977 * math/w_jn.c: Likewise.
32978 * math/w_jnf.c: Likewise.
32979 * math/w_jnl.c: Likewise.
32980 * math/w_lgamma.c: Likewise.
32981 * math/w_lgamma_r.c: Likewise.
32982 * math/w_lgammaf.c: Likewise.
32983 * math/w_lgammaf_r.c: Likewise.
32984 * math/w_lgammal.c: Likewise.
32985 * math/w_lgammal_r.c: Likewise.
32986 * math/w_log.c: Likewise.
32987 * math/w_log10.c: Likewise.
32988 * math/w_log10f.c: Likewise.
32989 * math/w_log10l.c: Likewise.
32990 * math/w_log2.c: Likewise.
32991 * math/w_log2f.c: Likewise.
32992 * math/w_log2l.c: Likewise.
32993 * math/w_logf.c: Likewise.
32994 * math/w_logl.c: Likewise.
32995 * math/w_pow.c: Likewise.
32996 * math/w_powf.c: Likewise.
32997 * math/w_powl.c: Likewise.
32998 * math/w_remainder.c: Likewise.
32999 * math/w_remainderf.c: Likewise.
33000 * math/w_remainderl.c: Likewise.
33001 * math/w_scalb.c: Likewise.
33002 * math/w_scalbf.c: Likewise.
33003 * math/w_scalbl.c: Likewise.
33004 * math/w_sinh.c: Likewise.
33005 * math/w_sinhf.c: Likewise.
33006 * math/w_sinhl.c: Likewise.
33007 * math/w_sqrt.c: Likewise.
33008 * math/w_sqrtf.c: Likewise.
33009 * math/w_sqrtl.c: Likewise.
33010 * math/w_tgamma.c: Likewise.
33011 * math/w_tgammaf.c: Likewise.
33012 * math/w_tgammal.c: Likewise.
33014 * po/ja.po: Update from translation team.
33016 2011-09-29 Andreas Jaeger <aj@suse.de>
33019 * sunrpc/netname.c (netname2host): Fix logic.
33023 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33025 * math/w_remainder.c (__remainder): Likewise.
33026 * math/w_remainderf.c (__remainderf): Likewise.
33027 * math/libm-test.inc (remainder_test): Add test cases.
33029 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33031 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33034 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33036 * string/test-memcmp.c: Avoid unncessary #defines.
33037 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33039 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33041 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33042 Use new sse2 version for core i3 - i7 as it's faster
33043 than sse42 version.
33044 (bit_Prefer_PMINUB_for_stringop): New.
33045 * sysdeps/x86_64/rawmemchr.S: Update.
33046 Replace with faster SSE2 version.
33047 * sysdeps/x86_64/memrchr.S: New file.
33048 * sysdeps/x86_64/memchr.S: Update.
33049 Replace with faster SSE2 version.
33051 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33053 * elf/dl-load.c (lose): Add cast to avoid warning.
33055 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33057 * po/ca.po: Update from translation team.
33059 * inet/getnetgrent_r.c: Hook up nscd.
33060 * nscd/Makefile (routines): Add nscd_netgroup.
33061 (nscd-modules): Add netgroupcache.
33062 (CFLAGS-netgroupcache.c): Define.
33063 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33064 (cache_search): Add const to second parameter.
33065 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33067 (dbs): Add netgrdb entry.
33068 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33069 (verify_persistent_db): Handle netgrdb.
33070 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33071 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33073 (netgroup_response_header): Define.
33074 (innetgroup_response_header): Define.
33075 (datahead): Add netgroup_response_header and innetgroup_response_header
33077 * nscd/nscd.conf: Add entries for netgroup cache.
33078 * nscd/nscd.h (dbtype): Add netgrdb.
33079 (_PATH_NSCD_NETGROUP_DB): Define.
33080 (netgroup_iov_disabled): Declare.
33081 (xmalloc, xcalloc, xrealloc): Move declarations here.
33082 (cache_search): Adjust prototype.
33083 Add netgroup-related prototypes.
33084 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33085 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33086 (__nscd_innetgr): Declare.
33087 * nscd/selinux.c (perms): Use access_vector_t as element type and
33088 add netgroup-related initializers.
33089 * nscd/netgroupcache.c: New file.
33090 * nscd/nscd_netgroup.c: New file.
33091 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33092 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33093 For four parameters use innetgr.
33094 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33095 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33096 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33097 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33099 * nscd/connections.c (register_traced_file): Don't register file
33100 for disabled databases.
33102 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33104 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33106 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33107 from tree and freeing node.
33109 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33111 * nss/nsswitch.c (__nss_database_lookup): Handle
33112 nss_parse_service_list out of memory case.
33114 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33116 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33117 out of memory case.
33119 2011-10-04 Andreas Schwab <schwab@redhat.com>
33121 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33122 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33124 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33125 elf_machine_rela, elf_machine_lazy_rel.
33126 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33127 (ELF_DYNAMIC_DO_REL): Likewise.
33128 (ELF_DYNAMIC_DO_RELA): Likewise.
33129 (ELF_DYNAMIC_RELOCATE): Likewise.
33130 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33131 to ELF_DYNAMIC_DO_REL.
33132 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33133 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33134 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33136 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33137 skip_ifunc, don't call ifunc function if non-zero.
33138 (elf_machine_rela): Likewise.
33139 (elf_machine_lazy_rel): Likewise.
33140 (elf_machine_lazy_rela): Likewise.
33141 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33142 (elf_machine_lazy_rel): Likewise.
33143 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33145 (elf_machine_lazy_rel): Likewise.
33146 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33148 (elf_machine_lazy_rel): Likewise.
33149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33150 (elf_machine_lazy_rel): Likewise.
33151 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33152 (elf_machine_lazy_rel): Likewise.
33153 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33154 (elf_machine_lazy_rel): Likewise.
33155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33156 (elf_machine_lazy_rel): Likewise.
33157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33158 (elf_machine_lazy_rel): Likewise.
33159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33160 (elf_machine_lazy_rel): Likewise.
33162 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33164 * nss/nss_files/files-init.c (_nss_files_init): Use static
33165 initialization for all the *_traced_file variables.
33167 2011-09-28 Andreas Schwab <schwab@redhat.com>
33169 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33171 2011-09-27 Roland McGrath <roland@hack.frob.com>
33174 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33176 2011-09-27 Andreas Schwab <schwab@redhat.com>
33178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33179 Reread the line before reparsing it.
33181 2011-09-26 Andreas Schwab <schwab@redhat.com>
33183 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33185 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33186 Maxim Kuvyrkov <maxim@codesourcery.com>
33187 Joseph Myers <joseph@codesourcery.com>
33189 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33190 if needed for __stack_chk_guard.
33192 2011-09-19 Roland McGrath <roland@hack.frob.com>
33194 * sysdeps/posix/spawni.c (script_execute): Always define it.
33195 It will be optimized away if unused.
33196 (maybe_script_execute): New function.
33197 (__spawni): Call it.
33199 * Makerules: Don't include tls.make.
33200 (config-tls): Always set to thread.
33201 * tls.make.c: File removed.
33203 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33205 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33206 * config.make.in (CPPFLAGS-config): New substituted variable.
33208 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33210 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33213 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33214 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33216 2011-09-15 Roland McGrath <roland@hack.frob.com>
33218 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33219 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33221 (CALL_FAIL): Likewise.
33222 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33223 (CALL_FAIL): Macro removed.
33224 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33226 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33228 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33229 for __FINITE_MATH_ONLY__ == 1.
33231 2011-09-15 Andreas Schwab <schwab@redhat.com>
33233 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33234 __ieee754_sqrt instead of sqrt.
33235 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33236 __ieee754_sqrtf instead of sqrtf.
33237 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33238 __floorf instead of floorf.
33239 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33240 __floorf, __truncf instead of floorf, truncf.
33242 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33244 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33246 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33247 __extern_always_inline.
33248 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33251 2011-09-14 Andreas Schwab <schwab@redhat.com>
33253 * elf/rtld.c (dl_main): Also relocate in dependency order when
33254 doing symbol dependency testing.
33256 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33259 Always define `refsym'.
33261 2011-09-13 Andreas Schwab <schwab@redhat.com>
33263 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33264 (__FD_ELT): Renamed from __FDELT.
33265 * misc/bits/select2.h (__FD_ELT): Likewise.
33266 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33267 __FD_MASK instead of __FDELT, __FDMASK.
33268 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33270 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33273 * elf/Makefile (gen-ldd): Fix pattern.
33275 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33276 (init_tls): Likewise.
33278 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33280 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33282 2011-09-12 Andreas Schwab <schwab@redhat.com>
33284 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33285 `struct cmsghdr *' instead of `void *'.
33286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33289 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33291 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33293 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33294 ldd_rewrite_script.
33296 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33298 * configure.in: Remove --with-tls option.
33299 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33300 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33301 out in case it is missing.
33302 * sysdeps/ia64/elf/configure.in: Likewise.
33303 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33304 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33305 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33306 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33307 * sysdeps/sh/elf/configure.in: Likewise.
33308 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33309 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33310 * sysdeps/x86_64/elf/configure.in: Likewise.
33311 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33312 * sysdeps/mach/hurd/tls.h: Likewise.
33315 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33318 * configure.in: Fix use of AC_INIT.
33320 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33322 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33324 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33326 * malloc/hooks.c: Likewise.
33329 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33330 variables statically.
33331 (narenas): Initialize.
33332 (list_lock): Initialize.
33333 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33334 initializtion of main_arena and list_lock. Small cleanups.
33335 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33336 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33337 Add initializers to main_arena and mp_.
33338 (malloc_state): Remove pagesize member. Change all users to use
33341 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33342 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33343 is always initialized.
33345 * malloc/malloc.c: Removed unused configurations and dead code.
33346 * malloc/arena.c: Likewise.
33347 * malloc/hooks.c: Likewise.
33348 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33350 * include/tls.h: Removed. USE___THREAD must always be defined.
33351 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33352 * elf/dl-libc.c: Likewise.
33353 * elf/dl-tsd.c: Likewise.
33354 * include/errno.h: Likewise.
33355 * include/netdb.h: Likewise.
33356 * include/resolv.h: Likewise.
33357 * inet/herrno-loc.c: Likewise.
33358 * inet/herrno.c: Likewise.
33359 * malloc/arena.c: Likewise.
33360 * malloc/hooks.c: Likewise.
33361 * malloc/malloc.c: Likewise.
33362 * resolv/res-state.c: Likewise.
33363 * resolv/res_libc.c: Likewise.
33364 * sysdeps/i386/dl-machine.h: Likewise.
33365 * sysdeps/ia64/dl-machine.h: Likewise.
33366 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33367 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33368 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33369 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33370 * sysdeps/sh/dl-machine.h: Likewise.
33371 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33373 * sysdeps/unix/i386/sysdep.S: Likewise.
33374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33375 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33380 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33384 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33385 * sysdeps/x86_64/dl-machine.h: Likewise.
33386 * tls.make.c: Likewise.
33388 * configure.in: Remove --with-__thread option. Make tests for
33389 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33390 tls_model attribute fail if no support is available. Remove
33392 * Makeconfig: Adjust for dropped configure option. All features are
33394 * Makerules: Likewise.
33395 * Versions.def: Likewise.
33396 * argp/argp-fmtstream.c: Likewise.
33397 * argp/argp-fmtstream.h: Likewise.
33398 * argp/argp-help.c: Likewise.
33399 * assert/assert.c: Likewise.
33400 * config.h.in: Likewise.
33401 * config.make.in: Likewise.
33402 * configure: Likewise.
33403 * configure.in: Likewise.
33404 * csu/Versions: Likewise.
33405 * csu/init.c: Likewise.
33406 * elf/tst-audit2.c: Likewise.
33407 * elf/tst-tls10.c: Likewise.
33408 * elf/tst-tls10.h: Likewise.
33409 * elf/tst-tls11.c: Likewise.
33410 * elf/tst-tls12.c: Likewise.
33411 * elf/tst-tls14.c: Likewise.
33412 * elf/tst-tlsmod11.c: Likewise.
33413 * elf/tst-tlsmod12.c: Likewise.
33414 * elf/tst-tlsmod13.c: Likewise.
33415 * elf/tst-tlsmod13a.c: Likewise.
33416 * elf/tst-tlsmod14a.c: Likewise.
33417 * elf/tst-tlsmod15b.c: Likewise.
33418 * elf/tst-tlsmod16a.c: Likewise.
33419 * elf/tst-tlsmod16b.c: Likewise.
33420 * elf/tst-tlsmod7.c: Likewise.
33421 * elf/tst-tlsmod8.c: Likewise.
33422 * elf/tst-tlsmod9.c: Likewise.
33423 * gmon/gmon.c: Likewise.
33424 * grp/fgetgrent_r.c: Likewise.
33425 * grp/putgrent.c: Likewise.
33426 * hurd/fopenport.c: Likewise.
33427 * include/libc-symbols.h: Likewise.
33428 * include/tls.h: Likewise.
33429 * intl/gettextP.h: Likewise.
33430 * intl/loadinfo.h: Likewise.
33431 * locale/global-locale.c: Likewise.
33432 * locale/localeinfo.h: Likewise.
33433 * mach/devstream.c: Likewise.
33434 * malloc/arena.c: Likewise.
33435 * malloc/set-freeres.c: Likewise.
33436 * misc/err.c: Likewise.
33437 * misc/getttyent.c: Likewise.
33438 * misc/mntent_r.c: Likewise.
33439 * posix/getopt.c: Likewise.
33440 * posix/wordexp.c: Likewise.
33441 * pwd/fgetpwent_r.c: Likewise.
33442 * resolv/Versions: Likewise.
33443 * resolv/res_hconf.c: Likewise.
33444 * shadow/fgetspent_r.c: Likewise.
33445 * shadow/putspent.c: Likewise.
33446 * stdio-common/printf_fphex.c: Likewise.
33447 * stdio-common/tmpfile.c: Likewise.
33448 * stdlib/abort.c: Likewise.
33449 * stdlib/fmtmsg.c: Likewise.
33450 * sunrpc/auth_unix.c: Likewise.
33451 * sunrpc/clnt_perr.c: Likewise.
33452 * sunrpc/clnt_tcp.c: Likewise.
33453 * sunrpc/clnt_udp.c: Likewise.
33454 * sunrpc/clnt_unix.c: Likewise.
33455 * sunrpc/openchild.c: Likewise.
33456 * sunrpc/svc_simple.c: Likewise.
33457 * sunrpc/svc_tcp.c: Likewise.
33458 * sunrpc/svc_udp.c: Likewise.
33459 * sunrpc/svc_unix.c: Likewise.
33460 * sunrpc/xdr.c: Likewise.
33461 * sunrpc/xdr_array.c: Likewise.
33462 * sunrpc/xdr_rec.c: Likewise.
33463 * sunrpc/xdr_ref.c: Likewise.
33464 * sunrpc/xdr_stdio.c: Likewise.
33466 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33468 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33470 2011-07-03 Andreas Jaeger <aj@suse.de>
33472 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33473 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33474 regenerate with gen-libm-tests.pl.
33476 2010-05-12 Petr Baudis <pasky@suse.cz>
33479 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33480 around j0() zero points by switching to j1().
33481 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33486 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33490 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33493 Patch in part by Pavel Roskin <proski@gnu.org>.
33496 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33498 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33499 Free memory block if necessary.
33502 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33503 be NULL. Don't lock in this case.
33505 2011-09-09 Roland McGrath <roland@hack.frob.com>
33507 * elf/elf.h (ELFOSABI_GNU): New macro.
33508 (ELFOSABI_LINUX): Define to that.
33510 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33512 * string/strncat.c (strncat): Undef the symbol in case it has been
33513 defined in bits/string.h.
33515 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33517 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33519 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33522 2011-08-17 Andreas Jaeger <aj@suse.de>
33524 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33526 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33527 Ian Lance Taylor <iant@google.com>
33529 * math/libm-test.inc (lround_test): New testcase.
33530 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33532 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33534 * Makefile: Remove support for automatic cvs check-ins.
33535 * Makerules: Likewise.
33536 * config.make.in: Likewise.
33537 * configure.in: Likewise.
33538 * intl/Makefile: Likewise.
33539 * locale/Makefile: Likewise.
33540 * po/Makefile: Likewise.
33541 * posix/Makefile: Likewise.
33542 * sysdeps/gnu/Makefile: Likewise.
33543 * sysdeps/mach/hurd/Makefile: Likewise.
33544 * sysdeps/sparc/sparc32/Makefile: Likewise.
33547 * posix/Makefile (bug-regex32-ENV): Define.
33548 Patch by John Stanley <jpsinthemix@verizon.net>.
33550 * misc/Makefile (headers): Add bits/select2.h.
33551 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33552 * misc/bits/select2.h: New file.
33553 * include/bits/select2.h: New file.
33554 * debug/Makefile (routines): Add fdelt_chk.
33555 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33556 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33558 * debug/fdelt_chk.c: New file.
33560 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33561 * wcsmbs/test-wmemcmp.c: Likewise.
33562 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33563 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33565 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33567 * string/Makefile (strop-tests): Add memcmp.
33568 * string/test-wmemcmp.c: New file.
33569 * string/test-memcmp.c: Add wmemcmp support.
33571 2011-09-08 Roland McGrath <roland@hack.frob.com>
33574 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33577 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33578 garbage value in a __mach_port_mod_refs call in the cases of the
33579 task-self and thread-self ports.
33581 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33583 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33585 2011-09-08 Andreas Schwab <schwab@redhat.com>
33587 * elf/dl-load.c (lose): Check for non-null L.
33589 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33591 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33593 * elf/dl-libc.c (dlerror_run): Pass back error code from
33597 * elf/dl-load.c (lose): Free l_origin if it is valid.
33599 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33601 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33602 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33604 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33606 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33608 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33610 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33611 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33612 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33613 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33614 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33615 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33616 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33617 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33618 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33619 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33621 2011-08-15 Alan Modra <amodra@gmail.com>
33624 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33625 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33626 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33627 ppc_mcount to static-only-routines.
33628 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33630 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33631 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33633 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33635 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33636 for finite and infinity parameters.
33638 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33641 and add nop instructions for throughput optimization.
33642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33644 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33647 aligned copy for power7 with vector-scalar instructions.
33648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33650 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33655 2011-09-07 Andreas Schwab <schwab@redhat.com>
33658 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33661 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33663 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33664 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33665 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33666 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33669 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33671 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33672 Forgot to demangle the pointer.
33674 * sysdeps/i386/sysdep.h: Define atom_text_section.
33675 * sysdeps/x86_64/sysdep.h: Likewise.
33676 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33677 section with atom_text_section.
33678 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33680 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33681 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33682 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33684 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33685 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33686 already be defined. Change to take two parameters and don't assign
33687 result to variable. Adjust all users.
33688 Define INTERNAL_GETTIME if not already defined.
33689 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33692 HAVE_CLOCK_GETTIME_VSYSCALL.
33693 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33696 gettimeofday vsyscall, just use time.
33698 2011-09-06 Andreas Schwab <schwab@redhat.com>
33700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33703 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33705 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33709 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33710 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33711 syscall if possible.
33713 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33715 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33716 e_ident. Don't pass to find_mapsXX.
33717 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33719 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33722 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33723 * sysdeps/x86_64/multiarch/strchr.S: Update.
33724 Check bit_slow_BSF bit.
33725 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33726 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33727 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33729 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33732 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33734 (tryshell): Define.
33735 (__spawni): Change last parameter to be flag. Test
33736 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33737 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33738 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33739 * posix/spawni.c: Likewise.
33740 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33741 * posix/spawnp.c: Likewise. Change normal version to use
33742 SPAWN_XFLAGS_USE_PATH.
33743 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33744 SPAWN_XFLAGS_TRY_SHELL.
33747 * posix/glob.h: Remove gcc 1.x support.
33750 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33752 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33755 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33757 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33758 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33759 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33760 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33761 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33762 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33764 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33766 * sysdeps/x86_64/wcscmp.S: New file.
33768 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33769 wcscmp-c wcscmp-sse2
33770 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33771 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33772 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33773 * wcsmbs/wcscmp.c: Allow renaming.
33775 2011-09-05 David S. Miller <davem@davemloft.net>
33777 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33778 stack slot, rather than the struct return pointer slot.
33779 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33780 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33782 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33784 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33786 * po/ja.po: Update from translation team.
33789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33790 kernel in 64-bit binaries.
33792 2011-09-01 David S. Miller <davem@davemloft.net>
33794 * elf/elf.h (HWCAP_SPARC_*): Move to..
33795 * sysdeps/sparc/sysdep.h: this new file and add new values.
33796 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33797 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33798 _DL_HWCAP_COUNT to 24.
33799 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33801 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33802 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33803 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33805 instead of magic constants.
33806 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33808 2011-08-31 David S. Miller <davem@davemloft.net>
33810 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33812 Reimplement to do errno handling inline.
33813 (SYSCALL_ERROR_HANDLER): New macro.
33814 (__SYSCALL_STRING): Do not do errno handling in asm.
33815 (__CLONE_SYSCALL_STRING): Delete.
33816 (__INTERNAL_SYSCALL_STRING): Delete.
33817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33818 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33819 (PSEUDO): Reimplement to do errno handling inline.
33820 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33821 (SYSCALL_ERROR_HANDLER): New macro.
33822 (__SYSCALL_STRING): Do not do errno handling in asm.
33823 (__CLONE_SYSCALL_STRING): Delete.
33824 (__INTERNAL_SYSCALL_STRING): Delete.
33825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33826 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33828 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33829 (inline_syscall*): Add 'err' argument.
33830 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33831 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33832 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33833 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33835 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33836 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33838 2011-08-30 Andreas Schwab <schwab@redhat.com>
33840 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33842 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33844 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33847 2011-08-24 David S. Miller <davem@davemloft.net>
33849 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33851 2011-08-24 Andreas Schwab <schwab@redhat.com>
33853 * elf/Makefile: Add rules to build and run unload8 test.
33854 * elf/unload8.c: New file.
33855 * elf/unload8mod1.c: New file.
33856 * elf/unload8mod1x.c: New file.
33857 * elf/unload8mod2.c: New file.
33858 * elf/unload8mod3.c: New file.
33860 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33863 2011-08-23 David S. Miller <davem@davemloft.net>
33865 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33866 subtract stack bias.
33867 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33868 %sp not %fp in calculations.
33869 (_JMPBUF_UNWINDS_ADJ): Likewise.
33871 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33872 (aio_suspend): Call it to force an exception region around the
33873 AIO_MISC_WAIT() invocation.
33875 2011-08-23 Andreas Schwab <schwab@redhat.com>
33877 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33880 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33882 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33884 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33885 and <dl-machine.h>.
33886 (Elf64_FuncDesc): Remove.
33888 2011-08-22 David S. Miller <davem@davemloft.net>
33890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33891 sigaltstack check, add missing cfi directives.
33892 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33893 missing cfi directives, and sigaltstack handling.
33895 2011-08-16 Andreas Schwab <schwab@redhat.com>
33898 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33899 object is seen twice.
33900 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33902 * elf/Makefile (distribute): Add tst-initorder2.c.
33903 (tests): Add tst-initorder2.
33904 (modules-names): Add tst-initorder2a tst-initorder2b
33905 tst-initorder2c tst-initorder2d. Add rules to build them.
33906 ($(objpfx)tst-initorder2.out): New rule.
33907 * elf/tst-initorder2.c: New file.
33908 * elf/tst-initorder2.exp: New file.
33910 2011-08-22 Andreas Schwab <schwab@redhat.com>
33912 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33914 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33915 dependencies back to end of function.
33917 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33918 $(elfobjdir)/ld.so.
33920 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33923 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33925 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33926 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33927 of __vdso_gettimeofday.
33928 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33929 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33931 (_libc_vdso_platform_setup): Remove initialization of
33932 __vdso_gettimeofday and __vdso_time.
33934 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33936 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33937 and fgetc_unlocked.
33938 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33941 * elf/dl-open.c (add_to_global): Report additions to the global scope
33942 for LD_DEBUG=scopes.
33943 (dl_open_worker): Also print scope of newly loaded dependencies.
33944 (_dl_show_scope): Indicate if there is no scope.
33947 * stdio-common/Makefile (tests): Add bug24.
33948 * stdio-common/bug24.c: New file.
33950 2011-08-19 Andreas Jaeger <aj@suse.de>
33953 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33954 non-existant file when using close-on-exec mode.
33956 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33959 the very first instruction.
33961 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33962 the CFI state in the end.
33963 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33964 inclusion of dl-trampoline.h.
33965 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33967 2011-08-19 Andreas Schwab <schwab@redhat.com>
33969 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33970 expectations for long double.
33972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33973 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33975 2011-08-14 David S. Miller <davem@davemloft.net>
33977 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33978 artificual limit depends upon the system page size.
33980 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33982 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33983 * resolv/Makefile: Define CFLAGS-libresolv.
33985 2011-08-17 Andreas Schwab <schwab@redhat.com>
33987 * nss/makedb.c (compute_tables): Make variables used in nested
33990 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33992 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33993 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33994 if buffer was too small.
33996 * elf/pldd.c (main): Attach to all threads in the process.
33997 Rewrite /proc handling to use *at functions.
33999 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34001 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34002 specifies first scope to show.
34003 (dl_open_worker): Update callers. Move printing scope of new
34004 object to before the relocation.
34005 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34006 * sysdeps/generic/ldsodefs.h: Update declaration.
34008 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34009 string for the scope number.
34011 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34013 * nscd/servicescache.c (cache_addserv): Make sure written is always
34016 2011-08-14 Roland McGrath <roland@hack.frob.com>
34018 * sysdeps/i386/i486/bits/atomic.h
34019 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34020 statement expression, so as to suppress "set but not used" warning.
34021 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34023 * string/strncat.c (STRNCAT): Use prototype definition.
34025 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34026 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34028 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34029 (localedef-modules): Add localedef.
34030 (locale-modules): Add locale.
34032 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34033 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34034 to avoid a warning.
34036 2011-08-14 David S. Miller <davem@davemloft.net>
34038 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34039 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34041 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34043 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34044 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34045 * elf/rtld.c (dl_main): Set l_name of vDSO.
34046 Call _dl_show_scope when DL_DEBUG_SCOPES.
34047 (process_dl_debug): Recognize scopes flag and also set it for all.
34048 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34049 Declare _dl_show_scope.
34051 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34052 (do_dlopen): Pass caller_dlopen to dl_open.
34053 (__libc_dlopen_mode): Initialize caller_dlopen.
34055 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34056 of libc. Make tolower call locale-independent. Optimize a bit by
34057 using isdigit instead of isalnum.
34058 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34060 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34062 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34063 was a dependency or dynamically loaded.
34065 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34067 * intl/l10nflist.c: Allow architecture-specific pop function.
34068 * sysdeps/x86_64/l10nflist.c: New file.
34070 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34073 2011-08-10 Andreas Schwab <schwab@redhat.com>
34075 * include/dirent.h: Add libc_hidden_proto for scandirat and
34076 scandirat64. Don't declare __scandirat64.
34077 * dirent/scandirat.c: Add libc_hidden_def.
34078 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34079 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34081 2011-08-10 David S. Miller <davem@davemloft.net>
34083 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34087 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34089 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34091 * Versions.def [libc]: Add GLIBC_2.15.
34092 * dirent/Makefile (routines): Add scandirat and scandirat64.
34093 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34095 * dirent/dirent.h: Declare scandirat and scandirat64.
34096 * dirent/scandirat.c: New file.
34097 * dirent/scandirat64.c: New file.
34098 * sysdeps/wordsize-64/scandirat.c: New file.
34099 * sysdeps/wordsize-64/scandirat64.c: New file.
34100 * dirent/opendir.c: Define opendirat.
34101 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34103 * dirent/scandir64.c: Adjust for scandir.c change.
34104 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34105 __scandirat64, and __scandir_cancel_handler.
34106 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34107 additional parameter and use openat instead of open (outside of ld.so).
34108 Add new __opendir as wrapper around __opendirat.
34109 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34110 here without requiring old scandirat implementation.
34112 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34114 * dirent/scandir.c (cancel_handler): Renamed to
34115 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34116 defined. Adjust users.
34117 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34118 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34120 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34122 * string/test-string.h (IMPL): Use __STRING to expand name and then
34125 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34128 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34130 * string/Makefile: Update.
34131 (strop-tests): Append strncat.
34132 * string/test-wcscmp.c: New file.
34133 New comprehensive test for wcscmp.
34134 * string/test-strcmp.c: Update.
34135 (WIDE): New define.
34137 2011-07-22 Andreas Schwab <schwab@redhat.com>
34139 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34142 2011-07-26 Andreas Schwab <schwab@redhat.com>
34144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34145 encoding to ACE if AI_IDN.
34147 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34150 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34152 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34154 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34155 Fix overflow bug in strncat.
34156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34158 * string/test-strncat.c: Update.
34159 Add new tests for checking overflow bugs.
34161 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34164 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34165 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34166 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34167 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34168 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34169 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34170 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34171 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34174 (USE_AS_STRCAT): Define.
34175 Add strcat and strncat support.
34176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34178 2011-07-25 Andreas Schwab <schwab@redhat.com>
34180 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34181 __n bigger than INT_MAX+1.
34182 (__strncmp_g): Likewise.
34184 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34186 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34187 * libio/stido.h: Likewise.
34189 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34194 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34197 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34201 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34206 (_dl_x86_64_save_sse): Likewise.
34208 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34212 (_dl_x86_64_save_sse): Likewise.
34214 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34216 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34218 2011-07-21 Andreas Schwab <schwab@redhat.com>
34220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34222 (_dl_x86_64_save_sse): Use correct AVX check.
34224 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34227 bug in strncpy/strncat.
34228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34230 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34232 * string/tester.c (test_strcat): Add tests for different alignments
34233 of source and destination.
34234 (test_strncat): Likewise.
34236 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34239 * posix/glob.c (glob): Check passed in values before using them in
34240 expressions to avoid some overflows.
34241 (glob_in_dir): Likewise.
34244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34245 check for AVX enablement so that we don't crash with old kernels and
34247 * elf/tst-audit4.c: Add same checks here.
34248 * elf/tst-audit6.c: Likewise.
34250 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34252 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34254 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34256 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34258 * po/cs.po: Update from translation team.
34259 * po/bg.po: Likewise.
34261 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34263 * misc/sys/cdefs.h: Add support for const attribute.
34264 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34265 to gnu_dev_{major,minor,makedev} functions.
34267 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34269 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34271 2011-07-20 Andreas Schwab <schwab@redhat.com>
34273 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34276 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34279 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34280 register in order to avoid conflicts with the soft frame pointer
34281 being held in r11 when necessary.
34282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34283 (INTERNAL_VSYSCALL_NCS): Likewise.
34285 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34287 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34288 * elf/dl-fini.c (_dl_fini): Adjust caller.
34289 * elf/dl-close.c (_dl_close_worker): Likewise.
34290 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34292 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34294 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34295 "aux_cache->nlibs < 0".
34297 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34298 in the reload-count case.
34300 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34303 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34304 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34305 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34306 * sysdeps/x86_64/multiarch/strcat.S: New file.
34307 * sysdeps/x86_64/multiarch/strncat.S: New file.
34308 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34310 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34311 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34312 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34313 (USE_AS_STRCAT): Define.
34314 Add strcat and strncat support.
34315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34317 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34318 * string/strncat.c: Update.
34319 (USE_AS_STRNCAT): Define.
34320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34321 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34323 * sysdeps/x86_64/multiarch/init-arch.h
34324 (bit_Prefer_PMINUB_for_stringop): New.
34325 (index_Prefer_PMINUB_for_stringop): Likewise.
34326 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34327 bit_Prefer_PMINUB_for_stringop.
34329 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34331 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34333 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34334 of casting of buffer.
34335 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34336 buffer32 and buffer64.
34337 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34338 writes instead of casting of buffer.
34339 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34341 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34344 2011-07-19 Andreas Schwab <schwab@redhat.com>
34346 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34348 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34350 * nscd/nscd.c (termination_handler): Don't do anything for a database
34351 if it has not yet been initialized.
34353 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34355 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34357 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34359 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34361 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34363 * po/nl.po: Update from translation team.
34364 * po/sv.po: Likewise.
34366 2011-07-16 Roland McGrath <roland@hack.frob.com>
34368 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34369 now disallowed by GCC.
34371 * configure.in (use-default-link): Default to yes if a test -shared
34372 link meets our qualifications.
34373 * configure: Regenerated.
34375 * config.make.in (output-format): New variable.
34376 * configure.in: Check for ld --print-output-format support.
34377 * configure: Regenerated.
34378 * Makerules ($(common-objpfx)format.lds)
34379 [$(output-format) != unknown]: Just use $(output-format),
34380 instead of the linker-script munging.
34382 2011-07-14 Roland McGrath <roland@hack.frob.com>
34384 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34385 of $(common-objpfx)shlib.lds.
34386 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34388 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34389 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34391 * configure.in (-z relro check): Adjust test code to add a large
34392 writable data section after it.
34393 * configure: Regenerated.
34395 2011-07-11 Roland McGrath <roland@hack.frob.com>
34397 * configure.in (-z relro check): Fix test code to make the variable
34399 * configure: Regenerated.
34401 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34403 * nscd/nscd.h (struct traced_file): Define.
34404 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34405 elements. Add traced_files.
34406 (inotify_fd): Declare.
34407 (register_traced_file): Declare.
34408 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34409 (inotify_fd): Export.
34410 (resolv_conf_descr): Remove.
34411 (nscd_init): Move inotify descriptor creation to main.
34412 Don't register files for notification here.
34413 (register_traced_file): New function.
34414 (invalidate_cache): Don't use reset_res to determine whether to call
34415 res_init, go through the list of registered files.
34416 (main_loop_poll): The inotify descriptors are now stored in the
34417 structures for the traced files.
34418 (main_loop_epoll): Likewise
34419 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34420 to __nss_disable_nscd.
34421 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34422 for a database anymore. Check the records for all the registered
34424 * nss/Makefile (libnss_files-routines): Add files-init.
34425 (libnss_db-routines): Add db-init.
34426 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34427 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34428 * nss/nss_db/db-init.c: New file.
34429 * nss/nss_files/files-init.c: New file.
34430 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34431 __nss_lookup_function.
34432 (__nss_lookup_function): Call nss_load_library.
34433 (nss_load_all_libraries): New function.
34434 (__nss_disable_nscd): Take parameter with callback function for files
34435 to register. Set is_nscd. Load all the DSOs for the NSS modules
34436 used for the cached services.
34437 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34438 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34439 options for features to all the files in nscd.
34441 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34443 2011-07-10 Roland McGrath <roland@hack.frob.com>
34445 * csu/elf-init.c (__libc_csu_init): Comment typo.
34447 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34449 * po/pl.po: Update from translation team.
34450 * po/ja.po: Likewise.
34451 * po/ru.po: Likewise.
34452 * po/ko.po: Likewise.
34453 * po/fr.po: Likewise.
34455 2011-07-09 Roland McGrath <roland@hack.frob.com>
34457 * configure.in (.ctors/.dtors header and trailer check):
34458 Use an empirical test on a built program.
34459 * configure: Regenerated.
34461 * configure.in (-z relro check): Use an empirical test on a built DSO.
34462 Detect, but do not require, on ia64.
34463 * configure: Regenerated.
34465 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34466 Update tests that use readelf to use $READELF instead.
34467 * configure: Regenerated.
34469 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34471 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34472 if the result is not used.
34474 2011-07-05 Andreas Jaeger <aj@suse.de>
34477 * stdlib/tst-strtod.c: Add testcase.
34479 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34481 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34482 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34483 The latter has a higher limit. Take additional parameter to pass to
34485 (__pathconf): Pass file to __statfs_link_max.
34486 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34488 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34492 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34493 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34495 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34496 (__statfs_filesize_max): Likewise.
34497 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34499 2011-07-05 Andreas Jaeger <aj@suse.de>
34501 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34503 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34505 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34507 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34510 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34512 * Makefile (strop-tests): Add strncat.
34513 * string/test-strncat.c: New file.
34515 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34517 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34519 2011-06-21 Andreas Jaeger <aj@suse.de>
34521 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34522 Copy rule from iconvdata/Makefile.
34524 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34527 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34528 but no long options are defined, just return 'W'.
34530 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34533 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34535 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34537 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34539 (innetgr): Likewise.
34541 2011-07-05 Roland McGrath <roland@hack.frob.com>
34543 * config.make.in (install_root): Default to $(DESTDIR).
34545 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34549 2011-07-02 Roland McGrath <roland@hack.frob.com>
34551 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34553 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34554 containing directory rather than embedding absolute directory names.
34556 * scripts/check-local-headers.sh: Rewritten using awk.
34557 Match by word, not by line. Print error messages for matches.
34558 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34560 * Makerules [shlib-lds-flags empty]:
34561 ($(common-objpfx)libc_pic.opts): New target.
34562 ($(common-objpfx)libc_pic.os.clean): New target.
34563 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34565 * config.make.in (OBJCOPY): New variable.
34566 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34567 * configure: Regenerated.
34569 * config.make.in (use-default-link): New variable.
34570 * configure.in (use_default_link): Grok --with-default-link to set it.
34571 * configure: Regenerated.
34572 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34573 (shlib-lds, shlib-lds-flags): Define to empty.
34575 * Makerules (shlib-lds): New variable.
34576 (shlib-lds-flags): New variable.
34577 (build-shlib, build-moduile, build-module-asneeded): Use it.
34578 ($(common-objpfx)libc.so): Use $(shlib-lds).
34579 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34580 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34582 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34583 DT_FLAGS/DT_FLAGS_1 with zero flags.
34585 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34586 linker script munging.
34588 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34590 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34592 * crypt/sha512.c (sha512_process_block): Perform total addition using
34593 128-bit if possible.
34594 (__sha512_finish_ctx): Likewise.
34595 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34597 * crypt/sha256.c (SWAP64): Define.
34598 (sha256_process_block): Perform total addition using 64-bit if
34600 (__sha256_finish_ctx): Likewise.
34602 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34604 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34605 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34606 * nscd/hstcache.c (cache_addhst): Likewise.
34607 * nscd/grpcache.c (cache_addgr): Likewise.
34608 * nscd/aicache.c (addhstaiX): Likewise
34609 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34611 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34613 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34615 * nscd/hstcache.c (cache_addhst): Likewise.
34616 * nscd/grpcache.c (cache_addgr): Likewise.
34617 * nscd/aicache.c (addhstaiX): Likewise
34619 2011-07-01 Andreas Schwab <schwab@redhat.com>
34621 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34622 domain only when needed.
34624 2011-06-30 Andreas Schwab <schwab@redhat.com>
34626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34627 is always restored.
34629 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34631 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34632 are re-adding the entry.
34633 * nscd/servicescache.c (cache_addserv): Likewise.
34635 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34637 * sysdeps/generic/dl-irel.h: fix protection against multiple
34639 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34641 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34644 * malloc/memusage.sh: Fix quoting in message.
34645 * debug/xtrace.sh: Likewise.
34647 * configure.in: Remove support for --experimental-malloc option, make
34649 * config.make.in: Likewise.
34650 * malloc/Makefile: Likewise.
34652 2011-06-27 Andreas Schwab <schwab@redhat.com>
34654 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34655 two-byte characters.
34657 2011-06-27 Roland McGrath <roland@hack.frob.com>
34659 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34660 AC_CACHE_CHECK invocation.
34661 * configure: Regenerated.
34663 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34665 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34668 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34669 bit from old_res_options.
34671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34673 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34674 value type for setfct.
34676 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34679 __gettimeofday instead of gettimeofday.
34681 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34683 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34685 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34689 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34692 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34695 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34696 strcpy-sse2-unaligned strncpy-sse2-unaligned
34697 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34698 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34699 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34700 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34701 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34703 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34704 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34705 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34706 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34707 (STRCPY): Support SSE2 and SSSE3 versions.
34709 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34713 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34714 kernels which artificially limit size of requests.
34716 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34719 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34720 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34721 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34722 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34723 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34724 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34725 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34727 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34728 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34729 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34730 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34731 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34732 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34734 Enable unaligned load optimization for Intel Core i3, i5 and i7
34736 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34738 (index_Fast_Unaligned_Load): Define.
34739 (HAS_FAST_UNALIGNED_LOAD): Define.
34741 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34743 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34745 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34749 until it is clear that the information is realy needed.
34750 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34752 2011-06-22 Andreas Schwab <schwab@redhat.com>
34754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34756 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34759 /sys/devices/system/cpu/online if it is usable.
34761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34762 reading the information from the /proc filesystem to once a second.
34764 2011-06-21 Andreas Jaeger <aj@suse.de>
34766 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34767 NULL after inclusion of kernel headers.
34769 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34771 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34772 calls to internal_setent.
34775 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34776 addresses using gethostbyname4_r ignore IPv4 addresses.
34778 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34779 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34781 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34783 2011-06-20 David S. Miller <davem@davemloft.net>
34785 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34787 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34789 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34790 (elf_irel): Use it.
34791 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34792 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34793 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34794 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34795 * sysdeps/x86_64/dl-irel.h: Likewise.
34797 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34798 * elf/dl-sym.c: Likewise.
34800 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34802 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34803 need to dereference resplen2.
34805 2011-06-14 Andreas Schwab <schwab@redhat.com>
34807 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34809 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34811 * Makeconfig: Define vardbdir and inst_vardbdir.
34812 * nss/Makefile: Add rules to install db-Makefile.
34814 * nss/nss_db/db-XXX.c: Cleanup.
34816 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34817 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34819 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34820 * nss/makedb.c: Implement -g option to specify that value strings
34821 are generated and should not be added to table iterated over for
34823 * nss/nss_db/db-initgroups.c: New file.
34825 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34828 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34829 (internal_getgrouplist): Adjust to name change.
34830 Update use_initgroups_entry if this is not the first call.
34831 * nss/databases.def: Add initgroups entry.
34833 * nss/makedb.c (compute_tables): Check result of multiple hash table
34834 sizes to minimize maximum chain length.
34836 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34838 * Versions.def: Add entry for libnss_db.
34839 * shlib-versions: Likewise.
34840 * nss/Makefile: Add rules to build libnss_db.
34841 * nss/Versions: Add libnss_db information. Organize libnss_files
34843 * nss/db-Makefile: Add gshadow support. Change rules for the new
34844 makedb progra. Some minor improvements to generate smaller files.
34845 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34847 * nss/makedb.c: ...here.
34848 Improve database format to be smaller and require less memory at
34850 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34852 * nss/nss_db/db-netgrp.c: Likewise.
34853 * nss/nss_db/db-open.c: Likewise.
34854 * nss/nss_files/flies-XXX.x: Adjust comments.
34855 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34856 * nss/nss_files/files-grp.c: Likewise.
34857 * nss/nss_files/files-hosts.c: Likewise.
34858 * nss/nss_files/files-network.c: Likewise.
34859 * nss/nss_files/files-proto.c: Likewise.
34860 * nss/nss_files/files-pwd.c: Likewise.
34861 * nss/nss_files/files-rpc.c: Likewise.
34862 * nss/nss_files/files-service.c: Likewise.
34863 * nss/nss_files/files-sgrp.c: Likewise.
34864 * nss/nss_files/files-spwd.c: Likewise.
34865 * nss/nss_db/db-alias.c: Removed.
34866 * nss/nss_db/dummy-db.h: Removed.
34868 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34870 * nss/makedb.c: Rewritten to not use database library.
34871 * nss/Makefile: Update to build new makedb program.
34873 2011-06-14 Andreas Jaeger <aj@suse.de>
34875 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34876 memset declaration.
34878 2011-06-10 Andreas Schwab <schwab@redhat.com>
34880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34883 2011-06-10 Roland McGrath <roland@hack.frob.com>
34885 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34886 * elf/Makefile ($(objpfx)ld.so): Likewise.
34888 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34889 Don't list ld.so twice in dependencies.
34891 * posix/bug-regex31.c: Include <stdlib.h>.
34893 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34895 * nis/nss_compat/compat-spwd.c
34896 (getspent_next_nss_netgr): Remove unused variable.
34897 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34899 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34900 nonmembers" output to use the right array.
34902 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34904 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34906 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34907 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34908 * catgets/gencat.c (read_input_file): Likewise.
34909 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34911 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34912 variable definition inside #if's controlling its use.
34914 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34916 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34918 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34920 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34923 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34925 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34926 * configure: Regenerated.
34928 * Makerules: Revert last change.
34929 * elf/Makefile: Likewise.
34931 2011-06-09 Roland McGrath <roland@hack.frob.com>
34933 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34934 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34935 (reloc-link): Likewise.
34937 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34939 * elf/Makefile: Add rules to build pldd.
34940 * elf/pldd.c: New file.
34941 * elf/pldd-xx.c: New file.
34943 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34945 * version.h: Update for 2.15 development version.
34947 2011-06-07 David S. Miller <davem@davemloft.net>
34949 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34952 elf_machine_lazy_rel): Likewise.
34953 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34955 elf_machine_lazy_rel): Likewise.
34956 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34957 dl_hwcap via passed in argument.
34958 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34961 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34963 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34965 2011-06-06 Roland McGrath <roland@hack.frob.com>
34968 * manual/fdl-1.1.texi: New file, verbatim from:
34969 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34970 * manual/lgpl-2.1.texi: New file, verbatim from:
34971 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34972 * manual/Makefile (licenses): New variable, list those new file names.
34974 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34976 * manual/fdl.texi: File removed.
34977 * manual/lesser.texi: File removed.
34978 * manual/libc.texinfo (Copying, Documentation License):
34979 Use new @include file names, put @appendix directive before @include.
34981 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34984 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34985 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34986 (mq_open): Add __NTH.
34988 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34991 Assume Intel Core i3/i5/i7 processor if AVX is available.
34993 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34998 2011-05-31 Andreas Schwab <schwab@redhat.com>
35000 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35001 memory. Use alloca_account. Fix memory leak when retrying.
35003 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35005 * version.h (RELEASE): Bump for 2.14 release.
35006 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35008 * config.make.in (RANLIB): Remove entry.
35010 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35012 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35013 (libc.pot): Work around missing support for .ksh extension in xgettext.
35016 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35017 if both request failed.
35018 (send_dg): In case of server errors clear resplen or *resplen2.
35021 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35022 when there are multiple maps.
35023 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35024 (_dl_fini): Remove test here.
35026 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35028 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35031 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35032 bit from old_res_options.
35033 (gaih_inet): Likewise.
35036 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35039 * resolv/res_init.c (res_setoptions): Make the code more compact.
35042 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35046 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35048 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35051 * malloc/malloc.h: Declare malloc hook variables as volatile.
35053 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35057 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35058 raise in the comment.
35059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35061 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35063 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35066 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35067 grow the buffers more if it already has to be sufficient.
35068 (build_wcs_upper_buffer): Likewise.
35069 * posix/regexec.c (check_matching): Likewise.
35070 (clean_state_log_if_needed): Likewise.
35071 (extend_buffers): Don't enlarge buffers beyond size of the input
35073 Patches mostly by Emil Wojak <emil@wojak.eu>.
35074 * posix/bug-regex32.c: New file.
35075 * posix/Makefile (tests): Add bug-regex32.
35077 * locale/findlocale.c (_nl_find_locale): Return right away if
35078 _nl_explode_name failed.
35079 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35081 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35083 * debug/xtrace.sh: Unify messages.
35084 * malloc/memusage.sh: Likewise.
35087 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35088 time symbol from vDSO. Substitute with vsyscall if not available.
35089 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35092 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35093 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35094 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35095 Add sendmmsg and internal_sendmmsg.
35096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35097 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35098 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35100 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35101 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35104 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35107 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35108 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35110 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35114 * iconvdata/Makefile (tests): Add bug-iconv9.
35115 * iconvdata/bug-iconv9.c: New file.
35117 2011-05-27 Andreas Schwab <schwab@redhat.com>
35120 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35122 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35124 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35125 (struct user_regs_struct): Change intcs field back to cs.
35127 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35129 * po/ja.po: Update from translation team.
35131 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35134 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35135 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35137 2011-05-20 Andreas Schwab <schwab@redhat.com>
35139 * stdlib/longlong.h: Update from GCC.
35141 2011-05-23 Andreas Schwab <schwab@redhat.com>
35143 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35145 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35146 Add parameter name.
35147 (__sysconf): Pass it down.
35149 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35152 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35154 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35155 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35156 add in in __libc_use_alloca calls. Adjust callers.
35157 (glob): Use malloc in some situations.
35159 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35160 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35163 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35165 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35166 and CLOCK_BOOTTIME_ALARM.
35169 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35172 * string/_strerror.c (__strerror_r): Print negative errors as signed
35176 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35177 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35178 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35180 * configure.in: Fix typo in redirection and correct removal of test
35181 files in two cases.
35184 * locale/setlocale.c (new_composite_name): Fix test to check for
35185 identical name of all categories.
35188 * libio/filedoalloc.c (local_isatty): New function.
35189 (_IO_file_doallocate): Use local_isatty.
35190 * stdio-common/perror.c (perror): In case a new stream is used
35191 forward the stream error.
35192 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35195 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35200 * include/alloca.h (extend_alloca_account): Define.
35203 * posix/regex.h: Fix comments with documentation of user-accessible
35204 fields after compilation and describe correct free'ing of pattern
35205 after re_compile_pattern.
35206 Patch by Reuben Thomas <rrt@sc3d.org>.
35208 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35210 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35211 and -mno-altivec to prevent the compiler from using Altivec and/or
35212 VSX instructions when the corresponding registers are not available.
35214 2011-05-19 Andreas Schwab <schwab@redhat.com>
35216 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35218 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35220 * libio/freopen.c (freopen): Use __dup2, not dup2.
35221 * libio/freopen64.c (freopen64): Likewise.
35223 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35226 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35227 * math/Makefile (tests): Add test-powl.
35228 (CFLAGS-test-powl.c): Define.
35229 * math/test-powl.c: New file.
35231 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35233 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35235 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35238 * iconvdata/gb18030.c: Update to GB18020-2005.
35240 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35242 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35243 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35244 Patch by Aharon Robbins <arnold@skeeve.com>.
35247 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35251 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35252 through underflows.
35255 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35256 point to strings before performing equality test for error_one_per_line
35260 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35264 (struct user_fpregs_struct): Avoid __uint*_t types.
35267 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35268 symbol info. Use it instead of calling _dl_addr locally.
35269 (lock_and_info): New function.
35270 (tr_freehook): Call lock_and_info and pass symbol info as additional
35271 parameter to tr_where.
35272 (tr_mallochook): Likewise.
35273 (tr_reallochook): Likewise.
35274 (tr_memalignhook): Likewise.
35276 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35277 used and couldn't be at all thread-safe.
35279 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35281 * libio/freopen.c (freopen): Don't close old file descriptor
35282 before the new one is opened. Instead dup the new file descriptor
35283 to the old one after the new stream is created.
35284 * libio/freopen64.c (freopen64): Likewise.
35285 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35286 * libio/fileops.c (_IO_new_file_close_it): Handle new
35287 _IO_FLAGS2_NOCLOSE flag.
35288 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35289 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35290 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35291 _IO_FLAGS2_NOCLOSE flag.
35292 * include/unistd.h: Add hidden_proto for dup3.
35293 Define __have_dup3.
35294 * io/dup3.c: Define hidden symbol.
35295 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35298 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35299 when an incomplete long option is used.
35300 * posix/tst-getopt_long1.c: New file.
35301 * posix/Makefile (tests): Add tst-getopt_long1.
35304 * scripts/config.guess: Update from autoconf-2.68.
35305 * scripts/config.sub: Likewise.
35308 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35310 (has_cpuclock): ...this. New function.
35311 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35312 macro here based on has_cpuclock code.
35315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35316 First byte (not low byte) is now always NUL.
35317 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35320 Use non-cancelable interfaces.
35323 * locale/iso-639.def: Add entry for Sorani.
35326 * include/stdlib.h: Move include protection to the right place.
35327 Define abort_msg_s. Declare __abort_msg with it.
35328 * stdlib/abort.c (__abort_msg): Adjust type.
35329 * assert/assert.c (__assert_fail_base): New function. Majority
35330 of code from __assert_fail. Allocate memory for __abort_msg with
35332 (__assert_fail): Now call __assert_fail_base.
35333 * assert/assert-perr.c: Remove bulk of implementation. Use
35334 __assert_fail_base.
35335 * include/assert.hL Declare __assert_fail_base.
35336 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35338 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35340 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35344 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35345 until all modules are registered in the DTV.
35346 * elf/Makefile: Add rules to build and run tst-tls19.
35347 * elf/tst-tls19.c: New file.
35348 * elf/tst-tls19mod1.c: New file.
35349 * elf/tst-tls19mod2.c: New file.
35350 * elf/tst-tls19mod3.c: New file.
35351 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35354 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35358 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35359 two-byte sequence errors.
35360 * iconvdata/Makefile (tests): Add bug-iconv8.
35361 * iconvdata/bug-iconv8.c: New file.
35364 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35367 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35370 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35371 (dummy_getcfa): New function.
35372 (init): Get _Unwind_GetCFA address, use dummy if not found.
35373 (backtrace_helper): In recursion check, also check whether CFA changes.
35374 (__backtrace): Completely initialize arg.
35376 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35377 storing incomplete byte sequence in state object. Avoid testing for
35378 guaranteed too small input if we know there is enough data available.
35380 2011-05-11 Andreas Schwab <schwab@redhat.com>
35382 * Makeconfig (+link-pie): Indent.
35383 * Rules (binaries-pie): Define if $(have-fpie) and
35385 (binaries-shared): Also filter out $(binaries-pie).
35386 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35387 * nscd/Makefile (others-pie): Add nscd.
35388 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35389 ($(objpfx)nscd): Remove command override.
35390 * login/Makefile (others-pie): Add pt_chown.
35391 ($(objpfx)pt_chown): Remove command override.
35392 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35393 remove command overrides.
35395 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35397 * libio/tst_putwc.c: Fix error messages.
35400 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35401 currently writing and seek to current position when not.
35402 * libio/Makefile (tests): Add bug-fclose1.
35403 * libio/bug-fclose1.c: New file.
35405 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35408 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35409 don't set DF_1_NODELETE here.
35410 (do_lookup_x): When entering new entry test for copy relocation
35411 and if necessary set DF_1_NODELETE flag.
35412 * elf/tst-unique4.cc: New file.
35413 * elf/tst-unique4.h: New file.
35414 * elf/tst-unique4lib.cc: New file.
35415 * elf/Makefile: Add rules to build and run tst-unique4.
35416 Patch by Piotr Bury <pbury@goahead.com>.
35418 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35421 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35424 * misc/mntent_r.c (addmntent): Flush the stream after the output
35427 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35428 (is_trusted_path_normalize): Skip initial colon. Append slash
35429 to empty buffer. Duplicate is_trusted_path code but allow
35430 constructed patch to be prefix.
35431 (is_dst): Allow $ORIGIN followed by /.
35432 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35433 Correct testing of result of is_trusted_path_normalize
35434 (decompose_rpath): Fix warning.
35436 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35439 * grp/initgroups.c (internal_getgrouplist): When we found the service
35440 list through the initgroups entry in nsswitch.conf do not always
35441 continue on a successful lookup. Don't always use the
35442 __nss_group_database value if it is set.
35443 * nss/nsswitch.conf (initgroups): Change action for successful db
35444 lookup to continue for compatibility.
35446 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35449 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35451 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35453 * iconvdata/tst-tables.sh: Likewise.
35454 * iconvdata/cp770.c: New file.
35455 * iconvdata/cp771.c: New file.
35456 * iconvdata/cp772.c: New file.
35457 * iconvdata/cp773.c: New file.
35458 * iconvdata/cp774.c: New file.
35459 * iconvdata/testdata/CP770: New file.
35460 * iconvdata/testdata/CP770..UTF8: New file.
35461 * iconvdata/testdata/CP771: New file.
35462 * iconvdata/testdata/CP771..UTF8: New file.
35463 * iconvdata/testdata/CP772: New file.
35464 * iconvdata/testdata/CP772..UTF8: New file.
35465 * iconvdata/testdata/CP773: New file.
35466 * iconvdata/testdata/CP773..UTF8: New file.
35467 * iconvdata/testdata/CP774: New file.
35468 * iconvdata/testdata/CP774..UTF8: New file.
35470 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35472 * iconvdata/gen-8bit-gap.sh: Likewise.
35473 * iconvdata/gen-8bit.sh: Likewise.
35475 * locale/iso-639.def: Add ary entry.
35478 * locale/C-translit.h.in: Add U20A1 transliteration.
35481 * locale/iso-639.def: Add wae entry.
35482 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35485 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35489 * locale/C-translit.h.in: Add entry for U20B9.
35490 Patch by pravin.d.s@gmail.com.
35492 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35495 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35496 ENAMETOOLONG use generic getcwd.
35497 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35498 in rtld. Use *stat64.
35499 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35500 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35501 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35502 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35503 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35504 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35505 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35506 __fstatat64 macros.
35507 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35508 * dirent/rewinddir.c: Add libc_hidden_def.
35509 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35510 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35512 * include/dirent.h (__alloc_dir): Add flags parameter.
35513 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35514 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35516 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35517 from fdopendir if O_CLOEXEC is already set.
35519 2011-03-15 Alan Modra <amodra@gmail.com>
35521 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35522 l_tls_firstbyte_offset non-zero. Save padding offset in
35523 l_tls_firstbyte_offset for later use.
35524 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35525 freeing static tls block.
35527 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35529 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35530 where #ifdef was intended. The intent is to prevent ARG_MAX from
35531 being defined by the kernel headers.
35533 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35536 * resolv/resolv.h: Define RES_NOTLDQUERY.
35537 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35538 no-tld-query and set RES_NOTLDQUERY.
35539 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35540 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35541 modern BIND to search name as TLD unless forbidden.
35543 2011-05-07 Petr Baudis <pasky@suse.cz>
35544 Ulrich Drepper <drepper@gmail.com>
35547 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35548 (is_trusted_path): ...to here.
35549 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35550 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35551 using is_trusted_path_normalize() in setuid scripts.
35553 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35555 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35556 __BEGIN/__END_DECLS.
35558 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35561 NSS_STATUS_NOTFOUND if no record was found.
35563 2011-05-05 Andreas Schwab <schwab@redhat.com>
35565 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35566 (headers-not-in-tirpc): Remove rpc/netdb.h
35567 * resolv/netdb.h: Revert last change.
35569 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35571 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35572 circular dependency between libgcc.a and libc.a.
35574 2011-05-05 Andreas Schwab <schwab@redhat.com>
35576 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35577 * nis/Makefile: Don't install rpcsvc/*.
35578 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35579 instead of <rpc/types.h>.
35580 (MAXHOSTNAMELEN): Define.
35582 2011-05-03 Andreas Schwab <schwab@redhat.com>
35584 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35586 2011-04-28 Maciej Babinski <mbabinski@google.com>
35589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35590 gethostbyname4_r when IPv6 results are possible.
35592 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35595 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35596 _PC_PIPE_BUF handling.
35598 2011-04-30 Bruno Haible <bruno@clisp.org>
35601 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35602 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35604 * inet/getnameinfo.c (getnameinfo): Likewise.
35606 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35608 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35609 to groups setting in database lookup.
35610 * nss/nsswitch.conf: Add initgroups entry.
35612 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35615 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35617 Patch by Eric Blake <eblake@redhat.com>.
35619 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35621 * sunrpc/Makefile (need-export-routines): Add svc_run.
35622 (routines): Remove svc_run.
35623 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35624 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35625 * sunrpc/svc_run.c (svc_run): Likewise.
35626 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35628 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35631 problem in reallocation in last patch.
35633 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35635 * sunrpc/Makefile: Move inclusion of Rules.
35637 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35639 * nss/nss_files/files-initgroups.c: New file.
35640 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35641 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35642 _nss_files_initgroups_dyn.
35644 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35646 * elf/elf.h (R_ARM_IRELATIVE): Define.
35648 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35650 * po/ru.po: Update from translation team.
35652 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35654 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35657 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35660 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35661 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35663 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35664 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35666 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35668 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35670 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35674 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35677 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35679 * stdlib/bug-getcontext.c: New file.
35680 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35682 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35684 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35685 instructions into .machine "z9-109".
35686 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35687 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35689 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35691 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35692 between environment variables and auxiliary vector.
35694 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35696 * Makefile: Add rules to build linkobj/libc.so.
35697 * include/libc-symbols.h: Define libc_hidden_nolink.
35698 * include/rpc/auth.h: Mark functions which are to be hidden.
35699 * include/rpc/auth_des.h: Likewise.
35700 * include/rpc/auth_unix.h: Likewise.
35701 * include/rpc/clnt.h: Likewise.
35702 * include/rpc/des_crypt.h: Likewise.
35703 * include/rpc/key_prot.h: Likewise.
35704 * include/rpc/pmap_clnt.h: Likewise.
35705 * include/rpc/pmap_prot.h: Likewise.
35706 * include/rpc/pmap_rmt.h: Likewise.
35707 * include/rpc/rpc_msg.h: Likewise.
35708 * include/rpc/svc.h: Likewise.
35709 * include/rpc/svc_auth.h: Likewise.
35710 * include/rpc/xdr.h: Likewise.
35711 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35712 * nss/Makefile: Likewise.
35713 * sunrpc/Makefile: Don't install headers. Build library with normal
35714 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35715 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35716 for the compat linking library. Remove use of INTDEF/INTUSE.
35717 * sunrpc/auth_none.c: Likewise.
35718 * sunrpc/auth_unix.c: Likewise.
35719 * sunrpc/authdes_prot.c: Likewise.
35720 * sunrpc/authuxprot.c: Likewise.
35721 * sunrpc/clnt_gen.c: Likewise.
35722 * sunrpc/clnt_perr.c: Likewise.
35723 * sunrpc/clnt_raw.c: Likewise.
35724 * sunrpc/clnt_simp.c: Likewise.
35725 * sunrpc/clnt_tcp.c: Likewise.
35726 * sunrpc/clnt_udp.c: Likewise.
35727 * sunrpc/clnt_unix.c: Likewise.
35728 * sunrpc/des_crypt.c: Likewise.
35729 * sunrpc/des_soft.c: Likewise.
35730 * sunrpc/get_myaddr.c: Likewise.
35731 * sunrpc/key_call.c: Likewise.
35732 * sunrpc/key_prot.c: Likewise.
35733 * sunrpc/netname.c: Likewise.
35734 * sunrpc/pm_getmaps.c: Likewise.
35735 * sunrpc/pm_getport.c: Likewise.
35736 * sunrpc/pmap_clnt.c: Likewise.
35737 * sunrpc/pmap_prot.c: Likewise.
35738 * sunrpc/pmap_prot2.c: Likewise.
35739 * sunrpc/pmap_rmt.c: Likewise.
35740 * sunrpc/publickey.c: Likewise.
35741 * sunrpc/rpc_cmsg.c: Likewise.
35742 * sunrpc/rpc_common.c: Likewise.
35743 * sunrpc/rpc_dtable.c: Likewise.
35744 * sunrpc/rpc_prot.c: Likewise.
35745 * sunrpc/rpc_thread.c: Likewise.
35746 * sunrpc/rtime.c: Likewise.
35747 * sunrpc/svc.c: Likewise.
35748 * sunrpc/svc_auth.c: Likewise.
35749 * sunrpc/svc_authux.c: Likewise.
35750 * sunrpc/svc_raw.c: Likewise.
35751 * sunrpc/svc_run.c: Likewise.
35752 * sunrpc/svc_simple.c: Likewise.
35753 * sunrpc/svc_tcp.c: Likewise.
35754 * sunrpc/svc_udp.c: Likewise.
35755 * sunrpc/svc_unix.c: Likewise.
35756 * sunrpc/svcauth_des.c: Likewise.
35757 * sunrpc/xcrypt.c: Likewise.
35758 * sunrpc/xdr.c: Likewise.
35759 * sunrpc/xdr_array.c: Likewise.
35760 * sunrpc/xdr_float.c: Likewise.
35761 * sunrpc/xdr_intXX_t.c: Likewise.
35762 * sunrpc/xdr_mem.c: Likewise.
35763 * sunrpc/xdr_rec.c: Likewise.
35764 * sunrpc/xdr_ref.c: Likewise.
35765 * sunrpc/xdr_sizeof.c: Likewise.
35766 * sunrpc/xdr_stdio.c: Likewise.
35768 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35771 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35772 * sysdeps/ia64/dl-tls.h: Likewise.
35773 * sysdeps/powerpc/dl-tls.h: Likewise.
35774 * sysdeps/s390/dl-tls.h: Likewise.
35775 * sysdeps/sh/dl-tls.h: Likewise.
35776 * sysdeps/sparc/dl-tls.h: Likewise.
35777 * sysdeps/x86_64/dl-tls.h: Likewise.
35778 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35780 2011-03-14 Andreas Schwab <schwab@redhat.com>
35782 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35783 rpath element also skip the following colon.
35784 (expand_dynamic_string_token): Add is_path parameter and pass
35785 down to DL_DST_REQUIRED and _dl_dst_substitute.
35786 (decompose_rpath): Call expand_dynamic_string_token with
35787 non-zero is_path. Ignore empty rpaths.
35788 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35791 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35796 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35799 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35800 Patch by Filipe David Manana <fdmanana@apache.org>.
35802 2011-04-07 Andreas Schwab <schwab@redhat.com>
35804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35805 Maintain aligned stack.
35806 (CHECK_RSP): Remove unused macro.
35808 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35810 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35813 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35815 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35817 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35819 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35822 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35823 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35824 * sysdeps/x86_64/memmove.c: New file.
35825 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35826 (memcpy): Renamed to ...
35827 (__new_memcpy): This.
35828 (memcpy): Provide GLIBC_2_14 memcpy.
35829 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35830 (memcpy): Provide GLIBC_2_2_5 memcpy.
35832 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35835 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35837 2011-03-30 Andreas Schwab <schwab@redhat.com>
35839 * misc/syncfs.c: New file.
35840 * misc/Makefile (routines): Add syncfs.
35841 * posix/unistd.h: Declare syncfs.
35842 * sysdeps/unix/syscalls.list: Add syncfs.
35844 2011-04-01 Andreas Schwab <schwab@redhat.com>
35846 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35849 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35851 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35853 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35856 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35860 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35866 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35867 sync_file_range.c with -fexceptions.
35868 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35869 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35870 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35871 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35872 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35873 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35874 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35875 sync_file_range as cancellation point
35876 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35877 now a wrapper around __call_sync_file_range with cancellation handling.
35878 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35879 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35880 function name to __call_sync_file_range.
35881 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35882 Add call_sync_file_range.
35884 2011-04-01 Andreas Schwab <schwab@redhat.com>
35886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35889 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35891 * iconv/iconv.h: Fix typo in comment.
35892 * io/fcntl.h: Likewise.
35893 * libio/stdio.h: Likewise.
35894 * posix/spawn.h: Likewise.
35895 * posix/unistd.h: Likewise.
35896 * stdlib/stdlib.h: Likewise.
35897 * time/time.h: Likewise.
35898 * wcsmbs/wchar.h: Likewise.
35900 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35901 open_by_handle): Add.
35902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35903 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35904 Augment a few comments.
35905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35910 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35913 * io/fcntl.h (AT_EMPTY_PATH): Define.
35915 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35917 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35918 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35919 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35921 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35922 * Versions.def: Add GLIBC_2.14.
35923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35926 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35928 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35930 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35932 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35935 * string/test-strncmp.c (do_page_test): New function.
35936 (check2): Likewise.
35937 (test_main): Call check2.
35938 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35940 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35944 Handle cache information in CPU leaf 4.
35945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35947 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35950 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35951 character representation.
35952 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35954 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35956 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35957 END(__isnan) to END(__isnanf) to match function entry point/label
35958 EALIGN(__isnanf,...).
35960 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35962 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35964 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35967 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35968 copy from the symbol referenced in the relocation to initialize the
35970 Patch by Piotr Bury <pbury@goahead.com>.
35971 * elf/Makefile: Add rules to build and tst-unique3.
35972 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35973 * elf/tst-unique3.cc: New file.
35974 * elf/tst-unique3.h: New file.
35975 * elf/tst-unique3lib.cc: New file.
35976 * elf/tst-unique3lib2.cc: New file.
35978 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35980 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35982 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35983 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35986 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35988 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35989 to-be-loaded object along a path to loader is ld.so.
35991 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35992 Ulrich Drepper <drepper@gmail.com>
35994 * sysdeps/x86_64/memset.S: After aligning destination, code
35995 branches to different locations depending on the value of
35996 misalignment, when multiarch is enabled. Fix this.
35998 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36000 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36001 Set _x86_64_preferred_memory_instruction for AMD processsors.
36002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36003 Set bit_Prefer_SSE_for_memop for AMD processors.
36005 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36007 * libio/fmemopen.c (fmemopen): Optimize a bit.
36009 2011-03-03 Andreas Schwab <schwab@redhat.com>
36011 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36013 2011-03-03 Roland McGrath <roland@redhat.com>
36015 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36017 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36019 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36020 __bzero_ultra1 instead of __memset_ultra1.
36022 2011-02-23 Andreas Schwab <schwab@redhat.com>
36023 Ulrich Drepper <drepper@gmail.com>
36026 * include/link.h (struct link_map): Add l_orig_initfini.
36027 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36028 returning unsuccessfully.
36029 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36030 close of a file loaded at startup, restore the original l_initfini
36032 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36033 list, store the pointer.
36034 * elf/Makefile ($(objpfx)noload-mem): New rule.
36035 (noload-ENV): Define.
36036 (tests): Add $(objpfx)noload-mem.
36037 * elf/noload.c: Include <memcheck.h>.
36038 (main): Call mtrace. Close all opened handles.
36040 2011-02-17 Andreas Schwab <schwab@redhat.com>
36043 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36044 dependencies are missing.
36046 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36048 Fix __if_freereq crash: Unlike the generic version which uses free,
36050 * sysdeps/mach/hurd/ifreq.h: New file.
36052 2011-01-27 Petr Baudis <pasky@suse.cz>
36053 Ulrich Drepper <drepper@gmail.com>
36056 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36057 to extend_alloca().
36058 * stdio-common/bug23.c: New file.
36059 * stdio-common/Makefile (tests): Add bug23.
36061 2010-09-28 Andreas Schwab <schwab@redhat.com>
36062 Ulrich Drepper <drepper@gmail.com>
36065 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36066 before performing relro protection. At old place add assertion
36067 to make sure nothing changed.
36069 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36070 Glauber de Oliveira Costa <glommer@gmail.com>
36072 * elf/elf.h: Add new ARM TLS relocs.
36074 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36077 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36079 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36081 * sysdeps/wordsize-64/tst-writev.c: New file.
36083 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36085 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36086 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36087 insns in _dl_start to prevent a TOC reference before relocs are
36090 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36093 * Makeconfig: Remove RANLIB definition.
36094 * Makerules: Don't use RANLIB.
36095 * aclocal.m4: Remove ranlib test.
36096 * configure.in: No need to check for ranlib.
36097 * elf/rtld-Rules: Don't use RANLIB.
36099 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36101 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36103 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36104 inclusion protection macro.
36106 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36107 SIGRTMIN and SIGRTMAX and print information in that case only when
36108 SIGRTMIN is defined.
36110 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36112 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36113 arginfo fn returning -1.
36115 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36116 and thousands string is zero terminated.
36118 2011-02-03 Andreas Schwab <schwab@redhat.com>
36120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36121 sysdeps/unix/sysv/linux/bits/socket.h.
36123 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36125 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36126 (__CPU_COUNT): Remove old macros.
36127 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36128 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36129 (__CPU_ALLOC, __CPU_FREE): Add macros.
36130 (__sched_cpualloc, __sched_cpufree): Add declarations.
36132 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36134 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36135 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36136 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36137 (readdhstai): Return value of addhstaiX call.
36138 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36139 (addgrbyX): Return value returned by cache_addgr.
36140 (readdgrbyname): Return value returned by addgrbyX.
36141 (readdgrbygid): Likewise.
36142 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36143 (addpwbyX): Return value returned by cache_addpw.
36144 (readdpwbyname): Return value returned by addhstbyX.
36145 (readdpwbyuid): Likewise.
36146 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36147 (addservbyX): Return value returned by cache_addserv.
36148 (readdservbyname): Return value returned by addservbyX:
36149 (readdservbyport): Likewise.
36150 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36151 (addhstbyX): Return value returned by cache_addhst.
36152 (readdhstbyname): Return value returned by addhstbyX.
36153 (readdhstbyaddr): Likewise.
36154 (readdhstbynamev6): Likewise.
36155 (readdhstbyaddrv6): Likewise.
36156 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36157 (readdinitgroups): Return value returned by addinitgroupsX.
36158 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36159 (prune_cache): Keep track of timeout value of re-added entries.
36160 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36161 * nscd/nscd.h: Adjust prototypes of readd* functions.
36163 2011-02-04 Roland McGrath <roland@redhat.com>
36165 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36166 (nis_stats): Likewise.
36167 * nis/nis_modify.c (nis_modify): Likewise.
36168 * nis/nis_remove.c (nis_remove): Likewise.
36169 * nis/nis_add.c (nis_add): Likewise.
36171 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36173 * posix/fnmatch_loop.c: Add some consts.
36175 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36177 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36180 * config.make.in (config-cflags-novzeroupper): Define.
36181 * configure.in: Substitute libc_cv_cc_novzeroupper.
36182 * elf/Makefile (AVX-CFLAGS): Define.
36183 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36184 (CFLAGS-tst-auditmod4a.c): Likewise.
36185 (CFLAGS-tst-auditmod4b.c): Likewise.
36186 (CFLAGS-tst-auditmod6b.c): Likewise.
36187 (CFLAGS-tst-auditmod6c.c): Likewise.
36188 (CFLAGS-tst-auditmod7b.c): Likewise.
36189 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36191 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36193 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36194 function to the callback.
36195 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36197 2011-02-02 Andreas Schwab <schwab@redhat.com>
36199 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36202 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36205 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36207 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36209 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36212 * elf/Makefile: Add rules to build and run new test.
36213 * elf/tst-initorder.c: New file.
36214 * elf/tst-initorder.exp: New file.
36215 * elf/tst-initordera1.c: New file.
36216 * elf/tst-initordera2.c: New file.
36217 * elf/tst-initordera3.c: New file.
36218 * elf/tst-initordera4.c: New file.
36219 * elf/tst-initorderb1.c: New file.
36220 * elf/tst-initorderb2.c: New file.
36221 * elf/tst-order-a1.c: New file.
36222 * elf/tst-order-a2.c: New file.
36223 * elf/tst-order-a3.c: New file.
36224 * elf/tst-order-a4.c: New file.
36225 * elf/tst-order-b1.c: New file.
36226 * elf/tst-order-b2.c: New file.
36227 * elf/tst-order-main.c: New file.
36228 New test case by George Gensure <werkt0@gmail.com>.
36230 2010-10-01 Andreas Schwab <schwab@redhat.com>
36232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36233 decoding ACE if AI_CANONIDN.
36235 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36237 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36239 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36241 * version.h (RELEASE): Bump for 2.13 release.
36242 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36244 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36248 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36249 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36251 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36252 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36253 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36255 * posix/getconf.c: Update copyright year.
36256 * catgets/gencat.c: Likewise.
36257 * csu/version.c: Likewise.
36258 * debug/catchsegv.sh: Likewise.
36259 * debug/xtrace.sh: Likewise.
36260 * elf/ldconfig.c: Likewise.
36261 * elf/ldd.bash.in: Likewise.
36262 * elf/sprof.c (print_version): Likewise.
36263 * iconv/iconv_prog.c: Likewise.
36264 * iconv/iconvconfig.c: Likewise.
36265 * locale/programs/locale.c: Likewise.
36266 * locale/programs/localedef.c: Likewise.
36267 * malloc/memusage.sh: Likewise.
36268 * malloc/mtrace.pl: Likewise.
36269 * nscd/nscd.c (print_version): Likewise.
36270 * nss/getent.c: Likewise.
36272 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36273 PF_CAIF, and PF_ALG.
36274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36276 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36278 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36279 (modules-names): Use them.
36280 (ifunc-test-modules, ifunc-pie-tests): Define.
36281 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36282 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36283 (test-extras): Likewise.
36284 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36285 $(compile-command.c).
36286 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36287 (all-built-dso): Define.
36288 (check-textrel.out, check-execstack.out): Depend on it.
36290 * configure.in: Don't override --enable-multi-arch.
36292 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36295 * nscd/hstcache.c (tryagain): Define.
36296 (cache_addhst): Return tryagain not notfound for temporary errors.
36297 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36300 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36303 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36304 to make the syscall.
36305 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36308 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36309 and fall back to matching as normal character if the string ends before
36310 the matching ']' is found. This is what POSIX requires.
36311 * posix/testfnm.c: Adjust test result.
36312 * posix/globtest.sh: Adjust test result. Add new test.
36313 * posix/tst-fnmatch.input: Likewise.
36314 * posix/tst-fnmatch2.c: Add new test.
36316 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36318 * elf/Makefile (check-execstack): Revert last change. Depend on
36320 (check-execstack.h): New target.
36321 (generated): Add check-execstack.h.
36322 * elf/check-execstack.c: Include "check-execstack.h".
36323 (main): Revert last change.
36324 (handle_file): Return zero if GNU_STACK is absent and
36325 DEFAULT_STACK_PERMS doesn't include PF_X.
36327 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36329 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36330 in child fails because the descriptor is already closed.
36331 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36332 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36333 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36336 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36340 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36341 temporary buffer used to handle multi lookups locally.
36342 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36344 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36346 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36349 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36351 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36352 alignment for SSE2.
36354 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36357 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36358 characters. When rounding increased number of integer digits recompute
36360 * stdio-common/tst-grouping.c: New file.
36361 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36363 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36365 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36366 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36368 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36370 * bits/select.h: Likewise.
36372 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36374 * po/ja.po: Update from translation team.
36376 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36379 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36380 implementation just like for lxstat, fxstatat, et al.
36382 2010-12-27 Jim Meyering <meyering@redhat.com>
36385 * posix/regexec.c (build_trtable): Return failure indication upon
36386 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36388 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36391 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36392 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36393 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36394 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36397 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36400 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36401 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36403 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36405 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36406 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36407 script has SORT_BY_INIT_PRIORITY.
36408 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36409 NO_CTORS_DTORS_SECTIONS is defined.
36410 * elf/soinit.c: Likewise.
36411 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36412 NO_CTORS_DTORS_SECTIONS is defined.
36413 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36414 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36415 * sysdeps/sh/init-first.c: Likewise.
36416 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36418 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36420 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36421 always use the slow path.
36423 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36425 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36426 similar rule which adds the sysdep directories to the header search in
36427 order to pick up the correct platform stackinfo.h.
36428 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36429 perform test if it is, otherwise return successfully without testing.
36430 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36431 DEFAULT_STACK_PERMS define in stackinfo.h.
36432 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36433 defined in stackinfo.h.
36434 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36435 DEFAULT_STACK_PERMS defined in stackinfo.h.
36436 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36437 * sysdeps/ia64/stackinfo.h: Likewise.
36438 * sysdeps/s390/stackinfo.h: Likewise.
36439 * sysdeps/sh/stackinfo.h: Likewise.
36440 * sysdeps/sparc/stackinfo.h: Likewise.
36441 * sysdeps/x86_64/stackinfo.h: Likewise.
36442 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36443 PF_X for powerpc64. Retain PF_X for powerpc32.
36445 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36447 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36449 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36450 GETDENTS_64BIT_ALIGNED.
36452 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36454 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36456 2010-12-10 Andreas Schwab <schwab@redhat.com>
36458 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36462 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36464 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36465 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36467 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36470 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36473 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36475 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36477 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36479 * po/it.po: Update from translation team.
36481 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36486 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36488 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36490 2010-11-24 Andreas Schwab <schwab@redhat.com>
36492 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36494 (gaih_getanswer_slice): Likewise.
36496 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36500 2010-05-31 Petr Baudis <pasky@suse.cz>
36503 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36504 silently even in the chroot mode.
36506 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36509 last patch a bit. Pretty printing
36511 2010-05-31 Petr Baudis <pasky@suse.cz>
36514 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36515 initialization of skip_initgroups_dyn.
36517 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36519 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36522 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36524 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36526 2010-11-11 Andreas Schwab <schwab@redhat.com>
36528 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36529 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36530 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36531 ($(objpfx)tst-fnmatch-mem): New rule.
36532 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36533 * posix/tst-fnmatch.c (main): Call mtrace.
36535 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36538 Support Intel processor model 6 and model 0x2c.
36540 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36545 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36548 * string/test-strncasecmp.c (check_result): New function.
36549 (do_one_test): Use it.
36550 (check1): New function.
36551 (test_main): Use it.
36552 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36553 Support strcasecmp and strncasecmp.
36555 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36558 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36561 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36563 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36567 * sysdeps/x86_64/multiarch/bzero.S: New file.
36568 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36569 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36570 * sysdeps/x86_64/multiarch/memset.S: New file.
36571 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36573 Set bit_Prefer_SSE_for_memop for Intel processors.
36574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36576 (index_Prefer_SSE_for_memop): Define.
36577 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36579 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36581 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36582 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36584 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36587 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36588 (__x86_64_raw_data_cache_size_half): Likewise.
36589 (__x86_64_raw_shared_cache_size): Likewise.
36590 (__x86_64_raw_shared_cache_size_half): Likewise.
36592 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36593 (__x86_64_raw_data_cache_size_half): Likewise.
36594 (__x86_64_raw_shared_cache_size): Likewise.
36595 (__x86_64_raw_shared_cache_size_half): Likewise.
36596 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36597 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36598 and __x86_64_raw_shared_cache_size_half. Round
36599 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36600 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36601 to multiple of 256 bytes.
36603 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36606 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36607 of inacessible symlinks. Verify result of symlink before returning it.
36608 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36609 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36611 2010-10-28 Erich Ritz <erichritz@gmail.com>
36613 * math/math.h (isinf): Fix typo in comment.
36615 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36617 * po/da.po: Update from translation team.
36619 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36621 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36622 is added to the list.
36624 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36625 Ulrich Drepper <drepper@gmail.com>
36627 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36628 the global list here. Move code to...
36629 (_dl_add_to_namespace_list): ...here. New function.
36630 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36631 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36632 * elf/dl-load.c (lose): Don't remove the element from the list.
36633 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36634 (_dl_map_object): Likewise.
36636 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36639 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36640 into all bytes of SSE register.
36641 Patch by Richard Li <richardpku@gmail.com>.
36643 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36646 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36649 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36651 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36652 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36653 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36659 2010-10-22 Andreas Schwab <schwab@redhat.com>
36661 * include/dlfcn.h (__RTLD_SECURE): Define.
36662 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36663 mode & __RTLD_SECURE instead.
36664 (open_path): Rename preloaded parameter to secure.
36665 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36666 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36667 * elf/dl-deps.c (openaux): Likewise.
36668 * elf/rtld.c (struct map_args): Remove is_preloaded.
36669 (map_doit): Don't use it.
36670 (dl_main): Likewise.
36671 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36672 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36674 2010-09-09 Andreas Schwab <schwab@redhat.com>
36676 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36677 (sysd-rules-targets): Remove duplicates.
36678 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36679 rtld-%.$o dependency.
36681 2010-10-18 Andreas Schwab <schwab@redhat.com>
36683 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36684 _dl_map_object do it.
36686 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36688 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36689 fast fma builtins, define the macros in the C99 standard.
36690 (FP_FAST_FMAF): Likewise.
36691 (FP_FAST_FMAL): Likewise.
36692 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36694 * bits/mathdef.h: Update copyright year.
36695 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36697 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36699 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36700 builtins, define the macros in the C99 standard.
36701 (FP_FAST_FMAF): Likewise.
36702 (FP_FAST_FMAL): Likewise.
36703 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36705 (FP_FAST_FMAF): Likewise.
36707 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36710 * math/libm-test.inc (fma_test): Some new testcases.
36711 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36713 y and infinite z. Do multiplication by C already in long double.
36714 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36716 y and infinite z. Do bitwise or of inexact bit into u.d.
36717 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36718 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36719 * sysdeps/i386/fpu/s_fma.S: Removed.
36720 * sysdeps/i386/fpu/s_fmal.S: Removed.
36722 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36725 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36727 computation is not scheduled after fetestexcept. Fix value
36728 of minimum denormal long double.
36730 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36733 * math/libm-test.inc (fma_test): Add some more tests.
36734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36737 2010-10-15 Andreas Schwab <schwab@redhat.com>
36739 * scripts/data/localplt-s390-linux-gnu.data: New file.
36740 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36742 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36745 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36746 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36748 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36750 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36752 if one of x and y is very large and the other is subnormal.
36753 * sysdeps/s390/fpu/s_fmaf.c: New file.
36754 * sysdeps/s390/fpu/s_fma.c: New file.
36755 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36756 * sysdeps/powerpc/fpu/s_fma.S: New file.
36757 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36758 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36759 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36761 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36764 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36767 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36768 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36769 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36770 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36771 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36772 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36774 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36777 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36778 * posix/bug-regex31.input: Add test case.
36780 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36782 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36783 * posix/bug-regex31.input: New file.
36786 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36787 (parse_sub_exp): Fix last change, use postorder.
36789 * posix/bug-regex31.c: New file.
36790 * posix/Makefile: Add rules to build and run bug-regex31.
36792 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36795 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36798 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36799 to have entries in sys_siglist.
36802 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36805 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36808 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36809 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36810 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36811 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36812 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36813 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36814 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36815 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36816 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36817 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36818 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36819 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36820 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36821 * math/ftestexcept.c (fetestexcept): Likewise.
36822 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36823 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36824 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36825 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36826 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36827 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36828 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36830 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36833 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36836 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36838 * string/bug-strstr1.c: New file.
36839 * string/Makefile: Add rules to build and run bug-strstr1.
36841 2010-10-05 Eric Blake <eblake@redhat.com>
36844 * string/str-two-way.h (two_way_long_needle): Always clear memory
36845 when skipping input due to the shift table.
36847 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36850 * malloc/mcheck.c: Handle large requests.
36853 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36854 for strncmp and strncasecmp.
36855 * string/stratcliff.c: Add tests for strcmp and strncmp.
36856 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36858 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36860 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36863 2010-09-30 Andreas Jaeger <aj@suse.de>
36865 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36866 (CGROUP_SUPER_MAGIC): Define.
36867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36868 Handle btrfs and cgroup file systems.
36869 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36872 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36874 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36875 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36877 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36880 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36881 trying to locate the ELF header.
36883 2010-09-27 Andreas Schwab <schwab@redhat.com>
36886 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36887 Mask out sign-bit copies when constructing f_fsid.
36889 2010-09-24 Petr Baudis <pasky@suse.cz>
36891 * debug/stack_chk_fail_local.c: Add missing licence exception.
36892 * debug/warning-nop.c: Likewise.
36894 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36897 implementing getdents64 using getdents syscall, set d_type if
36898 __ASSUME_GETDENTS32_D_TYPE.
36900 2010-09-16 Andreas Schwab <schwab@redhat.com>
36902 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36903 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36905 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36908 * posix/unistd.h: Undo change of feature selection for ftruncate from
36911 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36913 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36916 2010-09-20 Andreas Schwab <schwab@redhat.com>
36918 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36920 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36922 2010-09-14 Andreas Schwab <schwab@redhat.com>
36924 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36925 variables after CHECK_SP call.
36926 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36928 2010-09-13 Andreas Schwab <schwab@redhat.com>
36929 Ulrich Drepper <drepper@redhat.com>
36931 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36932 re-relocationg ld.so.
36933 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36934 _dl_init_paths call.
36935 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36938 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36940 * resolv/res_init.c (__res_vinit): Count the default server we added.
36942 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36943 Ulrich Drepper <drepper@redhat.com>
36946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36947 (____longjmp_chk): Use %ebx for saving value across system call.
36950 2010-09-06 Andreas Schwab <schwab@redhat.com>
36952 * manual/Makefile: Don't mix pattern rules with normal rules.
36954 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36956 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36958 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36959 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36960 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36961 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36965 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36968 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36969 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36971 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36973 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36974 * sysdeps/x86_64/addmul_1.S: Likewise.
36975 * sysdeps/x86_64/lshift.S: Likewise.
36976 * sysdeps/x86_64/mul_1.S: Likewise.
36977 * sysdeps/x86_64/rshift.S: Likewise.
36978 * sysdeps/x86_64/sub_n.S: Likewise.
36979 * sysdeps/x86_64/submul_1.S: Likewise.
36981 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36983 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36984 Define __sched_param instead of SCHED_* and sched_param when
36985 <bits/sched.h> is included with __need_schedparam defined.
36986 * bits/sched.h [__need_schedparam]
36987 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36988 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36989 (__defined_schedparam): Define to 1.
36990 (__sched_param): New structure, identical to sched_param.
36991 (__need_schedparam): Undefine.
36993 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36996 (epoll_create1): Declare.
36998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37000 2010-08-31 Andreas Schwab <schwab@redhat.com>
37003 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37004 shifting retval into place.
37006 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37008 * nis/rpcsvc/nis.h: Update copyright notice.
37009 * nis/rpcsvc/nis.x: Likewise.
37010 * nis/rpcsvc/nis_callback.h: Likewise.
37011 * nis/rpcsvc/nis_callback.x: Likewise.
37012 * nis/rpcsvc/nis_object.x: Likewise.
37013 * nis/rpcsvc/nis_tags.h: Likewise.
37014 * nis/rpcsvc/yp.h: Likewise.
37015 * nis/rpcsvc/yp.x: Likewise.
37016 * nis/rpcsvc/ypupd.h: Likewise.
37017 * nis/yp_xdr.c: Likewise.
37018 * nis/ypupdate_xdr.c: Likewise.
37020 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37021 mainly the body of pmap_getport. Add parameters to specify timeouts.
37022 (pmap_getport): Use __libc_rpc_getport.
37023 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37024 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37025 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37027 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37032 2010-08-27 Roland McGrath <roland@redhat.com>
37034 * sysdeps/i386/i686/multiarch/Makefile
37035 (CFLAGS-varshift.c): New variable.
37037 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37039 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37040 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37044 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37046 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37048 * sysdeps/x86_64/strlen.S: Unroll the loop.
37049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37050 strlen-sse2 strlen-sse2-bsf.
37051 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37052 __strlen_no_bsf if bit_Slow_BSF is set.
37053 (__strlen_sse42): Removed.
37054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37055 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37057 2010-08-25 Roland McGrath <roland@redhat.com>
37059 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37060 * sysdeps/x86_64/multiarch/varshift.c: New file.
37061 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37062 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37063 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37064 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37066 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37069 strlen-sse2 strlen-sse2-bsf.
37070 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37071 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37072 (__strlen_sse2): Removed.
37073 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37076 bit_Slow_BSF for Atom.
37077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37078 (index_Slow_BSF): Define.
37079 (HAS_SLOW_BSF): Define.
37081 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37084 * resolv/res_init.c (__res_vinit): When no server address at all
37085 is given default to loopback.
37087 2010-08-24 Roland McGrath <roland@redhat.com>
37089 * configure.in: Remove config-name.h generation.
37090 * configure: Regenerated.
37091 * config-name.in: File removed.
37092 * scripts/config-uname.sh: New file.
37093 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37094 ($(objdir)config-name.h): New target.
37096 * sunrpc/rpc_parse.h: Avoid nested comment.
37098 2010-08-24 Richard Henderson <rth@redhat.com>
37099 Ulrich Drepper <drepper@redhat.com>
37100 H.J. Lu <hongjiu.lu@intel.com>
37102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37104 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37105 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37106 _mm_alignr_epi8 with _mm_loadu_si128.
37107 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37108 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37109 (__m128i_shift_right): Removed.
37110 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37111 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37112 * sysdeps/x86_64/multiarch/varshift.h: New file.
37113 * sysdeps/x86_64/multiarch/varshift.S: New file.
37115 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37117 * configure.in: Move assembler checks to before sysdep dir checking.
37119 2010-08-20 Petr Baudis <pasky@suse.cz>
37121 * LICENSES: Sync the sunrpc license.
37123 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37125 * sunrpc/auth_des.c: Update copyright notice once again.
37126 * sunrpc/auth_none.c: Likewise.
37127 * sunrpc/auth_unix.c: Likewise.
37128 * sunrpc/authdes_prot.c: Likewise.
37129 * sunrpc/authuxprot.c: Likewise.
37130 * sunrpc/bindrsvprt.c: Likewise.
37131 * sunrpc/clnt_gen.c: Likewise.
37132 * sunrpc/clnt_perr.c: Likewise.
37133 * sunrpc/clnt_raw.c: Likewise.
37134 * sunrpc/clnt_simp.c: Likewise.
37135 * sunrpc/clnt_tcp.c: Likewise.
37136 * sunrpc/clnt_udp.c: Likewise.
37137 * sunrpc/clnt_unix.c: Likewise.
37138 * sunrpc/des_crypt.c: Likewise.
37139 * sunrpc/des_soft.c: Likewise.
37140 * sunrpc/get_myaddr.c: Likewise.
37141 * sunrpc/getrpcport.c: Likewise.
37142 * sunrpc/key_call.c: Likewise.
37143 * sunrpc/key_prot.c: Likewise.
37144 * sunrpc/openchild.c: Likewise.
37145 * sunrpc/pm_getmaps.c: Likewise.
37146 * sunrpc/pm_getport.c: Likewise.
37147 * sunrpc/pmap_clnt.c: Likewise.
37148 * sunrpc/pmap_prot.c: Likewise.
37149 * sunrpc/pmap_prot2.c: Likewise.
37150 * sunrpc/pmap_rmt.c: Likewise.
37151 * sunrpc/rpc/auth.h: Likewise.
37152 * sunrpc/rpc/auth_unix.h: Likewise.
37153 * sunrpc/rpc/clnt.h: Likewise.
37154 * sunrpc/rpc/des_crypt.h: Likewise.
37155 * sunrpc/rpc/key_prot.h: Likewise.
37156 * sunrpc/rpc/netdb.h: Likewise.
37157 * sunrpc/rpc/pmap_clnt.h: Likewise.
37158 * sunrpc/rpc/pmap_prot.h: Likewise.
37159 * sunrpc/rpc/pmap_rmt.h: Likewise.
37160 * sunrpc/rpc/rpc.h: Likewise.
37161 * sunrpc/rpc/rpc_des.h: Likewise.
37162 * sunrpc/rpc/rpc_msg.h: Likewise.
37163 * sunrpc/rpc/svc.h: Likewise.
37164 * sunrpc/rpc/svc_auth.h: Likewise.
37165 * sunrpc/rpc/types.h: Likewise.
37166 * sunrpc/rpc/xdr.h: Likewise.
37167 * sunrpc/rpc_clntout.c: Likewise.
37168 * sunrpc/rpc_cmsg.c: Likewise.
37169 * sunrpc/rpc_common.c: Likewise.
37170 * sunrpc/rpc_cout.c: Likewise.
37171 * sunrpc/rpc_dtable.c: Likewise.
37172 * sunrpc/rpc_hout.c: Likewise.
37173 * sunrpc/rpc_main.c: Likewise.
37174 * sunrpc/rpc_parse.c: Likewise.
37175 * sunrpc/rpc_parse.h: Likewise.
37176 * sunrpc/rpc_prot.c: Likewise.
37177 * sunrpc/rpc_sample.c: Likewise.
37178 * sunrpc/rpc_scan.c: Likewise.
37179 * sunrpc/rpc_scan.h: Likewise.
37180 * sunrpc/rpc_svcout.c: Likewise.
37181 * sunrpc/rpc_tblout.c: Likewise.
37182 * sunrpc/rpc_util.c: Likewise.
37183 * sunrpc/rpc_util.h: Likewise.
37184 * sunrpc/rpcinfo.c: Likewise.
37185 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37186 * sunrpc/rpcsvc/key_prot.x: Likewise.
37187 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37188 * sunrpc/rpcsvc/mount.x: Likewise.
37189 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37190 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37191 * sunrpc/rpcsvc/rex.x: Likewise.
37192 * sunrpc/rpcsvc/rstat.x: Likewise.
37193 * sunrpc/rpcsvc/rusers.x: Likewise.
37194 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37195 * sunrpc/rpcsvc/spray.x: Likewise.
37196 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37197 * sunrpc/rtime.c: Likewise.
37198 * sunrpc/svc.c: Likewise.
37199 * sunrpc/svc_auth.c: Likewise.
37200 * sunrpc/svc_authux.c: Likewise.
37201 * sunrpc/svc_raw.c: Likewise.
37202 * sunrpc/svc_run.c: Likewise.
37203 * sunrpc/svc_simple.c: Likewise.
37204 * sunrpc/svc_tcp.c: Likewise.
37205 * sunrpc/svc_udp.c: Likewise.
37206 * sunrpc/svc_unix.c: Likewise.
37207 * sunrpc/svcauth_des.c: Likewise.
37208 * sunrpc/xcrypt.c: Likewise.
37209 * sunrpc/xdr.c: Likewise.
37210 * sunrpc/xdr_array.c: Likewise.
37211 * sunrpc/xdr_float.c: Likewise.
37212 * sunrpc/xdr_mem.c: Likewise.
37213 * sunrpc/xdr_rec.c: Likewise.
37214 * sunrpc/xdr_ref.c: Likewise.
37215 * sunrpc/xdr_sizeof.c: Likewise.
37216 * sunrpc/xdr_stdio.c: Likewise.
37218 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37221 2010-08-19 Andreas Schwab <schwab@redhat.com>
37223 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37225 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37227 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37228 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37229 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37230 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37231 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37232 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37233 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37234 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37236 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37237 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37238 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37239 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37240 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37242 2010-07-26 Anton Blanchard <anton@samba.org>
37244 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37245 * malloc/arena.c (heap_trim): Likewise.
37247 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37249 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37252 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37254 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37256 * sysdeps/i386/elf/Makefile: New file.
37258 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37260 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37261 from fanotify_init.
37262 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37265 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37267 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37269 * sysdeps/multiarch/strcmp.S: Likewise.
37271 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37273 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37274 strncase_l-nonascii.
37275 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37276 Add strncase_l-ssse3.
37277 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37278 * sysdeps/x86_64/strcmp.S: Likewise.
37279 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37280 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37281 * sysdeps/x86_64/strncase.S: New file.
37282 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37283 * sysdeps/x86_64/strncase_l.S: New file.
37284 * string/Makefile (strop-tests): Add strncasecmp.
37285 * string/test-strncasecmp.c: New file.
37287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37290 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37291 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37293 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37295 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37297 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37299 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37301 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37303 2010-05-01 Alan Modra <amodra@gmail.com>
37305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37306 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37307 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37308 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37309 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37310 tidying. Don't tail-call __sigjmp_save for static lib.
37311 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37313 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37314 (CALL_MCOUNT): Add eh info, and nop after bl.
37315 (TAIL_CALL_SYSCALL_ERROR): New macro.
37316 (PSEUDO_RET): Use it.
37317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37318 Correct save location of integer regs and cr.
37319 (_dl_profile_resolve): Correct cr save location. Delete nops
37320 after bl when SHARED. Reduce cfi size a little by better
37321 placement of cfi directives.
37322 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37323 make a stack frame. Instead use parm save area as a temp.
37324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37325 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37327 Don't make a stack frame for parent, use parm save area.
37328 Increase child stack frame to 112 bytes. Don't save unused reg,
37329 and adjust reg usage. Set up cfi on error recovery and
37330 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37332 (__makecontext): Add dummy nop after jump to exit.
37333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37334 Use correct parm save area and cr save, reduce stack frame.
37335 Correct cfi for possible PSEUDO_RET frame setup.
37336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37337 Branch to local label emitted by PSEUDO_RET rather than
37340 2010-08-12 Andreas Schwab <schwab@redhat.com>
37343 * locale/programs/locale.c (print_assignment): New function.
37344 (show_locale_vars): Use it.
37346 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37348 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37350 (struct statfs64): Likewise.
37351 (_STATFS_F_FLAGS): Define.
37352 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37353 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37354 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37355 (ST_VALID): Define locally.
37356 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37357 __statvfs_getflags, use the provided value.
37358 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37359 __ASSUME_STATFS_F_FLAGS.
37361 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37363 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37364 Add sys/fanotify.h.
37365 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37366 fanotify_mask for GLIBC_2.13.
37367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37368 fanotify_init and fanotify_mark.
37369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37370 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37372 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37374 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37375 prlimit64 for GLIBC_2.13.
37376 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37382 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37386 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37389 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37390 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37392 * nss/Makefile: Add rules to build and run tst-nss-test1.
37393 * shlib-versions: Add entry for libnss_test1.
37394 * nss/nss_test1.c: New file.
37395 * nss/tst-nss-test1.c: New file.
37397 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37398 (__nss_configure_lookup): Set appropriate entry in
37399 __nss_configure_lookup to true.
37400 * nss/nsswitch.h: Define enum with indeces of databases in
37401 databases and __nss_database_custom arrays. Declare
37402 __nss_database_custom.
37403 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37404 to avoid using nscd when custom rules are installed.
37405 * nss/getXXbyYY_r.c: Likewise.
37406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37408 * nss/nss_files/files-parse.c: Whitespace fixes.
37410 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37413 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37414 * posix/fnmatch_loop.c: Likewise.
37416 2010-07-17 Andi Kleen <ak@linux.intel.com>
37418 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37419 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37420 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37421 * Versions.def [GLIBC_2.13]: Add.
37423 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37426 Also fail if tpwd after pwuid call is NULL.
37428 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37430 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37431 when converting to ms.
37433 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37435 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37436 EOPNOTSUPP errors with ENOTTY.
37437 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37438 EOPNOTSUPP errors with ENOTTY.
37440 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37442 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37443 Add strcasecmp_l-ssse3.
37444 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37446 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37447 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37448 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37450 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37452 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37454 * string/Makefile (strop-tests): Add strcasecmp.
37455 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37456 strcasecmp_l-nonascii.
37457 (gen-as-const-headers): Add locale-defines.sym.
37458 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37459 * sysdeps/x86_64/strcasecmp.S: New file.
37460 * sysdeps/x86_64/strcasecmp_l.S: New file.
37461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37462 * sysdeps/x86_64/locale-defines.sym: New file.
37463 * string/test-strcasecmp.c: New file.
37465 * string/test-strcasestr.c: Test both ends of the range of characters.
37466 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37468 2010-07-29 Roland McGrath <roland@redhat.com>
37471 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37473 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37475 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37478 2010-07-27 Andreas Schwab <schwab@redhat.com>
37480 * manual/memory.texi (Malloc Tunable Parameters): Document
37483 2010-07-26 Roland McGrath <roland@redhat.com>
37486 * configure.in (-fgnu89-inline check): Set and substitute
37487 gnu89_inline, not libc_cv_gnu89_inline.
37488 * configure: Regenerated.
37489 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37491 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37493 * string/test-strnlen.c: New file.
37494 * string/Makefile (strop-tests): Add strnlen.
37495 * string/tester.c (test_strnlen): Add a few more test cases.
37496 * string/tst-strlen.c: Better error reporting.
37498 * sysdeps/x86_64/strnlen.S: New file.
37500 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37502 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37503 lower-latency instructions.
37505 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37507 * string/test-strcasestr.c: New file.
37508 * string/test-strstr.c: New file.
37509 * string/Makefile (strop-tests): Add strstr and strcasestr.
37510 * string/str-two-way.h: Don't undefine MAX.
37511 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37513 2010-07-21 Andreas Schwab <schwab@redhat.com>
37515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37516 strcasestr-nonascii.
37517 (CFLAGS-strcasestr-nonascii.c): Define.
37518 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37519 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37520 Remove unused attribute.
37522 2010-07-20 Roland McGrath <roland@redhat.com>
37524 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37525 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37526 ld.so.cache was broken. With it, there is no way to disable dsocaps
37527 like LD_HWCAP_MASK can disable hwcaps.
37529 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37531 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37533 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37535 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37536 call in strcasestr.
37537 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37538 __strcasestr_sse42_nonascii.
37539 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37540 strcasestr-nonascii.c.
37541 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37543 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37550 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37552 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37555 2010-07-06 Andreas Schwab <schwab@redhat.com>
37558 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37561 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37564 _PC_PIPE_BUF using F_GETPIPE_SZ.
37566 2010-07-05 Roland McGrath <roland@redhat.com>
37568 * manual/arith.texi (Rounding Functions): Fix rint description
37569 implicit in round description.
37571 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37573 * elf/Makefile: Fix linking for a few tests to make recent linker
37576 2010-06-30 Andreas Schwab <schwab@redhat.com>
37578 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37579 $(common-objpfx)libc_nonshared.a.
37581 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37583 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37584 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37585 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37586 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37587 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37588 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37589 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37590 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37605 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37606 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37607 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37608 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37609 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37610 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37611 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37612 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37613 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37614 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37615 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37616 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37632 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37634 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37635 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37636 * string/memmove.c (memmove): Renamed to ...
37637 (MEMMOVE): ...this. Default to memmove.
37638 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37639 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37642 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37643 mempcpy-ssse3-back memmove-ssse3-back.
37644 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37647 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37648 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37649 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37650 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37651 * sysdeps/x86_64/multiarch/memmove.c: New file.
37652 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37653 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37654 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37655 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37656 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37659 (index_Fast_Copy_Backward): Define.
37660 (HAS_ARCH_FEATURE): Define.
37661 (HAS_FAST_REP_STRING): Define.
37662 (HAS_FAST_COPY_BACKWARD): Define.
37664 2010-06-21 Andreas Schwab <schwab@redhat.com>
37666 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37667 Restore proper fallback handling.
37669 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37672 * posix/group_member.c (__group_member): Correct checking loop.
37674 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37675 OOM in getpwuid_r correctly. Return error number when the caller
37676 should return, otherwise -1.
37677 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37678 call returning > 0 value.
37679 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37681 2010-06-07 Andreas Schwab <schwab@redhat.com>
37683 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37684 libc_nonshared.a from targets in modules-names.
37686 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37688 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37691 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37693 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37694 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37698 2010-06-02 Andreas Schwab <schwab@redhat.com>
37700 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37702 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37713 2010-06-14 Roland McGrath <roland@redhat.com>
37715 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37717 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37719 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37720 __REDIRECT followed by __THROW.
37721 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37722 * posix/getopt.h (getopt): Likewise.
37724 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37726 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37727 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37728 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37730 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37731 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37733 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37735 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37737 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37741 Properly check family and model.
37743 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37745 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37747 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37749 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37751 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37753 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37756 2010-05-19 Andreas Schwab <schwab@redhat.com>
37758 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37761 2010-05-21 Andreas Schwab <schwab@redhat.com>
37763 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37764 and internal_recvmmsg.
37765 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37766 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37767 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37768 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37770 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37771 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37772 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37774 2010-05-20 Andreas Schwab <schwab@redhat.com>
37776 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37778 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37780 POWER7 optimizations.
37781 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37782 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37784 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37786 * version.h: Update for 2.13 development version.
37788 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37790 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37791 exceptions. Return 0.
37793 2010-05-07 Roland McGrath <roland@redhat.com>
37795 * elf/ldconfig.c (main): Add a const.
37797 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37799 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37800 (args_options): Add no-idn option.
37801 (ahosts_keys_int): Add idn_flags to ai_flags.
37802 (parse_option): Handle 'i' option to clear idn_flags.
37804 * malloc/malloc.c (_int_free): Possible race in the most recently
37805 added check. Only act on the data if no current modification
37808 See ChangeLog.17 for earlier changes.