1 2013-12-19 Joseph Myers <joseph@codesourcery.com>
3 * math/auto-libm-test-in: Add tests of sincos.
4 * math/auto-libm-test-out: Regenerated.
5 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8 (func_calc_desc): Add mpfr_f_11 union field.
9 (test_functions): Add sincos.
10 (calc_generic_results): Handle mpfr_f_11.
11 * sysdeps/i386/fpu/libm-test-ulps: Update.
12 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14 2013-12-19 Andreas Schwab <schwab@suse.de>
16 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25 * sysdeps/i386/fpu/libm-test-ulps: Update.
26 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
30 round-to-nearest mode when using frndint.
31 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
37 * math/auto-libm-test-out: Regenerated.
38 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39 (TEST_COND_x86): Likewise.
40 (expm1_tonearest_test_data): New array.
41 (expm1_test_tonearest): New function.
42 (expm1_towardzero_test_data): New array.
43 (expm1_test_towardzero): New function.
44 (expm1_downward_test_data): New array.
45 (expm1_test_downward): New function.
46 (expm1_upward_test_data): New array.
47 (expm1_test_upward): New function.
48 (main): Run the new test functions.
49 * sysdeps/i386/fpu/libm-test-ulps: Update.
50 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52 * include/features.h: Update comment documenting feature test
53 macros. Mention _DEFAULT_SOURCE in comment.
54 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
56 _BSD_SOURCE and _SVID_SOURCE.
57 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
59 !_SVID_SOURCE]: Likewise.
60 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
61 (__USE_POSIX_IMPLICITLY): Define.
62 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
63 (_POSIX_SOURCE): Undefine and redefine.
64 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
65 (_POSIX_C_SOURCE): Likewise.
66 * manual/creature.texi (_DEFAULT_SOURCE): Document.
67 (Feature Test Macros): Update documentation of default features.
69 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
71 * benchtests/Makefile: Add bench-strtok.
72 * benchtests/bench-strtok.c: New file: strtok benchtest.
74 2013-12-19 Allan McRae <allan@archlinux.org>
76 * manual/install.texi: Suppress menu for plain text output.
77 * INSTALL: Regenerated.
79 2013-12-18 Andrew Hunter <ahh@google.com>
81 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
82 (__signal_safe_malloc, __signal_safe_free): Likewise.
83 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
84 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
85 (__signal_safe_memalign, __signal_safe_malloc): New function.
86 (__signal_safe_free, __signal_safe_realloc): Likewise.
87 (__signal_safe_calloc): Likewise.
88 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
90 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
92 2013-12-18 Andrew Hunter <ahh@google.com>
94 * elf/Versions (ld): Add _dl_clear_dtv.
95 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
96 * elf/dl-tls.c (_dl_clear_dtv): New function.
97 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
99 2013-12-18 Andrew Hunter <ahh@google.com>
101 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
102 (_dl_unmask_signals): Likewise.
103 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
104 (_dl_unmask_all_signals): Likewise.
105 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
106 (_dl_unmask_all_signals): Likewise.
107 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
108 (_dl_unmask_signals): Likewise.
110 2013-12-18 Brooks Moses <bmoses@google.com>
113 * misc/getauxval.c: Include errno.h.
114 (__getauxval): Set errno to ENOENT if the requested type is not
116 * misc/sys/auxv.h (getauxval): Document that it may set errno;
117 don't declare with __attribute_const__.
118 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
119 * manual/startup.texi: Document that getauxval sets errno.
121 2013-12-18 Joseph Myers <joseph@codesourcery.com>
123 * math/auto-libm-test-in: Add tests of jn and yn.
124 * math/auto-libm-test-out: Regenerated.
125 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
126 (yn_test_data): Likewise.
127 * math/gen-auto-libm-tests.c (func_calc_method): Add value
129 (func_calc_desc): Add mpfr_if_f union field.
130 (FUNC_mpfr_if_f): New macro.
131 (test_functions): Add jn and yn.
132 (calc_generic_results): Assert type of second input for
133 mpfr_ff_f. Handle mpfr_if_f.
134 (output_for_one_input_case): Disable all checking for arguments
135 fitting floating-point types in case of an integer argument.
136 * sysdeps/i386/fpu/libm-test-ulps: Update.
137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
140 Don't expect fegetround reference in libm.so.
142 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
144 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
145 $(config-cflags-nofma).
147 2013-12-18 Joseph Myers <joseph@codesourcery.com>
149 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
150 * math/auto-libm-test-out: Regenerated.
153 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
154 to determine exponent and adjust argument to have exponent of -1.
155 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
157 * math/auto-libm-test-out: Regenerated.
158 * sysdeps/i386/fpu/libm-test-ulps: Update.
159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
161 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
163 * manual/probes.texi: Remove cases when per-thread arenas are
166 2013-12-18 Andreas Schwab <schwab@suse.de>
168 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
169 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
170 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
171 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
172 * sysdeps/i386/i686/multiarch/Makefile: Update.
173 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
175 2013-12-17 Joseph Myers <joseph@codesourcery.com>
177 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
178 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
180 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
182 Support TZ transition times < 00:00:00.
183 This is needed for version-3 tz-format files; it supports time
184 stamps past 2037 for America/Godthab (the only entry in the tz
185 database for which this change is relevant).
186 * manual/time.texi (TZ Variable): Document transition times
187 from -167:59:59 through -00:00:01.
188 * time/tzset.c (tz_rule): Time of day is now signed.
189 (__tzset_parse_tz): Parse negative time of day.
191 Document TZ transition times >= 25:00:00.
192 * manual/time.texi (TZ Variable): Document transition times from
193 25:00:00 through 167:59:59. These are already supported, and this
194 support will help with version-3 tz-format files.
196 * manual/time.texi (TZ Variable): Modernize North America example
197 to reflect current (i.e., 2007-and-later) daylight saving rules.
199 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
201 2013-12-17 Joseph Myers <joseph@codesourcery.com>
203 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
204 * sysdeps/unix/bsd/bits/stat.h: Likewise.
205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
207 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
208 * sysdeps/unix/bsd/bsdstat.h: Likewise.
209 * sysdeps/unix/bsd/clock.c: Likewise.
210 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
211 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
212 * sysdeps/unix/bsd/init-posix.c: Likewise.
213 * sysdeps/unix/bsd/poll.c: Likewise.
214 * sysdeps/unix/bsd/ptsname.c: Likewise.
215 * sysdeps/unix/bsd/seekdir.c: Likewise.
216 * sysdeps/unix/bsd/setegid.c: Likewise.
217 * sysdeps/unix/bsd/seteuid.c: Likewise.
218 * sysdeps/unix/bsd/setgid.c: Likewise.
219 * sysdeps/unix/bsd/setrgid.c: Likewise.
220 * sysdeps/unix/bsd/setruid.c: Likewise.
221 * sysdeps/unix/bsd/setsid.c: Likewise.
222 * sysdeps/unix/bsd/setuid.c: Likewise.
223 * sysdeps/unix/bsd/sigaction.c: Likewise.
224 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
225 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
226 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
227 * sysdeps/unix/bsd/telldir.c: Likewise.
228 * sysdeps/unix/bsd/times.c: Likewise.
229 * sysdeps/unix/bsd/usleep.c: Likewise.
231 * misc/Makefile (install-lib): Remove libbsd-compat.a.
232 ($(objpfx)libbsd-compat.a): Remove rule.
234 * include/features.h (__FAVOR_BSD): Do not define.
235 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
236 features conflicting with POSIX.
237 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
238 (_BSD_SOURCE): Remove description of not being a subset of other
240 * manual/job.texi (getpgrp): Do not document BSD version.
241 (getpgid): Do not document by reference to BSD getpgrp.
242 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
243 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
244 * signal/signal.h [__FAVOR_BSD]: Likewise.
245 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
246 instead of making contents conditional on [__FAVOR_BSD].
247 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
249 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
253 2013-12-17 Joseph Myers <joseph@codesourcery.com>
256 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
257 values below 2**-450, not 2**-500.
258 * math/auto-libm-test-in: Don't allow spurious underflow from
260 * math/auto-libm-test-out: Regenerated.
264 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
265 values of ha and hb and sort them after adjusting subnormal
267 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
269 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
270 values of ea and eb and sort them after adjusting subnormal
272 * math/auto-libm-test-in: Do not expect some hypot tests of
273 subnormals to fail. Add more hypot tests.
274 * math/auto-libm-test-out: Regenerated.
276 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
279 * sysdeps/sh/s_fma.c: New file.
280 * sysdeps/sh/s_fmaf.c: New file.
281 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
283 * sysdeps/sh/Implies: Add sh/soft-fp.
285 2013-12-16 Roland McGrath <roland@hack.frob.com>
287 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
288 level of indirection to members `objname', `errstring', `malloced'.
289 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
290 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
291 it as the __longjmp argument (just pass 1 instead).
292 (_dl_catch_error): Initialize C with argument pointers and address of
293 volatile local ERRCODE rather than copying values out of C at return.
295 2013-12-16 Joseph Myers <joseph@codesourcery.com>
297 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
298 * math/auto-libm-test-out: Regenerated.
299 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
300 (hypot_test_data): Likewise.
301 (pow_test_data): Likewise.
302 (pow_tonearest_test_data): Likewise.
303 * math/gen-auto-libm-tests.c (func_calc_method): Add value
305 (func_calc_desc): Add mpfr_ff_f union field.
306 (FUNC_mpfr_ff_f): New macro.
307 (test_functions): Add atan2, hypot and pow.
308 (special_fill_min): New function.
309 (special_fill_minus_min): Likewise.
310 (special_fill_min_subnorm): Likewise.
311 (special_fill_minus_min_subnorm): Likewise.
312 (special_real_inputs): Add min, -min, min_subnorm and
314 (calc_generic_results): Handle mpfr_ff_f.
315 * sysdeps/i386/fpu/libm-test-ulps: Update.
316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
318 2013-12-16 Will Newton <will.newton@linaro.org>
320 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
321 (Aligned Memory Blocks): Add documentation for aligned_alloc
322 and suggest it as an alternative to posix_memalign.
323 (Hooks for Malloc): Document __memalign_hook is also called
324 for aligned_alloc. (Summary of Malloc): Add summary for
325 aligned alloc. Document __memalign_hook is also called
328 2013-12-16 Will Newton <will.newton@linaro.org>
330 * manual/memory.texi (Malloc Examples): Clarify default
331 alignment documentation. Suggest posix_memalign rather
332 than memalign or valloc.
333 (Aligned Memory Blocks): Remove suggestion to use memalign
334 or valloc. Remove obsolete comment about BSD.
335 Document memalign errno values and mark the function obsolete.
336 Document posix_memalign returned error codes. Mark valloc
337 as obsolete. (Hooks for Malloc): __memalign_hook is also
338 called for posix_memalign and valloc.
339 (Summary of Malloc): Add posix_memalign to function summary.
340 __memalign_hook is also called for posix_memalign and valloc.
342 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
344 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
348 (sloww): Use mynumber union. Expand ternary operator into
350 (cslow): use mynumber union.
352 2013-12-16 Allan McRae <allan@archlinux.org>
354 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
355 * configure: Regenerated.
357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
360 * configure.ac: Added --enable-maintainer-mode. Check for
361 autoconf when enabled.
362 * configure: Regenerated.
364 * nscd/nscd.service: New file.
365 * nscd/nscd.tmpfiles: New file.
367 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
370 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
371 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
372 * sysdeps/x86_64/multiarch/strstr.c: ... here.
373 (strstr): Add __strstr_sse2_unaligned ifunc.
374 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
375 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
376 (strcasestr): Remove __strcasestr_sse42 ifunc.
377 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
378 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
381 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
383 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
384 * sysdeps/sh/bits/fenv.h: ... here.
385 * sysdeps/sh/sh4/fpu/bits: Remove directory.
387 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
389 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
391 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
394 hypotf multiarch implementations.
395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
397 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
398 multiarch hypot for PPC64.
399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
401 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
402 multiarch hypotf for PPC64.
404 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
407 modff multiarch implementations.
408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
411 multiarch modf for PPC64.
412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
415 multiarch modff for PPC64.
417 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
420 and logl multiarch implementations.
421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
424 multiarch logb for PPC64.
425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
428 multiarch logb for PPC64.
429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
432 multiarch logb for PPC64.
434 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
437 isinff multiarch implementation.
438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
442 multiarch isinf for PPC64.
443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
446 multiarch isinff for PPC64.
448 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
451 finitef multiarch implementation.
452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
456 multiarch finite for PPC64.
457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
460 multiarch finitef for PPC64.
462 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
465 lrint multiarch implementation.
466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
470 multiarch llrint for PPC64.
471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
472 multiarch lrint for PPC64.
474 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
477 copysignf multiarch implementation.
478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
483 multiarch copysign for PPC64.
484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
485 multiarch copysignf for PPC64.
487 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
490 multiarch implementation.
491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
499 multiarch llround for PPC64.
500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
501 multiarch trunc for PPC64.
502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
503 multiarch truncf for PPC64.
505 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
508 multiarch implementation.
509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
517 multiarch llround for PPC64.
518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
519 multiarch round for PPC64.
520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
521 multiarch roundf for PPC64.
523 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
526 multiarch implementation.
527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
535 multiarch llround for PPC64.
536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
537 multiarch floor for PPC64.
538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
539 multiarch floorf for PPC64.
541 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
544 multiarch implementation.
545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
553 multiarch llround for PPC64.
554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
555 multiarch ceil for PPC64.
556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
557 multiarch ceilf for PPC64.
559 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
562 multiarch implementation.
563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
570 multiarch llround for PPC64.
571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
572 multiarch lround for PPC64.
574 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
577 multiarch implementation.
578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
585 multiarch isnan for PPC64.
586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
587 multiarch isnanf for PPC64.
589 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
591 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
592 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
593 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
594 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
595 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
598 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
600 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
605 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
608 multiarch implementations.
609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
610 (__libc_ifunc_impl_list): Likewise.
611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
612 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
613 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
614 multiarch stpcpy for PPC64.
616 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
619 multiarch implementations.
620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
621 (__libc_ifunc_impl_list): Likewise.
622 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
623 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
624 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
625 multiarch strcpy for PPC64.
627 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
629 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
630 redefine function name.
631 (_wordcopy_fwd_dest_aligned): Likewise.
632 (_wordcopy_bwd_aligned): Likewise.
633 (_wordcopy_bwd_dest_aligned): Likewise.
634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
635 multiarch implementations.
636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
637 (__libc_ifunc_impl_list): Likewise.
638 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
639 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
640 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
641 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
642 multiarch wcscpy for PPC64.
644 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
647 multiarch implementations.
648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
649 (__libc_ifunc_impl_list): Likewise.
650 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
651 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
652 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
654 multiarch wcscpy for PPC64.
656 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
659 multiarch implementations.
660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
661 (__libc_ifunc_impl_list): Likewise.
662 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
663 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
664 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
665 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
666 multiarch wcsrchr for PPC64.
668 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
671 multiarch implementations.
672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
673 (__libc_ifunc_impl_list): Likewise.
674 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
675 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
676 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
677 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
678 multiarch wcschr for PPC64.
680 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
683 multiarch implementations.
684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
685 (__libc_ifunc_impl_list): Likewise.
686 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
687 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
688 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
689 multiarch strchrnul for PPC64.
691 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
696 (__libc_ifunc_impl_list): Likewise.
697 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
698 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
699 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
700 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
703 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
708 (__libc_ifunc_impl_list): Likewise.
709 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
710 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
711 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
712 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
715 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
718 multiarch implementations.
719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
720 (__libc_ifunc_impl_list): Likewise.
721 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
722 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
723 strncasecmp for PPC64.
724 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
725 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
726 multiarch strncasecmp_l for PPC64.
728 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
731 multiarch implementations.
732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
733 (__libc_ifunc_impl_list): Likewise.
734 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
735 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
736 multiarch strcasecmp for PPC64.
737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
739 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
740 multiarch strcasecmp_l for PPC64.
742 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
747 (__libc_ifunc_impl_list): Likewise.
748 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
749 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
750 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
753 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
758 (__libc_ifunc_impl_list): Likewise.
759 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
760 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
761 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
764 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
769 (__libc_ifunc_impl_list): Likewise.
770 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
771 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
772 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
773 rawmemrchr for PPC64.
775 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
780 (__libc_ifunc_impl_list): Likewise.
781 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
782 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
783 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
786 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
791 (__libc_ifunc_impl_list): Likewise.
792 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
793 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
794 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
797 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
802 (__libc_ifunc_impl_list): Likewise.
803 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
804 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
805 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
808 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
810 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
811 avoid cretion of __bzero symbol.
812 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
814 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
816 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
819 multiarch implementations.
820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
821 (__libc_ifunc_impl_list): Likewise.
822 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
823 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
824 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
825 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
827 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
828 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
829 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
830 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
831 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
833 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
835 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
841 (__libc_ifunc_impl_list): Likewise.
842 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
843 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
844 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
845 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
848 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
851 multiarch for POWER/PPC64.
852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
853 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
854 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
855 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
856 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
857 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
858 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
859 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
860 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
863 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
865 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
866 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
867 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
868 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
869 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
870 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
871 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
872 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
873 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
874 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
875 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
876 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
877 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
878 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
879 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
888 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
890 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
892 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
894 * benchtests/Makefile (bench): Add exp2 and log2.
895 (LDLIBS-bench-exp2): Add -lm.
896 (LDLIBS-bench-log2): Likewise.
897 * benchtests/exp2-inputs: New inputs file.
898 * benchtests/log2-inputs: New inputs file.
899 * benchtests/log-inputs: Add new inputs.
900 * benchtests/tan-inputs: Likewise.
902 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
904 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
906 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
907 csloww1, csloww2): ... from here.
909 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
910 instead of structures.
911 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
912 (POLYNOMIAL): Likewise.
913 (TAYLOR_SLOW): Likewise.
928 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
930 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
931 (__malloc_assert, __libc_realloc, __libc_calloc,
932 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
934 * malloc/hooks.c (realloc_check): Likewise.
936 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
938 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
939 * malloc/arena.c: Remove PER_THREAD conditional.
940 [!PER_THREAD]: Remove code.
941 (ptmalloc_unlock_all2): Likewise.
942 (ptmalloc_init): Likewise.
943 (_int_new_arena): Likewise.
944 (arena_get2): Likewise.
945 * malloc/hooks.c (__malloc_get_state): Likewise.
946 (__malloc_set_state): Likewise.
947 * malloc/malloc.c: Likewise.
948 (struct malloc_state): Likewise.
949 (struct malloc_par): Likewise.
950 (__libc_realloc): Likewise.
951 (__libc_mallopt): Likewise.
953 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
955 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
957 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
959 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
960 macro to a function. Check for zero perturb_byte.
961 (_int_malloc, _int_free): Remove zero perturb_byte checks.
963 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
965 * malloc/malloc.c: (force_reg): Remove.
966 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
967 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
968 force_reg by atomic_forced_read.
969 * malloc/arena.c (ptmalloc_init): Likewise.
970 * malloc/hooks.c (top_check): Likewise.
972 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
976 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
980 2013-12-08 Joseph Myers <joseph@codesourcery.com>
982 * math/auto-libm-test-in: Add tests of lgamma.
983 * math/auto-libm-test-out: Regenerated.
984 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
985 (M_LOG_2_SQRT_PIl): Likewise.
986 (lgamma_test_data): Use AUTO_TESTS_f_f1.
987 * math/gen-auto-libm-tests.c (func_calc_method): Add value
989 (func_calc_desc): Add mpfr_f_f1 union field.
998 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
999 (test_functions): Add lgamma.
1000 (calc_generic_results): Handle mpfr_f_f1.
1001 * sysdeps/i386/fpu/libm-test-ulps: Update.
1002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1004 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1006 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1007 __mpn_add_n for PowerPC64/POWER7.
1008 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1009 __mpn_sub_n for PowerPC64/POWER7.
1011 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1013 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1014 __mpn_addmul_1 for PowerPC64.
1015 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1016 __mpn_submul_1 for PowerPC64.
1017 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1019 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1022 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1025 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1027 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1031 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1033 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1034 add multiarch folders.
1035 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1036 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1037 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1038 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1039 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1040 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1041 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1042 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1043 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1044 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1045 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1053 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1056 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1062 multiarch __ieee754_hypot for PowerPC32.
1063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1068 multiarch __ieee754_hypotf for PowerPC32.
1070 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1073 long_double_symbol only if __logbl is defined.
1074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1075 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1077 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1079 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1080 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1081 path for implementation.
1082 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1083 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1085 logb, and logbl multiarch implementations for PowerPC32.
1086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1091 multiarch logb for PowerPC32.
1092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1097 multiarch logbf for PowerPC32.
1098 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1102 multiarch logbl implementation for PowerPC32.
1104 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1107 and modff multiarch implementations.
1108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1113 multiarch modf for PowerPC32.
1114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1119 multiarch modff for PowerPC32.
1121 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1124 and lrintf multiarch implementations.
1125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1130 multiarch lrint for PowerPC32.
1131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1132 file: multiarch lrintf for PowerPC32.
1134 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1137 and lroundf multiarch implementations.
1138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1145 multiarch lround for PowerPC32.
1146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1147 file: multiarch lroundf for PowerPC32.
1149 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1152 copysign and copysignf multiarch implementations.
1153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1158 file: multiarch copysign for PowerPC32.
1159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1160 file: multiarch copysignf for PowerPC32.
1162 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1165 and truncf multiarch implementations.
1166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1171 multiarch trunc for PowerPC32.
1172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1177 multiarch truncf for PowerPC32.
1179 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1182 and roundf multiarch implementations.
1183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1188 multiarch round for PowerPC32.
1189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1194 multiarch roundf for PowerPC32.
1196 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1199 and floorf multiarch implementations.
1200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1205 multiarch floor for PowerPC32.
1206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1211 multiarch floorf for PowerPC32.
1213 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1216 and ceilf multiarch implementations.
1217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1222 multiarch ceil for PowerPC32.
1223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1228 multiarch ceilf for PowerPC32.
1230 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1234 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1237 and finitef multiarch implementations.
1238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1243 multiarch finite for PowerPC32.
1244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1247 file: multiarch finitef for PowerPC32.
1249 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1252 and isinff multiarch implementations.
1253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1258 multiarch isinf for PowerPC32.
1259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1262 multiarch isinff for PowerPC32.
1264 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1266 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1267 alias when __isnan is defined.
1268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1269 and isnanf multiarch implementations.
1270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1279 multiarch isnan for PowerPC32.
1280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1285 multiarch isnanf for PowerPC32.
1287 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1290 and sqrtf multiarch implementations.
1291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1296 multiarch sqrt for PowerPC32.
1297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1302 multiarch sqrtf for PowerPC32.
1304 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1307 and llroundf multiarch implementations.
1308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1315 file: multiarch llround for PowerPC32.
1316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1317 file: multiarch llroundf for PowerPC32.
1319 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1322 multiarch PowerPC32 fpu implementations.
1323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1328 multiarch llrint for PowerPC32.
1329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1336 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1340 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1344 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1346 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1348 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1349 multiarch wordcopy for PPC32.
1350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1353 (__libc_ifunc_impl_list): Likewise.
1354 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1355 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1356 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1357 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1358 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1359 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1361 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1366 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1368 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1371 multiarch wcscpy for PPC32.
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1375 (__libc_ifunc_impl_list): Likewise.
1376 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1377 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1378 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1379 sysdeps/powerpc/power6/wcscpy.c.
1381 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1391 multiarch wcsrchr for PPC32.
1392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1395 (__libc_ifunc_impl_list): Likewise.
1396 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1397 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1398 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1399 sysdeps/powerpc/power6/wcsrchr.c.
1401 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1403 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1409 multiarch wcschr for PPc32.
1410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1413 (__libc_ifunc_impl_list): Likewise.
1414 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1415 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1416 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1417 sysdeps/powerpc/power6/wcschr.c.
1419 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1422 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1424 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1425 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1426 file: multiarch strchr for PPC32.
1427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1430 (__libc_ifunc_impl_list): Likewise.
1432 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1434 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1436 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1438 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1440 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1441 multiarch strchrnul for PPC32.
1442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1445 (__libc_ifunc_impl_list): Likewise.
1447 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1449 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1451 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1452 multiarch strncasecmp for PPC32.
1453 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1455 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1456 multiarch strncasecmp_l for PPC32.
1457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1458 strncasecmp multiarch objects.
1459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1460 (__libc_ifunc_impl_list): Likewise.
1462 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1466 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1467 multiarch strncasecmp for PPC32.
1468 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1470 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1471 multiarch strcasecmp_l for PPC32.
1472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1475 (__libc_ifunc_impl_list): Likewise.
1477 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1481 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1483 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1484 multiarch strncmp for PPC32.
1485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1488 (__libc_ifunc_impl_list): Likewise.
1490 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1493 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1495 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1496 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1500 (__libc_ifunc_impl_list): Likewise.
1502 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1504 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1506 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1508 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1512 (__libc_ifunc_impl_list): Likewise.
1514 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1516 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1518 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1520 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1521 multiarch rawmemchr for PPC32.
1522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1525 (__libc_ifunc_impl_list): Likewise.
1527 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1529 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1531 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1533 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1534 file: memrchr multiarch for PPC32.
1535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1538 (__libc_ifunc_impl_list): Likewise.
1540 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1542 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1543 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1545 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1546 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1547 multiarch memchr for PPC32.
1548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1551 (__libc_ifunc_impl_list): Likewise.
1553 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1556 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1558 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1560 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1561 file: multiarch mempcpy for PPC32.
1562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1565 (__libc_ifunc_impl_list): Likewise.
1567 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1569 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1570 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1571 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1572 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1573 multiarch bzero for PPC32.
1574 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1576 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1578 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1579 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1580 file: multiarch memset for PPC32.
1581 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1583 memset multiarch objects.
1584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1585 (__libc_ifunc_impl_list): Likewise.
1587 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1592 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1594 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1598 (__libc_ifunc_impl_list): Likewise.
1600 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1603 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1604 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1606 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1611 multiarch memcpy for PPC32.
1612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1615 (__libc_ifunc_impl_list): Likewise.
1617 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1620 support multiarch for POWER/PPC32.
1621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1623 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1625 Implies file to make multiarch folder appers before the fpu and
1626 default folder for power4 configuration.
1628 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1630 * scripts/bench.pl: Append volatile keyword to type.
1632 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1634 * sysdeps/sh/sotruss-lib.c: New file.
1635 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1637 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1641 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1644 * math/w_tgamma.c: Include <errno.h>.
1645 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1646 * math/w_tgammaf.c: Include <errno.h>.
1647 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1648 * math/w_tgammal.c: Include <errno.h>.
1649 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1650 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1651 underflow. Add more tgamma tests.
1652 * math/auto-libm-test-out: Regenerated.
1653 * sysdeps/i386/fpu/libm-test-ulps: Update.
1654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1656 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1657 sin, sinh, tan, tanh, tgamma, y0 and y1.
1658 * math/auto-libm-test-out: Regenerated.
1659 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1660 (TEST_COND_x86): Likewise.
1661 (M_E2l): Remove macro.
1663 (M_2_SQRT_PIl): Likewise.
1664 (M_SQRT_PIl): Likewise.
1665 (M_1_DIV_El): Likewise.
1666 (log_test_data): Use AUTO_TESTS_f_f.
1667 (log10_test_data): Likewise.
1668 (log1p_test_data): Likewise.
1669 (log2_test_data): Likewise.
1670 (sin_test_data): Likewise.
1671 (sin_tonearest_test_data): Likewise.
1672 (sin_towardzero_test_data): Likewise.
1673 (sin_downward_test_data): Likewise.
1674 (sin_upward_test_data): Likewise.
1675 (sinh_test_data): Likewise.
1676 (sinh_tonearest_test_data): Likewise.
1677 (sinh_towardzero_test_data): Likewise.
1678 (sinh_downward_test_data): Likewise.
1679 (sinh_upward_test_data): Likewise.
1680 (tan_test_data): Likewise.
1681 (tan_tonearest_test_data): Likewise.
1682 (tan_towardzero_test_data): Likewise.
1683 (tan_downward_test_data): Likewise.
1684 (tan_upward_test_data): Likewise.
1685 (tanh_test_data): Likewise.
1686 (tgamma_test_data): Likewise.
1687 (y0_test_data): Likewise.
1688 (y1_test_data): Likewise.
1689 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1690 (special_real_inputs): Add pi/4.
1691 * sysdeps/i386/fpu/libm-test-ulps: Update.
1692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1694 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1696 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1697 "longjmp_target" static probes.
1698 (__longjmp): Rename to __longjmp_symbol.
1699 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1700 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1701 on which longjmp to generate.
1702 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1703 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1705 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1706 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1707 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1708 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1709 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1710 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1712 __longjmp_symbol based on which __longjmp to generate.
1713 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1715 (setjmp): Rename to setjmp_symbol.
1716 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1717 (_setjmp): Rename to _setjmp_symbol.
1718 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1719 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1720 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1721 which setjmp to generate.
1722 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1723 "longjmp_target" static probes.
1725 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1727 * benchtests/README: Add note about output arguments.
1728 * benchtests/bench-sincos.c: Remove file.
1729 * benchtests/sincos-inputs: New file.
1730 * scripts/bench.pl: Identify output arguments and define
1731 static variables for them.
1733 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1736 * Makefile (INSTALL): Add install-plain.texi as the primary
1738 * manual/install-plain.texi: New file.
1739 * manual/install.texi: Include node directive only for
1740 non-plaintext output.
1742 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1744 * stdlib/longlong.h: Update from GCC.
1748 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1749 * math/w_j0f.c (y0f): Likewise.
1750 * math/w_j0l.c (__y0l): Likewise.
1751 * math/w_j1.c (y1): Likewise.
1752 * math/w_j1f.c (y1f): Likewise.
1753 * math/w_j1l.c (__y1l): Likewise
1754 * math/w_jn.c (yn): Likewise.
1755 * math/w_jnf.c (ynf): Likewise.
1756 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1757 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1758 value for Bessel function domain errors outside _SVID_ mode.
1759 Adjust sign of return value for yn (negative integer, 0).
1760 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1761 by zero in return for negative x and set sign appropriately for
1763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1764 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1765 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1766 expectations in error cases.
1767 (y1_test_data): Likewise.
1768 (yn_test_data): Likewise.
1769 * sysdeps/i386/fpu/libm-test-ulps: Update.
1770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1772 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1774 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1775 "64" to "64-v1". Add "64-v2".
1776 (abi-64-options): Rename to ...
1777 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1778 (abi-64-condition): Rename to ...
1779 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1780 (abi-64-ld-soname): Rename to ...
1781 (abi-64-v1-ld-soname): ... this.
1782 (abi-64-v2-options): Define.
1783 (abi-64-v2-condition): Likewise.
1784 (abi-64-v2-ld-soname): Likewise.
1785 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1786 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1791 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1792 Alan Modra <amodra@gmail.com>
1794 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1795 New versions for use with the ELFv2 ABI.
1796 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1797 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1799 (struct La_ppc64v2_retval): Likewise.
1800 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1801 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1802 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1803 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1804 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1805 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1806 Do not save or restore CR.
1807 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1808 (_dl_profile_resolve): Do no save or restore CR. Support extended
1809 return values for ELFv2 ABI. Fix location of FPR return registers.
1810 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1811 updated values for _CALL_ELF == 2.
1812 (La_regs, La_retval, int_retval): Likewise.
1814 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1816 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1817 (FRAME_MIN_SIZE_PARM): Likewise.
1818 (FRAME_BACKCHAIN): Likewise.
1819 (FRAME_CR_SAVE): Likewise.
1820 (FRAME_LR_SAVE): Likewise.
1821 (FRAME_TOC_SAVE): Likewise.
1822 (FRAME_PARM_SAVE): Likewise.
1823 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1824 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1825 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1826 (call_mcount_parm_offset): New macro.
1827 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1828 (PROF): Use symbolic stack frame offsets.
1829 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1830 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1831 Redefine in terms of FRAME_MIN_SIZE.
1832 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1833 (_dl_profile_resolve): Likewise. Update comment.
1834 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1835 symbols stack frame offsets.
1836 (__sigsetjmp): Likewise.
1837 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1838 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1839 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1840 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1843 (FRAME_BACKCHAIN): Remove.
1844 (FRAME_CR_SAVE): Likewise.
1845 (FRAME_LR_SAVE): Likewise.
1846 (FRAME_COMPILER_DW): Likewise.
1847 (FRAME_LINKER_DW): Likewise.
1848 (FRAME_TOC_SAVE): Likewise.
1849 (FRAME_PARM_SAVE): Likewise.
1850 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1851 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1852 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1854 (CHECK_SP): Use symbolic stack frame offsets.
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1856 zone" instead of caller's parameter save area for temp storage.
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1858 Likewise. Also, use symbolic stack frame offsets.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1860 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1861 our own stack frame instead of the caller's.
1862 (__socket): Use symbolic stack frame offsets.
1864 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1865 Alan Modra <amodra@gmail.com>
1867 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1869 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1870 PPC64_LOCAL_ENTRY_OFFSET): Define.
1871 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1873 (elf_machine_fixup_plt): Call it.
1874 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1876 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1877 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1878 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1879 r2 before calling target.
1881 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1882 Alan Modra <amodra@gmail.com>
1884 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1885 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1886 versions of macros to support ELFv2 ABI.
1887 (LOCALENTRY): New macro.
1888 (ENTRY, EALIGN): Use it.
1889 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1890 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1891 fall through into ENTRY entry point.
1892 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1893 Only define if _CALL_ELF != 2.
1895 (elf_machine_matches_host): Verify ABI version matches.
1896 (RTLD_START): Use LOCALENTRY.
1897 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1898 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1899 (PLT_ENTRY_WORDS): New macro.
1900 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1901 (elf_machine_runtime_setup): Support ELFv2 ABI.
1902 (elf_machine_fixup_plt): Likewise.
1903 (elf_machine_plt_conflict): Likewise.
1904 (resolve_ifunc): Likewise.
1905 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1906 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1909 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1911 (makecontext): Support ELFv2 ABI.
1912 * elf/elf.h (EF_PPC64_ABI): Define.
1914 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1916 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1917 New assembler macro.
1918 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1919 [ASSEMBLER] (ENTRY): ... but instead here ...
1920 [ASSEMBLER] (EALIGN): ... and here.
1921 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1922 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1923 [!ASSEMBLER] (ENTRY_2): Use it.
1924 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1925 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1926 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1927 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1928 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1930 Use PPC64_LOAD_FUNCPTR.
1932 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1934 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1936 2013-12-04 Alan Modra <amodra@gmail.com>
1938 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1939 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1940 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1941 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1944 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1945 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1946 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1947 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1948 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1950 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1953 (__makecontext): Fix incorrect CFI when backtracing out of
1954 context created via makecontext.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1956 (__setcontext): Fix incorrect CFI during switch to new context.
1957 (__novec_setcontext): Likewise.
1959 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1962 * time/strptime_l.c (__strptime_internal): Allow modifiers
1964 * time/tst-strptime.c (day_tests): Add testcase.
1967 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1969 * scripts/bench.pl: Skip over blank lines.
1971 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1974 * manual/time.texi (Calendar Time): Clarify what timezone functions
1977 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1981 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1983 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1985 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1986 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1987 * debug/memset_chk.c (__memset_chk): Likewise.
1988 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1989 * debug/strncpy_chk.c: Likewise.
1991 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1995 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1996 (__ieee754_exp): For possibly underflowing results, check size of
1997 result and force underflow exception if required.
1998 * math/auto-libm-test-in: Add more tests of exp.
1999 * math/auto-libm-test-out: Regenerated.
2000 * sysdeps/i386/fpu/libm-test-ulps: Update.
2001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2004 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2005 * math/w_exp2f.c (__exp2f): Likewise.
2006 * math/w_exp2l.c (__exp2l): Likewise.
2007 * math/auto-libm-test-in: Do not allow missing errno on exp2
2009 * math/auto-libm-test-out: Regenerated.
2011 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2014 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2015 handle filename validation.
2016 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2019 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2022 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2023 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2024 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2026 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2027 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2028 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2030 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2031 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2032 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2033 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2034 Add more erfc tests.
2035 * math/auto-libm-test-out: Regenerated.
2036 * sysdeps/i386/fpu/libm-test-ulps: Update.
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2039 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2040 exp2, expm1, j0 and j1.
2041 * math/auto-libm-test-out: Regenerated.
2042 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2043 (erfc_test_data): Likewise.
2044 (exp_test_data): Likewise.
2045 (exp_tonearest_test_data): Likewise.
2046 (exp_towardzero_test_data): Likewise.
2047 (exp_downward_test_data): Likewise.
2048 (exp_upward_test_data): Likewise.
2049 (exp10_test_data): Likewise.
2050 (exp2_test_data): Likewise.
2051 (expm1_test_data): Likewise.
2052 (j0_test_data): Likewise.
2053 (j1_test_data): Likewise.
2054 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2055 (input_flag_type): Add flag_xfail_rounding.
2056 (input_flags): Add xfail-rounding.
2057 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2058 (output_for_one_input_case): Handle flag_xfail_rounding.
2059 * sysdeps/i386/fpu/libm-test-ulps: Update.
2060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2062 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2065 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2068 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2071 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2072 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2073 (STAP_PROBE0): New macro.
2074 (STAP_PROBE1): Likewise.
2075 (STAP_PROBE2): Likewise.
2076 (STAP_PROBE3): Likewise.
2077 (STAP_PROBE4): Likewise.
2079 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2081 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2083 2013-12-02 Steve Ellcey <sellcey@mips.com>
2085 * benchtests/Makefile (bench): Add sqrt.
2086 (LDLIBS-bench-sqrt): New.
2087 * benchtests/sqrt-input: New.
2089 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2091 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2092 (GAIH_EAI): Likewise.
2093 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2094 (gaih_inet): Likewise.
2095 (getaddrinfo): Don't use GAIH_EAI.
2097 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2098 (struct gaih): Remove definition.
2100 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2102 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2103 Use HERRNOP directly.
2105 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2109 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2111 * math/gen-auto-libm-tests.c (test_functions): Add more
2112 single-argument functions.
2113 (special_fill_pi_2): New function.
2114 (special_fill_minus_pi_2): Likewise.
2115 (special_fill_pi_6): Likewise.
2116 (special_fill_minus_pi_6): Likewise.
2117 (special_fill_pi_3): Likewise.
2118 (special_fill_2pi_3): Likewise.
2119 (special_fill_e): Likewise.
2120 (special_fill_1_e): Likewise.
2121 (special_fill_e_minus_1): Likewise.
2122 (special_real_inputs): Add more special inputs.
2123 (output_for_one_input_case): Do not require ERANGE on underflow to
2124 zero if round-to-nearest result does not underflow to zero, unless
2125 exact results required.
2126 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2127 atan, atanh, cbrt, cos and cosh.
2128 * math/auto-libm-test-out: Regenerated.
2129 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2130 (acos_tonearest_test_data): Likewise.
2131 (acos_towardzero_test_data): Likewise.
2132 (acos_downward_test_data): Likewise.
2133 (acos_upward_test_data): Likewise.
2134 (acosh_test_data): Likewise.
2135 (asin_test_data): Likewise.
2136 (asin_tonearest_test_data): Likewise.
2137 (asin_towardzero_test_data): Likewise.
2138 (asin_upward_test_data): Likewise.
2139 (asinh_test_data): Likewise.
2140 (atan_test_data): Likewise.
2141 (atanh_test_data): Likewise.
2142 (cbrt_test_data): Likewise.
2143 (cos_test_data): Likewise.
2144 (cos_tonearest_test_data): Likewise.
2145 (cos_towardzero_test_data): Likewise.
2146 (cos_downward_test_data): Likewise.
2147 (cos_upward_test_data): Likewise.
2148 (cosh_test_data): Likewise.
2149 (cosh_tonearest_test_data): Likewise.
2150 (cosh_towardzero_test_data): Likewise.
2151 (cosh_downward_test_data): Likewise.
2152 (cosh_upward_test_data): Likewise.
2153 * sysdeps/i386/fpu/libm-test-ulps: Update.
2154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2156 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2159 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2160 * math/w_exp10f.c (__exp10f): Likewise.
2161 * math/w_exp10l.c (__exp10l): Likewise.
2162 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2163 errno settings in existing tests.
2166 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2167 precision control set to double precision.
2168 * sysdeps/i386/fpu/w_sqrt.c: New file.
2169 * math/auto-libm-test-in: Add more tests.
2170 * math/auto-libm-test-out: Update.
2172 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2173 (sqrt_test_tonearest): New function.
2174 (sqrt_towardzero_test_data): New variable.
2175 (sqrt_test_towardzero): New function.
2176 (sqrt_downward_test_data): New variable.
2177 (sqrt_test_downward): New function.
2178 (sqrt_upward_test_data): New variable.
2179 (sqrt_test_upward): New function.
2180 (main): Call the new functions.
2182 * math/gen-auto-libm-tests.c: New file.
2183 * math/auto-libm-test-in: Likewise.
2184 * math/auto-libm-test-out: New generated file.
2185 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2187 (%beautify): Add generated representations of zero.
2188 (top level): Set $auto_input and call parse_auto_input.
2189 (beautify): Remove trailing "f" from hex float constants.
2190 (parse_args): Handle XFAIL_TEST.
2191 (convert_condition): New function.
2192 (or_value): Likewise.
2193 (or_cond_value): Likewise.
2194 (generate_testfile): Handle AUTO_TESTS_* lines.
2195 (parse_auto_input): New function.
2196 * math/libm-test.inc (XFAIL_TEST): New macro.
2197 (ERRNO_UNCHANGED): Update value.
2198 (ERRNO_EDOM): Likewise.
2199 (ERRNO_ERANGE): Likewise.
2200 (IGNORE_RESULT): Likewise.
2201 (TEST_COND_flt_32): New macro.
2202 (TEST_COND_dbl_64): Likewise.
2203 (TEST_COND_ldbl_96_intel): Likewise.
2204 (TEST_COND_ldbl_96_m68k): Likewise.
2205 (TEST_COND_ldbl_128): Likewise.
2206 (TEST_COND_ldbl_128ibm): Likewise.
2207 (TEST_COND_long32): Likewise.
2208 (TEST_COND_long64): Likewise.
2209 (TEST_COND_before_rounding): Likewise.
2210 (TEST_COND_after_rounding): Likewise.
2211 (enable_test): Handle XFAIL_TEST flag.
2212 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2213 with finite results.
2214 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2217 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2218 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2221 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2222 __tls_get_addr_internal instead of __tls_get_offset in order to
2223 avoid GOT pointer dependency. Make rtld export
2224 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2225 __tls_get_addr since we are a __tls_get_offset platform.
2226 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2227 GOT pointer being set up before.
2228 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2230 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2232 * manual/math.texi (Errors in Math Functions): Document accuracy
2236 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2237 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2240 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2242 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2253 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2254 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2255 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2256 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2257 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2259 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2261 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2263 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2264 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2265 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2266 atomic-feupdateenv and flt-rounds.
2267 * sysdeps/powerpc/nofpu/Versions (libc): Add
2268 __atomic_feholdexcept, __atomic_feclearexcept,
2269 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2270 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2271 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2272 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2273 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2278 * manual/arith.texi (FP Exceptions): Document that exceptions may
2279 not be raised when matherr is used.
2280 (Math Error Reporting): Document overflow in directed rounding
2281 modes. Document that errno may not be set when finite values are
2282 returned on overflow. Document intent to set errno on underflow
2283 only for underflow to zero.
2286 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2287 round-to-nearest then adjust result for other rounding modes.
2288 * include/fenv.h (fegetround): Use libm_hidden_proto.
2289 * math/fegetround.c (fegetround): Use libm_hidden_def.
2290 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2291 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2292 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2293 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2295 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2296 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2297 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2298 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2300 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2303 * nss/Versions (libnss_files): Add
2304 _nss_files_gethostbyname3_r.
2305 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2307 (HOST_DB_LOOKUP): Remove macro.
2308 (_nss_files_gethostbyname_r): Implement function without the
2309 HOST_DB_LOOKUP macro.
2310 (_nss_files_gethostbyname2_r): Likewise.
2312 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2314 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2316 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2318 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2319 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2322 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2324 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2325 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2326 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2327 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2328 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2329 __fe_nomask_env_priv and attribute_hidden.
2330 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2331 (libc_feupdateenv_test_ppc): Likewise.
2332 (libc_feresetround_ppc): Likewise.
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2334 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2335 compat_symbol macro.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2337 (__fe_nomask_env): Likewise.
2338 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2340 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2342 * string/Makefile: Remove ifunc tests.
2343 * string/test-string.h: Define TEST_IFUNC.
2344 * string/test-bcopy-ifunc.c: Remove.
2345 * string/test-bzero-ifunc.c: Likewise.
2346 * string/test-memccpy-ifunc.c: Likewise.
2347 * string/test-memchr-ifunc.c: Likewise.
2348 * string/test-memcmp-ifunc.c: Likewise.
2349 * string/test-memcpy-ifunc.c: Likewise.
2350 * string/test-memmem-ifunc.c: Likewise.
2351 * string/test-memmove-ifunc.c: Likewise.
2352 * string/test-mempcpy-ifunc.c: Likewise.
2353 * string/test-memrchr-ifunc.c: Likewise.
2354 * string/test-memset-ifunc.c: Likewise.
2355 * string/test-rawmemchr-ifunc.c: Likewise.
2356 * string/test-stpcpy-ifunc.c: Likewise.
2357 * string/test-stpncpy-ifunc.c: Likewise.
2358 * string/test-strcasecmp-ifunc.c: Likewise.
2359 * string/test-strcasestr-ifunc.c: Likewise.
2360 * string/test-strcat-ifunc.c: Likewise.
2361 * string/test-strchr-ifunc.c: Likewise.
2362 * string/test-strchrnul-ifunc.c: Likewise.
2363 * string/test-strcmp-ifunc.c: Likewise.
2364 * string/test-strcpy-ifunc.c: Likewise.
2365 * string/test-strcspn-ifunc.c: Likewise.
2366 * string/test-strlen-ifunc.c: Likewise.
2367 * string/test-strncasecmp-ifunc.c: Likewise.
2368 * string/test-strncat-ifunc.c: Likewise.
2369 * string/test-strncmp-ifunc.c: Likewise.
2370 * string/test-strncpy-ifunc.c: Likewise.
2371 * string/test-strnlen-ifunc.c: Likewise.
2372 * string/test-strpbrk-ifunc.c: Likewise.
2373 * string/test-strrchr-ifunc.c: Likewise.
2374 * string/test-strspn-ifunc.c: Likewise.
2375 * string/test-strstr-ifunc.c: Likewise.
2377 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2379 * benchtests/Makefile: Remove ifunc tests.
2380 * benchtests/bench-string.h: Define TEST_IFUNC.
2381 * benchtests/bench-bcopy-ifunc.c: Remove.
2382 * benchtests/bench-bzero-ifunc.c: Likewise.
2383 * benchtests/bench-memccpy-ifunc.c: Likewise.
2384 * benchtests/bench-memchr-ifunc.c: Likewise.
2385 * benchtests/bench-memcmp-ifunc.c: Likewise.
2386 * benchtests/bench-memcpy-ifunc.c: Likewise.
2387 * benchtests/bench-memmem-ifunc.c: Likewise.
2388 * benchtests/bench-memmove-ifunc.c: Likewise.
2389 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2390 * benchtests/bench-memrchr-ifunc.c: Likewise.
2391 * benchtests/bench-memset-ifunc.c: Likewise.
2392 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2393 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2394 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2395 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2396 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2397 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2398 * benchtests/bench-strcat-ifunc.c: Likewise.
2399 * benchtests/bench-strchr-ifunc.c: Likewise.
2400 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2401 * benchtests/bench-strcmp-ifunc.c: Likewise.
2402 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2403 * benchtests/bench-strcpy-ifunc.c: Likewise.
2404 * benchtests/bench-strcspn-ifunc.c: Likewise.
2405 * benchtests/bench-strlen-ifunc.c: Likewise.
2406 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2407 * benchtests/bench-strncat-ifunc.c: Likewise.
2408 * benchtests/bench-strncmp-ifunc.c: Likewise.
2409 * benchtests/bench-strncpy-ifunc.c: Likewise.
2410 * benchtests/bench-strnlen-ifunc.c: Likewise.
2411 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2412 * benchtests/bench-strrchr-ifunc.c: Likewise.
2413 * benchtests/bench-strsep-ifunc.c: Likewise.
2414 * benchtests/bench-strspn-ifunc.c: Likewise.
2415 * benchtests/bench-strstr-ifunc.c: Likewise.
2417 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2419 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2421 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2423 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2424 * rt/aio.h: Likewise.
2425 * sysdeps/gnu/bits/utmp.h: Likewise.
2426 * sysdeps/gnu/bits/utmpx.h: Likewise.
2427 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2428 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2429 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2430 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2431 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2432 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2433 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2434 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2435 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2436 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2437 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2438 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2439 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2442 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2443 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2444 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2445 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2446 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2447 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2448 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2449 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2450 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2451 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2453 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2454 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2456 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2457 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2458 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2459 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2460 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2461 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2462 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2463 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2464 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2465 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2466 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2467 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2468 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2470 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2473 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2474 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2476 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2478 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2479 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2482 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2484 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2485 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2486 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2487 (__fesetround): Remove define.
2488 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2489 rounding and exceptions handling.
2490 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2491 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2492 (__fe_nomask_env): Likewise.
2493 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2494 __fegetround instead of fegetround.
2495 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2496 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2498 2013-11-21 Roland McGrath <roland@hack.frob.com>
2500 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2503 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2505 2013-11-21 Meador Inge <meadori@codesourcery.com>
2508 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2509 (encrypt_r): Likewise.
2510 * malloc/obstack.h (obstack_free): Likewise.
2511 * posix/unistd.h (encrypt): Likewise.
2513 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2515 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2516 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2517 DL_CALL_DT_FINI() that call the functions directly.
2518 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2519 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2520 * elf/dl-fini.c: Likewise.
2522 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2524 * malloc/hooks.c (memalign_check): Add alignment rounding.
2525 * malloc/malloc.c (_mid_memalign): New function.
2526 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2527 Implement by calling _mid_memalign.
2528 * manual/probes.texi (Memory Allocation Probes): Remove
2529 memory_valloc_retry and memory_pvalloc_retry.
2531 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2533 * locale/programs/locarchive.c (open_archive): Add const
2534 qualifier to ARCHIVEFNAME and copy default fname to
2538 * libio/tst-widetext.input: Rename Oriya to Odia.
2539 * locale/iso-639.def: Likewise.
2541 * manual/probes.texi (Mathematical Function Probes): Add
2542 documentation for sin, cos, asin and acos probes.
2543 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2544 (__sin32): Add slowasin probe.
2545 (__cos32): Add slowacos probe.
2546 (__mpsin): Add slowsin probe.
2547 (__mpcos): Add slowcos probe.
2549 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2552 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2553 thread-local __sim_exceptions_thread and global
2554 __sim_exceptions_global.
2555 (__sim_disabled_exceptions): Change to thread-local
2556 __sim_disabled_exceptions_thread and global
2557 __sim_disabled_exceptions_global.
2558 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2559 and global __sim_round_mode_global.
2560 (__simulate_exceptions): Use thread-local floating-point state and
2561 set global state from it as needed.
2562 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2563 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2564 __sim_round_mode_thread.
2565 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2566 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2567 and global __sim_exceptions_global.
2568 (__sim_disabled_exceptions): Change to thread-local
2569 __sim_disabled_exceptions_thread and global
2570 __sim_disabled_exceptions_global.
2571 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2572 and global __sim_round_mode_global.
2573 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2574 (SIM_SET_GLOBAL): Likewise.
2575 * sysdeps/powerpc/soft-fp/sfp-machine.h
2576 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2577 __sim_round_mode_thread.
2578 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2579 __sim_disabled_exceptions_thread.
2580 (__sim_exceptions): Change to __sim_exceptions_thread.
2581 (__sim_disabled_exceptions): Change to
2582 __sim_disabled_exceptions_thread.
2583 (__sim_round_mode): Change to __sim_round_mode_thread.
2584 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2585 thread-local floating-point state and set global state from it as
2587 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2588 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2589 (__sim_disabled_exceptions): Remove extern declaration.
2590 (feenableexcept): Use thread-local floating-point state and set
2591 global state from it as needed.
2592 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2594 (__sim_disabled_exceptions): Likewise.
2595 (__sim_round_mode): Likewise.
2596 (__fegetenv): Use thread-local floating-point state.
2597 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2598 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2599 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2600 floating-point state and set global state from it as needed.
2601 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2602 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2603 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2605 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2606 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2608 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2609 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2610 Use __sim_round_mode_thread.
2611 * math/test-fenv-tls.c: New file.
2612 * math/Makefile (tests): Add test-fenv-tls.
2613 ($(objpfx)test-fenv-tls): Depend on
2614 $(common-objpfx)nptl/libpthread.so.
2616 2013-11-19 Andreas Schwab <schwab@suse.de>
2618 * locale/programs/locale.c (show_info): Decode wordarray elements.
2619 * locale/categories.def (LC_MONETARY): Add element for
2620 _NL_MONETARY_CRNCYSTR.
2621 * locale/C-monetary.c (conversion_rate): New variable.
2622 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2625 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2627 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2628 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2630 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2632 * elf/Makefile (tst-auxv): New test.
2633 * elf/tst-auxv.c: New
2634 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2636 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2638 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2639 (hidden_proto): Caller changed.
2640 (hidden_tls_proto): New macro.
2641 (libc_hidden_tls_proto): Likewise.
2642 (rtld_hidden_tls_proto): Likewise.
2643 (libm_hidden_tls_proto): Likewise.
2644 (libresolv_hidden_tls_proto): Likewise.
2645 (librt_hidden_tls_proto): Likewise.
2646 (libdl_hidden_tls_proto): Likewise.
2647 (libnss_files_hidden_tls_proto): Likewise.
2648 (libnsl_hidden_tls_proto): Likewise.
2649 (libnss_nisplus_hidden_tls_proto): Likewise.
2650 (libutil_hidden_tls_proto): Likewise.
2652 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2655 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2656 (decompose_rpath): Defer expansion to fillin_rpath.
2657 (_dl_init_paths): Pass linkmap to fillin_rpath.
2659 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2661 * benchtests/Makefile: Add strsep.
2662 * benchtests/bench-strsep.c: New file: strsep benchtest.
2663 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2665 2013-11-18 Andreas Schwab <schwab@suse.de>
2667 * locale/programs/locale.c (show_info) [case byte]: Check for
2668 '\377' instead of '\177'.
2669 * locale/C-monetary.c (not_available): Always use "\377".
2670 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2671 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2672 detect unavailable sign_posn locale elements.
2673 * locale/localeconv.c (__localeconv): For grouping and
2674 mon_grouping handle "\177" and "\377" like no grouping.
2675 (INT_ELEM): New macro. Use it to set all numeric members.
2676 * locale/programs/ld-monetary.c (monetary_read)
2677 <tok_mon_grouping>: Normalize single -1 to the empty string.
2678 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2681 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2684 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2685 when we match (nil).
2686 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2688 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2690 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2691 (NO_TEST_INLINE): Update value.
2692 (ERRNO_UNCHANGED): Likewise.
2693 (ERRNO_EDOM): Likewise.
2694 (ERRNO_ERANGE): Likewise.
2695 (IGNORE_RESULT): Likewise.
2696 (check_float_internal): Check signs of NaN results if
2698 (check_complex): Pass TEST_NAN_SIGN flag through to second
2699 check_float_internal call.
2700 (copysign_test_data): Add tests with quiet NaNs as second
2701 argument. Use TEST_NAN_SIGN.
2702 (fabs_test_data): Add test of negative quiet NaN argument. Use
2704 (signbit_test_data): Add tests of quiet NaN argument.
2705 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2707 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2709 (parse_args): Handle function results specified as IGNORE.
2710 * math/libm-test.inc (IGNORE_RESULT): New macro.
2711 (check_float_internal): Do not check numerical result if flag
2713 (check_complex): Pass through IGNORE_RESULT to second
2714 check_float_internal call.
2715 (check_int): Do not check numerical result if flag IGNORE_RESULT
2717 (check_long): Likewise.
2718 (check_bool): Likewise.
2719 (check_longlong): Likewise.
2720 (lrint_test_data): Add tests of infinite and NaN arguments.
2721 (lrint_tonearest_test_data): Likewise.
2722 (lrint_towardzero_test_data): Likewise.
2723 (lrint_downward_test_data): Likewise.
2724 (lrint_upward_test_data): Likewise.
2725 (llrint_test_data): Likewise.
2726 (llrint_tonearest_test_data): Likewise.
2727 (llrint_towardzero_test_data): Likewise.
2728 (llrint_downward_test_data): Likewise.
2729 (llrint_upward_test_data): Likewise.
2730 (lround_test_data): Likewise.
2731 (llround_test_data): Likewise.
2733 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2734 (ERRNO_UNCHANGED): Update value.
2735 (ERRNO_EDOM): Likewise.
2736 (ERRNO_ERANGE): Likewise.
2737 (NO_TEST_INLINE_FLOAT): New macro.
2738 (NO_TEST_INLINE_DOUBLE): Likewise.
2739 (enable_test): New function.
2740 (RUN_TEST_f_f): Check enable_test before running test.
2741 (RUN_TEST_2_f): Likewise.
2742 (RUN_TEST_fff_f): Likewise.
2743 (RUN_TEST_c_f): Likewise.
2744 (RUN_TEST_f_f1): Likewise.
2745 (RUN_TEST_fF_f1): Likewise.
2746 (RUN_TEST_fI_f1): Likewise.
2747 (RUN_TEST_ffI_f1): Likewise.
2748 (RUN_TEST_c_c): Likewise.
2749 (RUN_TEST_cc_c): Likewise.
2750 (RUN_TEST_f_i): Likewise.
2751 (RUN_TEST_f_i_tg): Likewise.
2752 (RUN_TEST_ff_i_tg): Likewise.
2753 (RUN_TEST_f_b): Likewise.
2754 (RUN_TEST_f_b_tg): Likewise.
2755 (RUN_TEST_f_l): Likewise.
2756 (RUN_TEST_f_L): Likewise.
2757 (RUN_TEST_fFF_11): Likewise.
2758 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2760 (cosh_test_data): Likewise.
2761 (exp_test_data): Likewise.
2762 (expm1_test_data): Likewise.
2763 (hypot_test_data): Likewise.
2764 (pow_test_data): Likewise.
2765 (sinh_test_data): Likewise.
2766 (tanh_test_data): Likewise.
2767 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2770 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2771 tests with quiet NaN input and output.
2772 (acosh_test_data): Likewise.
2773 (asin_test_data): Likewise.
2774 (asinh_test_data): Likewise.
2775 (atan_test_data): Likewise.
2776 (atanh_test_data): Likewise.
2777 (atan2_test_data): Likewise.
2778 (cbrt_test_data): Likewise.
2779 (cos_test_data): Likewise.
2780 (cosh_test_data): Likewise.
2781 (erf_test_data): Likewise.
2782 (erfc_test_data): Likewise.
2783 (exp_test_data): Likewise.
2784 (exp10_test_data): Likewise.
2785 (exp2_test_data): Likewise.
2786 (expm1_test_data): Likewise.
2787 (hypot_test_data): Likewise.
2788 (j0_test_data): Likewise.
2789 (j1_test_data): Likewise.
2790 (jn_test_data): Likewise.
2791 (lgamma_test_data): Likewise.
2792 (log_test_data): Likewise.
2793 (log10_test_data): Likewise.
2794 (log1p_test_data): Likewise.
2795 (log2_test_data): Likewise.
2796 (pow_test_data): Likewise.
2797 (scalb_test_data): Likewise.
2798 (sin_test_data): Likewise.
2799 (sincos_test_data): Likewise.
2800 (sinh_test_data): Likewise.
2801 (tan_test_data): Likewise.
2802 (tanh_test_data): Likewise.
2803 (tgamma_test_data): Likewise.
2804 (y0_test_data): Likewise.
2805 (y1_test_data): Likewise.
2806 (yn_test_data): Likewise.
2809 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2810 argument being NaN and avoid computations with second argument in
2812 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2813 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2814 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2816 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2818 * locale/iso-639.def: Add Chitwani Tharu (the).
2820 2013-11-14 Andreas Schwab <schwab@suse.de>
2822 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2823 word instead of empty string.
2825 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2828 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2830 (__fe_nomask_env): Likewise.
2832 2013-11-13 Steve Ellcey <sellcey@mips.com>
2834 * benchtests/bench-timing.h: Include time.h.
2836 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2839 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2841 * sysdeps/unix/sysv/linux/configure: Regenerated.
2843 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2846 * stdlib/strtod_l.c (round_and_return): Do not consider
2847 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2848 exponent one less than half the least subnormal exponent.
2849 * stdlib/test-strtod-round-data: Add more tests.
2850 * stdlib/tst-strtod-round.c (tests): Regenerated.
2852 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2855 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2856 (__fe_mask_env): Likewise.
2857 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2858 libm_hidden_proto and add function prototype.
2859 (__fe_mask_env): Add function prototype.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2861 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2863 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2865 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2867 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2869 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2870 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2872 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2874 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2875 of htab_find_slot().
2877 2013-11-11 David S. Miller <davem@davemloft.net>
2880 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2881 symbol in the non-vis3 case in static builds.
2882 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2883 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2884 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2885 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2887 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2890 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2893 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895 * benchtests/Makefile: Add bench-strtod.
2896 * benchtests/bench-strtod.c: New file: strtod benchtest
2898 2013-11-11 Andreas Schwab <schwab@suse.de>
2901 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2902 terminating NUL in key length.
2904 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2906 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2907 Add artificial ODP entry for vDSO symbol for PPC64.
2908 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2909 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2911 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2914 * nss/getent.c (services_keys): Recognize services starting with digit.
2916 2013-11-06 David S. Miller <davem@davemloft.net>
2919 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2920 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2922 2013-11-06 Will Newton <will.newton@linaro.org>
2924 * manual/memory.texi (Malloc Examples): Remove register
2925 keyword from examples.
2927 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2929 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2931 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2933 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2934 depending on [__GCC_IEC_559 > 0].
2935 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2936 depending on [__GCC_IEC_559_COMPLEX > 0].
2938 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2940 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2943 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2945 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2947 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2950 * malloc/malloc (malloc_info): Do not handle first bin as
2953 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2955 * locale/iso-639.def: Add Central Nahuatl (nhn).
2957 2013-11-01 Bruno Haible <bruno@clisp.org>
2960 * manual/math.texi (BSD Random): Specify range upper bound as
2963 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2965 * locale/iso-639.def: Add Meadow Mari (mhr).
2967 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2969 [BZ #14752], [BZ #15763]
2970 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2972 * rt/tst_shm.c: Add test for escaping directory.
2974 2013-10-31 Andreas Schwab <schwab@suse.de>
2977 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2978 followed by 'x' as part of digit sequence.
2979 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2981 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2984 * configure.ac: allow GNU Make 4.0 and greater.
2985 * configure: Regenerated.
2987 2013-10-30 Will Newton <will.newton@linaro.org>
2990 * malloc/hooks.c (memalign_check): Limit alignment to the
2991 maximum representable power of two.
2992 * malloc/malloc.c (__libc_memalign): Likewise.
2993 * malloc/tst-memalign.c (do_test): Add test for very
2994 large alignment values.
2995 * malloc/tst-posix_memalign.c (do_test): Likewise.
2997 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3000 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3001 (munmap_chunk): Likewise.
3002 (mremap_chunk): Likewise.
3004 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3007 * stdlib/div.c (div): Remove obsolete code.
3008 * stdlib/ldiv.c (ldiv): Likewise.
3009 * stdlib/lldiv.c (lldiv): Likewise.
3011 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3014 * nss/nss_files/files-XXX.c (get_contents_ret): New
3016 (get_contents): New function.
3017 (internal_getent): Use it. Expand size of LINEBUFLEN.
3019 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3021 * configure.in: Moved to ...
3022 * configure.ac: ... here. Change reference to configure.in
3024 * sysdeps/arm/preconfigure.ac: ... here.
3025 configure.in to configure.ac.
3026 * sysdeps/gnu/configure.in: Moved to ...
3027 * sysdeps/gnu/configure.ac: ... here.
3028 * sysdeps/i386/configure.in: Moved to ...
3029 * sysdeps/i386/configure.ac: ... here.
3030 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3031 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3032 * sysdeps/mach/configure.in: Moved to ...
3033 * sysdeps/mach/configure.ac: ... here.
3034 * sysdeps/mach/hurd/configure.in: Moved to ...
3035 * sysdeps/mach/hurd/configure.ac: ... here.
3036 * sysdeps/powerpc/configure.in: Moved to ...
3037 * sysdeps/powerpc/configure.ac: ... here.
3038 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3039 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3040 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3041 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3042 * sysdeps/s390/s390-32/configure.in: Moved to ...
3043 * sysdeps/s390/s390-32/configure.ac: ... here.
3044 * sysdeps/s390/s390-64/configure.in: Moved to ...
3045 * sysdeps/s390/s390-64/configure.ac: ... here.
3046 * sysdeps/sh/configure.in: Moved to ...
3047 * sysdeps/sh/configure.ac: ... here.
3048 * sysdeps/sparc/configure.in: Moved to ...
3049 * sysdeps/sparc/configure.ac: ... here.
3050 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3051 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3052 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3053 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3054 * sysdeps/x86_64/configure.in: Moved to ...
3055 * sysdeps/x86_64/configure.ac: ... here.
3056 * sysdeps/x86_64/preconfigure.in: Moved to ...
3057 * sysdeps/x86_64/preconfigure.ac: ... here.
3058 * aclocal.m4: Change reference to configure.in to configure.ac.
3059 * config.h.in: Likewise.
3060 * manual/install.texi: Likewise.
3061 * manual/maint.texi: Likewise.
3062 * Makefile: Likewise.
3063 * malloc/Makefile: Likewise.
3064 * nscd/Makefile: Likewise.
3065 * Makeconfig: Change reference to configure.in and
3066 preconfigure.in to configure.ac and preconfigure.ac
3068 * INSTALL: Regenerated.
3069 * configure: Likewise.
3070 * sysdeps/gnu/configure: Likewise.
3071 * sysdeps/i386/configure: Likewise.
3072 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3073 * sysdeps/mach/configure: Likewise.
3074 * sysdeps/mach/hurd/configure: Likewise.
3075 * sysdeps/powerpc/configure: Likewise.
3076 * sysdeps/powerpc/powerpc32/configure: Likewise.
3077 * sysdeps/powerpc/powerpc64/configure: Likewise.
3078 * sysdeps/s390/s390-32/configure: Likewise.
3079 * sysdeps/s390/s390-64/configure: Likewise.
3080 * sysdeps/sh/configure: Likewise.
3081 * sysdeps/sparc/configure: Likewise.
3082 * sysdeps/unix/sysv/linux/configure: Likewise.
3083 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3084 * sysdeps/x86_64/configure: Likewise.
3085 * sysdeps/x86_64/preconfigure: Likewise.
3087 2013-10-29 Andreas Schwab <schwab@suse.de>
3089 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3091 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3093 * benchtests/pow-inputs: Add new inputs.
3095 * benchtests/exp-inputs: Add new inputs.
3097 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3098 conditional check for return value.
3099 (__cos32): Likewise.
3101 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3104 to provide a boost for large inputs with word alignment.
3105 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3106 implementation based on optimized PPC64 strcpy.
3107 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3108 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3109 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3110 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3112 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3115 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3117 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3120 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3121 * time/tst-strptime.c (day_tests): Add testcase.
3123 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3126 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3128 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3131 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3132 MAP_FAILED on error.
3134 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3137 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3138 heap for large requests.
3140 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3143 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3144 result if the result has no associated interface.
3145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3146 interface for all 127.X.Y.Z addresses.
3148 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3150 * locale/iso-639.def: Add Ligurian (lij)
3152 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3155 * sunrpc/rpc_main.c: Document rpcgen -5.
3157 2013-10-19 Michael Stahl <mstahl@redhat.com>
3159 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3161 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3164 * posix/glob.c: Match only directories when trailing slash is present.
3165 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3166 (main): Add testcase.
3168 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3171 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3173 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3175 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3176 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3177 AUTH_DES and cindex for FIPS 140-2.
3178 (DES Encryption): Add cindex FIPS 46-3.
3180 * locale/locarchive.h (struct locarhandle): Add fname.
3181 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3182 if an optional argument was specified to --list-archive,
3184 * locale/programs/locarchive.c (show_archive_content): Take new
3185 argument fname and pass it via ah.fname to open_archive.
3186 * locale/programs/localedef.h: Update decl.
3187 (open_archive): If AH->fname is non-null, open that file
3188 rather than the default file name, and don't ignore ENOENT.
3189 (create_archive): Set AH.fname to NULL.
3190 (delete_locales_from_archive): Likewise.
3191 (add_locales_to_archive): Likewise.
3192 * locale/programs/locfile.c (write_all_categories): Likewise.
3194 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3195 Aldy Hernandez <aldyh@redhat.com>
3197 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3198 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3199 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3200 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3201 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3202 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3203 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3204 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3205 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3206 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3207 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3208 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3209 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3210 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3211 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3213 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3215 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3217 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3219 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3220 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3222 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3223 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3224 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3225 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3227 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3228 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3229 * sysdeps/powerpc/preconfigure: Likewise.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3232 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3233 Replace contents of file by #include of <fenv_libc.h>.
3234 * sysdeps/powerpc/soft-fp/sfp-machine.h
3235 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3237 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3238 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3239 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3240 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3241 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3242 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3244 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3245 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3247 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3250 Allow copysignl PLT reference to be missing.
3252 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3253 Joseph Myers <joseph@codesourcery.com
3256 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3258 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3260 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3262 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3263 * elf/tst-tls1.c: Likewise.
3264 * elf/tst-tls10.h: Likewise.
3265 * elf/tst-tls14.c: Likewise.
3266 * elf/tst-tls2.c: Likewise.
3267 * elf/tst-tls3.c: Likewise.
3268 * elf/tst-tls4.c: Likewise.
3269 * elf/tst-tls5.c: Likewise.
3270 * elf/tst-tls6.c: Likewise.
3271 * elf/tst-tls7.c: Likewise.
3272 * elf/tst-tls8.c: Likewise.
3273 * elf/tst-tls9.c: Likewise.
3274 * elf/tst-tlsmod1.c: Likewise.
3275 * elf/tst-tlsmod13.c: Likewise.
3276 * elf/tst-tlsmod13a.c: Likewise.
3277 * elf/tst-tlsmod14a.c: Likewise.
3278 * elf/tst-tlsmod16a.c: Likewise.
3279 * elf/tst-tlsmod16b.c: Likewise.
3280 * elf/tst-tlsmod2.c: Likewise.
3281 * elf/tst-tlsmod3.c: Likewise.
3282 * elf/tst-tlsmod4.c: Likewise.
3283 * elf/tst-tlsmod5.c: Likewise.
3284 * elf/tst-tlsmod6.c: Likewise.
3286 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3289 * malloc/malloc.c: remove checks for statistics.
3291 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3294 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3295 * inet/tst-network.c: Add testcase.
3297 2013-10-17 Andreas Schwab <schwab@suse.de>
3300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3301 to determine canonical name.
3303 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3305 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3306 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3308 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3310 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3311 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3312 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3313 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3314 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3315 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3323 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3324 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3325 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3328 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3329 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3331 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3335 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3336 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3337 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3338 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3339 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3340 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3342 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3343 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3345 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3346 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3348 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3352 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3354 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3355 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3356 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3357 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3358 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3359 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3360 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3362 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3364 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3367 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3368 make result into a quiet NaN.
3370 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3372 * soft-fp/adddf3.c: Fix horizontal whitespace.
3373 * soft-fp/addsf3.c: Likewise.
3374 * soft-fp/addtf3.c: Likewise.
3375 * soft-fp/divdf3.c: Likewise.
3376 * soft-fp/divsf3.c: Likewise.
3377 * soft-fp/divtf3.c: Likewise.
3378 * soft-fp/double.h: Likewise.
3379 * soft-fp/eqdf2.c: Likewise.
3380 * soft-fp/eqsf2.c: Likewise.
3381 * soft-fp/eqtf2.c: Likewise.
3382 * soft-fp/extenddftf2.c: Likewise.
3383 * soft-fp/extended.h: Likewise.
3384 * soft-fp/extendsfdf2.c: Likewise.
3385 * soft-fp/extendsftf2.c: Likewise.
3386 * soft-fp/extendxftf2.c: Likewise.
3387 * soft-fp/fixdfdi.c: Likewise.
3388 * soft-fp/fixdfsi.c: Likewise.
3389 * soft-fp/fixdfti.c: Likewise.
3390 * soft-fp/fixsfdi.c: Likewise.
3391 * soft-fp/fixsfsi.c: Likewise.
3392 * soft-fp/fixsfti.c: Likewise.
3393 * soft-fp/fixtfdi.c: Likewise.
3394 * soft-fp/fixtfsi.c: Likewise.
3395 * soft-fp/fixtfti.c: Likewise.
3396 * soft-fp/fixunsdfdi.c: Likewise.
3397 * soft-fp/fixunsdfsi.c: Likewise.
3398 * soft-fp/fixunsdfti.c: Likewise.
3399 * soft-fp/fixunssfdi.c: Likewise.
3400 * soft-fp/fixunssfsi.c: Likewise.
3401 * soft-fp/fixunssfti.c: Likewise.
3402 * soft-fp/fixunstfdi.c: Likewise.
3403 * soft-fp/fixunstfsi.c: Likewise.
3404 * soft-fp/fixunstfti.c: Likewise.
3405 * soft-fp/floatdidf.c: Likewise.
3406 * soft-fp/floatdisf.c: Likewise.
3407 * soft-fp/floatditf.c: Likewise.
3408 * soft-fp/floatsidf.c: Likewise.
3409 * soft-fp/floatsisf.c: Likewise.
3410 * soft-fp/floatsitf.c: Likewise.
3411 * soft-fp/floattidf.c: Likewise.
3412 * soft-fp/floattisf.c: Likewise.
3413 * soft-fp/floattitf.c: Likewise.
3414 * soft-fp/floatundidf.c: Likewise.
3415 * soft-fp/floatundisf.c: Likewise.
3416 * soft-fp/floatunditf.c: Likewise.
3417 * soft-fp/floatunsidf.c: Likewise.
3418 * soft-fp/floatunsisf.c: Likewise.
3419 * soft-fp/floatunsitf.c: Likewise.
3420 * soft-fp/floatuntidf.c: Likewise.
3421 * soft-fp/floatuntisf.c: Likewise.
3422 * soft-fp/floatuntitf.c: Likewise.
3423 * soft-fp/fmadf4.c: Likewise.
3424 * soft-fp/fmasf4.c: Likewise.
3425 * soft-fp/fmatf4.c: Likewise.
3426 * soft-fp/gedf2.c: Likewise.
3427 * soft-fp/gesf2.c: Likewise.
3428 * soft-fp/getf2.c: Likewise.
3429 * soft-fp/ledf2.c: Likewise.
3430 * soft-fp/lesf2.c: Likewise.
3431 * soft-fp/letf2.c: Likewise.
3432 * soft-fp/muldf3.c: Likewise.
3433 * soft-fp/mulsf3.c: Likewise.
3434 * soft-fp/multf3.c: Likewise.
3435 * soft-fp/negdf2.c: Likewise.
3436 * soft-fp/negsf2.c: Likewise.
3437 * soft-fp/negtf2.c: Likewise.
3438 * soft-fp/op-1.h: Likewise.
3439 * soft-fp/op-2.h: Likewise.
3440 * soft-fp/op-4.h: Likewise.
3441 * soft-fp/op-8.h: Likewise.
3442 * soft-fp/op-common.h: Likewise.
3443 * soft-fp/quad.h: Likewise.
3444 * soft-fp/single.h: Likewise.
3445 * soft-fp/soft-fp.h: Likewise.
3446 * soft-fp/sqrtdf2.c: Likewise.
3447 * soft-fp/sqrtsf2.c: Likewise.
3448 * soft-fp/sqrttf2.c: Likewise.
3449 * soft-fp/subdf3.c: Likewise.
3450 * soft-fp/subsf3.c: Likewise.
3451 * soft-fp/subtf3.c: Likewise.
3452 * soft-fp/truncdfsf2.c: Likewise.
3453 * soft-fp/trunctfdf2.c: Likewise.
3454 * soft-fp/trunctfsf2.c: Likewise.
3455 * soft-fp/trunctfxf2.c: Likewise.
3456 * soft-fp/unorddf2.c: Likewise.
3457 * soft-fp/unordsf2.c: Likewise.
3458 * soft-fp/unordtf2.c: Likewise.
3460 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3462 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3463 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3465 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3467 * elf/dl-libc.c: Clear initfini list after freeing.
3469 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3471 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3472 * soft-fp/addsf3.c: Likewise.
3473 * soft-fp/addtf3.c: Likewise.
3474 * soft-fp/divdf3.c: Likewise.
3475 * soft-fp/divsf3.c: Likewise.
3476 * soft-fp/divtf3.c: Likewise.
3477 * soft-fp/double.h: Likewise.
3478 * soft-fp/eqdf2.c: Likewise.
3479 * soft-fp/eqsf2.c: Likewise.
3480 * soft-fp/eqtf2.c: Likewise.
3481 * soft-fp/extenddftf2.c: Likewise.
3482 * soft-fp/extended.h: Likewise.
3483 * soft-fp/extendsfdf2.c: Likewise.
3484 * soft-fp/extendsftf2.c: Likewise.
3485 * soft-fp/extendxftf2.c: Likewise.
3486 * soft-fp/fixdfdi.c: Likewise.
3487 * soft-fp/fixdfsi.c: Likewise.
3488 * soft-fp/fixdfti.c: Likewise.
3489 * soft-fp/fixsfdi.c: Likewise.
3490 * soft-fp/fixsfsi.c: Likewise.
3491 * soft-fp/fixsfti.c: Likewise.
3492 * soft-fp/fixtfdi.c: Likewise.
3493 * soft-fp/fixtfsi.c: Likewise.
3494 * soft-fp/fixtfti.c: Likewise.
3495 * soft-fp/fixunsdfdi.c: Likewise.
3496 * soft-fp/fixunsdfsi.c: Likewise.
3497 * soft-fp/fixunsdfti.c: Likewise.
3498 * soft-fp/fixunssfdi.c: Likewise.
3499 * soft-fp/fixunssfsi.c: Likewise.
3500 * soft-fp/fixunssfti.c: Likewise.
3501 * soft-fp/fixunstfdi.c: Likewise.
3502 * soft-fp/fixunstfsi.c: Likewise.
3503 * soft-fp/fixunstfti.c: Likewise.
3504 * soft-fp/floatdidf.c: Likewise.
3505 * soft-fp/floatdisf.c: Likewise.
3506 * soft-fp/floatditf.c: Likewise.
3507 * soft-fp/floatsidf.c: Likewise.
3508 * soft-fp/floatsisf.c: Likewise.
3509 * soft-fp/floatsitf.c: Likewise.
3510 * soft-fp/floattidf.c: Likewise.
3511 * soft-fp/floattisf.c: Likewise.
3512 * soft-fp/floattitf.c: Likewise.
3513 * soft-fp/floatundidf.c: Likewise.
3514 * soft-fp/floatundisf.c: Likewise.
3515 * soft-fp/floatunsidf.c: Likewise.
3516 * soft-fp/floatunsisf.c: Likewise.
3517 * soft-fp/floatuntidf.c: Likewise.
3518 * soft-fp/floatuntisf.c: Likewise.
3519 * soft-fp/floatuntitf.c: Likewise.
3520 * soft-fp/fmadf4.c: Likewise.
3521 * soft-fp/fmasf4.c: Likewise.
3522 * soft-fp/fmatf4.c: Likewise.
3523 * soft-fp/gedf2.c: Likewise.
3524 * soft-fp/gesf2.c: Likewise.
3525 * soft-fp/getf2.c: Likewise.
3526 * soft-fp/ledf2.c: Likewise.
3527 * soft-fp/lesf2.c: Likewise.
3528 * soft-fp/letf2.c: Likewise.
3529 * soft-fp/muldf3.c: Likewise.
3530 * soft-fp/mulsf3.c: Likewise.
3531 * soft-fp/multf3.c: Likewise.
3532 * soft-fp/negdf2.c: Likewise.
3533 * soft-fp/negsf2.c: Likewise.
3534 * soft-fp/negtf2.c: Likewise.
3535 * soft-fp/op-1.h: Likewise.
3536 * soft-fp/op-2.h: Likewise.
3537 * soft-fp/op-4.h: Likewise.
3538 * soft-fp/op-8.h: Likewise.
3539 * soft-fp/op-common.h: Likewise.
3540 * soft-fp/quad.h: Likewise.
3541 * soft-fp/single.h: Likewise.
3542 * soft-fp/soft-fp.h: Likewise.
3543 * soft-fp/sqrtdf2.c: Likewise.
3544 * soft-fp/sqrtsf2.c: Likewise.
3545 * soft-fp/sqrttf2.c: Likewise.
3546 * soft-fp/subdf3.c: Likewise.
3547 * soft-fp/subsf3.c: Likewise.
3548 * soft-fp/subtf3.c: Likewise.
3549 * soft-fp/truncdfsf2.c: Likewise.
3550 * soft-fp/trunctfdf2.c: Likewise.
3551 * soft-fp/trunctfsf2.c: Likewise.
3552 * soft-fp/trunctfxf2.c: Likewise.
3553 * soft-fp/unorddf2.c: Likewise.
3554 * soft-fp/unordsf2.c: Likewise.
3555 * soft-fp/unordtf2.c: Likewise.
3557 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3560 * misc/error.c (error_tail): Fix possible buffer overflow.
3562 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3565 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3568 2013-10-14 P. J. McDermott <pj@pehjota.net>
3571 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3572 testing pipefail option.
3574 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3576 * soft-fp/double.h: Indent preprocessor directives inside #if.
3577 * soft-fp/extended.h: Likewise.
3578 * soft-fp/op-2.h: Likewise.
3579 * soft-fp/op-4.h: Likewise.
3580 * soft-fp/op-common.h: Likewise.
3581 * soft-fp/quad.h: Likewise.
3582 * soft-fp/single.h: Likewise.
3583 * soft-fp/soft-fp.h: Likewise.
3585 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3587 * iconv/iconv_prog.c: Fix typos.
3588 * stdio-common/psiginfo-data.h: Likewise.
3590 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3593 * locale/setlocale.c: Fix typo.
3595 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3598 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3599 signaling NaN arguments.
3600 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3601 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3604 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3606 * soft-fp/gesf2.c (__gesf2): Likewise.
3607 * soft-fp/getf2.c (__getf2): Likewise.
3608 * soft-fp/ledf2.c (__ledf2): Likewise.
3609 * soft-fp/lesf2.c (__lesf2): Likewise.
3610 * soft-fp/letf2.c (__letf2): Likewise.
3612 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3613 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3614 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3615 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3616 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3617 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3618 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3619 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3620 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3621 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3622 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3623 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3624 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3625 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3626 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3627 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3628 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3629 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3630 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3631 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3632 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3633 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3634 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3635 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3636 * soft-fp/floattidf.c (__floattidf): Likewise.
3637 * soft-fp/floattisf.c (__floattisf): Likewise.
3638 * soft-fp/floattitf.c (__floattitf): Likewise.
3639 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3640 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3641 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3642 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3643 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3644 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3645 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3646 * soft-fp/gesf2.c (__gesf2): Likewise.
3647 * soft-fp/getf2.c (__getf2): Likewise.
3648 * soft-fp/ledf2.c (__ledf2): Likewise.
3649 * soft-fp/lesf2.c (__lesf2): Likewise.
3650 * soft-fp/letf2.c (__letf2): Likewise.
3652 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3653 Undefine and redefine.
3654 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3655 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3656 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3657 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3658 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3659 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3660 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3661 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3662 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3663 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3664 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3665 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3666 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3667 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3668 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3671 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3672 without decrementing exponent if mantissa >= that for the
3674 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3675 denominator, not >. Decrement exponent in < case instead of
3676 incrementing in >= case.
3677 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3678 without decrementing exponent if mantissa >= that for the
3681 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3682 computing saturated result for unsigned overflow.
3684 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3685 Jeff Law <law@redhat.com>
3687 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3688 (atan2Mp): Add systemtap probe marker.
3689 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3690 (__ieee754_log): Add systemtap probe marker.
3691 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3692 (atanMp): Add systemtap probe marker.
3693 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3694 (tanMp): Add systemtap probe marker.
3695 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3696 (__slowexp): Add systemtap probe marker.
3697 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3698 (__slowpow): Add systemtap probe marker.
3699 * manual/probes.texi: Document probes.
3701 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3704 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3706 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3708 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3709 written to buffer but not flushed.
3710 * libio/iofwrite_u.c: Likewise.
3711 * libio/iopadn.c: Return bytes returned even if EOF was
3713 * libio/iowpadn.c: Likewise.
3714 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3715 if _IO_padn does not write the whole buffer.
3716 [!COMPILE_WPRINTF] (PAD): Likewise.
3718 2013-10-10 David S. Miller <davem@davemloft.net>
3720 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3723 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3725 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3726 instead of FSF address.
3727 * soft-fp/fixdfti.c: Likewise.
3728 * soft-fp/fixsfti.c: Likewise.
3729 * soft-fp/fixtfti.c: Likewise.
3730 * soft-fp/fixunsdfti.c: Likewise.
3731 * soft-fp/fixunssfti.c: Likewise.
3732 * soft-fp/fixunstfti.c: Likewise.
3733 * soft-fp/floattidf.c: Likewise.
3734 * soft-fp/floattisf.c: Likewise.
3735 * soft-fp/floattitf.c: Likewise.
3736 * soft-fp/floatuntidf.c: Likewise.
3737 * soft-fp/floatuntisf.c: Likewise.
3738 * soft-fp/floatuntitf.c: Likewise.
3739 * soft-fp/trunctfxf2.c: Likewise.
3741 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3742 * soft-fp/fixdfti.c: Likewise.
3743 * soft-fp/fixsfti.c: Likewise.
3744 * soft-fp/fixtfti.c: Likewise.
3745 * soft-fp/fixunsdfti.c: Likewise.
3746 * soft-fp/fixunssfti.c: Likewise.
3747 * soft-fp/fixunstfti.c: Likewise.
3748 * soft-fp/floattidf.c: Likewise.
3749 * soft-fp/floattisf.c: Likewise.
3750 * soft-fp/floattitf.c: Likewise.
3751 * soft-fp/floatuntidf.c: Likewise.
3752 * soft-fp/floatuntisf.c: Likewise.
3753 * soft-fp/floatuntitf.c: Likewise.
3754 * soft-fp/trunctfxf2.c: Likewise.
3756 2013-10-10 David S. Miller <davem@davemloft.net>
3758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3760 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3762 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3763 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3764 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3765 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3766 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3767 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3768 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3771 for NaNs before doing comparisons on argument.
3772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3775 2013-10-10 Will Newton <will.newton@linaro.org>
3777 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3778 passed to _int_memalign does not overflow.
3780 2013-10-10 Torvald Riegel <triegel@redhat.com>
3782 * scripts/bench.pl: Add include-sources directive.
3783 * benchtests/README: Update documentation.
3785 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3787 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3788 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3789 instead of FP_INIT_ROUNDMODE.
3790 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3791 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3794 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3795 copy class of input value.
3796 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3797 not handle exceptions.
3798 * soft-fp/negsf2.c (__negsf2): Likewise.
3799 * soft-fp/negtf2.c (__negtf2): Likewise.
3800 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3802 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3804 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3805 semicolon. From Linux kernel.
3807 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3809 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3811 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3814 * manual/socket.texi: Added statement about buffer
3815 for gethostbyname2_r.
3817 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3819 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3820 Use .p2align directive instead, throughout.
3821 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3822 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3823 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3825 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3826 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3827 * sysdeps/x86_64/strchr.S: Likewise.
3828 * sysdeps/x86_64/strrchr.S: Likewise.
3830 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3832 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3834 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3836 * sysdeps/generic/math_private.h (__mpsin1): Remove
3838 (__mpcos1): Likewise.
3839 (__mpsin): New argument __range_reduce.
3840 (__mpcos): Likewise.
3841 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3842 (slow): Use __mpsin and __mpcos.
3849 (bsloww1): Likewise.
3850 (bsloww2): Likewise.
3853 (csloww1): Likewise.
3854 (csloww2): Likewise.
3855 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3856 range_reduce. Merge in __mpsin1.
3857 (__mpcos): Likewise.
3859 (__mpcos1): Likewise.
3861 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3863 * locale/loadlocale.c (_nl_intern_locale_data): Use
3865 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3866 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3867 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3868 obstack data is appropriately aligned.
3869 (obstack_int32_grow_fast): Likewise.
3870 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3871 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3872 (add_locale_uint32_array): Likewise.
3874 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3876 * benchtests/Makefile: Remove ARGLIST and RET variables.
3877 ($(objpfx)bench-%.c): Pass only function name to the script.
3878 * benchtests/README: Update documentation.
3879 * benchtests/acos-inputs: Add new directives.
3880 * benchtests/acosh-inputs: Likewise.
3881 * benchtests/asin-inputs: Likewise.
3882 * benchtests/asinh-inputs: Likewise.
3883 * benchtests/atan-inputs: Likewise.
3884 * benchtests/atanh-inputs: Likewise.
3885 * benchtests/cos-inputs: Likewise.
3886 * benchtests/cosh-inputs: Likewise.
3887 * benchtests/exp-inputs: Likewise.
3888 * benchtests/log-inputs: Likewise.
3889 * benchtests/pow-inputs: Likewise.
3890 * benchtests/rint-inputs: Likewise.
3891 * benchtests/sin-inputs: Likewise.
3892 * benchtests/sinh-inputs: Likewise.
3893 * benchtests/tan-inputs: Likewise.
3894 * benchtests/tanh-inputs: Likewise.
3895 * scripts/bench.pl: Add support for new directives.
3897 2013-10-07 Alan Modra <amodra@gmail.com>
3899 * README: Fix careless merge.
3901 2013-10-05 Alan Modra <amodra@gmail.com>
3903 * NEWS: Mention powerpc64le support and bugs fixed.
3904 * README: Both big-endian and little-endian powerpc64 supported.
3906 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3908 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3909 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3910 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3911 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3913 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3915 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3918 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3920 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3921 Move -mhard-float appending from
3922 ports/sysdeps/powerpc/powerpc32/Makefile.
3923 [$(with-fp) = yes] (ASFLAGS): Likewise.
3924 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3925 * sysdeps/powerpc/nofpu: Move directory from
3926 ports/sysdeps/powerpc/nofpu.
3927 * sysdeps/powerpc/soft-fp: Move directory from
3928 ports/sysdeps/powerpc/soft-fp.
3929 * sysdeps/powerpc/powerpc32/405: Move directory from
3930 ports/sysdeps/powerpc/powerpc32/405.
3931 * sysdeps/powerpc/powerpc32/440: Move directory from
3932 ports/sysdeps/powerpc/powerpc32/440.
3933 * sysdeps/powerpc/powerpc32/464: Move directory from
3934 ports/sysdeps/powerpc/powerpc32/464.
3935 * sysdeps/powerpc/powerpc32/476: Move directory from
3936 ports/sysdeps/powerpc/powerpc32/476.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3938 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3940 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3942 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3944 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3946 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3947 * README: Update for powerpc-*-linux-gnu software floating point
3950 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3951 case to powerpc/powerpc32*.
3952 * sysdeps/unix/sysv/linux/configure: Regenerated.
3954 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3955 (_FPU_MASK_OM): Define as 0x04.
3956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3964 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3967 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3970 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3971 and setcontext_e500.
3973 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3975 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3977 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3979 * manual/threads.texi (Default Thread Attributes): Fix typo.
3981 2013-10-04 Will Newton <will.newton@linaro.org>
3983 * malloc/Makefile: Add tst-memalign.
3984 * malloc/tst-memalign.c: New file.
3986 * malloc/tst-posix_memalign.c: Add comments.
3987 (do_test): Add comments and call free on all potentially
3988 allocated pointers. Add space after cast.
3990 * malloc/tst-pvalloc.c: Add comments.
3991 (do_test): Add comments and call free on all potentially
3992 allocated pointers. Remove duplicate check for NULL pointer.
3993 Add space after cast.
3995 * malloc/tst-valloc.c: Add comments.
3996 (do_test): Add comments and call free on all potentially
3997 allocated pointers. Remove duplicate check for NULL pointer.
3998 Add space after cast.
4000 2013-10-04 Alan Modra <amodra@gmail.com>
4002 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4003 Use stdint types in rather than __attribute__((mode())).
4004 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4006 2013-10-04 Alan Modra <amodra@gmail.com>
4008 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4009 Correct handling of unaligned relocs for little-endian.
4010 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4012 2013-10-04 Alan Modra <amodra@gmail.com>
4014 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4015 * configure: Regenerate.
4016 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4017 * shlib-versions: Likewise.
4019 2013-10-04 Alan Modra <amodra@gmail.com>
4021 * string/tester.c (test_memrchr): Increment reported test cycle.
4023 2013-10-04 Alan Modra <amodra@gmail.com>
4025 * string/test-memcpy.c (do_one_test): When reporting errors, print
4026 string address and don't overrun end of string.
4028 2013-10-04 Alan Modra <amodra@gmail.com>
4030 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4031 insrdi. Make better use of reg selection to speed exit slightly.
4032 Schedule entry path a little better. Remove useless "are we done"
4033 checks on entry to main loop. Handle wrapping around zero address.
4034 Correct main loop count. Handle single left-over word from main
4035 loop inline rather than by using loop_small. Remove extra word
4036 case in loop_small caused by wrong loop count. Add little-endian
4038 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4041 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4043 support. Avoid rlwimi.
4044 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4046 2013-10-04 Alan Modra <amodra@gmail.com>
4048 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4050 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4051 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4052 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4053 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4054 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4055 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4057 2013-10-04 Alan Modra <amodra@gmail.com>
4059 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4060 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4061 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4062 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4063 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4065 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4066 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4067 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4068 use of regs. Use power7 mtocrf. Tidy function tails.
4070 2013-10-04 Alan Modra <amodra@gmail.com>
4072 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4073 Formatting. Consistently use rXXX register defines or rN defines.
4074 Use early exit labels that avoid restoring unused non-volatile regs.
4075 Make cr field use more consistent with rWORDn compares. Rename
4076 regs used as shift registers for unaligned loop, using rN defines
4077 for short lifetime/multiple use regs.
4078 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4079 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4080 addi 1,1,64 to pop stack frame. Simplify return value code.
4081 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4083 2013-10-04 Alan Modra <amodra@gmail.com>
4085 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4086 support. Correct typos, formatting. Optimize tail. Use insrdi
4088 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4089 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4090 little-endian support. Correct typos.
4091 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4093 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4094 in loop and entry code to keep "and." results.
4095 (strchr): Add little-endian support. Comment. Move cntlzd
4097 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4099 2013-10-04 Alan Modra <amodra@gmail.com>
4101 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4102 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4103 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4104 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4106 2013-10-04 Alan Modra <amodra@gmail.com>
4108 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4109 (rTMP): Define as r11.
4110 (strcmp): Add little-endian support. Optimise tail.
4111 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4112 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4113 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4114 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4115 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4116 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4119 2013-10-04 Alan Modra <amodra@gmail.com>
4121 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4122 little-endian support. Remove unnecessary "are we done" tests.
4123 Handle "s" wrapping around zero and extremely large "size".
4124 Correct main loop count. Handle single left-over word from main
4125 loop inline rather than by using small_loop. Correct comments.
4126 Delete "zero" tail, use "end_max" instead.
4127 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4129 2013-10-04 Alan Modra <amodra@gmail.com>
4131 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4132 support. Don't branch over align.
4133 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4134 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4135 support. Rearrange tmp reg use to suit. Comment.
4136 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4138 2013-10-04 Alan Modra <amodra@gmail.com>
4140 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4142 2013-10-04 Alan Modra <amodra@gmail.com>
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4145 conditional form of branch and link when obtaining pc.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4148 2013-10-04 Alan Modra <amodra@gmail.com>
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4155 2013-10-04 Alan Modra <amodra@gmail.com>
4157 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4158 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4159 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4160 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4161 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4162 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4163 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4164 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4165 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4166 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4168 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4169 Alistair Popple <alistair@ozlabs.au.ibm.com>
4170 Alan Modra <amodra@gmail.com>
4173 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4174 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4175 _dl_hwcap access for little-endian.
4176 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4177 destroy vmx regs when saving unaligned.
4178 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4179 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4180 destroy vmx regs when saving unaligned.
4182 2013-10-04 Alan Modra <amodra@gmail.com>
4184 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4185 Don't use a union to pack hi/low value.
4187 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4189 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4191 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4193 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4194 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4195 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4197 2013-10-04 Alan Modra <amodra@gmail.com>
4199 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4200 constants to usual value for .cst8 section, and remove redundant
4202 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4203 constant for 0x1p52. Load little-endian words of double from
4204 correct stack offsets.
4206 2013-10-04 Alan Modra <amodra@gmail.com>
4208 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4209 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4210 words of double from correct stack offsets.
4211 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4212 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4213 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4214 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4215 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4216 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4217 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4218 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4219 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4220 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4221 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4222 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4223 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4224 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4225 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4226 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4227 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4229 2013-10-04 Alan Modra <amodra@gmail.com>
4231 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4232 64-bit int/double union.
4233 (_FPU_SETCW): Likewise.
4234 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4235 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4237 2013-10-04 Alan Modra <amodra@gmail.com>
4239 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4240 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4242 2013-10-04 Alan Modra <amodra@gmail.com>
4244 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4245 use vector int constants.
4246 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4248 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4250 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4251 array with long long.
4252 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4253 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4254 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4255 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4256 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4257 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4258 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4259 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4260 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4261 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4262 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4263 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4264 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4266 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4268 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4269 (__signbit): Likewise. Correct for little-endian.
4270 (__signbitl): Call __signbit.
4271 (lrint): Correct for little-endian.
4272 (lrintf): Call lrint.
4274 2013-10-04 Alan Modra <amodra@gmail.com>
4276 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4277 union 32-bit int array member with 64-bit int array.
4278 (t515, tm256): Double rather than long double.
4279 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4281 2013-10-04 Alan Modra <amodra@gmail.com>
4283 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4285 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4287 version of math_ldbl.h.
4289 2013-10-04 Alan Modra <amodra@gmail.com>
4291 [BZ #15734], [BZ #15735]
4292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4293 all uses of ieee875 long double macros and unions. Simplify test
4294 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4295 ldbl_extract_mantissa value for ix,iy exponents. Properly
4296 normalize after ldbl_extract_mantissa, and don't add hidden bit
4297 already handled. Don't treat low word of ieee854 mantissa like
4298 low word of IBM long double and mask off bit when testing for
4300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4301 all uses of ieee875 long double macros and unions. Simplify tests
4302 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4303 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4304 two1022, instead use their values. Recognise that tests for large
4305 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4306 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4307 Rewrite all uses of ieee875 long double macros and unions. Simplify
4308 test for 0.0L and nan. Correct negation.
4309 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4310 ieee875 long double macros and unions. Correct output for large
4311 magnitude x. Correct absolute value calculation.
4312 (__erfcl): Likewise.
4313 * math/libm-test.inc: Add tests for errors discovered in IBM long
4314 double versions of fmodl, remainderl, erfl and erfcl.
4316 2013-10-04 Alan Modra <amodra@gmail.com>
4318 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4319 all uses of ieee854 long double macros and unions. Simplify tests
4320 for long doubles that are fully specified by the high double.
4321 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4323 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4324 Remove dead code too.
4325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4326 (__ieee754_ynl): Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4330 Remove dead code too.
4331 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4341 Comment on variable precision.
4342 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4345 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4348 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4349 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4351 2013-10-04 Alan Modra <amodra@gmail.com>
4353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4355 all uses of ieee854 long double macros and unions.
4356 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4357 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4359 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4360 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4361 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4363 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4369 Simplify sign and nan test too.
4370 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4375 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4380 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4381 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4385 2013-10-04 Alan Modra <amodra@gmail.com>
4387 * stdio-common/printf_size.c (__printf_size): Don't use
4388 union ieee854_long_double in fpnum union.
4389 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4390 signbit macro to retrieve sign from long double.
4391 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4392 retrieve sign from long double.
4393 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4394 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4395 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4396 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4397 * math/test-misc.c (main): Don't use union ieee854_long_double.
4399 2013-10-04 Alan Modra <amodra@gmail.com>
4402 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4404 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4405 calculation. Remove unnecessary test for denormal exponent.
4406 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4407 Correct handling of denormals. Avoid undefined shift behaviour.
4408 Correct normalisation of low mantissa when low double is denormal.
4409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4410 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4411 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4412 Correct normalisation of low mantissa. Test for overflow of high
4413 mantissa and normalise.
4414 (ldbl_nearbyint): Use more readable constant for two52.
4415 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4416 (__mpn_construct_long_double): Fix test for overflow of high
4417 mantissa and correct normalisation. Avoid undefined shift.
4419 2013-10-04 Alan Modra <amodra@gmail.com>
4421 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4422 (union ibm_extended_long_double): Define as an array of ieee754_double.
4423 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4424 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4425 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4426 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4435 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4437 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4438 page size instead of calling getpagesize.
4440 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4441 (LOCFILE_ALIGN_MASK): Likewise.
4442 (LOCFILE_ALIGN_UP): Likewise.
4443 (LOCFILE_ALIGNED_P): Likewise.
4444 * locale/programs/ld-collate.c (collate_output): Use the new
4445 macros instead of __alignof__ (int32_t).
4446 * locale/weight.h (findidx): Likewise.
4448 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4451 * manual/string.texi: Fix strncat and wcsncat.
4453 2013-10-03 Brooks Moses <bmoses@google.com>
4456 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4457 * Makerules: ...here, and adjust associated comments.
4459 2013-10-02 Will Newton <will.newton@linaro.org>
4461 * malloc/Makefile: Add tst-pvalloc.
4462 * malloc/tst-pvalloc.c: New file.
4464 2013-10-02 Will Newton <will.newton@linaro.org>
4466 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4467 improve test coverage.
4469 2013-10-02 Will Newton <will.newton@linaro.org>
4471 * malloc/Makefile: Add tst-posix_memalign.
4472 * malloc/tst-posix_memalign.c: New file.
4474 2013-10-01 Eric Blake <eblake@redhat.com>
4476 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4477 Use __THROWNL rather than __THROW on static functions.
4479 2013-09-30 Petr Machata <pmachata@redhat.com>
4481 * elf/elf.h (R_AARCH64_ABS16): New macro.
4482 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4483 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4484 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4485 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4486 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4487 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4488 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4489 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4490 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4491 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4492 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4493 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4494 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4495 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4496 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4497 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4498 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4499 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4500 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4501 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4502 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4503 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4504 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4505 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4506 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4507 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4508 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4509 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4510 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4511 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4512 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4513 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4514 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4515 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4516 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4517 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4518 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4519 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4520 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4521 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4522 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4523 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4524 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4525 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4526 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4527 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4528 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4529 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4530 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4531 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4532 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4533 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4534 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4535 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4536 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4537 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4538 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4539 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4540 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4541 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4542 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4543 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4544 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4545 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4546 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4547 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4548 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4549 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4550 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4551 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4552 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4553 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4554 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4555 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4556 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4557 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4558 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4559 (R_AARCH64_TLSDESC_LDR): Likewise.
4560 (R_AARCH64_TLSDESC_ADD): Likewise.
4561 (R_AARCH64_TLSDESC_CALL): Likewise.
4563 2013-09-30 Andreas Schwab <schwab@suse.de>
4566 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4567 the nss database lookup.
4568 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4571 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4573 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4575 2013-09-28 P. J. McDermott <pj@pehjota.net>
4577 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4578 ${Bash-specific parameter/pattern/string} parameter expansion.
4579 * sysdeps/unix/make-syscalls.sh: Likewise.
4581 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4583 * sysdeps/sh/stackguard-macros.h: New file.
4585 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4589 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4590 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4592 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4594 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4596 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4597 Fix thread ID register.
4599 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4601 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4602 [POSIX || UNIX98]: Require rather than permitting all symbols from
4604 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4605 element of struct sched_param.
4606 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4607 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4608 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4609 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4612 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4614 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4615 argument calculation.
4617 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4619 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4621 [POSIX] (pthread_attr_t): Do not require type.
4622 [POSIX] (pthread_cond_t): Likewise.
4623 [POSIX] (pthread_condattr_t): Likewise.
4624 [POSIX] (pthread_key_t): Likewise.
4625 [POSIX] (pthread_mutex_t): Likewise.
4626 [POSIX] (pthread_mutexattr_t): Likewise.
4627 [POSIX] (pthread_once_t): Likewise.
4628 [POSIX] (pthread_t): Likewise.
4629 [POSIX-based standards] (pthread_atfork): Expect function.
4631 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4632 Richard Sandiford <richard@codesourcery.com>
4634 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4635 (swap_endianness_p): New extern variable.
4636 (set_big_endian): New inline function.
4637 (maybe_swap_uint32): Likewise.
4638 (maybe_swap_uint32_array): Likewise.
4639 (maybe_swap_uint32_obstack): Likewise.
4640 * locale/programs/locfile.c: Include <stdbool.h>.
4641 (swap_endianness_p): New variable.
4642 (add_locale_uint32): Call maybe_swap_uint32.
4643 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4644 (write_locale_data): Call maybe_swap_uint32_array.
4645 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4647 (obstack_int32_grow_fast): Likewise.
4648 (output_weightwc): Call maybe_swap_uint32_obstack.
4649 (collate_output): Likewise.
4650 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4651 (OPT_LITTLE_ENDIAN): Likewise.
4652 (options): Add --little-endian and --big-endian options.
4653 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4654 * locale/programs/locarchive.c: Include "locfile.h".
4658 (create_archive): Use the new macros to access fields of
4659 structures directly mapped from or written to locale archives.
4660 (oldlocrecentcmp): Likewise.
4661 (enlarge_archive): Likewise.
4662 (insert_name): Likewise.
4663 (add_alias): Likewise.
4664 (add_locale): Likewise.
4665 (delete_locales_from_archive): Likewise.
4666 (show_archive_content): Likewise.
4667 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4670 2013-09-24 Roland McGrath <roland@hack.frob.com>
4672 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4673 http://www.gnu.org/doc/freemanuals.texi.
4674 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4676 2013-09-24 Will Newton <will.newton@linaro.org>
4678 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4681 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4683 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4686 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4688 * manual/threads.texi (POSIX Threads): Fix a typo.
4690 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4693 * string/tst-strcoll-overflow.c: New test case.
4694 * string/Makefile (xtests): Add tst-strcoll-overflow.
4695 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4696 cache if string sizes may cause integer overflow.
4699 * string/strcoll_l.c (coll_seq): New members rule, idx,
4700 save_idx and back_us.
4701 (get_next_seq_nocache): New function.
4702 (do_compare_nocache): New function.
4703 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4706 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4709 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4710 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4711 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4714 * elf/Makefile (tests): Add tst-ptrguard1.
4715 (tests-static): Add tst-ptrguard1-static.
4716 (tst-ptrguard1-ARGS): Define.
4717 (tst-ptrguard1-static-ARGS): Define.
4718 * elf/tst-ptrguard1.c: New file.
4719 * elf/tst-ptrguard1-static.c: New file.
4720 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4721 * sysdeps/i386/stackguard-macros.h: Likewise.
4722 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4723 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4724 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4725 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4726 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4727 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4729 2013-09-23 Hector Marco <hecmargi@upv.es>
4730 Ismael Ripoll <iripoll@disca.upv.es>
4731 Carlos O'Donell <carlos@redhat.com>
4734 * sysdeps/generic/stackguard-macros.h: Define
4735 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4736 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4737 Define __pointer_chk_guard_local.
4738 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4739 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4741 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4744 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4746 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4748 * include/string.h (__ffs): Declare as hidden.
4749 * string/ffs.c (__ffs): Define as hidden.
4750 * sysdeps/i386/ffs.c (__ffs): Likewise.
4751 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4752 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4753 * sysdeps/s390/ffs.c (__ffs): Likewise.
4754 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4756 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4758 * NEWS: Mention malloc probes.
4760 * malloc/arena.c (new_heap): New memory_heap_new probe.
4761 (grow_heap): New memory_heap_more probe.
4762 (shrink_heap): New memory_heap_less probe.
4763 (heap_trim): New memory_heap_free probe.
4764 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4765 (systrim): New memory_sbrk_less probe.
4766 * manual/probes.texi: Document them.
4768 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4769 * manual/probes.texi: Document it.
4771 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4772 (__libc_realloc): Add memory_realloc_retry probe.
4773 (__libc_memalign): Add memory_memalign_retry probe.
4774 (__libc_valloc): Add memory_valloc_retry probe.
4775 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4776 (__libc_calloc): Add memory_calloc_retry probe.
4777 * manual/probes.texi: Document them.
4779 * malloc/arena.c (get_free_list): Add probe
4780 memory_arena_reuse_free_list.
4781 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4782 and memory_arena_reuse.
4783 (arena_get2) [!PER_THREAD]: Likewise.
4784 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4785 memory_arena_reuse_realloc.
4786 * manual/probes.texi: Document them.
4788 * malloc/malloc.c (__libc_free): Add
4789 memory_mallopt_free_dyn_thresholds probe.
4790 (__libc_mallopt): Add multiple memory_mallopt probes.
4791 * manual/probes.texi: Document them.
4793 * malloc/malloc.c: Include stap-probe.h.
4794 (__libc_mallopt): Add memory_mallopt probe.
4795 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4796 * manual/probes.texi: New.
4797 * manual/Makefile (chapters): Add probes.
4798 * manual/threads.texi: Set next node.
4800 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4803 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4804 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4805 Add `Chinese' to `nan' entry name.
4807 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4809 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4810 (POLYNOMIAL): Likewise.
4811 (TAYLOR_SINCOS): Likewise.
4812 (TAYLOR_SLOW): Likewise.
4813 (__sin): Use TAYLOR_SINCOS.
4815 (slow): Use TAYLOR_SLOW.
4820 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4822 * stdlib/strtod_l.c: Fix buffer overrun.
4824 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4826 * benchtests/Makefile (bench): Add sincos.
4827 * benchtests/bench-sincos.c: New file.
4829 * math/libm-test.inc (cos_test_data): New test inputs.
4830 (sin_test_data): Likewise.
4832 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4840 (bsloww1): Likewise.
4841 (bsloww2): Likewise.
4843 (csloww1): Likewise.
4844 (csloww2): Likewise.
4846 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4855 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4857 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4858 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4859 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4860 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4861 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4862 * elf/cache.c (print_entry): Handle the new cache flags.
4864 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4865 Aldy Hernandez <aldyh@redhat.com>
4867 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4868 Change condition to [_SOFT_FLOAT].
4869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4881 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4884 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4887 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4889 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4890 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4891 (__longjmp): Use LOAD_GP to load saved GPRs.
4892 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4893 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4894 (__sigsetjmp): Use SAVE_GP to save GPRs.
4896 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4897 Do not append -msoft-float.
4898 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4900 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4902 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4904 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4907 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4908 (_FPU_GETCW): Use initial "__" on variable and field names but not
4909 on macro parameter name.
4910 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4911 parentheses around reference to macro parameter.
4913 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4915 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4917 (ctype_startup): Use uint32_t in cast and sizeof for
4920 2013-09-11 Jia Liu <proljc@gmail.com>
4922 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4924 [__FreeBSD__]: Likewise.
4926 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4929 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4930 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4931 (strchr): Remove __strchr_sse42 ifunc selection.
4932 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4933 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4935 2013-09-11 Will Newton <will.newton@linaro.org>
4937 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4938 parameter to RES. Remove hardcoded 1000 value.
4939 * benchtests/bench-skeleton.c (main): Pass RES parameter
4940 to TIMING_INIT and multiply result by 1000.
4942 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4946 2013-09-11 Andreas Schwab <schwab@suse.de>
4948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4950 (O_TMPFILE) [__USE_GNU]: Define.
4951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4954 2013-09-11 Will Newton <will.newton@linaro.org>
4957 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4960 2013-09-11 Will Newton <will.newton@linaro.org>
4963 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4966 2013-09-11 Will Newton <will.newton@linaro.org>
4969 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4972 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4974 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4977 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4978 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4980 2013-09-10 Allan McRae <allan@archlinux.org>
4983 * manual/arith.texi (Parsing of Floats): Clarify
4987 * manual/install.texi (Running make install): Mention
4989 * INSTALL: Regenerated.
4991 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4993 * csu/init-first.c (_init): Remove the !SHARED condition around
4994 FPU control word initialization.
4995 * elf/dl-support.c (_dl_fpu_control): New variable.
4996 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4997 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4998 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4999 * math/test-fpucw-static.c: New file.
5000 * math/test-fpucw-ieee.c: New file.
5001 * math/test-fpucw-ieee-static.c: New file.
5002 * math/Makefile (tests): Add `test-fpucw-ieee' and
5004 (tests-static): New variable.
5005 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5007 [($(build-shared),yes)]
5008 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5010 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5013 2013-09-09 Allan McRae <allan@archlinux.org>
5016 * manual/string.texi (Collation Functions): Fix typo in
5018 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5021 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5024 * libio/memstream.c (open_memstream): Fix memory leak.
5025 * libio/wmemstream.c (open_wmemstream): Likewise.
5028 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5030 2013-09-09 Will Newton <will.newton@linaro.org>
5032 * malloc/Makefile: Add tst-realloc to tests.
5033 * malloc/tst-realloc.c: New file.
5035 2013-09-09 Allan McRae <allan@archlinux.org>
5038 * COPYING: Update from GNU website to fix FSF address.
5039 * COPYING.LIB: Likewise.
5041 2013-09-06 David S. Miller <davem@davemloft.net>
5043 * po/zh_TW.po: Update Chinese (traditional) translation from
5044 translation project.
5046 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5047 Joseph Myers <joseph@codesourcery.com>
5049 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5051 (obstack_chunk_alloc): New macro.
5052 (obstack_chunk_free): Likewise.
5053 (record_offset): New function.
5054 (init_locale_data): Likewise.
5055 (align_locale_data): Likewise.
5056 (add_locale_empty): Likewise.
5057 (add_locale_raw_data): Likewise.
5058 (add_locale_raw_obstack): Likewise.
5059 (add_locale_string): Likewise.
5060 (add_locale_wstring): Likewise.
5061 (add_locale_uint32): Likewise.
5062 (add_locale_uint32_array): Likewise.
5063 (add_locale_char): Likewise.
5064 (start_locale_structure): Likewise.
5065 (end_locale_structure): Likewise.
5066 (start_locale_prelude): Likewise.
5067 (end_locale_prelude): Likewise.
5068 (write_locale_data): Take locale_file structure rather than an
5070 * locale/programs/locfile.h: Include "obstack.h".
5071 (struct locale_file): Change to store locale file contents instead
5073 (init_locale_data): New prototype.
5074 (align_locale_data): Likewise.
5075 (add_locale_empty): Likewise.
5076 (add_locale_raw_data): Likewise.
5077 (add_locale_raw_obstack): Likewise.
5078 (add_locale_string): Likewise.
5079 (add_locale_wstring): Likewise.
5080 (add_locale_uint32): Likewise.
5081 (add_locale_uint32_array): Likewise.
5082 (add_locale_char): Likewise.
5083 (start_locale_structure): Likewise.
5084 (end_locale_structure): Likewise.
5085 (start_locale_prelude): Likewise.
5086 (end_locale_prelude): Likewise.
5087 (write_locale_data): Update prototype.
5088 * locale/programs/3level.h (struct TABLE): Remove result field.
5089 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5090 Use new locale_file interface.
5091 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5092 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5093 * locale/programs/ld-address.c (address_output): Use new
5094 locale_file interface.
5095 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5097 (collate_finish): Don't call collseq_table_finalize.
5098 (collate_output): Use new locale_file interface.
5099 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5101 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5102 (TABLE): Move defines earlier in file.
5103 (ELEMENT): Likewise.
5104 (DEFAULT): Likewise.
5105 (wctrans_table_add): Move macro and inline function earlier in
5107 (struct wctype_table): Move type earlier in file.
5108 (add_locale_wctype_table): New static prototype.
5109 (struct locale_ctype_t): Use logical types instead of struct iovec
5110 pointers for members.
5111 (ctype_output): Use new locale_file interface.
5112 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5113 new locale_file interface.
5114 (allocate_arrays): Update for use of new locale_file interface.
5115 * locale/programs/ld-identification.c (identification_output): Use
5116 new locale_file interface.
5117 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5118 * locale/programs/ld-messages.c (messages_output): Likewise.
5119 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5120 * locale/programs/ld-name.c (name_output): Likewise.
5121 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5122 * locale/programs/ld-paper.c (paper_output): Likewise.
5123 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5124 * locale/programs/ld-time.c (time_output): Likewise.
5126 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5128 * benchtests/Makefile: Add memrchr benchmark.
5129 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5130 benchmark as memrchr.
5131 * benchtests/bench-memrchr-ifunc.c: New file.
5132 * benchtests/bench-memrchr.c: New file.
5134 2013-09-06 Will Newton <will.newton@linaro.org>
5136 * benchtests/Makefile (string-bench): Add memcpy.
5138 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5139 Cong Wang <amwang@redhat.com>
5141 * sysdeps/unix/sysv/linux/bits/in.h
5142 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5143 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5144 before __USE_KERNEL_IPV6_DEFS uses.
5145 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5147 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5148 sockaddr_in6, or ipv6_mreq.
5150 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5152 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5153 memory access for final bytes in some large inputs.
5154 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5156 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5158 * string/test-memrchr.c: New file.
5159 * string/test-memrchr-ifunc.c: New file.
5160 * string/Makefile: Add new memrchr testcase.
5162 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5164 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5165 fanotify_init returns EPERM.
5167 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5169 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5171 (top level): Treat second token from macro or constant entries for
5172 allowed headers as allowed.
5173 * include/complex.h: Condition internal declarations on
5175 * include/fenv.h: Condition include of <stdbool.h> and internal
5176 declarations on [!_ISOMAC].
5178 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5181 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5183 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5185 * configure.in (--enable-versioning): Remove configure option.
5186 (libc_cv_asm_symver_directive): Remove configure test.
5187 (libc_cv_ld_version_script_option): Likewise.
5188 (VERSIONING): Remove variable and AC_SUBST.
5189 (DO_VERSIONING): Remove AC_DEFINE.
5190 * configure: Regenerated.
5191 * config.h.in (DO_VERSIONING): Remove macro.
5192 * Makerules [$(versioning) = yes]: Change conditionals to
5193 [$(build-shared) = yes].
5194 * config.make.in (versioning): Remove variable.
5195 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5196 [$(build-shared) = yes].
5197 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5198 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5199 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5200 [$(build-shared) = yes].
5201 * extra-lib.mk [$(versioning) = yes]: Likewise.
5202 * hurd/Makefile [$(versioning) = yes]: Likewise.
5203 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5205 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5207 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5208 [SHARED && !NO_HIDDEN].
5209 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5211 [SHARED && DO_VERSIONING]: Likewise..
5212 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5213 [$(build-shared) = yes].
5214 * manual/install.texi (--disable-versioning): Remove
5216 * INSTALL: Regenerated.
5217 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5219 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5220 [$(build-shared) = yes].
5221 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5222 * sysdeps/i386/i686/multiarch/strstr-c.c
5223 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5224 [SHARED && !NO_HIDDEN].
5225 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5226 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5227 * sysdeps/powerpc/powerpc32/dl-machine.c
5228 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5229 * sysdeps/powerpc/powerpc32/sysdep.h
5230 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5231 to [SHARED && PIC && !NO_HIDDEN].
5232 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5233 conditional to [SHARED].
5235 2013-09-04 Will Newton <will.newton@linaro.org>
5237 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5238 * benchtests/bench-string.h: Include bench-timing.h instead
5239 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5240 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5241 call to HP_TIMING_DIFF_INIT.
5242 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5243 instead of hp-timing.h macros.
5244 * benchtests/bench-memchr.c: Likewise.
5245 * benchtests/bench-memcmp.c: Likewise.
5246 * benchtests/bench-memcpy.c: Likewise.
5247 * benchtests/bench-memmem.c: Likewise.
5248 * benchtests/bench-memmove.c: Likewise.
5249 * benchtests/bench-memset.c: Likewise.
5250 * benchtests/bench-rawmemchr.c: Likewise.
5251 * benchtests/bench-strcasecmp.c: Likewise.
5252 * benchtests/bench-strcasestr.c: Likewise.
5253 * benchtests/bench-strcat.c: Likewise.
5254 * benchtests/bench-strchr.c: Likewise.
5255 * benchtests/bench-strcmp.c: Likewise.
5256 * benchtests/bench-strcpy.c: Likewise.
5257 * benchtests/bench-strcpy_chk.c: Likewise.
5258 * benchtests/bench-strlen.c: Likewise.
5259 * benchtests/bench-strncasecmp.c: Likewise.
5260 * benchtests/bench-strncat.c: Likewise.
5261 * benchtests/bench-strncmp.c: Likewise.
5262 * benchtests/bench-strncpy.c: Likewise.
5263 * benchtests/bench-strnlen.c: Likewise.
5264 * benchtests/bench-strpbrk.c: Likewise.
5265 * benchtests/bench-strrchr.c: Likewise.
5266 * benchtests/bench-strspn.c: Likewise.
5267 * benchtests/bench-strstr.c: Likewise.
5269 2013-09-04 Will Newton <will.newton@linaro.org>
5271 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5273 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5277 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5278 * math/libm-test.inc (lgamma_test_data): Add more tests.
5279 * sysdeps/i386/fpu/libm-test-ulps: Update.
5280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5282 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5284 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5288 Add strcmp-sse2-unaligned
5289 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5291 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5293 * Versions.def (libc): Add GLIBC_2.19.
5295 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5297 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5298 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5300 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5303 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5304 intermediate calculations in recurrence.
5305 (__ieee754_ynf): Likewise.
5306 * math/libm-test.inc (jn_test_data): Do not allow spurious
5307 underflow exception. Add more tests.
5308 (yn_test_data): Add more tests.
5309 * sysdeps/i386/fpu/libm-test-ulps: Update.
5310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5312 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5314 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5316 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5318 * csu/init-first.c: Fix then/than typos.
5319 * locale/programs/ld-collate.c: Likewise.
5320 * locale/programs/linereader.h: Likewise.
5321 * manual/charset.texi: Likewise.
5322 * manual/filesys.texi: Likewise.
5323 * manual/stdio.texi: Likewise.
5324 * manual/string.texi: Likewise.
5325 * stdlib/fmtmsg.c: Likewise.
5326 * sysdeps/i386/stpncpy.S: Likewise.
5327 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5328 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5329 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5332 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5334 * elf/dl-open.c: Fix typos.
5335 * iconvdata/gbbig5.c: Likewise.
5336 * iconvdata/iso-2022-jp.c: Likewise.
5337 * iconv/gconv_int.h: Likewise.
5338 * iconv/loop.c: Likewise.
5339 * nis/rpcsvc/nis.h: Likewise.
5340 * resolv/ns_name.c: Likewise.
5341 * stdio-common/vfscanf.c: Likewise.
5342 * streams/stropts.h: Likewise.
5343 * sunrpc/rpc_thread.c: Likewise.
5344 * sysdeps/i386/strpbrk.S: Likewise.
5345 * sysdeps/ieee754/k_standard.c: Likewise.
5346 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5348 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5349 * sysdeps/mach/hurd/profil.c: Likewise.
5350 * sysdeps/s390/dl-procinfo.h: Likewise.
5351 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5352 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5353 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5354 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5355 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5357 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5359 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5360 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5362 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5364 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5366 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5367 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5368 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5369 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5370 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5371 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5372 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5373 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5375 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5376 Roland McGrath <roland@hack.frob.com>
5378 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5379 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5381 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5383 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5384 __executable_start symbol instead of _start.
5386 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5388 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5389 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5391 * sysdeps/gnu/ldsodefs.h: ... this new file.
5393 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5394 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5395 instead of ELFOSABI_LINUX.
5397 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5398 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5399 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5400 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5402 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5403 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5406 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5407 (ibm_extended_long_double): Add ieee_nan member.
5408 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5409 (do_test): New function.
5411 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5413 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5414 functions, renamed from truncdfsf_test, trunctfsf_test,
5416 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5418 (do_test): Run all these.
5420 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5422 * argp/argp-help.c: Fix typos.
5423 * argp/argp-parse.c: Likewise.
5424 * debug/backtracesyms.c: Likewise.
5425 * elf/elf.h: Likewise.
5426 * malloc/malloc.c: Likewise.
5427 * nis/nis_print.c: Likewise.
5428 * resolv/res_comp.c: Likewise.
5429 * stdlib/stdlib.h: Likewise.
5430 * sunrpc/clnt_tcp.c: Likewise.
5431 * sunrpc/clnt_udp.c: Likewise.
5432 * sunrpc/clnt_unix.c: Likewise.
5433 * sysdeps/unix/bsd/ptsname.c: Likewise.
5434 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5435 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5442 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5444 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5446 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5449 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5452 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5453 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5454 ($(objpfx)bug-dl-leaf): New rule.
5455 ($(objpfx)bug-dl-leaf.so): Likewise.
5456 ($(objpfx)bug-dl-leaf.out): Likewise.
5457 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5458 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5459 * dlfcn/bug-dl-leaf.c: New test.
5460 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5461 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5462 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5463 (dlclose): Likewise.
5464 (dlmopen): Likewise.
5466 2013-08-27 Roland McGrath <roland@hack.frob.com>
5468 * include/netdb.h [!_ISOMAC]:
5469 Don't include <tls.h>.
5470 (h_errno, __libc_h_errno): Move declaration and macros out of
5473 * include/resolv.h [_RESOLV_H_]:
5474 Don't include <tls.h>.
5475 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5476 * resolv/res_libc.c: Don't include <tls.h>.
5477 (_res): Use __attribute__ ((nocommon)) in place of
5478 __attribute__ ((section (".bss"))).
5480 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5481 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5483 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5485 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5486 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5488 * resolv/res_mkquery.c: Include <sys/time.h>.
5490 * inet/ifreq.c: Moved to ...
5491 * sysdeps/unix/ifreq.c: ... here.
5492 * inet/ifreq.c: New file, true stub version.
5494 * socket/sa_len.c: New file.
5495 * socket/Makefile (aux): Add it.
5496 * sysdeps/unix/sysv/linux/Makefile
5497 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5498 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5499 and #include <socket/sa_len.c>.
5500 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5501 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5503 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5504 * bits/socket.h: ... here.
5506 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5507 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5508 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5510 2013-08-27 Andreas Schwab <schwab@suse.de>
5513 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5514 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5515 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5516 * string/test-strcasecmp.c (test_main): Run tests in several
5518 * string/test-strncasecmp.c (test_main): Likewise.
5520 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5521 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5522 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5524 (__strncasecmp_ssse3) [PIC]: Likewise.
5526 2013-08-26 Roland McGrath <roland@hack.frob.com>
5528 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5530 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5531 instead of explicitly declaring xdecrypt.
5532 * nis/nss_nis/nis-publickey.c: Likewise.
5534 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5537 * nscd/aicache.c: Include res_hconf.h.
5538 (addhstaiX): Initialize res_hconf.
5540 2013-08-26 Andreas Schwab <schwab@suse.de>
5542 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5543 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5545 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5547 * nscd/aicache.c (addhstaiX): Fix indentation.
5549 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5551 * configure.ac: Quote $build_pt_chown test.
5552 * configure: Regenerated.
5554 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5557 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5558 * math/s_cexpf.c (__cexpf): Likewise.
5559 * math/s_cexpl.c (__cexpl): Likewise.
5560 * math/libm-test.inc (cexp_test_data): Correct expected return
5561 value for NaN + i0. Add another test.
5563 2013-08-22 David S. Miller <davem@davemloft.net>
5565 * po/ca.po: Update Catalan translation from translation project.
5566 * po/uk.po: Add Ukrainian translations from translation project.
5568 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5571 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5572 is infinite, not alongside NaN test.
5573 * math/s_fdimf.c (__fdimf): Likewise.
5574 * math/s_fdiml.c (__fdiml): Likewise.
5575 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5578 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5580 * argp/argp-help.c: Fix typos.
5581 * crypt/speeds.c: Likewise.
5582 * csu/check_fds.c: Likewise.
5583 * elf/dl-load.c: Likewise.
5584 * elf/dl-open.c: Likewise.
5585 * elf/reldep3.c: Likewise.
5586 * elf/reldep.c: Likewise.
5587 * elf/sprof.c: Likewise.
5588 * iconv/iconv_charmap.c: Likewise.
5589 * iconv/skeleton.c: Likewise.
5590 * iconv/strtab.c: Likewise.
5591 * io/lockf64.c: Likewise.
5592 * libio/libioP.h: Likewise.
5593 * resolv/gai_notify.c: Likewise.
5594 * resolv/ns_name.c: Likewise.
5595 * resolv/ns_samedomain.c: Likewise.
5596 * resolv/res_send.c: Likewise.
5597 * stdlib/random.c: Likewise.
5598 * sunrpc/rpc/xdr.h: Likewise.
5599 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5600 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5601 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5602 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5603 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5605 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5606 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5607 * sysdeps/mach/hurd/check_fds.c: Likewise.
5608 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5609 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5610 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5611 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5612 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5613 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5614 * sysdeps/pthread/aio_notify.c: Likewise.
5615 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5616 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5617 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5618 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5619 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5621 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5623 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5624 version if bit_Slow_SSE4_2 is set.
5625 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5626 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5628 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5632 trampoline stack frame information.
5633 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5634 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5635 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5636 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5637 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5638 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5639 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5640 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5642 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5643 interrupting a syscall and set with option SA_SIGINFO.
5645 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5648 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5649 argument is infinite.
5650 * math/s_cprojf.c (__cprojf): Likewise.
5651 * math/s_cprojl.c (__cprojl): Likewise.
5652 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5653 * math/libm-test.inc (cproj_test_data): Add more tests.
5655 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5657 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5658 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5659 size. Use __ffs to determine corresponding shift.
5661 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5662 Roland McGrath <roland@hack.frob.com>
5664 * Makefile (INSTALL): Remove trailing blank lines from output of
5667 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5669 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5670 Align 32 bit compat elf_greg to 8 bytes.
5672 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5674 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5676 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5678 * string/strcoll_l.c (coll_seq): New structure.
5679 (get_next_seq_cached): New function.
5680 (get_next_seq): New function.
5681 (do_compare): New function.
5682 (STRCOLL): Use GNU style definition. Simplify implementation
5683 by using get_next_seq, get_next_seq_cached and do_compare.
5685 2013-08-16 Florian Weimer <fweimer@redhat.com>
5689 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5691 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5693 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5694 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5695 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5697 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5698 GETDENTS_64BIT_ALIGNED.
5699 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5700 * manual/filesys.texi (Reading/Closing Directory): Document
5701 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5703 * manual/conf.texi (Limits for Files): Add portability note to
5705 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5707 2013-08-13 Andreas Schwab <schwab@suse.de>
5710 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5712 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5713 LDBL_MAX_EXP >= 16384]: Add tests for it.
5715 2013-08-12 David S. Miller <davem@davemloft.net>
5717 * version.h (RELEASE): Set to "development".
5718 (VERSION): Set to "2.18.90".
5719 * NEWS: Add 2.19 section.
5721 2013-08-03 David S. Miller <davem@davemloft.net>
5723 * po/ko.po: Update Korean translation from translation project.
5725 2013-08-01 David S. Miller <davem@davemloft.net>
5727 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5728 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5731 2013-07-30 David S. Miller <davem@davemloft.net>
5733 * po/fr.po: Update French translation from translation project.
5735 2013-07-28 David S. Miller <davem@davemloft.net>
5737 * po/cs.po: Update Czech translation from translation project.
5739 * po/sv.po: Update Swedish translation from translation project.
5741 2013-07-27 David S. Miller <davem@davemloft.net>
5743 * po/eo.po: Update Esperanto translation from translation project.
5745 * po/vi.po: Update Vietnamese translation from translation project.
5747 * po/de.po: Update German translation from translation project.
5749 2013-07-26 David S. Miller <davem@davemloft.net>
5751 * po/bg.po: Update Bulgarian translation from translation project.
5753 * po/nl.po: Update Dutch translation from translation project.
5754 * po/pl.po: Update Polish translation from translation project.
5755 * po/ru.po: Update Russian translation from translation project.
5757 2013-07-24 David S. Miller <davem@davemloft.net>
5759 * po/libc.pot: Update.
5761 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5763 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5765 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5766 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5767 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5769 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5771 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5773 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5774 Andreas Schwab <schwab@suse.de>
5775 Roland McGrath <roland@hack.frob.com>
5776 Joseph Myers <joseph@codesourcery.com>
5777 Carlos O'Donell <carlos@redhat.com>
5780 * config.h.in: Define HAVE_PT_CHOWN.
5781 * config.make.in (build-pt-chown): New variable.
5782 * configure.in (--enable-pt_chown): New configure option.
5783 * configure: Regenerate.
5784 * login/Makefile: Include Makeconfig. Build pt_chown only if
5785 build-pt-chown is enabled.
5786 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5787 pt_chown to fix pty ownership.
5788 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5790 * manual/install.texi (Configuring and compiling): Mention
5791 --enable-pt_chown. Add @findex for grantpt.
5792 * INSTALL: Regenerate.
5794 2013-07-20 David S. Miller <davem@davemloft.net>
5796 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5797 difference between 32-bit and 64-bit.
5799 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5802 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5803 Avoid system header dependency with -ffreestanding.
5804 ($(objpfx)bits/syscall%d): Likewise.
5806 2013-07-13 David S. Miller <davem@davemloft.net>
5808 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5809 underflows from atanl/atan2l due to bug 15319.
5810 (casinh_test_data): Likewise.
5812 2013-07-07 David S. Miller <davem@davemloft.net>
5814 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5816 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5818 * sysdeps/i386/fpu/libm-test-ulps: Update.
5819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5821 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5823 * configure.in (--enable-lock-elision): Fix message text.
5824 * INSTALL: Regenerate.
5825 * configure: Regenerate.
5827 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5831 2013-07-03 Andreas Jaeger <aj@suse.de>
5833 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5835 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5836 (ptrace_peeksiginfo_args): Add.
5837 (__ptrace_peeksiginfo_flags): Add.
5838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5839 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5840 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5842 2013-07-03 Allan McRae <allan@archlinux.org>
5844 * sysdeps/i386/fpu/libm-test-ulps: Update.
5846 2013-07-02 David S. Miller <davem@davemloft.net>
5848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5850 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5854 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5856 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5859 2013-07-02 Andi Kleen <ak@linux.intel.com>
5861 * config.h.in (ENABLE_LOCK_ELISION): Add.
5862 * configure.in (--enable-lock-elision): Add option.
5863 * manual/install.texi: Document --enable lock elision.
5864 * configure: Regenerate
5865 * INSTALL: Regenerate.
5867 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5869 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5870 SSE4.2 strcasecmp for libc.a.
5871 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5873 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5876 * soft-fp/op-common.h (_FP_FMA): New macro.
5877 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5878 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5879 (_FP_MUL_MEAT_1_imm): ... here.
5880 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5881 (_FP_MUL_MEAT_1_wide): ... here.
5882 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5883 (_FP_MUL_MEAT_1_hard): ... here.
5884 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5885 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5886 (_FP_MUL_MEAT_2_wide): ... here.
5887 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5888 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5889 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5890 (_FP_MUL_MEAT_2_gmp): ... here.
5891 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5892 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5893 (_FP_MUL_MEAT_4_wide): ... here.
5894 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5895 (_FP_MUL_MEAT_4_gmp): ... here.
5896 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5897 (_FP_WFRACBITS_DW_S): Likewise.
5898 (_FP_WFRACXBITS_DW_S): Likewise.
5899 (_FP_HIGHBIT_DW_S): Likewise.
5900 (FP_FMA_S): Likewise.
5901 (_FP_FRAC_HIGH_DW_S): Likewise.
5902 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5903 (_FP_WFRACBITS_DW_D): Likewise.
5904 (_FP_WFRACXBITS_DW_D): Likewise.
5905 (_FP_HIGHBIT_DW_D): Likewise.
5906 (FP_FMA_D): Likewise.
5907 (_FP_FRAC_HIGH_DW_D): Likewise.
5908 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5909 (_FP_WFRACBITS_DW_E): Likewise.
5910 (_FP_WFRACXBITS_DW_E): Likewise.
5911 (_FP_HIGHBIT_DW_E): Likewise.
5912 (FP_FMA_E): Likewise.
5913 (_FP_FRAC_HIGH_DW_E): Likewise.
5914 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5915 (_FP_WFRACBITS_DW_Q): Likewise.
5916 (_FP_WFRACXBITS_DW_Q): Likewise.
5917 (_FP_HIGHBIT_DW_Q): Likewise.
5918 (FP_FMA_Q): Likewise.
5919 (_FP_FRAC_HIGH_DW_Q): Likewise.
5920 * soft-fp/fmasf4.c: New file.
5921 * soft-fp/fmadf4.c: Likewise.
5922 * soft-fp/fmatf4.c: Likewise.
5924 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5927 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5931 (index_Slow_SSE4_2): Likewise.
5932 (index_Prefer_PMINUB_for_stringop): Likewise.
5933 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5934 bit_Slow_SSE4_2 is set.
5935 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5936 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5938 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5940 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5941 rtld_global._dl_hwcap2.
5942 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5944 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5945 POWER8 feature descriptions defined in _dl_hwcap2.
5946 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5947 string handling for POWER8 feature bits.
5948 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5949 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5950 _dl_powerpc_cap_flags.
5951 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5952 * sysdeps/powerpc/rtld-global-offsets.sym
5953 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5954 _dl_hwcap2 in the rtld_global_ro structure.
5956 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5958 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5959 hardware capabilities in support of AT_HWCAP2.
5960 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5961 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5963 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5964 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5965 explicitly the unknown a_type display mechanism is used.
5966 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5967 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5969 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5970 to macro prototype for AT_HWCAP2 support.
5971 * sysdeps/i386/dl-procinfo.h: Likewise.
5972 * sysdeps/s390/dl-procinfo.h: Likewise.
5973 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5974 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5975 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5976 return -1 for unknown a_type display fallback.
5977 * sysdeps/sparc/dl-procinfo.h: Likewise.
5978 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5979 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5981 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5983 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5984 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5986 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5989 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5990 mprotect making __stack_prot writable.
5992 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5993 Joseph Myers <joseph@codesourcery.com>
5995 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5996 as being properly aligned.
5998 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6000 * dlfcn/modstatic5.c: New file.
6001 * dlfcn/tststatic5.c: New file.
6002 * dlfcn/Makefile (tests): Add tststatic5.
6003 (tests-static): Likewise.
6004 (modules-names): Add modstatic5.
6005 (tststatic5-ENV): New variable.
6006 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6009 * elf/dl-support.c (_dl_main_map): New variable.
6010 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6011 (_dl_nns, _dl_load_adds): Set to 1.
6012 (_dl_initial_searchlist): Refer to _dl_main_map.
6013 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6014 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6015 call to _dl_get_origin.
6016 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6018 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6019 * dlfcn/modstatic3.c: New file.
6020 * dlfcn/tststatic3.c: New file.
6021 * dlfcn/tststatic4.c: New file.
6022 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6023 (tests-static): Likewise.
6024 (modules-names): Add modstatic3.
6025 (tststatic3-ENV, tststatic4-ENV): New variables.
6026 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6027 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6029 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6031 * configure.in (CC): Require GCC version 4.4 or later.
6032 * configure: Regenerated.
6033 * manual/install.texi (Tools for Compilation): Update GCC version
6035 * INSTALL: Regenerated.
6037 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6040 * string/test-memcmp.c (check2): New.
6041 (main): Call check2.
6043 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6045 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6048 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6050 (dl_open_worker) [!SHARED]: ... here.
6052 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6054 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6056 2013-06-25 Richard Henderson <rth@redhat.com>
6058 * locale/programs/locarchive.c: Include <libc-internal.h>
6060 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6062 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6063 trailing whitespace removed.
6065 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6068 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6069 * locale/programs/locarchive.c: Include libc-mmap.h.
6070 (prepare_address_space): Take two new outputs (the mmap base and len).
6071 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6073 (create_archive): Declare new mmap base and len values for
6074 prepare_address_space, and store the result in ah.
6075 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6076 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6077 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6078 Declare new mmap base and len values for
6079 prepare_address_space, and store the result in new_ah.
6080 (open_archive): Declare new mmap base and len values for
6081 prepare_address_space, and store the result in ah.
6082 (close_archive): If ah->mmap_base is not NULL, use that and
6083 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6084 * sysdeps/generic/libc-mmap.h: New file.
6086 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6088 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6089 (ALIGN_UP): Likewise.
6090 (PTR_ALIGN_DOWN): Likewise.
6091 (PTR_ALIGN_UP): Likewise.
6093 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6095 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6096 entry mapped to PPC_PLATFORM_POWER8.
6097 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6099 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6100 (_dl_string_platform): Add case for exporting platform position for
6102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6103 search path to sysdeps/powerpc/powerpc32/power8 directory.
6104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6105 search path to sysdeps/powerpc/powerpc64/power8 directory.
6106 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6108 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6111 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6113 * INSTALL: Regenerate.
6115 * nscd/connections.c (nscd_init): Fix comment.
6117 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6119 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6122 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6123 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6125 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6127 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6129 (DL_DST_REQ_STATIC): Remove macro.
6131 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6134 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6135 with a shift of 0 bits.
6137 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6139 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6142 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6145 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6147 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6150 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6151 accepts -fno-tree-loop-distribute-patterns.
6152 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6153 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6155 * string/memset.c (memset): Likewise.
6156 * string/test-memmove.c (simple_memmove): Disable loop transformation
6158 * string/test-memset.c (simple_memset): Likewise.
6159 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6160 * benchtests/bench-memset.c (simple_memset): Likewise.
6161 * configure: Regenerated.
6163 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6165 * math/test-misc.c (main): Ignore fesetround failure when failures
6166 of subsequent rounding tests would be ignored.
6169 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6170 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6171 * math/fegetenv.c (__fegetenv): Return 0.
6172 * math/fegetexcept.c (fegetexcept): Return 0.
6173 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6175 * math/feholdexcpt.c (feholdexcept): Return 0.
6176 * math/fesetenv.c (__fesetenv): Return 0.
6177 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6178 argument FE_TONEAREST.
6179 * math/feupdateenv.c (__feupdateenv): Return 0.
6180 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6182 2013-06-18 Roland McGrath <roland@hack.frob.com>
6184 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6185 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6186 ($(objpfx)rtld-%.os rules): Use them.
6188 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6190 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6193 2013-06-17 Roland McGrath <roland@hack.frob.com>
6195 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6196 length of target pattern, then descending length of dependency pattern.
6197 * configure.in (AWK): Require gawk 3.1.2 or newer.
6198 * manual/install.texi (Tools for Compilation): Say that we do.
6199 * configure: Regenerated.
6201 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6202 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6203 * scripts/sysd-rules.awk: ... this new script.
6204 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6205 than a glob-style pattern.
6207 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6209 * math/test-misc.c (main): Do not treat incorrectly rounded
6210 conversions as failure unless ROUNDING_TESTS passes.
6212 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6215 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6216 restore exception state around main square root computation, then
6217 check for inexactness explicitly.
6219 * math/libm-test.inc (fma_test_data): Add another test.
6221 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6223 * manual/threads.texi (Non-POSIX Extensions): New document
6224 node. Document pthread_getattr_default_np and
6225 pthread_setattr_default_np.
6227 * Versions.def (libpthread): Add GLIBC_2.18.
6228 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6237 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6248 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6251 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6253 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6254 H.J. Lu <hjl.tools@gmail.com>
6257 * sysdeps/x86_64/rtld-memset.c: Remove file.
6258 * sysdeps/x86_64/rtld-memset.S: New file.
6260 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6262 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6263 (test_in_one_mode): Take arguments for whether the rounding mode
6264 is supported for each floating-point type.
6265 (do_test): Pass new arguments to test_in_one_mode using
6268 2013-06-13 Roland McGrath <roland@hack.frob.com>
6270 * posix/tst-waitid.c (do_test): Distinguish different instances of
6271 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6272 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6273 before entering the kernel for waitpid.
6275 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6277 * NEWS: Fix note on clock function precision. Text by Roland
6280 2013-06-13 Roland McGrath <roland@hack.frob.com>
6282 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6283 it into place only when and if the sanity check passes.
6285 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6287 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6288 output for whether conversion result is exact. Take argument
6289 indicating whether type is IBM long double.
6290 (round_for_all): Change need_exact field to ibm_ld.
6291 * stdlib/tst-strtod-round.c (struct exactness): New type.
6292 (struct test): Change bool ld_ok field to struct exactness exact.
6293 (TEST): Update all definitions for change to field.
6294 (tests): Regenerate array contents.
6295 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6296 field value. Check for IBM long double here.
6297 (do_test): Update calls to test_in_one_mode.
6299 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6302 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6303 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6305 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6308 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6309 generated by the compiler on loop optimizations.
6310 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6311 general definitions.
6313 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6315 * math/bug-nextafter.c: Include <math-tests.h>.
6316 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6318 * math/bug-nexttoward.c: Include <math-tests.h>.
6319 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6321 * math/test-misc.c: Include <math-tests.h>.
6322 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6325 2013-06-12 Andreas Jaeger <aj@suse.de>
6327 * po/ia.po: Update Interlingua translation from translation
6330 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6332 * include/fenv.h: Include stdbool.h.
6333 (struct rm_ctx): New structure.
6334 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6336 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6337 (SET_RESTORE_ROUNDF): Likewise.
6338 (SET_RESTORE_ROUNDL): Likewise.
6339 (SET_RESTORE_ROUND_NOEX): Likewise.
6340 (SET_RESTORE_ROUND_NOEXF): Likewise.
6341 (SET_RESTORE_ROUND_NOEXL): Likewise.
6342 (SET_RESTORE_ROUND_53BIT): Likewise.
6343 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6344 (libc_feresetround_noexf_ctx): Likewise.
6345 (libc_feresetround_noexl_ctx): Likewise.
6346 (libc_feholdsetround_53bit_ctx): Likewise.
6347 (libc_feresetround_53bit_ctx): Likewise.
6348 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6349 (libc_feholdexcept_setround_sse_ctx): New function.
6350 (libc_fesetenv_sse_ctx): Likewise.
6351 (libc_feupdateenv_sse_ctx): Likewise.
6352 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6353 (libc_feholdexcept_setround_387_ctx): Likewise.
6354 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6355 (libc_feholdsetround_387_prec_ctx): Likewise.
6356 (libc_feholdsetround_387_ctx): Likewise.
6357 (libc_feholdsetround_387_53bit_ctx): Likewise.
6358 (libc_feholdsetround_sse_ctx): Likewise.
6359 (libc_feresetround_sse_ctx): Likewise.
6360 (libc_feresetround_387_ctx): Likewise.
6361 (libc_feupdateenv_387_ctx): Likewise.
6362 (libc_feholdexcept_setroundf_ctx): Define macro.
6363 (libc_fesetenvf_ctx): Likewise.
6364 (libc_feupdateenvf_ctx): Likewise.
6365 (libc_feholdsetroundf_ctx): Likewise.
6366 (libc_feresetroundf_ctx): Likewise.
6367 (libc_feholdexcept_setround_ctx): Likewise.
6368 (libc_fesetenv_ctx): Likewise.
6369 (libc_feupdateenv_ctx): Likewise.
6370 (libc_feholdsetround_ctx): Likewise.
6371 (libc_feresetround_ctx): Likewise.
6372 (libc_feholdexcept_setroundl_ctx): Likewise.
6373 (libc_feupdateenvl_ctx): Likewise.
6374 (libc_feholdsetroundl_ctx): Likewise.
6375 (libc_feresetroundl_ctx): Likewise.
6376 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6377 (libc_feresetround_53bit_ctx): Likewise.
6379 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6381 * locale/iso-639.def: Convert to UTF-8.
6383 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6385 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6386 (EXCEPTION_TESTS_double): Likewise.
6387 (EXCEPTION_TESTS_long_double): Likewise.
6388 (EXCEPTION_TESTS): Likewise.
6389 * math/libm-test.inc (test_exceptions): Only test exceptions if
6390 EXCEPTION_TESTS (FLOAT).
6392 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6394 * benchtests/Makefile (string-bench): Add strcpy_chk and
6396 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6397 * benchtests/bench-stpcpy_chk.c: New file.
6398 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6399 * benchtests/bench-strcpy_chk.c: New file.
6400 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6402 (do_test): Likewise.
6404 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6406 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6407 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6408 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6409 with tabs where appropriate.
6410 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6412 [PPC_PLATFORM_PPC440]: Likewise.
6413 [PPC_PLATFORM_PPC464]: Likewise.
6414 [PPC_PLATFORM_PPC476]: Likewise.
6415 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6416 ppc464, and ppc476 platform strings merging from ports/
6419 2013-06-11 Andreas Schwab <schwab@suse.de>
6422 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6423 (from_ucs4_idx): Regenerate.
6424 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6425 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6426 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6427 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6428 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6429 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6430 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6431 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6432 from FROM_LOOP and TO_LOOP specific macros.
6433 (BODY): Handle combining characters.
6434 * iconvdata/BIG5HKSCS.irreversible: Update.
6435 * iconvdata/BIG5HKSCS.precomposed: New file.
6436 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6438 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6440 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6442 * include/sys/time.h: Fix indentation and add copyright header.
6444 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6445 (do_test): Likewise.
6446 * string/test-memchr.c (do_one_test): Likewise.
6447 (do_test): Likewise.
6448 * string/test-memcmp.c (do_one_test): Likewise.
6449 (do_test): Likewise.
6450 * string/test-memcpy.c (do_one_test): Likewise.
6451 (do_test): Likewise.
6452 * string/test-memmem.c (do_one_test): Likewise.
6453 (do_test): Likewise.
6454 (do_random_tests): Likewise.
6455 * string/test-memmove.c (do_one_test): Likewise.
6456 (do_test): Likewise.
6457 * string/test-memset.c (do_one_test): Likewise.
6458 (do_test): Likewise.
6459 * string/test-rawmemchr.c (do_one_test): Likewise.
6460 (do_test): Likewise.
6461 * string/test-strcasecmp.c (do_one_test): Likewise.
6462 (do_test): Likewise.
6463 * string/test-strcasestr.c (do_one_test): Likewise.
6464 (do_test): Likewise.
6465 * string/test-strcat.c (do_one_test): Likewise.
6466 (do_test): Likewise.
6467 * string/test-strchr.c (do_one_test): Likewise.
6468 (do_test): Likewise.
6469 * string/test-strcmp.c (do_one_test): Likewise.
6470 (do_test): Likewise.
6471 * string/test-strcpy.c (do_one_test): Likewise.
6472 (do_test): Likewise.
6473 * string/test-string.h: Likewise.
6474 (test_init): Likewise.
6475 * string/test-strlen.c (do_one_test): Likewise.
6476 (do_test): Likewise.
6477 * string/test-strncasecmp.c (do_one_test): Likewise.
6478 (do_test): Likewise.
6479 * string/test-strncat.c (do_one_test): Likewise.
6480 (do_test): Likewise.
6481 * string/test-strncmp.c (do_one_test): Likewise.
6482 (do_test_limit): Likewise.
6483 (do_test): Likewise.
6484 * string/test-strncpy.c (do_one_test): Likewise.
6485 (do_test): Likewise.
6486 * string/test-strnlen.c (do_one_test): Likewise.
6487 (do_test): Likewise.
6488 * string/test-strpbrk.c (do_one_test): Likewise.
6489 (do_test): Likewise.
6490 * string/test-strrchr.c (do_one_test): Likewise.
6491 (do_test): Likewise.
6492 * string/test-strspn.c (do_one_test): Likewise.
6493 (do_test): Likewise.
6494 * string/test-strstr.c (do_one_test): Likewise.
6495 (do_test): Likewise.
6497 * benchtests/Makefile (string-bench): Add string benchmarks.
6498 * benchtests/bench-bcopy-ifunc.c: New file.
6499 * benchtests/bench-bcopy.c: New file.
6500 * benchtests/bench-bzero-ifunc.c: New file.
6501 * benchtests/bench-bzero.c: New file.
6502 * benchtests/bench-memccpy-ifunc.c: New file.
6503 * benchtests/bench-memccpy.c: New file.
6504 * benchtests/bench-memchr-ifunc.c: New file.
6505 * benchtests/bench-memchr.c: New file.
6506 * benchtests/bench-memcmp-ifunc.c: New file.
6507 * benchtests/bench-memcmp.c: New file.
6508 * benchtests/bench-memmem-ifunc.c: New file.
6509 * benchtests/bench-memmem.c: New file.
6510 * benchtests/bench-memmove-ifunc.c: New file.
6511 * benchtests/bench-memmove.c: New file.
6512 * benchtests/bench-mempcpy-ifunc.c: New file.
6513 * benchtests/bench-mempcpy.c: New file.
6514 * benchtests/bench-memset-ifunc.c: New file.
6515 * benchtests/bench-memset.c: New file.
6516 * benchtests/bench-rawmemchr-ifunc.c: New file.
6517 * benchtests/bench-rawmemchr.c: New file.
6518 * benchtests/bench-stpcpy-ifunc.c: New file.
6519 * benchtests/bench-stpcpy.c: New file.
6520 * benchtests/bench-stpncpy-ifunc.c: New file.
6521 * benchtests/bench-stpncpy.c: New file.
6522 * benchtests/bench-strcasecmp-ifunc.c: New file.
6523 * benchtests/bench-strcasecmp.c: New file.
6524 * benchtests/bench-strcasestr-ifunc.c: New file.
6525 * benchtests/bench-strcasestr.c: New file.
6526 * benchtests/bench-strcat-ifunc.c: New file.
6527 * benchtests/bench-strcat.c: New file.
6528 * benchtests/bench-strchr-ifunc.c: New file.
6529 * benchtests/bench-strchr.c: New file.
6530 * benchtests/bench-strchrnul-ifunc.c: New file.
6531 * benchtests/bench-strchrnul.c: New file.
6532 * benchtests/bench-strcmp-ifunc.c: New file.
6533 * benchtests/bench-strcmp.c: New file.
6534 * benchtests/bench-strcpy-ifunc.c: New file.
6535 * benchtests/bench-strcpy.c: New file.
6536 * benchtests/bench-strcspn-ifunc.c: New file.
6537 * benchtests/bench-strcspn.c: New file.
6538 * benchtests/bench-strlen-ifunc.c: New file.
6539 * benchtests/bench-strlen.c: New file.
6540 * benchtests/bench-strncasecmp-ifunc.c: New file.
6541 * benchtests/bench-strncasecmp.c: New file.
6542 * benchtests/bench-strncat-ifunc.c: New file.
6543 * benchtests/bench-strncat.c: New file.
6544 * benchtests/bench-strncmp-ifunc.c: New file.
6545 * benchtests/bench-strncmp.c: New file.
6546 * benchtests/bench-strncpy-ifunc.c: New file.
6547 * benchtests/bench-strncpy.c: New file.
6548 * benchtests/bench-strnlen-ifunc.c: New file.
6549 * benchtests/bench-strnlen.c: New file.
6550 * benchtests/bench-strpbrk-ifunc.c: New file.
6551 * benchtests/bench-strpbrk.c: New file.
6552 * benchtests/bench-strrchr-ifunc.c: New file.
6553 * benchtests/bench-strrchr.c: New file.
6554 * benchtests/bench-strspn-ifunc.c: New file.
6555 * benchtests/bench-strspn.c: New file.
6556 * benchtests/bench-strstr-ifunc.c: New file.
6557 * benchtests/bench-strstr.c: New file.
6559 * benchtests/Makefile: Disable parallel execution of targets.
6560 (string-bench): Add memcpy.
6561 (benchset): New variable to store a list of benchmark sets.
6562 (bench-func): Renamed from bench.
6563 (bench-set): New target.
6564 (bench): Depend on bench-func and bench-set.
6565 * benchtests/README: Add section on benchmark sets.
6566 * benchtests/bench-memcpy-ifunc.c: New file.
6567 * benchtests/bench-memcpy.c: New file.
6568 * benchtests/bench-string.h: New file.
6570 2013-06-11 Andreas Schwab <schwab@suse.de>
6573 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6574 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6575 values in the triple.
6576 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6577 terminator in the group key.
6579 2013-06-11 Andreas Jaeger <aj@suse.de>
6581 * po/zh_TW.po: Update Chinese (traditional) translation from
6582 translation project.
6584 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6586 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6587 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6588 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6589 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6590 (clock_getcpuclockid): Likewise.
6591 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6592 Add weak_alias and libc_hidden_def.
6593 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6594 * rt/clock_gettime.c (clock_gettime): Rename to
6595 __clock_gettime. Add weak_alias and libc_hidden_def.
6596 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6597 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6598 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6599 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6600 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6602 * rt/clock_settime.c (clock_settime): Rename to
6603 __clock_settime. Add weak_alias and libc_hidden_def.
6604 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6606 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6608 * mach/err_boot.sub: Remove trailing whitespace.
6609 * mach/err_ipc.sub: Likewise.
6610 * mach/err_mach.sub: Likewise.
6612 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6613 (ROUNDING_TESTS_double): Likewise.
6614 (ROUNDING_TESTS_long_double): Likewise.
6615 (ROUNDING_TESTS): Likewise.
6616 * math/libm-test.inc: Include <math-tests.h>.
6617 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6618 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6619 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6620 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6622 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6624 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6627 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6629 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6630 otherwise empty TRANS lines.
6631 * sysdeps/gnu/errlist.c: Regenerated.
6633 * catgets/gencat.c (error_print): Use (void) in function
6635 * crypt/crypt_util.c (__init_des): Likewise.
6636 * crypt/speeds.c (Stop): Likewise.
6638 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6639 * inet/ruserpass.c (token): Likewise.
6640 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6641 * intl/localealias.c (extend_alias_table): Likewise.
6642 * intl/plural-exp.c (init_germanic_plural): Likewise.
6643 * libio/fcloseall.c (__fcloseall): Likewise.
6644 * libio/genops.c (_IO_flush_all): Likewise.
6645 (_IO_flush_all_linebuffered): Likewise.
6646 (_IO_cleanup): Likewise.
6647 (_IO_iter_begin): Likewise.
6648 (_IO_iter_end): Likewise.
6649 (_IO_list_lock): Likewise.
6650 (_IO_list_unlock): Likewise.
6651 (_IO_list_resetlock): Likewise.
6652 * libio/getchar.c (getchar): Likewise.
6653 * libio/getchar_u.c (getchar_unlocked): Likewise.
6654 * libio/getwchar.c (getwchar): Likewise.
6655 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6656 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6657 * login/getpt.c (__getpt): Likewise.
6658 * login/tst-utmp.c (main): Likewise.
6659 * malloc/hooks.c (__malloc_check_init): Likewise.
6660 * malloc/malloc.c (__malloc_stats): Likewise.
6661 * malloc/mtrace.c (tr_break): Likewise.
6663 (muntrace): Likewise.
6664 * misc/fstab.c (endfsent): Likewise.
6665 * misc/getclktck.c (__getclktck): Likewise.
6666 * misc/getdtsz.c (__getdtablesize): Likewise.
6667 * misc/gethostid.c (gethostid): Likewise.
6668 * misc/getpagesize.c (__getpagesize): Likewise.
6669 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6670 (__get_nprocs): Likewise.
6671 (__get_phys_pages): Likewise.
6672 (__get_avphys_pages): Likewise.
6673 * misc/getttyent.c (getttyent): Likewise.
6674 (setttyent): Likewise.
6675 (endttyent): Likewise.
6676 * misc/getusershell.c (getusershell): Likewise.
6677 (endusershell): Likewise.
6678 (setusershell): Likewise.
6679 (initshells): Likewise.
6680 * misc/hsearch.c (__hdestroy): Likewise.
6681 * misc/sync.c (sync): Likewise.
6682 * misc/syslog.c (closelog_internal): Likewise.
6683 (closelog): Likewise.
6684 * misc/ttyslot.c (ttyslot): Likewise.
6685 * misc/vhangup.c (vhangup): Likewise.
6686 * posix/fork.c (__fork): Likewise.
6687 * posix/getegid.c (__getegid): Likewise.
6688 * posix/geteuid.c (__geteuid): Likewise.
6689 * posix/getgid.c (__getgid): Likewise.
6690 * posix/getpid.c (__getpid): Likewise.
6691 * posix/getppid.c (__getppid): Likewise.
6692 * posix/getuid.c (__getuid): Likewise.
6693 * posix/pause.c (pause): Likewise.
6694 * posix/setpgrp.c (setpgrp): Likewise.
6695 * posix/setsid.c (__setsid): Likewise.
6696 * posix/test-vfork.c (noop): Likewise.
6697 * resolv/gethnamaddr.c (_endhtent): Likewise.
6698 (_gethtent): Likewise.
6699 (ht_endhostent): Likewise.
6700 (gethostent): Likewise.
6701 (dns_service): Likewise.
6702 * stdlib/drand48.c (drand48): Likewise.
6703 * stdlib/lrand48.c (lrand48): Likewise.
6704 * stdlib/mrand48.c (mrand48): Likewise.
6705 * stdlib/rand.c (rand): Likewise.
6706 * stdlib/random.c (__random): Likewise.
6707 * stdlib/setenv.c (clearenv): Likewise.
6708 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6709 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6710 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6711 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6712 (__get_nprocs): Likewise.
6713 (__get_phys_pages): Likewise.
6714 (__get_avphys_pages): Likewise.
6715 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6716 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6717 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6718 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6719 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6720 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6721 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6722 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6723 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6724 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6725 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6726 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6727 * sysdeps/posix/clock.c (clock): Likewise.
6728 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6729 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6730 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6731 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6732 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6733 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6734 (__get_nprocs_conf): Likewise.
6735 (__get_phys_pages): Likewise.
6736 (__get_avphys_pages): Likewise.
6737 * time/clock.c (clock): Likewise.
6738 * time/tzset.c (__tzname_max): Likewise.
6740 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6742 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6743 (__bswap_32): Do not use "register".
6744 * crypt/crypt.c (_ufc_doit_r): Likewise.
6745 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6746 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6747 * gmon/gmon.c (__monstartup): Likewise.
6748 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6749 * hurd/hurdmalloc.c (more_memory): Likewise.
6752 (realloc): Likewise.
6753 (malloc_fork_prepare): Likewise.
6754 (malloc_fork_parent): Likewise.
6755 (malloc_fork_child): Likewise.
6756 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6757 (_svcauth_des): Likewise.
6758 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6759 * inet/inet_net.c (inet_network): Likewise.
6760 * inet/inet_netof.c (inet_netof): Likewise.
6761 * inet/rcmd.c (__validuser2_sa): Likewise.
6762 * io/fts.c (fts_open): Likewise.
6763 (fts_load): Likewise.
6764 (fts_close): Likewise.
6765 (fts_read): Likewise.
6766 (fts_children): Likewise.
6767 (fts_build): Likewise.
6768 (fts_stat): Likewise.
6769 (fts_sort): Likewise.
6770 (fts_alloc): Likewise.
6771 (fts_lfree): Likewise.
6772 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6773 (_IO_file_xsgetn): Likewise.
6774 (_IO_file_xsgetn_mmap): Likewise.
6775 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6776 (_IO_cookie_write): Likewise.
6777 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6778 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6779 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6780 * malloc/obstack.c (_obstack_begin): Likewise.
6781 (_obstack_begin_1): Likewise.
6782 (_obstack_newchunk): Likewise.
6783 (_obstack_allocated_p): Likewise.
6784 (obstack_free): Likewise.
6785 (_obstack_memory_used): Likewise.
6786 * misc/getttyent.c (getttynam): Likewise.
6787 (getttyent): Likewise.
6790 * misc/getusershell.c (initshells): Likewise.
6791 * misc/syslog.c (__vsyslog_chk): Likewise.
6792 * misc/ttyslot.c (ttyslot): Likewise.
6793 * nis/nis_hash.c (__nis_hash): Likewise.
6794 * posix/fnmatch_loop.c (FCT): Likewise.
6795 * posix/getconf.c (print_all): Likewise.
6797 * posix/getopt.c (exchange): Likewise.
6798 * posix/glob.c (globfree): Likewise.
6799 (prefix_array): Likewise.
6800 (__glob_pattern_type): Likewise.
6801 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6802 (NS_GET32): Likewise.
6803 (NS_PUT16): Likewise.
6804 (NS_PUT32): Likewise.
6805 * resolv/gethnamaddr.c (getanswer): Likewise.
6806 (gethostbyname2): Likewise.
6807 (gethostbyaddr): Likewise.
6808 (_gethtent): Likewise.
6809 (_gethtbyname2): Likewise.
6810 (_gethtbyaddr): Likewise.
6811 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6812 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6813 * resolv/res_init.c (__res_vinit): Likewise.
6814 (net_mask): Likewise.
6815 * resolv/res_mkquery.c (outchar): Likewise.
6817 * stdio-common/printf_fp.c (outchar): Likewise.
6819 * stdio-common/printf_fphex.c (outchar): Likewise.
6821 * stdio-common/printf_size.c (outchar): Likewise.
6823 * stdio-common/test_rdwr.c (main): Likewise.
6824 * stdio-common/tfformat.c (matches): Likewise.
6825 * stdio-common/vfprintf.c (outchar): Likewise.
6826 (printf_unknown): Likewise.
6827 (buffered_vfprintf): Likewise.
6828 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6829 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6830 (ReadFile): Likewise.
6831 * stdlib/qsort.c (SWAP): Likewise.
6832 (_quicksort): Likewise.
6833 * stdlib/setenv.c (__add_to_environ): Likewise.
6834 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6835 * stdlib/strtol_l.c (__strtol_l): Likewise.
6836 * stdlib/tst-strtod.c (main): Likewise.
6837 * stdlib/tst-strtol.c (main): Likewise.
6838 * stdlib/tst-strtoll.c (main): Likewise.
6839 * string/bits/string2.h (__strcmp_cc): Likewise.
6840 (__strcmp_cg): Likewise.
6841 (__strcspn_c1): Likewise.
6842 (__strcspn_c2): Likewise.
6843 (__strcspn_c3): Likewise.
6844 (__strspn_c1): Likewise.
6845 (__strspn_c2): Likewise.
6846 (__strspn_c3): Likewise.
6847 (__strsep_1c): Likewise.
6848 (__strsep_2c): Likewise.
6849 (__strsep_3c): Likewise.
6850 * string/memccpy.c (__memccpy): Likewise.
6851 * string/stpcpy.c (__stpcpy): Likewise.
6852 * string/strcmp.c (strcmp): Likewise.
6853 * string/strrchr.c (strrchr): Likewise.
6854 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6856 * sysdeps/mach/hurd/getcwd.c
6857 (_hurd_canonicalize_directory_name_internal): Likewise.
6858 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6859 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6860 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6861 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6862 Likewise, in both definitions.
6863 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6865 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6866 64] (__bswap_64): Likewise.
6867 * time/test_time.c (main): Likewise.
6868 * time/tzfile.c (__tzfile_read): Likewise.
6869 (__tzfile_compute): Likewise.
6870 * time/tzset.c (__tzset_parse_tz): Likewise.
6871 (tzset_internal): Likewise.
6872 (compute_change): Likewise.
6873 * wcsmbs/wcscat.c (__wcscat): Likewise.
6874 * wcsmbs/wcschr.c (wcschr): Likewise.
6875 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6876 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6877 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6878 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6879 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6880 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6881 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6882 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6883 * wcsmbs/wmemset.c (wmemset): Likewise.
6885 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6887 * scripts/config.guess: Update to version 2013-05-16.
6888 * scripts/config.sub: Update to version 2013-04-24.
6889 * scripts/install-sh: Update to version 2011-11-20.07.
6890 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6891 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6893 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6895 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6896 * elf/sln.c: Likewise.
6897 * hurd/hurd/ioctl.h: Likewise.
6898 * hurd/hurdmalloc.c: Likewise.
6899 * hurd/xattr.c: Likewise.
6900 * include/shlib-compat.h: Likewise.
6901 * inet/ruserpass.c: Likewise.
6902 * libio/iofgets_u.c: Likewise.
6903 * libio/iofgetws_u.c: Likewise.
6904 * locale/programs/ld-identification.c: Likewise.
6905 * locale/programs/ld-time.c: Likewise.
6906 * mach/msg-destroy.c: Likewise.
6907 * nss/nss_files/files-netgrp.c: Likewise.
6908 * resolv/res_data.c: Likewise.
6909 * soft-fp/op-1.h: Likewise.
6910 * soft-fp/op-2.h: Likewise.
6911 * soft-fp/op-4.h: Likewise.
6912 * soft-fp/op-common.h: Likewise.
6913 * stdio-common/printf_fphex.c: Likewise.
6914 * stdlib/strtod_l.c: Likewise.
6915 * sunrpc/rpc/clnt.h: Likewise.
6916 * sysdeps/generic/framestate.c: Likewise.
6917 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6918 * sysdeps/i386/bsd-setjmp.S: Likewise.
6919 * sysdeps/i386/__longjmp.S: Likewise.
6920 * sysdeps/i386/setjmp.S: Likewise.
6921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6922 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6923 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6939 * sysdeps/ieee754/support.c: Likewise.
6940 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6941 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6942 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6943 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6944 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6945 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6946 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6947 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6948 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6949 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6950 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6951 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6952 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6953 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6954 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6955 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6956 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6959 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6961 * posix/transbug.c: Remove executable mode.
6963 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6965 * crypt/speeds.c: Remove trailing whitespace.
6966 * dlfcn/default.c: Likewise.
6967 * elf/ifuncdep2.c: Likewise.
6968 * elf/ifuncmain1.c: Likewise.
6969 * elf/ifuncmain1vis.c: Likewise.
6970 * elf/testobj.h: Likewise.
6971 * elf/tst-stackguard1.c: Likewise.
6972 * gmon/sys/gmon.h: Likewise.
6973 * hurd/hurdmsg.c: Likewise.
6974 * hurd/new-fd.c: Likewise.
6975 * hurd/ports-get.c: Likewise.
6976 * iconvdata/ibm1008_420.c: Likewise.
6977 * inet/tst-getni1.c: Likewise.
6978 * inet/tst-getni2.c: Likewise.
6979 * libio/ioungetc.c: Likewise.
6980 * libio/wfiledoalloc.c: Likewise.
6981 * manual/libm-err-tab.pl: Likewise.
6982 * math/w_dremf.c: Likewise.
6983 * misc/ftruncate.c: Likewise.
6984 * posix/bug-glob2.c: Likewise.
6985 * posix/tst-pcre.c: Likewise.
6986 * posix/wait4.c: Likewise.
6987 * resolv/README: Likewise.
6988 * resolv/res_debug.h: Likewise.
6989 * resolv/tst-inet_ntop.c: Likewise.
6990 * setjmp/bug269-setjmp.c: Likewise.
6991 * soft-fp/extended.h: Likewise.
6992 * soft-fp/op-1.h: Likewise.
6993 * soft-fp/op-2.h: Likewise.
6994 * soft-fp/op-4.h: Likewise.
6995 * soft-fp/op-8.h: Likewise.
6996 * soft-fp/testit.c: Likewise.
6997 * stdio-common/bug16.c: Likewise.
6998 * stdlib/random.c: Likewise.
6999 * sunrpc/rpcsvc/rquota.x: Likewise.
7000 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7001 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7002 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7003 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7004 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7005 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7006 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7007 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7008 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7009 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7010 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7016 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7027 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7029 * sysdeps/ieee754/s_lib_version.c: Likewise.
7030 * sysdeps/mach/hurd/check_fds.c: Likewise.
7031 * sysdeps/mach/hurd/getsockname.c: Likewise.
7032 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7033 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7034 * sysdeps/powerpc/bits/link.h: Likewise.
7035 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7036 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7037 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7038 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7039 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7040 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7041 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7042 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7043 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7044 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7045 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7046 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7047 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7048 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7049 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7050 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7052 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7054 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7055 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7056 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7058 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7059 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7060 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7062 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7063 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7064 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7065 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7067 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7068 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7069 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7070 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7071 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7072 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7073 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7074 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7075 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7076 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7077 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7078 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7079 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7080 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7081 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7082 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7083 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7084 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7085 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7086 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7087 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7088 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7089 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7090 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7091 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7092 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7093 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7094 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7095 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7096 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7097 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7098 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7099 * sysdeps/powerpc/sysdep.h: Likewise.
7100 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7101 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7102 * sysdeps/sh/dl-trampoline.S: Likewise.
7103 * sysdeps/sh/memset.S: Likewise.
7104 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7105 * sysdeps/sh/strlen.S: Likewise.
7106 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7107 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7108 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7109 * sysdeps/sparc/sparc32/rem.S: Likewise.
7110 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7111 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7112 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7113 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7114 * sysdeps/sparc/sparc32/urem.S: Likewise.
7115 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7116 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7117 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7118 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7120 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7121 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7122 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7123 * sysdeps/unix/bsd/times.c: Likewise.
7124 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7125 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7129 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7130 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7131 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7132 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7133 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7134 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7135 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7136 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7137 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7138 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7139 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7140 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7141 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7142 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7143 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7144 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7145 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7146 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7147 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7148 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7149 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7150 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7151 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7152 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7153 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7154 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7155 * sysdeps/x86_64/strcspn.S: Likewise.
7157 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7159 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7160 generated file. Regenerate properly from gen-translit.pl.
7161 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7162 locale/C-translit.h.
7164 2013-06-05 Andreas Schwab <schwab@suse.de>
7167 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7168 week as 6 instead of -1.
7169 * time/tst-strptime.c (day_tests): Add test case.
7171 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7173 * sysdeps/generic/math_private.h
7174 (libc_feholdexcept_setround_53bit): Replace with
7175 libc_feholdsetround_53bit.
7176 (libc_feupdateenv_53bit): Replace with
7177 libc_feresetround_53bit.
7178 (SET_RESTORE_ROUND_53BIT): Adjust.
7180 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7182 * string/test-strchrnul.c: Add copyright header.
7184 * posix/tst-getaddrinfo4.c: Increase test timeout.
7186 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7189 * math/libm-test.inc (MAX_EXP): Remove
7191 (ulp): Use MIN_EXP - MANT_DIG.
7192 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7194 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7196 * po/be.po: Revert last change.
7197 * po/zh_CN.po: Likewise.
7198 * po/header.pot: Likewise.
7200 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7202 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7203 link-libc-deps to empty as target-specific variable.
7204 * Makerules (link-libc-args): New variable.
7205 (libc-for-link): Likewise.
7206 (link-libc-deps): Likewise.
7207 (lib%.so): Depend on $(link-libc-deps). Link with
7209 (build-module): Link with $(link-libc-args).
7210 (build-module-asneeded): Likewise.
7211 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7213 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7214 target-specific variable.
7215 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7216 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7217 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7219 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7221 ($(objpfx)libpcprofile.so): Likewise.
7222 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7224 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7225 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7226 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7228 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7229 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7230 * login/Makefile ($(objpfx)libutil.so): Likewise.
7231 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7232 * math/Makefile ($(objpfx)libm.so): Likewise.
7233 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7234 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7235 variable instead of depending directly on libc.
7236 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7237 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7239 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7241 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7242 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7243 ($(objpfx)libanl.so): Likewise.
7244 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7246 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7248 * sysdeps/i386/fpu/Makefile: Remove file.
7249 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7250 ($(objpfx)libm.so): Remove dependency on ld.so.
7252 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7255 * nis/yp_xdr.c (XDRMAXNAME): Define.
7256 (XDRMAXRECORD): Define.
7257 (xdr_domainname): Use XDRMAXNAME.
7258 (xdr_mapname): Likewise.
7259 (xdr_peername): Likewise.
7260 (xdr_keydat): Use XDRMAXRECORD.
7261 (xdr_valdat): Likewise.
7263 2013-05-30 Jeff Law <law@redhat.com>
7266 * manual/errno.texi (ESTALE): Update to account for more than
7267 just NFS file systems.
7268 * sysdeps/gnu/errlist.c: Regenerated.
7270 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7273 * elf/Makefile (tests): Add tst-null-argv.
7274 (modules-names): Add tst-null-argv-lib.
7275 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7276 (tst-null-argv-ENV): Set environment for tst-null-argv.
7277 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7278 (RTLD_PROGNAME): New macro.
7279 * elf/tst-null-argv.c: New test case.
7280 * elf/tst-null-argv-lib.c: Library for test case.
7281 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7282 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7283 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7284 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7285 * elf/dl-init.c (call_init): Likewise.
7286 (_dl_init): Likewise.
7287 * elf/dl-load.c (print_search_path): Likewise.
7288 (_dl_map_object): Likewise.
7289 * elf/dl-lookup.c (do_lookup_x): Likewise.
7290 (add_dependency): Likewise.
7291 (_dl_lookup_symbol_x): Likewise.
7292 (_dl_debug_bindings): Likewise.
7293 * elf/dl-open.c (_dl_show_scope): Likewise.
7294 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7295 * elf/dl-version.c (match_symbol): Likewise.
7296 (_dl_check_map_versions): Likewise.
7297 * elf/rtld.c (dl_main): Likewise.
7298 (print_unresolved): Use RTLD_PROGNAME.
7299 (print_missing_version): Likewise.
7300 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7301 (elf_machine_rela): Likewise.
7302 * sysdeps/powerpc/powerpc32/dl-machine.c
7303 (__process_machine_rela): Likewise.
7304 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7306 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7308 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7310 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7315 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7317 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7319 * po/be.po: Add descriptive title.
7320 * po/zh_CN.po: Likewise.
7321 * po/header.pot: Likewise.
7323 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7325 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7327 (enlarge_archive): Likewise.
7329 2013-05-28 Ben North <ben@redfrontdoor.org>
7331 * manual/arith.texi (frexp): It is the magnitude of the return
7332 value which lies in [0.5, 1), not the return value itself.
7334 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7338 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7340 * stdio-common/bug26.c (main): Correct fscanf template.
7342 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7343 declare _dl_skip_args.
7345 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7348 * manual/platform.texi: Add missing @end deftypefun.
7350 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7353 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7354 bit of mantissa of 2^16382.
7355 * math/libm-test.inc (hypot_test_data): Add more tests.
7357 * math/libm-test.inc: Add drem and pow10 to list of tested
7359 (pow10_test): New function.
7360 (drem_test): Likewise.
7361 (drem_test_tonearest): Likewise.
7362 (drem_test_towardzero): Likewise.
7363 (drem_test_downward): Likewise.
7364 (drem_test_upward): Likewise.
7365 (main): Call the new functions.
7367 * math/libm-test.inc (finite_test_data): Remove.
7368 (finite_test): Run tests from isfinite_test_data.
7369 (gamma_test_data): Remove.
7370 (gamma_test): Run tests from lgamma_test_data.
7371 * sysdeps/i386/fpu/libm-test-ulps: Update.
7372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7374 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7376 * manual/platform.texi: Add PowerPC PPR function set documentation.
7377 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7380 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7382 * math/libm-test.inc (MAX_EXP): Define.
7384 (ulp): New function.
7385 (check_float_internal): Use ULPDIFF.
7386 (cpow_test): Disable failing test.
7387 (check_ulp): Test ulp() implemetnation.
7388 (main): Call check_ulp before starting tests.
7390 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7392 * math/gen-libm-test.pl (generate_testfile): Do not handle
7393 START_DATA and END_DATA.
7394 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7396 (acos_tonearest_test_data): Likewise.
7397 (acos_towardzero_test_data): Likewise.
7398 (acos_downward_test_data): Likewise.
7399 (acos_upward_test_data): Likewise.
7400 (acosh_test_data): Likewise.
7401 (asin_test_data): Likewise.
7402 (asin_tonearest_test_data): Likewise.
7403 (asin_towardzero_test_data): Likewise.
7404 (asin_downward_test_data): Likewise.
7405 (asin_upward_test_data): Likewise.
7406 (asinh_test_data): Likewise.
7407 (atan_test_data): Likewise.
7408 (atanh_test_data): Likewise.
7409 (atan2_test_data): Likewise.
7410 (cabs_test_data): Likewise.
7411 (cacos_test_data): Likewise.
7412 (cacosh_test_data): Likewise.
7413 (carg_test_data): Likewise.
7414 (casin_test_data): Likewise.
7415 (casinh_test_data): Likewise.
7416 (catan_test_data): Likewise.
7417 (catanh_test_data): Likewise.
7418 (cbrt_test_data): Likewise.
7419 (ccos_test_data): Likewise.
7420 (ccosh_test_data): Likewise.
7421 (ceil_test_data): Likewise.
7422 (cexp_test_data): Likewise.
7423 (cimag_test_data): Likewise.
7424 (clog_test_data): Likewise.
7425 (clog10_test_data): Likewise.
7426 (conj_test_data): Likewise.
7427 (copysign_test_data): Likewise.
7428 (cos_test_data): Likewise.
7429 (cos_tonearest_test_data): Likewise.
7430 (cos_towardzero_test_data): Likewise.
7431 (cos_downward_test_data): Likewise.
7432 (cos_upward_test_data): Likewise.
7433 (cosh_test_data): Likewise.
7434 (cosh_tonearest_test_data): Likewise.
7435 (cosh_towardzero_test_data): Likewise.
7436 (cosh_downward_test_data): Likewise.
7437 (cosh_upward_test_data): Likewise.
7438 (cpow_test_data): Likewise.
7439 (cproj_test_data): Likewise.
7440 (creal_test_data): Likewise.
7441 (csin_test_data): Likewise.
7442 (csinh_test_data): Likewise.
7443 (csqrt_test_data): Likewise.
7444 (ctan_test_data): Likewise.
7445 (ctan_tonearest_test_data): Likewise.
7446 (ctan_towardzero_test_data): Likewise.
7447 (ctan_downward_test_data): Likewise.
7448 (ctan_upward_test_data): Likewise.
7449 (ctanh_test_data): Likewise.
7450 (ctanh_tonearest_test_data): Likewise.
7451 (ctanh_towardzero_test_data): Likewise.
7452 (ctanh_downward_test_data): Likewise.
7453 (ctanh_upward_test_data): Likewise.
7454 (erf_test_data): Likewise.
7455 (erfc_test_data): Likewise.
7456 (exp_test_data): Likewise.
7457 (exp_tonearest_test_data): Likewise.
7458 (exp_towardzero_test_data): Likewise.
7459 (exp_downward_test_data): Likewise.
7460 (exp_upward_test_data): Likewise.
7461 (exp10_test_data): Likewise.
7462 (exp2_test_data): Likewise.
7463 (expm1_test_data): Likewise.
7464 (fabs_test_data): Likewise.
7465 (fdim_test_data): Likewise.
7466 (finite_test_data): Likewise.
7467 (floor_test_data): Likewise.
7468 (fma_test_data): Likewise.
7469 (fma_towardzero_test_data): Likewise.
7470 (fma_downward_test_data): Likewise.
7471 (fma_upward_test_data): Likewise.
7472 (fmax_test_data): Likewise.
7473 (fmin_test_data): Likewise.
7474 (fmod_test_data): Likewise.
7475 (fpclassify_test_data): Likewise.
7476 (frexp_test_data): Likewise.
7477 (gamma_test_data): Likewise.
7478 (hypot_test_data): Likewise.
7479 (ilogb_test_data): Likewise.
7480 (isfinite_test_data): Likewise.
7481 (isgreater_test_data): Likewise.
7482 (isgreaterequal_test_data): Likewise.
7483 (isinf_test_data): Likewise.
7484 (isless_test_data): Likewise.
7485 (islessequal_test_data): Likewise.
7486 (islessgreater_test_data): Likewise.
7487 (isnan_test_data): Likewise.
7488 (isnormal_test_data): Likewise.
7489 (issignaling_test_data): Likewise.
7490 (isunordered_test_data): Likewise.
7491 (j0_test_data): Likewise.
7492 (j1_test_data): Likewise.
7493 (jn_test_data): Likewise.
7494 (ldexp_test_data): Likewise.
7495 (lgamma_test_data): Likewise.
7496 (lrint_test_data): Likewise.
7497 (lrint_tonearest_test_data): Likewise.
7498 (lrint_towardzero_test_data): Likewise.
7499 (lrint_downward_test_data): Likewise.
7500 (lrint_upward_test_data): Likewise.
7501 (llrint_test_data): Likewise.
7502 (llrint_tonearest_test_data): Likewise.
7503 (llrint_towardzero_test_data): Likewise.
7504 (llrint_downward_test_data): Likewise.
7505 (llrint_upward_test_data): Likewise.
7506 (log_test_data): Likewise.
7507 (log10_test_data): Likewise.
7508 (log1p_test_data): Likewise.
7509 (log2_test_data): Likewise.
7510 (logb_test_data): Likewise.
7511 (logb_downward_test_data): Likewise.
7512 (lround_test_data): Likewise.
7513 (llround_test_data): Likewise.
7514 (modf_test_data): Likewise.
7515 (nearbyint_test_data): Likewise.
7516 (nextafter_test_data): Likewise.
7517 (nexttoward_test_data): Likewise.
7518 (pow_test_data): Likewise.
7519 (pow_tonearest_test_data): Likewise.
7520 (pow_towardzero_test_data): Likewise.
7521 (pow_downward_test_data): Likewise.
7522 (pow_upward_test_data): Likewise.
7523 (remainder_test_data): Likewise.
7524 (remainder_tonearest_test_data): Likewise.
7525 (remainder_towardzero_test_data): Likewise.
7526 (remainder_downward_test_data): Likewise.
7527 (remainder_upward_test_data): Likewise.
7528 (remquo_test_data): Likewise.
7529 (rint_test_data): Likewise.
7530 (rint_tonearest_test_data): Likewise.
7531 (rint_towardzero_test_data): Likewise.
7532 (rint_downward_test_data): Likewise.
7533 (rint_upward_test_data): Likewise.
7534 (round_test_data): Likewise.
7535 (scalb_test_data): Likewise.
7536 (scalbn_test_data): Likewise.
7537 (scalbln_test_data): Likewise.
7538 (signbit_test_data): Likewise.
7539 (sin_test_data): Likewise.
7540 (sin_tonearest_test_data): Likewise.
7541 (sin_towardzero_test_data): Likewise.
7542 (sin_downward_test_data): Likewise.
7543 (sin_upward_test_data): Likewise.
7544 (sincos_test_data): Likewise.
7545 (sinh_test_data): Likewise.
7546 (sinh_tonearest_test_data): Likewise.
7547 (sinh_towardzero_test_data): Likewise.
7548 (sinh_downward_test_data): Likewise.
7549 (sinh_upward_test_data): Likewise.
7550 (sqrt_test_data): Likewise.
7551 (tan_test_data): Likewise.
7552 (tan_tonearest_test_data): Likewise.
7553 (tan_towardzero_test_data): Likewise.
7554 (tan_downward_test_data): Likewise.
7555 (tan_upward_test_data): Likewise.
7556 (tanh_test_data): Likewise.
7557 (tgamma_test_data): Likewise.
7558 (trunc_test_data): Likewise.
7559 (y0_test_data): Likewise.
7560 (y1_test_data): Likewise.
7561 (yn_test_data): Likewise.
7562 (significand_test_data): Likewise.
7564 * math/gen-libm-test.pl (@functions): Remove variable.
7565 (generate_testfile): Don't handle START and END lines.
7566 * math/libm-test.inc (START): New macro.
7568 (END_COMPLEX): Likewise.
7569 (acos_test): Use END macro without arguments.
7570 (acos_test_tonearest): Likewise.
7571 (acos_test_towardzero): Likewise.
7572 (acos_test_downward): Likewise.
7573 (acos_test_upward): Likewise.
7574 (acosh_test): Likewise.
7575 (asin_test): Likewise.
7576 (asin_test_tonearest): Likewise.
7577 (asin_test_towardzero): Likewise.
7578 (asin_test_downward): Likewise.
7579 (asin_test_upward): Likewise.
7580 (asinh_test): Likewise.
7581 (atan_test): Likewise.
7582 (atanh_test): Likewise.
7583 (atan2_test): Likewise.
7584 (cabs_test): Likewise.
7585 (cacos_test): Use END_COMPLEX macro without arguments.
7586 (cacosh_test): Likewise.
7587 (carg_test): Use END macro without arguments.
7588 (casin_test): Use END_COMPLEX macro without arguments.
7589 (casinh_test): Likewise.
7590 (catan_test): Likewise.
7591 (catanh_test): Likewise.
7592 (cbrt_test): Use END macro without arguments.
7593 (ccos_test): Use END_COMPLEX macro without arguments.
7594 (ccosh_test): Likewise.
7595 (ceil_test): Use END macro without arguments.
7596 (cexp_test): Use END_COMPLEX macro without arguments.
7597 (cimag_test): Use END macro without arguments.
7598 (clog_test): Use END_COMPLEX macro without arguments.
7599 (clog10_test): Likewise.
7600 (conj_test): Likewise.
7601 (copysign_test): Use END macro without arguments.
7602 (cos_test): Likewise.
7603 (cos_test_tonearest): Likewise.
7604 (cos_test_towardzero): Likewise.
7605 (cos_test_downward): Likewise.
7606 (cos_test_upward): Likewise.
7607 (cosh_test): Likewise.
7608 (cosh_test_tonearest): Likewise.
7609 (cosh_test_towardzero): Likewise.
7610 (cosh_test_downward): Likewise.
7611 (cosh_test_upward): Likewise.
7612 (cpow_test): Use END_COMPLEX macro without arguments.
7613 (cproj_test): Likewise.
7614 (creal_test): Use END macro without arguments.
7615 (csin_test): Use END_COMPLEX macro without arguments.
7616 (csinh_test): Likewise.
7617 (csqrt_test): Likewise.
7618 (ctan_test): Likewise.
7619 (ctan_test_tonearest): Likewise.
7620 (ctan_test_towardzero): Likewise.
7621 (ctan_test_downward): Likewise.
7622 (ctan_test_upward): Likewise.
7623 (ctanh_test): Likewise.
7624 (ctanh_test_tonearest): Likewise.
7625 (ctanh_test_towardzero): Likewise.
7626 (ctanh_test_downward): Likewise.
7627 (ctanh_test_upward): Likewise.
7628 (erf_test): Use END macro without arguments.
7629 (erfc_test): Likewise.
7630 (exp_test): Likewise.
7631 (exp_test_tonearest): Likewise.
7632 (exp_test_towardzero): Likewise.
7633 (exp_test_downward): Likewise.
7634 (exp_test_upward): Likewise.
7635 (exp10_test): Likewise.
7636 (exp2_test): Likewise.
7637 (expm1_test): Likewise.
7638 (fabs_test): Likewise.
7639 (fdim_test): Likewise.
7640 (finite_test): Likewise.
7641 (floor_test): Likewise.
7642 (fma_test): Likewise.
7643 (fma_test_towardzero): Likewise.
7644 (fma_test_downward): Likewise.
7645 (fma_test_upward): Likewise.
7646 (fmax_test): Likewise.
7647 (fmin_test): Likewise.
7648 (fmod_test): Likewise.
7649 (fpclassify_test): Likewise.
7650 (frexp_test): Likewise.
7651 (gamma_test): Likewise.
7652 (hypot_test): Likewise.
7653 (ilogb_test): Likewise.
7654 (isfinite_test): Likewise.
7655 (isgreater_test): Likewise.
7656 (isgreaterequal_test): Likewise.
7657 (isinf_test): Likewise.
7658 (isless_test): Likewise.
7659 (islessequal_test): Likewise.
7660 (islessgreater_test): Likewise.
7661 (isnan_test): Likewise.
7662 (isnormal_test): Likewise.
7663 (issignaling_test): Likewise.
7664 (isunordered_test): Likewise.
7665 (j0_test): Likewise.
7666 (j1_test): Likewise.
7667 (jn_test): Likewise.
7668 (ldexp_test): Likewise.
7669 (lgamma_test): Likewise.
7670 (lrint_test): Likewise.
7671 (lrint_test_tonearest): Likewise.
7672 (lrint_test_towardzero): Likewise.
7673 (lrint_test_downward): Likewise.
7674 (lrint_test_upward): Likewise.
7675 (llrint_test): Likewise.
7676 (llrint_test_tonearest): Likewise.
7677 (llrint_test_towardzero): Likewise.
7678 (llrint_test_downward): Likewise.
7679 (llrint_test_upward): Likewise.
7680 (log_test): Likewise.
7681 (log10_test): Likewise.
7682 (log1p_test): Likewise.
7683 (log2_test): Likewise.
7684 (logb_test): Likewise.
7685 (logb_test_downward): Likewise.
7686 (lround_test): Likewise.
7687 (llround_test): Likewise.
7688 (modf_test): Likewise.
7689 (nearbyint_test): Likewise.
7690 (nextafter_test): Likewise.
7691 (nexttoward_test): Likewise.
7692 (pow_test): Likewise.
7693 (pow_test_tonearest): Likewise.
7694 (pow_test_towardzero): Likewise.
7695 (pow_test_downward): Likewise.
7696 (pow_test_upward): Likewise.
7697 (remainder_test): Likewise.
7698 (remainder_test_tonearest): Likewise.
7699 (remainder_test_towardzero): Likewise.
7700 (remainder_test_downward): Likewise.
7701 (remainder_test_upward): Likewise.
7702 (remquo_test): Likewise.
7703 (rint_test): Likewise.
7704 (rint_test_tonearest): Likewise.
7705 (rint_test_towardzero): Likewise.
7706 (rint_test_downward): Likewise.
7707 (rint_test_upward): Likewise.
7708 (round_test): Likewise.
7709 (scalb_test): Likewise.
7710 (scalbn_test): Likewise.
7711 (scalbln_test): Likewise.
7712 (signbit_test): Likewise.
7713 (sin_test): Likewise.
7714 (sin_test_tonearest): Likewise.
7715 (sin_test_towardzero): Likewise.
7716 (sin_test_downward): Likewise.
7717 (sin_test_upward): Likewise.
7718 (sincos_test): Likewise.
7719 (sinh_test): Likewise.
7720 (sinh_test_tonearest): Likewise.
7721 (sinh_test_towardzero): Likewise.
7722 (sinh_test_downward): Likewise.
7723 (sinh_test_upward): Likewise.
7724 (sqrt_test): Likewise.
7725 (tan_test): Likewise.
7726 (tan_test_tonearest): Likewise.
7727 (tan_test_towardzero): Likewise.
7728 (tan_test_downward): Likewise.
7729 (tan_test_upward): Likewise.
7730 (tanh_test): Likewise.
7731 (tgamma_test): Likewise.
7732 (trunc_test): Likewise.
7733 (y0_test): Likewise.
7734 (y1_test): Likewise.
7735 (yn_test): Likewise.
7736 (significand_test): Likewise.
7738 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7741 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7743 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7746 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7747 __ppc_mdoio and __ppc_mdoom.
7748 * manual/platform.texi: Document new functions __ppc_yield,
7749 __ppc_mdoio and __ppc_mdoom.
7751 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7753 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7754 (main): Mention "tls" pseudo-hwcap is legacy.
7755 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7757 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7759 * math/gen-libm-test.pl (parse_args): Output only string of
7760 arguments as text for test name, not full call or descriptions of
7761 tests for extra outputs.
7762 (generate_testfile): Do not pass function name to parse_args.
7763 Generate this_func variable from START.
7764 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7766 (struct test_ff_f_data): Likewise.
7767 (test_ff_f_data_nexttoward): Likewise.
7768 (struct test_fi_f_data): Likewise.
7769 (struct test_fl_f_data): Likewise.
7770 (struct test_if_f_data): Likewise.
7771 (struct test_fff_f_data): Likewise.
7772 (struct test_c_f_data): Likewise.
7773 (struct test_f_f1_data): Likewise. Remove field extra_name.
7774 (struct test_fF_f1_data): Likewise.
7775 (struct test_ffI_f1_data): Likewise.
7776 (struct test_c_c_data): Rename test_name field to arg_str.
7777 (struct test_cc_c_data): Likewise.
7778 (struct test_f_i_data): Likewise.
7779 (struct test_ff_i_data): Likewise.
7780 (struct test_f_l_data): Likewise.
7781 (struct test_f_L_data): Likewise.
7782 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7784 (COMMON_TEST_SETUP): New macro.
7785 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7786 (COMMON_TEST_CLEANUP): Likewise.
7787 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7788 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7790 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7791 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7793 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7794 (RUN_TEST_fff_f): Take argument string. Call new setup and
7796 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7797 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7799 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7800 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7802 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7803 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7805 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7806 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7808 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7809 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7811 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7812 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7814 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7815 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7817 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7818 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7820 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7821 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7823 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7824 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7826 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7827 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7829 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7830 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7832 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7833 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7835 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7836 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7838 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7839 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7841 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7843 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7845 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7846 to _sifields.sigfault.
7847 (si_addr_lsb): Define new macro.
7848 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7850 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7852 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7855 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7857 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7859 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7862 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7864 * math/gen-libm-test.pl (parse_args): Do not include expected
7865 result in test name.
7866 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7867 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7868 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7869 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7870 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7873 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7875 * benchtests/Makefile: Sort function entries.
7877 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7878 tanh, asinh, acosh, atanh.
7879 * benchtests/acos-inputs: New file.
7880 * benchtests/acosh-inputs: New file.
7881 * benchtests/asin-inputs: New file.
7882 * benchtests/asinh-inputs: New file.
7883 * benchtests/atanh-inputs: New file.
7884 * benchtests/cosh-inputs: New file.
7885 * benchtests/log-inputs: New file.
7886 * benchtests/sinh-inputs: New file.
7887 * benchtests/tanh-inputs: New file.
7889 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7892 * posix/tst-getaddrinfo4.c: New test.
7893 * posix/Makefile (tests): Add it.
7895 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7898 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7899 when no services were used.
7900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7901 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7903 2013-05-21 Andreas Schwab <schwab@suse.de>
7906 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7907 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7909 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7910 redundant variable declarations and reallocation of buffer when
7911 parsing as IPv6 address. Always set NSS status when called from
7912 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7913 buffer too small. Correct computation of needed size.
7914 * nss/Makefile (tests): Add test-digits-dots.
7915 * nss/test-digits-dots.c: New test.
7917 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7919 * benchtests/Makefile: Remove instructions for adding
7921 * benchtests/README: New file to explain how to execute and
7922 enhance the benchmark tests.
7924 2013-05-21 Andreas Schwab <schwab@suse.de>
7927 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7928 * setjmp/tst-sigsetjmp.c: New test.
7930 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7932 * sysdeps/x86_64/memset.S (memset): New implementation.
7933 (__bzero): Likewise.
7934 (__memset_tail): New function.
7936 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7938 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7939 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7940 __memcpy_sse2_unaligned ifunc selection.
7941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7942 Add memcpy-sse2-unaligned.S.
7943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7944 Add: __memcpy_sse2_unaligned.
7946 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7949 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7950 math_force_eval before restoring floating-point envrionment.
7951 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7954 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7956 (__nearbyintl): Use math_force_eval before restoring
7957 floating-point environment.
7958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7960 * math/gen-libm-test.pl (special_functions): Remove.
7961 (parse_args): Don't handle TEST_extra. Handle functions with no
7963 * math/libm-test.inc (struct test_sincos_data): Replace with
7964 struct test_fFF_11_data.
7965 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7966 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7967 (sincos_test_data): Change element type to struct
7968 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7969 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7970 RUN_TEST_LOOP_sincos.
7971 * math/README.libm-test: Don't mention special handling of
7972 individual functions.
7973 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7975 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7976 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7977 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7980 * math/gen-libm-test.pl (get_variable): Remove function.
7981 (parse_args): Don't show pointer parameters to call in test
7982 names. Use "extra output N" in test names for extra outputs
7983 rather than naming variables.
7985 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7988 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7989 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7990 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7992 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7994 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7997 * math/gen-libm-test.pl (@tests): Remove variable.
7999 (new_test): Remove function.
8000 (show_exceptions): New function.
8001 (special_functions): Use show_exceptions instead of new_test.
8002 (parse_args): Likewise.
8003 (generate_testfile): Pass only function name in generated call to
8004 print_max_error or print_complex_max_error.
8005 (get_ulps): Do not handle complex tests specially.
8006 (output_test): Rename to ...
8007 (get_all_ulps_for_test): ... this. Return a string rather than
8008 printing to a file. Require ulps to be present.
8009 (output_ulps): Generate arrays rather than #defines.
8010 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8011 (struct ulp_data): New type.
8012 (BUILD_COMPLEX_ULP): Remove macro.
8013 (compare_ulp_data): New function.
8014 (find_ulps): Likewise.
8015 (find_test_ulps): Likewise.
8016 (find_function_ulps): Likewise.
8017 (find_complex_function_ulps): Likewise.
8018 (print_max_error): Determine allowed ulps using
8020 (print_complex_max_error): Determine allowed ulps using
8021 find_complex_function_ulps.
8022 (check_float_internal): Determine max ulps using find_test_ulps.
8023 (check_float): Do not take max_ulp parameter. Update call to
8024 check_float_internal.
8025 (check_complex): Likewise.
8026 (check_int): Do not take max_ulp parameter.
8027 (check_long): Likewise.
8028 (check_bool): Likewise.
8029 (check_longlong): Likewise.
8030 (struct test_f_f_data): Remove max_ulp field.
8031 (struct test_ff_f_data): Likewise.
8032 (struct test_ff_f_data_nexttoward): Likewise.
8033 (struct test_fi_f_data): Likewise.
8034 (struct test_fl_f_data): Likewise.
8035 (struct test_if_f_data): Likewise.
8036 (struct test_fff_f_data): Likewise.
8037 (struct test_c_f_data): Likewise.
8038 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8039 (struct test_fF_f1_data): Likewise.
8040 (struct test_ffI_f1_data): Likewise.
8041 (struct test_c_c_data): Remove max_ulp field.
8042 (struct test_cc_c_data): Likewise.
8043 (struct test_f_i_data): Likewise.
8044 (struct test_ff_i_data): Likewise.
8045 (struct test_f_l_data): Likewise.
8046 (struct test_f_L_data): Likewise.
8047 (struct test_sincos_data): Likewise.
8048 (RUN_TEST_f_f): Do not handle ulps.
8049 (RUN_TEST_LOOP_f_f): Likewise.
8050 (RUN_TEST_2_f): Likewise.
8051 (RUN_TEST_LOOP_2_f): Likewise.
8052 (RUN_TEST_fff_f): Likewise.
8053 (RUN_TEST_LOOP_fff_f): Likewise.
8054 (RUN_TEST_c_f): Likewise.
8055 (RUN_TEST_LOOP_c_f): Likewise.
8056 (RUN_TEST_f_f1): Likewise.
8057 (RUN_TEST_LOOP_f_f1): Likewise.
8058 (RUN_TEST_fF_f1): Likewise.
8059 (RUN_TEST_LOOP_fF_f1): Likewise.
8060 (RUN_TEST_fI_f1): Likewise.
8061 (RUN_TEST_LOOP_fI_f1): Likewise.
8062 (RUN_TEST_ffI_f1): Likewise.
8063 (RUN_TEST_LOOP_ffI_f1): Likewise.
8064 (RUN_TEST_c_c): Likewise.
8065 (RUN_TEST_LOOP_c_c): Likewise.
8066 (RUN_TEST_cc_c): Likewise.
8067 (RUN_TEST_LOOP_cc_c): Likewise.
8068 (RUN_TEST_f_i): Likewise.
8069 (RUN_TEST_LOOP_f_i): Likewise.
8070 (RUN_TEST_f_i_tg): Likewise.
8071 (RUN_TEST_LOOP_f_i_tg): Likewise.
8072 (RUN_TEST_ff_i_tg): Likewise.
8073 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8074 (RUN_TEST_f_b): Likewise.
8075 (RUN_TEST_LOOP_f_b): Likewise.
8076 (RUN_TEST_f_b_tg): Likewise.
8077 (RUN_TEST_LOOP_f_b_tg): Likewise.
8078 (RUN_TEST_f_l): Likewise.
8079 (RUN_TEST_LOOP_f_l): Likewise.
8080 (RUN_TEST_f_L): Likewise.
8081 (RUN_TEST_LOOP_f_L): Likewise.
8082 (RUN_TEST_sincos): Likewise.
8083 (RUN_TEST_LOOP_sincos): Likewise.
8085 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8089 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8090 main case of finite arguments, set rounding mode to FE_TONEAREST
8091 and discard exceptions.
8092 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8094 (remainder_tonearest_test_data): New variable.
8095 (remainder_test_tonearest): New function.
8096 (remainder_towardzero_test_data): New variable.
8097 (remainder_test_towardzero): New function.
8098 (remainder_downward_test_data): New variable.
8099 (remainder_test_downward): New function.
8100 (remainder_upward_test_data): New variable.
8101 (remainder_test_upward): New function.
8102 (main): Call the new test functions.
8104 * math/libm-test.inc (struct test_f_f1_data): Remove field
8106 (struct test_fF_f1_data): Likewise.
8107 (struct test_ffI_f1_data): Likewise.
8108 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8109 based on value of EXTRA_EXPECTED.
8110 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8111 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8112 EXTRA_VAR based on value of EXTRA_EXPECTED.
8113 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8114 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8115 EXTRA_VAR based on value of EXTRA_EXPECTED.
8116 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8117 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8118 EXTRA_VAR based on value of EXTRA_EXPECTED.
8119 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8120 * math/gen-libm-test.pl (parse_args): Don't output initializers
8121 for extra output values.
8123 * math/libm-test.inc (check_int): Expect result to be exactly
8124 equal to expected value and do not handle ulps.
8125 (check_long): Likewise.
8126 (check_longlong): Likewise.
8128 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8130 (cimag_test_data): Likewise.
8131 (conj_test_data): Likewise.
8132 (copysign_test_data): Likewise.
8133 (cproj_test_data): Likewise.
8134 (creal_test_data): Likewise.
8135 (fabs_test_data): Likewise.
8136 (fdim_test_data): Likewise.
8137 (finite_test_data): Likewise.
8138 (floor_test_data): Likewise.
8139 (fmax_test_data): Likewise.
8140 (fmin_test_data): Likewise.
8141 (fmod_test_data): Likewise.
8142 (fpclassify_test_data): Likewise.
8143 (frexp_test_data): Likewise.
8144 (ilogb_test_data): Likewise.
8145 (isfinite_test_data): Likewise.
8146 (isgreater_test_data): Likewise.
8147 (isgreaterequal_test_data): Likewise.
8148 (isinf_test_data): Likewise.
8149 (isless_test_data): Likewise.
8150 (islessequal_test_data): Likewise.
8151 (islessgreater_test_data): Likewise.
8152 (isnan_test_data): Likewise.
8153 (isnormal_test_data): Likewise.
8154 (issignaling_test_data): Likewise.
8155 (isunordered_test_data): Likewise.
8156 (ldexp_test_data): Likewise.
8157 (lrint_test_data): Likewise.
8158 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8159 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8160 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8161 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8162 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8163 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8165 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8166 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8167 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8168 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8170 (lrint_downward_test_data): Test for "inexact" exceptions.
8171 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8172 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8173 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8175 (lrint_upward_test_data): Test for "inexact" exceptions.
8176 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8178 (llrint_test_data): Test for "inexact" exceptions.
8179 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8180 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8181 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8182 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8183 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8184 (llrint_downward_test_data): Test for "inexact" exceptions.
8185 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8186 (llrint_upward_test_data): Test for "inexact" exceptions.
8187 (logb_test_data): Likewise.
8188 (logb_downward_test_data): Likewise.
8189 (nextafter_test_data): Likewise.
8190 (nexttoward_test_data): Likewise.
8191 (remainder_test_data): Likewise.
8192 (remquo_test_data): Likewise.
8193 (scalbn_test_data): Likewise.
8194 (scalbln_test_data): Likewise.
8195 (signbit_test_data): Likewise.
8196 (sqrt_test_data): Likewise.
8197 (significand_test_data): Likewise.
8199 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8202 * benchtests/bench-modf.c (struct args): Mark arg0 as
8204 * scripts/bench.pl: Mark members of struct args as volatile.
8206 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8209 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8210 negative infinity on POWER6 or lower.
8211 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8213 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8216 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8217 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8218 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8219 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8220 (_FP_SETQNAN): New macro.
8221 (_FP_SETQNAN_SEMIRAW): Likewise.
8222 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8223 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8224 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8225 (FP_EXTEND): Use _FP_FRAC_SNANP.
8226 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8227 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8229 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8231 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8234 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8236 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8237 with DIVIDE_BY_ZERO_EXCEPTION.
8238 (gamma_test_data): Likewise.
8239 (lgamma_test_data): Likewise.
8240 (log_test_data): Likewise.
8241 (log10_test_data): Likewise.
8242 (log2_test_data): Likewise.
8243 (tgamma_test_data): Likewise.
8245 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8246 (acos_test_tonearest): Likewise.
8247 (acos_test_towardzero): Likewise.
8248 (acos_test_downward): Likewise.
8249 (acos_test_upward): Likewise.
8250 (acosh_test): Likewise.
8251 (asin_test): Likewise.
8252 (asin_test_tonearest): Likewise.
8253 (asin_test_towardzero): Likewise.
8254 (asin_test_downward): Likewise.
8255 (asin_test_upward): Likewise.
8256 (asinh_test): Likewise.
8257 (atan_test): Likewise.
8258 (atanh_test): Likewise.
8259 (atan2_test): Likewise.
8260 (cabs_test): Likewise.
8261 (cacos_test): Likewise.
8262 (cacosh_test): Likewise.
8263 (casin_test): Likewise.
8264 (casinh_test): Likewise.
8265 (catan_test): Likewise.
8266 (catanh_test): Likewise.
8267 (cbrt_test): Likewise.
8268 (ccos_test): Likewise.
8269 (ccosh_test): Likewise.
8270 (cexp_test): Likewise.
8271 (clog_test): Likewise.
8272 (clog10_test): Likewise.
8273 (cos_test): Likewise.
8274 (cos_test_tonearest): Likewise.
8275 (cos_test_towardzero): Likewise.
8276 (cos_test_downward): Likewise.
8277 (cos_test_upward): Likewise.
8278 (cosh_test): Likewise.
8279 (cosh_test_tonearest): Likewise.
8280 (cosh_test_towardzero): Likewise.
8281 (cosh_test_downward): Likewise.
8282 (cosh_test_upward): Likewise.
8283 (cpow_test): Likewise.
8284 (csin_test): Likewise.
8285 (csinh_test): Likewise.
8286 (csqrt_test): Likewise.
8287 (ctan_test): Likewise.
8288 (ctan_test_tonearest): Likewise.
8289 (ctan_test_towardzero): Likewise.
8290 (ctan_test_downward): Likewise.
8291 (ctan_test_upward): Likewise.
8292 (ctanh_test): Likewise.
8293 (ctanh_test_tonearest): Likewise.
8294 (ctanh_test_towardzero): Likewise.
8295 (ctanh_test_downward): Likewise.
8296 (ctanh_test_upward): Likewise.
8297 (erf_test): Likewise.
8298 (erfc_test): Likewise.
8299 (exp_test): Likewise.
8300 (exp_test_tonearest): Likewise.
8301 (exp_test_towardzero): Likewise.
8302 (exp_test_downward): Likewise.
8303 (exp_test_upward): Likewise.
8304 (exp10_test): Likewise.
8305 (exp2_test): Likewise.
8306 (expm1_test): Likewise.
8307 (fmod_test): Likewise.
8308 (gamma_test): Likewise.
8309 (hypot_test): Likewise.
8310 (j0_test): Likewise.
8311 (j1_test): Likewise.
8312 (jn_test): Likewise.
8313 (lgamma_test): Likewise.
8314 (log_test): Likewise.
8315 (log10_test): Likewise.
8316 (log1p_test): Likewise.
8317 (log2_test): Likewise.
8318 (logb_test_downward): Likewise.
8319 (pow_test): Likewise.
8320 (pow_test_tonearest): Likewise.
8321 (pow_test_towardzero): Likewise.
8322 (pow_test_downward): Likewise.
8323 (pow_test_upward): Likewise.
8324 (remainder_test): Likewise.
8325 (remquo_test): Likewise.
8326 (sin_test): Likewise.
8327 (sin_test_tonearest): Likewise.
8328 (sin_test_towardzero): Likewise.
8329 (sin_test_downward): Likewise.
8330 (sin_test_upward): Likewise.
8331 (sincos_test): Likewise.
8332 (sinh_test): Likewise.
8333 (sinh_test_tonearest): Likewise.
8334 (sinh_test_towardzero): Likewise.
8335 (sinh_test_downward): Likewise.
8336 (sinh_test_upward): Likewise.
8337 (sqrt_test): Likewise.
8338 (tan_test): Likewise.
8339 (tan_test_tonearest): Likewise.
8340 (tan_test_towardzero): Likewise.
8341 (tan_test_downward): Likewise.
8342 (tan_test_upward): Likewise.
8343 (tanh_test): Likewise.
8344 (tgamma_test): Likewise.
8345 (y0_test): Likewise.
8346 (y1_test): Likewise.
8347 (yn_test): Likewise.
8349 * math/gen-libm-test.pl (adjust_arg): Remove function.
8350 (special_function): Remove argument $in_func. Only handle
8351 generating output for tables of tests, not inside functions.
8352 (parse_args): Likewise.
8353 (generate_testfile): Remove variable $in_func. Update call to
8355 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8356 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8357 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8358 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8359 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8360 (MAX_VALUE_INIT): Rename macro to max_value.
8361 (MIN_VALUE_INIT): Rename macro to min_value.
8362 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8363 (plus_zero): Remove variable.
8364 (minus_zero): Likewise.
8365 (plus_infty): Likewise.
8366 (minus_infty): Likewise.
8367 (qnan_value): Likewise.
8368 (max_value): Likewise.
8369 (min_value): Likewise.
8370 (min_subnorm_value): Likewise.
8372 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8374 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8375 uint64_t or uint32_t usage.
8376 * crypt/sha256-block.c: Likewise.
8377 * crypt/sha256-crypt.c: Likewise.
8378 * crypt/sha256.c: Likewise.
8379 * crypt/sha512-block.c: Likewise.
8380 * crypt/sha512-crypt.c: Likewise.
8381 * crypt/sha512.c: Likewise.
8382 * debug/backtrace-tst.c: Likewise.
8383 * debug/pcprofiledump.c: Likewise.
8384 * elf/cache.c: Likewise.
8385 * elf/dl-cache.c: Likewise.
8386 * elf/dl-misc.c: Likewise.
8387 * elf/dl-profile.c: Likewise.
8388 * elf/dl-support.c: Likewise.
8389 * elf/ldconfig.c: Likewise.
8390 * elf/sprof.c: Likewise.
8391 * iconv/dummy-repertoire.c: Likewise.
8392 * iconv/iconv_charmap.c: Likewise.
8393 * iconv/skeleton.c: Likewise.
8394 * iconvdata/8bit-generic.c: Likewise.
8395 * iconvdata/cp737.h: Likewise.
8396 * iconvdata/cp775.h: Likewise.
8397 * iconvdata/ibm1008.h: Likewise.
8398 * iconvdata/ibm1025.h: Likewise.
8399 * iconvdata/ibm1046.h: Likewise.
8400 * iconvdata/ibm1097.h: Likewise.
8401 * iconvdata/ibm1112.h: Likewise.
8402 * iconvdata/ibm1122.h: Likewise.
8403 * iconvdata/ibm1123.h: Likewise.
8404 * iconvdata/ibm1124.h: Likewise.
8405 * iconvdata/ibm1129.h: Likewise.
8406 * iconvdata/ibm1130.h: Likewise.
8407 * iconvdata/ibm1132.h: Likewise.
8408 * iconvdata/ibm1133.h: Likewise.
8409 * iconvdata/ibm1137.h: Likewise.
8410 * iconvdata/ibm1140.h: Likewise.
8411 * iconvdata/ibm1141.h: Likewise.
8412 * iconvdata/ibm1142.h: Likewise.
8413 * iconvdata/ibm1143.h: Likewise.
8414 * iconvdata/ibm1144.h: Likewise.
8415 * iconvdata/ibm1145.h: Likewise.
8416 * iconvdata/ibm1146.h: Likewise.
8417 * iconvdata/ibm1147.h: Likewise.
8418 * iconvdata/ibm1148.h: Likewise.
8419 * iconvdata/ibm1149.h: Likewise.
8420 * iconvdata/ibm1153.h: Likewise.
8421 * iconvdata/ibm1154.h: Likewise.
8422 * iconvdata/ibm1155.h: Likewise.
8423 * iconvdata/ibm1156.h: Likewise.
8424 * iconvdata/ibm1157.h: Likewise.
8425 * iconvdata/ibm1158.h: Likewise.
8426 * iconvdata/ibm1160.h: Likewise.
8427 * iconvdata/ibm1161.h: Likewise.
8428 * iconvdata/ibm1162.h: Likewise.
8429 * iconvdata/ibm1163.h: Likewise.
8430 * iconvdata/ibm1164.h: Likewise.
8431 * iconvdata/ibm1166.h: Likewise.
8432 * iconvdata/ibm1167.h: Likewise.
8433 * iconvdata/ibm12712.h: Likewise.
8434 * iconvdata/ibm1390.h: Likewise.
8435 * iconvdata/ibm1399.h: Likewise.
8436 * iconvdata/ibm16804.h: Likewise.
8437 * iconvdata/ibm4517.h: Likewise.
8438 * iconvdata/ibm4899.h: Likewise.
8439 * iconvdata/ibm4909.h: Likewise.
8440 * iconvdata/ibm4971.h: Likewise.
8441 * iconvdata/ibm5347.h: Likewise.
8442 * iconvdata/ibm803.h: Likewise.
8443 * iconvdata/ibm856.h: Likewise.
8444 * iconvdata/ibm901.h: Likewise.
8445 * iconvdata/ibm902.h: Likewise.
8446 * iconvdata/ibm9030.h: Likewise.
8447 * iconvdata/ibm9066.h: Likewise.
8448 * iconvdata/ibm921.h: Likewise.
8449 * iconvdata/ibm922.h: Likewise.
8450 * iconvdata/ibm9448.h: Likewise.
8451 * iconvdata/isiri-3342.h: Likewise.
8452 * iconvdata/jis0201.h: Likewise.
8453 * include/link.h: Likewise.
8454 * include/netdb.h: Likewise.
8455 * inet/check_native.c: Likewise.
8456 * inet/check_pf.c: Likewise.
8457 * inet/getipv4sourcefilter.c: Likewise.
8458 * inet/getnameinfo.c: Likewise.
8459 * inet/getsourcefilter.c: Likewise.
8460 * inet/htonl.c: Likewise.
8461 * inet/setipv4sourcefilter.c: Likewise.
8462 * inet/setsourcefilter.c: Likewise.
8463 * inet/test-inet6_opt.c: Likewise.
8464 * inet/tst-network.c: Likewise.
8465 * locale/C-collate.c: Likewise.
8466 * locale/C-ctype.c: Likewise.
8467 * locale/C-time.c: Likewise.
8468 * locale/C-translit.h: Likewise.
8469 * locale/loadarchive.c: Likewise.
8470 * locale/programs/3level.h: Likewise.
8471 * locale/programs/charmap.c: Likewise.
8472 * locale/programs/charmap.h: Likewise.
8473 * locale/programs/ld-address.c: Likewise.
8474 * locale/programs/ld-collate.c: Likewise.
8475 * locale/programs/ld-ctype.c: Likewise.
8476 * locale/programs/ld-identification.c: Likewise.
8477 * locale/programs/ld-measurement.c: Likewise.
8478 * locale/programs/ld-messages.c: Likewise.
8479 * locale/programs/ld-monetary.c: Likewise.
8480 * locale/programs/ld-name.c: Likewise.
8481 * locale/programs/ld-numeric.c: Likewise.
8482 * locale/programs/ld-paper.c: Likewise.
8483 * locale/programs/ld-telephone.c: Likewise.
8484 * locale/programs/ld-time.c: Likewise.
8485 * locale/programs/linereader.c: Likewise.
8486 * locale/programs/locale.c: Likewise.
8487 * locale/programs/locarchive.c: Likewise.
8488 * locale/programs/locfile.h: Likewise.
8489 * locale/programs/repertoire.c: Likewise.
8490 * locale/programs/simple-hash.c: Likewise.
8491 * locale/programs/simple-hash.h: Likewise.
8492 * malloc/memusage.c: Likewise.
8493 * malloc/memusagestat.c: Likewise.
8494 * nis/nis_defaults.c: Likewise.
8495 * nis/nis_hash.c: Likewise.
8496 * nis/nis_print.c: Likewise.
8497 * nis/nis_xdr.c: Likewise.
8498 * nscd/connections.c: Likewise.
8499 * nscd/hstcache.c: Likewise.
8500 * nscd/nscd_gethst_r.c: Likewise.
8501 * nscd/nscd_getserv_r.c: Likewise.
8502 * nscd/nscd_helper.c: Likewise.
8503 * nscd/servicescache.c: Likewise.
8504 * nss/makedb.c: Likewise.
8505 * nss/nss_db/db-XXX.c: Likewise.
8506 * nss/nss_db/db-initgroups.c: Likewise.
8507 * nss/nss_db/db-netgrp.c: Likewise.
8508 * nss/nss_files/files-network.c: Likewise.
8509 * nss/nss_files/files-parse.c: Likewise.
8510 * posix/bug-regex5.c: Likewise.
8511 * posix/fnmatch_loop.c: Likewise.
8512 * posix/regcomp.c: Likewise.
8513 * posix/regexec.c: Likewise.
8514 * posix/tst-rfc3484-2.c: Likewise.
8515 * posix/tst-rfc3484-3.c: Likewise.
8516 * posix/tst-rfc3484.c: Likewise.
8517 * resolv/nss_dns/dns-canon.c: Likewise.
8518 * resolv/nss_dns/dns-network.c: Likewise.
8519 * resolv/res_init.c: Likewise.
8520 * resolv/res_mkquery.c: Likewise.
8521 * resolv/tst-aton.c: Likewise.
8522 * stdlib/cxa_atexit.c: Likewise.
8523 * stdlib/cxa_finalize.c: Likewise.
8524 * stdlib/gen-fpioconst.c: Likewise.
8525 * stdlib/strtol_l.c: Likewise.
8526 * string/tst-endian.c: Likewise.
8527 * sunrpc/auth_des.c: Likewise.
8528 * sunrpc/clnt_udp.c: Likewise.
8529 * sunrpc/rtime.c: Likewise.
8530 * sunrpc/svcauth_des.c: Likewise.
8531 * sunrpc/xdr.c: Likewise.
8532 * sunrpc/xdr_intXX_t.c: Likewise.
8533 * sunrpc/xdr_rec.c: Likewise.
8534 * sysdeps/generic/ldconfig.h: Likewise.
8535 * sysdeps/generic/ldsodefs.h: Likewise.
8536 * sysdeps/generic/memusage.h: Likewise.
8537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8547 * sysdeps/posix/getaddrinfo.c: Likewise.
8548 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8549 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8550 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8551 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8552 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8553 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8554 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8555 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8556 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8557 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8558 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8559 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8560 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8561 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8562 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8563 * sysdeps/x86_64/dl-tls.h: Likewise.
8564 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8565 * time/alt_digit.c: Likewise.
8566 * time/era.c: Likewise.
8567 * wcsmbs/tst-c16c32-1.c: Likewise.
8569 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8571 * math/libm-test.inc (struct test_sincos_data): New type.
8572 (RUN_TEST_LOOP_sincos): New macro.
8573 (sincos_test_data): New variable.
8574 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8576 2013-05-16 Richard Henderson <rth@redhat.com>
8578 * math/atest-exp2.c (LIMB64): New macro.
8579 (CONSTSZ): New macro.
8580 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8582 (print_mpn_fp): ... to function scope.
8583 (read_mpn_hex): Remove.
8585 (exp2_mpn): Use mp_log2.
8586 (main): Use mp_exp1.
8588 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8590 * math/libm-test.inc: Remove comment about not testing "inexact"
8592 (INEXACT_EXCEPTION): New macro.
8593 (NO_INEXACT_EXCEPTION): Likewise.
8594 (INVALID_EXCEPTION_OK): Update value.
8595 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8596 (OVERFLOW_EXCEPTION_OK): Likewise.
8597 (UNDERFLOW_EXCEPTION_OK): Likewise.
8598 (IGNORE_ZERO_INF_SIGN): Likewise.
8599 (ERRNO_UNCHANGED): Likewise.
8600 (ERRNO_EDOM): Likewise.
8601 (ERRNO_ERANGE): Likewise.
8602 (test_exceptions): Handle testing "inexact" exceptions.
8603 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8604 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8605 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8606 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8608 (rint_towardzero_test_data): Likewise.
8609 (rint_downward_test_data): Likewise.
8610 (rint_upward_test_data): Likewise.
8612 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8613 with OVERFLOW_EXCEPTION.
8614 (exp10_test_data): Likewise.
8615 (exp2_test_data): Likewise.
8616 (expm1_test_data): Likewise.
8617 (lgamma_test_data): Likewise.
8618 (pow_test_data): Likewise.
8619 (tgamma_test_data): Likewise.
8620 (yn_test_data): Remove duplicate test of overflow.
8622 * math/libm-test.inc (struct test_cc_c_data): New type.
8623 (RUN_TEST_LOOP_cc_c): New macro.
8624 (cpow_test_data): New variable.
8625 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8627 * math/libm-test.inc (struct test_f_L_data): New type.
8628 (RUN_TEST_LOOP_f_L): New macro.
8629 (llrint_test_data): New variable.
8630 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8631 (llrint_tonearest_test_data): New variable.
8632 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8633 (llrint_towardzero_test_data): New variable.
8634 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8635 (llrint_downward_test_data): New variable.
8636 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8637 (llrint_upward_test_data): New variable.
8638 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8639 (llround_test_data): New variable.
8640 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8642 2013-05-13 Peter Collingbourne <pcc@google.com>
8644 * math/atest-exp2.c (get_log2): Remove const attribute.
8646 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8648 * math/libm-test.inc (struct test_f_l_data): New type.
8649 (RUN_TEST_LOOP_f_l): New macro.
8650 (lrint_test_data): New variable.
8651 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8652 (lrint_tonearest_test_data): New variable.
8653 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8654 (lrint_towardzero_test_data): New variable.
8655 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8656 (lrint_downward_test_data): New variable.
8657 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8658 (lrint_upward_test_data): New variable.
8659 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8660 (lround_test_data): New variable.
8661 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8663 2013-05-15 Peter Collingbourne <pcc@google.com>
8665 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8666 (EXTRACT_WORDS64) Use where appropriate.
8667 (INSERT_WORDS64) Likewise.
8669 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8670 constraints with x constraints.
8671 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8673 * malloc/obstack.c (_obstack_compat): Add initializer.
8675 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8677 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8678 si_trapno and add si_addr_lsb to _sifields.sigfault.
8679 (si_trapno): Remove macro.
8680 (si_addr_lsb): Define new macro.
8681 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8683 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8685 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8686 instead of TEST_f_l.
8687 (llrint_test_tonearest): Likewise.
8688 (llrint_test_towardzero): Likewise.
8689 (llrint_test_downward): Likewise.
8690 (llrint_test_upward): Likewise.
8691 (llround_test): Likewise.
8693 * math/libm-test.inc (struct test_f_i_data): Add comment.
8694 (RUN_TEST_LOOP_f_b): New macro.
8695 (RUN_TEST_LOOP_f_b_tg): Likewise.
8696 (finite_test_data): New variable.
8697 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8698 (isfinite_test_data): New variable.
8699 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8700 (isinf_test_data): New variable.
8701 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8702 (isnan_test_data): New variable.
8703 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8704 (isnormal_test_data): New variable.
8705 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8706 (issignaling_test_data): New variable.
8707 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8708 (signbit_test_data): New variable.
8709 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8711 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8712 with INVALID_EXCEPTION.
8713 (acosh_test_data): Likewise.
8714 (asin_test_data): Likewise.
8715 (atanh_test_data): Likewise.
8716 (fmod_test_data): Likewise.
8717 (log_test_data): Likewise.
8718 (log10_test_data): Likewise.
8719 (log2_test_data): Likewise.
8720 (pow_test_data): Likewise.
8721 (sqrt_test_data): Likewise.
8722 (y0_test_data): Likewise.
8723 (y1_test_data): Likewise.
8724 (yn_test_data): Likewise.
8726 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8729 * math/libm-test.inc (struct test_ff_i_data): New type.
8730 (RUN_TEST_LOOP_ff_i_tg): New macro.
8731 (isgreater_test_data): New variable.
8732 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8733 (isgreaterequal_test_data): New variable.
8734 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8735 (isless_test_data): New variable.
8736 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8737 (islessequal_test_data): New variable.
8738 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8739 (islessgreater_test_data): New variable.
8740 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8741 (isunordered_test_data): New variable.
8742 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8744 2013-05-14 David S. Miller <davem@davemloft.net>
8746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8748 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8750 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8752 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8754 (struct test_f_i_data): Change type of max_ulp to int.
8756 * math/libm-test.inc (test_ffI_f1_data): New type.
8757 (RUN_TEST_LOOP_ffI_f1): New macro.
8758 (remquo_test_data): New variable.
8759 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8761 * setjmp/tst-setjmp-fp.c: New file.
8762 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8763 (link-libm): New variable.
8764 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8766 * math/libm-test.inc (struct test_f_i_data): New type.
8767 (RUN_TEST_LOOP_f_i): New macro.
8768 (RUN_TEST_LOOP_f_i_tg): Likewise.
8769 (fpclassify_test_data): New variable.
8770 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8771 (ilogb_test_data): New variable.
8772 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8774 * math/libm-test.inc (scalbln_test): Correct function name in END
8777 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8778 (RUN_TEST_LOOP_fI_f1): New macro.
8779 (frexp_test_data): New variable.
8780 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8782 * math/libm-test.inc (struct test_fF_f1_data): New type.
8783 (RUN_TEST_LOOP_fF_f1): New macro.
8784 (modf_test_data): New variable.
8785 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8787 * math/libm-test.inc (struct test_f_f1_data): New type.
8788 (RUN_TEST_LOOP_f_f1): New macro.
8789 (gamma_test_data): New variable.
8790 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8791 (lgamma_test_data): New variable.
8792 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8794 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8796 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8797 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8798 (main): Comment "tls" pseudo-hwcap.
8800 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8802 * math/libm-test.inc (struct test_fl_f_data): New type.
8803 (RUN_TEST_LOOP_fl_f): New variable.
8804 (scalbln_test_data): New variable.
8805 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8807 * math/libm-test.inc (struct test_fi_f_data): New type.
8808 (RUN_TEST_LOOP_fi_f): New macro.
8809 (ldexp_test_data): New variable.
8810 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8811 (scalbn_test_data): New variable.
8812 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8814 * math/libm-test.inc (struct test_c_f_data): New type.
8815 (RUN_TEST_LOOP_c_f): New macro.
8816 (cabs_test_data): New variable.
8817 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8818 (carg_test_data): New variable.
8819 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8820 (cimag_test_data): New variable.
8821 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8822 (creal_test_data): New variable.
8823 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8825 * math/libm-test.inc (struct test_if_f_data): New type.
8826 (RUN_TEST_LOOP_if_f): New macro.
8827 (jn_test_data): New variable.
8828 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8829 (yn_test_data): New variable.
8830 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8832 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8834 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8836 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8837 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8839 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8841 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8842 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8843 (bench-deps): Add bench-timing.h.
8844 * benchtests-bench-skeleton.c: Include bench-timing.h.
8845 (main): Use TIMING_* macros instead of clock_gettime.
8846 * benchtests/bench-timing.h: New file.
8849 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8850 Renamed from _LIB_VERSION.
8851 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8853 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8855 * math/libm-test.inc (struct test_fff_f_data): New type.
8856 (RUN_TEST_LOOP_fff_f): New macro.
8857 (fma_test_data): New variable.
8858 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8859 (fma_towardzero_test_data): New variable.
8860 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8861 (fma_downward_test_data): New variable.
8862 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8863 (fma_upward_test_data): New variable.
8864 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8866 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8867 (struct test_c_c_data): New type.
8868 (RUN_TEST_LOOP_c_c): New macro.
8869 (cacos_test_data): New variable.
8870 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8871 (cacosh_test_data): New variable.
8872 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8873 (casin_test_data): New variable.
8874 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8875 (casinh_test_data): New variable.
8876 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8877 (catan_test_data): New variable.
8878 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8879 (catanh_test_data): New variable.
8880 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8881 (ccos_test_data): New variable.
8882 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8883 (ccosh_test_data): New variable.
8884 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8885 (cexp_test_data): New variable.
8886 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8887 (clog_test_data): New variable.
8888 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8889 (clog10_test_data): New variable.
8890 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8891 (conj_test_data): New variable.
8892 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8893 (cproj_test_data): New variable.
8894 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8895 (csin_test_data): New variable.
8896 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8897 (csinh_test_data): New variable.
8898 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8899 (csqrt_test_data): New variable.
8900 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8901 (ctan_test_data): New variable.
8902 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8903 (ctan_tonearest_test_data): New variable.
8904 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8905 (ctan_towardzero_test_data): New variable.
8906 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8907 (ctan_downward_test_data): New variable.
8908 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8909 (ctan_upward_test_data): New variable.
8910 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8911 (ctanh_test_data): New variable.
8912 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8913 (ctanh_tonearest_test_data): New variable.
8914 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8915 (ctanh_towardzero_test_data): New variable.
8916 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8917 (ctanh_downward_test_data): New variable.
8918 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8919 (ctanh_upward_test_data): New variable.
8920 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8921 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8924 * math/libm-test.inc (struct test_ff_f_data): New type.
8925 (struct test_ff_f_data_nexttoward): Likewise.
8926 (RUN_TEST_LOOP_2_f): New macro.
8927 (RUN_TEST_LOOP_ff_f): Likewise.
8928 (atan2_test_data): New variable.
8929 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8930 (copysign_test_data): New variable.
8931 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8932 (fdim_test_data): New variable.
8933 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8934 (fmax_test_data): New variable.
8935 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8936 (fmin_test_data): New variable.
8937 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8938 (fmod_test_data): New variable.
8939 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8940 (hypot_test_data): New variable.
8941 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8942 (nextafter_test_data): New variable.
8943 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8944 (nexttoward_test_data): New variable.
8945 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8946 (pow_test_data): New variable.
8947 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8948 (pow_tonearest_test_data): New variable.
8949 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8950 (pow_towardzero_test_data): New variable.
8951 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8952 (pow_downward_test_data): New variable.
8953 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8954 (pow_upward_test_data): New variable.
8955 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8956 (remainder_test_data): New variable.
8957 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8958 (scalb_test_data): New variable.
8959 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8960 * sysdeps/i386/fpu/libm-test-ulps: Update.
8962 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8964 * math/libm-test.inc (fma_test): Use max_value instead of local
8966 (nextafter_test): Likewise.
8968 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8969 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8970 (acos_downward_test_data): New variable.
8971 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8972 (acos_upward_test_data): New variable.
8973 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8974 (acosh_test_data): New variable.
8975 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8976 (asin_test_data): New variable.
8977 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8978 (asin_tonearest_test_data): New variable.
8979 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8980 (asin_towardzero_test_data): New variable.
8981 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8982 (asin_downward_test_data): New variable.
8983 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8984 (asin_upward_test_data): New variable.
8985 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8986 (asinh_test_data): New variable.
8987 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8988 (atan_test_data): New variable.
8989 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8990 (atanh_test_data): New variable.
8991 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8992 (cbrt_test_data): New variable.
8993 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8994 (ceil_test_data): New variable.
8995 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8996 (cos_test_data): New variable.
8997 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8998 (cos_tonearest_test_data): New variable.
8999 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9000 (cos_towardzero_test_data): New variable.
9001 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9002 (cos_downward_test_data): New variable.
9003 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9004 (cos_upward_test_data): New variable.
9005 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9006 (cosh_test_data): New variable.
9007 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9008 (cosh_tonearest_test_data): New variable.
9009 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9010 (cosh_towardzero_test_data): New variable.
9011 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9012 (cosh_downward_test_data): New variable.
9013 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9014 (cosh_upward_test_data): New variable.
9015 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9016 (erf_test_data): New variable.
9017 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9018 (erfc_test_data): New variable.
9019 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9020 (exp_test_data): New variable.
9021 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9022 (exp_tonearest_test_data): New variable.
9023 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9024 (exp_towardzero_test_data): New variable.
9025 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9026 (exp_downward_test_data): New variable.
9027 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9028 (exp_upward_test_data): New variable.
9029 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9030 (exp10_test_data): New variable.
9031 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9032 (exp2_test_data): New variable.
9033 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9034 (expm1_test_data): New variable.
9035 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9036 (fabs_test_data): New variable.
9037 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9038 (floor_test_data): New variable.
9039 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9040 (j0_test_data): New variable.
9041 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9042 (j1_test_data): New variable.
9043 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9044 (log_test_data): New variable.
9045 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9046 (log10_test_data): New variable.
9047 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9048 (log1p_test_data): New variable.
9049 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9050 (log2_test_data): New variable.
9051 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9052 (logb_test_data): New variable.
9053 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9054 (logb_downward_test_data): New variable.
9055 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9056 (nearbyint_test_data): New variable.
9057 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9058 (rint_test_data): New variable.
9059 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9060 (rint_tonearest_test_data): New variable.
9061 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9062 (rint_towardzero_test_data): New variable.
9063 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9064 (rint_downward_test_data): New variable.
9065 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9066 (rint_upward_test_data): New variable.
9067 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9068 (round_test_data): New variable.
9069 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9070 (sin_test_data): New variable.
9071 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9072 (sin_tonearest_test_data): New variable.
9073 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9074 (sin_towardzero_test_data): New variable.
9075 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9076 (sin_downward_test_data): New variable.
9077 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9078 (sin_upward_test_data): New variable.
9079 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9080 (sinh_test_data): New variable.
9081 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9082 (sinh_tonearest_test_data): New variable.
9083 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9084 (sinh_towardzero_test_data): New variable.
9085 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9086 (sinh_downward_test_data): New variable.
9087 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9088 (sinh_upward_test_data): New variable.
9089 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9090 (sqrt_test_data): New variable.
9091 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9092 (tan_test_data): New variable.
9093 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9094 (tan_tonearest_test_data): New variable.
9095 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9096 (tan_towardzero_test_data): New variable.
9097 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9098 (tan_downward_test_data): New variable.
9099 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9100 (tan_upward_test_data): New variable.
9101 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9102 (tanh_test_data): New variable.
9103 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9104 (tgamma_test_data): New variable.
9105 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9106 (trunc_test_data): New variable.
9107 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9108 (y0_test_data): New variable.
9109 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9110 (y1_test_data): New variable.
9111 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9112 (significand_test_data): New variable.
9113 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9115 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9118 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9120 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9122 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9124 2013-05-10 Andreas Jaeger <aj@suse.de>
9127 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9128 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9130 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9132 * math/gen-libm-test.pl (adjust_arg): New function.
9133 (special_functions): Handle generating output in both functions
9135 (parse_args): Likewise.
9136 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9137 $in_func argument to parse_args.
9138 * math/libm-test.inc (struct test_f_f_data): New type.
9139 (IF_ROUND_INIT_): New macro.
9140 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9141 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9142 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9143 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9144 (ROUND_RESTORE_): Likewise.
9145 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9146 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9147 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9148 (ROUND_RESTORE_FE_UPWARD): Likewise.
9149 (RUN_TEST_LOOP_f_f): New macro.
9150 (acos_test_data): New variable.
9151 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9152 (acos_tonearest_test_data): New variable.
9153 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9155 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9157 * benchtests/bench-skeleton.c (startup): Fix coding style.
9159 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9162 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9163 negative infinity argument.
9164 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9165 negative infinity argument.
9166 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9167 negative infinity argument.
9168 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9171 2013-05-10 Florian Weimer <fweimer@redhat.com>
9173 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9174 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9175 * iconv/iconv_prog.c (main): Likewise.
9176 * locale/programs/charmap-dir.c (charmap_readdir)
9177 (fopen_uncompressed): Likewise.
9178 * locale/programs/locfile.c (siblings_uncached)
9179 (write_locale_data): Use lstat64 instead of lstat.
9180 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9183 2013-05-10 Andreas Jaeger <aj@suse.de>
9186 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9190 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9192 * elf/dl-close.c (_dl_close_worker): Add comments.
9194 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9197 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9199 (__ieee754_rem_pio2l): Update comments.
9202 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9204 (__ieee754_rem_pio2l): Update comments.
9206 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9207 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9209 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9212 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9213 (M_PI_34_LOG10El): Likewise.
9214 (M_PI2_LOG10El): Likewise.
9215 (M_PI4_LOG10El): Likewise.
9216 (M_PI_LOG10El): Likewise.
9218 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9222 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9224 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9225 (MINUS_ZERO_INIT): Likewise.
9226 (PLUS_INFTY_INIT): Likewise.
9227 (MINUS_INFTY_INIT): Likewise.
9228 (QNAN_VALUE_INIT): Likewise.
9229 (MAX_VALUE_INIT): Likewise.
9230 (MIN_VALUE_INIT): Likewise.
9231 (MIN_SUBNORM_VALUE_INIT): Likewise.
9232 (plus_zero): Initialize with PLUS_ZERO_INIT.
9233 (minus_zero): Initialize with MINUS_ZERO_INIT.
9234 (plus_infty): Initialize with PLUS_INFTY_INIT.
9235 (minus_infty): Initialize with MINUS_INFTY_INIT.
9236 (qnan_value): Initialize with QNAN_VALUE_INIT.
9237 (max_value): Initialize with MAX_VALUE_INIT.
9238 (min_value): Initialize with MIN_VALUE_INIT.
9239 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9241 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9242 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9243 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9244 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9246 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9247 (RUN_TEST_2_f): Likewise.
9248 (RUN_TEST_ff_f): Likewise.
9249 (RUN_TEST_fi_f): Likewise.
9250 (RUN_TEST_fl_f): Likewise.
9251 (RUN_TEST_fff_f): Likewise.
9252 (RUN_TEST_c_f): Likewise.
9253 (RUN_TEST_f_f1): Likewise.
9254 (RUN_TEST_fF_f1): Likewise.
9255 (RUN_TEST_fI_f1): Likewise.
9256 (RUN_TEST_ffI_f1): Likewise.
9257 (RUN_TEST_c_c): Likewise.
9258 (RUN_TEST_cc_c): Likewise.
9259 (RUN_TEST_f_i): Likewise.
9260 (RUN_TEST_f_i_tg): Likewise.
9261 (RUN_TEST_ff_i_tg): Likewise.
9262 (RUN_TEST_f_b): Likewise.
9263 (RUN_TEST_f_b_tg): Likewise.
9264 (RUN_TEST_f_l): Likewise.
9265 (RUN_TEST_f_L): Likewise.
9266 (RUN_TEST_sincos): Likewise.
9267 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9268 whether to show exceptions. Do not include ");\n" in return
9270 (special_functions): Output call to RUN_TEST_sincos instead of
9271 check_float calls. Update calls to new_test.
9272 (parse_args): Output call to single RUN_TEST_* macro instead of
9273 check_* calls and other assignments. Update calls to new_test.
9279 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9280 input to result for tgamma overflow.
9281 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9282 (gamma_coeff): New variable.
9283 (NCOEFF): New macro.
9284 (gamma_positive): New function.
9285 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9286 underflow here. Use gamma_positive instead of exp (lgamma) for
9288 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9289 (gamma_coeff): New variable.
9290 (NCOEFF): New macro.
9291 (gammaf_positive): New function.
9292 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9293 underflow here. Use gamma_positive instead of exp (lgamma) for
9295 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9296 (gamma_coeff): New variable.
9297 (NCOEFF): New macro.
9298 (gammal_positive): New function.
9299 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9300 underflow here. Use gamma_positive instead of exp (lgamma) for
9302 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9303 (gamma_coeff): New variable.
9304 (NCOEFF): New macro.
9305 (gammal_positive): New function.
9306 (__ieee754_gammal_r): Handle positive infinity, overflow and
9307 underflow here. Handle NaN the same as positive infinity. Remove
9308 check x < 0xffffffff for negative integers. Use gamma_positive
9309 instead of exp (lgamma) for other arguments.
9310 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9311 (gamma_coeff): New variable.
9312 (NCOEFF): New macro.
9313 (gammal_positive): New function.
9314 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9315 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9319 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9320 * sysdeps/generic/math_private.h (__gamma_productf): New
9322 (__gamma_product): Likewise.
9323 (__gamma_productl): Likewise.
9324 * math/Makefile (libm-calls): Add gamma_product.
9325 * math/libm-test.inc (tgamma_test): Add more tests.
9326 * sysdeps/i386/fpu/libm-test-ulps: Update.
9327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9329 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9331 * benchtests/bench-skeleton.c (main): Preheat CPU.
9333 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9335 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9337 2013-05-07 Roland McGrath <roland@hack.frob.com>
9339 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9340 and _dl_skip_args_internal.
9342 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9344 * manual/message.texi (Message Translation): Talk about users.
9345 Message to key mapping impacts design.
9347 2013-05-06 Roland McGrath <roland@hack.frob.com>
9349 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9351 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9353 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9354 * sysdeps/wordsize-64/glob64.c: ... here.
9356 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9357 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9360 * debug/getlogin_r_chk.c: Moved to ...
9361 * login/getlogin_r_chk.c: ... here.
9362 * debug/Makefile (routines): Move getlogin_r_chk to ...
9363 * login/Makefile (routines): ... here.
9364 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9365 * login/Versions (libc: GLIBC_2.4): ... here.
9367 * io/poll.c (__poll): Renamed from poll.
9368 Add libc_hidden_def.
9369 (poll): Define as weak alias.
9371 * debug/ptsname_r_chk.c: Moved to ...
9372 * login/ptsname_r_chk.c: ... here.
9373 * debug/Makefile (routines): Move ptsname_r_chk to ...
9374 * login/Makefile (routines): ... here.
9375 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9376 * login/Versions (libc: GLIBC_2.4): ... here.
9378 * posix/getlogin.c: Moved to ...
9379 * login/getlogin.c: ... here.
9380 * posix/getlogin_r.c: Moved to ...
9381 * login/getlogin_r.c: ... here.
9382 * posix/getlogin_r.c: Moved to ...
9383 * login/getlogin_r.c: ... here.
9384 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9385 * login/Makefile (routines): ... here.
9386 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9387 * login/Versions (libc: GLIBC_2.0): ... here.
9389 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9390 (setrlimit): Define as weak alias.
9392 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9393 Call __ names for open, ftruncate, and close.
9394 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9395 (truncate): Define as weak alias.
9397 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9399 * math/gen-libm-test.pl (parse_args): Initialize x before each
9400 test of frexp, modf and remquo.
9402 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9405 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9409 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9411 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9413 2013-05-06 Roland McGrath <roland@hack.frob.com>
9415 * elf/dl-writev.h: New file.
9416 * elf/dl-misc.c: Include it.
9417 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9418 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9420 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9422 * math/libm-test.inc (noXFails): Remove variable.
9423 (noXPasses): Likewise.
9424 (BUILD_COMPLEX_INT): Remove macro.
9425 (print_screen): Remove xfail argument.
9426 (print_screen_max_error): Likewise.
9427 (update_stats): Likewise.
9428 (print_max_error): Likewise. Update calls to other affected
9430 (print_complex_max_error): Likewise.
9431 (test_single_exception): Update calls to print_screen.
9432 (test_single_errno): Likewise.
9433 (check_float_internal): Remove xfail argument. Update calls to
9434 other affected functions.
9435 (check_float): Likewise.
9436 (check_complex): Likewise.
9437 (check_int): Likewise.
9438 (check_long): Likewise.
9439 (check_bool): Likewise.
9440 (check_longlong): Likewise.
9441 (main): Don't print noXFails and noXPasses.
9442 * math/gen-libm-test.pl (top level): Don't mention expected
9443 failure handling in comment.
9444 (new_test): Don't handle expected failures.
9445 (parse_args): Don't mention expected failure handling in comment.
9446 (generate_testfile): Don't handle expected failures.
9447 (parse_ulps): Likewise.
9448 (print_ulps_file): Likewise.
9449 (get_failure): Remove function.
9450 (output_test): Don't handle expected failures.
9451 * make/README.libm-test: Don't mention expected failure handling.
9453 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9454 (minus_zero): Likewise.
9455 (plus_infty): Likewise.
9456 (minus_infty): Likewise.
9457 (qnan_value): Likewise.
9458 (max_value): Likewise.
9459 (min_value): Likewise.
9460 (min_subnorm_value): Likewise.
9461 (initialize): Do not initialize those variables dynamically.
9463 2013-05-03 Roland McGrath <roland@hack.frob.com>
9465 * io/open.c (__open_2): Moved to ...
9466 * io/open_2.c: ... this new file.
9467 * io/open64.c (__open64_2): Moved to ...
9468 * io/open64_2.c: ... this new file.
9469 * io/openat.c (__openat_2): Moved to ...
9470 * io/openat_2.c: ... this new file.
9471 * io/openat64.c (__openat64_2): Moved to ...
9472 * io/openat64_2.c: ... this new file.
9473 * io/Makefile (routines): Add them.
9474 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9475 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9476 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9477 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9478 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9479 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9480 (__openat64): Add hidden_ver.
9481 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9482 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9484 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9485 Separately conditionalize setting of GLRO(dl_sysinfo) so
9486 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9487 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9489 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9491 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9492 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9494 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9495 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9496 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9497 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9498 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9500 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9502 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9505 * math/libm-test.inc (hypot_test): Do not use
9506 IGNORE_ZERO_INF_SIGN.
9508 2013-05-03 Andreas Jaeger <aj@suse.de>
9510 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9512 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9513 (PF_MAX): Adjust for VSOCK change.
9515 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9519 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9522 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9523 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9524 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9526 2013-05-02 David S. Miller <davem@davemloft.net>
9528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9530 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9532 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9534 2013-05-01 Roland McGrath <roland@hack.frob.com>
9536 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9538 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9541 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9542 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9543 Use __attribute__ ((__gnu_inline__)).
9544 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9545 Don't use __attribute__ ((__gnu_inline__)).
9547 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9550 * math/s_catan.c (__catan): Handle small real or imaginary part of
9551 input specially to avoid spurious underflow.
9552 * math/s_catanf.c (__catanf): Likewise.
9553 * math/s_catanh.c (__catanh): Likewise.
9554 * math/s_catanhf.c (__catanhf): Likewise.
9555 * math/s_catanhl.c (__catanhl): Likewise.
9556 * math/s_catanl.c (__catanl): Likewise.
9557 * math/libm-test.inc (catan_test): Add more tests.
9558 (catanh_test): Likewise.
9559 * sysdeps/i386/fpu/libm-test-ulps: Update.
9560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9562 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9566 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9569 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9570 accurately for denominator in atan2.
9571 * math/s_catanf.c (__catanf): Likewise.
9572 * math/s_catanh.c (__catanh): Likewise.
9573 * math/s_catanhf.c (__catanhf): Likewise.
9574 * math/s_catanhl.c (__catanhl): Likewise.
9575 * math/s_catanl.c (__catanl): Likewise.
9576 * math/libm-test.inc (catan_test): Add more tests.
9577 (catanh_test): Likewise.
9578 * sysdeps/i386/fpu/libm-test-ulps: Update.
9579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9581 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9583 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9585 * benchtests/Makefile (bench): Remove slow benchmarks.
9586 * benchtests/atan-inputs: Add slow benchmark inputs.
9587 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9588 (BENCH_FUNC): Accept variant offset.
9590 * benchtests/bench-skeleton.c (main): Run benchmark for each
9592 * benchtests/cos-inputs: Add slow benchmark inputs.
9593 * benchtests/exp-inputs: Likewise.
9594 * benchtests/pow-inputs: Likewise.
9595 * benchtests/sin-inputs: Likewise.
9596 * benchtests/slowatan-inputs: Remove.
9597 * benchtests/slowatan.c: Remove.
9598 * benchtests/slowcos-inputs: Remove.
9599 * benchtests/slowcos.c: Remove.
9600 * benchtests/slowexp-inputs: Remove.
9601 * benchtests/slowexp.c: Remove.
9602 * benchtests/slowpow-inputs: Remove.
9603 * benchtests/slowpow.c: Remove.
9604 * benchtests/slowsin-inputs: Remove.
9605 * benchtests/slowsin.c: Remove.
9606 * benchtests/slowtan-inputs: Remove.
9607 * benchtests/slowtan.c: Remove.
9608 * benchtests/tan-inputs: Add slow benchmark inputs.
9609 * scripts/bench.pl: Parse comments and directives.
9611 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9613 ($(objpfx)bench-%.c): Remove *-ITER.
9614 * benchtests/bench-modf.c: Remove definition of ITER.
9615 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9616 (main): Loop for DURATION seconds instead of fixed number of
9618 * scripts/bench.pl: Don't expect iterations in parameters.
9620 2013-04-29 Roland McGrath <roland@hack.frob.com>
9622 * io/fchdir.c (__fchdir): Renamed from fchdir.
9623 (fchdir): Define as weak alias.
9625 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9627 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9628 (ERRNO_EDOM): Likewise.
9629 (ERRNO_ERANGE): Likewise.
9630 (noErrnoTests): New variable.
9631 (init_max_error): Set errno to 0.
9632 (test_single_errno): New function.
9633 (test_errno): Likewise.
9634 (check_float_internal): Call test_errno. Set errno to 0.
9635 (check_complex): Refer to errno tests in comment.
9636 (check_int): Call test_errno. Set errno to 0.
9637 (check_long): Likewise.
9638 (check_bool): Likewise.
9639 (check_longlong): Likewise.
9640 (cos_test): Use ERRNO_* flags for errno tests instead of
9642 (expm1_test): Likewise.
9643 (fmod_test): Likewise.
9644 (ilogb_test): Likewise.
9645 (lgamma_test): Likewise.
9646 (pow_test): Likewise.
9647 (remainder_test): Likewise.
9648 (sin_test): Likewise.
9649 (tan_test): Likewise.
9650 (yn_test): Likewise.
9651 (initialize): Set errno to 0.
9652 (main): Print number of errno tests.
9653 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9655 2013-04-29 Andreas Jaeger <aj@suse.de>
9658 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9662 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9663 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9667 * stdlib/random.c (__initstate): Return NULL if
9671 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9672 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9675 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9679 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9681 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9682 of individual tests.
9683 (casin_test): Likewise.
9684 (casinh_test): Likewise.
9686 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9689 * math/s_catan.c (__catan): Handle arguments with large real or
9690 imaginary part separately without squaring.
9691 * math/s_catanf.c (__catanf): Likewise.
9692 * math/s_catanh.c (__catanh): Likewise.
9693 * math/s_catanhf.c (__catanhf): Likewise.
9694 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9696 (__catanhl): Handle arguments with large real or imaginary part
9697 separately without squaring.
9698 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9700 (__catanl): Handle arguments with large real or imaginary part
9701 separately without squaring.
9702 * math/libm-test.inc (catan_test): Add more tests.
9703 (catanh_test): Likewise.
9704 * sysdeps/i386/fpu/libm-test-ulps: Update.
9705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9707 2013-04-27 Andreas Jaeger <aj@suse.de>
9710 * stdlib/stdlib.h: Update guards for qecvt.
9711 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9714 2013-04-27 Allan McRae <allan@archlinux.org>
9716 * sysdeps/i386/fpu/libm-test-ulps: Update.
9718 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9721 * math/s_catan.c: Include <float.h>.
9722 (__catan): Ensure underflow exception occurs for underflowed
9724 * math/s_catanf.c: Include <float.h>.
9725 (__catanf): Ensure underflow exception occurs for underflowed
9727 * math/s_catanh.c: Include <float.h>.
9728 (__catanh): Ensure underflow exception occurs for underflowed
9730 * math/s_catanhf.c: Include <float.h>.
9731 (__catanhf): Ensure underflow exception occurs for underflowed
9733 * math/s_catanhl.c: Include <float.h>.
9734 (__catanhl): Ensure underflow exception occurs for underflowed
9736 * math/s_catanl.c: Include <float.h>.
9737 (__catanl): Ensure underflow exception occurs for underflowed
9739 * math/libm-test.inc (catan_test): Add more tests.
9740 (catanh_test): Likewise.
9743 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9745 * math/s_ccoshf.c (__ccoshf): Likewise.
9746 * math/s_ccoshl.c (__ccoshl): Likewise.
9747 * math/s_csin.c (__csin): Likewise.
9748 * math/s_csinf.c (__csinf): Likewise.
9749 * math/s_csinh.c (__csinh): Likewise.
9750 * math/s_csinhf.c (__csinhf): Likewise.
9751 * math/s_csinhl.c (__csinhl): Likewise.
9752 * math/s_csinl.c (__csinl): Likewise.
9753 * math/libm-test.inc (ccos_test): Add more tests.
9754 (ccosh_test): Likewise.
9755 (csin_test): Likewise.
9756 (csinh_test): Likewise.
9758 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9761 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9762 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9763 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9764 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9765 powerpc/power5+/fpu folders.
9766 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9769 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9773 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9775 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9776 additions to variable.
9777 [$(config-machine) = x86_64] (modules-names): Likewise.
9778 ($(objpfx)tst-audit3): Remove dependency.
9779 ($(objpfx)tst-audit3.out): Likewise.
9780 ($(objpfx)tst-audit4): Likewise.
9781 ($(objpfx)tst-audit4.out): Likewise.
9782 ($(objpfx)tst-audit5): Likewise.
9783 ($(objpfx)tst-audit5.out): Likewise.
9784 ($(objpfx)tst-audit6): Likewise.
9785 ($(objpfx)tst-audit6.out): Likewise.
9786 ($(objpfx)tst-audit7): Likewise.
9787 ($(objpfx)tst-audit7.out): Likewise.
9788 (tst-audit3-ENV): Remove variable.
9789 (tst-audit4-ENV): Likewise.
9790 (tst-audit5-ENV): Likewise.
9791 (tst-audit6-ENV): Likewise.
9792 (tst-audit7-ENV): Likewise.
9793 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9794 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9795 addition to variable.
9796 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9797 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9798 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9799 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9800 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9801 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9802 tst-audit3, tst-audit4 and tst-audit5.
9803 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9804 tst-audit6 and tst-audit7.
9805 [$(subdir) = elf] (modules-names): Add audit modules for those
9807 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9808 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9809 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9810 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9811 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9812 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9813 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9814 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9815 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9816 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9817 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9818 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9819 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9820 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9821 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9822 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9824 [$(subdir) = elf && $(config-cflags-avx) = yes]
9825 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9826 [$(subdir) = elf && $(config-cflags-avx) = yes]
9827 (CFLAGS-tst-auditmod4a.c): Likewise.
9828 [$(subdir) = elf && $(config-cflags-avx) = yes]
9829 (CFLAGS-tst-auditmod4b.c): Likewise.
9830 [$(subdir) = elf && $(config-cflags-avx) = yes]
9831 (CFLAGS-tst-auditmod6b.c): Likewise.
9832 [$(subdir) = elf && $(config-cflags-avx) = yes]
9833 (CFLAGS-tst-auditmod6c.c): Likewise.
9834 [$(subdir) = elf && $(config-cflags-avx) = yes]
9835 (CFLAGS-tst-auditmod7b.c): Likewise.
9836 * elf/tst-audit3.c: Move to ...
9837 * sysdeps/x86_64/tst-audit3.c: ... here.
9838 * elf/tst-audit4.c: Move to ...
9839 * sysdeps/x86_64/tst-audit4.c: ... here.
9840 * elf/tst-audit5.c: Move to ...
9841 * sysdeps/x86_64/tst-audit5.c: ... here.
9842 * elf/tst-audit6.c: Move to ...
9843 * sysdeps/x86_64/tst-audit6.c: ... here.
9844 * elf/tst-audit7.c: Move to ...
9845 * sysdeps/x86_64/tst-audit7.c: ... here.
9846 * elf/tst-auditmod3a.c: Move to ...
9847 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9848 * elf/tst-auditmod3b.c: Move to ...
9849 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9850 * elf/tst-auditmod4a.c: Move to ...
9851 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9852 * elf/tst-auditmod4b.c: Move to ...
9853 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9854 * elf/tst-auditmod5a.c: Move to ...
9855 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9856 * elf/tst-auditmod5b.c: Move to ...
9857 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9858 * elf/tst-auditmod6a.c: Move to ...
9859 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9860 * elf/tst-auditmod6b.c: Move to ...
9861 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9862 * elf/tst-auditmod6c.c: Move to ...
9863 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9864 * elf/tst-auditmod7a.c: Move to ...
9865 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9866 * elf/tst-auditmod7b.c: Move to ...
9867 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9869 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9872 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9873 define unconditionally.
9874 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9875 define unconditionally.
9876 (INT8_C, INT16_C, etc.): Likewise.
9878 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9880 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9881 __ehdr_start with hidden visibility.
9883 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9885 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9887 * math/libm-test.inc (cos_test): Use accurate hex constants.
9888 (sincost_test): Likewise.
9890 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9892 * math/libm-test.inc (catan_test): Add more tests.
9893 (catanh_test): Likewise.
9895 * math/s_catanf.c (__catanf): Use suffixed floating-point
9897 * math/s_catanhf.c (__catanhf): Likewise.
9898 * math/s_catanhl.c (__catanhl): Likewise.
9899 * math/s_catanl.c (__catanl): Likewise.
9902 * math/s_catan.c (__catan): Calculate imaginary part of result
9903 with log1p not log unless computing log of number close to 0.
9904 * math/s_catanf.c (__catanf): Likewise.
9905 * math/s_catanl.c (__catanl): Likewise.
9906 * math/s_catanh.c (__catanh): Calculate real part of result with
9907 log1p not log unless computing log of number close to 0.
9908 * math/s_catanhf.c (__catanhf): Likewise.
9909 * math/s_catanhl.c (__catanhl): Likewise.
9910 * math/libm-test.inc (catan_test): Add more tests.
9911 (catanh_test): Likewise.
9912 * sysdeps/i386/fpu/libm-test-ulps: Update.
9913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9915 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9917 * benchtests/Makefile: Mention files in which fast and slow
9918 paths of math functions are implemented.
9920 2013-04-23 Roland McGrath <roland@hack.frob.com>
9922 * sysdeps/posix/timespec_get.c: New file.
9924 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9926 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9928 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9930 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9931 powerpc/power5/fpu folders.
9932 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9933 * benchtests/Makefile: Add modf testcase.
9934 * benchtests/bench-modf.c: New file: Benchmark test for mo
9936 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9939 * time/Makefile (tests): Add tst-strptime-whitespace.
9940 * time/strptime_l.c (get_number): Use ISSPACE.
9941 (__strptime_internal): Likewise.
9942 * time/tst-strptime-whitespace.c: New test case.
9944 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9946 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9948 (_nss_files_init): Set it here.
9950 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9952 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9953 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9956 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9958 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9960 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9962 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9965 2013-04-21 David S. Miller <davem@davemloft.net>
9967 * po/ru.po: Update Russion translation from translation project.
9969 2013-04-17 Adam Conrad <adconrad@0c3.net>
9971 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9974 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9976 * configure.in: Remove i386 configure warning. Remove i386 case.
9977 * configure: Regenerate.
9978 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9979 Add example to error message.
9980 * sysdeps/i386/configure: Regenerate.
9982 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9984 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9986 * benchtests/cos-inputs: New file.
9987 * benchtests/slowcos-inputs: New file.
9988 * benchtests/slowcos.c: New file.
9989 * benchtests/slowtan-inputs: New file.
9990 * benchtests/slowtan.c: New file.
9991 * benchtests/tan-inputs: New file.
9993 2013-04-16 Roland McGrath <roland@hack.frob.com>
9995 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9998 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10000 * benchtests/Makefile: Include cppflags-iterator.mk to add
10001 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10003 * Makefile.in (bench-clean): New target.
10004 * benchtests/Makefile (bench-clean): Likewise.
10006 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10008 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10010 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10012 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10014 2013-04-15 Andreas Schwab <schwab@suse.de>
10016 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10018 * nscd/pwdcache.c (cache_addpw): Likewise.
10019 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10022 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10024 * benchtests/Makefile (bench): Write all output to
10025 bench-out.tmp together.
10027 2013-04-15 Andreas Schwab <schwab@suse.de>
10029 * nscd/nscd.c (main): Don't fork again after closing files.
10031 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10033 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10035 * benchtests/Rules (bench-deps): Collect dependencies into a
10036 single variable. Add Makefile to dependencies.
10037 ($(objpfx)bench-%.c): Depend on bench-deps.
10039 2013-04-12 Roland McGrath <roland@hack.frob.com>
10040 Xavier Roche <roche+kml2@exalead.com>
10043 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10044 just that it's a file descriptor.
10045 * manual/llio.texi (Synchronizing AIO Operations): Update description
10046 for EBADF error from aio_fsync.
10048 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10050 * Rules (bench): Move target definition...
10051 * benchtests/Makefile: ... here.
10053 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10055 * math/libm-test.inc (cos_test): Fix PI/2 test.
10056 (sincos_test): Likewise.
10057 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10058 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10060 2013-04-11 Andreas Schwab <schwab@suse.de>
10063 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10064 accept exponent character only when digits were seen.
10065 * stdio-common/Makefile (tests): Add bug26.
10066 * stdio-common/bug26.c: New file.
10069 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10072 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10074 * Makeconfig (rtld-prefix): Define built linker prefix.
10075 * Rules (run-bench): Use it.
10076 * math/Makefile (run-regen-ulps): Likewise.
10078 * Rules (bench): Remove eval.
10080 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10081 Roland McGrath <roland@hack.frob.com>
10082 Ondrej Bilka <neleai@seznam.cz>
10085 * time/getdate.c: Include ctype.h and alloca.h.
10086 (__getdate_r): Trim leading and trailing spaces of input.
10087 * time/tst-getdate.c (tests): Add tests with leading and
10090 2013-04-08 Roland McGrath <roland@hack.frob.com>
10093 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10094 when computing value.
10096 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10098 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10099 Use testrun.sh to run libm tests.
10102 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10104 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10107 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10109 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10111 * Makefile.in (regen-ulps): New target.
10112 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10113 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10114 [ifneq (no,$(PERL)] (regen-ulps): New target.
10115 [ifeq (no,$(PERL)] (regen-ulps): New target.
10116 * math/libm-test.inc (ulps_file_name): Define.
10117 (output_dir): New variable.
10118 (options): Add "output-dir" option.
10119 (parse_opt): Handle 'o' case.
10120 (main): If output_dir is non-NULL use it as a prefix
10122 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10124 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10126 [BZ #10060, #10062]
10127 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10128 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10129 fail configure if __sync_val_compare_and_swap is not inlined.
10130 * sysdeps/i386/configure: Regenerate.
10131 * configure.in: Build for i686 when configured for i386.
10132 * configure: Regenerate.
10133 * README: Remove i386 reference.
10135 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10137 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10140 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10142 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10143 (lmsnanval): New variables.
10144 (F): Add conversion tests.
10145 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10146 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10148 * stdio-common/tstdiomisc.c (F): Properly collect individual
10151 [BZ #14686, #15336]
10152 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10153 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10154 Instead, use input NaN values or generate a qNaN by arithmetic
10155 operation. Also fix bugs to comply with the standard.
10156 * math/libm-test.inc (remainder_test): Add more tests.
10158 [BZ #15335, #15342]
10159 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10161 input NaN values or generate a qNaN by arithmetic operation.
10163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10166 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10169 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10172 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10173 underflowed result.
10174 * math/s_cexpf.c (__cexpf): Likewise.
10175 * math/s_cexpl.c (__cexpl): Likewise.
10176 * math/libm-test.inc (cexp_test): Add more tests.
10178 2013-04-03 Andreas Schwab <schwab@suse.de>
10181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10182 order arrays from heap if bigger than alloca cutoff.
10184 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10186 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10187 (SNAN_TESTS_double): Refer to GCC PR56831.
10188 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10191 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10193 * Rules (bench): Move bench.out after the run is complete.
10195 * Rules (bench): Echo currently running benchmark.
10197 * benchtests/Makefile (bench): Add atan and slowatan.
10198 * benchtests/atan-inputs: New file.
10199 * benchtests/slowatan-inputs: New file.
10200 * benchtests/slowatan.c: New file.
10202 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10203 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10207 * sysdeps/unix/sysv/linux/kernel-features.h
10208 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10209 __ASSUME_XFS_RESTRICTED_CHOWN.
10210 * sysdeps/unix/sysv/linux/pathconf.c
10211 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10212 Save and restore errno.
10214 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10217 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10218 arguments using __kernel_casinh.
10219 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10220 arguments using __kernel_casinhf.
10221 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10222 arguments using __kernel_casinhl.
10223 * math/libm-test.inc (cacosh_test): Add more tests.
10224 * sysdeps/i386/fpu/libm-test-ulps: Update.
10225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10227 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10229 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10232 * bench/Makefile (bench): Add sin and slowsin.
10233 * benchtests/sin-inputs: New file.
10234 * benchtests/slowsin-inputs: New file.
10235 * benchtests/slowsin.c: New file.
10237 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10238 (bench): Add slowexp and slowpow.
10239 (exp-ITER): Increase iterations.
10240 (pow-ITER): Likewise.
10241 * benchtests/exp-inputs: Change input.
10242 * benchtests/pow-inputs: Likewise.
10243 * benchtests/slowexp-inputs: New file.
10244 * benchtests/slowexp.c: New file.
10245 * benchtests/slowpow-inputs: New file.
10246 * benchtests/slowpow.c: New file.
10248 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10250 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10252 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10253 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10254 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10255 * benchtests/Makefile: Add rint benchtest.
10256 * benchtests/rint-inputs: Input for rint benchtest.
10258 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10260 * Versions.def (libm): Add GLIBC_2.18.
10261 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10262 hidden libm prototypes.
10263 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10264 * math/Makefile (libm-calls): Add s_issignaling.
10265 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10266 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10267 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10269 * math/math.h [__USE_GNU] (issignaling): New macro.
10270 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10271 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10273 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10276 * manual/arith.texi (issignaling): New section.
10277 * manual/libm-err-tab.pl (@all_functions): Update comment.
10278 * math/gen-libm-test.pl (parse_args): Apply special handling for
10280 * math/libm-test.inc (print_float, issignaling_test): New
10282 (check_float_internal): Add issignaling checks.
10283 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10284 default definition.
10285 * sysdeps/powerpc/math-tests.h: New file.
10286 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10288 * math/test-snan.c (TEST_FUNC): Likewise.
10290 2013-03-30 David S. Miller <davem@davemloft.net>
10292 * po/de.po: Update from translation team.
10294 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10297 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10298 imaginary part less than 1.0 and real part less than 0.5
10300 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10301 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10302 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10303 (cacos_test): Add more tests.
10304 (casin_test): Likewise.
10305 (casinh_test): Likewise.
10306 * sysdeps/i386/fpu/libm-test-ulps: Update.
10307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10309 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10311 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10312 ONE with its value.
10314 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10315 (__pow_mp): Replace ONE and MONE with their values.
10316 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10317 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10319 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10320 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10321 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10323 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10325 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10326 (__pow_mp): Replace ZERO and MZERO with their values.
10327 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10328 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10331 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10332 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10335 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10337 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10339 2013-03-28 Roland McGrath <roland@hack.frob.com>
10341 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10342 Declare with __attribute__ ((weak)).
10343 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10344 Call __call_tls_dtors only if it's not NULL.
10346 2013-03-28 Roland McGrath <roland@hack.frob.com>
10348 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10349 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10350 magic __ehdr_start linker symbol if it's defined.
10351 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10352 them up here if it was already done.
10354 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10355 (_dl_aux_init): Use const in cast when setting it.
10356 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10357 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10358 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10360 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10362 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10363 * csu/libc-tls.c: Nor here.
10364 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10366 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10367 (__libc_message): Never call vsyslog.
10369 2013-03-28 Alan Modra <amodra@gmail.com>
10371 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10373 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10376 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10379 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10383 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10386 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10387 Don't add gid passed as argument.
10389 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10391 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10394 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10395 imaginary part between 1.0 and 1.5 and real part less than 0.5
10397 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10398 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10399 * math/libm-test.inc (cacos_test): Add more tests.
10400 (casin_test): Likewise.
10401 (casinh_test): Likewise.
10402 * sysdeps/i386/fpu/libm-test-ulps: Update.
10403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10405 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10407 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10410 (denorm): Likewise.
10411 (__dbl_mp): Likewise.
10412 (add_magnitudes): Likewise.
10413 (sub_magnitudes): Likewise.
10421 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10423 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10424 (__dubcos): Likewise.
10425 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10426 (__ieee754_acos): Likewise.
10427 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10428 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10429 (__exp1): Likewise.
10430 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10433 (my_log2): Likewise.
10434 (checkint): Likewise.
10435 * sysdeps/ieee754/dbl-64/e_remainder.c
10436 (__ieee754_remainder): Likewise.
10437 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10438 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10439 (bsloww): Likewise.
10440 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10442 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10443 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10444 MANTISSA_STORE_T to store computations on mantissa. Use
10445 macros for rounding and division.
10446 (denorm): Likewise.
10447 (__dbl_mp): Likewise.
10448 (add_magnitudes): Likewise.
10449 (sub_magnitudes): Likewise.
10452 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10453 powers of two in terms of TWOPOW macro.
10454 (mp_no): Make type of mantissa as MANTISSA_T.
10455 [!RADIXI]: Define RADIXI.
10456 [!TWO52]: Define TWO52.
10457 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10459 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10461 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10462 llroundl symbol when building for PPC32.
10464 2013-03-24 Mark H Weaver <mhw@netris.org>
10466 * manual/arith.texi (Normalization Functions): Fix prototypes for
10467 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10469 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10472 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10473 high value to check if expl overflow.
10474 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10475 to check for underflow and overflow.
10476 * math/libm-test.inc: Add exp test.
10478 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10481 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10484 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10486 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10489 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10491 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10492 wrap blocks consisting of several statements.
10494 * sysdeps/generic/math-tests.h: New file.
10495 * sysdeps/i386/fpu/math-tests.h: Likewise.
10496 * math/test-snan.c: Include it.
10497 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10499 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10502 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10503 (__ieee754_j0l): Do not improve calculations using cos of twice
10504 input for inputs above LDBL_MAX / 2.0L.
10505 (__ieee754_y0l): Likewise.
10506 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10507 (__ieee754_j1l): Do not improve calculations using cos of twice
10508 input for inputs above LDBL_MAX / 2.0L.
10509 (__ieee754_y1l): Likewise.
10510 * math/libm-test.inc (j0_test): Add another test.
10511 (j1_test): Likewise.
10512 (y0_test): Likewise.
10513 (y1_test): Likewise.
10514 * sysdeps/i386/fpu/libm-test-ulps: Update.
10516 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10518 * Rules ($(objpfx)bench-%.c): Include code from a C source
10521 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10524 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10525 imaginary part 1.0 and real part less than 0.5 specially.
10526 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10527 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10528 * math/libm-test.inc (cacos_test): Add more tests.
10529 (casin_test): Likewise.
10530 (casinh_test): Likewise.
10531 * sysdeps/i386/fpu/libm-test-ulps: Update.
10532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10534 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10536 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10537 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10539 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10541 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10542 * config.make.in (config-cflags-sse4): Remove variable.
10543 (config-cflags-avx): Likewise.
10544 (config-cflags-sse2avx): Likewise.
10545 (config-cflags-novzeroupper): Likewise.
10546 (config-asflags-i686): Likewise.
10547 (have-mfma4): Likewise.
10548 (have-as-vis3): Likewise.
10550 * configure.in (MIG): Do not AC_SUBST.
10551 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10552 (libc_cv_cc_sse4): Do not AC_SUBST.
10553 (libc_cv_cc_avx): Likewise.
10554 (libc_cv_cc_sse2avx): Likewise.
10555 (libc_cv_cc_novzeroupper): Likewise.
10556 (libc_cv_cc_fma4): Likewise.
10557 (libc_cv_as_i686): Likewise.
10558 (libc_cv_sparc_as_vis3): Likewise.
10559 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10561 (config-asflags-i686): Likewise.
10562 (config-cflags-avx): Likewise.
10563 (config-cflags-sse2avx): Likewise.
10564 (have-mfma4): Likewise.
10565 (config-cflags-novzeroupper): Likewise.
10566 * sysdeps/mach/configure.in (MIG): Likewise.
10567 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10568 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10570 (config-cflags-avx): Likewise.
10571 (config-cflags-sse2avx): Likewise.
10572 (have-mfma4): Likewise.
10573 (config-cflags-novzeroupper): Likewise.
10574 * configure: Regenerated.
10575 * sysdeps/i386/configure: Likewise.
10576 * sysdeps/mach/configure: Likewise.
10577 * sysdeps/sparc/configure: Likewise.
10578 * sysdeps/x86_64/configure: Likewise.
10580 2013-03-20 Roland McGrath <roland@hack.frob.com>
10583 * locale/programs/localedef.c (options): Put N_ translation marker
10584 on argument names, not just descriptions.
10586 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10588 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10590 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10593 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10595 2013-03-19 Roland McGrath <roland@hack.frob.com>
10597 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10598 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10599 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10600 [!BEFORE_ABORT] (before_abort): New function.
10601 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10602 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10603 (writev_for_fatal): New function.
10604 (WRITEV_FOR_FATAL): New macro; call that.
10605 (backtrace_and_maps): New function.
10606 (BEFORE_ABORT): New macro; call that.
10607 (struct str_list): Type removed.
10608 (__libc_message, __libc_fatal): Functions removed.
10609 Include <sysdeps/posix/libc_fatal.c> instead.
10611 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10613 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10615 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10618 2013-03-19 Andreas Schwab <schwab@suse.de>
10620 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10621 * sysdeps/gnu/configure: Regenerate.
10623 * configure.in: Substitute libc_cv_rtlddir.
10624 * configure: Regenerate.
10625 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10626 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10627 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10628 * elf/Makefile (install-others, CFLAGS-interp.c)
10629 (ldso_install, common-ldd-rewrite): Likewise.
10630 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10631 $(inst_slibdir)/$(rtld-installed-name).
10632 * scripts/rellns-sh: Add -p option.
10633 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10636 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10638 * manual/nptl.texi: Renamed to ...
10639 * manual/threads.texi: ... this.
10640 * manual/Makefile (chapters): Update.
10642 2013-03-18 Roland McGrath <roland@hack.frob.com>
10645 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10646 on argument names, not just descriptions.
10647 * malloc/memusagestat.c (options): Likewise.
10648 * nss/getent.c (options): Likewise.
10650 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10653 * iconv/iconv_prog.c (options): Put N_ translation marker
10654 on argument names, not just descriptions.
10655 * iconv/iconvconfig.c (options): Likewise.
10657 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10659 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10660 implementation which is faster on all x86_64 architectures.
10661 Tested on AMD, Intel Nehalem, SNB, IVB.
10662 * sysdeps/x86_64/strnlen.S: Likewise.
10664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10665 Remove all multiarch strlen and strnlen versions.
10666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10667 Remove strlen and strnlen related parts.
10669 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10670 Inline strlen part.
10671 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10673 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10674 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10675 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10676 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10677 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10678 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10680 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10682 * manual/memory.texi (Malloc Tunable Parameters):
10683 Sort parameters alphabetically. Add comments for missing entries.
10685 2013-03-17 David S. Miller <davem@davemloft.net>
10687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10689 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10692 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10693 for arguments at most half maximum finite value.
10694 * math/libm-test.inc (j0_test): Add more tests.
10695 (j1_test): Likewise.
10696 (y0_test): Likewise.
10697 (y1_test): Likewise.
10698 * sysdeps/i386/fpu/libm-test-ulps: Update.
10699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10702 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10703 1 / x and functions P and Q for arguments above 0x1p256L.
10704 (__ieee754_y0l): Likewise.
10705 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10706 (__ieee754_y1l): Likewise.
10707 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10708 (j1_test): Likewise.
10709 (y0_test): Likewise.
10710 (y1_test): Likewise.
10712 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10714 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10717 2013-03-15 Roland McGrath <roland@hack.frob.com>
10719 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10720 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10721 zero since it's initialized to EXEC_PAGESIZE.
10723 * sysdeps/unix/sysv/linux/ldsodefs.h
10724 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10725 * sysdeps/generic/ldsodefs.h: ... here.
10727 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10729 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10731 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10733 * math/test-snan.c: Renamed from
10734 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10735 * math/Makefile (tests): Add test-snan.
10736 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10739 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10740 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10742 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10743 __builtin_nan family of functions.
10744 * math/libm-test.inc (initialize): Initialize qnan_value with
10745 __builtin_nan family of functions.
10746 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10748 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10750 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10751 storage class. Initialize qNaN_var and sNaN_var with
10752 __builtin_nan and __builtin_nans families of functions,
10755 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10756 (sqrt_test): Remove duplicate test with qNaN input.
10757 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10758 (round_test, signbit_test, significand_test): Note missing +/-Inf
10759 as well as qNaN tests.
10761 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10762 qNaN_var. Fix a few strings, too.
10763 * math/libm-test.inc (nan_value): Rename to qnan_value.
10764 * math/gen-libm-test.pl (%beautify): Adjust to that.
10765 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10766 * math/test-misc.c (main): Likewise.
10767 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10768 to __qnan_bytes, and __qnan_union, respectively.
10769 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10771 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10772 and lqnanval, respectively.
10773 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10774 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10775 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10776 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10778 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10779 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10782 * math/test-misc.c (main): Fix copy'n'pastos.
10783 * misc/tst-efgcvt.c (special): Likewise.
10785 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10786 Remove declarations.
10788 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10790 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10791 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10792 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10793 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10795 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10797 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10798 macro to return vdso values correctly in IFUNC implementations.
10799 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10800 Optimization by using IFUNC.
10802 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10803 Richard Henderson <rth@redhat.com>
10804 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10806 * Makefile.in (bench): New target.
10807 * NEWS: Mention the benchmark framework.
10808 * Rules (bench): Likewise.
10809 (binaries-bench): Generate binaries for functions to
10811 * benchtests/Makefile: New makefile for benchmark tests.
10812 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10814 * benchtests/exp-inputs: New input file for EXP function.
10815 * benchtests/pow-inputs: New input file for POW function.
10816 * scripts/bench.pl: New script to generate source files for
10817 benchmark programs.
10819 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10821 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10822 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10823 computations on mantissa. Use macros for rounding and
10825 (denorm): Likewise.
10826 (__dbl_mp): Likewise.
10827 (add_magnitudes): Likewise.
10828 (sub_magnitudes): Likewise.
10831 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10832 powers of two in terms of TWOPOW macro.
10833 (mp_no): Make type of mantissa as MANTISSA_T.
10834 [!RADIXI]: Define RADIXI.
10835 [!TWO52]: Define TWO52.
10836 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10838 * manual/nptl.texi (cindex): Modify threads to pthreads.
10840 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10842 * sysdeps/x86_64/preconfigure: Regenerated.
10844 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10847 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10849 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10850 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10852 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10853 * math/libm-test.inc (j0_test): Do not allow one spurious
10854 underflow exception.
10855 (y1_test): Likewise.
10857 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10859 * manual/Makefile (chapters): Add nptl.
10860 * manual/debug.texi (Debugging Support): Add link to Threads
10862 * manual/nptl.texi: New file.
10864 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10866 2013-03-14 Petr Baudis <pasky@ucw.cz>
10868 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10869 for non-NULL pointer before the memory validity test. Pointed
10870 out by Holger Brunck <holger.brunck@keymile.com>.
10872 2013-03-13 Andreas Schwab <schwab@suse.de>
10874 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10877 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10879 * timezone/zic.c: Update from tzcode 2013b.
10881 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10883 * manual/install.texi (Configuring and compiling):
10884 Mention i686 and i586.
10885 * INSTALL: Regenerate.
10887 2013-03-12 Roland McGrath <roland@hack.frob.com>
10889 * sysdeps/init_array/elf-init.c: New file.
10891 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10892 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10894 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10895 __gmon_start__ as global, but as static with a .preinit_array pointer.
10896 * sysdeps/init_array/gmon-start.c: New file. Use that.
10897 * sysdeps/init_array/crti.S: New file, empty except for comments.
10898 * sysdeps/init_array/crtn.S: Likewise.
10900 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10902 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10905 Remove Prefer_SSE_for_memop.
10906 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10907 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10908 HAS_PREFER_SSE_FOR_MEMOP.
10909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10912 Remove bzero, memset ifunc support.
10913 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10914 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10915 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10916 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10918 2013-03-11 Andreas Schwab <schwab@suse.de>
10921 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10924 (GLIBC_2.16): Remove pthread_atfork.
10926 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10928 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10929 (ptestcases.h): Likewise.
10931 2013-03-08 Roland McGrath <roland@hack.frob.com>
10933 * Makeconfig ($(common-objpfx)config.status): Depend on
10934 sysdeps/*/preconfigure{,.in} too.
10936 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10938 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10939 (__free_hook): Use void * instead of __malloc_ptr_t.
10940 (__malloc_hook): Likewise.
10941 (__realloc_hook): Likewise.
10942 (__memalign_hook): Likewise.
10943 (__after_morecore_hook): Likewise.
10944 * malloc/arena.c (save_malloc_hook): Likewise.
10945 (save_free_hook): Likewise.
10946 * malloc/hooks.c (malloc_hook_ini): Likewise.
10947 (realloc_hook_ini): Likewise.
10948 (memalign_hook_ini): Likewise.
10949 * malloc/malloc.c (malloc_hook_ini): Likewise.
10950 (realloc_hook_ini): Likewise.
10951 (memalign_hook_ini): Likewise.
10952 (__free_hook): Likewise.
10953 (__malloc_hook): Likewise.
10954 (__realloc_hook): Likewise.
10955 (__memalign_hook): Likewise.
10956 (__libc_malloc): Likewise.
10957 (__libc_free): Likewise.
10958 (__libc_realloc): Likewise.
10959 (__libc_memalign): Likewise.
10960 (__libc_valloc): Likewise.
10961 (__libc_pvalloc): Likewise.
10962 (__libc_calloc): Likewise.
10963 (__posix_memalign): Likewise.
10964 * malloc/morecore.c (__sbrk): Likewise.
10965 (__default_morecore): Likewise.
10967 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10969 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10970 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10971 __malloc_ptrdiff_t.
10973 * malloc/malloc.h (__malloc_size_t): Remove macro.
10974 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10976 (old_memalign_hook): Likewise.
10977 (old_realloc_hook): Likewise.
10978 (struct hdr): Likewise.
10980 (mallochook): Likewise.
10981 (memalignhook): Likewise.
10982 (reallochook): Likewise.
10983 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10984 (tr_old_realloc_hook): Likewise.
10985 (tr_old_memalign_hook): Likewise.
10986 (tr_mallochook): Likewise.
10987 (tr_reallochook): Likewise.
10988 (tr_memalignhook): Likewise.
10990 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10993 default_ldbl_pack and using as default implementation.
10994 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10996 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10997 redundant definition.
10998 (ldbl_insert_mantissa): Likewise.
10999 (ldbl_canonicalize): Likewise.
11000 (ldbl_nearbyint): Likewise.
11001 (ldbl_pack): Rename to ldbl_pack_ppc.
11002 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11003 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11004 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11006 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11009 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11010 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11011 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11013 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11014 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11015 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11017 2013-03-07 Andreas Jaeger <aj@suse.de>
11019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11022 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11024 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11025 Include mpa.h and declare __MPEXP.
11026 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11027 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11028 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11029 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11030 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11031 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11032 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11034 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11035 (__slowpow): Use long double EXPL and LOGL functions to
11037 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11038 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11040 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11041 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11042 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11045 intermediate variable to calculate exponent.
11047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11051 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11052 [!NO__SQR]: Define __sqr.
11053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11054 and NO__SQR. Remove all code except __mul and __sqr. Include
11055 sysdeps/ieee754/dbl-64/mpa.c.
11056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11059 * posix/Makefile (tests): Add tst-pathconf.
11060 * posix/tst-pathconf.c: New test case.
11061 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11063 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11065 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11067 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11069 2013-03-06 Andreas Jaeger <aj@suse.de>
11071 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11072 definition via __MAP_ANONYMOUS.
11074 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11075 it's not part of Linux headers.
11077 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11078 (MAP_HUGE_MASK): Define.
11080 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11082 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11085 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11086 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11088 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11089 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11091 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11093 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11094 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11095 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11096 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11097 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11098 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11104 Handle f2fs and efivarfs.
11106 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11109 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11110 (EFIVARFS_MAGIC): Add.
11111 (F2FS_LINK_MAX): Add.
11113 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11115 * stdio-common/vfprintf.c: Replace __builtin_expect with
11118 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11121 * sysdeps/generic/bp-sym.h: Remove file.
11122 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11123 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11124 <bp-sym.h> and <bp-asm.h>.
11125 (__longjmp): Don't use BP_SYM.
11126 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11128 (memcpy): Don't use BP_SYM.
11129 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11130 <bp-sym.h> and <bp-asm.h>.
11131 (memcpy): Don't use BP_SYM.
11132 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11134 (memcpy): Don't use BP_SYM.
11135 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11137 (memset): Don't use BP_SYM.
11138 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11139 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11140 (__bzero): Don't use BP_SYM.
11141 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11142 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11143 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11144 <bp-sym.h> and <bp-asm.h>.
11145 (memcmp): Don't use BP_SYM. Remove comment about bounded
11147 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11148 <bp-sym.h> and <bp-asm.h>.
11149 (memcpy): Don't use BP_SYM.
11150 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11151 <bp-sym.h> and <bp-asm.h>.
11152 (memset): Don't use BP_SYM.
11153 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11154 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11155 (__bzero): Don't use BP_SYM.
11156 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11157 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11158 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11159 <bp-sym.h> and <bp-asm.h>.
11160 (strncmp): Don't use BP_SYM. Remove comment about bounded
11162 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11163 <bp-sym.h> and <bp-asm.h>.
11164 (memcpy): Don't use BP_SYM.
11165 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11166 <bp-sym.h> and <bp-asm.h>.
11167 (memset): Don't use BP_SYM.
11168 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11169 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11170 (__bzero): Don't use BP_SYM.
11171 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11172 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11174 <bp-sym.h> and <bp-asm.h>.
11175 (__memchr): Don't use BP_SYM.
11176 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11177 <bp-sym.h> and <bp-asm.h>.
11178 (memcmp): Don't use BP_SYM. Remove comment about bounded
11180 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11181 <bp-sym.h> and <bp-asm.h>.
11182 (memcpy): Don't use BP_SYM.
11183 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11184 <bp-sym.h> and <bp-asm.h>.
11185 (__mempcpy): Don't use BP_SYM.
11186 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11187 <bp-sym.h> and <bp-asm.h>.
11188 (__memrchr): Don't use BP_SYM.
11189 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11190 <bp-sym.h> and <bp-asm.h>.
11191 (memset): Don't use BP_SYM.
11192 (__bzero): Likewise.
11193 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11194 <bp-sym.h> and <bp-asm.h>.
11195 (__rawmemchr): Don't use BP_SYM.
11196 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11197 <bp-sym.h> and <bp-asm.h>.
11198 (__STRCMP): Don't use BP_SYM.
11199 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11200 <bp-sym.h> and <bp-asm.h>.
11201 (strchr): Don't use BP_SYM.
11202 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11203 <bp-sym.h> and <bp-asm.h>.
11204 (__strchrnul): Don't use BP_SYM.
11205 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11206 <bp-sym.h> and <bp-asm.h>.
11207 (strlen): Don't use BP_SYM.
11208 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11209 <bp-sym.h> and <bp-asm.h>.
11210 (strncmp): Don't use BP_SYM. Remove comment about bounded
11212 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11213 <bp-sym.h> and <bp-asm.h>.
11214 (__strnlen): Don't use BP_SYM.
11215 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11216 <bp-sym.h> and <bp-asm.h>.
11217 (__GI__setjmp): Don't use BP_SYM.
11218 (_setjmp): Likewise.
11219 (__sigsetjmp): Likewise.
11220 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11221 (L(start_addresses)): Don't use BP_SYM.
11222 (_start): Likewise.
11223 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11225 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11226 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11227 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11228 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11229 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11231 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11232 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11233 about bounded pointers.
11234 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11235 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11236 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11238 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11239 about bounded pointers. Remove GKM FIXME comments.
11240 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11241 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11243 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11244 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11245 Remove GKM FIXME comments.
11246 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11247 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11248 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11250 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11251 about bounded pointers. Remove GKM FIXME comment.
11252 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11254 (strncmp): Don't use BP_SYM. Remove comment about bounded
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11257 <bp-sym.h> and <bp-asm.h>.
11258 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11260 <bp-sym.h> and <bp-asm.h>.
11261 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11264 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11266 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11269 2013-03-05 David S. Miller <davem@davemloft.net>
11271 * po/es.po: Update from translation team.
11273 2013-03-05 Andreas Jaeger <aj@suse.de>
11275 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11276 <bits/mman-linux.h>.
11277 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11279 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11280 <bits/mman-linux.h> to end of file.
11281 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11283 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11284 <bits/mman-linux.h> to end of file.
11285 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11287 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11288 <bits/mman-linux.h> to end of file.
11290 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11291 (MCL_CURRENT, MCL_FUTURE): Define here.
11293 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11296 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11298 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11300 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11302 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11303 fourth parameter needed for rt_sigprocmask syscall.
11304 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11305 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11306 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11307 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11308 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11309 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11311 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11314 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11315 comment about bounded pointers.
11316 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11317 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11319 2013-03-04 Andreas Jaeger <aj@suse.de>
11321 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11322 common definitions.
11324 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11325 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11326 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11328 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11331 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11334 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11335 __ieee754_sqrl instead of __sqrl.
11337 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11339 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11340 * sysdeps/powerpc/fpu_control.h: ... here.
11341 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11342 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11343 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11344 * sysdeps/powerpc/bits/mathinline.h: ... here.
11346 2013-03-01 Roland McGrath <roland@hack.frob.com>
11348 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11349 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11350 to just [NEED_DL_SYSINFO_DSO].
11351 * elf/dl-support.c: Likewise.
11352 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11353 * elf/rtld.c (dl_main): Likewise.
11354 * elf/setup-vdso.h (setup_vdso): Likewise.
11355 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11356 * sysdeps/unix/sysv/linux/dl-sysdep.c
11357 (_dl_discover_osversion): Likewise.
11359 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11361 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11362 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11364 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11366 * NEWS: Mention libm performance improvements and non-x86 PI
11369 * csu/libc-start.c (__pthread_initialize_minimal): Change
11370 function arguments.
11371 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11373 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11376 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11377 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11378 <bp-sym.h> and <bp-asm.h>.
11379 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11382 (memcpy): Don't use BP_SYM.
11383 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11385 (__mpn_add_n): Don't use BP_SYM.
11386 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11387 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11389 (__mpn_addmul_1): Don't use BP_SYM.
11390 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11391 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11393 (_setjmp): Don't use BP_SYM.
11394 (__novmx_setjmp): Likewise.
11395 (__GI__setjmp): Likewise.
11396 (__vmx_setjmp): Likewise.
11397 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11399 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11400 (__bzero): Don't use BP_SYM.
11401 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11402 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11403 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11404 <bp-sym.h> and <bp-asm.h>.
11405 (memcpy): Don't use BP_SYM.
11406 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11407 <bp-sym.h> and <bp-asm.h>.
11408 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11409 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11410 <bp-sym.h> and <bp-asm.h>.
11411 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11412 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11414 (__mpn_lshift): Don't use BP_SYM.
11415 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11416 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11418 (memset): Don't use BP_SYM.
11419 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11420 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11421 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11423 (__mpn_mul_1): Don't use BP_SYM.
11424 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11426 <bp-sym.h> and <bp-asm.h>.
11427 (memcmp): Don't use BP_SYM.
11428 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11429 <bp-sym.h> and <bp-asm.h>.
11430 (memcpy): Don't use BP_SYM.
11431 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11432 <bp-sym.h> and <bp-asm.h>.
11433 (memset): Don't use BP_SYM.
11434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11435 <bp-sym.h> and <bp-asm.h>.
11436 (strncmp): Don't use BP_SYM.
11437 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11438 <bp-sym.h> and <bp-asm.h>.
11439 (memcpy): Don't use BP_SYM.
11440 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11441 <bp-sym.h> and <bp-asm.h>.
11442 (memset): Don't use BP_SYM.
11443 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11444 <bp-sym.h> and <bp-asm.h>.
11445 (__memchr): Don't use BP_SYM.
11446 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11447 <bp-sym.h> and <bp-asm.h>.
11448 (memcmp): Don't use BP_SYM.
11449 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11450 <bp-sym.h> and <bp-asm.h>.
11451 (memcpy): Don't use BP_SYM.
11452 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11453 <bp-sym.h> and <bp-asm.h>.
11454 (__mempcpy): Don't use BP_SYM.
11455 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11456 <bp-sym.h> and <bp-asm.h>.
11457 (__memrchr): Don't use BP_SYM.
11458 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11459 <bp-sym.h> and <bp-asm.h>.
11460 (memset): Don't use BP_SYM.
11461 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11462 <bp-sym.h> and <bp-asm.h>.
11463 (__rawmemchr): Don't use BP_SYM.
11464 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11465 <bp-sym.h> and <bp-asm.h>.
11466 (__STRCMP): Don't use BP_SYM.
11467 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11468 <bp-sym.h> and <bp-asm.h>.
11469 (strchr): Don't use BP_SYM.
11470 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11471 <bp-sym.h> and <bp-asm.h>.
11472 (__strchrnul): Don't use BP_SYM.
11473 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11474 <bp-sym.h> and <bp-asm.h>.
11475 (strlen): Don't use BP_SYM.
11476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11477 <bp-sym.h> and <bp-asm.h>.
11478 (strncmp): Don't use BP_SYM.
11479 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11480 <bp-sym.h> and <bp-asm.h>.
11481 (__strnlen): Don't use BP_SYM.
11482 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11484 (__mpn_rshift): Don't use BP_SYM.
11485 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11486 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11487 <bp-sym.h> and <bp-asm.h>.
11488 (__sigsetjmp): Don't use BP_SYM.
11489 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11490 (L(start_addresses)): Don't use BP_SYM.
11491 (_start): Likewise.
11492 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11494 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11495 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11496 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11497 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11499 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11500 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11501 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11502 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11504 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11506 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11507 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11509 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11511 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11512 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11513 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11515 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11517 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11519 (strncmp): Don't use BP_SYM,
11520 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11522 (__mpn_sub_n): Don't use BP_SYM.
11523 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11524 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11526 (__mpn_submul_1): Don't use BP_SYM.
11527 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11529 <bp-sym.h> and <bp-asm.h>.
11530 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11532 <bp-sym.h> and <bp-asm.h>.
11533 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11536 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11539 Use ZK to minimize writes to Z.
11540 (sub_magnitudes): Simplify code a bit.
11541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11542 Use ZK to minimize writes to Z.
11543 (sub_magnitudes): Simplify code a bit.
11545 2013-02-27 Roland McGrath <roland@hack.frob.com>
11547 * csu/gmon-start.c: Add special exception to license text.
11549 2013-02-27 Richard Henderson <rth@redhat.com>
11551 * scripts/config.guess: Update from config.git.
11552 * scripts/config.sub: Likewise.
11554 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11556 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11558 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11560 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11562 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11564 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11566 2013-02-26 Roland McGrath <roland@hack.frob.com>
11568 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11569 [$(build-shared = yes].
11571 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11573 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11574 (__mul): Reduce iterations for calculating mantissa.
11576 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11578 (__mpranred): Likewise.
11581 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11582 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11584 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11586 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11587 Define __attribute__.
11589 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11591 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11593 * posix/regex_internal.h (__attribute): Remove.
11594 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11595 (re_string_context_at): Likewise.
11596 (bitset_not): Use __attribute__ and mark function as possibly
11598 (bitset_merge): Likewise.
11599 (bitset_mask): Likewise.
11600 (re_string_char_size_at): Likewise.
11601 (re_string_wchar_at): Likewise.
11602 (re_string_elem_size_at): Likewise.
11604 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11606 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11610 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11614 (denorm): Likewise.
11615 (__dbl_mp): Likewise.
11616 (add_magnitudes): Likewise.
11617 (sub_magnitudes): Likewise.
11621 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11624 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11627 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11631 up changes with default code.
11632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11635 2013-02-24 Allan McRae <allan@archlinux.org>
11637 * manual/socket.texi (The Internet Namespace): Order menu items
11638 to match that in the file.
11640 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11641 node listing of the info page menu.
11643 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11646 * sysdeps/i386/bp-asm.h: Remove file.
11647 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11648 (PARMS): Do not use macros from bp-asm.h.
11652 (__mpn_add_n): Do not use BP_SYM
11653 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11655 (PARMS): Do not use macros from bp-asm.h.
11658 (__mpn_addmul_1): Do not use BP_SYM
11659 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11661 (PARMS): Do not use macros from bp-asm.h.
11662 (SIGMSK): Likewise.
11663 (_setjmp): Likewise. Do not use BP_SYM.
11664 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11666 (PARMS): Do not use macros from bp-asm.h.
11667 (SIGMSK): Likewise.
11668 (setjmp): Likewise. Do not use BP_SYM.
11669 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11671 (PARMS): Do not use macros from bp-asm.h.
11672 (__frexp): Do not use BP_SYM.
11674 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11676 (PARMS): Do not use macros from bp-asm.h.
11677 (__frexpf): Do not use BP_SYM.
11678 (frexpf): Likewise.
11679 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11681 (PARMS): Do not use macros from bp-asm.h.
11682 (__frexpl): Do not use BP_SYM.
11683 (frexpl): Likewise.
11684 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11686 (PARMS): Do not use macros from bp-asm.h.
11687 (__remquo): Do not use BP_SYM.
11688 (remquo): Likewise.
11689 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11691 (PARMS): Do not use macros from bp-asm.h.
11692 (__remquof): Do not use BP_SYM.
11693 (remquof): Likewise.
11694 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11696 (PARMS): Do not use macros from bp-asm.h.
11697 (__remquol): Do not use BP_SYM.
11698 (remquol): Likewise.
11699 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11701 (PARMS): Do not use macros from bp-asm.h.
11704 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11705 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11707 (PARMS): Do not use macros from bp-asm.h.
11708 (strlen): Do not use BP_SYM.
11709 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11711 (PARMS): Do not use macros from bp-asm.h.
11715 (__mpn_add_n): Do not use BP_SYM.
11716 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11718 (PARMS): Do not use macros from bp-asm.h.
11721 (__mpn_addmul_1): Do not use BP_SYM.
11722 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11725 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11727 (PARMS): Do not use macros from bp-asm.h.
11730 (__mpn_lshift): Do not use BP_SYM.
11731 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11733 (PARMS): Do not use macros from bp-asm.h.
11737 (memcpy): Likewise. Do not use BP_SYM.
11738 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11739 libc_hidden_def and weak_alias.
11740 (mempcpy): Do not use BP_SYM in weak_alias.
11741 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11743 (PARMS): Do not use macros from bp-asm.h.
11746 [!BZERO_P] (CHR): Likewise.
11747 (memset): Likewise. Do not use BP_SYM.
11748 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11750 (PARMS): Do not use macros from bp-asm.h.
11753 (__mpn_mul_1): Do not use BP_SYM.
11754 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11756 (PARMS): Do not use macros from bp-asm.h.
11759 (__mpn_rshift): Do not use BP_SYM.
11760 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11762 (PARMS): Do not use macros from bp-asm.h.
11765 (strchr): Likewise. Do not use BP_SYM.
11766 (index): Do not use BP_SYM in weak_alias.
11767 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11769 (PARMS): Do not use macros from bp-asm.h.
11772 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11773 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11775 (PARMS): Do not use macros from bp-asm.h.
11776 (strlen): Do not use BP_SYM.
11777 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11779 (PARMS): Do not use macros from bp-asm.h.
11783 (__mpn_sub_n): Do not use BP_SYM.
11784 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11786 (PARMS): Do not use macros from bp-asm.h.
11789 (__mpn_submul_1): Do not use BP_SYM.
11790 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11792 (PARMS): Do not use macros from bp-asm.h.
11796 (__mpn_add_n): Do not use BP_SYM.
11797 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11800 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11802 (PARMS): Do not use macros from bp-asm.h.
11805 (memcmp): Do not use BP_SYM.
11806 (bcmp): Do not use BP_SYM in weak_alias.
11807 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11809 (PARMS): Do not use macros from bp-asm.h.
11813 (memcpy): Likewise. Do not use BP_SYM.
11814 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11816 (PARMS): Do not use macros from bp-asm.h.
11820 (memmove): Likewise. Do not use BP_SYM.
11821 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11823 (PARMS): Do not use macros from bp-asm.h.
11827 (__mempcpy): Likewise. Do not use BP_SYM.
11828 (mempcpy): Do not use BP_SYM in weak_alias.
11829 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11831 (PARMS): Do not use macros from bp-asm.h.
11834 [!BZERO_P] (CHR): Likewise.
11835 (memset): Likewise. Do not use BP_SYM.
11836 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11838 (PARMS): Do not use macros from bp-asm.h.
11840 (strcmp): Do not use BP_SYM.
11841 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11843 (PARMS): Do not use macros from bp-asm.h.
11846 [USE_AS_STRTOK_R] (SAVE): Likewise.
11847 (FUNCTION): Likewise. Do not use BP_SYM.
11848 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11850 (strtok_r): Likewise.
11851 (__GI___strtok_r): Likewise.
11852 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11853 (PARMS): Do not use macros from bp-asm.h.
11856 (__mpn_lshift): Do not use BP_SYM.
11857 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11858 (PARMS): Do not use macros from bp-asm.h.
11861 (__memchr): Do not use BP_SYM.
11862 (memchr): Do not use BP_SYM in weak_alias.
11863 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11864 (PARMS): Do not use macros from bp-asm.h.
11867 (memcmp): Do not use BP_SYM.
11868 (bcmp): Do not use BP_SYM in weak_alias.
11869 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11870 (PARMS): Do not use macros from bp-asm.h.
11873 (__mpn_mul_1): Do not use BP_SYM.
11874 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11876 (PARMS): Do not use macros from bp-asm.h.
11879 (__rawmemchr): Do not use BP_SYM.
11880 (rawmemchr): Do not use BP_SYM in weak_alias.
11881 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11882 (PARMS): Do not use macros from bp-asm.h.
11885 (__mpn_rshift): Do not use BP_SYM.
11886 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11887 (PARMS): Do not use macros from bp-asm.h.
11888 (SIGMSK): Likewise.
11889 (__sigsetjmp): Likewise. Do not use BP_SYM.
11890 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11891 (_start): Do not use BP_SYM.
11892 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11893 (PARMS): Do not use macros from bp-asm.h.
11896 (__stpcpy): Likewise. Do not use BP_SYM.
11897 (stpcpy): Do not use BP_SYM in weak_alias.
11898 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11900 (PARMS): Do not use macros from bp-asm.h.
11904 (__stpncpy): Likewise. Do not use BP_SYM.
11905 (stpncpy): Do not use BP_SYM in weak_alias.
11906 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11907 (PARMS): Do not use macros from bp-asm.h.
11910 (strchr): Likewise. Do not use BP_SYM.
11911 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11913 (PARMS): Do not use macros from bp-asm.h.
11916 (__strchrnul): Likewise. Do not use BP_SYM.
11917 (strchrnul): Do not use BP_SYM in weak_alias.
11918 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11920 (PARMS): Do not use macros from bp-asm.h.
11922 (strcspn): Do not use BP_SYM.
11923 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11925 (PARMS): Do not use macros from bp-asm.h.
11928 (strpbrk): Likewise. Do not use BP_SYM.
11929 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11931 (PARMS): Do not use macros from bp-asm.h.
11934 (strrchr): Likewise. Do not use BP_SYM.
11935 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11936 (PARMS): Do not use macros from bp-asm.h.
11938 (strspn): Do not use BP_SYM.
11939 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11940 (PARMS): Do not use macros from bp-asm.h.
11944 (FUNCTION): Likewise. Do not use BP_SYM.
11945 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11947 (strtok_r): Likewise.
11948 (__GI___strtok_r): Likewise.
11949 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11950 (PARMS): Do not use macros from bp-asm.h.
11954 (__mpn_sub_n): Do not use BP_SYM.
11955 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11957 (PARMS): Do not use macros from bp-asm.h.
11960 (__mpn_submul_1): Do not use BP_SYM.
11961 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11963 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11965 (PARMS): Do not use macros from bp-asm.h.
11970 (__clone): Do not use BP_SYM.
11971 (clone): Do not use BP_SYM in weak_alias.
11972 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11974 (PARMS): Do not use macros from bp-asm.h.
11976 (__mmap64): Do not use BP_SYM.
11977 (mmap64): Do not use BP_SYM in weak_alias.
11978 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11979 <bp-sym.h> and <bp-asm.h>.
11980 (PARMS): Do not use macros from bp-asm.h.
11981 (__posix_fadvise64_l64): Do not use BP_SYM.
11982 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11983 (PARMS): Do not use macros from bp-asm.h.
11985 (semtimedop): Do not use BP_SYM.
11986 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11989 2013-02-21 Allan McRae <allan@archlinux.org>
11991 * manual/message.texi (Charset conversion in gettext):
11992 Move @end statement to beginning of line.
11994 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12001 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12002 (denorm): Likewise.
12003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12006 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12008 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12009 tail-call to the resolved function if pltexit isn't needed.
12011 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12014 or Y being zero as being unlikely.
12015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12018 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12020 * manual/nss.texi (System Databases and Name Service Switch):
12021 Remove frobnicate @pxref.
12023 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12025 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12026 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12028 2013-02-20 Petr Machata <pmachata@redhat.com>
12030 * elf/elf.h (R_ARM_TARGET1): New macro.
12031 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12032 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12033 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12034 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12035 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12036 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12037 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12038 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12039 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12040 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12041 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12042 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12043 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12044 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12045 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12046 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12047 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12048 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12049 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12050 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12051 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12052 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12053 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12054 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12055 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12056 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12057 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12058 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12059 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12060 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12061 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12062 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12063 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12064 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12065 (R_ARM_THM_GOT_BREL12): Likewise.
12066 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12067 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12068 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12069 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12070 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12071 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12072 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12073 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12074 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12076 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12078 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12079 __attribute_used__ to __attribute__ ((unused)).
12081 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12083 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12086 comment formatting.
12087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12089 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12092 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12094 (ENTER): Remove both macro definitions.
12096 (CHECK_BOUNDS_LOW): Likewise.
12097 (CHECK_BOUNDS_HIGH): Likewise.
12098 (CHECK_BOUNDS_BOTH): Likewise.
12099 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12100 (RETURN_BOUNDED_POINTER): Likewise.
12101 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12102 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12103 (POP_ERRNO_LOCATION_RETURN): Likewise.
12104 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12105 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12106 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12108 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12109 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12110 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12111 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12112 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12113 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12114 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12115 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12116 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12117 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12118 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12119 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12120 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12121 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12123 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12124 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12126 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12127 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12128 * sysdeps/i386/i586/memset.S (memset): Likewise.
12129 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12130 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12131 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12133 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12134 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12135 Change uses of L(2) to L(out).
12136 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12137 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12138 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12139 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12140 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12142 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12143 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12145 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12146 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12147 (RETURN): Do not use macro LEAVE.
12148 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12149 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12150 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12151 * sysdeps/i386/i686/memset.S (memset): Likewise.
12152 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12153 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12154 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12155 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12157 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12158 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12159 L(1_2) and L(1_3) into L(1).
12160 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12161 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12162 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12163 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12164 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12165 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12166 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12167 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12168 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12170 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12171 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12172 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12173 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12174 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12175 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12176 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12177 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12178 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12179 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12180 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12181 * sysdeps/i386/strspn.S (strspn): Likewise.
12182 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12184 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12185 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12186 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12187 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12188 L(1_3) into L(1_1).
12189 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12190 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12191 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12193 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12195 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12197 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12200 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12202 * math/atest-exp.c (exp_mpn): Remove ROUND.
12203 * math/atest-exp2.c (exp_mpn): Likewise.
12204 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12206 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12207 * stdlib/tst-tls-atexit-lib.c: Likewise.
12208 * stdlib/tst-tls-atexit.c: Likewise.
12210 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12212 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12213 and __attribute_alloc_size__.
12215 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12217 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12218 __attribute_alloc_size__.
12219 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12220 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12222 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12224 * include/programs/xmalloc.h: New file.
12225 * catgets/gencat.c: Include it.
12226 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12227 * elf/pldd.c: Likewise.
12228 * iconv/iconv_charmap.c: Likewise.
12229 * iconv/iconvconfig.c: Likewise.
12230 * iconv/strtab.c: Likewise.
12231 * locale/programs/locale.c: Likewise.
12232 * locale/programs/localedef.h: Likewise.
12233 * locale/programs/simple-hash.c: Likewise.
12234 * nscd/nscd.h: Likewise.
12235 * nss/makedb.c: Likewise.
12236 * sysdeps/generic/ldconfig.h: Likewise.
12238 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12240 * Versions.def: Add GLIBC_2.18.
12241 * include/link.h (struct link_map): New member l_tls_dtor_count.
12242 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12243 (__call_tls_dtors): Likewise.
12244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12245 __cxa_thread_atexit_impl.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12262 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12263 (tests): Add test case tst-tls-atexit.
12264 (modules-names): Add shared library for tst-tls-atexit.
12265 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12266 (GLIBC_PRIVATE): Add __call_tls_dtors.
12267 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12269 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12270 * stdlib/tst-tls-atexit.c: New test case.
12271 * stdlib/tst-tls-atexit-lib.c: New test case.
12273 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12275 * elf/Versions (ld): Add _dl_find_dso_for_object.
12276 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12277 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12278 (dl_open_worker): Use _dl_find_dso_for_object.
12279 * elf/dl-sym.c (do_sym): Likewise.
12280 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12282 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12284 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12285 Syntactic changes only.
12286 (_dl_runtime_profile): Do a tail-call to the resolved function.
12288 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12291 * sysdeps/x86_64/bp-asm.h: Remove file.
12292 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12293 <bp-sym.h> and <bp-asm.h>.
12294 (__clone): Do not use BP_SYM.
12295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12296 <bp-sym.h> and <bp-asm.h>.
12297 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12298 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12300 (_setjmp): Do not use BP_SYM.
12301 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12303 (setjmp): Do not use BP_SYM.
12304 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12306 (mempcpy): Do not use BP_SYM in weak_alias.
12307 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12309 (strchr): Do not use BP_SYM.
12310 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12312 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12313 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12314 (_start): Do not use BP_SYM.
12315 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12317 (strcat): Do not use BP_SYM.
12318 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12320 (STRCMP): Do not use BP_SYM.
12321 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12323 (STRCPY): Do not use BP_SYM.
12324 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12326 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12328 (FUNCTION): Do not use BP_SYM.
12329 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12331 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12333 2013-02-17 Andreas Jaeger <aj@suse.de>
12335 * time/Versions: Sort entries.
12336 * string/Versions: Likewise.
12337 * resolv/Versions: Likewise.
12338 * posix/Versions: Likewise.
12339 * iconv/Versions: Likewise.
12340 * elf/Versions: Likewise.
12341 * wcsmbs/Versions: Likewise.
12343 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12345 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12346 loop termination condition.
12348 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12349 variable to calculate EZ.
12352 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12353 the lower precision input.
12355 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12358 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12359 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12360 (run-via-rtld-prefix): Do not handle %-bp tests.
12361 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12362 (all-object-suffixes): Remove .ob.
12363 (bppfx): Remove variable.
12364 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12365 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12366 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12367 [$(build-bounded) = yes] (libtype.ob): Likewise.
12368 * Makerules (elide-routines.ob): Remove variable.
12369 (do-tests-clean): Do not handle *-bp.out.
12370 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12371 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12372 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12373 (tests): Do not include $(tests-bp.out).
12374 (xtests): Do not include $(xtests-bp.out).
12375 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12376 [$(build-bounded) = yes] ($(addprefix
12377 $(objpfx),$(binaries-bounded))): Remove rule.
12378 ($(objpfx)%-bp.out): Remove rule.
12379 * config.make.in (build-bounded): Remove variable.
12380 * crypt/Makefile [$(build-bounded) = yes]
12381 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12382 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12383 append to variable.
12384 [$(build-bounded) = yes] (install-lib): Likewise.
12385 [$(build-bounded) = yes] (generated): Likewise.
12386 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12388 * intl/Makefile [$(build-bounded) = yes]
12389 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12390 * math/Makefile [$(build-bounded) = yes]
12391 ($(tests:%=$(objpfx)%-bp): Likewise.
12392 * misc/Makefile [$(build-bounded) = yes]
12393 ($(objpfx)tst-tsearch-bp): Likewise.
12394 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12395 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12397 * string/Makefile (o-objects.ob): Remove variable.
12398 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12399 (CFLAGS-.ob): Remove variable.
12400 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12401 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12402 both definitions of variable.
12403 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12404 (ASFLAGS-.ob): Remove variable.
12406 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12409 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12410 Remove __BOUNDED_POINTERS__ from condition.
12411 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12412 * string/bits/string2.h [!__NO_STRING_INLINES &&
12413 !__BOUNDED_POINTERS__]: Likewise.
12414 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12416 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12417 Remove conditional code.
12418 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12419 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12420 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12424 * csu/libc-start.c: Do not include <bp-sym.h>.
12425 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12426 * elf/dl-open.c: Do not include <bp-sym.h>.
12427 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12428 * math/fegetenv.c: Do not include <bp-sym.h>.
12429 (fegetenv): Do not use BP_SYM in versioned symbols.
12430 * nptl/sysdeps/pthread/bits/libc-lockP.h
12431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12434 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12436 (__pthread_mutex_destroy): Likewise.
12437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12438 (__pthread_mutex_lock): Likewise.
12439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12440 (__pthread_mutex_trylock): Likewise.
12441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12442 (__pthread_mutex_unlock): Likewise.
12443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12444 (__pthread_mutexattr_init): Likewise.
12445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12446 (__pthread_mutexattr_destroy): Likewise.
12447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12448 (__pthread_mutexattr_settype): Likewise.
12449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12450 (__pthread_rwlock_init): Likewise.
12451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12452 (__pthread_rwlock_destroy): Likewise.
12453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12454 (__pthread_rwlock_rdlock): Likewise.
12455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12456 (__pthread_rwlock_tryrdlock): Likewise.
12457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12458 (__pthread_rwlock_wrlock): Likewise.
12459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12460 (__pthread_rwlock_trywrlock): Likewise.
12461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12462 (__pthread_rwlock_unlock): Likewise.
12463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12464 (__pthread_key_create): Likewise.
12465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12466 (__pthread_setspecific): Likewise.
12467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12468 (__pthread_getspecific): Likewise.
12469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12472 (_pthread_cleanup_push_defer): Likewise.
12473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12474 (_pthread_cleanup_pop_restore): Likewise.
12475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12476 (pthread_setcancelstate): Likewise.
12477 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12479 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12480 (memchr): Do not use BP_SYM in weak_alias.
12481 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12482 (fegetenv): Do not use BP_SYM in versioned symbols.
12483 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12484 (fesetenv): Do not use BP_SYM in versioned symbols.
12485 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12486 (feupdateenv): Do not use BP_SYM in versioned symbols.
12487 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12488 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12489 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12490 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12491 (open64): Do not use BP_SYM in weak_alias.
12492 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12493 (fegetenv): Do not use BP_SYM in versioned symbols.
12494 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12495 (fesetenv): Do not use BP_SYM in versioned symbols.
12496 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12497 (feupdateenv): Do not use BP_SYM in versioned symbols.
12498 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12499 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12500 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12501 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12502 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12503 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12504 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12506 (__libc_start_main): Do not use BP_SYM.
12508 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12511 redundant return line.
12513 (denorm): Likewise.
12514 (dbl_mp): Likewise.
12515 (sub_magnitudes): Likewise.
12521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12523 (denorm): Likewise.
12524 (dbl_mp): Likewise.
12525 (sub_magnitudes): Likewise.
12532 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12534 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12535 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12538 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12539 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12541 of __mul for squares.
12542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12546 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12547 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12549 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12552 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12554 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12555 prototype or function definition. Rename ubp_* variables and
12556 parameters. Remove argv definitions conditional on
12557 [__BOUNDED_POINTERS__].
12558 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12559 * elf/dl-runtime.c (_dl_fixup): Likewise.
12560 * include/set-hooks.h (RUN_HOOK): Likewise.
12561 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12563 * string/strcpy.c (strcpy): Do not use __unbounded.
12564 * sysdeps/generic/frame.h (struct layout): Likewise.
12565 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12566 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12567 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12568 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12569 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12570 (__backtrace): Likewise.
12571 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12573 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12574 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12575 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12577 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12578 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12579 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12580 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12581 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12582 Do not use __unbounded.
12583 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12584 Rename __unboundedrlimits parameter to rlimits in prototype.
12585 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12586 Do not use __unbounded.
12587 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12588 not use __ptrvalue.
12589 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12590 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12591 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12592 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12593 __ptrvalue or __unbounded.
12594 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12595 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12597 (__new_msgctl): Do not use __ptrvalue.
12598 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12600 (__libc_msgrcv): Do not use __ptrvalue.
12601 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12602 startup_info): Do not use __unbounded.
12603 (__libc_start_main): Likewise. Rename ubp_* variables and
12604 parameters. Remove argv definitions conditional on
12605 [__BOUNDED_POINTERS__].
12606 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12608 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12610 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12612 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12614 (__new_shmctl): Do not use __ptrvalue.
12615 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12616 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12618 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12619 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12620 (__libc_sigaction): Likewise.
12621 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12624 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12626 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12628 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12630 * string/mempcpy.c: Implement by calling memcpy.
12632 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12639 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12640 values in the mantissa.
12642 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12643 minimize writes to Z.
12644 (sub_magnitudes): Simplify code a bit.
12646 2013-02-12 Roland McGrath <roland@hack.frob.com>
12648 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12649 from the message. The linker prefixes all warnings with that already.
12651 2013-02-12 Andreas Schwab <schwab@suse.de>
12654 * posix/regexec.c (extend_buffers): Add parameter min_len.
12655 (check_matching): Pass minimum needed length.
12656 (clean_state_log_if_needed): Likewise.
12657 (get_subexp): Likewise.
12658 * posix/Makefile (tests): Add bug-regex34.
12659 (bug-regex34-ENV): Define.
12660 * posix/bug-regex34.c: New file.
12663 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12664 elements compare against the byte sequence of it, not its name.
12665 * posix/Makefile (tests): Add bug-regex35.
12666 (bug-regex35-ENV): Define.
12667 * posix/bug-regex35.c: New file.
12669 2013-02-11 Tom de Vries <tom@codesourcery.com>
12671 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12673 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12674 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12675 (CHECK_EOL): Add undef.
12677 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12679 * bits/stdlib-bsearch.h: New file.
12680 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12681 * stdlib/stdlib.h: Likewise.
12683 2013-02-11 Roland McGrath <roland@hack.frob.com>
12685 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12686 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12688 * manual/search.texi (Array Search Function): Add missing const in
12690 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12691 declaration to use rlim_t.
12692 (Basic Scheduling Functions): Remove erroneous const from
12693 sched_getparam prototype. Remove erroneous * from
12694 sched_get_priority_max and sched_get_priority_min prototypes.
12695 (Resource Usage): Fix summary @comment on vtimes to refer to
12696 sys/vtimes.h rather than vtimes.h.
12697 Add missing *s in vtimes prototype.
12698 (Limits on Resources): Fix ulimit prototype to return long int.
12699 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12700 prototypes to use long int rather than double.
12701 (BSD Random): Fix initstate and setstate to use char *, not void *.
12702 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12703 prototype to make second argument 'struct aiocb64 *const[]'.
12704 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12705 (Status of AIO Operations): Remove erroneous const in aio_return and
12706 aio_return64 prototypes.
12707 (Synchronizing I/O): Fix sync prototype to return void.
12708 * manual/startup.texi (Suboptions): Remove an erroneous const in
12709 getsubopt prototype.
12710 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12711 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12712 use size_t rather than int.
12713 (Scanning All Users): Likewise for getpwent_r.
12714 (Setting Groups): Add missing const to setgroups prototype.
12715 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12716 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12717 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12718 'const void *' rather than 'const char *'.
12719 (Host Address Functions): Likewise for inet_ntop.
12720 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12721 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12722 ssize_t for return value.
12723 (Sending Data): Likewise for send, sendto, sendmsg.
12724 (Socket Option Functions): Add a missing const in setsockopt prototype.
12725 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12726 use wchar_t for the argument.
12727 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12728 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12730 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12731 double/float/long double for second argument.
12732 Fix return types of significand, significandf, significandl.
12733 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12734 argument in fchmod prototype.
12735 (File Owner): Use uid_t and gid_t in fchown prototype.
12736 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12737 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12738 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12739 use 'const struct dirent **' as argument types to CMP function pointer
12741 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12742 (File Times): Fix summary magic @comment for struct utimbuf and utime
12743 to refer to utime.h, not time.h.
12744 * manual/string.texi (Argz Functions): Add missing const in
12745 argz_extract and argz_next prototypes.
12746 (Finding Tokens in a String): Likewise for basename.
12747 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12748 (Copying and Concatenation): Fix typo in wmemmove prototype.
12749 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12750 (Signal Stack): Remove erroneous const in sigstack prototype.
12751 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12753 (Simple Calendar Time): Likewise for stime.
12754 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12756 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12757 say sys/sysctl.h instead.
12758 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12759 and vsyslog prototypes.
12761 2013-02-11 Tom de Vries <tom@codesourcery.com>
12763 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12766 2013-02-11 Roland McGrath <roland@hack.frob.com>
12768 * misc/sys/mman.h: Fix typo in mremap comment.
12770 2013-02-08 Roland McGrath <roland@hack.frob.com>
12772 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12773 the '\0' terminator.
12775 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12778 * debug/segfault.c: Don't include <bp-checks.h>.
12779 * sysdeps/generic/bp-checks.h: Remove file.
12780 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12781 (__GETDENTS): Don't use CHECK_N.
12782 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12783 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12784 (__getgroups): Don't use CHECK_N.
12785 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12786 (setgroups): Don't use CHECK_N.
12787 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12788 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12789 (__libc_msgrcv): Don't use CHECK_N.
12790 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12791 (__libc_msgsnd): Don't use CHECK_N.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12794 (__libc_pread): Don't use CHECK_N.
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12796 include <bp-checks.h>.
12797 (__libc_pread64): Don't use CHECK_N.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12799 include <bp-checks.h>.
12800 (__libc_pwrite): Don't use CHECK_N.
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12802 include <bp-checks.h>.
12803 (__libc_pwrite64): Don't use CHECK_N.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12806 (__libc_pread): Don't use CHECK_N.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12808 include <bp-checks.h>.
12809 (__libc_pread64): Don't use CHECK_N.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12811 include <bp-checks.h>.
12812 (__libc_pwrite): Don't use CHECK_N.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12814 include <bp-checks.h>.
12815 (__libc_pwrite64): Don't use CHECK_N.
12816 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12817 (do_pread): Don't use CHECK_N.
12818 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12819 (do_pread64): Don't use CHECK_N.
12820 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12821 (do_pwrite): Don't use CHECK_N.
12822 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12823 (do_pwrite64): Don't use CHECK_N.
12824 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12825 (__libc_readv): Don't use CHECK_N.
12826 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12827 (semop): Don't use CHECK_N.
12828 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12830 (semtimedop): Don't use CHECK_N.
12831 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12832 (__libc_pread): Don't use CHECK_N.
12833 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12835 (__libc_pread64): Don't use CHECK_N.
12836 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12838 (__libc_pwrite): Don't use CHECK_N.
12839 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12841 (__libc_pwrite64): Don't use CHECK_N.
12842 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12844 (__libc_msgrcv): Don't use CHECK_N.
12845 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12846 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12847 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12848 (__libc_writev): Don't use CHECK_N.
12850 2013-02-08 Roland McGrath <roland@hack.frob.com>
12852 * string/strcpy.c: Removed unused variable.
12854 * Makeconfig (+sysdep-includes): Define with := rather than =.
12855 Use an existing include/ subdir of each sysdeps dir before it.
12857 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12859 * nscd/connection.c (register_traced_file): Comment function.
12860 [HAVE_INOTIFY] (union __inev): Define.
12861 [HAVE_INOTIFY] (inotify_check_files): New function.
12862 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12863 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12865 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12867 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12869 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12870 loaded if not already and that a failure is permanent.
12872 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12875 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12876 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12878 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12881 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12882 (CHECK_1_NULL_OK): Likewise.
12883 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12884 (__fxstat): Do not use CHECK_1.
12885 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12887 (___fxstat64): Do not use CHECK_1.
12888 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12890 (__fxstatat): Do not use CHECK_1.
12891 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12893 (__fxstatat64): Do not use CHECK_1.
12894 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12896 (__fxstat): Do not use CHECK_1.
12897 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12899 (__fxstatat): Do not use CHECK_1.
12900 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12902 (__getresgid): Do not use CHECK_1.
12903 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12905 (__getresuid): Do not use CHECK_1.
12906 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12908 (__lxstat): Do not use CHECK_1.
12909 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12911 (__old_msgctl): Do not use CHECK_1.
12912 (__new_msgctl): Likewise.
12913 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12915 (__new_setrlimit): Do not use CHECK_1.
12916 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12918 (__old_shmctl): Do not use CHECK_1.
12919 (__new_shmctl): Likewise.
12920 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12922 (__xstat): Do not use CHECK_1.
12923 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12924 (__lxstat): Do not use CHECK_1.
12925 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12927 (___lxstat64): Do not use CHECK_1.
12928 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12929 (__old_msgctl): Do not use CHECK_1.
12930 (__new_msgctl): Likewise.
12931 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12933 (__gettimeofday): Do not use CHECK_1.
12934 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12935 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12936 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12938 (__gettimeofday): Do not use CHECK_1.
12939 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12940 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12941 (__new_shmctl): Do not use CHECK_1.
12942 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12944 (do_sigtimedwait): Do not use CHECK_1.
12945 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12947 (do_sigwaitinfo): Do not use CHECK_1.
12948 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12950 (msgctl): Do not use CHECK_1.
12951 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12953 (shmctl): Do not use CHECK_1.
12954 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12955 (ustat): Do not use CHECK_1.
12956 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12958 (__fxstat): Do not use CHECK_1.
12959 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12961 (__fxstatat): Do not use CHECK_1.
12962 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12964 (__lxstat): Do not use CHECK_1.
12965 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12967 (__xstat): Do not use CHECK_1.
12968 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12969 (__xstat): Do not use CHECK_1.
12970 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12971 (___xstat64): Do not use CHECK_1.
12974 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12976 (CHECK_BOUNDS_HIGH): Likewise.
12977 * string/strcpy.c: Do not include <bp-checks.h>.
12978 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12980 2013-02-07 Roland McGrath <roland@hack.frob.com>
12982 * nscd/nscd-client.h (__nscd_drop_map_ref):
12983 Add __attribute__ ((unused)).
12984 * nis/nss-nisplus.h (niserr2nss): Likewise.
12986 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12987 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12989 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12990 Remove inline keyword.
12991 * include/rounding-mode.h (round_away): Likewise.
12992 * libio/wfileops.c (adjust_wide_data): Likewise.
12993 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12994 (__m128i_strloadu_tolower): Likewise.
12995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12996 (__m128i_strloadu_tolower): Likewise.
12997 * time/mktime.c (ydhms_diff): Likewise.
12998 * locale/elem-hash.h (elem_hash): Likewise.
12999 * locale/setlocale.c (setdata): Likewise.
13000 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13001 (re_string_wchar_at): Likewise.
13002 (bitset_not, bitset_merge, bitset_mask): Likewise.
13003 [!(__GNUC__ > 3)] (inline): Remove macro.
13004 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13005 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13006 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13007 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13008 * string/memcmp.c (memcmp_bytes): Likewise.
13009 * locale/programs/locarchive.c (compute_hashval): Likewise.
13010 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13011 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13012 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13013 * nss/getent.c (print_rpc, print_protocols): Likewise.
13014 (print_passwd, print_group, print_aliases): Likewise.
13015 * nis/nss-nisplus.h (niserr2nss): Likewise.
13016 * nscd/connections.c (restart_p): Likewise.
13017 Change return type to bool.
13019 2013-02-05 Roland McGrath <roland@hack.frob.com>
13021 * Makeconfig (all-Depend-files): Add existing
13022 $(sorted-subdirs:=/Depend) files.
13023 (all-subdirs): Remove nss.
13024 * sysdeps/unix/inet/Subdirs: Add it here instead.
13025 * hesiod/Depend: New file.
13027 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13028 instead of calling alloca.
13030 * io/lseek.c (__lseek): Rename to __libc_lseek.
13031 Define __lseek as an alias.
13033 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13035 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13037 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13038 else clause and remove check for non-standard endianness.
13040 2013-02-04 David S. Miller <davem@davemloft.net>
13042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13044 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13047 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13048 (__ubp_memchr): Remove prototype.
13049 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13050 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13051 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13052 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13053 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13055 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13056 (__ubp_memchr): Likewise.
13057 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13058 (__ubp_memchr): Likewise.
13059 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13060 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13061 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13062 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13064 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13065 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13066 (__getcwd): Do not use CHECK_STRING.
13067 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13069 (__real_chown): Do not use CHECK_STRING.
13070 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13072 (fchownat): Do not use CHECK_STRING.
13073 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13075 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13077 (__lchown): Do not use CHECK_STRING.
13078 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13079 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13080 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13081 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13083 include <bp-checks.h>.
13084 (truncate64): Do not use CHECK_STRING.
13085 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13087 (__real_chown): Do not use CHECK_STRING.
13088 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13090 (__lchown): Do not use CHECK_STRING.
13091 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13093 (__chown): Do not use CHECK_STRING.
13094 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13096 (truncate64): Do not use CHECK_STRING.
13097 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13099 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13100 (__xmknod): Do not use CHECK_STRING.
13101 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13103 (__xmknodat): Do not use CHECK_STRING.
13104 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13105 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13107 2013-02-04 Andreas Schwab <schwab@suse.de>
13110 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13111 * include/netdb.h: Likewise for h_errno.
13112 * elf/tst-stackguard1.c: Include <tls.h>.
13114 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13116 * elf/link.h (struct link_map): Extend the l_addr comment.
13117 * include/link.h (struct link_map): Likewise.
13119 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13122 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13123 (BOUNDED_1): Remove macro.
13124 * debug/backtrace.c: Don't include <bp-checks.h>.
13125 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13126 (__backtrace): Likewise.
13127 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13129 (__backtrace): Don't use BOUNDED_1.
13130 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13132 (__backtrace): Don't use BOUNDED_1.
13133 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13134 (__backtrace): Don't use BOUNDED_1.
13135 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13136 (shmat): Don't use BOUNDED_N.
13138 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13141 * sysdeps/generic/bp-start.h: Remove file.
13142 * csu/libc-start.c: Don't include <bp-start.h>.
13143 (LIBC_START_MAIN): Set up __environ directly instead of using
13144 INIT_ARGV_and_ENVIRON.
13145 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13149 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13151 (CHECK_FCNTL): Likewise.
13152 (CHECK_N_PAGES): Likewise.
13155 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13157 (CHECK_SIGSET_NULL_OK): Likewise.
13158 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13160 (sigpending): Don't use CHECK_SIGSET.
13161 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13163 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13164 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13166 (do_sigsuspend): Don't use CHECK_SIGSET.
13167 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13169 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13170 (do_sigwait): Don't use CHECK_SIGSET.
13171 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13174 include <bp-checks.h>.
13175 (sigpending): Don't use CHECK_SIGSET.
13176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13177 include <bp-checks.h>.
13178 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13179 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13181 (sigpending): Don't use CHECK_SIGSET.
13182 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13184 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13187 * sysdeps/generic/bp-semctl.h: Remove file.
13188 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13189 <bp-checks.h> and <bp-semctl.h>.
13190 (__old_semctl): Don't use CHECK_SEMCTL.
13191 (__new_semctl): Likewise.
13192 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13194 (__old_semctl): Don't use CHECK_SEMCTL.
13195 (__new_semctl): Likewise.
13196 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13197 <bp-checks.h> and <bp-semctl.h>.
13198 (__old_semctl): Don't use CHECK_SEMCTL.
13199 (__new_semctl): Likewise.
13200 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13201 <bp-checks.h> and <bp-semctl.h>.
13202 (semctl): Don't use CHECK_SEMCTL.
13205 * Makerules (elide-bp-thunks): Remove variable.
13206 (elide-routines.oS): Don't use $(elide-bp-thunks).
13207 (elide-routines.os): Likewise.
13208 (elide-routines.o): Likewise.
13209 (elide-routines.op): Likewise.
13210 (elide-routines.og): Likewise.
13211 (objects): Don't use $(bp-thunks).
13212 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13214 (common-generated): Do not add s-proto-bp.d.
13215 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13218 Do not generate makefile rules for bounded-pointer thunks.
13219 * sysdeps/generic/bp-thunks.h: Remove file.
13220 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13221 * sysdeps/unix/s-proto-bp.S: Likewise.
13224 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13225 parts of result separately when argument is not close to line from
13226 -i to i and one part of argument is small.
13227 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13228 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13229 * math/libm-test.inc (cacos_test): Add more tests.
13230 (casin_test): Likewise.
13231 (casinh_test): Likewise.
13232 * sysdeps/i386/fpu/libm-test-ulps: Update.
13233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13235 2013-01-31 David S. Miller <davem@davemloft.net>
13237 * po/de.po: Update from translation team.
13239 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13241 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13243 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13245 * configure.in (_AC_PROG_CC_C89): New definition.
13246 * configure: Regenerate.
13248 * configure.in (AC_PROG_CPP): New definition.
13249 * configure: Regenerate.
13251 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13253 * debug/tst-backtrace.h: New file.
13254 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13255 (ret): Remove variable.
13257 (FAIL): Remove macro.
13258 (NO_INLINE): Likewise.
13259 (fn1): Use match function instead of strstr.
13260 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13261 (ret): Remove variable.
13263 (FAIL): Remove macro.
13264 (NO_INLINE): Likewise.
13265 (fn): Use match function instead of strstr.
13266 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13267 (ret): Remove variable.
13269 (FAIL): Remove macro.
13270 (NO_INLINE): Likewise.
13271 (handle_signal): Use match function instead of strstr.
13272 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13273 (ret): Remove variable.
13275 (FAIL): Remove macro.
13276 (NO_INLINE): Likewise.
13277 (handle_signal): Use match function instead of strstr.
13279 2013-01-23 Roland McGrath <roland@hack.frob.com>
13281 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13283 2013-01-23 David S. Miller <davem@davemloft.net>
13285 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13286 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13287 argument of CAS if possible.
13288 * sysdeps/sparc/sparc64/bits/atomic.h
13289 (__arch_compare_and_exchange_val_32_acq): Likewise.
13290 (__arch_compare_and_exchange_val_64_acq): Likewise.
13292 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13294 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13295 * sysdeps/posix/ulimit.c: ... this.
13296 Include <limits.h>.
13297 * sysdeps/unix/bsd/ulimit.c: Remove file.
13299 2013-01-23 Adam Conrad <adconrad@0c3.net>
13301 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13302 (LDFLAGS-tst-array5): Likewise.
13304 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13307 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13308 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13309 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13310 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13312 2013-01-21 David S. Miller <davem@davemloft.net>
13314 * sysdeps/sparc/backtrace.c: New file.
13315 * sysdeps/sparc/sparc32/backtrace.h: New file.
13316 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13317 * sysdeps/sparc/sparc64/backtrace.h: New file.
13318 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13319 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13322 2013-01-21 Andreas Schwab <schwab@suse.de>
13325 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13328 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13334 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13335 Mark Mitchell <mark@codesourcery.com>
13336 Tom de Vries <tom@codesourcery.com>
13337 Paul Pluzhnikov <ppluzhnikov@google.com>
13339 * debug/tst-backtrace2.c: New file.
13340 * debug/tst-backtrace3.c: Likewise.
13341 * debug/tst-backtrace4.c: Likewise.
13342 * debug/tst-backtrace5.c: Likewise.
13343 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13344 (CFLAGS-tst-backtrace3.c): Likewise.
13345 (CFLAGS-tst-backtrace4.c): Likewise.
13346 (CFLAGS-tst-backtrace5.c): Likewise.
13347 (LDFLAGS-tst-backtrace2): Likewise.
13348 (LDFLAGS-tst-backtrace3): Likewise.
13349 (LDFLAGS-tst-backtrace4): Likewise.
13350 (LDFLAGS-tst-backtrace5): Likewise.
13351 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13352 tst-backtrace4 and tst-backtrace5.
13354 2013-01-18 Anton Blanchard <anton@samba.org>
13355 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13357 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13358 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13359 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13360 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13362 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13363 "+r" and remove output regs list as redundant. Add explicit inline
13364 asm to specify register of return val to work around compiler codegen
13365 bug. Remove (int) cast on return value. Add return type parameter to
13366 use in macro so that this macro does not truncate return value for
13368 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13369 pass to INTERNAL_VSYSCALL_NCS.
13370 (INLINE_VSYSCALL): Add 'long int' as return type to
13371 INTERNAL_VSYSCALL_NCS macro invocation.
13372 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13373 INTERNAL_VSYSCALL_NCS macro invocation.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13376 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13379 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13380 Fix application of SIMD FP exception mask.
13382 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13383 mp_no from a power of two.
13384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13385 __mpexp_twomm1. Use __pow_mp.
13387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13390 2013-01-17 David S. Miller <davem@davemloft.net>
13392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13394 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13397 * include/complex.h: Condition contents on [!_COMPLEX_H].
13398 (__kernel_casinhf): New prototype.
13399 (__kernel_casinh): Likewise.
13400 (__kernel_casinhl): Likewise.
13401 * math/Makefile (libm_calls): Add k_casinh.
13402 * math/k_casinh.c: New file.
13403 * math/k_casinhf.c: Likewise.
13404 * math/k_casinhl.c: Likewise.
13405 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13406 finite nonzero arguments.
13407 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13408 finite nonzero arguments.
13409 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13410 finite nonzero arguments.
13411 * math/s_casinh.c: Do not include <float.h>.
13412 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13413 * math/s_casinhf.c: Do not include <float.h>.
13414 (__casinhf): Move code for finite nonzero arguments to
13416 * math/s_casinhl.c: Do not include <float.h>.
13417 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13419 (__casinhl): Move code for finite nonzero arguments to
13421 * math/libm-test.inc (cacos_test): Add more tests.
13422 * sysdeps/i386/fpu/libm-test-ulps: Update.
13423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13425 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13427 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13428 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13429 [!HAVE_MREMAP]: Remove [defined linux] case.
13430 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13432 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13434 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13436 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13438 * elf/elf.h (R_386_SIZE32): New relocation.
13439 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13441 (elf_machine_rela): Likewise.
13442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13443 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13445 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13447 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13448 (FP_FAST_FMA): Do not define.
13449 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13450 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13451 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13452 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13453 !_SOFT_FLOAT]: Likewise.
13454 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13455 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13457 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13458 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13459 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13460 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13461 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13462 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13465 2013-01-16 Andreas Schwab <schwab@suse.de>
13468 * include/stdlib.h (__mktemp): Add declaration.
13469 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13470 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13472 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13474 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13476 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13477 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13478 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13480 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13481 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13483 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13485 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13486 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13487 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13489 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13490 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13492 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13494 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13496 2013-01-15 David S. Miller <davem@davemloft.net>
13498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13499 trunc{,f} to libm-sysdep_routes.
13500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13510 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13511 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13512 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13513 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13514 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13515 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13518 nearbyint{,f} to libm-sysdep_routes.
13519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13532 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13533 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13536 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13537 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13539 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13540 libc_feholdexcept and libc_fesetenv.
13542 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13544 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13546 2013-01-14 David S. Miller <davem@davemloft.net>
13548 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13549 (SPARC_ASM_VIS2_IFUNC): Likewise.
13550 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13552 use of 'siam' instruction.
13553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13586 routines to libm-sysdep_routines.
13587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13590 fdim/fdimf to libm-sysdep_routines.
13591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13599 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13600 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13601 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13602 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13604 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13606 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13607 to optimize copies.
13609 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13614 local variable MPTWO.
13615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13618 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13620 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13623 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13625 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13627 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13629 * manual/pattern.texi (glob_t): Document gl_flags.
13630 (glob64_t): Likewise.
13632 2013-01-11 David S. Miller <davem@davemloft.net>
13634 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13635 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13636 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13637 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13638 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13639 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13640 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13641 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13642 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13643 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13644 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13645 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13646 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13648 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13649 sparc V9 rather than using V8 code.
13650 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13651 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13653 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13655 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13658 2013-01-11 Roland McGrath <roland@hack.frob.com>
13660 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13661 not in the main loop.
13662 * configure: Regenerated.
13664 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13666 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13667 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13669 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13670 [!__GLIBC_HAVE_LONG_LONG] case.
13671 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13672 condition to just #else.
13673 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13674 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13675 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13676 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13678 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13679 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13680 #elif condition to just #else.
13681 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13682 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13683 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13684 #elif condition to just #else.
13686 2013-01-11 Steve Ellcey <sellcey@mips.com>
13688 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13689 (EF_MIPS_ARCH_64): Fix value.
13690 (EF_MIPS_ARCH_32R2): New.
13691 (EF_MIPS_ARCH_64R2): New.
13693 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13695 * Makeconfig (+link-pie-before-libc): New.
13696 (+link-pie-after-libc): Likewise.
13697 (+link-pie-tests): Likewise.
13698 (+link-pie): Rewritten.
13699 (link-before-libc): Remove $(config-LDFLAGS).
13700 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13701 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13702 (config-LDFLAGS): Renamed to ...
13703 (rtld-LDFLAGS): This.
13704 (rtld-tests-LDFLAGS): New macro.
13705 (link-libc-rpath-link): Likewise.
13706 (link-libc-tests-rpath-link): Likewise.
13707 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13708 (link-libc): Prepand $(link-libc-rpath-link).
13709 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13710 (test-program-prefix): New macro.
13711 (test-via-rtld-prefix): Likewise.
13712 (test-program-cmd): Likewise.
13713 (host-test-program-cmd): Likewise.
13714 * Makefile ($(common-objpfx)testrun.sh): Replace
13715 $(run-program-prefix) with $(test-program-prefix).
13716 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13718 ($(common-objpfx)shlib.lds): Likewise.
13719 (build-module-helper): Likewise.
13720 ($(common-objpfx)format.lds): Likewise.
13721 * Rules (binaries-pie-tests): New.
13722 (binaries-pie-notests): Likewise.
13723 (binaries-pie): Rewritten.
13724 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13725 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13726 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13727 (make-test-out): Replace $(host-built-program-cmd) with
13728 $(host-test-program-cmd).
13729 * config.make.in (build-hardcoded-path-in-tests): New variable.
13730 * configure.in (--enable-hardcoded-path-in-tests): New configure
13732 (hardcoded_path_in_tests): New AC_SUBST.
13733 * configure: Regenerated.
13734 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13735 $(built-program-cmd) with $(test-program-cmd).
13736 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13737 (test_program_cmd): This.
13738 * elf/Makefile ($(objpfx)order.out): Run test with
13739 $(test-program-prefix).
13740 ($(objpfx)order2.out): Likewise.
13741 ($(objpfx)tst-initorder.out): Likewise.
13742 ($(objpfx)tst-initorder2.out): Likewise.
13743 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13744 $(test-program-cmd).
13745 ($(objpfx)tst-array1-static.out): Likewise.
13746 ($(objpfx)tst-array2.out): Likewise.
13747 ($(objpfx)tst-array3.out): Likewise.
13748 ($(objpfx)tst-array4.out): Likewise.
13749 ($(objpfx)tst-array5.out): Likewise.
13750 ($(objpfx)tst-array5-static.out): Likewise.
13751 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13752 $(test-program-cmd).
13753 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13754 $(run-program-prefix) with $(test-program-prefix).
13755 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13756 (test_program_prefix): This.
13757 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13758 $(run-program-prefix) with $(test-program-prefix).
13759 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13760 (test_program_prefix): This.
13761 * iconvdata/tst-tables.sh: Likewise.
13762 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13763 $(run-program-prefix) with $(test-program-prefix).
13764 ($(objpfx)tst-translit.out): Likewise.
13765 ($(objpfx)tst-gettext2.out): Likewise.
13766 ($(objpfx)tst-gettext4.out): Likewise.
13767 ($(objpfx)tst-gettext6.out): Likewise.
13768 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13769 (test_program_prefix): This.
13770 * intl/tst-gettext2.sh: Likewise.
13771 * intl/tst-gettext4.sh Likewise.
13772 * intl/tst-gettext6.sh: Likewise.
13773 * intl/tst-translit.sh: Likewise.
13774 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13775 with $(test-program-cmd).
13776 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13777 $(run-program-prefix) with $(test-program-prefix).
13778 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13779 (test_program_prefix): This.
13780 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13781 $(run-program-prefix) with $(test-program-prefix).
13782 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13783 (test_program_prefix): This.
13784 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13785 * posix/Makefile ($(objpfx)globtest.out): Replace
13786 $(run-via-rtld-prefix) and $(test-wrapper) with
13787 $(test-program-prefix) and $(test-via-rtld-prefix).
13788 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13789 $(test-program-prefix).
13790 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13791 $(host-test-program-cmd).
13792 (tst-spawn-ARGS): Likewise.
13793 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13794 $(test-program-prefix).
13795 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13796 (test_via_rtld_prefix): This.
13797 (test_wrapper): Renamed to ...
13798 (test_program_prefix): This.
13799 (run_program_prefix): Replaced by test_program_prefix.
13800 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13801 (test_program_prefix): This.
13802 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13803 with $(host-test-program-cmd).
13804 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13805 $(run-program-prefix) with $(test-program-prefix).
13806 ($(objpfx)tst-printf.out): Likewise.
13807 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13808 $(test-program-cmd).
13809 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13810 (test_program_prefix): This.
13811 * stdio-common/tst-unbputc.sh: Likewise.
13812 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13813 $(run-program-prefix) with $(test-program-prefix).
13814 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13815 (test_program_prefix): This.
13816 * string/Makefile ($(objpfx)tst-svc.out): Replace
13817 $(built-program-cmd) with $(test-program-cmd).
13819 2013-01-11 Andreas Jaeger <aj@suse.de>
13822 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13823 value. Sync with Linux 3.7.
13825 2013-01-10 David S. Miller <davem@davemloft.net>
13827 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13828 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13829 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13831 2013-01-10 Roland McGrath <roland@hack.frob.com>
13833 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13835 * configure: Regenerated.
13837 2013-01-10 David S. Miller <davem@davemloft.net>
13839 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13840 sparc V9 rather than using V8 code.
13841 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13842 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13844 2013-01-10 Roland McGrath <roland@hack.frob.com>
13846 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13847 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13848 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13849 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13850 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13851 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13852 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13853 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13854 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13855 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13856 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13857 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13858 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13859 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13860 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13861 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13862 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13863 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13864 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13865 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13866 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13867 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13868 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13869 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13870 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13871 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13872 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13874 2013-01-10 David S. Miller <davem@davemloft.net>
13876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13878 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13880 * posix/Makefile (tests-static): New variable.
13881 (tests): Add $(tests-static).
13882 (tst-exec-static-ARGS): New variable.
13883 (tst-spawn-static-ARGS): Likewise.
13884 * posix/tst-exec-static.c: New file.
13885 * posix/tst-spawn-static.c: Likewise.
13886 * posix/tst-exec.c: Support run directly.
13887 * posix/tst-spawn.c: Likewise.
13889 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13891 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13893 * math/bits/mathcalls.h (llrint): Likewise.
13894 (llround): Likewise.
13895 * stdlib/stdlib.h (struct drand48_data): Likewise.
13896 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13897 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13898 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13900 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13902 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13903 (elf_greg_t): Likewise.
13904 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13905 (__jmp_buf): Likewise.
13906 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13908 (llrint): Likewise, for all definitions.
13909 (llrintl): Likewise.
13911 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13912 Remove [__GNUC__] condition.
13913 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13914 condition to just [__USE_ISOC99].
13915 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13917 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13920 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13921 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13923 (_POSIX_V6_ILP32_OFF32): Likewise.
13924 (_XBS5_ILP32_OFF32): Likewise.
13925 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13926 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13928 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13930 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13933 doubles __mpexp_twomm1. Adjust usage.
13934 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13937 2013-01-10 Andreas Schwab <schwab@suse.de>
13940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13941 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13943 2013-01-09 David S. Miller <davem@davemloft.net>
13946 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13947 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13948 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13949 TCP_FASTOPEN): Define.
13950 (tcp_repair_opt): New structure.
13951 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13953 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13954 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13955 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13956 (tcp_cookie_transactions): New structure.
13958 2013-01-09 Anton Blanchard <anton@samba.org>
13960 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13962 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13963 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13965 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13967 * include/features.h (__USE_ANSI): Remove.
13969 2013-01-09 Roland McGrath <roland@hack.frob.com>
13971 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13973 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13975 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13977 * sysdeps/s390/fpu/libm-test-ulps: Update.
13979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13981 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13985 (denorm): Likewise.
13986 (__mp_dbl): Likewise.
13987 (__dbl_mp): Likewise.
13988 (add_magnitudes): Likewise.
13989 (sub_magnitudes): Likewise.
13995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13999 (denorm): Likewise.
14000 (__mp_dbl): Likewise.
14001 (__dbl_mp): Likewise.
14002 (add_magnitudes): Likewise.
14003 (sub_magnitudes): Likewise.
14009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14013 (denorm): Likewise.
14014 (__mp_dbl): Likewise.
14015 (__dbl_mp): Likewise.
14016 (add_magnitudes): Likewise.
14017 (sub_magnitudes): Likewise.
14024 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14026 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14027 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14028 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14029 2 && __USE_EXTERN_INLINES]: Likewise.
14031 2013-01-08 Andreas Jaeger <aj@suse.de>
14034 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14036 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14037 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14039 2013-01-07 Anton Blanchard <anton@samba.org>
14041 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14042 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14043 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14044 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14045 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14046 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14047 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14048 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14051 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14052 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14053 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14054 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14055 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14056 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14057 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14058 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14059 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14060 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14061 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14062 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14063 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14064 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14065 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14066 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14067 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14068 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14070 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14071 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14073 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14074 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14075 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14076 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14077 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14079 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14080 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14081 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14083 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14085 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14087 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14088 (__MALLOC_PMT): Likewise.
14089 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14090 [__GNUC__], only on [_LIBC].
14091 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14092 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14093 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14094 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14095 forward declaration.
14096 (realloc_hook_ini): Likewise.
14097 (memalign_hook_ini): Likewise.
14098 (__libc_memalign): Do not use __MALLOC_PMT in variable
14100 (__libc_valloc): Likewise.
14101 (__libc_pvalloc): Likewise.
14102 (__libc_calloc): Likewise.
14103 (__posix_memalign): Likewise.
14106 * math/s_casinh.c: Include <float.h>.
14107 (__casinh): Do not do computation with squaring and square root
14108 for large arguments.
14109 * math/s_casinhf.c: Include <float.h>.
14110 (__casinhf): Do not do computation with squaring and square root
14111 for large arguments.
14112 * math/s_casinhl.c: Include <float.h>.
14113 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14114 (__casinhl): Do not do computation with squaring and square root
14115 for large arguments.
14116 * math/libm-test.inc (casin_test): Add more tests.
14117 (casinh_test): Likewise.
14118 * sysdeps/i386/fpu/libm-test-ulps: Update.
14119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14121 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14123 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14124 (__x86_64_raw_data_cache_size): Likewise.
14125 (__x86_64_data_cache_size_half): Likewise.
14126 (__x86_64_raw_data_cache_size_half): Likewise.
14127 (__x86_64_shared_cache_size): Likewise.
14128 (__x86_64_raw_shared_cache_size): Likewise.
14129 (__x86_64_shared_cache_size_half): Likewise.
14130 (__x86_64_raw_shared_cache_size_half): Likewise.
14131 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14133 (__x86_data_cache_size): This.
14134 (__x86_64_raw_data_cache_size): Renamed to ...
14135 (__x86_raw_data_cache_size): This.
14136 (__x86_64_data_cache_size_half): Renamed to ...
14137 (__x86_data_cache_size_half): This.
14138 (__x86_64_raw_data_cache_size_half): Renamed to ...
14139 (__x86_raw_data_cache_size_half): This.
14140 (__x86_64_shared_cache_size): Renamed to ...
14141 (__x86_shared_cache_size): This.
14142 (__x86_64_raw_shared_cache_size): Renamed to ...
14143 (__x86_raw_shared_cache_size): This.
14144 (__x86_64_shared_cache_size_half): Renamed to ...
14145 (__x86_shared_cache_size_half): This.
14146 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14147 (__x86_raw_shared_cache_size_half): This.
14148 * sysdeps/x86_64/memcpy.S: Updated.
14149 * sysdeps/x86_64/memset.S: Likewise.
14150 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14151 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14152 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14154 2013-01-04 David S. Miller <davem@davemloft.net>
14156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14158 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14160 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14161 1 to avoid redefinition warning.
14162 (__USE_GNU): Don't define.
14163 (init_signaling_nan): Protoize.
14165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14167 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14169 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14171 (__cpymn): Likewise.
14172 (norm): Remove commented code.
14173 (denorm): Likewise.
14174 (__mp_dbl): Likewise.
14176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14177 (__cpymn): Likewise.
14178 (norm): Remove commented code.
14179 (denorm): Likewise.
14180 (__mp_dbl): Likewise.
14183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14184 mp_no value for 1.0 and 2.0.
14185 (norm): Use RADIXI instead of radixi.d.
14186 (denorm): Likewise.
14187 (__mul): Use 0.0 instead of zero.d.
14188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14189 mp_no value for 1.0 and 2.0.
14190 (norm): Use RADIXI instead of radixi.d.
14191 (denorm): Likewise.
14192 (__mul): Use 0.0 instead of zero.d.
14194 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14197 * math/s_casinh.c (__casinh): Reduce finite argument to first
14198 quadrant then set signs of results at the end.
14199 * math/s_casinhf.c (__casinhf): Likewise.
14200 * math/s_casinhl.c (__casinhl): Likewise.
14201 * math/libm-test.inc (casin_test): Add more tests.
14202 (casinh_test): Likewise.
14203 * sysdeps/i386/fpu/libm-test-ulps: Update.
14204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14206 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14208 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14210 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14212 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14214 (denorm): Likewise.
14215 (__mp_dbl): Likewise.
14218 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14219 and adjust the header comment.
14221 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14222 variable name from declaration.
14224 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14227 Initialize COMMON_CPUID_INDEX_7 element.
14228 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14229 (CPUID_RTM): Likewise.
14230 (HAS_RTM): Likewise.
14231 (COMMON_CPUID_INDEX_7): New enum.
14233 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14236 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14237 size is zero, record memory as freed.
14239 2013-01-03 Andreas Jaeger <aj@suse.de>
14241 * po/ia.po: Add new Interlingua translation.
14243 2012-01-03 Allan McRae <allan@archlinux.org>
14245 * locale/programs/localedef.c: Fix description of '--posix' flag.
14247 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14249 * NEWS: Update dates in second copyright notice.
14250 * README: Update copyright dates in example.
14251 * manual/libc.texinfo: Update copyright dates.
14252 * scripts/test-installation.pl: Update copyright date in --version
14255 * hurd/ctty-input.c: Fix copyright notice formatting.
14256 * hurd/ctty-output.c: Likewise.
14257 * hurd/dtable.c: Likewise.
14258 * hurd/hurd-raise.c: Likewise.
14259 * hurd/hurdprio.c: Likewise.
14260 * hurd/msgportdemux.c: Likewise.
14261 * misc/sys/file.h: Likewise.
14262 * misc/sys/ioctl.h: Likewise.
14263 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14264 * sysdeps/mach/hurd/chdir.c: Likewise.
14265 * sysdeps/mach/hurd/fchdir.c: Likewise.
14266 * sysdeps/mach/hurd/rename.c: Likewise.
14267 * sysdeps/mach/hurd/rmdir.c: Likewise.
14268 * sysdeps/mach/hurd/seekdir.c: Likewise.
14269 * sysdeps/mach/hurd/setsid.c: Likewise.
14270 * sysdeps/posix/wait3.c: Likewise.
14272 * All files with FSF copyright notices: Update copyright dates
14273 using scripts/update-copyrights.
14274 * intl/plural.c: Regenerated.
14275 * locale/programs/charmap-kw.h: Likewise.
14276 * locale/programs/locfile-kw.h: Likewise.
14278 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14280 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14283 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14284 calculation loop and add branch prediction.
14286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14287 check access beyond bounds of m1np.
14289 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14291 (__inv): Remove local variable MPTWO to use the global
14293 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14294 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14296 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14297 MP3HALFS static const.
14299 2013-01-01 David S. Miller <davem@davemloft.net>
14301 * po/ca.po: Update from translation team.
14303 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14305 * scripts/update-copyrights: New file.
14306 * Makeconfig: Reformat copyright notice.
14307 * ctype/ctype.h: Likewise.
14308 * debug/swprintf_chk.c: Likewise.
14309 * elf/dl-cache.c: Likewise.
14310 * elf/dl-debug.c: Likewise.
14311 * elf/dl-object.c: Likewise.
14312 * grp/initgroups.c: Likewise.
14313 * hurd/Makefile: Likewise.
14314 * hurd/hurd/signal.h: Likewise.
14315 * hurd/hurdfault.c: Likewise.
14316 * hurd/hurdioctl.c: Likewise.
14317 * hurd/hurdlookup.c: Likewise.
14318 * hurd/intr-msg.c: Likewise.
14319 * iconv/gconv_open.c: Likewise.
14320 * libio/swprintf.c: Likewise.
14321 * locale/lc-ctype.c: Likewise.
14322 * locale/nl_langinfo.c: Likewise.
14323 * mach/Machrules: Likewise.
14324 * mach/Makefile: Likewise.
14325 * malloc/obstack.h: Likewise.
14326 * manual/Makefile: Likewise.
14327 * manual/tsort.awk: Likewise.
14328 * misc/bits/stab.def: Likewise.
14329 * nis/nis_print_group_entry.c: Likewise.
14330 * nis/nis_table.c: Likewise.
14331 * nis/nss_compat/compat-pwd.c: Likewise.
14332 * nis/nss_compat/compat-spwd.c: Likewise.
14333 * po/Makefile: Likewise.
14334 * posix/fnmatch.c: Likewise.
14335 * posix/regex.h: Likewise.
14336 * resolv/Makefile: Likewise.
14337 * resolv/nss_dns/dns-network.c: Likewise.
14338 * resolv/res_hconf.c: Likewise.
14339 * scripts/gen-sorted.awk: Likewise.
14340 * soft-fp/soft-fp.h: Likewise.
14341 * stdio-common/printf.h: Likewise.
14342 * stdlib/monetary.h: Likewise.
14343 * stdlib/random.c: Likewise.
14344 * stdlib/random_r.c: Likewise.
14345 * sysdeps/generic/Makefile: Likewise.
14346 * sysdeps/gnu/Makefile: Likewise.
14347 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14354 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14367 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14369 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14375 * sysdeps/mach/hurd/errnos.awk: Likewise.
14376 * sysdeps/mach/hurd/fork.c: Likewise.
14377 * sysdeps/mach/hurd/getcwd.c: Likewise.
14378 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14379 * sysdeps/mach/hurd/mmap.c: Likewise.
14380 * sysdeps/mach/hurd/utimes.c: Likewise.
14381 * sysdeps/mach/hurd/xmknod.c: Likewise.
14382 * sysdeps/posix/profil.c: Likewise.
14383 * sysdeps/posix/readdir_r.c: Likewise.
14384 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14385 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14386 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14387 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14389 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14390 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14391 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14393 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14394 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14395 * sysdeps/pthread/lio_listio.c: Likewise.
14396 * sysdeps/sparc/dl-procinfo.h: Likewise.
14397 * sysdeps/unix/i386/sysdep.S: Likewise.
14398 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14399 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14400 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14401 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14403 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14404 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14405 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14406 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14407 * sysdeps/wordsize-32/divdi3.c: Likewise.
14408 * time/sys/time.h: Likewise.
14409 * wcsmbs/Makefile: Likewise.
14411 2013-01-01 David S. Miller <davem@davemloft.net>
14413 * po/fr.po: Update from translation team.
14415 * catgets/gencat.c: Update copyright year.
14416 * csu/version.c: Likewise.
14417 * debug/catchsegv.sh: Likewise.
14418 * debug/pcprofiledump.c: Likewise.
14419 * debug/xtrace.sh: Likewise.
14420 * elf/ldconfig.c: Likewise.
14421 * elf/ldd.bash.in: Likewise.
14422 * elf/pldd.c: Likewise.
14423 * elf/sotruss.ksh: Likewise.
14424 * elf/sprof.c: Likewise.
14425 * iconv/iconv_prog.c: Likewise.
14426 * iconv/iconvconfig.c: Likewise.
14427 * locale/programs/locale.c: Likewise.
14428 * locale/programs/localedef.c: Likewise.
14429 * login/programs/pt_chown.c: Likewise.
14430 * malloc/memusage.sh: Likewise.
14431 * malloc/memusagestat.c: Likewise.
14432 * malloc/mtrace.pl: Likewise.
14433 * nscd/nscd.c: Likewise.
14434 * nss/getent.c: Likewise.
14435 * nss/makedb.c: Likewise.
14436 * posix/getconf.c: Likewise.
14438 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14440 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14443 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14445 * math/bits/mathcalls.h (modf): Use __nonnull.
14447 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14449 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14450 (split): Use macro CN instead of the bare value.
14451 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14454 instead of the bare value.
14455 (power1): Likewise.
14457 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14459 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14461 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14463 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14465 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14466 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14467 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14468 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14470 2012-12-28 Andreas Jaeger <aj@suse.de>
14472 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14473 values are from Linux 3.7.
14475 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14476 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14478 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14480 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14483 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14485 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14486 variables with preprocessor constants.
14487 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14488 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14489 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14491 2012-12-27 Bruno Haible <bruno@clisp.org>
14494 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14497 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14500 and use variable directly.
14501 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14503 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14505 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14508 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14509 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14510 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14511 include directive. Remove local variable MPONE.
14512 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14513 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14514 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14516 2012-12-25 David S. Miller <davem@davemloft.net>
14518 * version.h (RELEASE): Set to "development".
14519 (VERSION): Set to "2.17.90".
14520 * NEWS: Add 2.18 section.
14522 2012-12-21 David S. Miller <davem@davemloft.net>
14524 * po/hr.po: Update from translation team.
14526 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14528 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14530 2012-12-19 Steve Ellcey <sellcey@mips.com>
14532 * NEWS: Mention new memcpy for MIPS.
14534 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14536 * manual/contrib.texi (Contributors): Spelling correction.
14538 2012-12-15 David S. Miller <davem@davemloft.net>
14540 * po/ru.po: Update from translation team.
14542 2012-12-13 David S. Miller <davem@davemloft.net>
14544 * NEWS: Mention IFUNC testsuite enhancements.
14546 * po/pl.po: Update from translation team.
14547 * po/bg.po: Likewise.
14549 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14550 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14552 2012-12-11 David S. Miller <davem@davemloft.net>
14554 * po/sv.po: Update from translation team.
14556 * po/vi.po: Update from translation team.
14558 * po/cs.po: Update from translation team.
14560 * po/de.po: Update from translation team.
14561 * po/eo.po: Likewise.
14562 * po/nl.po: Likewise.
14564 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14567 * manual/argp.texi (Argp Helper Functions): Move node to follow
14568 Argp Parsing State.
14571 * manual/conf.texi (Limits on File System Capacity): Mention if
14572 terminating null is included in the max size.
14574 2012-12-10 Andreas Jaeger <aj@suse.de>
14576 * po/cs.po: Update from translation team.
14578 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14580 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14581 void pointer and cast to uintptr_t.
14582 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14584 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14585 * sysdeps/s390/s390-64/memset.S: Likewise.
14587 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14590 * menual/message.texi (Message Translation): Fix typos.
14591 (Helper programs for gettext): Likewise.
14593 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14596 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14599 2012-12-07 David S. Miller <davem@davemloft.net>
14601 * po/libc.pot: Update.
14603 2012-12-07 Richard Henderson <rth@redhat.com>
14606 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14607 normal/normal case to before the switch.
14608 (_FP_DIV): Likewise.
14610 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14611 Mike Frysinger <vapier@gentoo.org>
14613 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14614 check for __NR_fadvise64_64.
14616 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14618 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14619 0, not just to plain "0" as a statement.
14620 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14623 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14625 * NEWS: Use sourceware.org in Bugzilla URL.
14627 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14630 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14632 * stdio-common/tst-put-error.c (do_test): Add newline to the
14633 padded test to ensure flush.
14635 2012-12-05 Jeff Law <law@redhat.com>
14637 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14639 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14641 * README: Don't refer to ports add-on as distributed separately.
14642 Mention AArch64 in list of systems supported in the ports add-on.
14644 * LICENSES: Add more non-FSF copyright and license notices.
14646 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14649 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14651 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14652 10000 as width of padded output.
14654 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14656 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14658 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14659 variable LX with __attribute__ ((unused)).
14660 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14662 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14664 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14665 with __attribute__ ((unused)).
14667 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14669 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14671 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14673 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14674 (CFLAGS-nldbl-acos.c): New variable.
14675 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14676 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14677 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14678 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14679 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14680 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14681 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14682 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14683 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14684 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14685 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14686 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14687 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14688 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14689 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14690 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14691 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14692 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14693 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14694 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14695 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14696 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14697 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14698 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14699 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14700 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14701 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14702 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14703 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14704 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14705 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14706 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14707 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14708 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14709 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14710 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14711 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14712 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14713 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14714 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14715 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14716 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14717 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14718 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14719 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14720 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14721 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14722 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14723 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14724 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14725 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14726 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14727 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14728 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14729 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14730 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14731 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14732 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14733 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14734 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14735 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14736 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14737 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14738 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14739 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14740 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14741 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14742 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14743 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14744 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14745 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14746 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14747 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14748 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14749 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14750 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14751 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14752 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14753 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14754 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14755 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14756 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14757 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14758 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14759 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14760 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14761 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14762 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14763 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14764 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14765 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14766 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14767 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14768 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14769 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14770 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14771 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14774 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14778 whole low double instead of just low 47 bits when splitting values
14781 2012-12-03 Allan McRae <allan@archlinux.org>
14783 * manual/stdio.texi (Predefined Printf Handlers): Remove
14784 @hsep and @vsep usage.
14786 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14788 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14789 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14791 2012-12-03 Jeff Law <law@redhat.com>
14793 * time/sys/time.h (settimeofday): Do not mark TV argument
14796 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14798 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14799 when currently writing and seek to current position when not.
14800 * libio/Makefile (tests): Remove bug-fclose1.
14801 * libio/bug-fclose1.c: Delete.
14803 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14805 * manual/arith.texi (feenableexcept): Fix typo.
14806 (fedisableexcept): Likewise.
14808 2012-11-30 Roland McGrath <roland@hack.frob.com>
14810 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14811 second, differently-typed declaration, rather than a cast.
14813 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14815 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14816 * include/rpc/svc.h: ... here.
14818 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14821 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14822 depending n and resplen2 to catch cases where answer
14825 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14827 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14828 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14830 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14832 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14834 2012-11-29 Roland McGrath <roland@hack.frob.com>
14836 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14838 2012-11-28 Jeff Law <law@redhat.com>
14841 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14842 dataset_temporary. Track alloca usage into alloca_used.
14843 If dataset is large allocate and release it via malloc/free.
14845 2012-06-04 Florian Weimer <fweimer@redhat.com>
14848 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14850 2012-11-28 David S. Miller <davem@davemloft.net>
14852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14854 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14857 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14858 of pi/2 rounded to nearest to 64 bits.
14859 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14860 nearest to 64 bits.
14861 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14864 2012-11-28 Jeff Law <law@redhat.com>
14865 Martin Osvald <mosvald@redhat.com>
14868 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14869 * sunrpc/svc.c: Include time.h.
14870 (__svc_accept_failed): New function.
14871 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14872 any reason other than EINTR, call __svc_accept_failed.
14873 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14874 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14876 2012-11-28 Andreas Schwab <schwab@suse.de>
14878 * scripts/abilist.awk: Also handle indirect functions in .opd
14881 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14884 * sysdeps/x86/fpu/powl_helper.c: New file.
14885 * sysdeps/x86/fpu/Makefile: Likewise.
14886 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14888 (__ieee754_powl): Use __powl_helper for finite arguments except
14889 integer exponents below 8.
14890 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14892 (__ieee754_powl): Use __powl_helper for finite arguments except
14893 integer exponents below 8.
14894 * math/libm-test.inc (pow_test): Add more tests and enable some
14895 previously disabled tests.
14896 * sysdeps/i386/fpu/libm-test-ulps: Update.
14897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14899 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14900 Carlos O'Donell <carlos_odonell@mentor.com>
14902 * nss/makedb.c (is_prime): Assert that input is odd and greater
14903 than 4. Note that fact in a comment too.
14904 (next_prime): Add 4 to input.
14906 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14909 * libio/Makefile (tests): Add test case tst-fwrite-error.
14910 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14911 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14912 * libio/tst-fwrite-error.c: New test case.
14914 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14916 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14917 before casting to void *.
14918 * include/libc-internal.h (__pointer_type): New macro.
14919 (__integer_if_pointer_type_sub): Likewise.
14920 (__integer_if_pointer_type): Likewise.
14921 (cast_to_integer): Likewise.
14922 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14923 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14924 before casting to atomic64_t.
14925 (atomic_exchange_acq): Likewise.
14926 (__arch_exchange_and_add_body): Likewise.
14927 (__arch_add_body): Likewise.
14928 (atomic_add_negative): Likewise.
14929 (atomic_add_zero): Likewise.
14931 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14933 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14934 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14935 (add_fdes): Likewise.
14936 (linear_search_fdes): Likewise.
14937 (binary_search_unencoded_fdes): Likewise.
14939 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14941 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14943 2012-11-24 Adam Conrad <adconrad@0c3.net>
14945 * configure.in: Autodetect C++ header directories.
14946 * configure: Regenerated.
14948 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14950 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14952 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14956 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14958 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14959 LDBL_MANT_DIG == 106]: Disable some tests.
14960 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14962 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14966 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14967 input for small inputs. Return +/- pi/2 for large inputs.
14968 * math/libm-test.inc (atan_test): Add more tests.
14970 * sysdeps/generic/unwind-dw2-fde-glibc.c
14971 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14972 __attribute__ ((unused)).
14975 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14976 x * y if x and y are nonzero and z is zero.
14979 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14980 nonzero exponents with absolute value below 0x1p-117 to +/-
14984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14985 up arguments below 2**-450, not just those below 2**-500.
14986 * math/libm-test.inc (hypot_test): Add another test.
14989 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14990 Return a+b for ratio over 2**120, not 2**60.
14991 * math/libm-test.inc (hypot_test): Add another test.
14993 * math/libm-test.inc (clog_test): Use
14994 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14995 (clog10_test): Likewise.
14998 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15000 2012-11-22 Andreas Schwab <schwab@suse.de>
15002 * sysdeps/i386/fpu/libm-test-ulps: Update.
15004 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15006 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15007 printf output with newline.
15009 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15012 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15013 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15014 -z nodlopen, -z initfirst and -z execstack support.
15015 * configure: Regenerated.
15017 * elf/elf.h (DF_1_NODIRECT): New macro.
15018 (DF_1_IGNMULDEF): Likewise.
15019 (DF_1_NOKSYMS): Likewise.
15020 (DF_1_NOHDR): Likewise.
15021 (DF_1_EDITED): Likewise.
15022 (DF_1_NORELOC): Likewise.
15023 (DF_1_SYMINTPOSE): Likewise.
15024 (DF_1_GLOBAUDIT): Likewise.
15025 (DF_1_SINGLETON): Likewise.
15026 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15027 DT_1_SUPPORTED_MASK bits.
15028 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15030 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15032 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15034 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15036 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15039 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15040 (sendmmsg): Move declarations...
15041 * socket/sys/socket.h: ... here.
15042 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15043 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15045 * socket/recvmmsg.c: ... this new file.
15046 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15047 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15048 definition of __sendmmsg hidden.
15049 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15050 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15051 Move ENOSYS stub into and include it from...
15052 * socket/sendmmsg.c: ... this new file.
15053 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15054 (sysdep_routines): Move recvmmsg and sendmmsg...
15055 * socket/Makefile (routines): ... here.
15056 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15057 (GLIBC_PRIVATE): Add __sendmmsg.
15058 * include/sys/socket.h (__sendmmsg): Add declarations.
15059 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15062 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15064 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15065 variable I1 with __attribute__ ((unused)).
15066 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15068 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15070 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15071 DUMMY variables with __attribute__ ((unused)).
15073 * bits/byteswap.h: Include <bits/types.h>.
15074 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15076 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15078 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15079 string_t. Do not manually set errno.
15080 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15081 length with __strnlen. Make sure to both set errno and return it on
15084 2012-11-19 David S. Miller <davem@davemloft.net>
15086 With help from Joseph Myers.
15087 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15088 very large arguments properly.
15089 * math/libm-test.inc (atan_test): New tests.
15090 (atan2_test): New tests.
15091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15094 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15097 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15100 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15101 [POSIX] (EADDRNOTAVAIL): Likewise.
15102 [POSIX] (EAFNOSUPPORT): Likewise.
15103 [POSIX] (EALREADY): Likewise.
15104 [POSIX] (ECONNABORTED): Likewise.
15105 [POSIX] (ECONNREFUSED): Likewise.
15106 [POSIX] (ECONNRESET): Likewise.
15107 [POSIX] (EDESTADDRREQ): Likewise.
15108 [POSIX] (EDQUOT): Likewise.
15109 [POSIX] (EHOSTUNREACH): Likewise.
15110 [POSIX] (EIDRM): Likewise.
15111 [POSIX] (EISCONN): Likewise.
15112 [POSIX] (ELOOP): Likewise.
15113 [POSIX] (EMULTIHOP): Likewise.
15114 [POSIX] (ENETDOWN): Likewise.
15115 [POSIX] (ENETUNREACH): Likewise.
15116 [POSIX] (ENOBUFS): Likewise.
15117 [POSIX] (ENODATA): Likewise.
15118 [POSIX] (ENOLINK): Likewise.
15119 [POSIX] (ENOMSG): Likewise.
15120 [POSIX] (ENOPROTOOPT): Likewise.
15121 [POSIX] (ENOSR): Likewise.
15122 [POSIX] (ENOSTR): Likewise.
15123 [POSIX] (ENOTCONN): Likewise.
15124 [POSIX] (ENOTSOCK): Likewise.
15125 [POSIX] (EOPNOTSUPP): Likewise.
15126 [POSIX] (EOVERFLOW): Likewise.
15127 [POSIX] (EPROTO): Likewise.
15128 [POSIX] (EPROTONOSUPPORT): Likewise.
15129 [POSIX] (EPROTOTYPE): Likewise.
15130 [POSIX] (ESTALE): Likewise.
15131 [POSIX] (ETIME): Likewise.
15132 [POSIX] (ETXTBSY): Likewise.
15133 [POSIX] (EWOULDBLOCK): Likewise.
15134 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15135 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15136 [POSIX] (SEEK_CUR): Likewise.
15137 [POSIX] (SEEK_END): Likewise.
15138 [POSIX || UNIX98] (mode_t): Do not require.
15139 [POSIX] (off_t): Likewise.
15140 [POSIX] (pid_t): Likewise.
15141 [POSIX] (sys/stat.h): Do not allow header.
15142 [POSIX] (unistd.h): Likewise.
15143 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15144 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15145 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15146 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15148 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15149 sigevent): Specify elements.
15150 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15152 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15153 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15155 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15156 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15157 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15158 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15159 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15160 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15161 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15162 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15163 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15164 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15165 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15166 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15167 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15168 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15170 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15172 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15174 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15176 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15177 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15178 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15179 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15180 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15181 Specify lower bound on value.
15182 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15183 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15184 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15185 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15186 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15187 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15188 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15189 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15191 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15193 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15197 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15198 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15199 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15200 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15201 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15202 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15203 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15204 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15205 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15206 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15207 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15208 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15210 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15212 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15213 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15214 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15215 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15216 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15217 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15219 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15220 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15221 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15222 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15223 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15224 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15225 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15227 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15228 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15229 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15230 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15231 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15232 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15233 specify as optional.
15234 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15235 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15236 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15237 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15238 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15239 [XPG3] (NL_LANGMAX): Likewise.
15240 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15241 [POSIX || XPG3] (NL_NMAX): Likewise.
15242 [POSIX || XPG3] (NL_SETMAX): Likewise.
15243 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15244 [XPG3] (NZERO): Likewise.
15245 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15246 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15247 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15248 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15249 (REG_ERANGE): Expect.
15250 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15252 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15253 Use (void) in prototype.
15254 [POSIX] (*_t): Allow.
15255 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15256 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15257 (WRDE_BADVAL): Expect.
15259 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15261 [XPG3 || XPG4] (O_RSYNC): Likewise.
15262 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15264 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15265 [XPG3 || XPG4] (sigqueue): Likewise.
15266 [XPG3 || XPG4] (sigtimedwait): Likewise.
15267 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15268 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15269 [XPG3 || XPG4] (vsnprintf): Likewise.
15270 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15272 [XPG3 || XPG4] (blksize_t): Likewise.
15273 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15275 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15276 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15277 [XPG3 || XPG4] (struct itimerspec): Likewise.
15278 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15279 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15280 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15281 [XPG3 || XPG4] (clockid_t): Likewise.
15282 [XPG3 || XPG4] (timer_t): Likewise.
15283 [XPG3 || XPG4] (clock_getres): Likewise.
15284 [XPG3 || XPG4] (clock_gettime): Likewise.
15285 [XPG3 || XPG4] (clock_settime): Likewise.
15286 [XPG3 || XPG4] (nanosleep): Likewise.
15287 [XPG3 || XPG4] (timer_create): Likewise.
15288 [XPG3 || XPG4] (timer_delete): Likewise.
15289 [XPG3 || XPG4] (timer_gettime): Likewise.
15290 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15291 [XPG3 || XPG4] (timer_settime): Likewise.
15292 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15293 [XPG3 || XPG4] (getlogin_r): Likewise.
15294 [XPG3 || XPG4] (pread): Likewise.
15295 [XPG3 || XPG4] (pthread_atfork): Likewise.
15296 [XPG3 || XPG4] (pwrite): Likewise.
15299 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15302 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15304 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15305 finalizing MALLSTREAM.
15307 * sysdeps/mach/hurd/syncfs.c: New file.
15309 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15312 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15313 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15314 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15315 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15316 (_nss_dns_gethostbyname4_r): Likewise.
15317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15318 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15320 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15323 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15325 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15327 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15328 * elf/cache.c (print_entry): Print ",AArch64" for
15331 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15332 * elf/cache.c (print_entry): Print ",hard-float" for
15335 2012-11-18 David S. Miller <davem@davemloft.net>
15337 With help from Joseph Myers.
15338 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15340 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15342 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15343 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15345 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15346 * math/libm-test.inc (y0_test): New tests.
15347 (y1_test): New tests.
15348 * sysdeps/i386/fpu/libm-test-ulps: Update.
15349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15352 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15354 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15356 * configure: Regenerated.
15358 2012-11-17 David S. Miller <davem@davemloft.net>
15361 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15362 nonzero exponents with absolute value below 0x1p-128 to +/-
15365 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15367 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15369 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15371 * posix/getconf-speclist.c: New file.
15372 * posix/posix-envs.def: Likewise.
15373 * posix/confstr.c (START_ENV_GROUP): New macro.
15374 (END_ENV_GROUP): Likewise.
15375 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15376 (KNOWN_PRESENT_ENV_STRING): Likewise.
15377 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15378 (UNKNOWN_ENVIRONMENT): Likewise.
15379 (confstr): Include posix-envs.def instead of handling
15380 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15381 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15382 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15383 (END_ENV_GROUP): Likewise.
15384 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15385 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15386 (UNKNOWN_ENVIRONMENT): Likewise.
15387 (__sysconf): Include posix-envs.def instead of handling associated
15388 cases directly here.
15389 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15390 preprocessing getconf-speclist.c rather than running getconf or
15391 generating empty file.
15393 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15395 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15397 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15400 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15402 2012-11-16 David S. Miller <davem@davemloft.net>
15404 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15405 smaller than LDBL_EPSILON/2.0L, just return xm1.
15407 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15409 * elf/tst-array1.c (init): Set constructor priority to 1000.
15410 (fini): Set destructor priority to 1000.
15411 * elf/tst-array2dep.c: Likewise.
15413 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15416 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15417 (_IO_new_file_xsputn): Also return EOF if none of the input
15418 data was written when overflow failed.
15419 * libio/iopadn.c (_IO_padn): Likewise.
15420 * libio/iowpadn.c (_IO_wpadn): Likewise.
15421 * stdio-common/tst-put-error.c: Add copyright notice.
15422 (do_test): Add case for printing padded string.
15423 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15424 _IO_padn returned error.
15425 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15426 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15429 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15431 * libio/libioP.h: Add comment note that the references to C++
15432 bits are now obsolete.
15434 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15436 * math/libm-test.inc (check_complex): Use asprintf.
15438 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15440 * debug/pcprofiledump.c (print_version): Update copyright year.
15441 * malloc/memusagestat.c (print_version): Likewise.
15443 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15446 * elf/Makefile (tests): Add tst-audit8.
15447 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15448 ($(objpfx)tst-audit8.out): New target.
15449 (tst-audit8-ENV): New variable.
15450 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15451 audit if l_reloc_result is NULL.
15452 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15453 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15454 * elf/tst-audit8.c: New file.
15456 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15458 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15459 * misc/Makefile (CFLAGS-select.c): Define.
15460 * posix/Makefile (CFLAGS-pause.c): Define.
15462 2012-11-13 David S. Miller <davem@davemloft.net>
15464 * crypt/Makefile: Move test targets after toplevel Rules
15465 inclusion. Grab any necessary sysdep routines when linking.
15466 * crypt/md5.c (md5_process_block): Remove define, we will always
15467 name it __md5_process_block.
15468 (md5_finish_ctx): Update md5_process_block call.
15469 (md5_stream): Likewise.
15470 (md5_process_bytes): Likewise.
15471 (md5_process_block): Rename to __md5_process_block and move to ...
15472 * crypt/md5-block.c: ... here.
15473 * crypt/sha256.c (sha256_process_block): Move to ...
15474 * crypt/sha256-block.c: ... here.
15475 * crypt/sha512.c (sha512_process_block): Move to ...
15476 * crypt/sha512-block.c: ... here.
15477 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15479 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15480 * sysdeps/sparc/sparc64/multiarch/Makefile
15481 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15483 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15484 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15486 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15487 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15488 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15489 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15490 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15491 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15492 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15493 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15494 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15496 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15497 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15501 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15503 * timezone/tzselect.ksh: Update from tzcode git revision
15504 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15505 * timezone/zdump.c: Likewise.
15506 * timezone/zic.c: Likewise.
15507 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15508 in TZVERSION setting, not $(PKGVERSION).
15509 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15510 REPORT_BUGS_TO settings.
15513 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15516 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15518 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15519 detection to immediately after _FP_ROUND().
15520 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15523 2012-11-11 David S. Miller <davem@davemloft.net>
15525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15527 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15528 __close rather than their public counterparts.
15530 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15532 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15534 [UNIX98] (sem_timedwait): Do not expect.
15535 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15536 [XPG4 || UNIX98] (sockatmark): Do not expect.
15537 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15538 (clock_getcpuclockid): Do not expect.
15539 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15540 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15542 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15543 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15544 [UNIX98] (vwscanf): Likewise.
15545 [UNIX98] (vswscanf): Likewise.
15547 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15549 * timezone/version.h: Remove file.
15550 * timezone/README: Do not refer to version.h.
15551 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15552 $(objpfx)version.h.
15553 ($(objpfx)zdump.o): Likewise.
15554 ($(objpfx)version.h): New target.
15556 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15558 * timezone/README: Don't mention modification to tzselect.ksh.
15559 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15560 work on unmodified tzselect.ksh. Substitute version numbers in
15563 * Makefile (format-me): Remove.
15564 (INSTALL): Adjust indentation. Use commands directly instead of
15565 using $(format-me).
15567 * aclocal.m4 (ACX_PKGVERSION): New macro.
15568 (ACX_BUGURL): Likewise.
15569 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15570 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15571 (REPORT_BUGS_TO): Likewise.
15572 * configure: Regenerated.
15573 * config.h.in (PKGVERSION): New macro.
15574 (REPORT_BUGS_TO): Likewise.
15575 * config.make.in (PKGVERSION): New variable.
15576 (PKGVERSION_TEXI): Likewise.
15577 (REPORT_BUGS_TO): Likewise.
15578 (REPORT_BUGS_TEXI): Likewise.
15579 * Makefile (format-me): Use -I$(common-objpfx)manual.
15580 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15581 ($(common-objpfx)manual/%): New target.
15582 (manual/%): Remove target.
15583 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15584 (print_version): Use PKGVERSION.
15585 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15586 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15587 and REPORT_BUGS_TO.
15588 ($(objpfx)xtrace): Likewise.
15589 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15590 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15591 (print_version): Use PKGVERSION.
15592 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15593 (do_version): Use PKGVERSION.
15594 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15596 (common-ldd-rewrite): Likewise.
15597 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15598 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15599 (print_version): Use PKGVERSION.
15600 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15601 * elf/pldd.c (argp_program_bug_address): Remove variable.
15602 (more_help): New function.
15603 (argp): Use more_help.
15604 (print_version): Use PKGVERSION.
15605 * elf/sln.c (main): Use PKGVERSION.
15606 (usage): Use REPORT_BUGS_TO.
15607 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15608 (top level): Use PKGVERSION.
15609 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15610 (print_version): Use PKGVERSION.
15611 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15612 (print_version): Use PKGVERSION.
15613 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15614 (print_version): Use PKGVERSION.
15615 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15616 (print_version): Use PKGVERSION.
15617 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15618 (print_version): Use PKGVERSION.
15619 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15620 (print_version): Use PKGVERSION.
15621 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15623 ($(objpfx)memusage): Likewise.
15624 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15625 (do_version): Use PKGVERSION.
15626 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15627 (print_version): Use PKGVERSION.
15628 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15629 ($PKGVERSION): New variable.
15630 ($REPORT_BUGS_TO): Likewise.
15631 (usage): Use $REPORT_BUGS_TO.
15632 (top level): Use $PKGVERSION.
15633 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15634 ($(objpfx)pkgvers.texi): New rule.
15635 ($(objpfx)stamp-pkgvers): Likewise.
15636 * manual/install.texi: Include pkgvers.texi.
15637 (--with-pkgversion): Document new configure option.
15638 (--with-bugurl): Likewise.
15639 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15640 than necessarily for this particular distribution. Use
15641 REPORT_BUGS_TO for where to report bugs.
15642 * INSTALL: Regenerated.
15643 * manual/libc.texinfo: Include pkgvers.texi.
15644 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15645 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15646 (print_version): Use PKGVERSION.
15647 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15648 (print_version): Use PKGVERSION.
15649 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15650 (print_version): Use PKGVERSION.
15651 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15652 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15654 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15655 (print_version): Use PKGVERSION.
15656 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15657 (print_version): Use PKGVERSION.
15658 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15661 * timezone/checktab.awk: Update from tzcode 2012i.
15662 * timezone/ialloc.c: Likewise.
15663 * timezone/private.h: Likewise.
15664 * timezone/scheck.c: Likewise.
15665 * timezone/tzfile.h: Likewise.
15666 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15667 (TZVERSION): Hardcode tzcode version number.
15668 * timezone/zdump.c: Update from tzcode 2012i.
15669 * timezone/zic.c: Likewise.
15670 * timezone/version.h: New file.
15671 * timezone/README: Describe version.h. Update upstream location.
15674 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15675 (mktemp): Enable declaration.
15676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15677 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15683 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15685 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15687 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15693 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15694 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15695 for copies of such integer values.
15696 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15697 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15699 2012-11-09 Andreas Jaeger <aj@suse.de>
15701 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15702 definitions and declarations that are provided by
15703 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15705 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15707 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15708 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15709 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15712 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15714 * elf/elf.h: Update comment before AArch64 relocations.
15716 2012-11-07 David S. Miller <davem@davemloft.net>
15718 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15719 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15720 (__start_context): Declare.
15721 (__makecontext_ret): Delete.
15722 (__makecontext): Hook up __start_context instead of
15724 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15725 (sysdep_routines): Add __start_context when in stdlib.
15727 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15729 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15730 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15731 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15733 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15734 (READELF): New variable. Use it instead of hardcoded "readelf".
15736 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15738 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15739 * sysdeps/x86/Makefile: Here.
15740 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15741 * sysdeps/x86/tst-xmmymm.sh: This.
15743 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15745 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15747 [UNIX98] (pthread_barrier_t): Do not expect.
15748 [UNIX98] (pthread_barrierattr_t): Likewise.
15749 [UNIX98] (pthread_spinlock_t): Likewise.
15750 [UNIX98] (pthread_barrier_destroy): Likewise.
15751 [UNIX98] (pthread_barrier_init): Likewise.
15752 [UNIX98] (pthread_barrier_wait): Likewise.
15753 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15754 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15755 [UNIX98] (pthread_barrierattr_init): Likewise.
15756 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15757 [UNIX98] (pthread_getcpuclockid): Likewise.
15758 [UNIX98] (pthread_mutex_timedlock): Likewise.
15759 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15760 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15761 [UNIX98] (pthread_sigmask): Likewise.
15762 [UNIX98] (pthread_spin_destroy): Likewise.
15763 [UNIX98] (pthread_spin_init): Likewise.
15764 [UNIX98] (pthread_spin_lock): Likewise.
15765 [UNIX98] (pthread_spin_trylock): Likewise.
15766 [UNIX98] (pthread_spin_unlock): Likewise.
15767 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15769 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15771 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15772 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15773 [XPG3 || XPG4] (pthread_key_t): Likewise.
15774 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15775 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15776 [XPG3 || XPG4] (pthread_once_t): Likewise.
15777 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15778 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15780 [XPG3 || XPG4] (pthread_t): Likewise.
15782 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15784 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15786 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15787 Change function return type to int.
15789 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15790 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15791 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15792 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15793 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15794 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15795 [!POSIX] (posix_madvise): Likewise.
15796 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15798 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15799 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15800 (mode_t): Likewise.
15801 (posix_mem_offset): Likewise.
15802 (posix_typed_mem_get_info): Likewise.
15803 (posix_typed_mem_open): Likewise.
15805 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15806 Change condition to [XOPEN2K8].
15808 * conform/conformtest.pl: Preprocess allow-header data with -x c
15809 instead of from stdin.
15810 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15811 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15812 [C99-based standards] (cerfc): Likewise.
15813 [C99-based standards] (cexp2): Likewise.
15814 [C99-based standards] (cexpm1): Likewise.
15815 [C99-based standards] (clog10): Likewise.
15816 [C99-based standards] (clog1p): Likewise.
15817 [C99-based standards] (clog2): Likewise.
15818 [C99-based standards] (clgamma): Likewise.
15819 [C99-based standards] (ctgamma): Likewise.
15820 [C99-based standards] (cerff): Likewise.
15821 [C99-based standards] (cerfcf): Likewise.
15822 [C99-based standards] (cexp2f): Likewise.
15823 [C99-based standards] (cexpm1f): Likewise.
15824 [C99-based standards] (clog10f): Likewise.
15825 [C99-based standards] (clog1pf): Likewise.
15826 [C99-based standards] (clog2f): Likewise.
15827 [C99-based standards] (clgammaf): Likewise.
15828 [C99-based standards] (ctgammaf): Likewise.
15829 [C99-based standards] (cerfl): Likewise.
15830 [C99-based standards] (cerfcl): Likewise.
15831 [C99-based standards] (cexp2l): Likewise.
15832 [C99-based standards] (cexpm1l): Likewise.
15833 [C99-based standards] (clog10l): Likewise.
15834 [C99-based standards] (clog1pl): Likewise.
15835 [C99-based standards] (clog2l): Likewise.
15836 [C99-based standards] (clgammal): Likewise.
15837 [C99-based standards] (ctgammal): Likewise.
15838 * conform/data/inttypes.h-data [C99-based standards]: Include
15839 stdint.h-data. Remove all expectations for stdint.h contents.
15840 [C99-based standards] (PRI*): Do not allow.
15841 [C99-based standards] (SCN*): Likewise.
15842 [C99-based standards] (*_t): Likewise.
15843 [C99-based-standards] (PRId8): Expect macro.
15844 [C99-based-standards] (PRIi8): Likewise.
15845 [C99-based-standards] (PRIo8): Likewise.
15846 [C99-based-standards] (PRIu8): Likewise.
15847 [C99-based-standards] (PRIx8): Likewise.
15848 [C99-based-standards] (PRIX8): Likewise.
15849 [C99-based-standards] (SCNd8): Likewise.
15850 [C99-based-standards] (SCNi8): Likewise.
15851 [C99-based-standards] (SCNo8): Likewise.
15852 [C99-based-standards] (SCNu8): Likewise.
15853 [C99-based-standards] (SCNx8): Likewise.
15854 [C99-based-standards] (PRIdLEAST8): Likewise.
15855 [C99-based-standards] (PRIiLEAST8): Likewise.
15856 [C99-based-standards] (PRIoLEAST8): Likewise.
15857 [C99-based-standards] (PRIuLEAST8): Likewise.
15858 [C99-based-standards] (PRIxLEAST8): Likewise.
15859 [C99-based-standards] (PRIXLEAST8): Likewise.
15860 [C99-based-standards] (SCNdLEAST8): Likewise.
15861 [C99-based-standards] (SCNiLEAST8): Likewise.
15862 [C99-based-standards] (SCNoLEAST8): Likewise.
15863 [C99-based-standards] (SCNuLEAST8): Likewise.
15864 [C99-based-standards] (SCNxLEAST8): Likewise.
15865 [C99-based-standards] (PRIdFAST8): Likewise.
15866 [C99-based-standards] (PRIiFAST8): Likewise.
15867 [C99-based-standards] (PRIoFAST8): Likewise.
15868 [C99-based-standards] (PRIuFAST8): Likewise.
15869 [C99-based-standards] (PRIxFAST8): Likewise.
15870 [C99-based-standards] (PRIXFAST8): Likewise.
15871 [C99-based-standards] (SCNdFAST8): Likewise.
15872 [C99-based-standards] (SCNiFAST8): Likewise.
15873 [C99-based-standards] (SCNoFAST8): Likewise.
15874 [C99-based-standards] (SCNuFAST8): Likewise.
15875 [C99-based-standards] (SCNxFAST8): Likewise.
15876 [C99-based-standards] (PRId16): Likewise.
15877 [C99-based-standards] (PRIi16): Likewise.
15878 [C99-based-standards] (PRIo16): Likewise.
15879 [C99-based-standards] (PRIu16): Likewise.
15880 [C99-based-standards] (PRIx16): Likewise.
15881 [C99-based-standards] (PRIX16): Likewise.
15882 [C99-based-standards] (SCNd16): Likewise.
15883 [C99-based-standards] (SCNi16): Likewise.
15884 [C99-based-standards] (SCNo16): Likewise.
15885 [C99-based-standards] (SCNu16): Likewise.
15886 [C99-based-standards] (SCNx16): Likewise.
15887 [C99-based-standards] (PRIdLEAST16): Likewise.
15888 [C99-based-standards] (PRIiLEAST16): Likewise.
15889 [C99-based-standards] (PRIoLEAST16): Likewise.
15890 [C99-based-standards] (PRIuLEAST16): Likewise.
15891 [C99-based-standards] (PRIxLEAST16): Likewise.
15892 [C99-based-standards] (PRIXLEAST16): Likewise.
15893 [C99-based-standards] (SCNdLEAST16): Likewise.
15894 [C99-based-standards] (SCNiLEAST16): Likewise.
15895 [C99-based-standards] (SCNoLEAST16): Likewise.
15896 [C99-based-standards] (SCNuLEAST16): Likewise.
15897 [C99-based-standards] (SCNxLEAST16): Likewise.
15898 [C99-based-standards] (PRIdFAST16): Likewise.
15899 [C99-based-standards] (PRIiFAST16): Likewise.
15900 [C99-based-standards] (PRIoFAST16): Likewise.
15901 [C99-based-standards] (PRIuFAST16): Likewise.
15902 [C99-based-standards] (PRIxFAST16): Likewise.
15903 [C99-based-standards] (PRIXFAST16): Likewise.
15904 [C99-based-standards] (SCNdFAST16): Likewise.
15905 [C99-based-standards] (SCNiFAST16): Likewise.
15906 [C99-based-standards] (SCNoFAST16): Likewise.
15907 [C99-based-standards] (SCNuFAST16): Likewise.
15908 [C99-based-standards] (SCNxFAST16): Likewise.
15909 [C99-based-standards] (PRId32): Likewise.
15910 [C99-based-standards] (PRIi32): Likewise.
15911 [C99-based-standards] (PRIo32): Likewise.
15912 [C99-based-standards] (PRIu32): Likewise.
15913 [C99-based-standards] (PRIx32): Likewise.
15914 [C99-based-standards] (PRIX32): Likewise.
15915 [C99-based-standards] (SCNd32): Likewise.
15916 [C99-based-standards] (SCNi32): Likewise.
15917 [C99-based-standards] (SCNo32): Likewise.
15918 [C99-based-standards] (SCNu32): Likewise.
15919 [C99-based-standards] (SCNx32): Likewise.
15920 [C99-based-standards] (PRIdLEAST32): Likewise.
15921 [C99-based-standards] (PRIiLEAST32): Likewise.
15922 [C99-based-standards] (PRIoLEAST32): Likewise.
15923 [C99-based-standards] (PRIuLEAST32): Likewise.
15924 [C99-based-standards] (PRIxLEAST32): Likewise.
15925 [C99-based-standards] (PRIXLEAST32): Likewise.
15926 [C99-based-standards] (SCNdLEAST32): Likewise.
15927 [C99-based-standards] (SCNiLEAST32): Likewise.
15928 [C99-based-standards] (SCNoLEAST32): Likewise.
15929 [C99-based-standards] (SCNuLEAST32): Likewise.
15930 [C99-based-standards] (SCNxLEAST32): Likewise.
15931 [C99-based-standards] (PRIdFAST32): Likewise.
15932 [C99-based-standards] (PRIiFAST32): Likewise.
15933 [C99-based-standards] (PRIoFAST32): Likewise.
15934 [C99-based-standards] (PRIuFAST32): Likewise.
15935 [C99-based-standards] (PRIxFAST32): Likewise.
15936 [C99-based-standards] (PRIXFAST32): Likewise.
15937 [C99-based-standards] (SCNdFAST32): Likewise.
15938 [C99-based-standards] (SCNiFAST32): Likewise.
15939 [C99-based-standards] (SCNoFAST32): Likewise.
15940 [C99-based-standards] (SCNuFAST32): Likewise.
15941 [C99-based-standards] (SCNxFAST32): Likewise.
15942 [C99-based-standards] (PRId64): Likewise.
15943 [C99-based-standards] (PRIi64): Likewise.
15944 [C99-based-standards] (PRIo64): Likewise.
15945 [C99-based-standards] (PRIu64): Likewise.
15946 [C99-based-standards] (PRIx64): Likewise.
15947 [C99-based-standards] (PRIX64): Likewise.
15948 [C99-based-standards] (SCNd64): Likewise.
15949 [C99-based-standards] (SCNi64): Likewise.
15950 [C99-based-standards] (SCNo64): Likewise.
15951 [C99-based-standards] (SCNu64): Likewise.
15952 [C99-based-standards] (SCNx64): Likewise.
15953 [C99-based-standards] (PRIdLEAST64): Likewise.
15954 [C99-based-standards] (PRIiLEAST64): Likewise.
15955 [C99-based-standards] (PRIoLEAST64): Likewise.
15956 [C99-based-standards] (PRIuLEAST64): Likewise.
15957 [C99-based-standards] (PRIxLEAST64): Likewise.
15958 [C99-based-standards] (PRIXLEAST64): Likewise.
15959 [C99-based-standards] (SCNdLEAST64): Likewise.
15960 [C99-based-standards] (SCNiLEAST64): Likewise.
15961 [C99-based-standards] (SCNoLEAST64): Likewise.
15962 [C99-based-standards] (SCNuLEAST64): Likewise.
15963 [C99-based-standards] (SCNxLEAST64): Likewise.
15964 [C99-based-standards] (PRIdFAST64): Likewise.
15965 [C99-based-standards] (PRIiFAST64): Likewise.
15966 [C99-based-standards] (PRIoFAST64): Likewise.
15967 [C99-based-standards] (PRIuFAST64): Likewise.
15968 [C99-based-standards] (PRIxFAST64): Likewise.
15969 [C99-based-standards] (PRIXFAST64): Likewise.
15970 [C99-based-standards] (SCNdFAST64): Likewise.
15971 [C99-based-standards] (SCNiFAST64): Likewise.
15972 [C99-based-standards] (SCNoFAST64): Likewise.
15973 [C99-based-standards] (SCNuFAST64): Likewise.
15974 [C99-based-standards] (SCNxFAST64): Likewise.
15975 [C99-based-standards] (PRIdMAX): Likewise.
15976 [C99-based-standards] (PRIiMAX): Likewise.
15977 [C99-based-standards] (PRIoMAX): Likewise.
15978 [C99-based-standards] (PRIuMAX): Likewise.
15979 [C99-based-standards] (PRIxMAX): Likewise.
15980 [C99-based-standards] (PRIXMAX): Likewise.
15981 [C99-based-standards] (SCNdMAX): Likewise.
15982 [C99-based-standards] (SCNiMAX): Likewise.
15983 [C99-based-standards] (SCNoMAX): Likewise.
15984 [C99-based-standards] (SCNuMAX): Likewise.
15985 [C99-based-standards] (SCNxMAX): Likewise.
15986 [C99-based-standards] (PRIdPTR): Likewise.
15987 [C99-based-standards] (PRIiPTR): Likewise.
15988 [C99-based-standards] (PRIoPTR): Likewise.
15989 [C99-based-standards] (PRIuPTR): Likewise.
15990 [C99-based-standards] (PRIxPTR): Likewise.
15991 [C99-based-standards] (PRIXPTR): Likewise.
15992 [C99-based-standards] (SCNdPTR): Likewise.
15993 [C99-based-standards] (SCNiPTR): Likewise.
15994 [C99-based-standards] (SCNoPTR): Likewise.
15995 [C99-based-standards] (SCNuPTR): Likewise.
15996 [C99-based-standards] (SCNxPTR): Likewise.
15997 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15999 * conform/data/stdint.h-data: Update comments to clarify
16001 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16003 [C99-based standards] (INT8_MAX): Likewise.
16004 [C99-based standards] (INT16_MIN): Likewise.
16005 [C99-based standards] (INT16_MAX): Likewise.
16006 [C99-based standards] (INT32_MIN): Likewise.
16007 [C99-based standards] (INT32_MAX): Likewise.
16008 [C99-based standards] (INT64_MIN): Likewise.
16009 [C99-based standards] (INT64_MAX): Likewise.
16010 [C99-based standards] (UINT8_MAX): Likewise.
16011 [C99-based standards] (UINT16_MAX): Likewise.
16012 [C99-based standards] (UINT32_MAX): Likewise.
16013 [C99-based standards] (UINT64_MAX): Likewise.
16014 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16015 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16016 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16017 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16018 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16019 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16020 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16021 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16022 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16023 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16024 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16025 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16026 [C99-based standards] (INT_FAST8_MIN): Likewise.
16027 [C99-based standards] (INT_FAST8_MAX): Likewise.
16028 [C99-based standards] (INT_FAST16_MIN): Likewise.
16029 [C99-based standards] (INT_FAST16_MAX): Likewise.
16030 [C99-based standards] (INT_FAST32_MIN): Likewise.
16031 [C99-based standards] (INT_FAST32_MAX): Likewise.
16032 [C99-based standards] (INT_FAST64_MIN): Likewise.
16033 [C99-based standards] (INT_FAST64_MAX): Likewise.
16034 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16035 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16036 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16037 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16038 [C99-based standards] (INTPTR_MIN): Likewise.
16039 [C99-based standards] (INTPTR_MAX): Likewise.
16040 [C99-based standards] (UINTPTR_MAX): Likewise.
16041 [C99-based standards] (INTMAX_MIN): Likewise.
16042 [C99-based standards] (INTMAX_MAX): Likewise.
16043 [C99-based standards] (UINTMAX_MAX): Likewise.
16044 [C99-based standards] (PTRDIFF_MIN): Likewise.
16045 [C99-based standards] (PTRDIFF_MAX): Likewise.
16046 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16047 [C99-based standards] (SIZE_MAX): Likewise.
16048 [C99-based standards] (WCHAR_MAX): Likewise.
16049 [C99-based standards] (WINT_MAX): Likewise.
16050 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16051 constraint on value.
16052 [C99-based standards] (WCHAR_MIN): Likewise.
16053 [C99-based standards] (WINT_MIN): Likewise.
16054 [C99-based standards] (*_t): Allow.
16055 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16056 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16057 Include math.h-data and complex.h-data. Remove all expectations
16058 of math.h and complex.h contents.
16059 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16061 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16062 (struct tm): Expect tag.
16063 [C99-based-standards] (wcstof): Expect function.
16064 [C99-based-standards] (wcstold): Likewise.
16065 [C99-based-standards] (wcstoll): Likewise.
16066 [C99-based-standards] (wcstoull): Likewise.
16067 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16068 macro-int-constant. Specify type.
16069 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16070 constraint on value.
16071 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16073 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16075 [ISO C standards]: Do not allow headers.
16076 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16077 wcs[abcdefghijklmnopqrstuvwxyz]*.
16078 [ISO C standards] (*_t): Do not allow.
16079 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16081 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16082 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16084 [ISO C standards]: Do not allow headers.
16085 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16086 is[abcdefghijklmnopqrstuvwxyz]*.
16087 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16088 to[abcdefghijklmnopqrstuvwxyz]*.
16089 [ISO C standards] (*_t): Do not allow.
16090 * conform/data/stdalign.h-data: New file.
16091 * conform/data/stdbool.h-data: Likewise.
16092 * conform/data/stdnoreturn.h-data: Likewise.
16094 2012-11-07 Roland McGrath <roland@hack.frob.com>
16097 * manual/filesys.texi (Directory Entries): Typo fix.
16098 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16100 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16102 * elf/elf.h (EM_AARCH64): New macro.
16103 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16104 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16105 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16106 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16107 (R_AARCH64_TLSDESC): Likewise.
16108 (NT_ARM_TLS): Likewise.
16109 (NT_ARM_HW_BREAK): Likewise.
16110 (NT_ARM_HW_WATCH): Likewise.
16112 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16115 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16116 (__ieee754_powl): Saturate nonzero exponents with absolute value
16117 below 0x1p-79 to +/- 0x1p-79.
16118 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16119 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16120 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16121 nonzero exponents with absolute value below 0x1p-32 to +/-
16123 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16124 (__ieee754_powl): Saturate nonzero exponents with absolute value
16125 below 0x1p-79 to +/- 0x1p-79.
16126 * math/libm-test.inc (pow_test): Add more tests.
16128 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16130 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16131 _dl_s390_cap_flags with kernel. Increase string length.
16132 (_dl_s390_platforms): Add z196 and zEC12.
16134 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16136 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16137 Change XOPEN21K to XOPEN2K.
16139 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16141 * string/memmove.c: Use memcpy when possible.
16143 2012-11-06 Andreas Jaeger <aj@suse.de>
16145 * po/eo.po: Update from translation team.
16147 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16151 exponent and small x and y exponents, scale x or y up. Increase
16152 by 2 the exponent used in scaling up.
16153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16155 * math/libm-test.inc (fma_test): Add more tests.
16156 (fma_test_towardzero): Likewise.
16157 (fma_test_downward): Likewise.
16158 (fma_test_upward): Likewise.
16160 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16163 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16167 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16168 namespace for names of struct fields.
16169 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16171 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16172 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16174 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16177 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16179 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16181 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16185 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16188 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16192 definitely overflow as x * y not x * y + z.
16193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16195 * math/libm-test.inc (fma_test): Add more tests.
16196 (fma_test_towardzero): Likewise.
16197 (fma_test_downward): Likewise.
16198 (fma_test_upward): Likewise.
16200 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16204 * include/stub-tag.h: Remove file.
16205 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16207 * manual/maint.texi (Porting): Don't reference it.
16208 * Makerules ($(objpfx)stubs): Likewise.
16209 * dirent/closedir.c: Don't include <stub-tag.h>.
16210 * dirent/dirfd.c: Likewise.
16211 * dirent/fdopendir.c: Likewise.
16212 * dirent/getdents.c: Likewise.
16213 * dirent/getdents64.c: Likewise.
16214 * dirent/opendir.c: Likewise.
16215 * dirent/readdir.c: Likewise.
16216 * dirent/readdir64.c: Likewise.
16217 * dirent/readdir64_r.c: Likewise.
16218 * dirent/readdir_r.c: Likewise.
16219 * dirent/rewinddir.c: Likewise.
16220 * dirent/seekdir.c: Likewise.
16221 * dirent/telldir.c: Likewise.
16222 * gmon/profil.c: Likewise.
16223 * grp/setgroups.c: Likewise.
16224 * inet/if_index.c: Likewise.
16225 * io/access.c: Likewise.
16226 * io/chdir.c: Likewise.
16227 * io/chmod.c: Likewise.
16228 * io/chown.c: Likewise.
16229 * io/close.c: Likewise.
16230 * io/dup.c: Likewise.
16231 * io/dup2.c: Likewise.
16232 * io/dup3.c: Likewise.
16233 * io/euidaccess.c: Likewise.
16234 * io/faccessat.c: Likewise.
16235 * io/fchdir.c: Likewise.
16236 * io/fchmod.c: Likewise.
16237 * io/fchmodat.c: Likewise.
16238 * io/fchown.c: Likewise.
16239 * io/fchownat.c: Likewise.
16240 * io/fcntl.c: Likewise.
16241 * io/flock.c: Likewise.
16242 * io/fstatfs.c: Likewise.
16243 * io/fstatfs64.c: Likewise.
16244 * io/fstatvfs.c: Likewise.
16245 * io/fstatvfs64.c: Likewise.
16246 * io/futimens.c: Likewise.
16247 * io/fxstat.c: Likewise.
16248 * io/fxstat64.c: Likewise.
16249 * io/fxstatat.c: Likewise.
16250 * io/fxstatat64.c: Likewise.
16251 * io/getcwd.c: Likewise.
16252 * io/isatty.c: Likewise.
16253 * io/lchmod.c: Likewise.
16254 * io/lchown.c: Likewise.
16255 * io/link.c: Likewise.
16256 * io/linkat.c: Likewise.
16257 * io/lseek.c: Likewise.
16258 * io/lseek64.c: Likewise.
16259 * io/lxstat64.c: Likewise.
16260 * io/mkdir.c: Likewise.
16261 * io/mkdirat.c: Likewise.
16262 * io/mkfifo.c: Likewise.
16263 * io/mkfifoat.c: Likewise.
16264 * io/open.c: Likewise.
16265 * io/open64.c: Likewise.
16266 * io/openat.c: Likewise.
16267 * io/openat64.c: Likewise.
16268 * io/pipe.c: Likewise.
16269 * io/pipe2.c: Likewise.
16270 * io/poll.c: Likewise.
16271 * io/posix_fadvise.c: Likewise.
16272 * io/posix_fadvise64.c: Likewise.
16273 * io/posix_fallocate.c: Likewise.
16274 * io/posix_fallocate64.c: Likewise.
16275 * io/read.c: Likewise.
16276 * io/readlink.c: Likewise.
16277 * io/readlinkat.c: Likewise.
16278 * io/rmdir.c: Likewise.
16279 * io/sendfile.c: Likewise.
16280 * io/sendfile64.c: Likewise.
16281 * io/statfs.c: Likewise.
16282 * io/statfs64.c: Likewise.
16283 * io/statvfs.c: Likewise.
16284 * io/statvfs64.c: Likewise.
16285 * io/symlink.c: Likewise.
16286 * io/symlinkat.c: Likewise.
16287 * io/ttyname.c: Likewise.
16288 * io/ttyname_r.c: Likewise.
16289 * io/umask.c: Likewise.
16290 * io/unlink.c: Likewise.
16291 * io/unlinkat.c: Likewise.
16292 * io/utime.c: Likewise.
16293 * io/utimensat.c: Likewise.
16294 * io/write.c: Likewise.
16295 * io/xmknod.c: Likewise.
16296 * io/xmknodat.c: Likewise.
16297 * io/xstat.c: Likewise.
16298 * io/xstat64.c: Likewise.
16299 * login/getpt.c: Likewise.
16300 * login/grantpt.c: Likewise.
16301 * login/unlockpt.c: Likewise.
16302 * math/e_acoshl.c: Likewise.
16303 * math/e_acosl.c: Likewise.
16304 * math/e_asinl.c: Likewise.
16305 * math/e_atan2l.c: Likewise.
16306 * math/e_atanhl.c: Likewise.
16307 * math/e_coshl.c: Likewise.
16308 * math/e_expl.c: Likewise.
16309 * math/e_fmodl.c: Likewise.
16310 * math/e_gammal_r.c: Likewise.
16311 * math/e_hypotl.c: Likewise.
16312 * math/e_j0l.c: Likewise.
16313 * math/e_j1l.c: Likewise.
16314 * math/e_jnl.c: Likewise.
16315 * math/e_lgammal_r.c: Likewise.
16316 * math/e_log10l.c: Likewise.
16317 * math/e_log2l.c: Likewise.
16318 * math/e_logl.c: Likewise.
16319 * math/e_powl.c: Likewise.
16320 * math/e_rem_pio2l.c: Likewise.
16321 * math/e_sinhl.c: Likewise.
16322 * math/e_sqrtl.c: Likewise.
16323 * math/fclrexcpt.c: Likewise.
16324 * math/fedisblxcpt.c: Likewise.
16325 * math/feenablxcpt.c: Likewise.
16326 * math/fegetenv.c: Likewise.
16327 * math/fegetexcept.c: Likewise.
16328 * math/fegetround.c: Likewise.
16329 * math/feholdexcpt.c: Likewise.
16330 * math/fesetenv.c: Likewise.
16331 * math/fesetround.c: Likewise.
16332 * math/feupdateenv.c: Likewise.
16333 * math/fgetexcptflg.c: Likewise.
16334 * math/fraiseexcpt.c: Likewise.
16335 * math/fsetexcptflg.c: Likewise.
16336 * math/ftestexcept.c: Likewise.
16337 * math/k_cosl.c: Likewise.
16338 * math/k_rem_pio2l.c: Likewise.
16339 * math/k_sinl.c: Likewise.
16340 * math/k_tanl.c: Likewise.
16341 * math/s_asinhl.c: Likewise.
16342 * math/s_atanl.c: Likewise.
16343 * math/s_cbrtl.c: Likewise.
16344 * math/s_erfl.c: Likewise.
16345 * math/s_expm1l.c: Likewise.
16346 * math/s_log1pl.c: Likewise.
16347 * math/s_tanhl.c: Likewise.
16348 * misc/acct.c: Likewise.
16349 * misc/brk.c: Likewise.
16350 * misc/chflags.c: Likewise.
16351 * misc/chroot.c: Likewise.
16352 * misc/fchflags.c: Likewise.
16353 * misc/fgetxattr.c: Likewise.
16354 * misc/flistxattr.c: Likewise.
16355 * misc/fremovexattr.c: Likewise.
16356 * misc/fsetxattr.c: Likewise.
16357 * misc/fsync.c: Likewise.
16358 * misc/ftruncate.c: Likewise.
16359 * misc/futimes.c: Likewise.
16360 * misc/futimesat.c: Likewise.
16361 * misc/getdomain.c: Likewise.
16362 * misc/getdtsz.c: Likewise.
16363 * misc/gethostid.c: Likewise.
16364 * misc/gethostname.c: Likewise.
16365 * misc/getloadavg.c: Likewise.
16366 * misc/getpagesize.c: Likewise.
16367 * misc/getsysstats.c: Likewise.
16368 * misc/getxattr.c: Likewise.
16369 * misc/gtty.c: Likewise.
16370 * misc/ioctl.c: Likewise.
16371 * misc/lgetxattr.c: Likewise.
16372 * misc/listxattr.c: Likewise.
16373 * misc/llistxattr.c: Likewise.
16374 * misc/lremovexattr.c: Likewise.
16375 * misc/lsetxattr.c: Likewise.
16376 * misc/lutimes.c: Likewise.
16377 * misc/madvise.c: Likewise.
16378 * misc/mincore.c: Likewise.
16379 * misc/mlock.c: Likewise.
16380 * misc/mlockall.c: Likewise.
16381 * misc/mmap.c: Likewise.
16382 * misc/mprotect.c: Likewise.
16383 * misc/msync.c: Likewise.
16384 * misc/munlock.c: Likewise.
16385 * misc/munlockall.c: Likewise.
16386 * misc/munmap.c: Likewise.
16387 * misc/preadv.c: Likewise.
16388 * misc/preadv64.c: Likewise.
16389 * misc/ptrace.c: Likewise.
16390 * misc/pwritev.c: Likewise.
16391 * misc/pwritev64.c: Likewise.
16392 * misc/readv.c: Likewise.
16393 * misc/reboot.c: Likewise.
16394 * misc/remap_file_pages.c: Likewise.
16395 * misc/removexattr.c: Likewise.
16396 * misc/revoke.c: Likewise.
16397 * misc/select.c: Likewise.
16398 * misc/setdomain.c: Likewise.
16399 * misc/setegid.c: Likewise.
16400 * misc/seteuid.c: Likewise.
16401 * misc/sethostid.c: Likewise.
16402 * misc/sethostname.c: Likewise.
16403 * misc/setregid.c: Likewise.
16404 * misc/setreuid.c: Likewise.
16405 * misc/setxattr.c: Likewise.
16406 * misc/sstk.c: Likewise.
16407 * misc/stty.c: Likewise.
16408 * misc/swapoff.c: Likewise.
16409 * misc/swapon.c: Likewise.
16410 * misc/sync.c: Likewise.
16411 * misc/syncfs.c: Likewise.
16412 * misc/syscall.c: Likewise.
16413 * misc/truncate.c: Likewise.
16414 * misc/ualarm.c: Likewise.
16415 * misc/usleep.c: Likewise.
16416 * misc/ustat.c: Likewise.
16417 * misc/utimes.c: Likewise.
16418 * misc/vhangup.c: Likewise.
16419 * misc/writev.c: Likewise.
16420 * posix/_exit.c: Likewise.
16421 * posix/alarm.c: Likewise.
16422 * posix/execve.c: Likewise.
16423 * posix/fexecve.c: Likewise.
16424 * posix/fork.c: Likewise.
16425 * posix/fpathconf.c: Likewise.
16426 * posix/getaddrinfo.c: Likewise.
16427 * posix/getegid.c: Likewise.
16428 * posix/geteuid.c: Likewise.
16429 * posix/getgid.c: Likewise.
16430 * posix/getgroups.c: Likewise.
16431 * posix/getlogin.c: Likewise.
16432 * posix/getlogin_r.c: Likewise.
16433 * posix/getpgid.c: Likewise.
16434 * posix/getpid.c: Likewise.
16435 * posix/getppid.c: Likewise.
16436 * posix/getresgid.c: Likewise.
16437 * posix/getresuid.c: Likewise.
16438 * posix/getsid.c: Likewise.
16439 * posix/getuid.c: Likewise.
16440 * posix/glob64.c: Likewise.
16441 * posix/nanosleep.c: Likewise.
16442 * posix/pathconf.c: Likewise.
16443 * posix/pause.c: Likewise.
16444 * posix/posix_madvise.c: Likewise.
16445 * posix/pread.c: Likewise.
16446 * posix/pread64.c: Likewise.
16447 * posix/pwrite.c: Likewise.
16448 * posix/pwrite64.c: Likewise.
16449 * posix/sched_getaffinity.c: Likewise.
16450 * posix/sched_getp.c: Likewise.
16451 * posix/sched_gets.c: Likewise.
16452 * posix/sched_primax.c: Likewise.
16453 * posix/sched_primin.c: Likewise.
16454 * posix/sched_rr_gi.c: Likewise.
16455 * posix/sched_setaffinity.c: Likewise.
16456 * posix/sched_setp.c: Likewise.
16457 * posix/sched_sets.c: Likewise.
16458 * posix/sched_yield.c: Likewise.
16459 * posix/setgid.c: Likewise.
16460 * posix/setlogin.c: Likewise.
16461 * posix/setpgid.c: Likewise.
16462 * posix/setresgid.c: Likewise.
16463 * posix/setresuid.c: Likewise.
16464 * posix/setsid.c: Likewise.
16465 * posix/setuid.c: Likewise.
16466 * posix/sleep.c: Likewise.
16467 * posix/spawni.c: Likewise.
16468 * posix/sysconf.c: Likewise.
16469 * posix/times.c: Likewise.
16470 * posix/wait.c: Likewise.
16471 * posix/wait3.c: Likewise.
16472 * posix/wait4.c: Likewise.
16473 * posix/waitpid.c: Likewise.
16474 * resolv/gai_sigqueue.c: Likewise.
16475 * resource/getpriority.c: Likewise.
16476 * resource/getrlimit.c: Likewise.
16477 * resource/getrusage.c: Likewise.
16478 * resource/nice.c: Likewise.
16479 * resource/setpriority.c: Likewise.
16480 * resource/setrlimit.c: Likewise.
16481 * resource/ulimit.c: Likewise.
16482 * rt/aio_cancel.c: Likewise.
16483 * rt/aio_fsync.c: Likewise.
16484 * rt/aio_read.c: Likewise.
16485 * rt/aio_sigqueue.c: Likewise.
16486 * rt/aio_suspend.c: Likewise.
16487 * rt/aio_write.c: Likewise.
16488 * rt/clock_getres.c: Likewise.
16489 * rt/clock_gettime.c: Likewise.
16490 * rt/clock_nanosleep.c: Likewise.
16491 * rt/clock_settime.c: Likewise.
16492 * rt/lio_listio.c: Likewise.
16493 * rt/mq_close.c: Likewise.
16494 * rt/mq_getattr.c: Likewise.
16495 * rt/mq_notify.c: Likewise.
16496 * rt/mq_open.c: Likewise.
16497 * rt/mq_receive.c: Likewise.
16498 * rt/mq_send.c: Likewise.
16499 * rt/mq_setattr.c: Likewise.
16500 * rt/mq_timedreceive.c: Likewise.
16501 * rt/mq_timedsend.c: Likewise.
16502 * rt/mq_unlink.c: Likewise.
16503 * rt/shm_open.c: Likewise.
16504 * rt/shm_unlink.c: Likewise.
16505 * rt/timer_create.c: Likewise.
16506 * rt/timer_delete.c: Likewise.
16507 * rt/timer_getoverr.c: Likewise.
16508 * rt/timer_gettime.c: Likewise.
16509 * rt/timer_settime.c: Likewise.
16510 * setjmp/__longjmp.c: Likewise.
16511 * setjmp/setjmp.c: Likewise.
16512 * signal/kill.c: Likewise.
16513 * signal/killpg.c: Likewise.
16514 * signal/raise.c: Likewise.
16515 * signal/sigaction.c: Likewise.
16516 * signal/sigaltstack.c: Likewise.
16517 * signal/sigblock.c: Likewise.
16518 * signal/sigignore.c: Likewise.
16519 * signal/sigintr.c: Likewise.
16520 * signal/signal.c: Likewise.
16521 * signal/sigpause.c: Likewise.
16522 * signal/sigpending.c: Likewise.
16523 * signal/sigqueue.c: Likewise.
16524 * signal/sigreturn.c: Likewise.
16525 * signal/sigset.c: Likewise.
16526 * signal/sigsetmask.c: Likewise.
16527 * signal/sigstack.c: Likewise.
16528 * signal/sigsuspend.c: Likewise.
16529 * signal/sigtimedwait.c: Likewise.
16530 * signal/sigvec.c: Likewise.
16531 * signal/sigwait.c: Likewise.
16532 * signal/sigwaitinfo.c: Likewise.
16533 * signal/sysv_signal.c: Likewise.
16534 * socket/accept.c: Likewise.
16535 * socket/accept4.c: Likewise.
16536 * socket/bind.c: Likewise.
16537 * socket/connect.c: Likewise.
16538 * socket/getpeername.c: Likewise.
16539 * socket/getsockname.c: Likewise.
16540 * socket/getsockopt.c: Likewise.
16541 * socket/isfdtype.c: Likewise.
16542 * socket/listen.c: Likewise.
16543 * socket/recv.c: Likewise.
16544 * socket/recvfrom.c: Likewise.
16545 * socket/recvmsg.c: Likewise.
16546 * socket/send.c: Likewise.
16547 * socket/sendmsg.c: Likewise.
16548 * socket/sendto.c: Likewise.
16549 * socket/setsockopt.c: Likewise.
16550 * socket/shutdown.c: Likewise.
16551 * socket/sockatmark.c: Likewise.
16552 * socket/socket.c: Likewise.
16553 * socket/socketpair.c: Likewise.
16554 * stdio-common/ctermid.c: Likewise.
16555 * stdio-common/cuserid.c: Likewise.
16556 * stdio-common/remove.c: Likewise.
16557 * stdio-common/rename.c: Likewise.
16558 * stdio-common/renameat.c: Likewise.
16559 * stdio-common/tempname.c: Likewise.
16560 * stdlib/getcontext.c: Likewise.
16561 * stdlib/makecontext.c: Likewise.
16562 * stdlib/setcontext.c: Likewise.
16563 * stdlib/swapcontext.c: Likewise.
16564 * stdlib/system.c: Likewise.
16565 * streams/fattach.c: Likewise.
16566 * streams/fdetach.c: Likewise.
16567 * streams/getmsg.c: Likewise.
16568 * streams/getpmsg.c: Likewise.
16569 * streams/putmsg.c: Likewise.
16570 * streams/putpmsg.c: Likewise.
16571 * sysdeps/unix/bsd/getpt.c: Likewise.
16572 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16573 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16574 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16577 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16578 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16579 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16580 * sysvipc/msgctl.c: Likewise.
16581 * sysvipc/msgget.c: Likewise.
16582 * sysvipc/msgrcv.c: Likewise.
16583 * sysvipc/msgsnd.c: Likewise.
16584 * sysvipc/semctl.c: Likewise.
16585 * sysvipc/semget.c: Likewise.
16586 * sysvipc/semop.c: Likewise.
16587 * sysvipc/semtimedop.c: Likewise.
16588 * sysvipc/shmat.c: Likewise.
16589 * sysvipc/shmctl.c: Likewise.
16590 * sysvipc/shmdt.c: Likewise.
16591 * sysvipc/shmget.c: Likewise.
16592 * termios/tcdrain.c: Likewise.
16593 * termios/tcflow.c: Likewise.
16594 * termios/tcflush.c: Likewise.
16595 * termios/tcgetattr.c: Likewise.
16596 * termios/tcgetpgrp.c: Likewise.
16597 * termios/tcsendbrk.c: Likewise.
16598 * termios/tcsetattr.c: Likewise.
16599 * termios/tcsetpgrp.c: Likewise.
16600 * time/adjtime.c: Likewise.
16601 * time/clock.c: Likewise.
16602 * time/getitimer.c: Likewise.
16603 * time/gettimeofday.c: Likewise.
16604 * time/setitimer.c: Likewise.
16605 * time/settimeofday.c: Likewise.
16606 * time/stime.c: Likewise.
16607 * time/time.c: Likewise.
16609 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16611 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16614 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16616 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16618 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16622 FE_TONEAREST before applying Dekker multiplication and Knuth
16623 addition. Clear inexact exceptions and check for exact zero
16624 results afterwards.
16625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16626 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16628 * math/libm-test.inc (fma_test): Add more tests.
16629 (fma_test_towardzero): Likewise.
16630 (fma_test_downward): Likewise.
16631 (fma_test_upward): Likewise.
16632 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16634 (libc_fesetround): New macro.
16635 (libc_fesetroundf): Likewise.
16636 (libc_fesetroundl): Likewise.
16637 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16639 (libc_fesetround_387): Likewise.
16640 (libc_fesetroundf): New macro.
16641 (libc_fesetround): Likewise.
16642 (libc_fesetroundl): Likewise.
16643 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16645 (libc_fesetroundf): New macro.
16646 (libc_fesetround): Likewise.
16647 (libc_fesetroundl): Likewise.
16648 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16649 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16650 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16652 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16653 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16655 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16656 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16658 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16662 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16663 integer constant usable in #if and use that to give value to enum
16665 (FE_DIVBYZERO): Likewise.
16666 (FE_UNDERFLOW): Likewise.
16667 (FE_OVERFLOW): Likewise.
16668 (FE_INVALID): Likewise.
16669 (FE_INVALID_SNAN): Likewise.
16670 (FE_INVALID_ISI): Likewise.
16671 (FE_INVALID_IDI): Likewise.
16672 (FE_INVALID_ZDZ): Likewise.
16673 (FE_INVALID_IMZ): Likewise.
16674 (FE_INVALID_COMPARE): Likewise.
16675 (FE_INVALID_SOFTWARE): Likewise.
16676 (FE_INVALID_SQRT): Likewise.
16677 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16678 (FE_TONEAREST): Likewise.
16679 (FE_TOWARDZERO): Likewise.
16680 (FE_UPWARD): Likewise.
16681 (FE_DOWNWARD): Likewise.
16682 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16683 (FE_DIVBYZERO): Likewise.
16684 (FE_OVERFLOW): Likewise.
16685 (FE_UNDERFLOW): Likewise.
16686 (FE_INEXACT): Likewise.
16687 (FE_TONEAREST): Likewise.
16688 (FE_DOWNWARD): Likewise.
16689 (FE_UPWARD): Likewise.
16690 (FE_TOWARDZERO): Likewise.
16691 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16692 (FE_UNDERFLOW): Likewise.
16693 (FE_OVERFLOW): Likewise.
16694 (FE_DIVBYZERO): Likewise.
16695 (FE_INVALID): Likewise.
16696 (FE_TONEAREST): Likewise.
16697 (FE_TOWARDZERO): Likewise.
16698 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16699 (FE_OVERFLOW): Likewise.
16700 (FE_UNDERFLOW): Likewise.
16701 (FE_DIVBYZERO): Likewise.
16702 (FE_INEXACT): Likewise.
16703 (FE_TONEAREST): Likewise.
16704 (FE_TOWARDZERO): Likewise.
16705 (FE_UPWARD): Likewise.
16706 (FE_DOWNWARD): Likewise.
16707 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16708 (FE_DIVBYZERO): Likewise.
16709 (FE_OVERFLOW): Likewise.
16710 (FE_UNDERFLOW): Likewise.
16711 (FE_INEXACT): Likewise.
16712 (FE_TONEAREST): Likewise.
16713 (FE_DOWNWARD): Likewise.
16714 (FE_UPWARD): Likewise.
16715 (FE_TOWARDZERO): Likewise.
16717 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16719 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16721 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16723 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16724 commands. Quote $PWD.
16725 (blacklist_exports): Don't use remove_newlines. Replace "declare
16727 (remove_newlines): Remove.
16729 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16731 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16732 * stdlib/stdlib.h (atof): Moved to ...
16733 * include/bits/stdlib-float.h: Here. New file.
16734 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16735 * stdlib/bits/stdlib-float.h: New file.
16736 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16741 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16743 * conform/conformtest.pl (@headers): Add fenv.h.
16744 * conform/data/fenv.h-data: New file.
16745 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16746 include of <math/fenv.h>.
16748 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16749 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16750 && !UNIX98]. Enables tests for XOPEN2K8.
16751 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16752 POSIX2008]: Likewise.
16754 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16755 (struct rusage): Do not expect type or its members.
16758 * math/math.h (FP_NAN): Define macro to integer constant usable in
16759 #if and use that to give value to enum constant.
16760 (FP_INFINITE): Likewise.
16761 (FP_ZERO): Likewise.
16762 (FP_SUBNORMAL): Likewise.
16763 (FP_NORMAL): Likewise.
16765 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16767 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16768 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16771 2012-11-02 Roland McGrath <roland@hack.frob.com>
16773 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16774 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16775 autoconf-time if not.
16776 * configure.in: Remove AC_PREREQ.
16778 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16780 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16781 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16782 of the internal implementation.
16784 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16786 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16787 except include of <misc/sys/syslog.h>.
16789 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16792 function returns with a NULL context exit with zero.
16794 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16796 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16798 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16800 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16801 (run_program_cmd): This.
16802 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16803 (tst_langinfo): New variable. Use it.
16805 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16807 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16808 floating point opcodes.
16810 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16812 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16815 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16817 * sysdeps/mach/hurd/powerpc: Remove directory.
16818 * sysdeps/mach/powerpc: Likewise.
16820 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16822 * scripts/check-local-headers.sh: Ignore c++ headers.
16824 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16826 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16827 __libc_cleanup_region_start argument.
16829 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16834 x * y using scaling, not as x * y + z.
16835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16836 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16837 * math/libm-test.inc (fma_test): Add more tests.
16838 (fma_test_towardzero): Likewise.
16839 (fma_test_downward): Likewise.
16840 (fma_test_upward): Likewise.
16842 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16844 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16846 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16848 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16851 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16853 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16855 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16862 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16865 Fix the order of the list for glibc 2.17.
16866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16869 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16873 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16876 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16877 for low part of x being zero before using __atanl (y).
16878 * math/libm-test.inc (atan2_test): Add another test.
16880 * manual/install.texi (Configuring and compiling): Document
16881 general use of test-wrapper and test-wrapper-env.
16882 * INSTALL: Regenerated.
16884 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16885 (__fma): Do not extract and scale down low bits on after-rounding
16886 systems when result rounded to normal precision would have normal
16888 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16889 (__fmal): Do not extract and scale down low bits on after-rounding
16890 systems when result rounded to normal precision would have normal
16892 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16893 (__fmal): Do not extract and scale down low bits on after-rounding
16894 systems when result rounded to normal precision would have normal
16896 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16898 (fma_test): Add more tests.
16899 (fma_test_towardzero): Likewise.
16900 (fma_test_downward): Likewise.
16901 (fma_test_upward): Likewise.
16903 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16905 * sysdeps/i386/tininess.h: Renamed to ...
16906 * sysdeps/x86/tininess.h: This.
16907 * sysdeps/x86_64/tininess.h: Removed.
16909 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16911 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16912 input. Use $(build-program-cmd).
16913 ($(objpfx)tst-array1-static.out): Likewise.
16914 ($(objpfx)tst-array2.out): Likewise.
16915 ($(objpfx)tst-array3.out): Likewise.
16916 ($(objpfx)tst-array4.out): Likewise.
16917 ($(objpfx)tst-array5.out): Likewise.
16918 ($(objpfx)tst-array5-static.out): Likewise.
16920 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16922 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16925 * nss/nsswitch.h (nss_interface_function): Provide new
16926 macro for use with NSS functions.
16927 * grp/initgroups.c: Use new macro.
16928 * nss/getXXbyYY.c: Likewise.
16929 * nss/getXXbyYY_r.c: Likewise.
16930 * nss/getXXent.c: Likewise.
16931 * nss/getXXent_r.c: Likewise.
16932 * sysdeps/posix/getaddrinfo.c: Likewise.
16934 2012-10-30 Andreas Jaeger <aj@suse.de>
16936 * po/ru.po: Update Russion translation from translation project.
16938 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16943 result and shift together with sticky bit instead of replicating
16944 round-to-nearest rounding.
16945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16947 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16948 missing underflow exceptions.
16949 (fma_test_towardzero): Add more tests.
16950 (fma_test_downward): Likewise.
16951 (fma_test_upward): Likewise.
16954 * sysdeps/generic/tininess.h: New file.
16955 * sysdeps/i386/tininess.h: Likewise.
16956 * sysdeps/sh/tininess.h: Likewise.
16957 * sysdeps/x86_64/tininess.h: Likewise.
16958 * stdlib/tst-strtod-underflow.c: Likewise.
16959 * stdlib/tst-tininess.c: Likewise.
16960 * stdlib/strtod_l.c: Include <tininess.h>.
16961 (round_and_return): Do not set errno for exact underflow cases.
16962 Force an underflow exception when setting errno for underflow.
16963 Determine underflow based on rounding to normal precision if
16964 TININESS_AFTER_ROUNDING.
16965 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16966 ERANGE for exact underflow cases.
16967 * stdlib/Makefile (tests): Add tst-tininess and
16968 tst-strtod-underflow.
16969 ($(objpfx)tst-tininess): Use $(link-libm).
16970 ($(objpfx)tst-strtod-underflow): Likewise.
16972 2012-10-30 Andreas Jaeger <aj@suse.de>
16975 * elf/Makefile (tests): Remove conditional for have-initfini-array
16976 since this is now always required and the variable does not exist
16978 (tests-static): Likewise.
16979 (modules-names): Likewise.
16981 * po/eo.po: Add Esperanto translation from translation project.
16983 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16984 merged with constructor/destructor.
16985 (init_array): Likewise.
16986 * elf/tst-array2dep.c (fini_array): Likewise.
16987 (init_array): Likewise.
16989 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16991 * manual/message.texi: Delete @cartouche tags.
16993 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16995 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16997 * sysdeps/mach/hurd/fsync.c: Likewise.
16999 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17000 [_POSIX_REALTIME_SIGNALS]: Change condition to
17001 [_POSIX_REALTIME_SIGNALS > 0].
17003 2012-10-27 Andreas Jaeger <aj@suse.de>
17005 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17006 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17008 [__WORDSIZE != 64]: Likewise.
17010 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17012 * iconvdata/tst-table.sh: Remove ${SHELL}.
17013 * iconvdata/tst-tables.sh: Likewise.
17015 2012-10-25 David S. Miller <davem@davemloft.net>
17017 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17018 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17024 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17025 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17028 2012-10-25 Roland McGrath <roland@hack.frob.com>
17030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17031 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17034 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17035 Jim Blandy <jimb@codesourcery.com>
17037 * scripts/cross-test-ssh.sh: New file.
17038 * manual/install.texi (Configuring and compiling): Document use of
17040 * INSTALL: Regenerated.
17042 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17044 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17047 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17049 * Makeconfig (run-program-prefix): Fix comment.
17051 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17052 Jim Blandy <jimb@codesourcery.com>
17054 * Makeconfig (test-wrapper): New variable,
17055 (test-wrapper-env): Likewise.
17056 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17057 (run-built-tests): Define to yes.
17058 (run-program-prefix): Use $(test-wrapper).
17059 (built-program-cmd): Likewise.
17060 * Rules (make-test-out): Use $(test-wrapper-env) and
17061 $(host-built-program-cmd).
17062 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17063 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17065 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17066 $(test-wrapper-env) to tst-rtld-load-self.sh.
17067 ($(objpfx)order2.out): Use $(test-wrapper).
17068 ($(objpfx)tst-initorder.out): Likewise.
17069 ($(objpfx)tst-initorder2.out): Likewise.
17070 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17071 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17072 (test_wrapper_env): New variable. Use it to run ld.so.
17073 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17074 Use it to run ld.so.
17075 (test_wrapper_env): Likewise.
17076 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17077 $(test-wrapper) to run-iconv-test.sh.
17078 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17079 (ICONV): Use $test_wrapper.
17080 * posix/Makefile ($(objpfx)globtest.out): Pass
17081 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17082 globtest.sh, not $(run-program-prefix).
17083 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17084 (test_wrapper): Likewise.
17085 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17086 set together with run_via_rtld_prefix.
17087 (run_program_prefix): Define in terms of test_wrapper and
17088 run_via_rtld_prefix.
17090 2012-10-24 Roland McGrath <roland@hack.frob.com>
17092 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17093 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17097 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17098 Declare __clock_getres, __clock_gettime, __clock_settime,
17099 __clock_nanosleep, and __clock_getcpuclockid.
17100 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17101 Remove librt_hidden_def (clock_gettime).
17102 * sysdeps/unix/clock_gettime.c: Likewise.
17103 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17105 * rt/clock_getres.c: Define __clock_getres as an alias.
17106 * sysdeps/posix/clock_getres.c: Likewise.
17107 * rt/clock_settime.c: Define __clock_settime as an alias.
17108 * sysdeps/unix/clock_settime.c: Likewise.
17109 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17110 * sysdeps/unix/clock_nanosleep.c: Likewise.
17111 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17112 * rt/clock-compat.c: New file.
17113 * rt/Makefile (librt-routines): Add clock-compat and move
17114 $(clock-routines) to ...
17115 (routines): ... here, new variable.
17116 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17117 Don't add get_clockfreq here.
17118 * rt/Versions (libc: GLIBC_2.17): New version set.
17119 Add clock_* symbols here.
17120 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17121 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17122 (GLIBC_2.17): Add clock_* symbols.
17123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17134 * NEWS: Mention the move.
17136 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17137 Use __open, __read, __close rather than their public counterparts.
17138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17139 (__get_clockfreq_via_cpuinfo): Likewise.
17140 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17141 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17143 * config.h.in (HAVE_IFUNC): New #undef.
17144 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17146 * configure: Regenerated.
17148 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17150 * configure.in: Move READELF check to start of file.
17151 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17152 libc_cv_asm_gnu_indirect_function in the process.
17153 * configure: Regenerated.
17155 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17157 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17158 send the output to /dev/null.
17159 (libc_cv_cc_with_libunwind): Likewise.
17160 (libc_cv_as_noexecstack): Likewise.
17161 * configure: Regenerate.
17163 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17165 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17167 * posix/globtest.sh (TMPDIR): Do not set.
17168 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17169 (testout): Likewise.
17171 2012-10-24 Andreas Jaeger <aj@suse.de>
17173 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17174 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17175 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17176 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17177 posix_fadvise64, posix_fallocate64.
17179 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17180 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17181 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17183 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17185 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17188 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17189 <bits/fcntl-linux.h>.
17190 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17193 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17194 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17195 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17196 [__WORDSIZE != 64]: Likewise.
17198 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17200 * Makeconfig (run-built-tests): New variable.
17201 * Rules [$(cross-compiling) = yes]: Change condition to
17202 [$(run-built-tests) = no].
17203 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17204 to [$(run-built-tests) = yes].
17205 * elf/Makefile [$(cross-compiling) = no]: Likewise
17206 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17207 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17208 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17209 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17210 * io/Makefile [$(cross-compiling) = no]: Likewise.
17211 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17212 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17213 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17214 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17215 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17216 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17217 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17218 * string/Makefile [$(cross-compiling) = no]: Likewise.
17220 * posix/Makefile ($(objpfx)globtest.out): Pass
17221 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17222 $(rtld-installed-name).
17223 * posix/globtest.sh (elf_objpfx): Remove variable.
17224 (rtld_installed_name): Likewise.
17225 (library_path): Likewise.
17226 (run_program_prefix): New variable. Use for running globtest
17229 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17230 Joseph Myers <joseph@codesourcery.com>
17232 * Makeconfig (host-built-program-cmd): New variable.
17233 * elf/Makefile (tst-stackguard1-ARGS): Use
17234 $(host-built-program-cmd).
17235 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17236 (tst-spawn-ARGS): Likewise.
17237 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17239 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17240 Jim Blandy <jimb@codesourcery.com>
17242 * Makeconfig (run-via-rtld-prefix): New variable.
17243 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17244 (built-program-cmd): Likewise.
17246 2012-10-22 Andreas Jaeger <aj@suse.de>
17248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17249 __O_RSYNC if it exists, otherwise to O_SYNC.
17251 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17252 Joseph Myers <joseph@codesourcery.com>
17254 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17256 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17258 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17261 2012-10-22 Andreas Jaeger <aj@suse.de>
17263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17268 bits/fcntl-linux.h.
17270 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17271 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17278 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17279 Joseph Myers <joseph@codesourcery.com>
17281 * config.make.in (NM): New variable.
17283 2012-10-21 Andreas Jaeger <aj@suse.de>
17285 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17286 definitions and declarations that are provided by
17287 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17289 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17292 * elf/Makefile (tests-static): Add tst-leaks1-static.
17293 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17294 ($(objpfx)tst-leaks1-static): New rule.
17295 ($(objpfx)tst-leaks1-static-mem): Likewise.
17296 (tst-leaks1-static-ENV): New macro.
17297 * elf/dl-open.c (dl_open_worker): Check the main application
17298 only if SHARED is defined.
17299 * elf/tst-leaks1-static.c: New file.
17301 2012-10-20 Andreas Jaeger <aj@suse.de>
17303 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17304 generic values for Linux.
17305 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17306 and declarations that are provided by <bits/fcntl-linux.h> and
17307 include <bits/fcntl-linux.h>.
17308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17311 2012-10-20 Roland McGrath <roland@hack.frob.com>
17313 * io/fcntl.h: Move include of <bits/types.h> to the top and
17314 include it unconditionally.
17316 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17318 * wcsmbs/Makefile (tests-ifunc): New variable.
17319 (tests): Add $(tests-ifunc).
17320 * wcsmbs/test-wcschr-ifunc.c: New file.
17321 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17322 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17323 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17324 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17325 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17327 * string/Makefile (tests-ifunc): New variable.
17328 (tests): Add $(tests-ifunc).
17329 * string/test-memccpy.c (TEST_NAME): New macro.
17330 * string/test-memchr.c (TEST_NAME): Likewise.
17331 * string/test-memcmp.c (TEST_NAME): Likewise.
17332 * string/test-memcpy.c (TEST_NAME): Likewise.
17333 * string/test-memmem.c (TEST_NAME): Likewise.
17334 * string/test-memmove.c (TEST_NAME): Likewise.
17335 * string/test-memset.c (TEST_NAME): Likewise.
17336 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17337 * string/test-stpcpy.c (TEST_NAME): Likewise.
17338 * string/test-stpncpy.c (TEST_NAME): Likewise.
17339 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17340 * string/test-strcasestr.c (TEST_NAME): Likewise.
17341 * string/test-strcat.c (TEST_NAME): Likewise.
17342 * string/test-strchr.c (TEST_NAME): Likewise.
17343 * string/test-strcmp.c(TEST_NAME): Likewise.
17344 * string/test-strcpy.c (TEST_NAME): Likewise.
17345 * string/test-strcspn.c (TEST_NAME): Likewise.
17346 * string/test-strlen.c (TEST_NAME): Likewise.
17347 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17348 * string/test-strncmp.c (TEST_NAME): Likewise.
17349 * string/test-strncpy.c (TEST_NAME): Likewise.
17350 * string/test-strnlen.c (TEST_NAME): Likewise.
17351 * string/test-strpbrk.c (TEST_NAME): Likewise.
17352 * string/test-strrchr.c (TEST_NAME): Likewise.
17353 * string/test-strspn.c (TEST_NAME): Likewise.
17354 * string/test-strstr.c (TEST_NAME): Likewise.
17355 * string/test-bcopy-ifunc.c: New file.
17356 * string/test-bzero-ifunc.c: Likewise.
17357 * string/test-memccpy-ifunc.c: Likewise.
17358 * string/test-memchr-ifunc.c: Likewise.
17359 * string/test-memcmp-ifunc.c: Likewise.
17360 * string/test-memcpy-ifunc.c: Likewise.
17361 * string/test-memmem-ifunc.c: Likewise.
17362 * string/test-memmove-ifunc.c: Likewise.
17363 * string/test-mempcpy-ifunc.c: Likewise.
17364 * string/test-memset-ifunc.c: Likewise.
17365 * string/test-rawmemchr-ifunc.c: Likewise.
17366 * string/test-stpcpy-ifunc.c: Likewise.
17367 * string/test-stpncpy-ifunc.c: Likewise.
17368 * string/test-strcasecmp-ifunc.c: Likewise.
17369 * string/test-strcasestr-ifunc.c: Likewise.
17370 * string/test-strcat-ifunc.c: Likewise.
17371 * string/test-strchr-ifunc.c: Likewise.
17372 * string/test-strchrnul-ifunc.c: Likewise.
17373 * string/test-strcmp-ifunc.c: Likewise.
17374 * string/test-strcpy-ifunc.c: Likewise.
17375 * string/test-strcspn-ifunc.c: Likewise.
17376 * string/test-strlen-ifunc.c: Likewise.
17377 * string/test-strncasecmp-ifunc.c: Likewise.
17378 * string/test-strncat-ifunc.c: Likewise.
17379 * string/test-strncmp-ifunc.c: Likewise.
17380 * string/test-strncpy-ifunc.c: Likewise.
17381 * string/test-strnlen-ifunc.c: Likewise.
17382 * string/test-strpbrk-ifunc.c: Likewise.
17383 * string/test-strrchr-ifunc.c: Likewise.
17384 * string/test-strspn-ifunc.c: Likewise.
17385 * string/test-strstr-ifunc.c: Likewise.
17387 * debug/Makefile (tests-ifunc): New variable.
17388 (tests): Add $(tests-ifunc).
17389 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17390 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17391 * debug/test-stpcpy_chk-ifunc.c: New file.
17392 * debug/test-strcpy_chk-ifunc.c: Likewise.
17394 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17397 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17398 header is not read in.
17400 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17402 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17403 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17404 directly. Pass built executable to script as
17405 $(built-program-cmd).
17406 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17407 $testprogram without using LD_LIBRARY_PATH and $ldso.
17409 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17410 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17411 $(rtld-installed-name).
17412 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17413 (rtld_installed_name): Likewise.
17414 (library_path): Likewise.
17415 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17416 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17417 $(run-program-prefix) to tst-tables.sh.
17418 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17419 it to run tst-table-from and tst-table-to.
17420 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17421 Pass it to tst-table.sh.
17422 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17423 $(run-program-prefix) to tst-gettext.sh.
17424 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17426 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17428 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17429 to run tst-gettext.
17430 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17431 to run tst-gettext2.
17432 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17433 to run tst-translit.
17434 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17435 $(run-program-prefix) to tst-mtrace.sh.
17436 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17438 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17439 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17440 $(rtld-installed-name).
17441 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17442 (rtld_installed_name): Likewise.
17443 (run_program_prefix): New variable. Use it to run wordexp-test.
17445 * Makeconfig (ARCH): Remove all definitions.
17446 (machine): Likewise.
17447 [ARCH]: Remove conditional code.
17448 [!objdir]: Give error.
17449 [!objdir] (objpfx): Remove.
17450 [!objdir] (common-objpfx): Likewise.
17451 [!objdir] (common-objdir): Likewise.
17452 * configure.in (config_makefile): Remove. Hardcode Makefile in
17453 AC_CONFIG_FILES call.
17454 * configure: Regenerated.
17457 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17459 (testout): Likewise.
17461 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17462 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17463 $(rtld-installed-name).
17464 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17465 (rtld_installed_name): Likwise.
17466 (runit): Remove function.
17467 (run_getconf): New variable, Use it for running getconf binary.
17469 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17472 * string/test-memmem.c (check_result): New function.
17473 (do_one_test): Use it.
17474 (check1): New function.
17475 (test_main): Use it.
17477 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17479 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17481 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17483 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17484 (_G_LSEEK64): Likewise.
17485 (_G_MMAP64): Likewise.
17486 (_G_FSTAT64): Likewise.
17487 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17488 (_G_LSEEK64): Likewise.
17489 (_G_MMAP64): Likewise.
17490 (_G_FSTAT64): Likewise.
17491 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17492 unconditional. Call __mmap64 directly.
17493 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17494 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17495 __lseek64 directly.
17496 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17497 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17499 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17500 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17501 __lseek64 directly.
17502 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17503 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17504 __lseek64 directly.
17505 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17506 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17507 __lseek64 directly.
17508 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17509 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17510 __fxstat64 directly.
17511 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17512 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17514 (freopen64) [!_G_OPEN64]: Remove conditional code.
17515 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17517 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17518 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17520 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17521 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17523 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17524 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17526 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17527 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17529 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17530 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17532 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17533 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17535 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17537 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17540 * manual/memory.texi (Malloc Tunable Parameters): Add note
17541 about free list pointers overwriting some perturb bytes.
17542 Wording suggested by Roland McGrath.
17544 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17546 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17547 (lgamma_test): Likewise.
17548 (tgamma_test): Likewise.
17550 2012-10-16 Florian Weimer <fweimer@redhat.com>
17553 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17554 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17556 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17558 * NEWS: Mention BZ #14716.
17559 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17560 when removing AVAILABLE1_USES_J macro.
17562 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17564 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17565 (__bswap_64): __uint64_t for unsigned 64-bit int.
17567 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17569 * include/string.h (memmem): Declare libc hidden alias.
17570 * string/memmem.c (memmem): Define libc hidden alias.
17571 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17572 __read, __close instead of open, read, close.
17574 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17577 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17579 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17580 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17581 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17583 (__rawmemchr_sse2): Likewise.
17584 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17585 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17586 (__strchr_sse2): Likewise.
17587 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17588 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17589 (__strcasecmp_sse2): Likewise.
17590 (__strncasecmp_sse2): Likewise.
17591 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17592 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17593 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17594 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17595 (__strrchr_sse2): Likewise.
17596 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17598 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17599 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17600 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17601 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17602 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17603 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17604 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17605 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17606 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17607 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17608 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17609 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17610 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17611 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17612 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17613 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17614 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17615 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17616 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17617 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17618 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17619 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17620 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17621 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17622 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17623 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17624 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17625 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17626 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17627 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17629 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17631 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17632 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17633 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17634 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17636 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17638 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17639 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17640 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17641 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17643 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17644 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17645 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17646 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17647 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17648 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17649 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17650 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17651 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17652 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17653 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17654 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17655 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17656 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17657 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17658 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17659 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17660 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17661 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17662 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17663 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17664 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17665 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17666 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17667 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17668 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17669 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17670 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17671 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17672 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17673 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17674 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17675 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17676 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17677 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17678 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17679 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17680 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17681 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17682 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17683 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17685 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17686 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17687 * include/ifunc-impl-list.h: New file.
17688 * misc/ifunc-impl-list.c: Likewise.
17689 * misc/Makefile (routines): Add ifunc-impl-list.
17690 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17691 * string/test-string.h: Include <ifunc-impl-list.h>.
17692 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17693 impl_array): New variables.
17694 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17696 (test_init): Call __libc_ifunc_impl_list to initialize
17697 func_list if TEST_IFUNC and TEST_NAME are defined.
17699 * string/Makefile (strop-tests): Add bcopy and bzero.
17700 * string/test-bcopy.c: New file.
17701 * string/test-bzero.c: Likewise.
17702 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17704 * string/test-memset.c: Support bzero test if TEST_BZERO is
17706 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17708 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17710 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17713 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17715 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17716 * configure: Regenerated.
17718 * Makeconfig (+link-static-before-libc): Don't include
17719 $(link-static-libc).
17721 * libio/libio.h (_IO_pos_t): Remove.
17723 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17725 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17728 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17730 * crypt/crypt-entry.c: Include fips-private.h.
17731 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17732 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17733 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17734 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17736 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17738 * crypt/crypt-private.h: Include stdbool.h.
17739 (_ufc_setup_salt_r): Return bool.
17740 * crypt/crypt-entry.c: Include errno.h.
17741 (__crypt_r): Return NULL with EINVAL for bad salt.
17742 * crypt/crypt_util.c (bad_for_salt): New.
17743 (_ufc_setup_salt_r): Check that salt is long enough and within
17744 the specified alphabet.
17745 * crypt/badsalttest.c: New file.
17746 * crypt/Makefile (tests): Add it.
17747 ($(objpfx)badsalttest): New.
17749 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17751 * NEWS: Add entry for BZ #14602.
17753 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17755 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17757 * math/libm-test.inc: Update comment listing what functions and
17759 (isgreater_test): New function.
17760 (isgreaterequal_test): Likewise.
17761 (isless_test): Likewise.
17762 (islessequal_test): Likewise.
17763 (islessgreater_test): Likewise.
17764 (isunordered_test): Likewise.
17765 (main): Call the new functions.
17767 2012-10-09 Roland McGrath <roland@hack.frob.com>
17769 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17770 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17771 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17772 * sysdeps/i386/configure: Regenerated.
17773 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17774 * sysdeps/mach/configure: Regenerated.
17775 * sysdeps/mach/hurd/configure: Regenerated.
17776 * sysdeps/powerpc/configure: Regenerated.
17777 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17778 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17779 * sysdeps/s390/s390-32/configure: Regenerated.
17780 * sysdeps/s390/s390-64/configure: Regenerated.
17781 * sysdeps/sh/configure: Regenerated.
17782 * sysdeps/sparc/configure: Regenerated.
17783 * sysdeps/unix/sysv/linux/configure: Regenerated.
17784 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17785 * sysdeps/x86_64/configure: Regenerated.
17787 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17788 defined. Don't check if MAP is NULL.
17790 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17792 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17793 (_G_stat64): Likewise.
17794 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17795 (_G_stat64): Likewise.
17796 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17797 instead of struct _G_stat64.
17798 * libio/fileops.c (mmap_remap_check): Likewise.
17799 (decide_maybe_mmap): Likewise.
17800 (_IO_new_file_seekoff): Likewise.
17801 (_IO_file_stat): Likewise.
17802 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17804 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17805 instead of struct _G_stat64.
17806 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17808 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17811 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17813 (CHECK_EOL): New macro.
17814 (two_way_short_needle): Check beginning of haystack for EOL. Use
17816 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17817 Replace with CHECK_EOL.
17818 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17819 Replace with CHECK_EOL.
17821 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17823 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17825 * math/libm-test.inc: Update comment listing what functions and
17827 (finite_test): New function.
17828 (isinf_test): Likewise.
17829 (isnan_test): Likewise.
17830 (fpclassify_test): Test subnormal input.
17831 (isfinite_test): Likewise.
17832 (isnormal_test): Likewise.
17833 (main): Call the new functions.
17835 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17838 * Makerules (%.dynsym): Force C locale when running
17839 $(OBJDUMP) --dynamic-syms.
17841 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17843 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17846 2012-10-06 David S. Miller <davem@davemloft.net>
17848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17849 upper 32-bits of the length value in %o2 since we use branch-on-register
17850 tests which consider the entire 64-bit register.
17852 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17854 * string/test-strstr.c (check2): Add a test for page boundary.
17856 2012-10-05 David S. Miller <davem@davemloft.net>
17858 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17859 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17861 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17864 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17865 and bzero when HWCAP_SPARC_CRYPTO is present.
17867 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17870 * string/test-strstr.c (check2): New function.
17871 (test_main): Call check2.
17873 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17875 * string/bug-strcasestr1.c (do_test): Moved to ...
17876 * string/test-strcasestr.c (check1): Here. New function.
17877 (do_one_test): Break out result checking code into ...
17878 (check_result): This. New function.
17879 (do_one_test): Call check_result.
17880 (test_main): Call check1.
17881 * string/bug-strchr1.c (do_test): Moved to ...
17882 * string/test-strchr.c (check1): Here. New function.
17883 (do_one_test): Break out result checking code into ...
17884 (check_result): This. New function.
17885 (do_one_test): Call check_result.
17886 (test_main): Call check1.
17887 * string/bug-strstr1.c (main): Moved to ...
17888 * string/test-strstr.c (check1): Here. New function.
17889 (do_one_test): Break out result checking code into ...
17890 (check_result): This. New function.
17891 (do_one_test): Call check_result.
17892 (test_main): Call check1.
17893 * string/bug-strcasestr1.c: Removed.
17894 * string/bug-strchr1.c: Likewise.
17895 * string/bug-strstr1.c: Likewise.
17897 * elf/Makefile (dl-routines): Add hwcaps.
17898 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17899 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17900 (_dl_important_hwcaps): Moved to ...
17901 * elf/dl-hwcaps.c: Here. New file.
17902 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17905 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17906 if IS_IN_rtld isn't defined.
17908 * elf/dl-support.c (_dl_sysinfo_map): New.
17909 Include "get-dynamic-info.h" and "setup-vdso.h".
17910 (_dl_non_dynamic_init): Call setup_vdso.
17911 * elf/dynamic-link.h: Don't include <assert.h>.
17912 (elf_get_dynamic_info): Moved to ...
17913 * elf/get-dynamic-info.h: Here. New file.
17914 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17915 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17916 * elf/setup-vdso.h: Here. New file.
17917 * elf/rtld.c: Include "setup-vdso.h".
17918 (dl_main): Call setup_vdso.
17920 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17922 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17923 creal in comment listing functions tested. List finite, isinf,
17924 isnan, isless, islessequal, isgreater, isgreaterequal,
17925 islessgreater, isunordered, lgamma_r and pow10 as functions and
17926 macros not tested. Mention which functions not tested are aliases
17927 for other functions. Fix typo. Note that signs of NaNs are not
17930 * scripts/config.guess: Update from config.git.
17931 * scripts/config.sub: Likewise.
17933 2012-10-04 Roland McGrath <roland@hack.frob.com>
17935 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17936 * misc/madvise.c (madvise): Renamed to __madvise.
17937 Make madvise a weak alias.
17938 * include/sys/mman.h: Declare __madvise.
17939 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17940 * sysdeps/unix/syscalls.list
17941 (madvise): Make __madvise the strong name, and madvise a weak alias.
17942 * sysdeps/unix/sysv/linux/syscalls.list
17943 (madvise, mmap): Remove redundant entries.
17944 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17945 * malloc/malloc.c (mtrim): Likewise.
17946 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17948 2012-10-03 Roland McGrath <roland@hack.frob.com>
17950 * sysdeps/mach/hurd/dl-cache.c: File removed.
17951 * config.h.in (USE_LDCONFIG): New #undef.
17952 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17953 * configure: Regenerated.
17954 * elf/Makefile (dl-routines): Add dl-cache only under
17955 [$(use-ldconfig) = yes].
17956 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17957 cache on [USE_LDCONFIG].
17958 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17960 * elf/rtld.c (dl_main): Likewise.
17962 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17964 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17965 _SC_LEVEL4_CACHE_LINESIZE.
17967 2012-10-03 Roland McGrath <roland@hack.frob.com>
17969 * sysdeps/unix/bsd/confstr.h: File removed.
17971 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17973 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17976 2012-10-02 Roland McGrath <roland@hack.frob.com>
17978 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17979 Make 'mapoff' field ElfW(Off) rather than off_t.
17981 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17983 * nscd/Makefile: Remove nscd-cflags and all its users.
17984 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17985 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17988 * malloc.c (malloc_printerr): Clarify error message.
17990 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17994 Set bit_FMA_Usable if FMA is supported.
17995 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17997 (bit_FMA4_Usable): Updated.
17998 (index_FMA_Usable): New macro.
17999 (CPUID_FMA): Likewise
18000 (HAS_FMA): Defined with bit_FMA_Usable.
18002 2012-10-01 Roland McGrath <roland@hack.frob.com>
18004 * bits/types.h (__swblk_t): Type removed.
18005 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18006 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18008 (__SWBLK_T_TYPE): Likewise.
18009 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18010 (__SWBLK_T_TYPE): Likewise.
18011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18012 (__SWBLK_T_TYPE): Likewise.
18013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18014 (__SWBLK_T_TYPE): Likewise.
18016 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18017 Honza Horak <hhorak@redhat.com>
18019 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18020 (xdr_mapname): Use YPMAXMAP as maxsize.
18021 (xdr_peername): Use YPMAXPEER as maxsize.
18022 (xdr_keydat): Use YPAXRECORD as maxsize.
18023 (xdr_valdat): Use YPMAXRECORD as maxsize.
18025 2012-10-01 Roland McGrath <roland@hack.frob.com>
18027 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18029 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18030 * csu/init-first.c: ... here.
18031 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18032 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18033 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18034 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18035 * sysdeps/i386/init-first.c: File removed.
18036 * sysdeps/sh/init-first.c: File removed.
18038 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18042 if x * y might underflow to zero and z is zero.
18043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18045 * math/libm-test.inc (min_subnorm_value): New variable.
18046 (fma_test): Add more tests.
18047 (fma_test_towardzero): Likewise.
18048 (fma_test_downward): Likewise
18049 (fma_test_upward): Likewise.
18050 (initialize): Set min_subnorm_value.
18052 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18057 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18058 mode for addition resulting in exact zero.
18059 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18063 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18064 * math/libm-test.inc (fma_test): Add more tests.
18065 (fma_test_towardzero): New function.
18066 (fma_test_downward): Likewise.
18067 (fma_test_upward): Likewise.
18068 (main): Call the new functions.
18070 2012-09-28 David S. Miller <davem@davemloft.net>
18072 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18074 2012-09-28 Roland McGrath <roland@hack.frob.com>
18076 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18077 instead of SIGALRM.
18079 * sysdeps/gnu/_G_config.h: Moved to ...
18080 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18081 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18082 * sysdeps/generic/_G_config.h: ... here.
18084 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18086 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18088 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18089 Conditionalize target on [libnss_test1.so-version].
18091 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18093 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18094 (elfobjdir): Move out of conditionals.
18096 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18097 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18098 (__nss_lookup_function): Conditionalize label remove_from_tree on
18099 [!DO_STATIC_NSS || SHARED], matching its only use.
18101 2012-09-28 David S. Miller <davem@davemloft.net>
18103 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18104 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18106 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18108 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18110 when HWCAP_SPARC_CRYPTO is present.
18112 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18114 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18116 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18119 * stdio-common/vfprintf.c (process_string_arg): Revert
18122 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18124 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18126 * stdio-common/tst-sprintf.c: Include <locale.h>
18127 (main): Test sprintf's handling of incomplete multibyte
18130 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18132 * elf/dl-runtime.c (VERSYMIDX): Removed.
18133 * elf/dl-version.c (VERSYMIDX): Likewise.
18134 * elf/do-rel.h (VERSYMIDX): Likewise.
18135 (VALIDX): Likewise.
18136 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18137 * elf/rtld.c (VALIDX): Likewise.
18138 (ADDRIDX): Likewise.
18139 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18140 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18141 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18142 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18143 (VALIDX): Likewise.
18144 (ADDRIDX): Likewise.
18146 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18148 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18150 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18153 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18155 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18156 addresses are in the same scope as 192.0.2/24.
18157 * posix/gai.conf: Document new scope table defaults.
18159 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18162 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18163 for ftell. Compute offsets from write pointers instead.
18164 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18166 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18169 * libio/Makefile (tests): New test case tst-fseek.
18170 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18171 combination works in wide mode.
18172 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18173 state when the external buffer state changes.
18175 2012-09-27 David S. Miller <davem@davemloft.net>
18178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18179 pass reloc->r_addend in as the 'high' argument to
18180 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18184 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18186 * rt/tst-aio2.c: Include <pthread.h>.
18187 * rt/tst-aio3.c: Likewise.
18189 2012-09-27 Steve Ellcey <sellcey@mips.com>
18191 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18193 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18195 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18196 contents on [SHARED].
18198 2012-09-26 Marek Polacek <polacek@redhat.com>
18202 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18203 for C++ and GCC <4.3 as well as for non GCC compilers.
18205 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18209 2012-09-25 Roland McGrath <roland@hack.frob.com>
18211 * Makefile.in (all, install): Declare with .PHONY.
18212 Reported by Michael Hope <michael.hope@linaro.org>.
18214 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18216 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18217 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18219 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18221 (sydep_routines): Add the new and the internal functions.
18222 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18223 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18225 (GLIBC_2.17): Add the new function.
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18227 (GLIBC_2.17): Likewise.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18229 (GLIBC_2.17): Likewise.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18231 (GLIBC_2.17): Likewise.
18232 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18234 2012-09-25 Alan Modra <amodra@gmail.com>
18236 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18237 Add release barrier before setting once_control to say
18238 initialisation is done. Add hints on lwarx. Use macro in
18240 (clear_once_control): Add release barrier.
18242 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18245 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18247 * math/s_clog10.c (__clog10): Likewise.
18248 * math/s_clog10f.c (__clog10f): Likewise.
18249 * math/s_clog10l.c (__clog10l): Likewise.
18250 * math/s_clogf.c (__clogf): Likewise.
18251 * math/s_clogl.c (__clogl): Likewise.
18252 * math/Makefile (libm-calls): Add x2y2m1.
18253 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18254 (__x2y2m1): Likewise.
18255 (__x2y2m1l): Likewise.
18256 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18257 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18262 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18263 * sysdeps/i386/fpu/libm-test-ulps: Update.
18264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18267 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18268 int as type of variable DEPTH.
18269 (glob): Use size_t instead of int as type of variables NEWCOUNT
18272 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18274 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18275 Add s_sincosf-sse2.
18276 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18277 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18278 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18279 macros for using routine as __sincosf_ia32.
18280 Use macro for function declaration and weak_alias.
18281 * sysdeps/i386/fpu/libm-test-ulps: Update.
18283 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18286 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18287 subnormal argument.
18288 * math/s_cexpf.c (__cexpf): Likewise.
18289 * math/s_csinf.c (__csinf): Likewise.
18290 * math/s_csinhf.c (__csinhf): Likewise.
18291 * math/s_ctanf.c (__ctanf): Likewise.
18292 * math/s_ctanhf.c (__ctanhf): Likewise.
18293 * math/s_ccosh.c (__ccoshf): Likewise.
18294 * math/s_cexp.c (__cexpl): Likewise.
18295 * math/s_csin.c (__csin): Likewise.
18296 * math/s_csinh.c (__csinh): Likewise.
18297 * math/s_ctan.c (__ctan): Likewise.
18298 * math/s_ctanh.c (ctanh): Likewise.
18299 * math/s_ccoshl.c (__ccoshl): Likewise.
18300 * math/s_cexpl.c (__cexpl): Likewise.
18301 * math/s_csinl.c (__csinl): Likewise.
18302 * math/s_csinhl.c (__csinhl): Likewise.
18303 * math/s_ctanl.c (__ctanl): Likewise.
18304 * math/s_ctanhl.c (__ctanhl): Likewise.
18306 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18308 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18309 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18310 (_IO_off_t): Define to __off_t, not _G_off_t.
18311 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18312 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18313 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18314 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18315 type of __dummy and __dummy2 fields.
18316 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18317 (_G_ssize_t): Likewise.
18318 (_G_off_t): Likewise.
18319 (_G_pid_t): Likewise.
18320 (_G_uid_t): Likewise.
18321 (_G_wchar_t): Likewise.
18322 (_G_wint_t): Likewise.
18323 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18324 (_G_ssize_t): Likewise.
18325 (_G_off_t): Likewise.
18326 (_G_pid_t): Likewise.
18327 (_G_uid_t): Likewise.
18328 (_G_wchar_t): Likewise.
18329 (_G_wint_t): Likewise.
18330 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18331 (_G_ssize_t): Likewise.
18332 (_G_off_t): Likewise.
18333 (_G_pid_t): Likewise.
18334 (_G_uid_t): Likewise.
18335 (_G_wchar_t): Likewise.
18336 (_G_wint_t): Likewise.
18338 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18340 * malloc/arena.c: Include malloc-sysdep.h.
18341 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18342 is sufficient to shrink the heap or an unmap is needed.
18343 * sysdeps/generic/malloc-sysdep.h: New file. Define
18344 new function check_may_shrink_heap.
18345 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18346 new function check_may_shrink_heap.
18348 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18350 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18353 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18355 * catgets/test-gencat.sh: Add "set -e".
18356 * elf/tst-pathopt.sh: Likewise.
18357 * grp/tst_fgetgrent.sh: Likewise.
18358 * iconvdata/run-iconv-test.sh: Likewise.
18359 * intl/tst-gettext.sh: Likewise.
18360 * intl/tst-gettext2.sh: Likewise.
18361 * intl/tst-gettext4.sh: Likewise.
18362 * intl/tst-gettext6.sh: Likewise.
18363 * intl/tst-translit.sh: Likewise.
18364 * io/ftwtest-sh: Likewise.
18365 * libio/test-freopen.sh: Likewise.
18366 * malloc/tst-mtrace.sh: Likewise.
18367 * posix/globtest.sh: Likewise.
18368 * posix/tst-getconf.sh: Likewise.
18369 * posix/wordexp-tst.sh: Likewise.
18370 * stdio-common/tst-printf.sh: Likewise.
18371 * stdio-common/tst-unbputc.sh: Likewise.
18372 * stdlib/tst-fmtmsg.sh: Likewise.
18373 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18374 * catgets/Makefile: Do not specify -e option when running
18375 testsuite shell scripts.
18376 * elf/Makefile: Likewise.
18377 * grp/Makefile: Likewise.
18378 * iconvdata/Makefile: Likewise.
18379 * intl/Makefile: Likewise.
18380 * io/Makefile: Likewise.
18381 * libio/Makefile: Likewise.
18382 * malloc/Makefile: Likewise.
18383 * posix/Makefile: Likewise.
18384 * stdio-common/Makefile: Likewise.
18385 * stdlib/Makefile: Likewise.
18386 * sysdeps/x86_64/Makefile: Likewise.
18388 * io/ftwtest-sh: Add copyright header.
18389 * posix/globtest.sh: Likewise.
18390 * posix/tst-getconf.sh: Likewise.
18391 * posix/wordexp-tst.sh: Likewise.
18392 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18394 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18397 * Makeconfig (+link): Defined as $(+link-static) if
18398 $(build-shared) isn't yes.
18399 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18401 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18403 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18406 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18407 new chunk size with MALLOC_ALIGN_MASK.
18409 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18412 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18414 (__printf_fphex): Determine rounding using get_rounding_mode and
18416 * stdio-common/tst-printf-round.c (struct hex_test): New
18418 (hex_tests): New variable.
18419 (test_hex_in_one_mode): New function.
18420 (do_test): Also run tests for hex float output.
18422 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18424 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18425 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18426 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18427 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18428 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18429 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18430 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18431 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18433 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18435 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18436 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18437 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18438 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18440 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18443 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18445 * elf/tst-rtld-load-self.sh: New test.
18446 * elf/Makefile: Run it.
18448 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18450 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18451 (tst-writev-ENV): Remove.
18452 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18454 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18456 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18458 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18460 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18462 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18464 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18465 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18466 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18469 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18472 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18473 * config.make.in (have-cpp-asm-debuginfo): Removed.
18474 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18475 * configure: Regenerated.
18477 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18480 * stdio-common/printf_fp.c: Include <stdbool.h> and
18482 (___printf_fp): Determine rounding using get_rounding_mode and
18484 * stdio-common/tst-printf-round.c: New file.
18485 * stdio-common/Makefile (tests): Add tst-printf-round.
18486 (link-libm): New variable.
18487 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18489 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18492 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18493 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18495 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18498 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18500 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18501 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18502 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18503 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18505 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18508 * include/rounding-mode.h: New file.
18509 * sysdeps/generic/get-rounding-mode.h: Likewise.
18510 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18511 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18512 (MAX_VALUE): New macro.
18513 (MIN_VALUE): Likewise.
18514 (overflow_value): New function.
18515 (underflow_value): Likewise.
18516 (round_and_return): Use overflow_value and underflow_value to
18517 determine return values in overflow and underflow cases. Use
18518 round_away to determine rounding depending on rounding mode.
18519 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18520 determine return values in overflow and underflow cases.
18521 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18522 (struct test_results): New structure.
18523 (struct test): Use struct test_results to store expected results
18524 for all rounding modes.
18525 (TEST): Include expected results for all rounding modes.
18526 (test_in_one_mode): New function.
18527 (do_test): Use test_in_one_mode to compute and check results.
18528 Check results for all rounding modes.
18529 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18532 2012-12-09 Allan McRae <allan@archlinux.org>
18534 * sysdeps/i386/fpu/libm-test-ulps: Update
18536 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18538 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18539 (_G_int32_t): Likewise.
18540 (_G_uint16_t): Likewise.
18541 (_G_uint32_t): Likewise.
18542 (_G_HAVE_BOOL): Likewise.
18543 (_G_HAVE_ATEXIT): Likewise.
18544 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18545 (_G_HAVE_IO_FILE_OPEN): Likewise.
18546 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18547 (_G_int32_t): Likewise.
18548 (_G_uint16_t): Likewise.
18549 (_G_uint32_t): Likewise.
18550 (_G_HAVE_BOOL): Likewise.
18551 (_G_HAVE_ATEXIT): Likewise.
18552 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18553 (_G_HAVE_IO_FILE_OPEN): Likewise.
18554 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18555 (_G_int32_t): Likewise.
18556 (_G_uint16_t): Likewise.
18557 (_G_uint32_t): Likewise.
18558 (_G_HAVE_BOOL): Likewise.
18559 (_G_HAVE_ATEXIT): Likewise.
18560 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18561 (_G_HAVE_IO_FILE_OPEN): Likewise.
18563 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18565 * csu/libc-tls.c: Update copyright years.
18567 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18569 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18570 [!_G_USING_THUNKS]: Remove conditional code.
18571 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18572 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18574 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18575 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18576 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18577 (_G_VTABLE_LABEL_PREFIX): Likewise.
18578 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18579 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18580 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18581 (_G_VTABLE_LABEL_PREFIX): Likewise.
18582 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18583 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18584 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18585 (_G_VTABLE_LABEL_PREFIX): Likewise.
18586 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18588 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18590 * libio/Makefile: Include ../Makeconfig before tests.
18591 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18592 only if $(build-shared) is yes.
18594 * iconv/gconv_db.c: Update copyright years.
18596 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18598 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18599 unwind info if defined PIC. Fix special cases description.
18600 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18602 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18604 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18606 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18608 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18610 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18613 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18614 (LDLIBS-tst-chk4): This.
18615 (LDFLAGS-tst-chk5): Renamed to ...
18616 (LDLIBS-tst-chk5): This.
18617 (LDFLAGS-tst-chk6): Renamed to ...
18618 (LDLIBS-tst-chk6): This.
18619 (LDFLAGS-tst-lfschk4): Renamed to ...
18620 (LDLIBS-tst-lfschk4): This.
18621 (LDFLAGS-tst-lfschk5): Renamed to ...
18622 (LDLIBS-tst-lfschk5): This.
18623 (LDFLAGS-tst-lfschk6): Renamed to ...
18624 (LDLIBS-tst-lfschk6): This.
18626 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18627 on $(common-objpfx)soversions.mk.
18629 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18632 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18635 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18637 * malloc/arena.c (arena_get_retry): New function that gets
18638 another arena for the caller to try its request on.
18639 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18640 current arena cannot fulfill the request.
18641 (__libc_memalign): Likewise.
18642 (__libc_memalign): Likewise.
18643 (__libc_pvalloc): Likewise.
18644 (__libc_calloc): Likewise.
18646 2012-09-05 John Tobey <john.tobey@gmail.com>
18649 * manual/arith.texi (Operations on Complex): Fix description
18650 of carg branch cut.
18652 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18655 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18659 * manual/memory.texi (Memory): Make order of menu items match
18662 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18664 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18665 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18666 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18668 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18670 * csu/libc-tls.c (static_dtv): Renamed to ...
18671 (_dl_static_dtv): This. Make it global.
18672 (_dl_initial_dtv): Removed.
18673 (__libc_setup_tls): Updated.
18674 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18675 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18678 2012-09-06 Petr Machata <pmachata@redhat.com>
18680 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18681 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18682 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18683 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18685 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18688 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18689 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18692 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18695 * Makeconfig (link-static-before-libc): Replace $(+prector)
18697 (link-static-after-libc): Replace $(+postctor) with
18699 (link-bounded): Replace $(+prector)/$(+postctor) with
18700 $(+prectorT)/$(+postctorT).
18701 (+prectorT): New macro.
18702 (+postctorT): Likewise.
18704 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18706 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18707 (round_str): Handle values above the maximum for IBM long double
18709 * stdlib/tst-strtod-round.c (tests): Regenerated.
18711 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18713 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18715 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18716 zarch_nohighgprs around the zarch optimized routines.
18717 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18718 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18722 2012-09-05 David S. Miller <davem@davemloft.net>
18724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18726 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18727 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18728 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18729 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18732 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18734 * malloc/arena.c: Fold copyright years.
18735 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18737 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18739 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18741 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18743 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18745 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18747 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18748 change internal state upon failure.
18750 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18752 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18753 * malloc/memusage.c (mmap): Likewise.
18754 (mmap64, mremap): Likewise. Adjust name in comment.
18756 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18758 * libio/fileops.c: Fix typos in comments.
18759 * libio/oldfileops.c: Likewise.
18760 * libio/wfileops.c: Likewise.
18762 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18765 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18766 (tst-malloc-usable-ENV): Set environment for test case.
18767 * malloc/hooks.c (malloc_check_get_size): New function to get
18769 * malloc/malloc.c (musable): Use malloc_check_get_size.
18770 * malloc/tst-malloc-usable.c: New test case.
18772 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18774 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18776 2012-09-05 Allan McRae <allan@archlinux.org>
18779 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18780 determine header location.
18781 * configure: Regenerated.
18783 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18785 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18787 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18788 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18790 (test): Regenerate.
18792 2012-09-04 David S. Miller <davem@davemloft.net>
18794 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18795 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18796 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18798 2012-09-04 Florian Weimer <fweimer@redhat.com>
18800 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18803 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18805 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18808 * libio/iogetdelim.c: Include <limits.h>.
18809 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18810 + len + 1 would overflow.
18812 2012-09-03 Andreas Jaeger <aj@suse.de>
18814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18815 * sysdeps/i386/fpu/libm-test-ulps: Update.
18817 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18819 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18820 Add s_sinf-sse2, s_conf-sse2.
18822 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18823 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18824 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18825 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18827 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18828 for using routine as __sinf_ia32.
18829 Use macro for function declaration and weak_alias.
18830 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18831 for using routine as __cosf_ia32.
18832 Use macro for function declaration and weak_alias.
18834 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18835 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18837 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18838 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18841 * math/libm-test.inc (cos_test): Add more test cases.
18842 (sin_test): Likewise.
18843 (sincos_test): Likewise.
18845 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18847 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18848 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18850 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18852 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18855 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18856 first element of the GOT.
18857 (elf_machine_load_address): Return the difference between
18858 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18860 2012-09-01 Allan McRae <allan@archlinux.org>
18863 * configure.in (AWK): Require gawk version 3.0 or later.
18864 * configure: Regenerated.
18866 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18868 * sysdeps/unix/sysv/linux/kernel-features.h
18869 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18870 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18871 [__NR_clock_getres]: Make code unconditional.
18872 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18873 (clock_getcpuclockid): Remove code left unreachable by removal of
18875 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18876 code unconditional.
18877 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18878 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18879 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18880 Make code unconditional.
18881 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18882 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18883 * sysdeps/unix/sysv/linux/clock_settime.c
18884 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18886 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18887 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18889 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18892 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18893 scripts/test-installation.pl.
18895 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18896 and $ld_so_version if it is set.
18898 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18902 failure if reading from procfs failed.
18903 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18905 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18907 * sysdeps/unix/sysv/linux/kernel-features.h
18908 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18909 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18910 Remove conditional code.
18911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18912 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18913 Remove conditional code.
18914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18915 * sysdeps/unix/sysv/linux/i386/fxstat.c
18916 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18918 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18919 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18921 * sysdeps/unix/sysv/linux/i386/lxstat.c
18922 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18924 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18925 Remove conditional code.
18926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18927 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18928 Remove conditional code.
18929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18930 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18931 <kernel-features.h>.
18932 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18934 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18935 Remove conditional code.
18936 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18937 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18938 Remove conditional.
18940 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18943 * NEWS: Add fixed bug number.
18945 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18948 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18949 underflowing exponent in case of negative sign.
18950 * stdlib/tst-strtod-round-data: Add more tests.
18951 * stdlib/tst-strtod-round.c (tests): Regenerated.
18954 * stdlib/strtod_l.c (NDIG): Remove.
18955 (HEXNDIG): Likewise.
18956 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18957 smallest representable value.
18958 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18959 lie within an exact representation of 1/2 ulp of the result.
18960 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18962 (TENS_P9_IDX): Define unconditionally.
18963 (TENS_P9_SIZE): Likewise.
18964 (TENS_P10_IDX): Likewise.
18965 (TENS_P10_SIZE): Likewise.
18966 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18967 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18968 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18969 entries for 10^2^13 and 10^2^14.
18970 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18971 (TENS_P13_IDX): Define.
18972 (TENS_P13_SIZE): Likewise.
18973 (TENS_P14_IDX): Likewise.
18974 (TENS_P14_SIZE): Likewise.
18975 (_fpioconst_pow10): Change array size to
18976 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18978 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18979 1024]: Add entries for 10^2^13 and 10^2^14.
18980 [LAST_POW10 > _LAST_POW10]: Remove #error.
18981 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18982 (_fpioconst_pow10): Change array size to
18983 FPIOCONST_POW10_ARRAY_SIZE.
18984 * stdlib/gen-fpioconst.c: New file.
18985 * stdlib/gen-tst-strtod-round.c: Likewise.
18986 * stdlib/tst-strtod-round-data: Likewise.
18987 * stdlib/tst-strtod-round.c: Likewise.
18988 * stdlib/Makefile (tests): Add tst-strtod-round.
18991 * stdlib/strtod_l.c: Include <stdint.h>.
18992 (NDEBUG): Do not define.
18993 (round_and_return): Change EXPONENT parameter to type intmax_t.
18994 Rearrange calculations to avoid internal overflow possibilities.
18995 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18996 Rearrange calculations to avoid internal overflow possibilities.
18997 Assert that number fits inside MPNSIZE limbs.
18998 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18999 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19000 calculations and add assertions to avoid internal overflow
19001 possibilities. Add casts to avoid signed/unsigned operations.
19002 * stdlib/tst-strtod-overflow.c: New file.
19003 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19005 2012-08-25 Marek Polacek <polacek@redhat.com>
19007 * time/time.h: Fix some typos in comments.
19009 2012-08-23 Roland McGrath <roland@hack.frob.com>
19011 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19012 * posix/tst-rfc3484-2.c: Likewise.
19013 * posix/tst-rfc3484-3.c: Likewise.
19015 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19017 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19018 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19020 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19022 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19023 #include of fxstatat64.c.
19025 2012-08-22 Roland McGrath <roland@hack.frob.com>
19027 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19028 * shadow/getspent_r.c: Likewise.
19029 * shadow/getspnam.c: Likewise.
19030 * shadow/getspnam_r.c: Likewise.
19031 * gshadow/getsgent.c: Likewise.
19032 * gshadow/getsgent_r.c: Likewise.
19033 * gshadow/getsgnam.c: Likewise.
19034 * gshadow/getsgnam_r.c: Likewise.
19035 * inet/getnetbyad.c: Likewise.
19036 * inet/getnetbyad_r.c: Likewise.
19037 * inet/getnetbynm.c: Likewise.
19038 * inet/getnetbynm_r.c: Likewise.
19039 * inet/getnetent.c: Likewise.
19040 * inet/getnetent_r.c: Likewise.
19041 * inet/getproto.c: Likewise.
19042 * inet/getproto_r.c: Likewise.
19043 * inet/getprtent.c: Likewise.
19044 * inet/getprtent_r.c: Likewise.
19045 * inet/getprtname.c: Likewise.
19046 * inet/getprtname_r.c: Likewise.
19047 * inet/getrpcbyname.c: Likewise.
19048 * inet/getrpcbyname_r.c: Likewise.
19049 * inet/getrpcbynumber.c: Likewise.
19050 * inet/getrpcbynumber_r.c: Likewise.
19051 * inet/getrpcent.c: Likewise.
19052 * inet/getrpcent_r.c: Likewise.
19053 * inet/getaliasent.c: Likewise.
19054 * inet/getaliasent_r.c: Likewise.
19055 * inet/getaliasname.c: Likewise.
19056 * inet/getaliasname_r.c: Likewise.
19057 * nscd/getgrgid_r.c: Likewise.
19058 * nscd/getgrnam_r.c: Likewise.
19059 * nscd/gethstbyad_r.c: Likewise.
19060 * nscd/gethstbynm3_r.c: Likewise.
19061 * nscd/getpwnam_r.c: Likewise.
19062 * nscd/getpwuid_r.c: Likewise.
19063 * nscd/getsrvbynm_r.c: Likewise.
19064 * nscd/getsrvbypt_r.c: Likewise.
19065 * nscd/gai.c: Likewise.
19067 * configure.in (build_nscd): New substituted variable, set
19068 by --disable-build-nscd and defaults to $use_nscd.
19069 * configure: Regenerated.
19070 * config.make.in (build-nscd): New substituted variable.
19071 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19072 Change conditional to require [$(build-nscd) = yes] as well.
19073 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19076 * configure.in (use_nscd): New substituted variable, set by
19077 --disable-nscd. If enabled, define USE_NSCD.
19078 * configure: Regenerated.
19079 * config.h.in: Add USE_NSCD.
19080 * config.make.in (use-nscd): New substituted variable.
19081 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19082 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19083 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19084 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19085 (CFLAGS-getgrnam_r.c): Likewise.
19086 (CFLAGS-initgroups.c): Likewise.
19087 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19088 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19090 * inet/getnetgrent_r.c
19091 (nscd_setnetgrent): New function, broken out of ...
19092 (setnetgrent): ... here. Call it.
19093 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19094 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19095 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19096 * nscd/Makefile (routines, aux): Move definitions after include of
19097 Makeconfig. Conditionalize on [$(use-nscd) != no].
19098 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19099 Conditionalize on [USE_NSCD].
19100 (is_nscd, nscd_init_cb): Likewise.
19101 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19102 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19103 * nss/nss_db/db-init.c: Likewise.
19104 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19106 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19107 (make_request): Use it.
19108 (cache_valid_p): New function.
19109 (__check_pf): Use it.
19110 * NEWS: Add item for --disable-nscd.
19112 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19114 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19115 to support sed >= 4.2.1-20-ga9bf076.
19116 * configure: Regenerated.
19118 2012-08-22 Roland McGrath <roland@hack.frob.com>
19120 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19121 Conditionalize whole body on [IREL].
19123 2012-08-22 Jeff Law <law@redhat.com>
19126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19127 if the family is PF_UNSPEC.
19129 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19131 * Makerules (lib-version): Rename from V.
19132 (install-lib-nosubdir): Change V to lib-version.
19134 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19137 * powerpc32/power6/wcschr.c: New file.
19138 * powerpc32/power6/wcscpy.c: New file.
19139 * powerpc32/power6/wcsrchr.c: New file.
19140 * powerpc64/power6/wcschr.c: New file.
19141 * powerpc64/power6/wcscpy.c: New file.
19142 * powerpc64/power6/wcsrchr.c: New file.
19144 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19146 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19147 (two_way_short_needle): Use it.
19148 * string/strstr.c (AVAILABLE1_USES_J): Define.
19149 * string/strcasestr.c: Likewise.
19151 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19153 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19156 * NEWS: Add an entry.
19157 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19158 define their defaults.
19159 (two_way_short_needle): Detect end-of-string on-the-fly.
19160 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19161 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19162 * string/bug-strcasestr1.c: New test.
19163 * string/Makefile: Run it.
19165 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19168 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19169 the first character.
19171 2012-08-21 Roland McGrath <roland@hack.frob.com>
19173 * csu/elf-init.c (__libc_csu_irel): Function removed.
19174 * csu/libc-start.c (apply_irel): New function.
19175 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19177 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19179 * sysdeps/unix/sysv/linux/kernel-features.h
19180 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19181 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19182 <kernel-features.h>.
19183 [__NR_fadvise64_64]: Make code unconditional.
19184 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19185 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19186 !__NR_fadvise64_64)]: Likewise.
19187 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19188 !__NR_fadvise64_64))]: Likewise.
19189 [__NR_fadvise64]: Make code unconditional.
19190 [!__NR_fadvise64]: Remove conditional code.
19191 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19192 <kernel-features.h>.
19193 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19195 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19198 not include <kernel-features.h>.
19199 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19201 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19203 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19204 include <kernel-features.h>.
19205 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19207 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19210 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19213 slight instruction rearrangements per scrollpipe analysis.
19214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19216 2012-08-20 Roland McGrath <roland@hack.frob.com>
19218 * manual/syslog.texi (syslog; vsyslog, closelog):
19219 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19220 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19222 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19223 DSOCAPS to match condition on defining it.
19225 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19227 * sysdeps/unix/sysv/linux/kernel-features.h
19228 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19230 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19231 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19233 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19234 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19236 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19237 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19239 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19240 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19242 * sysdeps/unix/sysv/linux/kernel-features.h
19243 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19244 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19246 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19247 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19248 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19249 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19250 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19251 Make code unconditional.
19252 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19253 (__mmap64) [!__NR_mmap2]: Likewise.
19254 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19255 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19256 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19257 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19258 [__NR_mmap2]: Make code unconditional.
19259 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19260 (__mmap64) [!__NR_mmap2]: Likewise.
19262 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19264 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19266 2012-08-18 Andreas Jaeger <aj@suse.de>
19268 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19270 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19272 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19273 * include/unistd.h (__have_sock_cloexec): Likewise.
19274 (__have_pipe2): Likewise.
19275 (__have_dup3): Likewise.
19277 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19280 * include/unistd.h (__have_pipe2): Change define into an extern int.
19281 (__have_dup3): Likewise.
19282 * socket/have_sock_cloexec.c: Include fcntl.h.
19283 (__have_pipe2): New variable.
19284 (__have_dup3): Likewise.
19286 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19288 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19290 2012-08-17 Marek Polacek <polacek@redhat.com>
19292 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19293 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19295 2012-08-17 Roland McGrath <roland@hack.frob.com>
19297 * configure.in: Add AC_SUBST for sysheaders.
19298 * configure: Regenerated.
19299 * config.make.in (sysheaders): New substituted variable.
19301 * sysdeps/unix/mkfifo.c: Moved ...
19302 * sysdeps/posix/mkfifo.c: ... here.
19303 * sysdeps/unix/mkfifoat.c: Moved ...
19304 * sysdeps/posix/mkfifoat.c: ... here.
19306 * sysdeps/unix/utime.c: Moved ...
19307 * sysdeps/posix/utime.c: ... here.
19309 * sysdeps/unix/time.c: Moved ...
19310 * sysdeps/posix/time.c: ... here.
19311 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19312 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19314 * sysdeps/unix/nice.c: Moved ...
19315 * sysdeps/posix/nice.c: ... here.
19317 * sysdeps/unix/alarm.c: Moved ...
19318 * sysdeps/posix/alarm.c: ... here.
19320 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19322 2012-08-17 Jeff Law <law@redhat.com>
19324 * intl/Makefile (codeset_mo): New variable.
19325 ($(codeset_mo)): New target.
19326 (tst-codeset.out): Depend on that. Remove explicit rule.
19327 (tst-gettext3.out, tst-gettext5.out): Likewise.
19328 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19329 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19330 * intl/tst-codeset.sh: Remove.
19331 * intl/tst-gettext3.sh: Likewise.
19332 * intl/tst-gettext5.sh: Likewise.
19334 2012-08-17 Roland McGrath <roland@hack.frob.com>
19336 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19337 * sysdeps/unix/syscalls.list: ... here.
19339 * sysdeps/posix/getaddrinfo.c
19340 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19341 (gaiconf_init, gaiconf_reload): Use them.
19342 [!_STATBUF_ST_NSEC]
19343 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19344 Define using time_t rather than struct timespec.
19346 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19347 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19349 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19351 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19352 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19355 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19356 __libc_cleanup_push argument.
19358 * bits/param.h: New file.
19359 * misc/sys/param.h: New file.
19360 * include/sys/param.h: New file.
19361 * misc/Makefile (headers): Add bits/param.h.
19362 * sysdeps/generic/sys/param.h: File removed.
19363 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19364 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19365 * sysdeps/mach/hurd/bits/param.h: New file.
19366 * sysdeps/mach/hurd/sys/param.h: File removed.
19368 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19371 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19373 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19374 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19377 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19378 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19379 rather than -D_IO_MTSAFE_IO conditionally.
19380 * stdio-common/Makefile (CPPFLAGS): Likewise.
19381 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19382 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19383 Use $(libio-mtsafe).
19384 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19385 of -D_IO_MTSAFE_IO.
19386 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19387 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19388 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19389 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19390 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19391 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19392 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19393 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19394 (CFLAGS-fread_u_chk.c): Likewise.
19395 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19396 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19397 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19398 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19399 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19400 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19401 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19402 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19403 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19405 * libio/Makefile: Test [$(libc-reentrant) = yes]
19406 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19409 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19410 * sysdeps/pthread/configure: File removed.
19411 * sysdeps/pthread/Makeconfig: New file.
19412 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19413 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19415 2012-08-16 Gary Benson <gbenson@redhat.com>
19417 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19418 unmapping the first object in a namespace.
19420 2012-08-16 Roland McGrath <roland@hack.frob.com>
19422 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19423 (__internal_setnetgrent): ... this. Add internal_function to
19424 definition. Add libc_hidden_def.
19425 (setnetgrent): Update caller.
19426 (internal_endnetgrent): Renamed to ...
19427 (__internal_endnetgrent): ... this. Add internal_function to
19428 definition. Add libc_hidden_def.
19429 (endnetgrent): Update caller.
19430 (internal_getnetgrent_r): Renamed to ...
19431 (__internal_getnetgrent_r): ... this. Add internal_function to
19432 definition. Add libc_hidden_def.
19433 (__getnetgrent_r): Update caller.
19434 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19436 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19438 * stdlib/longlong.h: Update from GCC.
19440 2012-08-16 Roland McGrath <roland@hack.frob.com>
19442 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19443 on _QL, which is set by umul_ppmm but never used.
19444 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19445 variables, which are set by GMP macros but never used.
19446 * stdio-common/_itowa.c (_itowa): Likewise.
19447 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19448 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19450 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19452 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19453 struct La_sh_regs is not constant.
19454 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19455 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19456 and struct La_sparc64_regs are not constant.
19458 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19460 * sysdeps/unix/sysv/linux/kernel-features.h
19461 (__ASSUME_POSIX_TIMERS): Remove.
19462 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19463 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19464 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19465 Make code unconditional.
19466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19467 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19468 Make code unconditional.
19469 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19470 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19471 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19472 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19473 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19474 Make code unconditional.
19475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19476 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19477 (__libc_missing_posix_timers): Remove.
19479 2012-08-15 Roland McGrath <roland@hack.frob.com>
19481 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19482 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19484 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19486 * elf/dl-sym.c: Include <stdlib.h>.
19488 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19489 constants, which avoids warnings in 32-bit builds.
19491 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19492 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19494 * misc/lseek.c: File moved to ...
19495 * io/lseek.c: ... here.
19497 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19499 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19500 shifting LEN more than 31 bits at once.
19502 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19505 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19506 segmentation fault for a case of two empty input strings.
19507 * string/test-strncasecmp.c (check1): Renamed to...
19508 (bz12205): ...this.
19509 (bz14195): Add new testcase for two empty input strings and N > 0.
19510 (test_main): Call new testcase, adapt for renamed function.
19512 2012-08-15 Andreas Jaeger <aj@suse.de>
19515 * crypt/md5test2.c: New test, based on test supplied by Serge
19516 Belyshev <belyshev@depni.sinp.msu.ru>.
19517 * crypt/Makefile (xtests): Add md5test-giant..
19518 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19520 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19523 * crypt/md5.c (md5_process_block): Don't assume the buffer
19524 length is less than 2**32.
19525 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19526 length is less than 2**64.
19528 2012-08-15 Roland McGrath <roland@hack.frob.com>
19530 * string/str-two-way.h: Include <sys/param.h>.
19531 (MAX): Macro removed.
19533 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19534 Move #define and #undef of memmove to just before and after
19535 including <string.h>.
19537 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19538 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19539 and after including <string.h>. Move declarations of
19540 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19541 to before #include "string/memmove.c".
19543 * include/dirent.h: Declare __getdirentries.
19545 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19546 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19548 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19550 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19551 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19552 * sysdeps/i386/configure: Regenerated.
19553 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19554 STABS_CURRENT_FILE, and STABS_FUN.
19555 (END): Remove call to STABS_FUN_END.
19556 (STABS_CURRENT_FILE1): Delete.
19557 (STABS_CURRENT_FILE): Likewise.
19558 (STABS_FUN): Likewise.
19559 (STABS_FUN_END): Likewise.
19560 (STABS_FUN2): Likewise.
19561 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19562 * sysdeps/x86_64/configure: Regenerated.
19564 2012-08-14 Roland McGrath <roland@hack.frob.com>
19566 * elf/dl-open.c: Include <atomic.h>.
19567 * elf/dl-lookup.c: Likewise.
19569 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19571 * sysdeps/unix/sysv/linux/kernel-features.h
19572 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19573 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19575 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19577 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19578 condition on __ASSUME_CLONE_THREAD_FLAGS.
19580 2012-08-14 Andreas Jaeger <aj@suse.de>
19582 * sysdeps/i386/fpu/libm-test-ulps: Update.
19584 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19586 * include/atomic.h (atomic_exchange_and_add): Split into ...
19587 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19590 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19594 2012-08-13 Jeff Law <law@redhat.com>
19596 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19597 null byte in the output string.
19599 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19601 * sysdeps/unix/sysv/linux/kernel-features.h
19602 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19603 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19604 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19605 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19606 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19607 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19608 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19610 2012-08-09 Jeff Law <law@redhat.com>
19613 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19614 When avoid_arena is set, don't retry in the that arena. Pick the
19615 next one, whatever it might be.
19616 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19617 (arena_lock): Pass in new parameter to arena_get2.
19618 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19620 (__libc_malloc): Unify retrying after main arena failure with
19621 __libc_memalign version.
19622 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19624 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19627 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19628 to __redirect_strstr.
19629 (__strstr_sse42): Use typeof __redirect_strstr.
19630 (__strstr_ia32): Likewise.
19631 (__libc_strstr): New prototype.
19632 (strstr): Renamed to ...
19633 (__libc_strstr): This.
19634 (strstr): New strong alias of __libc_strstr.
19635 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19636 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19639 (__libc_time): New prototype.
19640 (time_ifunc): Replace time with __libc_time.
19641 (time): New strong alias and hidden definition of __libc_time.
19642 (__GI_time): Remove strong alias.
19643 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19644 Include <stddef.h>.
19645 (memmove): Redefined to __redirect_memmove.
19646 (__memmove_sse2): Use typeof __redirect_memmove.
19647 (__memmove_ssse3): Likewise.
19648 (__memmove_ssse3_back): Likewise.
19649 (__libc_memmove): New prototype.
19650 (memmove): Renamed to ...
19651 (__libc_memmove): This.
19652 (memmove): New strong alias of __libc_memmove.
19654 2012-08-08 Mark Salter <msalter@redhat.com>
19657 (R_MN10300_TLS_GD): Define.
19658 (R_MN10300_TLS_LD): Likewise.
19659 (R_MN10300_TLS_LDO): Likewise.
19660 (R_MN10300_TLS_GOTIE): Likewise.
19661 (R_MN10300_TLS_IE): Likewise.
19662 (R_MN10300_TLS_LE): Likewise.
19663 (R_MN10300_TLS_DTPMOD): Likewise.
19664 (R_MN10300_TLS_DTPOFF): Likewise.
19665 (R_MN10300_TLS_TPOFF): Likewise.
19666 (R_MN10300_SYM_DIFF): Likewise.
19667 (R_MN10300_ALIGN): Likewise.
19668 (R_MN10300_NUM): Update.
19670 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19675 2012-08-08 Roland McGrath <roland@hack.frob.com>
19677 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19679 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19680 sysdeps/unix -> sysdeps/posix move.
19681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19683 2012-08-07 Allan McRae <allan@archlinux.org>
19686 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19687 (SUNOS_CPP): Likewise.
19688 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19690 (open_input): Call CPP using execvp.
19692 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19694 * sysdeps/unix/sysv/linux/kernel-features.h
19695 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19696 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19697 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19698 (__ASSUME_WAITID_SYSCALL): Likewise.
19699 * sysdeps/unix/sysv/linux/dl-execstack.c
19700 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19701 code unconditional.
19702 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19704 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19705 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19706 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19708 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19710 [__ASSUME_WAITID_SYSCALL]: Likewise.
19711 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19713 2012-08-07 Roland McGrath <roland@hack.frob.com>
19715 * sysdeps/unix/closedir.c: Renamed to ...
19716 * sysdeps/posix/closedir.c: ... here.
19717 * sysdeps/unix/dirfd.c: Renamed to ...
19718 * sysdeps/posix/dirfd.c: ... here.
19719 * sysdeps/unix/dirstream.h: Renamed to ...
19720 * sysdeps/posix/dirstream.h: ... here.
19721 * sysdeps/unix/fdopendir.c: Renamed to ...
19722 * sysdeps/posix/fdopendir.c: ... here.
19723 * sysdeps/unix/opendir.c: Renamed to ...
19724 * sysdeps/posix/opendir.c: ... here.
19725 * sysdeps/unix/readdir.c: Renamed to ...
19726 * sysdeps/posix/readdir.c: ... here.
19727 * sysdeps/unix/readdir_r.c: Renamed to ...
19728 * sysdeps/posix/readdir_r.c: ... here.
19729 * sysdeps/unix/rewinddir.c: Renamed to ...
19730 * sysdeps/posix/rewinddir.c: ... here.
19731 * sysdeps/unix/seekdir.c: Renamed to ...
19732 * sysdeps/posix/seekdir.c: ... here.
19733 * sysdeps/unix/telldir.c: Renamed to ...
19734 * sysdeps/posix/telldir.c: ... here.
19735 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19736 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19737 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19738 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19740 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19741 * bits/fcntl.h: ... here.
19743 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19745 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19746 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19747 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19748 (struct flock): Move l_start, l_len to the beginning.
19749 Use __pid_t for l_pid.
19750 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19751 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19752 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19753 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19754 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19755 [__USE_LARGEFILE64] (struct flock64): New type.
19756 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19758 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19759 * bits/dirent.h: ... here.
19761 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19762 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19764 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19766 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19767 Change from 2.6.0 to 2.6.16.
19768 * sysdeps/unix/sysv/linux/configure: Regenerated.
19769 * sysdeps/unix/sysv/linux/kernel-features.h
19770 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19771 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19773 (__ASSUME_UTIMES): Likewise.
19774 (__ASSUME_CLONE_STOPPED): Remove.
19775 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19776 architectures, not kernel version.
19777 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19778 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19779 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19780 (__ASSUME_WAITID_SYSCALL): Likewise.
19781 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19782 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19783 * README: State 2.6.16 as minimum Linux kernel version. Do not
19784 refer to older versions.
19786 2012-08-06 Roland McGrath <roland@hack.frob.com>
19788 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19789 Define alphasort64 as an alias.
19790 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19791 Define versionsort64 as an alias.
19792 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19793 Define scandir64 as an alias.
19794 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19795 Define scandirat64 as an alias.
19796 * dirent/alphasort64.c (alphasort64):
19797 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19798 * dirent/versionsort64.c: Likewise.
19799 * dirent/scandir64.c: Likewise.
19800 * dirent/scandirat64.c: Likewise.
19801 * sysdeps/wordsize-64/alphasort.c: File removed.
19802 * sysdeps/wordsize-64/alphasort64.c: File removed.
19803 * sysdeps/wordsize-64/scandir.c: File removed.
19804 * sysdeps/wordsize-64/scandir64.c: File removed.
19805 * sysdeps/wordsize-64/scandirat.c: File removed.
19806 * sysdeps/wordsize-64/scandirat64.c: File removed.
19807 * sysdeps/wordsize-64/versionsort.c: File removed.
19808 * sysdeps/wordsize-64/versionsort64.c: File removed.
19809 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19810 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19812 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19814 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19815 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19818 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19820 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19822 [defined __arch64__ || defined __sparcv9]
19823 (__INO_T_MATCHES_INO64_T): New macro.
19824 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19825 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19826 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19827 * sysdeps/unix/sysv/linux/bits/dirent.h
19828 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19829 (_DIRENT_MATCHES_DIRENT64): New macro.
19831 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19832 Define lockf64 as an alias.
19833 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19834 Define fseeko64 as an alias.
19835 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19836 Define ftello64 as an alias.
19837 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19838 Define _IO_fgetpos64 and fgetpos64 as aliases.
19839 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19840 Define _IO_fsetpos64 and fsetpos64 as aliases.
19841 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19842 Conditionalize body on this.
19843 * libio/fseeko64.c: Likewise.
19844 * libio/ftello64.c: Likewise.
19845 * libio/iofgetpos64.c: Likewise.
19846 * libio/iofsetpos64.c: Likewise.
19847 * sysdeps/wordsize-64/lockf.c: File removed.
19848 * sysdeps/wordsize-64/lockf64.c: File removed.
19849 * sysdeps/wordsize-64/fseeko.c: File removed.
19850 * sysdeps/wordsize-64/fseeko64.c: File removed.
19851 * sysdeps/wordsize-64/ftello.c: File removed.
19852 * sysdeps/wordsize-64/ftello64.c: File removed.
19853 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19854 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19855 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19856 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19857 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19858 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19859 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19860 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19861 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19862 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19863 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19864 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19865 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19866 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19868 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19870 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19872 [defined __arch64__ || defined __sparcv9]
19873 (__OFF_T_MATCHES_OFF64_T): New macro.
19874 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19875 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19877 (__OFF_T_MATCHES_OFF64_T): New macro.
19879 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19881 * stdlib/secure-getenv.c (__secure_getenv): Replace
19882 GLIBC_2_16 with GLIBC_2_17.
19884 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19886 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19887 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19889 2012-08-03 David S. Miller <davem@davemloft.net>
19891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19893 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19895 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19897 (__ASSUME_CORRECT_SI_PID): Likewise.
19898 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19899 (__ASSUME_TMPFS_NAME): Likewise.
19900 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19901 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19902 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19903 (HAVE_AUX_SECURE): Make definition unconditional.
19904 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19905 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19907 2012-08-03 Roland McGrath <roland@hack.frob.com>
19909 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19910 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19911 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19912 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19913 __eloop_threshold instead of SYMLOOP_MAX.
19915 * sysdeps/generic/eloop-threshold.h: New file.
19916 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19918 * elf/chroot_canon.c (chroot_canon): Likewise.
19920 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19923 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19924 Change to 2.6.0 everywhere.
19925 * sysdeps/unix/sysv/linux/configure: Regenerated.
19926 * sysdeps/unix/sysv/linux/kernel-features.h
19927 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19928 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19930 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19931 (__ASSUME_FUTEX_REQUEUE): Remove.
19932 (__ASSUME_STATFS64): Define unconditionally.
19933 (__ASSUME_AT_SECURE): Likewise.
19934 (__ASSUME_CORRECT_SI_PID): Likewise.
19935 (__ASSUME_TGKILL): Define without depending on kernel version for
19937 (__ASSUME_UTIMES): Likewise.
19938 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19940 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19941 (__ASSUME_TMPFS_NAME): Likewise.
19942 * README: Update reference to Linux kernel versions.
19944 2012-08-02 Marek Polacek <polacek@redhat.com>
19947 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19948 libc_cv_asm_type_prefix with %.
19949 * configure: Regenerated.
19950 * include/libc-symbols.h: Remove comment about
19951 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19952 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19953 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19954 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19955 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19956 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19957 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19958 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19959 * elf/tst-unique2mod1.c: Likewise.
19960 * elf/tst-unique1mod2.c: Likewise.
19961 * elf/tst-unique1mod1.c: Likewise.
19962 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19963 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19964 Replace ASM_TYPE_DIRECTIVE with .type.
19965 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19966 * sysdeps/i386/sysdep.h: Likewise.
19967 * sysdeps/x86_64/sysdep.h: Likewise.
19968 * sysdeps/sh/sysdep.h: Likewise.
19969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19970 Do not define ASM_TYPE_DIRECTIVE.
19971 * sysdeps/powerpc/sysdep.h: Likewise.
19972 * sysdeps/powerpc/powerpc32/sysdep.h:
19973 Replace ASM_TYPE_DIRECTIVE with .type.
19974 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19975 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19976 * sysdeps/i386/fpu/e_powf.S: Likewise.
19977 * sysdeps/i386/fpu/e_expl.S: Likewise.
19978 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19979 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19980 * sysdeps/i386/fpu/e_pow.S: Likewise.
19981 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19982 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19983 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19984 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19985 * sysdeps/i386/fpu/e_log2.S: Likewise.
19986 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19987 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19988 * sysdeps/i386/fpu/e_powl.S: Likewise.
19989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19990 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19991 * sysdeps/i386/fpu/e_logl.S: Likewise.
19992 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19993 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19994 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19995 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19996 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19997 * sysdeps/i386/fpu/e_log.S: Likewise.
19998 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19999 * sysdeps/i386/fpu/e_logf.S: Likewise.
20000 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20001 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20002 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20003 * sysdeps/i386/fpu/e_log10.S: Likewise.
20004 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20005 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20006 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20007 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20008 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20009 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20010 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20011 * sysdeps/i386/i686/strtok.S: Likewise.
20012 * sysdeps/i386/i386-mcount.S: Likewise.
20013 * sysdeps/i386/strtok.S: Likewise.
20014 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20015 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20017 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20018 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20019 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20020 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20021 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20022 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20023 * sysdeps/x86_64/_mcount.S: Likewise.
20024 * sysdeps/x86_64/strtok.S: Likewise.
20025 * sysdeps/sh/_mcount.S: Likewise.
20027 2012-08-01 Roland McGrath <roland@hack.frob.com>
20029 * libio/iofopen.c: Include <fcntl.h>.
20030 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20031 (_IO_fopen64, fopen64): Define as aliases.
20032 * libio/iofopen64.c: Include <fcntl.h>.
20033 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20034 Conditionalize body on this.
20035 * sysdeps/wordsize-64/iofopen.c: File removed.
20036 * sysdeps/wordsize-64/iofopen64.c: File removed.
20038 2012-08-01 Marek Polacek <polacek@redhat.com>
20040 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20041 Use dlfcn directly instead of a variable.
20042 (binfmt-subdir): Do not define.
20045 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20048 Remove all definitions.
20049 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20050 <kernel-features.h>.
20051 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20052 (miss_F_GETOWN_EX): Remove all definitions.
20053 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20055 [!__ASSUME_FCNTL64]: Remove conditional code.
20056 [__ASSUME_FCNTL64]: Make code unconditional.
20057 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20058 <kernel-features.h>.
20059 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20060 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20061 (lockf64) [__NR_fcntl64]: Make code unconditional.
20062 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20064 * sysdeps/unix/sysv/linux/kernel-features.h
20065 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20066 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20067 Make code unconditional.
20068 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20069 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20071 [__NR_vfork]: Make code unconditional.
20072 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20073 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20075 [__NR_vfork]: Make code unconditional.
20076 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20077 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20079 2012-08-01 Roland McGrath <roland@hack.frob.com>
20081 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20082 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20084 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20085 Define mkstemp64 as an alias.
20086 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20087 Define mkstemps64 as an alias.
20088 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20089 Define mkostemp64 as an alias.
20090 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20091 Define mkostemps64 as an alias.
20092 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20093 Conditionalize body on this.
20094 * misc/mkostemp64.c: Likewise.
20095 * misc/mkostemps64.c: Likewise.
20096 * misc/mkstemps64.c: Likewise.
20097 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20098 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20099 * sysdeps/wordsize-64/mkostemp.c: File removed.
20100 * sysdeps/wordsize-64/mkstemp.c: File removed.
20101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20102 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20103 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20104 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20107 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20108 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20109 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20110 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20112 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20113 compat_symbol macros from <shlib-compat.h> rather than the underlying
20114 default_symbol_version and symbol_version macros, so that DEFAULT
20115 lines in shlib-versions are respected.
20116 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20118 2012-08-01 Florian Weimer <fweimer@redhat.com>
20120 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20121 Declare with warn_unused_result.
20122 (setgid, setregid, setegid, setresgid): Likewise.
20123 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20125 * WUR-REPORT: Remove set*id functions.
20127 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20129 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20131 2012-07-31 Roland McGrath <roland@hack.frob.com>
20134 * include/sys/socket.h (__libc_accept, __libc_accept4):
20135 Add attribute_hidden.
20136 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20138 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20140 * inet/getnetgrent_r.c (setup): Likewise.
20142 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20144 2012-07-31 David S. Miller <davem@davemloft.net>
20146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20148 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20151 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20152 value between 1.0 and 2.0 and smaller part has absolute value less
20154 * math/s_clog10.c (__clog10): Likewise.
20155 * math/s_clog10f.c (__clog10f): Likewise.
20156 * math/s_clog10l.c (__clog10l): Likewise.
20157 * math/s_clogf.c (__clogf): Likewise.
20158 * math/s_clogl.c (__clogl): Likewise.
20159 * math/libm-test.inc (clog_test): Add more tests.
20160 (clog10_test): Likewise.
20161 * sysdeps/i386/fpu/libm-test-ulps: Update.
20162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164 2012-07-31 Florian Weimer <fweimer@redhat.com>
20166 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20167 Exit with zero in case no suitable GID is found, and write a
20168 message to standard error.
20170 2012-07-30 Roland McGrath <roland@hack.frob.com>
20172 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20174 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20175 (MAXPATHLEN): Removed.
20176 (NOGROUP, NODEV): New macros.
20177 (setbit, clrbit, isset, isclr): New macros.
20178 (howmany, roundup, powerof2): New macros.
20179 (DEV_BSIZE): New macro.
20181 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20182 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20184 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20185 definition on [!__NO_LONG_DOUBLE_MATH].
20187 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20188 PTR_MANGLE and PTR_DEMANGLE.
20190 * socket/accept4.c (accept4): Rename to __libc_accept4.
20191 Define accept4 as a weak alias.
20193 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20194 on [_DIRENT_HAVE_D_TYPE].
20195 * io/ftw.c (ftw_dir): Likewise.
20197 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20199 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20201 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20202 Use the BSD numbers rather than the arbitrary ones we had.
20203 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20204 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20205 (SIGXCPU, SIGXFSZ): New macros.
20208 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20209 initializer on [_LIBC_REENTRANT].
20211 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20212 definitions inside [_POSIX_MAPPED_FILES].
20214 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20216 * dirent/opendir.c: Include <fcntl.h>.
20218 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20219 (__libc_getspecific): Likewise.
20220 (__libc_key_create): Likewise.
20222 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20223 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20224 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20225 (tmpfile64): Define as alias.
20226 * sysdeps/wordsize-64/tmpfile.c: File removed.
20227 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20228 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20229 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20231 * stdio-common/vfscanf.c: Include <stdbool.h>.
20232 * nss/makedb.c: Likewise.
20233 * stdio-common/_i18n_number.h: Likewise.
20234 * argp/argp-help.c: Likewise.
20235 * posix/wordexp.c: Likewise.
20236 * sysdeps/posix/spawni.c: Likewise.
20237 * nss/nss_files/files-initgroups.c: Likewise.
20238 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20239 * nss/nss_files/files-initgroups.c: Likewise.
20240 * nss/nss_db/db-netgrp.c: Likewise.
20241 * nss/nss_db/db-initgroups.c: Likewise.
20242 * io/fchmodat.c: Include <sys/stat.h>.
20244 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20245 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20247 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20250 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20251 Add multiple inclusion protection.
20253 2012-07-27 David S. Miller <davem@davemloft.net>
20255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20257 2012-07-27 Gary Benson <gbenson@redhat.com>
20260 * elf/rtld.c: Include <stap-probe.h>.
20261 (dl_main): Added static probes "init_start" and "init_complete".
20262 * elf/dl-load.c: Include <stap-probe.h>.
20263 (lose): Take new parameter "nsid".
20264 Added static probe "map_failed".
20265 (_dl_map_object_from_fd): Pass namespace id to lose.
20266 Added static probe "map_start".
20267 (open_verify): Pass namespace id to lose.
20268 * elf/dl-open.c: Include <stap-probe.h>.
20269 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20270 and "reloc_complete".
20271 * elf/dl-close.c: Include <stap-probe.h>.
20272 (_dl_close_worker): Added static probes "unmap_start" and
20274 * elf/rtld-debugger-interface.txt: New file documenting the above.
20276 2012-07-26 Roland McGrath <roland@hack.frob.com>
20278 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20279 rather than a string variable.
20280 * sunrpc/rpc_main.c (h_output): Likewise.
20281 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20283 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20285 * inet/check_native.c: New file.
20287 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20290 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20291 if larger part has absolute value 1.0.
20292 * math/s_clog10.c (__clog10): Likewise.
20293 * math/s_clog10f.c (__clog10f): Likewise.
20294 * math/s_clog10l.c (__clog10l): Likewise.
20295 * math/s_clogf.c (__clogf): Likewise.
20296 * math/s_clogl.c (__clogl): Likewise.
20297 * math/libm-test.inc (clog_test): Add more tests.
20298 (clog10_test): Likewise.
20299 * sysdeps/i386/fpu/libm-test-ulps: Update.
20300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20302 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20303 (pltexit): Likewise.
20304 (La_regs): Likewise.
20305 (La_retval): Likewise.
20306 (int_retval): Likewise.
20307 Update #error for removed macros to refer only to definitions in
20309 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20311 (pltexit): Likewise.
20312 (La_regs): Likewise.
20313 (La_retval): Likewise.
20314 (int_retval): Likewise.
20315 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20317 (pltexit): Likewise.
20318 (La_regs): Likewise.
20319 (La_retval): Likewise.
20320 (int_retval): Likewise.
20321 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20323 (pltexit): Likewise.
20324 (La_regs): Likewise.
20325 (La_retval): Likewise.
20326 (int_retval): Likewise.
20327 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20329 (pltexit): Likewise.
20330 (La_regs): Likewise.
20331 (La_retval): Likewise.
20332 (int_retval): Likewise.
20333 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20335 (pltexit): Likewise.
20336 (La_regs): Likewise.
20337 (La_retval): Likewise.
20338 (int_retval): Likewise.
20339 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20341 (pltexit): Likewise.
20342 (La_regs): Likewise.
20343 (La_retval): Likewise.
20344 (int_retval): Likewise.
20345 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20346 macro definitions in tst-audit.h.
20347 * sysdeps/i386/tst-audit.h: New file.
20348 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20349 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20350 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20351 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20352 * sysdeps/sh/tst-audit.h: Likewise.
20353 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20354 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20355 * sysdeps/x86_64/tst-audit.h: Likewise.
20357 2012-07-26 Andreas Jaeger <aj@suse.de>
20359 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20362 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20363 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20364 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20366 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20367 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20368 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20370 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20373 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20375 (si_call_addr, si_syscall, si_arch): Define new macro.
20376 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20378 (si_call_addr, si_syscall, si_arch): Define new marcro.
20379 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20381 (si_call_addr, si_syscall, si_arch): Define new macro.
20382 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20384 (si_call_addr, si_syscall, si_arch): Define new macro.
20386 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20389 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20390 Change to 2.4.21 where previously 2.4.1.
20391 * sysdeps/unix/sysv/linux/configure: Regenerated.
20392 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20393 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20394 Linux kernel version.
20395 (__ASSUME_STD_AUXV): Remove.
20396 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20398 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20399 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20400 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20401 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20402 (__ASSUME_NETLINK_SUPPORT): Likewise.
20403 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20404 (__no_netlink_support): Remove conditional definition.
20405 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20407 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20408 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20409 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20410 (if_nameindex_ioctl): Remove.
20411 (if_nameindex_netlink): Do not handle __no_netlink_support.
20412 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20414 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20415 Remove conditional code.
20416 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20418 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20420 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20421 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20422 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20424 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20425 [!__ASSUME_STD_AUXV]: Remove conditional code.
20426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20427 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20428 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20430 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20431 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20433 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20435 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20436 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20438 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20440 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20443 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20446 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20447 code unconditional.
20448 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20450 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20452 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20455 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20457 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20460 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20461 code unconditional.
20462 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20464 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20466 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20469 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20470 code unconditional.
20471 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20473 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20475 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20478 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20480 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20481 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20482 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20483 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20484 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20485 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20486 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20487 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20488 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20489 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20490 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20491 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20492 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20493 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20494 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20495 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20496 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20497 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20498 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20500 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20501 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20502 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20504 2012-07-25 Florian Weimer <fweimer@redhat.com>
20506 * Versions.def: Add GLIBC_2.17.
20507 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20508 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20509 Introduce __libc_secure_getenv.
20510 * stdlib/Versions (2.17): Add secure_getenv
20511 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20512 * stdlib/secure-getenv.c: Rename __secure_getenv to
20513 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20514 symbol __secure_getenv for GLIBC_2.0.
20515 * stdlib/tst-secure-getenv.c: New.
20516 * stdlib/Makefile (tests): Add testcase.
20517 * manual/startup.texi (Environment Access): Document
20519 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20520 __libc_secure_getenv.
20521 * inet/ruserpass.c (ruserpass): Likewise.
20522 * malloc/mtrace.c (mtrace): Likewise.
20523 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20524 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20525 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20526 * sysdeps/posix/tempname.c: Likewise. Evaluate
20527 HAVE_SECURE_GETENV.
20528 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20529 __secure_getenv to __libc_secure_getenv.
20530 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20543 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20545 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20546 (struct La_i86_retval): Likewise.
20547 (struct La_x86_64_regs): Likewise.
20548 (struct La_x86_64_retval): Likewise.
20549 (struct La_x32_regs): Likewise.
20550 (struct La_x32_retval): Likewise.
20551 (struct La_ppc32_regs): Likewise.
20552 (struct La_ppc32_retval): Likewise.
20553 (struct La_ppc64_regs): Likewise.
20554 (struct La_ppc64_retval): Likewise.
20555 (struct La_sh_regs): Likewise.
20556 (struct La_sh_retval): Likewise.
20557 (struct La_s390_32_regs): Likewise.
20558 (struct La_s390_32_retval): Likewise.
20559 (struct La_s390_64_regs): Likewise.
20560 (struct La_s390_64_retval): Likewise.
20561 (struct La_sparc32_regs): Likewise.
20562 (struct La_sparc32_retval): Likewise.
20563 (struct La_sparc64_regs): Likewise.
20564 (struct La_sparc64_retval): Likewise.
20565 (struct audit_ifaces): Remove architecture-specific pltenter and
20567 * sysdeps/i386/ldsodefs.h: New file.
20568 * sysdeps/powerpc/ldsodefs.h: Likewise.
20569 * sysdeps/s390/ldsodefs.h: Likewise.
20570 * sysdeps/sh/ldsodefs.h: Likewise.
20571 * sysdeps/sparc/ldsodefs.h: Likewise.
20572 * sysdeps/x86_64/ldsodefs.h: Likewise.
20574 2012-07-25 Marek Polacek <polacek@redhat.com>
20577 * math/libm-test.inc (yn_test): Add another test.
20578 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20579 to ERANGE when the result is +-Inf.
20580 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20581 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20582 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20583 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20585 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20587 * conform/data/time.h-data (NULL): Use macro-constant. Require
20589 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20591 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20593 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20595 * configure.in <sysdeps resolving>: Correct printing
20597 * configure: Regenerate.
20599 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20601 * math/w_ilogb.c: Include <limits.h>.
20602 * math/w_ilogbl.c: Likewise.
20604 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20606 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20607 va_copy. Document allowing for unavailable va_copy only as
20608 pre-C99 compatibility.
20609 * manual/string.texi (Copying and Concatenation): Use va_copy
20610 instead of __va_copy in concat example.
20612 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20614 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20615 (__sendto): Use create_address_port. Initialize APORT and deallocate
20618 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20619 with O_NOLINK passed to __file_name_lookup.
20621 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20622 with O_NOLINK passed to __file_name_lookup.
20624 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20625 negative N or less than NGIDS.
20627 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20628 type to string_t. Set ERANGE as errno and return it if NAME is not big
20629 enough. Use memcpy instead of strncpy.
20631 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20633 * elf/Makefile (check-data): Remove.
20634 (localplt.data): New vpath directive.
20635 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20636 instead of $(check-data).
20637 * scripts/data/localplt-generic.data: Move to ...
20638 * sysdeps/generic/localplt.data: ... here.
20639 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20640 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20641 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20644 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20647 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20650 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20653 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20656 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20660 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20662 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20663 PPC32 and PPC64 files.
20664 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20665 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20667 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20669 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20670 __makecontext_ret to ...
20671 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20672 ... here and call exit if uc_link is NULL. New file.
20673 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20674 __makecontext_ret.S.
20675 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20676 __makecontext_ret to ...
20677 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20678 ... here and call exit if uc_link is NULL. New file.
20679 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20680 __makecontext_ret.S.
20682 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20684 * elf/elf.h (R_390_IRELATIVE): New definition.
20685 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20686 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20687 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20688 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20689 (elf_machine_lazy_rel): Likewise.
20690 * sysdeps/s390/dl-irel.h: New file.
20691 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20692 * sysdeps/s390/s390-64/memset.S: New asm code.
20693 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20694 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20695 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20696 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20697 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20698 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20699 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20700 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20701 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20702 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20703 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20704 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20705 * sysdeps/s390/s390-32/memset.S: New asm code.
20706 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20708 2012-07-17 Marek Polacek <polacek@redhat.com>
20711 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20712 * sysdeps/s390/s390-64/configure.in: Likewise.
20713 * sysdeps/sparc/configure.in: Likewise.
20714 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20715 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20716 * sysdeps/i386/configure.in: Likewise.
20717 * sysdeps/x86_64/configure.in: Likewise.
20718 * sysdeps/sh/configure.in: Likewise.
20719 * sysdeps/s390/s390-32/configure: Regenerated.
20720 * sysdeps/s390/s390-64/configure: Likewise.
20721 * sysdeps/x86_64/configure: Likewise.
20722 * sysdeps/sh/configure: Likewise.
20723 * sysdeps/powerpc/powerpc64/configure: Likewise.
20724 * sysdeps/powerpc/powerpc32/configure: Likewise.
20725 * sysdeps/sparc/configure: Likwise.
20726 * sysdeps/i386/configure: Likewise.
20728 * elf/dl-open.c: Comment fixes.
20730 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20732 * Makefile [CXX] (check-data): Remove.
20733 [CXX] (c++-types.data): New vpath directive.
20734 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20735 vpath. Do not allow for C++ type data being missing.
20736 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20737 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20738 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20739 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20740 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20741 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20742 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20745 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20748 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20751 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20754 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20757 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20760 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20763 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20766 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20767 definitions to architecture-specific files.
20768 (TLS_IE): Likewise.
20769 (TLS_LD): Likewise.
20770 (TLS_GD): Likewise.
20771 * sysdeps/i386/tls-macros.h: New file.
20772 * sysdeps/powerpc/tls-macros.h: Likewise.
20773 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20774 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20775 * sysdeps/sh/tls-macros.h: Likewise.
20776 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20777 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20778 * sysdeps/x86_64/tls-macros.h: Likewise.
20780 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20782 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20783 zero value for regular exit case.
20785 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20786 (__start_context): Preserve zero value for regular exit case.
20788 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20789 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20791 * manual/setjmp.texi (setcontext): Clarify normal process
20792 termination when uc_link is the null pointer.
20793 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20796 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20798 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20799 preprocessor. Test for each exception mask separately.
20801 2012-07-16 Andreas Jaeger <aj@suse.de>
20803 * po/ru.po: Update from translation team.
20805 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20807 * conform/data/string.h-data (NULL): Use macro-constant. Require
20809 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20810 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20811 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20812 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20813 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20815 2012-07-13 Andreas Jaeger <aj@suse.de>
20817 * po/fr.po: Update from translation team.
20819 2012-07-12 Marek Polacek <polacek@redhat.com>
20822 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20823 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20826 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20829 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20830 Change to 2.4.1 where previously 2.4.0.
20831 * sysdeps/unix/sysv/linux/configure: Regenerated.
20832 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20833 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20835 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20836 (__ASSUME_AT_CLKTCK): Remove.
20837 (__ASSUME_AT_PAGESIZE): Likewise.
20838 (__ASSUME_AT_XID): Likewise.
20839 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20840 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20841 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20843 (HAVE_AUX_PAGESIZE): Likewise.
20844 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20845 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20846 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20848 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20852 the temporary buffer used to invoke __gethostbyname2_r,
20853 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20854 host_data / struct gaih_addrtuple.
20855 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20856 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20857 header file nss/nsswitch.h.
20858 * nss/nsswitch.h (global scope): Add definition of implementation
20859 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20860 resolv/nss_dns/dns-host.c).
20862 2012-07-11 Andreas Jaeger <aj@suse.de>
20864 * po/fr.po: Update from translation team.
20866 * po/sv.po: Update from translation team
20867 * po/fr.po: Another update from translation team.
20869 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20871 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20872 for subnormals or multiply small sinh result by itself.
20873 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20876 2012-07-11 David S. Miller <davem@davemloft.net>
20878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20880 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20883 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20884 (INTERNAL_MARK): Shift it here.
20886 2012-07-10 Marek Polacek <polacek@redhat.com>
20889 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20890 libc_cv_asm_global_directive with .globl.
20891 * configure: Regenerated.
20892 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20894 * sysdeps/i386/configure: Regenerated.
20895 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20897 * sysdeps/x86_64/configure: Regenerated.
20898 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20899 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20900 * elf/tst-unique2mod2.c: Likewise.
20901 * elf/tst-unique2mod1.c: Likewise.
20902 * elf/tst-unique1mod2.c: Likewise.
20903 * elf/tst-unique1mod1.c: Likewise.
20904 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20905 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20906 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20907 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20908 * sysdeps/mach/sysdep.h: Likewise.
20909 * sysdeps/i386/sysdep.h: Likewise.
20910 * sysdeps/i386/i386-mcount.S: Likewise.
20911 * sysdeps/x86_64/_mcount.S: Likewise.
20912 * sysdeps/x86_64/sysdep.h: Likewise.
20913 * sysdeps/sh/_mcount.S: Likewise.
20914 * sysdeps/sh/sysdep.h: Likewise.
20915 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20916 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20917 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20918 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20919 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20920 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20921 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20922 * locale/localeinfo.h: Likewise.
20923 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20924 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20926 2012-07-09 Roland McGrath <roland@hack.frob.com>
20929 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20931 * manual/message.texi (The Uniforum approach): Likewise.
20932 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20933 (glibc iconv Implementation): Likewise.
20935 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20938 * math/s_clog.c (__clog): Avoid scaling a value down where that
20939 could result in underflow.
20940 * math/s_clog10.c (__clog10): Likewise.
20941 * math/s_clog10f.c (__clog10f): Likewise.
20942 * math/s_clog10l.c (__clog10l): Likewise.
20943 * math/s_clogf.c (__clogf): Likewise.
20944 * math/s_clogl.c (__clogl): Likewise.
20945 * math/libm-test.inc (clog_test): Add more tests.
20946 (clog10_test): Likewise.
20947 * sysdeps/i386/fpu/libm-test-ulps: Update.
20948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20950 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20953 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20954 by 7 not 8 to examine high bit of fractional part.
20957 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20958 for call to __mcount_internal.
20959 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20960 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20961 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20963 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20966 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20967 approximation for values within 0x1p-13f of an odd multiple of
20969 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20970 exception. Add more tests.
20971 * sysdeps/i386/fpu/libm-test-ulps: Update.
20974 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20975 inputs and return -1 for them. Do not check for +Inf in case not
20976 reachable for +Inf.
20977 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20978 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20980 and return -1 for them. Do not check for +Inf in case not
20981 reachable for +Inf.
20982 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20984 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20985 and return -1 for them. Do not check for +Inf in case not
20986 reachable for +Inf.
20987 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20988 spurious underflow.
20989 * sysdeps/i386/fpu/libm-test-ulps: Update.
20990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20992 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20994 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20996 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21000 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21001 could result in spurious underflow. Scale down values above
21002 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21003 * math/s_csqrtf.c (__csqrtf): Likewise.
21004 * math/s_csqrtl.c (__csqrtl): Likewise.
21005 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21006 spurious underflow.
21007 * sysdeps/i386/fpu/libm-test-ulps: Update.
21008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21010 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21012 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21014 * catgets/xopen-msg.awk: New file.
21015 * catgets/xopen-msg.sed: Removed.
21017 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21019 * intl/po2test.awk: New file.
21020 * intl/po2test.sed: Removed.
21022 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21025 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21026 or multiply small sinh result by itself.
21027 * math/s_ctanf.c (__ctanf): Likewise.
21028 * math/s_ctanh.c (__ctanh): Likewise.
21029 * math/s_ctanhf.c (__ctanhf): Likewise.
21030 * math/s_ctanhl.c (__ctanhl): Likewise.
21031 * math/s_ctanl.c (__ctanl): Likewise.
21032 * math/libm-test.inc (ctan_test_tonearest): New function.
21033 (ctan_test_towardzero): Likewise.
21034 (ctan_test_downward): Likewise.
21035 (ctan_test_upward): Likewise.
21036 (ctanh_test_tonearest): Likewise.
21037 (ctanh_test_towardzero): Likewise.
21038 (ctanh_test_downward): Likewise.
21039 (ctanh_test_upward): Likewise.
21040 (main): Call these new functions.
21041 * sysdeps/i386/fpu/libm-test-ulps: Update.
21042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21044 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21046 * .gitignore: Delete /ports entry.
21048 2012-07-03 Andreas Jaeger <aj@suse.de>
21050 * po/bg.po: Update from translation team.
21051 * po/cs.po: Likewise.
21052 * po/de.po: Likewise.
21053 * po/hr.po: Likewise.
21054 * po/nl.pl: Likewise.
21055 * po/pl.po: Likewise.
21056 * po/vi.po: Likewise.
21058 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21060 * Makeconfig [!+link] (+link-before-libc): New variable.
21061 [!+link] (+link-after-libc): Likewise.
21062 [!+link] (+link-tests): Likewise.
21063 [!+link] (+link): Define in terms of $(+link-before-libc) and
21064 $(+link-after-libc).
21065 [!+link-static] (+link-static-before-libc): New variable.
21066 [!+link-static] (+link-static-after-libc): Likewise.
21067 [!+link-static] (+link-static-tests): Likewise.
21068 [!+link-static] (+link-static): Define in terms of
21069 $(+link-static-before-libc) and $(+link-static-after-libc).
21070 [build-shared] (link-libc-before-gnulib): New variable.
21071 [build-shared] (link-libc-tests): Likewise.
21072 [build-shared] (link-libc): Define in terms of
21073 $(link-libc-before-gnulib).
21074 [!build-shared] (link-libc-tests): New variable.
21075 (link-libc-static-tests): New variable.
21076 [!gnulib] (gnulib-arch): New variable.
21077 [!gnulib] (gnulib-tests): Likewise.
21078 [!gnulib] (static-gnulib-arch): Likewise.
21079 [!gnulib] (static-gnulib-tests): Likewise.
21080 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21081 Define with "=" instead of ":=".
21082 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21083 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21084 * Rules (binaries-all-notests): New variable.
21085 (binaries-all-tests): Likewise.
21086 (binaries-static-notests): Likewise.
21087 (binaries-static-tests): Likewise.
21088 (binaries-all): Define using $(binaries-all-notests) and
21089 $(binaries-all-tests).
21090 (binaries-static): Define using $(binaries-static-notests) and
21091 $(binaries-static-tests).
21092 (binaries-shared-tests): New variable.
21093 (binaries-shared-notests): Likewise.
21094 (binaries-shared): Remove variable.
21095 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21096 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21097 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21098 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21099 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21100 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21101 * elf/Makefile (sln-modules): New variable.
21102 (extra-objs): Add $(sln-modules:=.o).
21103 (ldconfig-modules): Add static-stubs.
21104 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21105 * elf/static-stubs.c: New file.
21108 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21109 by 7 not 8 to examine high bit of fractional part. Use volatile
21110 variables when splitting into final array of floats if
21111 __FLT_EVAL_METHOD__ != 0.
21112 * math/libm-test.inc (cos_test): Add another test.
21113 (sin_test): Likewise.
21114 * sysdeps/i386/fpu/libm-test-ulps: Update.
21117 * math/libm-test.inc (cosh_test): Add more tests.
21119 * version.h (RELEASE): Set to "development".
21120 (VERSION): Set to "2.16.90".
21122 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21124 * NEWS: Update copyright. Remove last-updated date.
21125 Mention math library bug fixes and timezone data changes.
21126 * README: Mention GNU/Hurd, x32, and HPPA support status.
21128 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21130 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21132 2012-06-27 Andreas Jaeger <aj@suse.de>
21134 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21136 2012-06-25 Andreas Jaeger <aj@suse.de>
21138 * sysdeps/s390/fpu/libm-test-ulps: Update.
21140 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21141 Thomas Schwinge <thomas@codesourcery.com>
21143 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21144 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21145 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21148 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21150 * sysdeps/mach/start.c: Remove file.
21151 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21152 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21153 * sysdeps/sh/init-first.c: Likewise.
21155 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21156 registers for frame unwinding purposes, add CFI directives.
21157 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21158 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21159 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21162 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21163 __fortify_fail returning.
21164 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21166 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21167 sysdeps/sh/____longjmp_chk.S.
21168 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21169 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21170 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21171 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21173 * sysdeps/sh/abort-instr.h: New file.
21174 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21175 process in case exit returns.
21177 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21178 initialize the GOT register before use.
21180 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21181 calculation of ARGC > 4.
21183 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21184 meaningful names to some local labels.
21186 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21187 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21189 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21190 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21191 (__arch_compare_and_exchange_val_16_acq): Likewise.
21192 (__arch_compare_and_exchange_val_32_acq): Likewise.
21193 (atomic_exchange_and_add): Fix gUSA sequence.
21194 (atomic_add): Likewise.
21195 (atomic_add_negative): Likewise.
21196 (atomic_add_zero): Likewise.
21197 (atomic_bit_test_set): Likewise.
21199 2012-06-22 Andreas Schwab <schwab@redhat.com>
21202 * include/link.h (struct link_map): Add l_free_initfini.
21203 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21205 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21206 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21207 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21210 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21212 * configure.in: Use AC_LANG_SOURCE.
21213 * configure: Regenerate.
21215 2012-06-22 Roland McGrath <roland@hack.frob.com>
21217 * configure.in (libc_cv_localstatedir): New substituted variable.
21218 * configure: Regenerated.
21219 * config.make.in (localstatedir): New variable, substituted from
21220 libc_cv_localstatedir.
21221 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21222 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21223 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21224 * sysdeps/gnu/configure: Regenerated.
21226 2012-06-21 Jeff Law <law@redhat.com>
21229 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21230 free. Simplify list management for _LIBC case.
21232 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21235 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21236 Clear sign bit of 64-bit integer value before comparing against
21239 * sysdeps/mach/configure: Regenerated.
21241 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21244 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21246 2012-06-21 Jeff Law <law@redhat.com>
21249 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21250 uint16_t for elements in the "seen" array to avoid char overflows.
21251 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21252 * elf/dl-open.c (dl_open_worker): Likewise.
21254 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21256 * scripts/list-sources.sh: Scan PORTS for translations.
21257 * po/libc.pot: Regenerated.
21259 2012-06-21 Andreas Jaeger <aj@suse.de>
21262 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21264 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21265 * bits/byteswap-16.h (__bswap_16): Likewise.
21266 * bits/byteswap.h (__bswap_constant_16): Likewise.
21268 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21271 * sysdeps/i386/fpu_control.h: Removed.
21272 * sysdeps/x86_64/fpu_control.h: Moved to ...
21273 * sysdeps/x86/fpu_control.h: Here.
21275 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21276 (_FPU_SETCW): Likewise.
21278 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21281 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21282 * sysdeps/x86/fpu/bits/mathinline.h: This.
21283 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21287 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21288 functions if __x86_64__ is defined.
21290 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21292 * string/endian.h: Add !__ASSEMBLER__ condition for including
21293 conversion interfaces.
21295 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21299 of ABS(x) in calculating zero to negative powers other than odd
21301 * math/libm-test.inc (pow_test): Add more tests.
21303 2012-06-15 Andreas Jaeger <aj@suse.de>
21305 * manual/contrib.texi (Contributors): Update entry of Liubov
21306 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21309 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21311 * string/string.h: Add __wur to GNU version of strerror_r.
21313 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21316 * string/Makefile (tests): Add tst-strtok_r.
21317 * string/tst-strtok_r.c: New file.
21318 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21319 RAX_LP/RDX_LP on SAVE_PTR.
21321 2012-06-14 Roland McGrath <roland@hack.frob.com>
21323 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21325 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21327 * libm_test.inc (csqrt_test): Allow more spurious underflow
21329 (j0_test): Likewise.
21330 (j1_test): Likewise.
21331 (y0_test): Likewise.
21332 (y1_test): Likewise.
21334 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21336 * po/Makefile (libc.pot): Use UTF-8 charset.
21338 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21341 Suppress sign-conversion warning from FD_SET.
21342 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21343 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21344 not unsigned long int.
21345 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21347 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21351 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21352 __extern_always_inline instead of __extern_inline.
21353 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21354 (__signbit): Likewise.
21355 (__signbitl): Support C++ namespace.
21356 (lrintf): New inline function.
21358 (llrintf): Likewise.
21359 (llrint): Likewise.
21369 (floorf): Likewise.
21370 (nearbyint): Likewise.
21371 (nearbyintf): Likewise.
21373 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21375 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21376 non-default versions.
21378 2012-06-11 Roland McGrath <roland@hack.frob.com>
21381 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21383 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21385 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21386 (FE_UPWARD, FE_DOWNWARD): Don't define.
21387 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21388 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21390 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21392 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21393 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21395 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21397 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21398 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21399 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21400 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21402 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21405 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21406 * sysdeps/i386/fpu/Implies: New file.
21407 * sysdeps/x86_64/fpu/Implies: Likewise.
21408 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21409 * sysdeps/x86/fpu/bits/fenv.h: This.
21411 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21414 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21417 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21418 character 0xffff that matches the last element of the
21421 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21423 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21426 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21428 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21429 values higher than 25.6283.
21431 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21433 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21434 subnormal exponent extraction and add some __builtin_expect.
21435 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21436 Fix for subnormal mantissa calculation.
21438 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21440 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21441 cpu2 is -1 and errno is not ENOSYS.
21443 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21446 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21447 * sysdeps/x86/bits/string.h: This.
21448 * sysdeps/x86_64/bits/string.h: Removed.
21450 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21451 if not compiling for x86-64, but compiling for >= i486.
21453 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21454 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21456 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21457 New macro from Linux kernel 3.4.0.
21458 (FP_XSTATE_MAGIC2): Likewise.
21459 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21460 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21461 (struct _fpx_sw_bytes): New struct.
21462 (struct _xsave_hdr): Likewise.
21463 (struct _ymmh_state): Likewise.
21464 (struct _xstate): Likewise.
21466 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21467 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21468 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21469 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21470 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21471 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21473 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21474 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21475 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21476 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21477 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21478 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21480 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21483 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21484 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21485 (sysdep_headers): Include sys/platform/ppc.h.
21486 * sysdeps/powerpc/test-gettimebase.c: Test for
21487 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21488 * manual/Makefile (appendices): Include platform.texi.
21489 * manual/contrib.texi (Contributors): Update @node pointers.
21490 * manual/maint.texi (Maintenance): Likewise.
21491 (Platform): New node.
21492 * manual/platform.texi: New file. Document the new features.
21494 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21495 Jakub Jelinek <jakub@redhat.com>
21498 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21499 where __builtin_expect is unavailable.
21501 2012-06-03 David S. Miller <davem@davemloft.net>
21503 * stdlib/longlong.h: Updated from GCC.
21505 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21508 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21509 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21512 (GLIBC_2.16): Likewise.
21514 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21516 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21518 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21521 (default-abi): New variable.
21522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21523 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21525 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21527 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21529 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21532 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21533 definition. Document in comment.
21535 2012-06-01 David S. Miller <davem@davemloft.net>
21537 * stdlib/longlong.h: Updated from GCC.
21539 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21542 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21543 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21544 sys/debugreg.h sys/io.h here.
21545 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21546 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21548 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21549 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21550 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21551 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21552 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21553 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21555 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21556 Define only if __x86_64__ is defined.
21558 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21561 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21562 Use int64_t for variable i.
21563 * math/libm-test.inc (fmod_test): Add more tests.
21565 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21566 z computation is not scheduled after fetestexcept.
21567 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21568 Use math_force_eval instead of asm to ensure calculation scheduled
21569 before exception test.
21570 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21571 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21573 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21576 computation is not scheduled after fetestexcept.
21578 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21581 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21582 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21584 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21586 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21587 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21589 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21592 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21594 (__WCHAR_MIN): Support __WORDSIZE == 64.
21595 (__WCHAR_MAX): Likewise.
21597 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21598 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21601 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21602 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21605 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21606 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21608 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21609 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21611 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21612 Defined to 1 if __x86_64__ isn't defined.
21613 (_STAT_VER_LINUX_OLD): New.
21614 (st_atime): Remove duplicate.
21615 (st_mtime): Likewise.
21616 (st_ctime): Likewise.
21618 2012-05-31 David S. Miller <davem@davemloft.net>
21620 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21623 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21625 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21629 * elf/dl-reloc.c: Include <_itoa.h>.
21630 (_dl_reloc_bad_type): Remove use of INTUSE.
21631 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21632 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21633 * stdio-common/psiginfo.c (psiginfo): Likewise.
21634 * stdio-common/psignal.c (psignal): Likewise.
21635 * string/strsignal.c (strsignal): Likewise.
21636 * include/signal.h (_sys_siglist): Declare hidden proto.
21637 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21638 INTVARDEF with libc_hidden_data_def.
21639 * stdio-common/itoa-udigits.c: Likewise.
21640 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21641 (_itoa_lower_digits_internal): Remove declaration.
21642 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21643 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21644 (_sys_sigabbrev_internal): Remove aliases.
21645 (_sys_siglist): Define hidden alias.
21647 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21652 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21655 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21656 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21658 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21659 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21660 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21661 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21663 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21665 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21666 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21667 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21669 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21677 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21678 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21679 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21681 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21682 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21683 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21684 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21685 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21686 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21688 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21689 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21691 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21692 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21694 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21695 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21696 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21698 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21699 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21701 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21703 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21704 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21705 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21707 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21709 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21711 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21713 * math/math.h (M_El): Use two more decimal places.
21714 (M_LOG2El): Likewise.
21715 (M_LOG10El): Likewise.
21716 (M_LN2l): Likewise.
21717 (M_LN10l): Likewise.
21719 (M_PI_2l): Likewise.
21720 (M_PI_4l): Likewise.
21721 (M_1_PIl): Likewise.
21722 (M_2_PIl): Likewise.
21723 (M_2_SQRTPIl): Likewise.
21724 (M_SQRT2l): Likewise.
21725 (M_SQRT1_2l): Likewise.
21727 2012-05-31 David S. Miller <davem@davemloft.net>
21729 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21730 values between float registers.
21731 * sysdeps/sparc/sparc64/memset.S: Likewise.
21732 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21734 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21736 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21737 -D_FORTIFY_SOURCE=1.
21738 (CPPFLAGS-tst-longjmp_chk.c): Define.
21739 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21740 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21741 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21742 CFLAGS-tst-wchar-h.c.
21744 2012-05-31 Marek Polacek <polacek@redhat.com>
21747 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21748 __endmntent_internal): Remove declaration.
21749 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21750 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21751 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21753 2012-05-30 David S. Miller <davem@davemloft.net>
21755 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21756 (___Q_simulate_exceptions): Use real FP ops rather than writing
21758 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21761 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21764 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21765 * sysdeps/x86/bits/xtitypes.h: This.
21767 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21768 * sysdeps/x86/bits/wordsize.h: This.
21770 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21771 * sysdeps/x86/bits/huge_vall.h: This.
21773 * sysdeps/i386/bits/select.h: Removed.
21774 * sysdeps/x86_64/bits/select.h: Renamed to ...
21775 * sysdeps/x86/bits/select.h: This.
21777 * sysdeps/i386/bits/setjmp.h: Removed.
21778 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21779 * sysdeps/x86/bits/setjmp.h: This.
21781 * sysdeps/i386/bits/mathdef.h: Removed.
21782 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21783 * sysdeps/x86/bits/mathdef.h: This.
21785 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21788 * include/sys/socket.h (__connect_internal)
21789 (__libc_sa_len_internal): Remove declaration.
21790 (__connect, __libc_sa_len): Declare hidden_proto.
21791 (SA_LEN): Remove use of INTUSE.
21792 * socket/connect.c: Add libc_hidden_def.
21793 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21794 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21795 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21797 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21798 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21799 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21800 of adding _internal alias.
21802 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21805 * sysdeps/i386/bits/link.h: Removed.
21806 * sysdeps/i386/bits/linkmap.h: Likewise.
21807 * sysdeps/x86_64/bits/link.h: Renamed to ...
21808 * sysdeps/x86/bits/link.h: This.
21809 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21810 * sysdeps/x86/bits/linkmap.h: This.
21812 * sysdeps/i386/bits/endian.h: Removed.
21813 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21814 * sysdeps/x86/bits/endian.h: This.
21816 * sysdeps/i386/bits/byteswap.h: Removed.
21817 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21818 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21819 * sysdeps/x86/bits/byteswap.h: This.
21820 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21821 * sysdeps/x86/bits/byteswap-16.h: This.
21822 * sysdeps/i386/Implies: Add x86.
21823 * sysdeps/x86_64/Implies: Likewise.
21825 2012-05-30 David S. Miller <davem@davemloft.net>
21827 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21828 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21829 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21830 (FP_TRAPPING_EXCEPTIONS): Define.
21831 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21832 (FP_TRAPPING_EXCEPTIONS): Define.
21833 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21834 subnormals only when inexact has been signalled or underflow
21835 exceptions are enabled.
21836 (_FP_PACK_CANONICAL): Likewise.
21838 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21841 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21842 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21844 2012-05-30 Richard Henderson <rth@twiddle.net>
21846 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21847 with #ifndef NOT_IN_libc.
21849 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21850 marked to avoid plt entry.
21852 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21855 * Makeconfig (default-abi): New macro.
21856 (abi-includes): Likewise.
21857 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21858 $(abi-$(default-abi)-lib-soname) for soname if defined.
21859 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21861 * Makefile (installed-stubs): Likewise.
21862 * include/stubs-biarch.h: Removed.
21863 * scripts/lib-names.awk: Only handle one library at a time.
21864 * scripts/soversions.awk: Remove WORDSIZE support.
21865 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21867 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21869 (syscall-list-default-condition): Likewise.
21870 (syscall-list-default-condition): Likewise.
21871 (syscall-list-includes): Likewise.
21872 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21873 syscall-list-* with abi-*. Handle undefined abi-variants.
21874 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21875 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21876 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21877 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21878 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21879 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21881 (syscall-list-32-options): Likewise.
21882 (syscall-list-32-condition): Likewise.
21883 (syscall-list-64-options): Likewise.
21884 (syscall-list-64-condition): Likewise.
21885 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21887 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21890 (abi-64-ld-soname): New macro.
21891 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21892 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21895 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21896 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21898 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21900 * sysdeps/unix/sysv/linux/kernel-features.h
21901 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21902 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21903 include <kernel-features.h>.
21904 [!__NR_ftruncate64]: Remove conditional code.
21905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21906 [__NR_ftruncate64]: Make code unconditional.
21907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21908 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21909 include <kernel-features.h>.
21910 [!__NR_ftruncate64]: Remove conditional code.
21911 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21912 [__NR_ftruncate64]: Make code unconditional.
21913 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21915 include <kernel-features.h>.
21916 [!__NR_ftruncate64]: Remove conditional code.
21917 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21918 [__NR_ftruncate64]: Make code unconditional.
21919 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21921 include <kernel-features.h>.
21922 [!__NR_ftruncate64]: Remove conditional code.
21923 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21924 [__NR_ftruncate64]: Make code unconditional.
21925 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21927 * configure.in (libc_cv_fpie): Weaken to a compile test using
21928 LIBC_TRY_CC_OPTION.
21929 * configure: Regenerated.
21931 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21946 2012-05-27 David S. Miller <davem@davemloft.net>
21948 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21950 (__Q_simulate_exceptions): Return void. Change to simulate
21951 exceptions by writing into the %fsr.
21952 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21953 (__Qp_handle_exceptions): Likewise.
21955 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21956 __Qp_handle_exceptions.
21957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21958 __Qp_handle_exceptions.
21959 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21960 as unused and give dummy FP_RND_NEAREST initializer.
21961 (FP_INHIBIT_RESULTS): Define.
21962 (___Q_simulate_exceptions): Update declaration.
21963 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21965 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21966 as unused and give dummy FP_RND_NEAREST initializer.
21967 (__Qp_handle_exceptions): Update declaration.
21968 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21971 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21973 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21974 the temporary FPU control word.
21975 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21976 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21977 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21978 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21979 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21980 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21981 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21982 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21983 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21984 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21985 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21987 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21989 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21992 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21994 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21995 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21996 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21997 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21999 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22000 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22003 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22005 * po/h.po: Update from translation team.
22007 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22009 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22011 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22012 handling of denormals.
22013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22014 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22015 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22016 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22018 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22022 2012-05-26 Marek Polacek <polacek@redhat.com>
22025 * math/libm-test.inc (fma_test): Don't always expect underflow
22028 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22031 * elf/tst-execstack.c: Include stackinfo.h.
22032 (do_test): Adjust test case to ensure that pthread_getattr_np
22033 behaviour remains the same after marking stack executable.
22035 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22037 * sysdeps/unix/sysv/linux/kernel-features.h
22038 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22039 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22041 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22042 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22043 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22045 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22046 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22048 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22050 * configure.in: Define the default includes to being none.
22051 * configure: Regenerated.
22053 2012-05-25 Roland McGrath <roland@hack.frob.com>
22055 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22056 * sysdeps/x86_64/setjmp.S: Likewise.
22057 * sysdeps/i386/bsd-setjmp.S: Likewise.
22058 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22059 * sysdeps/i386/setjmp.S: Likewise.
22060 * sysdeps/i386/__longjmp.S: Likewise.
22061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22062 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22064 * include/stap-probe.h: New file.
22065 * configure.in: Handle --enable-systemtap.
22066 * configure: Regenerated.
22067 * config.h.in (USE_STAP_PROBE): New #undef.
22068 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22069 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22070 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22072 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22075 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22076 to 2.4.0 where earlier.
22077 * sysdeps/unix/sysv/linux/configure: Regenerated.
22078 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22079 <kernel-features.h>.
22080 [__ASSUME_32BITUIDS]: Make code unconditional.
22081 [!__ASSUME_32BITUIDS]: Remove conditional code.
22082 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22083 <kernel-features.h>.
22084 [__ASSUME_32BITUIDS]: Make code unconditional.
22085 [!__ASSUME_32BITUIDS]: Remove conditional code.
22086 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22087 [__ASSUME_32BITUIDS]: Make code unconditional.
22088 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22089 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22090 <kernel-features.h>.
22091 [__ASSUME_32BITUIDS]: Make code unconditional.
22092 [!__ASSUME_32BITUIDS]: Remove conditional code.
22093 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22094 <kernel-features.h>.
22095 [__ASSUME_32BITUIDS]: Make code unconditional.
22096 [!__ASSUME_32BITUIDS]: Remove conditional code.
22097 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22098 <kernel-features.h>.
22099 [__ASSUME_32BITUIDS]: Make code unconditional.
22100 [!__ASSUME_32BITUIDS]: Remove conditional code.
22101 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22102 <kernel-features.h>.
22103 [__ASSUME_32BITUIDS]: Make code unconditional.
22104 [!__ASSUME_32BITUIDS]: Remove conditional code.
22105 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22106 <kernel-features.h>.
22107 [__ASSUME_32BITUIDS]: Make code unconditional.
22108 [!__ASSUME_32BITUIDS]: Remove conditional code.
22109 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22110 <kernel-features.h>.
22111 [__ASSUME_32BITUIDS]: Make code unconditional.
22112 [!__ASSUME_32BITUIDS]: Remove conditional code.
22113 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22114 <kernel-features.h>.
22115 [__ASSUME_32BITUIDS]: Make code unconditional.
22116 [!__ASSUME_32BITUIDS]: Remove conditional code.
22117 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22118 <kernel-features.h>.
22119 [__ASSUME_32BITUIDS]: Make code unconditional.
22120 [!__ASSUME_32BITUIDS]: Remove conditional code.
22121 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22122 <kernel-features.h>.
22123 [__ASSUME_32BITUIDS]: Make code unconditional.
22124 [!__ASSUME_32BITUIDS]: Remove conditional code.
22125 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22126 <kernel-features.h>.
22127 [__ASSUME_32BITUIDS]: Make code unconditional.
22128 [!__ASSUME_32BITUIDS]: Remove conditional code.
22129 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22130 <kernel-features.h>.
22131 [__NR_setresgid] (__setresgid): Do not declare.
22132 [__ASSUME_32BITUIDS]: Make code unconditional.
22133 [!__ASSUME_32BITUIDS]: Remove conditional code.
22134 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22135 <kernel-features.h>.
22136 [__NR_setresuid] (__setresuid): Do not declare.
22137 [__ASSUME_32BITUIDS]: Make code unconditional.
22138 [!__ASSUME_32BITUIDS]: Remove conditional code.
22139 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22140 <kernel-features.h>.
22141 [__ASSUME_32BITUIDS]: Make code unconditional.
22142 [!__ASSUME_32BITUIDS]: Remove conditional code.
22143 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22144 <kernel-features.h>.
22145 [__ASSUME_32BITUIDS]: Make code unconditional.
22146 [!__ASSUME_32BITUIDS]: Remove conditional code.
22147 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22148 <kernel-features.h>.
22149 [__ASSUME_32BITUIDS]: Make code unconditional.
22150 [!__ASSUME_32BITUIDS]: Remove conditional code.
22151 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22152 <kernel-features.h>.
22153 [__ASSUME_32BITUIDS]: Make code unconditional.
22154 [!__ASSUME_32BITUIDS]: Remove conditional code.
22155 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22156 <kernel-features.h>.
22157 [__ASSUME_32BITUIDS]: Make code unconditional.
22158 [!__ASSUME_32BITUIDS]: Remove conditional code.
22159 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22160 <kernel-features.h>.
22161 [__ASSUME_32BITUIDS]: Make code unconditional.
22162 [!__ASSUME_32BITUIDS]: Remove conditional code.
22163 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22164 <kernel-features.h>.
22165 [__ASSUME_32BITUIDS]: Make code unconditional.
22166 [!__ASSUME_32BITUIDS]: Remove conditional code.
22167 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22168 <kernel-features.h>.
22169 [__ASSUME_32BITUIDS]: Make code unconditional.
22170 [!__ASSUME_32BITUIDS]: Remove conditional code.
22171 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22172 <kernel-features.h>.
22173 [__ASSUME_32BITUIDS]: Make code unconditional.
22174 [!__ASSUME_32BITUIDS]: Remove conditional code.
22175 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22176 <kernel-features.h>.
22177 [__ASSUME_32BITUIDS]: Make code unconditional.
22178 [!__ASSUME_32BITUIDS]: Remove conditional code.
22179 * sysdeps/unix/sysv/linux/kernel-features.h
22180 (__ASSUME_SETRESUID_SYSCALL): Remove.
22181 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22182 (__ASSUME_32BITUIDS): Likewise.
22183 (__ASSUME_LDT_WORKS): Likewise.
22184 (__ASSUME_O_DIRECTORY): Likewise.
22185 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22186 architecture but not kernel version.
22187 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22188 (__ASSUME_MMAP2_SYSCALL): Likewise.
22189 (__ASSUME_STAT64_SYSCALL): Likewise.
22190 (__ASSUME_IPC64): Likewise.
22191 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22192 <kernel-features.h>.
22193 [__ASSUME_32BITUIDS]: Make code unconditional.
22194 [!__ASSUME_32BITUIDS]: Remove conditional code.
22195 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22196 <kernel-features.h>.
22197 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22198 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22199 132096]: Remove conditional code.
22200 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22201 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22202 <kernel-features.h>.
22203 [__ASSUME_32BITUIDS]: Make code unconditional.
22204 [!__ASSUME_32BITUIDS]: Remove conditional code.
22205 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22206 <kernel-features.h>.
22207 [__ASSUME_32BITUIDS]: Make code unconditional.
22208 [!__ASSUME_32BITUIDS]: Remove conditional code.
22209 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22210 <kernel-features.h>.
22211 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22213 (__setresgid): Do not declare.
22214 [__ASSUME_32BITUIDS]: Make code unconditional.
22215 [!__ASSUME_32BITUIDS]: Remove conditional code.
22216 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22217 <kernel-features.h>.
22218 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22220 (__setresuid): Do not declare.
22221 [__ASSUME_32BITUIDS]: Make code unconditional.
22222 [!__ASSUME_32BITUIDS]: Remove conditional code.
22223 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22224 <kernel-features.h>.
22225 [__ASSUME_32BITUIDS]: Make code unconditional.
22226 [!__ASSUME_32BITUIDS]: Remove conditional code.
22227 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22228 <kernel-features.h>.
22229 [__ASSUME_32BITUIDS]: Make code unconditional.
22230 [!__ASSUME_32BITUIDS]: Remove conditional code.
22232 2012-05-25 Richard Henderson <rth@twiddle.net>
22234 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22235 dl_hwcap to ifunc resolver.
22236 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22238 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22239 dl_hwcap to ifunc resolver.
22240 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22242 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22245 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22246 for |x| <= 2**-26, not 2**-57.
22247 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22250 2012-05-24 Jeff Law <law@redhat.com>
22252 * stdio-common/Makefile (tests): Add bug25.
22253 * stdio-common/bug25.c: New test.
22255 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22258 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22259 multiple of MALLOC_ALIGNMENT in size.
22260 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22262 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22264 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22266 (FILENAME_MAX): Use macro-int-constant.
22267 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22268 (_IOFBF): Use macro-int-constant.
22269 (_IOLBF): Likewise.
22270 (_IONBF): Likewise.
22271 (SEEK_CUR): Likewise.
22272 (SEEK_END): Likewise.
22273 (SEEK_SET): Likewise.
22274 (TMP_MAX): Likewise.
22275 (EOF): Use macro-int-constant. Require < 0.
22276 (NULL): Use macro-constant. Require == 0.
22277 (stdin): Require type to be FILE *.
22278 (stdout): Likewise.
22279 (stderr): Likewise.
22280 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22281 macro-int-constant.
22282 (EXIT_SUCCESS): Likewise.
22283 (NULL): Use macro-constant. Require == 0.
22284 (RAND_MAX): Use macro-int-constant.
22285 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22286 [C99-based standards] (strtof): Require function.
22287 [C99-based standards] (strtold): Likewise.
22288 [C99-based standards] (strtoll): Likewise.
22289 [C99-based standards] (strtoull): Likewise.
22290 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22291 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22292 [ISO || ISO99 || ISO11] (math.h): Likewise.
22293 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22294 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22297 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22300 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22301 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22302 * intl/dgettext.c (DCGETTEXT): Likewise.
22303 * intl/gettext.c (DCGETTEXT): Likewise.
22304 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22305 * posix/regex_internal.h (gettext): Likewise.
22306 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22307 Remove declaration.
22308 * include/argz.h (__argz_count_internal)
22309 (__argz_stringify_internal): Remove declaration.
22310 (__argz_count, __argz_stringify): Declare hidden proto.
22311 * intl/dcgettext.c: Remove use of INTDEF.
22312 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22313 * string/argz-stringify.c: Likewise.
22314 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22315 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22316 Declare hidden proto.
22317 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22318 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22319 Declare hidden proto.
22320 * include/stdio.h (__asprintf_internal): Don't declare.
22321 (__asprintf): Don't define as macro. Declare hidden proto.
22322 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22323 (__fsetlocking): Declare hidden proto.
22324 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22325 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22327 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22328 (_IO_setlinebuf): Remove use of INTUSE.
22329 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22330 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22331 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22332 Remove declaration.
22333 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22334 (_IO_do_flush): Remove use of INTUSE.
22335 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22336 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22337 (_IO_adjust_column, _IO_least_wmarker)
22338 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22339 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22340 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22341 (_IO_default_doallocate, _IO_wdefault_doallocate)
22342 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22343 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22344 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22345 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22346 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22347 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22348 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22349 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22350 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22351 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22352 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22353 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22354 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22356 (_IO_flush_all_internal, _IO_adjust_column_internal)
22357 (_IO_default_uflow_internal, _IO_default_finish_internal)
22358 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22359 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22360 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22361 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22362 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22363 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22364 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22365 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22366 (_IO_file_close_internal, _IO_file_close_it_internal)
22367 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22368 (_IO_file_init_internal, _IO_file_attach_internal)
22369 (_IO_file_fopen_internal, _IO_file_read_internal)
22370 (_IO_file_sync_internal, _IO_file_seek_internal)
22371 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22372 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22373 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22374 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22375 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22376 (_IO_list_all_internal, _IO_link_in_internal)
22377 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22378 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22379 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22380 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22381 (_IO_do_write_internal, _IO_padn_internal)
22382 (_IO_getline_info_internal, _IO_getline_internal)
22383 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22384 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22385 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22386 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22387 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22388 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22389 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22390 with libc_hidden_ver, remove use of INTUSE.
22391 * libio/genops.c: Likewise.
22392 * libio/freopen.c: Likewise.
22393 * libio/freopen64.c: Likewise.
22394 * libio/iofclose.c: Likewise.
22395 * libio/iofdopen.c: Likewise.
22396 * libio/iofflush.c: Likewise.
22397 * libio/iofflush_u.c: Likewise.
22398 * libio/iofgets.c: Likewise.
22399 * libio/iofgets_u.c: Likewise.
22400 * libio/iofopen.c: Likewise.
22401 * libio/iofopncook.c: Likewise.
22402 * libio/iofread.c: Likewise.
22403 * libio/iofread_u.c: Likewise.
22404 * libio/ioftell.c: Likewise.
22405 * libio/iofwrite.c: Likewise.
22406 * libio/iogetline.c: Likewise.
22407 * libio/iogets.c: Likewise.
22408 * libio/iogetwline.c: Likewise.
22409 * libio/iopadn.c: Likewise.
22410 * libio/iopopen.c: Likewise.
22411 * libio/ioseekoff.c: Likewise.
22412 * libio/ioseekpos.c: Likewise.
22413 * libio/iosetbuffer.c: Likewise.
22414 * libio/iosetvbuf.c: Likewise.
22415 * libio/ioungetc.c: Likewise.
22416 * libio/ioungetwc.c: Likewise.
22417 * libio/iovdprintf.c: Likewise.
22418 * libio/iovsprintf.c: Likewise.
22419 * libio/iovsscanf.c: Likewise.
22420 * libio/memstream.c: Likewise.
22421 * libio/obprintf.c: Likewise.
22422 * libio/oldfileops.c: Likewise.
22423 * libio/oldiofclose.c: Likewise.
22424 * libio/oldiofdopen.c: Likewise.
22425 * libio/oldiofopen.c: Likewise.
22426 * libio/oldiopopen.c: Likewise.
22427 * libio/oldstdfiles.c: Likewise.
22428 * libio/putc.c: Likewise.
22429 * libio/setbuf.c: Likewise.
22430 * libio/setlinebuf.c: Likewise.
22431 * libio/stdfiles.c: Likewise.
22432 * libio/strops.c: Likewise.
22433 * libio/vasprintf.c: Likewise.
22434 * libio/vscanf.c: Likewise.
22435 * libio/vsnprintf.c: Likewise.
22436 * libio/vswprintf.c: Likewise.
22437 * libio/wfiledoalloc.c: Likewise.
22438 * libio/wfileops.c: Likewise.
22439 * libio/wgenops.c: Likewise.
22440 * libio/wmemstream.c: Likewise.
22441 * libio/wstrops.c: Likewise.
22442 * libio/__fpurge.c: Likewise.
22443 * libio/__fsetlocking.c: Likewise.
22444 * assert/assert.c: Likewise.
22445 * debug/fgets_chk.c: Likewise.
22446 * debug/fgets_u_chk.c: Likewise.
22447 * debug/fread_chk.c: Likewise.
22448 * debug/fread_u_chk.c: Likewise.
22449 * debug/gets_chk.c: Likewise.
22450 * debug/obprintf_chk.c: Likewise.
22451 * debug/vasprintf_chk.c: Likewise.
22452 * debug/vdprintf_chk.c: Likewise.
22453 * debug/vsnprintf_chk.c: Likewise.
22454 * debug/vsprintf_chk.c: Likewise.
22455 * malloc/mtrace.c: Likewise.
22456 * misc/error.c: Likewise.
22457 * misc/syslog.c: Likewise.
22458 * stdio-common/asprintf.c: Likewise.
22459 * stdio-common/fxprintf.c: Likewise.
22460 * stdio-common/getw.c: Likewise.
22461 * stdio-common/isoc99_fscanf.c: Likewise.
22462 * stdio-common/isoc99_scanf.c: Likewise.
22463 * stdio-common/isoc99_vfscanf.c: Likewise.
22464 * stdio-common/isoc99_vscanf.c: Likewise.
22465 * stdio-common/isoc99_vsscanf.c: Likewise.
22466 * stdio-common/printf-prs.c: Likewise.
22467 * stdio-common/printf_fp.c: Likewise.
22468 * stdio-common/printf_fphex.c: Likewise.
22469 * stdio-common/printf_size.c: Likewise.
22470 * stdio-common/putw.c: Likewise.
22471 * stdio-common/scanf.c: Likewise.
22472 * stdio-common/sprintf.c: Likewise.
22473 * stdio-common/tmpfile.c: Likewise.
22474 * stdio-common/vfprintf.c: Likewise.
22475 * stdio-common/vfscanf.c: Likewise.
22476 * stdlib/strfmon_l.c: Likewise.
22477 * sunrpc/openchild.c: Likewise.
22478 * sunrpc/xdr_stdio.c: Likewise.
22479 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22480 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22482 2012-05-24 Roland McGrath <roland@hack.frob.com>
22484 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22486 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22487 in the third column, to generate for the shared library an IFUNC
22488 that uses _dl_vdso_vsym.
22489 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22490 * Makeconfig (object-suffixes-noshared): New variable.
22492 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22493 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22494 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22495 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22498 * include/sys/time.h (__gettimeofday): Remove macro.
22499 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22500 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22502 (__gettimeofday): Add libc_hidden_def.
22503 (gettimeofday): Add libc_hidden_weak.
22504 * sysdeps/mach/gettimeofday.c: Likewise.
22505 * sysdeps/posix/gettimeofday.c: Likewise.
22506 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22507 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22508 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22509 (__gettimeofday_internal): Remove strong_alias.
22510 (__gettimeofday): Add libc_hidden_def.
22511 (gettimeofday): Add libc_hidden_weak.
22512 * sysdeps/unix/syscalls.list (gettimeofday):
22513 Remove __gettimeofday_internal alias.
22515 2012-05-24 Daniel Jacobowitz <drow@false.org>
22516 H.J. Lu <hongjiu.lu@intel.com>
22519 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22520 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22521 (largebin_index_32_big): New.
22522 (largebin_index): Use it for 16-byte alignment.
22523 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22524 correction with front_misalign.
22526 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22554 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22555 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22557 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22561 * math/libm-test.inc (exp_test): Add test from bug 14036.
22562 (pow_test): Add test from bug 10846.
22564 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22566 (special_function): Do not include flags in test name.
22567 (parse_args): Likewise.
22568 * sysdeps/i386/fpu/libm-test-ulps: Update.
22569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22570 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22571 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22574 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22576 * math/libm-test.inc ("Philosophy"): Update comment about
22578 (UNDERFLOW_EXCEPTION): New macro.
22579 (UNDERFLOW_EXCEPTION_OK): Likewise.
22580 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22581 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22582 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22583 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22584 (INVALID_EXCEPTION_OK): Update value.
22585 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22586 (OVERFLOW_EXCEPTION_OK): Likewise.
22587 (IGNORE_ZERO_INF_SIGN): Likewise.
22588 (test_exceptions): Handle underflow exceptions.
22589 (acos_test): Update for underflow exception expectations.
22590 (cexp_test): Likewise.
22591 (clog_test): Likewise.
22592 (clog10_test): Likewise.
22593 (csqrt_test): Likewise.
22594 (ctan_test): Likewise.
22595 (ctanh_test): Likewise.
22596 (exp_test): Likewise.
22597 (exp10_test): Likewise.
22598 (exp2_test): Likewise.
22599 (expm1_test): Likewise.
22600 (fma_test): Likewise.
22601 (j0_test): Likewise.
22602 (jn_test): Likewise.
22603 (nexttoward_test): Likewise.
22604 (pow_test): Likewise.
22605 (scalbn_test): Likewise.
22606 (scalbln_test): Likewise.
22607 (tan_test): Likewise.
22608 (y1_test): Likewise.
22609 * sysdeps/i386/fpu/libm-test-ulps: Update.
22610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22612 2012-05-23 David S. Miller <davem@davemloft.net>
22614 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22615 (__libc_sigaction): Remove unused local variables.
22617 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22619 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22621 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22623 mktime: avoid signed integer overflow
22624 * time/mktime.c (__mktime_internal): Do not mishandle the case
22625 where diff == INT_MIN.
22627 mktime: simplify computation of average
22628 * time/mktime.c (ranged_convert): Use new time_t_avg function
22629 instead of rolling our own (probably-slower) code.
22631 mktime: do not assume signed right shift propagates sign bit
22632 * time/mktime.c (isdst_differ): New static function.
22633 (__mktime_internal): No need to normalize tm_isdst now.
22634 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22637 mktime: merge another wrapv change from gnulib
22638 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22639 from some compilers.
22641 mktime: remove incorrect attempt at unusual arithmetics
22642 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22643 The code didn't really work on such machines anyway.
22644 (TYPE_MINIMUM): Assume two's complement.
22645 (twos_complement_arithmetic): Verify that long_int and time_t
22646 are two's complement (or unsigned, in the latter case).
22648 mktime: check signed shifts on long_int and time_t, too
22649 * time/mktime.c (SHR): Check that shifts work as desired
22650 on the types long_int and time_t too, as SHR is used on
22653 mktime: do not assume 'long' is wide enough
22654 * time/mktime.c (verify): Move decl up.
22655 (long_int): New type.
22656 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22657 to remove assumption in the code that 'long' is wide enough to
22658 store year values. This assumption is not true on x32 and on
22659 some non-glibc platforms.
22661 mktime: merge wrapv change from gnulib
22662 * time/mktime.c (WRAPV): New macro.
22663 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22664 (guess_time_tm, __mktime_internal): Do not assume that signed
22665 integer overflow wraps around; modern compilers generate code
22666 where this assumption is no longer valid.
22668 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22670 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22671 Replace "jmp L(pseudo_end)" with "ret".
22672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22675 2012-05-23 Andreas Jaeger <aj@suse.de>
22677 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22678 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22680 2012-05-23 Andreas Jaeger <aj@suse.de>
22681 Maximilian Attems <max@stro.at>
22683 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22686 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22688 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22689 code so that pseudo_end is just ret and the stack pointer is
22690 correct also for static library in error case.
22692 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22694 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22695 move to syscalls.list.
22696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22701 * manual/install.texi (Running make install): Do not mention Linux
22702 kernel version for which pt_chown is not needed.
22703 (Linux): Do not mention problems with nscd with 2.0 kernels.
22704 * INSTALL: Regenerated.
22706 2012-05-23 Andreas Jaeger <aj@suse.de>
22708 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22709 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22711 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22712 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22713 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22714 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22715 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22716 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22718 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22719 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22720 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22721 * sysdeps/unix/sysv/linux/bits/in.h
22722 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22724 2012-05-22 Roland McGrath <roland@hack.frob.com>
22726 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22727 (PREPARE_VERSION): Just use assert instead, it will be elided
22728 under [NDEBUG] anyway.
22730 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22732 * sysdeps/unix/sysv/linux/Makefile: Include
22733 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22734 (sysdep_routines): Remove sysctl.
22735 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22736 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22737 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22738 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22739 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22741 2012-05-22 Andreas Jaeger <aj@suse.de>
22743 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22744 that pseudo_end is just ret and the stack pointer is correct also
22745 for static library in error case.
22747 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22750 * nss/nsswitch.c (defconfig_entries): New variable.
22751 (__nss_database_lookup): Don't leak defconfig entries.
22752 (nss_parse_service_list): Don't leak on error paths.
22753 (free_database_entries): New function.
22754 (free_defconfig): New function.
22755 (free_mem): Move common code to free_database_entries.
22757 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22759 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22761 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22763 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22764 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22767 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22768 (INTERNAL_SYSCALL_TYPES): Likewise.
22769 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22770 (LOAD_REGS_TYPES_[1-6]): Likewise.
22771 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22772 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22774 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22776 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22777 copysignl for GLIBC_2_0.
22778 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22779 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22780 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22781 logbl for GLIBC_2_0.
22782 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22783 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22785 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22787 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22790 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22793 * time/mktime.c: Update copyright years.
22795 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22797 mktime: merge comment-quoting-style change from gnulib
22798 * time/mktime.c: Quote 'like this' in comments.
22799 The GNU coding standards suggest that we no longer quote `like this',
22800 as "`" and "'" are typically rendered asymmetrically nowadays.
22801 The typical gnulib style is to quote 'like this' when quoting
22802 code, and "like this" when quoting English.
22804 * time/mktime.c (compile-command): Add "-I.".
22806 mktime: merge mktime-internal.h change from gnulib
22807 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22809 mktime: merge time_r change from gnulib
22810 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22812 mktime: merge DEBUG change from gnulib
22813 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22814 case system <time.h> has a #define.
22816 mktime: merge <sys/types.h> change from gnulib
22817 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22818 since <time.t> is now guaranteed to define time_t.
22820 mktime: merge HAVE_CONFIG_H change from gnulib
22821 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22823 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22828 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22830 (struct rusage): Use anonymous union to pad each field to
22833 2012-05-21 David S. Miller <davem@davemloft.net>
22835 * Makefules (o-iterator): Remove .s cases.
22836 (compile-command.s): Delete.
22837 (COMPILE.s): Delete.
22838 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22840 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22842 * configure.in (libc_cv_predef_stack_protector): Only consider
22843 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22844 * configure: Regenerated.
22846 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22849 New macro. Use R*LP on int and pointer.
22850 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22851 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22852 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22853 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22855 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22856 [__WORDSIZE_TIME64_COMPAT32] instead of
22857 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22858 (struct utmp): Likewise.
22859 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22860 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22862 (__WORDSIZE_TIME64_COMPAT32): This.
22863 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22864 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22865 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22866 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22867 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22868 (__WORDSIZE_TIME64_COMPAT32): New macro.
22870 2012-05-21 Andreas Jaeger <aj@suse.de>
22872 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22873 only if [SHARED]. Add prototype for __wcschr_ia32.
22875 2012-05-21 Roland McGrath <roland@hack.frob.com>
22877 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22878 of %rbp unmolested in the jmp_buf while mangling the low bits.
22879 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22880 unmolested high bits of %rbp while demangling the low bits.
22881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22883 2012-05-21 Andreas Jaeger <aj@suse.de>
22885 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22886 * sunrpc/svc_simple.c: Use it for registerrpc.
22887 * sunrpc/xcrypt.c: Use it for passwd2des.
22889 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22891 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22893 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22894 Don't define if [__SYSCALL_WORDSIZE != 32].
22895 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22898 2012-05-21 Bruno Haible <bruno@clisp.org>
22899 Andreas Jaeger <aj@suse.de>
22901 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22902 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22903 inptr and inend for must_buffer_ch.
22904 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22905 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22906 * stdio-common/Makefile (tests): Remove bug15.
22907 (bug15-ENV): Remove macro.
22908 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22911 2012-05-19 Andreas Jaeger <aj@suse.de>
22912 Roland McGrath <roland@hack.frob.com>
22914 * manual/contrib.texi: Completely rewritten. It contains now an
22915 alphabetical list of contributors and their contributions.
22917 2012-05-21 Richard Henderson <rth@twiddle.net>
22919 * misc/getauxval.c (__getauxval): Use unsigned long int.
22920 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22921 (getauxval): Use unsigned long int.
22923 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22925 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22927 2012-05-21 Roland McGrath <roland@hack.frob.com>
22929 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22930 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22931 __alignof__ (long double).
22933 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22937 2012-05-20 Richard Henderson <rth@twiddle.net>
22939 * misc/getauxval.c: New file.
22940 * misc/sys/auxv.h: New file.
22941 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22942 (routines): Add getauxval.
22943 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22944 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22945 * elf/dl-sysdep.c (_dl_auxv): Remove.
22946 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22947 * elf/dl-support.c (_dl_auxv): New variable.
22948 (_dl_aux_init): Initialize it.
22949 * manual/startup.texi (Auxiliary Vector): New node.
22950 * sysdeps/generic/bits/hwcap.h: New file.
22951 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22952 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22953 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22954 * sysdeps/sparc/sysdep.h: ... here. Include it.
22955 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22956 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22968 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22972 2012-05-19 David S. Miller <davem@davemloft.net>
22974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22976 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22979 * math/s_ccosh.c: Include <float.h>
22980 (__ccosh): Avoid internal overflow calculating sinh and cosh
22981 values before multiplying by sin and cos values.
22982 * math/s_ccoshf.c: Likewise.
22983 * math/s_ccoshl.c: Likewise.
22984 * math/s_csin.c: Likewise.
22985 * math/s_csinf.c: Likewise.
22986 * math/s_csinl.c: Likewise.
22987 * math/s_csinh.c: Likewise.
22988 * math/s_csinhf.c: Likewise.
22989 * math/s_csinhl.c: Likewise.
22990 * math/libm-test.inc (ccos_test): Add more tests.
22991 (ccosh_test): Likewise.
22992 (csin_test): Likewise.
22993 (csinh_test): Likewise.
22994 * sysdeps/i386/fpu/libm-test-ulps: Update.
22995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22997 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22999 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23000 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23002 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23004 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23006 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23007 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23008 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23009 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23010 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23011 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23012 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23013 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23014 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23015 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23016 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23017 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23018 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23019 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23020 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23021 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23022 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23023 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23024 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23025 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23026 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23027 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23028 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23029 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23030 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23031 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23032 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23033 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23034 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23035 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23036 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23038 2012-05-18 Andreas Jaeger <aj@suse.de>
23040 * csu/.gitignore: Delete.
23042 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23044 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23045 (timex): Use __syscall_slong_t.
23047 2012-05-18 Andreas Jaeger <aj@suse.de>
23048 Carlos O'Donell <carlos_odonell@mentor.com>
23050 * manual/install.texi (Configuring and compiling): Update
23051 description about files modified in the source directory.
23052 * INSTALL: Regenerated.
23054 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23056 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23057 value. Use "or" to set return value to -1.
23058 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23059 negate return value.
23061 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23063 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23064 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23065 failure if the compiler has Graphite support disabled.
23066 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23068 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23069 CFLAGS-memmove.c): Likewise.
23070 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23073 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23075 * sysdeps/x86_64/x32/_itoa.h: New file.
23077 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23078 getdents system call only if kernel and user dirents have the
23079 same d_ino and d_off.
23081 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23082 LLONG_MAX != LONG_MAX.
23083 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23084 (_fitoa_word): Likewise.
23086 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23088 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23089 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23090 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23092 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23093 include <bits/wordsize.h>. Check __x86_64__ instead of
23095 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23096 if __x86_64__ is defined. Use anonymous union on fpstate.
23098 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23101 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23103 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23104 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23105 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23106 Refer to _rtld_local_ro instead of _rtld_global_ro.
23107 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23109 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23111 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23113 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23114 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23115 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23117 * sysdeps/powerpc/powerpc32/dl-machine.c
23118 (__elf_machine_runtime_setup) [PROF]: Don't reference
23121 2012-05-18 Andreas Jaeger <aj@suse.de>
23123 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23124 function only available for GCCs before 3.4 since GCC 3.4
23125 introduced a builtin.
23127 (llrintf): Likewise.
23128 (llrint): Likewise.
23135 (nearbyint): Likewise.
23136 (nearbyintf): Likewise.
23140 (floorf): Likewise.
23142 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23144 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23145 on both fields and cast pointer to __syscall_ulong_t.
23147 * bits/types.h (__fsword_t): New type.
23148 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23149 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23151 (__FSWORD_T_TYPE): Likewise.
23152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23153 (__FSWORD_T_TYPE): Likewise.
23154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23155 (__FSWORD_T_TYPE): Likewise.
23156 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23157 (__FSWORD_T_TYPE): Likewise.
23158 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23159 __SWORD_TYPE with __fsword_t.
23160 (statfs64): Likewise.
23162 2012-05-17 David S. Miller <davem@davemloft.net>
23164 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23166 2012-05-17 Andreas Jaeger <aj@suse.de>
23168 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23171 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23173 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23175 2012-05-17 Andreas Jaeger <aj@suse.de>
23177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23180 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23182 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23184 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23186 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23187 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23189 2012-05-17 Andreas Jaeger <aj@suse.de>
23190 Carlos O'Donell <carlos_odonell@mentor.com>
23193 * sysdeps/x86_64/multiarch/init-arch.h
23194 (bit_YMM_Usable): Rename to...
23195 (bit_AVX_Usable): ... this.
23196 (bit_FMA4_Usable): New macro.
23197 (bit_XMM_state): New macro.
23198 (bit_YMM_state): New macro.
23199 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23200 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23201 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23202 (CPUID_OSXSAVE): New macro.
23203 (CPUID_AVX): New macro.
23204 (CPUID_FMA4): New macro.
23205 (index_YMM_Usable): Rename to...
23206 (index_AVX_Usable): ... this.
23207 (HAS_AVX): Use HAS_ARCH_FEATURE.
23208 (HAS_FMA4): Likewise.
23209 (HAS_YMM_USABLE): Remove.
23210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23211 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23213 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23214 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23215 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23216 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23217 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23219 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23221 * math/libm-test.c: Support platforms without multiple rounding modes.
23222 * math/bug-nextafter.c: Support platforms without FP exceptions.
23223 * math/bug-nexttoward.c: Likewise.
23224 * math/test-fenv.c: Likewise.
23225 * math/test-misc.c: Likewise.
23226 * stdlib/bug-getcontext.c: Likewise.
23228 2012-05-17 Andreas Jaeger <aj@suse.de>
23230 * manual/examples/search.c (critter_cmp): Change signature to
23232 * manual/string.texi (Collation Functions): Likewise.
23234 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23236 * bits/types.h: Fold copyright years.
23237 * bits/typesizes.h: Likewise.
23238 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23242 * time/time.h: Likewise.
23244 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23247 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23248 in instead of returning them. Return void.
23249 (__libc_mallinfo): Accumulate over all arenas.
23250 (__malloc_stats): Adjust for change in int_mallinfo interface.
23252 2012-05-16 Roland McGrath <roland@hack.frob.com>
23255 * configure.in (NM): Add AC_CHECK_TOOL for it.
23256 (libc_extra_cflags): New substituted variable.
23257 Check for -fstack-protector being used implicitly.
23258 * configure: Regenerated.
23259 * config.make.in (config-extra-cflags): New variable,
23260 gets @libc_extra_cflags@.
23261 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23264 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23265 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23266 * configure: Regenerated.
23267 * config.make.in (CPPUNDEFS): New substituted variable.
23268 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23269 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23270 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23274 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23275 (mq_attr): Use __syscall_slong_t.
23277 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23279 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23280 Check __x86_64__ instead of __WORDSIZE.
23281 (_STAT_VER_LINUX): Likewise.
23282 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23283 __syscall_ulong_t and __syscall_slong_t.
23284 (stat64): Likewise.
23286 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23288 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23290 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23292 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23294 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23296 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23299 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23300 include <bits/wordsize.h>. Check __x86_64__ instead of
23302 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23304 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23306 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23307 include <bits/wordsize.h>. Check __x86_64__ instead of
23309 (user_regs_struct): Use "__extension__ unsigned long long"
23310 instead of "unsigned long" if __x86_64__ is defined.
23311 (user): Likewise. Pad after pointer field if __ILP32__ is
23314 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23316 * configure.in (makeinfo): Require version 4.5 or later. Allow
23318 * configure: Regenerated.
23319 * manual/install.texi (texinfo): Increase version requirement to
23321 * INSTALL: Regenerated.
23323 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23325 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23327 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23329 * sysdeps/x86_64/x32/ffs.c: New file.
23331 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23333 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23334 defined. Use __syscall_ulong_t.
23335 (shminfo): Use __syscall_ulong_t.
23336 (shm_info): Likewise.
23338 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23341 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23343 (msgqnum_t): Use __syscall_ulong_t.
23344 (msglen_t): Likewise.
23345 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23348 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23349 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23351 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23353 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23354 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23356 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23359 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23360 include <bits/wordsize.h>. Check __x86_64__ instead of
23363 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23364 "unsigned long long int" if __x86_64__ is defined.
23365 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23367 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23368 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23369 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23371 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23373 (GET_PC): Cast to uintptr_t first.
23374 (GET_FRAME): Likewise.
23375 (GET_STACK): Likewise.
23377 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23378 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23379 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23380 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23381 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23382 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23383 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23384 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23385 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23386 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23387 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23388 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23389 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23390 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23391 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23392 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23393 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23394 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23395 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23396 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23397 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23398 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23399 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23400 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23401 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23402 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23403 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23404 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23405 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23407 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23409 * Makerules (+depfiles): Also collect depfiles from .oS in
23411 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23412 .oS, $(libnldbl-routines)).
23414 * Makerules (native-compile-mkdep-flags): Define.
23415 * sunrpc/Makefile (extra-objs): Add $(addprefix
23416 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23417 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23418 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23419 calling $(make-target-directory).
23421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23423 * bits/types.h (__snseconds_t): Removed.
23424 * time/time.h (struct timespec): Replace __snseconds_t with
23426 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23427 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23430 (__SNSECONDS_T_TYPE): Likewise.
23431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23432 (__SNSECONDS_T_TYPE): Likewise.
23433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23434 (__SNSECONDS_T_TYPE): Likewise.
23436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23438 * sysdeps/mach/hurd/bits/typesizes.h
23439 (__SYSCALL_SLONG_TYPE): New macro.
23440 (__SYSCALL_ULONG_TYPE): Likewise.
23442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23444 * bits/types.h (__syscall_slong_t): New type.
23445 (__syscall_ulong_t): Likewise.
23447 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23448 (__SYSCALL_ULONG_TYPE): Likewise.
23449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23450 (__SYSCALL_SLONG_TYPE): Likewise.
23451 (__SYSCALL_ULONG_TYPE): Likewise.
23452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23453 (__SYSCALL_SLONG_TYPE): Likewise.
23454 (__SYSCALL_ULONG_TYPE): Likewise.
23455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23456 (__SYSCALL_SLONG_TYPE): Likewise.
23457 (__SYSCALL_ULONG_TYPE): Likewise.
23459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23461 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23462 Add sigaltstack-offsets.sym.
23463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23464 <sigaltstack-offsets.h>.
23465 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23466 longjmp_msg pointer.
23467 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23468 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23470 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23472 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23474 * elf/stackguard-macros.h: Remove file.
23475 * sysdeps/generic/stackguard-macros.h: New file.
23476 * sysdeps/i386/stackguard-macros.h: Likewise.
23477 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23478 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23479 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23480 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23481 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23482 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23483 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23484 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23485 <elf/stackguard-macros.h>.
23488 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23489 __aligned__ in attribute.
23490 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23491 (gregset_t): Likewise.
23493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23495 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23496 * sysdeps/x86_64/64/Implies-after: Here. New file.
23497 * sysdeps/x86_64/x32/Implies-after: New file.
23499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23501 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23502 and access return value for _dl_profile_fixup. Use R10_LP to
23505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23507 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23511 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23512 * sysdeps/x86_64/x32/sysdep.h: New file.
23514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23516 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23517 * sysdeps/x86_64/setjmp.S: Likewise.
23519 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23521 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23522 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23523 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23524 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23525 remove unused global constant.
23527 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23529 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23530 include of <not-cancel.h>.
23532 2012-05-15 Roland McGrath <roland@hack.frob.com>
23534 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23536 2012-05-15 Jeff Law <law@redhat.com>
23537 Andreas Jaeger <aj@suse.de>
23540 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23542 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23543 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23544 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23545 code changing __hst_map_handle.map.
23547 2012-05-15 Roland McGrath <roland@hack.frob.com>
23549 * configure.in (sysnames): Look for Implies-before and Implies-after
23551 * configure: Regenerated.
23553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23555 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23556 8-byte data alignment with LP_SIZE alignment.
23558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23560 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23565 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23569 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23570 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23571 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23573 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23577 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23578 (stackinfo_sub_sp): Likewise.
23580 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23582 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23587 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23597 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23601 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23602 into R11_LP and load __x86_64_shared_cache_size_half into
23605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23607 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23610 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23612 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23614 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23618 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23619 powerpc32/power7/fpu/s_logb.c via #include.
23620 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23621 powerpc32/power7/fpu/s_logbf.c via #include.
23622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23623 powerpc32/power7/fpu/s_logbl.c via #include.
23625 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23627 * README.libm: Remove file.
23629 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23631 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23632 count for x32. Use R*_LP and omit operand-size suffix.
23634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23636 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23637 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23638 * sysdeps/x86_64/x32/shlib-versions: New file.
23640 2012-05-14 Roland McGrath <roland@hack.frob.com>
23642 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23643 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23644 Use _dl_fatal_printf instead.
23646 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23648 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23649 set if not set by the user. Do not allow for being unset.
23650 * sysdeps/unix/sysv/linux/configure: Regenerated.
23652 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23654 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23655 the `q' suffix from lea and replace .quad with ASM_ADDR.
23657 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23660 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23662 (PTR_DEMANGLE): Likewise.
23664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23666 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23668 (ASM_ADDR): Likewise.
23669 (RAX_LP): Likewise.
23670 (RBP_LP): Likewise.
23671 (RBX_LP): Likewise.
23672 (RCX_LP): Likewise.
23673 (RDI_LP): Likewise.
23674 (RSI_LP): Likewise.
23675 (RSP_LP): Likewise.
23678 (R10_LP): Likewise.
23679 (R10_LP): Likewise.
23680 (R11_LP): Likewise.
23681 (R12_LP): Likewise.
23682 (R13_LP): Likewise.
23683 (R14_LP): Likewise.
23684 (R15_LP): Likewise.
23686 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23688 * sysdeps/x86_64/x32/dl-machine.h: New file.
23690 2012-05-14 Andreas Jaeger <aj@suse.de>
23692 * manual/Makefile (subdir): Remove export of subdir.
23693 (all): Remove target.
23694 (.PHONY): Remove all from list.
23695 (mkinstalldirs): Remove.
23696 (.PHONY): Remove installdirs from list.
23697 ($(inst_infodir)/libc.info): Use make-target-directory.
23698 (installdirs): Remove.
23699 (subdir_%): Remove.
23700 (glibc-targets): Remove.
23703 ($(objpfx)stubs ../po/manual.pot): Remove.
23704 ($(objpfx)stamp%): Remove.
23705 (make-target-directory): Remove.
23706 (subdir_install): Remove.
23707 (routines): Remove.
23714 * manual/.gitignore: Remove, it's not needed anymore.
23715 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23717 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23719 (texis): Renamed to $(objpfx)texis.
23720 (texis-path): New, contains path to generated files.
23721 (chapters.%): Use texis-path for complete path, add extra argument
23723 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23724 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23725 (summary,texi, stamp-summary): Use complete path of
23726 files. Generate files in build dir.
23727 (dir-add.texi): Build in build dir.
23728 (libm-err.texi,stamp-libm-err): Likewise.
23729 (version.texi, stamp-version): Likewise.
23730 (.%c.texi): Likewise.
23731 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23732 (mostlyclean): Remove target.
23733 (realclean): Remove target.
23734 (generated): Add new variable with contents from mostlyclean and
23735 realclean, remove entries duplicated in common-mostlyclean, add
23736 stamp-libm-err and stamp-version.
23737 (generated-dirs): Add libc directory.
23738 ($(inst_infodir)/libc.info): Install files from build dir.
23740 * manual/install.texi (Configuring and compiling): Adjust since
23741 the info files are not part of the tar ball anymore.
23743 2012-05-14 Andreas Jaeger <aj@suse.de>
23745 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23748 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23751 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23752 to 2.2.0 where earlier.
23753 * sysdeps/unix/sysv/linux/configure: Regenerated.
23754 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23755 Remove conditional code.
23756 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23757 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23758 Remove conditional code.
23759 [!__NR_lchown]: Likewise.
23760 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23761 [__NR_lchown]: Likewise.
23762 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23763 comment referencing __ASSUME_LCHOWN_SYSCALL.
23764 * sysdeps/unix/sysv/linux/i386/sigaction.c
23765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23767 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23768 Remove conditional code.
23769 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23770 (__protocol_available): Remove #if 0 code.
23771 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23773 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23774 * sysdeps/unix/sysv/linux/kernel-features.h
23775 (__ASSUME_GETCWD_SYSCALL): Don't define.
23776 (__ASSUME_REALTIME_SIGNALS): Likewise.
23777 (__ASSUME_PREAD_SYSCALL): Likewise.
23778 (__ASSUME_PWRITE_SYSCALL): Likewise.
23779 (__ASSUME_POLL_SYSCALL): Likewise.
23780 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23781 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23783 (__ASSUME_SIOCGIFNAME): Don't define.
23784 (__ASSUME_MSG_NOSIGNAL): Likewise.
23785 (__ASSUME_SENDFILE): Define unconditionally.
23786 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23787 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23789 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23790 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23791 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23792 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23793 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23794 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23795 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23797 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23800 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23803 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23806 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23807 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23809 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23812 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23813 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23815 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23818 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23819 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23820 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23821 Remove conditional code.
23822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23823 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23824 Remove conditional code.
23825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23826 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23827 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23828 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23829 Remove conditional code.
23830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23831 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23832 Remove conditional code.
23833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23834 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23835 Remove conditional code.
23836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23837 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23838 Remove conditional code.
23839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23840 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23841 Remove conditional code.
23842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23843 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23844 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23846 * sysdeps/unix/sysv/linux/sigaction.c
23847 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23848 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23849 * sysdeps/unix/sysv/linux/sigpending.c
23850 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23851 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23852 * sysdeps/unix/sysv/linux/sigprocmask.c
23853 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23854 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23855 * sysdeps/unix/sysv/linux/sigsuspend.c
23856 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23857 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23858 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23859 (__libc_missing_rt_sigs): Remove.
23860 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23861 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23862 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23863 Remove conditional code.
23864 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23865 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23867 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23868 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23869 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23870 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23872 2012-05-14 Andreas Jaeger <aj@suse.de>
23874 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23875 it's not used in glibc.
23876 (__coshm1): Likewise.
23877 (__acosh1p): Likewise.
23880 * manual/string.texi (Copying and Concatenation): Add missing
23881 variable in concat example.
23882 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23884 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23887 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23888 __builtin_clzl with __builtin_clzll.
23890 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23893 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23896 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23898 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23899 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23900 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23901 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23903 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23905 * NEWS: Update ia64 info.
23907 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23909 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23912 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23914 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23915 * sysdeps/unix/syscalls.list (dup3): Likewise.
23916 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23917 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23919 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23921 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23922 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23924 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23926 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23928 (TLS_IE): Use mov/add instead of movq/addq to load thread
23930 (TLS_GD_PREFIX): New.
23933 2012-05-11 David S. Miller <davem@davemloft.net>
23935 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23936 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23937 (_FPU_SETCW): Likewise.
23939 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23941 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23942 is 32-byte aligned.
23944 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23947 * iconvdata/gb18030.c: Update tables.
23948 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23949 characters specially.
23950 (BODY for TO_LOOP): Add encoding of missing ranges.
23952 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23955 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23956 * sysdeps/mach/hurd/dup3.c: Likewise.
23957 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23958 * sysdeps/powerpc/memmove.c:: Likewise.
23960 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23963 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23965 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23967 * elf/elf.h (R_X86_64_RELATIVE64): New.
23968 (R_X86_64_NUM): Updated.
23969 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23970 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23971 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23972 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23973 tst-quad1pie tst-quad2pie
23974 (modules-names): Add tst-quadmod1 tst-quadmod2.
23975 ($(objpfx)tst-quad1): New dependency.
23976 ($(objpfx)tst-quad2): Likewise.
23977 ($(objpfx)tst-quad1pie): Likewise.
23978 ($(objpfx)tst-quad2pie): Likewise.
23979 * sysdeps/x86_64/tst-quad1.c: New file.
23980 * sysdeps/x86_64/tst-quad1pie.c: New file.
23981 * sysdeps/x86_64/tst-quad2.c: Likewise.
23982 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23983 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23984 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23985 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23986 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23990 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23991 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23992 * streams/stropts.h (t_scalar_t): Define type.
23994 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23995 (_PATH_PRESERVE): Set to "/var/lib".
23996 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23998 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24001 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24002 if __dir_mkfile succeeded.
24004 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24005 checking for _hurd_dtablesize. Unlock it right after having
24006 finished _hurd_dtable allocation.
24008 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24010 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24011 * sysdeps/mach/hurd/configure: Regenerated.
24012 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24013 special-casing to...
24014 * sysdeps/gnu/configure.in: ... this new file.
24015 * sysdeps/unix/sysv/linux/configure: Regenerated.
24016 * sysdeps/gnu/configure: New generated file.
24018 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24019 for Linux: use nsec instead of usec, as well as:
24020 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24021 members of type struct timespec.
24022 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24024 (struct stat64): Likewise.
24025 (_STATBUF_ST_NSEC): New macro.
24026 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24028 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24029 __strtoul_internal rather than strtoul.
24031 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24033 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24038 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24039 which preserves existing values.
24040 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24042 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24044 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24045 TIMEOUT values. Return EINVAL for NFDS values either negative or
24046 greater than FD_SETSIZE.
24048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24050 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24051 allocated, call __vm_protect to finish enabling the existing space, and
24052 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24053 allocate the remainder.
24055 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24057 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24058 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24062 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24063 sysdeps/mach/hurd/readlink.c.
24065 * posix/tst-sysconf.c (posix_options): Only use
24066 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24067 _POSIX_SYNCHRONIZED_IO when they are defined
24068 * sysdeps/mach/hurd/bits/posix_opt.h:
24069 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24070 (_XOPEN_REALTIME): Undefine macro.
24071 (_XOPEN_REALTIME_THREADS): Undefine macro.
24072 (_XOPEN_SHM): Undefine macro.
24073 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24075 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24077 (_POSIX_ASYNC_IO): Undefine macro.
24078 (_POSIX_PRIORITIZED_IO): Undefine macro.
24079 (_POSIX_SPIN_LOCKS): Define macro to -1.
24081 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24082 SA_NODEFER, SA_RESETHAND.
24083 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24084 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24087 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24089 * elf/Makefile (pldd-modules): Define unconditionally.
24091 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24093 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24097 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24098 Return ENOENT when name is empty.
24099 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24101 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24103 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24105 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24107 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24109 Fix mlock in all cases except non-readable pages.
24110 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24111 instead of VM_PROT_ALL as parameter to __vm_wire function.
24113 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24114 (__mkdir): When path is `/', just fail with EEXIST.
24115 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24117 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24119 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24120 <sys/uio.h> (for writev).
24121 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24122 and <sys/param.h> (for MIN).
24124 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24126 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24127 REQUESTED_TIME. Properly set the remaining time and return EINTR
24130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24132 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24133 Depend on against $(link-rpcuserlibs).
24135 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24137 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24138 (__libc_stack_end): Do not use attribute_relro.
24139 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24140 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24141 to libthread-provided value.
24142 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24145 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24148 * bits/libc-lock.h (__libc_once_get): New macro.
24149 * sysdeps/mach/bits/libc-lock.h: Likewise.
24150 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24151 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24152 instead of using implementation details.
24154 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24155 * libio/freopen.c: Likewise.
24156 * libio/freopen64.c: Likewise.
24157 * misc/syslog.c: Likewise.
24158 * nscd/connections.c: Likewise.
24159 * nscd/netgroupcache.c: Likewise.
24160 * sysdeps/posix/getcwd.c: Likewise.
24162 2012-05-10 Roland McGrath <roland@hack.frob.com>
24164 * math/w_ilogbf.c: Add #include <limits.h>.
24166 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24168 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24169 path instead of returning without unlocking.
24171 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24172 immediate-write ioctls.
24173 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24175 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24177 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24178 __builtin_frame_address instead of making assumptions about the
24179 location of the return address relative to DATA. Force early load of
24180 the return address.
24181 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24182 __builtin_frame_address.
24185 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24186 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24187 implement dup3 and do some further code clean-ups.
24188 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24189 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24193 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24195 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24196 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24197 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24198 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24199 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24202 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24203 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24204 when handler == SIG_ERR, not when handler != SIG_ERR.
24206 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24208 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24209 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24212 accept4 for GNU Hurd.
24213 * include/sys/socket.h (__libc_accept4): New prototype.
24214 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24215 to implement __libc_accept4.
24216 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24218 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24220 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24221 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24222 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24223 signal-defines.sym.
24225 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24227 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24229 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24231 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24232 assertion on O_CLOEXEC flag.
24233 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24234 * hurd/intern-fd.c: Likewise.
24235 * hurd/port2fd.c: Likewise.
24237 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24240 * bits/in.h (IPV6_PKTINFO): Define new macro.
24241 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24243 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24248 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24249 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24250 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24251 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24253 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24254 * math/libm-test.inc (logb_test) : Additional logb tests.
24256 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24257 Andreas Jaeger <aj@suse.de>
24259 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24260 * configure: Regenerated.
24261 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24262 * config.make.in (link-obsolete-rpc): New substituted variable.
24263 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24264 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24265 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24266 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24267 so that libc.a contains the symbols.
24268 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24269 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24270 * sunrpc/auth_none.c: Likewise.
24271 * sunrpc/auth_unix.c: Likewise.
24272 * sunrpc/authdes_prot.c: Likewise.
24273 * sunrpc/authuxprot.c: Likewise.
24274 * sunrpc/clnt_gen.c: Likewise.
24275 * sunrpc/clnt_perr.c: Likewise.
24276 * sunrpc/clnt_raw.c: Likewise.
24277 * sunrpc/clnt_simp.c: Likewise.
24278 * sunrpc/clnt_tcp.c: Likewise.
24279 * sunrpc/clnt_udp.c: Likewise.
24280 * sunrpc/clnt_unix.c: Likewise.
24281 * sunrpc/des_crypt.c: Likewise.
24282 * sunrpc/des_soft.c: Likewise.
24283 * sunrpc/get_myaddr.c: Likewise.
24284 * sunrpc/key_call.c: Likewise.
24285 * sunrpc/key_prot.c: Likewise.
24286 * sunrpc/netname.c: Likewise.
24287 * sunrpc/pm_getmaps.c: Likewise.
24288 * sunrpc/pm_getport.c: Likewise.
24289 * sunrpc/pmap_clnt.c: Likewise.
24290 * sunrpc/pmap_prot.c: Likewise.
24291 * sunrpc/pmap_prot2.c: Likewise.
24292 * sunrpc/pmap_rmt.c: Likewise.
24293 * sunrpc/publickey.c: Likewise.
24294 * sunrpc/rpc_cmsg.c: Likewise.
24295 * sunrpc/rpc_common.c: Likewise.
24296 * sunrpc/rpc_dtable.c: Likewise.
24297 * sunrpc/rpc_prot.c: Likewise.
24298 * sunrpc/rpc_thread.c: Likewise.
24299 * sunrpc/rtime.c: Likewise.
24300 * sunrpc/svc.c: Likewise.
24301 * sunrpc/svc_auth.c: Likewise.
24302 * sunrpc/svc_raw.c: Likewise.
24303 * sunrpc/svc_run.c: Likewise.
24304 * sunrpc/svc_tcp.c: Likewise.
24305 * sunrpc/svc_udp.c: Likewise.
24306 * sunrpc/svc_unix.c: Likewise.
24307 * sunrpc/svcauth_des.c: Likewise.
24308 * sunrpc/xcrypt.c: Likewise.
24309 * sunrpc/xdr.c: Likewise.
24310 * sunrpc/xdr_array.c: Likewise.
24311 * sunrpc/xdr_float.c: Likewise.
24312 * sunrpc/xdr_intXX_t.c: Likewise.
24313 * sunrpc/xdr_mem.c: Likewise.
24314 * sunrpc/xdr_rec.c: Likewise.
24315 * sunrpc/xdr_ref.c: Likewise.
24316 * sunrpc/xdr_sizeof.c: Likewise.
24317 * sunrpc/xdr_stdio.c: Likewise.
24319 2012-05-10 Roland McGrath <roland@hack.frob.com>
24321 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24322 change. Update copyright years.
24324 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24326 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24328 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24329 Joseph Myers <joseph@codesourcery.com>
24330 Paul Pluzhnikov <ppluzhnikov@google.com>
24333 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24335 [cross-compiling] (extra-libs): Likewise.
24336 [cross-compiling] (extra-libs-others): Likewise.
24337 [cross-compiling] (librpcsvc-routines): Likewise.
24338 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24339 [cross-compiling] (omit-deps): Likewise.
24340 (sunrpc-CPPFLAGS): New variable.
24341 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24342 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24343 (cross-rpcgen-objs): New variable.
24344 (extra-objs): Append $(cross-rpcgen-objs).
24345 ($(cross-rpcgen-objs)): New rule.
24346 ($(objpfx)cross-rpcgen): Likewise.
24347 (rpcgen-cmd): Define to use $(built-program-file). Expand
24349 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24350 ($(objpfx)x%.stmp): Likewise.
24351 * sunrpc/proto.h [IS_IN_build] (_): Define.
24352 [IS_IN_build] (_libc_intl_domainname): Likewise.
24354 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24357 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24358 and R_X86_64_TPOFF64.
24360 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24362 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24363 sysdeps/unix/sysv/syscalls.list.
24366 * sysdeps/unix/sysv/syscalls.list: Remove file.
24368 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24371 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24372 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24373 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24374 (__LC_IDENTIFICATION): Make these macros useful in #if
24375 expressions, as required by C99.
24377 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24379 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24380 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24383 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24385 * stdlib/longlong.h: Updated from GCC.
24387 2012-05-09 Andreas Jaeger <aj@suse.de>
24389 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24390 default is first entry.
24391 (run_mode): Set type.
24392 (main): Remove informal message about syslog.
24393 (options): Fix typo.
24396 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24399 (llrintf): Likewise.
24400 (llrint): Likewise.
24403 (nearbyint): Likewise.
24404 (nearbyintf): Likewise.
24406 2012-05-09 Andreas Jaeger <aj@suse.de>
24407 Pedro Alves <palves@redhat.com>
24409 * nscd/nscd.c (run_mode): Use enum.
24410 (main): Cleanup coding style issue.
24412 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24413 Andreas Jaeger <aj@suse.de>
24415 * nscd/nscd.c (go_background): Replaced with...
24416 (run_mode): ... this.
24417 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24418 (options): Add -F --foreground.
24419 (main): Implement it.
24420 (parse_opt): Parse it.
24422 2012-05-09 Andreas Jaeger <aj@suse.de>
24425 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24426 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24427 -Wconversion warning.
24428 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24431 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24433 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24435 (LC_ALL): Use macro-int-constant.
24436 (LC_COLLATE): Likewise.
24437 (LC_CTYPE): Likewise.
24438 (LC_MESSAGES): Likewise.
24439 (LC_MONETARY): Likewise.
24440 (LC_NUMERIC): Likewise.
24441 (LC_TIME): Likewise.
24442 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24443 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24445 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24447 [C99-based standards] (float_t): Expect type.
24448 [C99-based standards] (double_t): Expect type.
24449 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24451 [C99-based standards] (HUGE_VALL): Likewise.
24452 [C99-based standards] (INFINITY): Likewise.
24453 [C99-based standards] (NAN): Likewise.
24454 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24455 [C99-based standards] (FP_NAN): Likewise.
24456 [C99-based standards] (FP_NORMAL): Likewise.
24457 [C99-based standards] (FP_SUBNORMAL): Likewise.
24458 [C99-based standards] (FP_ZERO): Likewise.
24459 [C99-based standards] (FP_FAST_FMA): Use
24460 optional-macro-int-constant. Specify type. Require == 1.
24461 [C99-based standards] (FP_FAST_FMAF): Likewise.
24462 [C99-based standards] (FP_FAST_FMAL): Likewise.
24463 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24464 [C99-based standards] (FP_ILOGBNAN): Likewise.
24465 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24467 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24468 [C99-based standards] (math_errhandling): Specify type.
24469 [ISO99 || ISO11] (signgam): Do not allow.
24470 [non-C99-based standards] (copysignf): Do not allow.
24471 [non-C99-based standards] (exp2f): Likewise.
24472 [non-C99-based standards] (log2f): Likewise.
24473 [non-C99-based standards] (modff): Allow.
24474 [non-C99-based standards] (erff): Do not allow.
24475 [non-C99-based standards] (erfcf): Likewise.
24476 [non-C99-based standards] (gammaf): Likewise.
24477 [non-C99-based standards] (hypotf): Likewise.
24478 [non-C99-based standards] (j0f): Likewise.
24479 [non-C99-based standards] (j1f): Likewise.
24480 [non-C99-based standards] (jnf): Likewise.
24481 [non-C99-based standards] (lgammaf): Likewise.
24482 [non-C99-based standards] (tgammaf): Likewise.
24483 [non-C99-based standards] (y0f): Likewise.
24484 [non-C99-based standards] (y1f): Likewise.
24485 [non-C99-based standards] (ynf): Likewise.
24486 [non-C99-based standards] (isnanf): Likewise.
24487 [non-C99-based standards] (acoshf): Likewise.
24488 [non-C99-based standards] (asinhf): Likewise.
24489 [non-C99-based standards] (atanhf): Likewise.
24490 [non-C99-based standards] (cbrtf): Likewise.
24491 [non-C99-based standards] (expm1f): Likewise.
24492 [non-C99-based standards] (ilogbf): Likewise.
24493 [non-C99-based standards] (log1pf): Likewise.
24494 [non-C99-based standards] (logbf): Likewise.
24495 [non-C99-based standards] (nextafterf): Likewise.
24496 [non-C99-based standards] (remainderf): Likewise.
24497 [non-C99-based standards] (rintf): Likewise.
24498 [non-C99-based standards] (scalbf): Likewise.
24499 [non-C99-based standards] (copysignl): Likewise.
24500 [non-C99-based standards] (exp2l): Likewise.
24501 [non-C99-based standards] (log2l): Likewise.
24502 [non-C99-based standards] (modfl): Allow.
24503 [non-C99-based standards] (erfl): Do not allow.
24504 [non-C99-based standards] (erfcl): Likewise.
24505 [non-C99-based standards] (gammal): Likewise.
24506 [non-C99-based standards] (hypotl): Likewise.
24507 [non-C99-based standards] (j0l): Likewise.
24508 [non-C99-based standards] (j1l): Likewise.
24509 [non-C99-based standards] (jnl): Likewise.
24510 [non-C99-based standards] (lgammal): Likewise.
24511 [non-C99-based standards] (tgammal): Likewise.
24512 [non-C99-based standards] (y0l): Likewise.
24513 [non-C99-based standards] (y1l): Likewise.
24514 [non-C99-based standards] (ynl): Likewise.
24515 [non-C99-based standards] (isnanl): Likewise.
24516 [non-C99-based standards] (acoshl): Likewise.
24517 [non-C99-based standards] (asinhl): Likewise.
24518 [non-C99-based standards] (atanhl): Likewise.
24519 [non-C99-based standards] (cbrtl): Likewise.
24520 [non-C99-based standards] (expm1l): Likewise.
24521 [non-C99-based standards] (ilogbl): Likewise.
24522 [non-C99-based standards] (log1pl): Likewise.
24523 [non-C99-based standards] (logbl): Likewise.
24524 [non-C99-based standards] (nextafterl): Likewise.
24525 [non-C99-based standards] (remainderl): Likewise.
24526 [non-C99-based standards] (rintl): Likewise.
24527 [non-C99-based standards] (scalbl): Likewise.
24528 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24529 [non-C99-based standards] (FP_*): Do not allow.
24530 [C99-based standards] (FP_*): Change to
24531 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24532 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24534 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24535 (SIG_ERR): Likewise.
24536 [X/Open-based standards] (SIG_HOLD): Likewise.
24537 (SIG_IGN): Likewise.
24538 (SIGABRT): Use macro-int-constant. Specify type. Require
24540 (SIGFPE): Likewise.
24541 (SIGILL): Likewise.
24542 (SIGINT): Likewise.
24543 (SIGSEGV): Likewise.
24544 (SIGTER): Likewise.
24545 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24546 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24547 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24548 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24549 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24550 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24551 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24552 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24553 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24554 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24555 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24556 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24557 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24558 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24559 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24560 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24561 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24562 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24563 [X/Open-based standards] (SIGTRAP): Likewise.
24564 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24565 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24566 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24567 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24568 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24571 2012-05-08 Ian Wienand <ianw@vmware.com>
24574 * time/tzset.c (__tzset_parse_tz): Update default rules for
24575 daylight time changes in the Energy Policy Act of 2005.
24577 2012-05-09 Andreas Jaeger <aj@suse.de>
24580 * elf/ldconfig.c (parse_conf): Change string to make clear that
24581 ldconfig only issued a warning if ld.so.conf does not exist.
24583 2012-05-08 David S. Miller <davem@davemloft.net>
24585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24586 movxtod instead of popping the value on the stack.
24588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24590 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24592 * config.h.in: Add HAVE_ARM_PCS_VFP.
24594 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24597 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24598 checking but the checks are disabled for any reason.
24600 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24602 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24603 and ELF64_R_TYPE with ELFW(R_TYPE).
24605 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24607 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24608 (ulimit): Likewise.
24610 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24611 (settimeofday): Likewise.
24613 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24615 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24616 a struct th_u2 inside the union, and move tu_block/tu_code into
24617 a new th_u3 union of tu_block/tu_code inside of that. Move
24618 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24619 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24620 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24621 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24622 (th_stuff): Change to th_u1.tu_stuff.
24624 (th_msg): Change to th_u1.th_u2.tu_data.
24626 2012-05-07 David S. Miller <davem@davemloft.net>
24628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24631 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24632 (SETUP_PIC_REG): Use it.
24633 (SETUP_PIC_REG_LEAF): Use it.
24635 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24639 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24641 (EXPL_FINITE): Likewise.
24642 (FLDLOG): Likewise.
24643 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24644 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24646 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24648 (EXPL_FINITE): Likewise.
24649 (FLDLOG): Likewise.
24650 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24651 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24653 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24654 test of -max_value argument for long double.
24655 * sysdeps/i386/fpu/libm-test-ulps: Update.
24656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24658 2012-05-06 David S. Miller <davem@davemloft.net>
24660 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24661 quad soft-float symbols whose references which are compiler
24663 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24665 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24669 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24671 (EXPL_FINITE): Likewise.
24672 (FLDLOG): Likewise.
24675 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24676 Adjust comments for base varying.
24677 (__expl_finite): Change alias to EXPL_FINITE.
24678 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24680 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24681 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24683 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24684 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24686 (EXPL_FINITE): Likewise.
24687 (FLDLOG): Likewise.
24690 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24691 Adjust comments for base varying.
24692 (__expl_finite): Change alias to EXPL_FINITE.
24693 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24698 * math/libm-test.inc (check_float_internal): Correct ulp
24699 calculation for subnormal expected results.
24701 2012-05-06 Andreas Jaeger <aj@suse.de>
24703 * Makeconfig (+math-flags): New, set to -frounding-math.
24704 (+cflags): Add +math-flags so that all of glibc gets compiled with
24707 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24709 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24711 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24717 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24718 (__ieee754_expl): Allow for and saturate large arguments.
24719 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24720 (u_threshold): Likewise.
24721 (__exp): Call __ieee754_exp before checking for overflow and
24723 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24724 (u_threshold): Likewise.
24725 (__expf): Call __ieee754_expf before checking for overflow and
24727 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24728 (u_threshold): Likewise.
24729 (__expl): Call __ieee754_expl before checking for overflow and
24731 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24732 (__ieee754_expl): Allow for and saturate large arguments.
24733 * math/libm-test.inc (exp_test): Add another test. Do not allow
24734 missing overflow exception on overflow.
24735 (expm1_test): Do not allow missing overflow exception on overflow.
24737 * sysdeps/i386/fpu/e_expl.c: Move to ...
24738 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24739 rather than using inline asm.
24740 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24741 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24742 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24744 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24747 (signal): Likewise.
24751 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24753 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24754 sysdeps/unix/common/syscalls.list.
24755 (fchmod): Likewise.
24756 (fchown): Likewise.
24757 (ftruncate): Likewise.
24758 (getrusage): Likewise.
24759 (gettimeofday): Likewise.
24760 (setpgid): Likewise.
24761 (setregid): Likewise.
24762 (setreuid): Likewise.
24763 (sigaction): Likewise.
24764 (truncate): Likewise.
24765 (vhangup): Likewise.
24766 * sysdeps/unix/common/syscalls.list: Remove file.
24767 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24768 * sysdeps/unix/sysv/linux/Implies: Likewise.
24770 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24772 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24774 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24778 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24781 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24784 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24787 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24790 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24793 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24796 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24800 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24804 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24807 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24811 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24815 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24817 * sysdeps/unix/common/bits/dirent.h: Remove file.
24818 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24820 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24821 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24822 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24823 * sysdeps/unix/bsd/isatty.c: Likewise.
24824 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24825 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24826 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24828 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24832 long double comparison inaccuracies.
24833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24836 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24838 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24839 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24841 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24844 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24845 nonzero digits before rounding a hex value.
24846 * stdlib/tst-strtod.c (tests): Add another test.
24848 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24850 * sysdeps/s390/fpu/libm-test-ulps: Update.
24852 2012-05-03 Andreas Jaeger <aj@suse.de>
24854 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24855 does not get optimized out.
24856 (malloc_opt_barrier): New.
24858 2012-05-03 Andreas Jaeger <aj@suse.de>
24859 Roland McGrath <roland@hack.frob.com>
24861 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24862 intermediate file deletion.
24863 (generated): Add .symlist files.
24865 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24868 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24869 Redirect under this condition.
24870 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24871 [__USE_GNU] (__dprintf_chk): Not under this condition.
24872 [__USE_GNU] (__vdprintf_chk): Likewise.
24873 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24874 under this condition.
24875 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24876 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24877 [__USE_XOPEN2K8] (vdprintf): Likewise.
24878 [__USE_GNU] (__dprintf_chk): Not under this condition.
24879 [__USE_GNU] (__vdprintf_chk): Likewise.
24880 [__USE_GNU] (dprintf): Likewise.
24881 [__USE_GNU] (vdprintf): Likewise.
24883 2012-05-03 Roland McGrath <roland@hack.frob.com>
24885 * elf/Makefile (common-generated): Set this instead of generated for
24886 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24887 $(all-built-dso)-derived lists.
24889 2012-05-03 Andreas Jaeger <aj@suse.de>
24891 * sysdeps/i386/fpu/libm-test-ulps: Update.
24894 * FAQ.in: Likewise.
24895 * scripts/gen-FAQ.pl: Likewise.
24896 * manual/install.texi (Installation): Point to online location of
24898 * Makefile (files-for-dist): Remove FAQ.
24901 2012-05-02 Allan McRae <allan@archlinux.org>
24903 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24904 (LDFLAGS-reldepmod5.so): Likewise.
24905 (LDFLAGS-reldep6mod1.so): Likewise.
24906 (LDFLAGS-reldep6mod4.so): Likewise.
24907 (LDFLAGS-reldep8mod3.so): Likewise.
24908 (LDFLAGS-unload4mod1.so): Likewise.
24909 (LDFLAGS-unload4mod2.so): Likewise.
24910 (LDFLAGS-tst-initorder): Likewise.
24911 (LDFLAGS-tst-initordera2.so): Likewise.
24912 (LDFLAGS-tst-initordera3.so): Likewise.
24913 (LDFLAGS-tst-initordera4.so): Likewise.
24914 (LDFLAGS-tst-initorderb2.so): Likewise.
24915 (LDFLAGS-noload): Likewise.
24916 (LDFLAGS-next): Likewise.
24917 (LDFLAGS-order2mod1.so): Likewise.
24918 (LDFLAGS-order2mod2.so): Likewise.
24919 (LDFLAGS-tst-initorder2): Likewise.
24920 (LDFLAGS-tst-initorder2a.so): Likewise.
24921 (LDFLAGS-tst-initorder2b.so): Likewise.
24922 (LDFLAGS-tst-initorder2c.so): Likewise.
24923 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24925 2012-05-02 David S. Miller <davem@davemloft.net>
24927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24929 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24932 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24934 2012-05-02 Andreas Jaeger <aj@suse.de>
24936 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24937 since we manipulate rounding mode.
24938 (CPPFLAGS-test-idouble.c): Likewise.
24939 (CPPFLAGS-test-ifloat.c): Likewise.
24940 (CFLAGS-test-ldouble.c): Likewise.
24941 (CFLAGS-test-double.c): Likewise.
24942 (CFLAGS-test-float.c): Likewise.
24943 (CFLAGS-test-misc.c): Likewise.
24944 (CFLAGS-test-test-fenv.c): Likewise.
24946 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24950 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24951 comparisons to determine direction to adjust input.
24953 2012-05-01 Roland McGrath <roland@hack.frob.com>
24955 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24956 output to the target.
24958 * scripts/localplt.awk: New file.
24959 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24960 (check-localplt-CFLAGS): Variable removed.
24961 ($(all-built-dso:=.jmprel)): New static pattern rule.
24962 (generated): Add those targets.
24963 (localplt-built-dso): New variable.
24964 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24966 * elf/check-localplt.c: File removed.
24968 * scripts/check-execstack.awk: New file.
24969 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24970 (check-execstack-CFLAGS): Variable removed.
24971 ($(objpfx)check-execstack.h): Target removed.
24972 ($(objpfx)execstack-default): New target.
24973 (generated): Add that instead of check-execstack.h.
24974 ($(all-built-dso:=.phdr)): New static pattern rule.
24975 (generated): Add those targets.
24976 * elf/check-execstack.c: File removed.
24978 * scripts/check-textrel.awk: New file.
24979 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24980 (check-textrel-CFLAGS): Variable removed.
24981 (all-built-dso): Use := to define.o
24982 ($(all-built-dso:=.dyn)): New static pattern rule.
24983 (generated): Add those targets.
24984 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24985 * config.make.in (READELF): New substituted variable.
24986 * elf/check-textrel.c: File removed.
24988 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24990 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24992 * conform/data/ctype.h-data [C99-based standards] (isblank):
24994 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24995 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24997 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24998 Specify type. Require positive value.
24999 (EILSEQ): Likewise.
25000 (ERANGE): Likewise.
25001 [ISO || POSIX] (EILSEQ): Do not expect.
25002 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25003 Specify type. Require positive value.
25004 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25005 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25006 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25007 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25008 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25009 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25010 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25011 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25012 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25013 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25014 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25015 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25016 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25017 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25018 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25019 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25020 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25021 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25022 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25023 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25024 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25025 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25026 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25027 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25028 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25029 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25030 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25031 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25032 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25033 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25034 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25035 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25036 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25037 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25038 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25039 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25040 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25041 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25042 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25043 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25044 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25045 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25046 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25047 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25048 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25049 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25050 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25051 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25052 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25053 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25054 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25055 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25056 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25057 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25058 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25059 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25060 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25061 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25062 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25063 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25064 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25065 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25066 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25067 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25068 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25069 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25070 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25071 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25072 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25073 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25074 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25075 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25076 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25077 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25078 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25079 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25080 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25082 (FLT_ROUNDS): Expect as macro, not constant.
25083 (FLT_MANT_DIG): Use macro-int-constant.
25084 (DBL_MANT_DIG): Likewise.
25085 (LDBL_MANT_DIG): Likewise.
25086 (FLT_DIG): Likewise.
25087 (DBL_DIG): Likewise.
25088 (LDBL_DIG): Likewise.
25089 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25090 (DBL_MIN_EXP): Likewise.
25091 (LDBL_MIN_EXP): Likewise.
25092 (FLT_MAX_EXP): Use macro-int-constant.
25093 (DBL_MAX_EXP): Likewise.
25094 (LDBL_MAX_EXP): Likewise.
25095 (FLT_MAX_10_EXP): Likewise.
25096 (DBL_MAX_10_EXP): Likewise.
25097 (LDBL_MAX_10_EXP): Likewise.
25098 (FLT_MAX): Use macro-constant.
25099 (DBL_MAX): Likewise.
25100 (LDBL_MAX): Likewise.
25101 (FLT_EPSILON): Use macro-constant. Give upper bound.
25102 (DBL_EPSILON): Likewise.
25103 (LDBL_EPSILON): Likewise.
25104 (FLT_MIN): Likewise.
25105 (DBL_MIN): Likewise.
25106 (LDBL_MIN): Likewise.
25107 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25108 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25109 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25110 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25111 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25112 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25113 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25114 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25115 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25116 [ISO11] (FLT_TRUE_MIN): Likewise.
25117 [ISO11] (LDBL_TRUE_MIN): Likewise.
25118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25119 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25120 (SCHAR_MIN): Use macro-int-constant. Specify type.
25121 (SCHAR_MAX): Likewise.
25122 (UCHAR_MAX): Likewise.
25123 (CHAR_MIN): Likewise.
25124 (CHAR_MAX): Likewise.
25125 (MB_LEN_MAX): Use macro-int-constant.
25126 (SHRT_MIN): Use macro-int-constant. Specify type.
25127 (SHRT_MAX): Likewise.
25128 (USHRT_MAX): Likewise.
25129 (INT_MAX): Likewise.
25130 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25132 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25134 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25136 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25137 bound negative. Suffix upper bound with "L".
25138 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25140 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25142 [C99-based standards] (LLONG_MAX): Likewise.
25143 [C99-based standards] (ULLONG_MAX): Likewise.
25144 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25146 [ISO11] (max_align_t): Require type.
25147 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25149 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25150 from $CFLAGS, without defining away __attribute__ calls.
25151 (checknamespace): Use $CFLAGS_namespace.
25153 * conform/conformtest.pl (@keywords): Only include C99 keywords
25154 for standards based on C99 or C11.
25156 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25158 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25161 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25162 usability of symbols in #if.
25164 * conform/conformtest.pl: If macro or constant types start
25165 "promoted:", expect the symbol to be of the following type
25166 promoted by the integer promotions.
25168 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25169 in one place. Also handle "macro-constant".
25171 * conform/conformtest.pl: Only accept expected macro values with
25172 "==". Parse all "macro" lines in one place.
25173 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25175 * conform/conformtest.pl: Handle braced types on "constant" lines
25176 instead of handling "typed-constant".
25177 * conform/data/signal.h-data: Use "constant" instead of
25180 * conform/conformtest.pl: Handle "optional-" at start of lines in
25181 one place rather than duplicating several cases. Handle each
25182 format of "macro" line with initial "optional-".
25184 * conform/conformtest.pl: Only accept expected constant or
25185 optional-constant values with "==". Parse all "constant" lines in
25186 one place. Parse all "optional-constant" lines in one place.
25187 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25188 * conform/data/fmtmsg.h-data: Likewise.
25189 * conform/data/netinet/in.h-data: Likewise.
25190 * conform/data/tar.h-data: Likewise.
25191 * conform/data/limits.h-data: Use "==" form on "constant" and
25192 "optional-constant" lines.
25194 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25195 Use -std=c99 for XOPEN2K.
25196 (@knownproblems): Remove.
25197 (newtoken): Don't check %isknown.
25199 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25200 Do not expect macro.
25201 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25202 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25203 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25204 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25205 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25206 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25207 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25208 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25209 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25210 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25211 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25212 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25213 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25214 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25215 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25216 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25217 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25218 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25219 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25220 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25221 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25222 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25223 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25224 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25225 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25226 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25227 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25228 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25229 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25230 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25231 [XPG3] (acosh): Likewise.
25232 [XPG3] (asinh): Likewise.
25233 [XPG3] (atanh): Likewise.
25234 [XPG3] (cbrt): Likewise.
25235 [XPG3] (expm1): Likewise.
25236 [XPG3] (ilogb): Likewise.
25237 [XPG3] (log1p): Likewise.
25238 [XPG3] (logb): Likewise.
25239 [XPG3] (nextafter): Likewise.
25240 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25241 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25242 [XPG3] (remainder): Likewise.
25243 [XPG3] (rint): Likewise.
25244 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25245 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25246 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25247 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25248 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25249 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25250 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25251 [UNIX98 || XOPEN2K] (scalb): Expect.
25252 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25253 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25254 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25255 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25256 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25257 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25258 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25259 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25260 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25261 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25262 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25263 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25264 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25265 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25266 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25267 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25268 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25269 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25270 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25271 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25272 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25273 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25274 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25275 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25276 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25277 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25278 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25279 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25280 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25281 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25282 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25283 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25284 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25285 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25286 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25287 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25288 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25289 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25290 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25291 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25292 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25293 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25294 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25295 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25296 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25297 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25298 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25299 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25300 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25301 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25302 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25303 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25304 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25305 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25306 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25307 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25308 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25309 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25310 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25311 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25312 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25313 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25314 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25315 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25316 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25317 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25318 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25319 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25320 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25321 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25322 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25323 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25324 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25325 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25326 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25327 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25328 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25329 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25330 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25331 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25332 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25333 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25334 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25335 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25336 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25337 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25338 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25339 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25340 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25341 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25342 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25343 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25344 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25345 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25346 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25347 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25348 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25349 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25350 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25351 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25352 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25353 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25354 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25355 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25356 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25357 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25358 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25359 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25360 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25361 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25362 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25363 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25364 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25365 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25366 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25367 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25368 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25369 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25370 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25371 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25372 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25373 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25374 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25375 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25376 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25377 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25378 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25379 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25380 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25381 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25382 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25383 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25384 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25385 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25386 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25387 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25388 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25390 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25391 _XOPEN_SOURCE_EXTENDED for XPG4.
25393 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25395 * Makeconfig (localtime): Remove variable.
25396 (inst_localtime-file): Likewise.
25398 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25419 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25423 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25424 comparisons to determine direction to adjust input.
25425 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25426 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25427 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25431 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25433 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25434 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25436 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25438 * math/libm-test.inc (nexttoward_test): Add more tests.
25440 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25443 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25444 in version GLIBC_2.1, not GLIBC_2.0.
25445 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25448 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25451 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25453 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25454 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25455 * math/libm-test.inc (acos_test): Add more tests.
25456 (asin_test): Likewise.
25457 * sysdeps/i386/fpu/libm-test-ulps: Update.
25458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25461 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25463 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25464 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25465 * math/libm-test.inc (acos_test_tonearest): New function.
25466 (acos_test_towardzero): Likewise.
25467 (acos_test_downward): Likewise.
25468 (acos_test_upward): Likewise.
25469 (asin_test_tonearest): Likewise.
25470 (asin_test_towardzero): Likewise.
25471 (asin_test_downward): Likewise.
25472 (asin_test_upward): Likewise.
25473 (main): Call the new functions.
25474 * sysdeps/i386/fpu/libm-test-ulps: Update.
25475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25479 * math/e_exp10.c: Include <float.h>.
25480 (__ieee754_exp10): Handle underflow here rather than multiplying
25481 large negative argument by M_LN10.
25482 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25484 * math/e_exp10l.c: Include <float.h>.
25485 (__ieee754_exp10l): Handle underflow here rather than multiplying
25486 large negative argument by M_LN10l.
25487 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25488 spurious overflow exception on underflow.
25490 2012-04-29 Marek Polacek <polacek@redhat.com>
25492 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25493 (__fortify_function): New macro.
25494 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25495 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25496 __extern_always_inline.
25497 * libio/bits/stdio2.h: Likewise.
25498 * libio/bits/stdio.h: Likewise.
25499 * string/string.h: Likewise.
25500 * string/bits/string3.h: Likewise.
25501 * include/stdio.h: Likewise.
25502 * stdlib/bits/stdlib.h: Likewise.
25503 * stdlib/stdlib.h: Likewise.
25504 * rt/bits/mqueue2.h: Likewise.
25505 * rt/mqueue.h: Likewise.
25506 * posix/bits/unistd.h: Likewise.
25507 * posix/unistd.h: Likewise.
25508 * io/bits/poll2.h: Likewise.
25509 * io/bits/fcntl2.h: Likewise.
25510 * io/fcntl.h: Likewise.
25511 * io/sys/poll.h: Likewise.
25512 * misc/bits/syslog.h: Likewise.
25513 * misc/bits/syslog-ldbl.h: Likewise.
25514 * misc/sys/syslog.h: Likewise.
25515 * socket/bits/socket2.h: Likewise.
25516 * socket/sys/socket.h: Likewise.
25517 * debug/tst-chk1.c: Likewise.
25518 * wcsmbs/bits/wchar2.h: Likewise.
25519 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25520 * wcsmbs/wchar.h: Likewise.
25522 2012-04-29 Andreas Jaeger <aj@suse.de>
25524 * Makerules (tests): Remove enable-check-abi protection.
25525 (check-abi-warn): Remove.
25526 (check-abi-%): Remove check-abi-warn usage.
25528 * configure.in: Remove check-abi configure option.
25529 * configure: Regenerated.
25530 * config.make.in (enable-check-abi): Remove.
25532 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25535 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25536 double functions to double *_finite functions.
25539 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25540 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25542 * stdio-common/Makefile (tests): Add tst-sprintf3.
25543 * stdio-common/tst-sprintf3.c: New file.
25545 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25546 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25548 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25550 * conform/conformtest.pl: Remove duplicate typed-constant
25553 2012-04-28 David S. Miller <davem@davemloft.net>
25555 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25556 (check-abi-%): Remove AWK script prerequisite and explicit
25558 (check-abi): Rewrite to just diff the symlist with the abilist.
25559 (config-tls, config-abi-config): Delete, no longer used.
25560 (update-abi-%): Remove AWK script and explicit abilist directory.
25561 (update-abi): Rewrite to simply compare and conditionally copy the
25562 symlist and the sysdep abilist file. Remove update-abi-config
25564 * abilist/ld.abilist: Remove.
25565 * abilist/libBrokenLocale.abilist: Remove.
25566 * abilist/libanl.abilist: Remove.
25567 * abilist/libcrypt.abilist: Remove.
25568 * abilist/libdl.abilist: Remove.
25569 * abilist/librt.abilist: Remove.
25570 * abilist/libthread_db.abilist: Remove.
25571 * abilist/libutil.abilist: Remove.
25572 * scripts/extract-abilist.awk: Remove.
25573 * scripts/merge-abilist.awk: Remove.
25574 * sysdeps/generic/libcidn.abilist: New file.
25575 * sysdeps/generic/libnss_compat.abilist: New file.
25576 * sysdeps/generic/libnss_db.abilist: New file.
25577 * sysdeps/generic/libnss_dns.abilist: New file.
25578 * sysdeps/generic/libnss_files.abilist: New file.
25579 * sysdeps/generic/libnss_hesiod.abilist: New file.
25580 * sysdeps/generic/libnss_nis.abilist: New file.
25581 * sysdeps/generic/libnss_nisplus.abilist: New file.
25582 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25583 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25584 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25586 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25587 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25588 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25589 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25590 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25591 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25592 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25593 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25594 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25596 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25597 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25598 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25599 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25601 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25602 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25603 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25604 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25605 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25606 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25608 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25609 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25610 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25612 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25631 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25633 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25715 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25716 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25717 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25719 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25720 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25721 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25722 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25723 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25724 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25725 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25726 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25727 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25728 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25780 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25782 * conform/conformtest.pl: Fix typo in handling typed-constant from
25785 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25787 * README: Cut down references to pre-2.6 Linux kernels and
25788 Linuxthreads. Update lists of configurations in libc and ports
25789 and sort alphabetically. Say "or newer" with Linux kernel version
25792 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25794 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25797 * math/libm-test.inc (logb_test_downward): New test to expose
25798 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25801 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25804 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25806 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25807 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25809 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25811 * sysdeps/unix/i386/brk.S: Remove file.
25812 * sysdeps/unix/i386/dl-brk.S: Likewise.
25813 * sysdeps/unix/i386/pipe.S: Likewise.
25814 * sysdeps/unix/i386/sigreturn.S: Likewise.
25815 * sysdeps/unix/i386/syscall.S: Likewise.
25816 * sysdeps/unix/i386/vfork.S: Likewise.
25817 * sysdeps/unix/i386/wait.S: Likewise.
25819 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25820 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25822 * configure.in (arm*-none*): Do not allow without
25823 --enable-hacker-mode.
25824 (netbsd*): Remove case setting base_os.
25825 (386bsd*): Likewise.
25826 (freebsd*): Likewise.
25829 (sunos*): Likewise.
25830 (ultrix*): Likewise.
25831 (newsos*): Likewise.
25832 (dynix*): Likewise.
25838 (minix*): Likewise.
25839 (irix4*): Likewise.
25840 (irix6*): Likewise.
25841 (solaris[2-9]*): Likewise.
25843 * configure: Regenerated.
25845 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25848 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25849 overflow or cancellation in calculating denominator.
25850 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25851 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25852 down expression to avoid unexpected rounding in newer GCCs.
25853 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25855 2012-04-26 David S. Miller <davem@davemloft.net>
25857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25858 long-double compat symbols.
25859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25873 2012-04-25 David S. Miller <davem@davemloft.net>
25875 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25876 HWCAP_* values only after the memory barriers have been defined.
25877 (atomic_full_barrier): Define.
25878 (atomic_read_barrier): Define.
25879 (atomic_write_barrier): Define.
25881 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25883 * shlib-versions: Add libgcc_s version information.
25884 * sysdeps/generic/libgcc_s.h: Remove.
25885 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25887 * sysdeps/gnu/unwind-resume.c: Likewise.
25888 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25890 2012-04-25 David S. Miller <davem@davemloft.net>
25892 * sysdeps/unix/sparc/brk.S: Delete.
25893 * sysdeps/unix/sparc/dl-brk.S: Delete.
25894 * sysdeps/unix/sparc/pipe.S: Delete.
25895 * sysdeps/unix/sparc/sysdep.S: Delete.
25896 * sysdeps/unix/sparc/sysdep.h: Delete.
25897 * sysdeps/unix/sparc/vfork.S: Delete.
25898 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25899 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25900 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25901 ret_ERRVAL, r0, r1, MOVE): Define.
25902 (JUMPTARGET): Remove.
25903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25904 sysdeps/unix/sparc/sysdep.h
25905 (ENTRY, END): Remove.
25906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25908 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25910 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25911 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25914 * timezone/README: Update upstream location and email address for
25916 * timezone/zdump.c: Update from tzcode 2012b.
25917 * timezone/zic.c: Likewise.
25919 * configure.in (libc_cv_as_needed): Remove test.
25920 * configure: Regenerated.
25921 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25922 conditional definition.
25923 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25924 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25925 * config.make.in (have-as-needed): Remove variable.
25927 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25928 Paul Pluzhnikov <ppluzhnikov@google.com>
25930 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25933 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25935 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25936 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25937 * sysdeps/sh/strlen.S: Likewise.
25939 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25941 * sysdeps/unix/fork.S: Remove file.
25942 * sysdeps/unix/i386/fork.S: Likewise.
25943 * sysdeps/unix/sparc/fork.S: Likewise.
25945 * sysdeps/unix/system.c: Remove file.
25946 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25948 * sysdeps/unix/getegid.S: Remove file.
25949 * sysdeps/unix/geteuid.S: Likewise.
25951 2012-04-24 Roland McGrath <roland@hack.frob.com>
25953 * scripts/check-localplt.awk: New file.
25954 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25956 * scripts/data/localplt-generic.data: Add a comment.
25958 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25959 NODE when __dir_mkfile failed.
25960 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25961 Reported by Ludovic Courtès <ludo@gnu.org>.
25963 2012-04-24 Andreas Jaeger <aj@suse.de>
25965 * Makerules (common-clean): Also remove gen-as-const-headers
25968 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25970 * Makerules (native-compile): Do not change working directory for
25971 build. Use $(OUTPUT_OPTION) in command.
25972 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25974 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25977 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25978 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25979 * math/libm-test.inc (floor_test): Add more tests.
25980 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25982 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25984 * sysdeps/unix/getdents.c: Remove file.
25985 * sysdeps/unix/sysv/getdents.c: Likewise.
25986 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25988 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25989 sysdeps/unix/mman/syscalls.list.
25991 (mprotect): Likewise.
25993 (munmap): Likewise.
25994 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25995 * sysdeps/unix/mman/syscalls.list: Remove.
25996 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25998 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25999 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26000 * configure: Regenerated.
26001 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26002 $(libgcc_s_suffix).
26003 * config.make.in (libgcc_s_suffix): Remove variable.
26005 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26007 * sysdeps/unix/sysv/gethostname.c: Move to ...
26008 * sysdeps/posix/gethostname.c: ... here.
26010 * sysdeps/unix/execve.S: Remove file.
26012 * sysdeps/unix/_exit.S: Remove file.
26014 2012-04-23 Andreas Jaeger <aj@suse.de>
26017 * manual/Makefile: Remove make dist support, there's no
26018 need for a stand-alone documentation tar ball.
26019 (TEXI2DVI): Define always, it's not in Makeconfig.
26022 (edition): Removed.
26023 (glibc-doc-$(edition).tar): Removed
26027 (ETAGS): Remove, it's in Makeconfig.
26028 (move-if-change): Remove, it's in Makeconfig.
26030 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26033 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26034 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26035 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26036 (strtod_l, strtof_l, strtold_l): Remove __wur.
26037 It is not necessarily an error to ignore strtol's return value.
26038 One can reliably look at the stored endptr to decide whether
26039 the number had valid syntax.
26041 2012-04-21 Andreas Jaeger <aj@suse.de>
26044 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26046 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26048 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26049 * sysdeps/unix/sysv/Versions: Remove file.
26051 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26056 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26059 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26060 version from __vm86.
26062 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26064 * sysdeps/unix/common/lxstat.c: Remove file.
26065 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26067 * sysdeps/unix/sysv/Makefile: Remove file.
26069 * sysdeps/unix/sysv/direct.h: Remove file.
26071 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26072 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26073 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26074 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26075 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26076 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26077 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26079 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26081 * sysdeps/unix/xmknod.c: Remove file.
26082 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26084 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26086 * sysdeps/unix/sysv/i386/time.S: Remove file.
26088 * sysdeps/unix/fxstat.c: Remove file.
26089 * sysdeps/unix/xstat.c: Likewise.
26090 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26092 * sysdeps/unix/sysv/sigaction.c: Remove file.
26094 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26095 (sysdep_headers): Remove variable.
26096 [termio.h not in sysdep_headers] (generated): Likewise.
26097 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26098 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26099 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26100 * sysdeps/unix/sysv/tcflow.c: Likewise.
26101 * sysdeps/unix/sysv/tcflush.c: Likewise.
26102 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26103 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26104 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26105 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26106 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26108 * sysdeps/unix/siglist.c: Remove file.
26110 * sysdeps/unix/getppid.S: Remove file.
26112 * sysdeps/unix/mkdir.c: Remove file.
26113 * sysdeps/unix/rmdir.c: Likewise.
26115 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26117 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26119 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26120 errlist-compat value.
26122 2012-04-18 David S. Miller <davem@davemloft.net>
26124 * sysdeps/generic/memcopy.h (reg_char): Delete.
26125 * debug/strcat_chk.c: Use char, not reg_char.
26126 * debug/strcpy_chk.c: Likewise.
26127 * debug/strncat_chk.c: Likewise.
26128 * debug/strncpy_chk.c: Likewise.
26129 * string/memchr.c: Likewise.
26130 * string/memrchr.c: Likewise.
26131 * string/rawmemchr.c: Likewise.
26132 * string/strcat.c: Likewise.
26133 * string/strchr.c: Likewise.
26134 * string/strchrnul.c: Likewise.
26135 * string/strcmp.c: Likewise.
26136 * string/strcpy.c: Likewise.
26137 * string/strncat.c: Likewise.
26138 * string/strncmp.c: Likewise.
26139 * string/strncpy.c: Likewise.
26141 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26143 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26144 __builtin_memcopy is called when src and dest ranges are known to not
26147 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26149 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26150 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26151 fwd_align_merge macro call.
26152 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26153 bwd_align_merge macro call.
26154 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26156 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26158 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26159 bwd_align_merge macros.
26160 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26161 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26162 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26164 2012-04-18 David S. Miller <davem@davemloft.net>
26166 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26168 2012-04-18 Andreas Jaeger <aj@suse.de>
26171 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26172 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26173 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26175 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26176 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26177 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26179 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26180 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26181 Adjust for changed ldbl-128 files.
26183 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26184 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26185 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26187 2012-04-17 David S. Miller <davem@davemloft.net>
26189 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26191 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26193 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26194 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26195 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26196 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26197 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26198 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26200 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26203 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26204 * math/libm-test.inc: Add ilogb errno and exception tests.
26205 * math/w_ilogb.c: New file: ilogb wrapper.
26206 * math/w_ilogbf.c: New file: ilogbf wrapper.
26207 * math/w_ilogbl.c: New file: ilogbl wrapper.
26208 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26209 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26210 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26211 exception being thrown with 0.0 as argument.
26212 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26213 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26214 exception being thrown with 0.0 as argument.
26215 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26216 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26217 exception being thrown with 0.0 as argument.
26218 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26219 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26220 exception being thrown with 0.0 as argument.
26221 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26222 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26223 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26224 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26225 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26226 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26227 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26228 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26229 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26231 2012-04-17 Petr Baudis <pasky@ucw.cz>
26233 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26236 2012-04-16 Marek Polacek <polacek@redhat.com>
26238 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26240 2012-04-16 Marek Polacek <polacek@redhat.com>
26242 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26243 operands of fdivp instruction.
26245 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26247 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26248 * elf/tst-auditmod3b.c: Likewise.
26249 * elf/tst-auditmod4b.c: Likewise.
26250 * elf/tst-auditmod5b.c: Likewise.
26251 * elf/tst-auditmod6b.c: Likewise.
26252 * elf/tst-auditmod6c.c: Likewise.
26253 * elf/tst-auditmod7b.c: Likewise.
26254 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26255 * sysdeps/x86_64/preconfigure.in: Likewise.
26256 * sysdeps/x86_64/preconfigure: Regenerated.
26258 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26260 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26263 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26266 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26268 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26271 * locale/iso-639.def: Fix gl language name. Spotted by
26274 2012-04-12 Roland McGrath <roland@hack.frob.com>
26277 * libio/libio.h (__io_write_fn): Update comment.
26279 2012-04-12 Petr Baudis <pasky@ucw.cz>
26282 * stdio.texi (Hook Functions): The user provided writer function
26283 is not allowed to return -1.
26285 2012-04-11 David S. Miller <davem@davemloft.net>
26287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26289 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26291 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26292 Add a leading slash to rtkaio.
26294 2012-04-11 Jim Meyering <meyering@redhat.com>
26297 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26298 It is not necessarily an error to ignore fwrite's return
26299 value. One can reliably use ferror to test for errors after
26302 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26304 * bits/types.h (__snseconds_t): New type.
26305 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26307 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26309 (__SNSECONDS_T_TYPE): Likewise.
26310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26311 (__SNSECONDS_T_TYPE): Likewise.
26312 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26313 (__SNSECONDS_T_TYPE): Likewise.
26315 2012-04-10 Andreas Jaeger <aj@suse.de>
26318 * manual/time.texi (Processor Time): Return type of times is
26319 elapsed real time since an arbitrary point in the past.
26320 (CPU Time): Move CLK_TCK from here...
26321 (Processor Time): ...to here. Correct description.
26322 * manual/conf.texi (Constants for Sysconf): Correct description of
26325 2012-04-10 David S. Miller <davem@davemloft.net>
26328 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26329 where the is a gap between DT_REL(A) and DT_JMPREL.
26331 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26333 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26334 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26335 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26337 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26339 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26340 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26341 (dl_main): Handle --inhibit-cache.
26342 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26344 * elf/dl-load.c (_dl_map_object): Use it.
26345 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26347 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26350 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26351 (__ieee754_powl): Saturate large exponents rather than testing for
26352 overflow of y*log2(x).
26353 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26354 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26358 * math/s_ctan.c: Include <float.h>.
26359 (__ctan): Avoid internal overflow or cancellation in calculating
26361 * math/s_ctanf.c: Likewise.
26362 * math/s_ctanl.c: Likewise.
26363 * math/s_ctanh.c: Likewise.
26364 * math/s_ctanhf.c: Likewise.
26365 * math/s_ctanhl.c: Likewise.
26366 * math/libm-test.inc (ctan_test): Add more tests.
26367 (ctanh_test): Likewise.
26368 * sysdeps/i386/fpu/libm-test-ulps: Update.
26369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26371 2012-04-09 Andreas Jaeger <aj@suse.de>
26374 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26375 is an optional BSD extension.
26378 * manual/stdio.texi (Opening Streams): Document additional fopen
26381 2012-04-09 Roland McGrath <roland@hack.frob.com>
26383 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26384 %eax without telling the compiler.
26386 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26389 * manual/install.texi: Use sourceware.org.
26391 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26394 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26395 (__ieee754_pow): Generate overflow and underflow using huge*huge
26396 and tiny*tiny rather than just returning constant infinity or zero
26397 for large exponents.
26398 * math/libm-test.inc (pow_test): Require overflow exceptions for
26399 applicable cases of large exponents.
26402 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26403 (__ieee754_pow): Use iterative multiplication algorithm only for
26404 integer exponents with absolute value below 1024. Check for odd
26405 integer exponents when using algorithm for real exponents.
26406 * math/libm-test.inc (pow_test): Add more tests.
26407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26409 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26412 * math/libm-test.inc (exp_test): Do not allow overflow exception
26415 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26418 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26419 instead of __kernel_standard_f.
26421 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26423 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26424 * sysdeps/x86_64/memset_chk.S: Likewise.
26426 2012-04-08 Andreas Jaeger <aj@suse.de>
26429 * manual/startup.texi (Environment Access): Describe return value
26430 for putenv and setenv.
26433 * manual/filesys.texi (Directory Entries): Add description for
26437 * manual/filesys.texi (Directory Entries): Clarify that it's file
26438 system not operating system in the description of DT_UNKNOWN.
26441 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26443 2012-04-08 Stephen Compall <s11@member.fsf.org>
26446 * manual/llio.texi (Opening and Closing Files): Add cross
26447 reference to explain mode argument.
26449 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26451 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26452 * sysdeps/x86_64/memset_chk.S: Likewise.
26454 2012-04-07 David S. Miller <davem@davemloft.net>
26456 * elf/elf.h (R_SPARC_WDISP10): Define.
26457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26459 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26460 R_SPARC_SIZE64 and R_SPARC_H34.
26462 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26464 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26465 conditions and remove no longer applicable assertion.
26467 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26469 * bits/byteswap.h: Include <features.h>.
26470 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26471 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26473 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26475 * bits/byteswap.h (__bswap_16): Removed.
26476 Include <bits/byteswap-16.h> to get __bswap_16.
26477 * sysdeps/i386/bits/byteswap.h: Likewise.
26478 * sysdeps/s390/bits/byteswap.h: Likewise.
26479 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26480 * bits/byteswap-16.h: New file.
26481 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26482 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26483 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26484 * string/Makefile (headers): Add bits/byteswap-16.h.
26486 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26489 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26491 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26492 * nss/tst-nss-static.c: New.
26494 2012-04-06 Robert Millan <rmh@gnu.org>
26497 * manual/llio.texi (File Position Primitive): lseek
26498 refers to WHENCE when it really means OFFSET.
26500 2012-04-06 Andreas Jaeger <aj@suse.de>
26502 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26503 strncmp declarations.
26505 * abilist/libc.abilist: Add __poll and __ppoll.
26507 2012-04-05 David S. Miller <davem@davemloft.net>
26509 * scripts/check-local-headers.sh: Accept a host triplet in the
26510 path matched by the exclude regexp.
26512 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26514 * sysdeps/powerpc/powerpc32/dl-machine.h
26515 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26516 * sysdeps/s390/s390-32/dl-machine.h
26517 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26518 * sysdeps/sparc/sparc32/dl-machine.h
26519 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26520 * sysdeps/sparc/sparc64/dl-machine.h
26521 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26523 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26525 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26526 undefined symbol errors.
26528 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26531 2012-04-05 Michael Matz <matz@suse.de>
26534 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26536 2012-04-05 Andreas Jaeger <aj@suse.de>
26539 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26542 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26544 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26545 which ROUND is no valid rounding mode.
26547 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26549 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26551 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26553 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26555 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26556 an exception using FPU order intentionally.
26558 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26560 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26561 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26562 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26563 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26565 2012-04-05 Simon Josefsson <simon@josefsson.org>
26568 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26569 EINVAL when BUFLEN is too smal.
26571 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26574 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26575 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26577 2012-04-03 Andreas Jaeger <aj@suse.de>
26580 * manual/setjmp.texi (System V contexts): Fix sentence.
26583 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26584 New macro for this case.
26585 [!__GNUC__] (__bswap_64): New inline function for this case.
26586 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26587 * bits/byteswap.h: Likewise.
26588 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26589 ull, guard with __GLIBC_HAVE_LONG_LONG.
26591 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26592 __GLIBC_HAVE_LONG_LONG.
26594 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26595 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26597 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26600 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26601 inptr and inend, rather than using last_ch.
26603 2012-04-02 David S. Miller <davem@davemloft.net>
26605 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26606 * stdio-common/printf-parse.h (read_int): Change return type to
26607 'int', return -1 on INT_MAX overflow.
26608 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26609 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26610 overflows INT_MAX. Check for overflow of in-format-string precision
26611 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26612 SIZE_MAX not INT_MAX for integer overflow test.
26613 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26614 skip the construct in the format string but do not record anything.
26615 * stdio-common/bug22.c: Adjust to test both width/prevision
26616 INT_MAX overflow as well as total length INT_MAX overflow. Check
26617 explicitly for proper errno values.
26619 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26621 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26623 * string/test-strcmp.c [! WIDE]: Likewise.
26624 * time/tst-mktime2.c: Likewise for INT_MAX.
26625 * string/test-string.h: #include <sys/param.h> for MIN.
26627 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26628 * sysdeps/i386/init-first.c (init): Likewise.
26629 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26630 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26631 * sysdeps/sh/init-first.c (init): Likewise.
26633 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26635 * po/ru.po: Update from translation team.
26636 * po/vi.po: Likewise.
26638 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26640 * resolv/nss_dns/dns-host.c: Merge copyright years.
26642 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26645 Optimize memcpy with prefetch if
26646 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26647 src, dst pointers have unequal 16 byte alignments.
26649 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26652 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26653 from a CNAME entry and return the minimum ttl for the query.
26654 (gaih_getanswer_slice): Likewise.
26656 2012-03-30 Jeff Law <law@redhat.com>
26658 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26660 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26661 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26663 * resolv/nss_dns/dns-host.c: Update copyright year.
26665 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26667 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26668 requests to save a system call. Fix check that all bytes are sent.
26670 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26671 comments for sendmmsg.
26673 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26676 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26677 with only 1 character between 0x0041 and 0x01b0.
26678 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26679 * wcsmbs/tst-mbsnrtowcs.c: New file.
26681 2012-03-29 David S. Miller <davem@davemloft.net>
26683 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26684 small copies by hand.
26686 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26689 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26690 _nss_compat_initgroups_dyn): Fall back to malloc/free
26691 for large group memberships.
26693 2012-03-28 David S. Miller <davem@davemloft.net>
26695 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26696 that branches into memcpy.
26697 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26699 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26700 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26703 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26704 implementation too.
26705 * sysdeps/sparc/mempcpy.S: New file.
26707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26708 the IFUNC routine in the libc case.
26709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26711 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26712 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26713 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26714 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26715 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26716 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26717 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26718 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26720 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26721 loop to 256 bytes instead of 64 bytes and fix test signedness.
26723 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26724 * sysdeps/sparc/sparc32/Makefile: rather than here...
26725 * sysdeps/sparc/sparc64/Makefile: and here.
26727 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26729 * malloc/mallocbug.c: Avoid warnings about unused variables.
26731 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26734 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26735 in the right place. Discard and retry query if response is
26736 larger than input buffer size.
26738 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26743 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26744 x for large integer exponent.
26745 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26746 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26747 sign of result as needed afterwards.
26748 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26750 result for underflowing pow the same as for overflow.
26751 (__kernel_standard_l): Handle powl overflow and underflow here
26752 rather than calling __kernel_standard.
26753 * math/libm-test.inc (pow_test): Add more tests.
26768 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26769 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26770 (__kernel_standard_l): New function.
26771 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26773 * math/w_acosl.c (__acosl): Likewise.
26774 * math/w_asinl.c (__asinl): Likewise.
26775 * math/w_atan2l.c (__atan2l): Likewise.
26776 * math/w_atanhl.c (__atanhl): Likewise.
26777 * math/w_coshl.c (__coshl): Likewise.
26778 * math/w_exp10l.c (__exp10l): Likewise.
26779 * math/w_exp2l.c (__exp2l): Likewise.
26780 * math/w_fmodl.c (__fmodl): Likewise.
26781 * math/w_hypotl.c (__hypotl): Likewise.
26782 * math/w_j0l.c (__j0l, __y0l): Likewise.
26783 * math/w_j1l.c (__j1l, __y1l): Likewise.
26784 * math/w_jnl.c (__jnl, __ynl): Likewise.
26785 * math/w_lgammal.c (__lgammal): Likewise.
26786 * math/w_log10l.c (__log10l): Likewise.
26787 * math/w_log2l.c (__log2l): Likewise.
26788 * math/w_logl.c (__logl): Likewise.
26789 * math/w_powl.c (__powl): Likewise.
26790 * math/w_remainderl.c (__remainderl): Likewise.
26791 * math/w_scalbl.c (sysv_scalbl): Likewise.
26792 * math/w_sinhl.c (__sinhl): Likewise.
26793 * math/w_sqrtl.c (__sqrtl): Likewise.
26794 * math/w_tgammal.c (__tgammal): Likewise.
26795 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26796 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26797 * math/libm-test.inc (acos_test): Add more tests.
26798 (acosh_test): Likewise.
26799 (asin_test): Likewise.
26800 (atanh_test): Likewise.
26801 (exp_test): Likewise.
26802 (exp10_test): Likewise.
26803 (exp2_test): Likewise.
26804 (expm1_test): Likewise.
26805 (lgamma_test): Likewise.
26806 (log_test): Likewise.
26807 (log10_test): Likewise.
26808 (log1p_test): Likewise.
26809 (log2_test): Likewise.
26810 (pow_test): Do not allow some spurious overflow exceptions.
26811 (sqrt_test): Add more tests.
26812 (tgamma_test): Likewise.
26813 (y0_test): Likewise.
26814 (y1_test): Likewise.
26815 (yn_test): Likewise.
26817 2012-03-27 Anton Blanchard <anton@samba.org>
26819 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26821 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26822 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26823 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26825 2012-03-27 David S. Miller <davem@davemloft.net>
26827 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26829 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26830 have-as-vis3 check.
26832 2012-03-27 Andreas Jaeger <aj@suse.de>
26834 * sysdeps/x86_64/elf/configure.in: Moved to ...
26835 * sysdeps/x86_64/configure.in: ... here.
26836 * sysdeps/x86_64/elf/start.S: Moved to ...
26837 * sysdeps/x86_64/start.S: ... here.
26838 * sysdeps/x86_64/elf/configure: Delete.
26840 * sysdeps/x86_64/configure.in: Merge contents from
26841 sysdeps/i386/configure.in (without i686 check).
26843 * sysdeps/i386/elf/Versions: Merge into ...
26844 * sysdeps/i386/Versions: ... this.
26845 * sysdeps/i386/elf/Versions: Delete file.
26846 * sysdeps/i386/elf/start.S: Moved to ...
26847 * sysdeps/i386/start.S: ...here.
26848 * sysdeps/i386/elf/configure.in: Merge into...
26849 * sysdeps/i386/configure.in: ...here.
26850 * sysdeps/i386/elf/configure.in: Delete file.
26851 * sysdeps/i386/elf/configure: Delete file.
26853 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26854 * debug/backtracesyms.c: ... here.
26855 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26856 * debug/backtracesymsfd.c: ... here.
26857 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26858 * sysdeps/generic/ifunc-sel.h: ... here.
26860 * sysdeps/unix/i386/start.c: Delete file.
26861 * sysdeps/unix/sparc/start.c: Delete file.
26862 * sysdeps/unix/start.c: Delete file.
26864 * sysdeps/sh/elf/configure.in: Moved to ...
26865 * sysdeps/sh/configure.in: ... here.
26866 * sysdeps/sh/elf/start.S: Moved to ...
26867 * sysdeps/sh/start.S: ... here.
26868 * sysdeps/sh/elf/configure: Delete file.
26870 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26871 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26872 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26873 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26874 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26875 * sysdeps/powerpc/powerpc64/start.S: here.
26876 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26877 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26878 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26879 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26880 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26882 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26883 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26884 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26885 * sysdeps/powerpc/powerpc32/start.S: ... here.
26886 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26887 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26888 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26890 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26891 * sysdeps/powerpc/ifunc-sel.h: ... here.
26892 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26893 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26895 * sysdeps/sparc/elf/configure.in: Moved to ...
26896 * sysdeps/sparc/configure.in: ... here.
26897 * sysdeps/sparc/elf/configure: Delete file.
26898 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26899 * sysdeps/sparc/sparc32/start.S: ... here.
26900 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26901 * sysdeps/sparc/sparc64/start.S: ... here.
26902 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26903 * sysdeps/sparc/sparc32/Makefile: ... this.
26904 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26905 * sysdeps/sparc/sparc64/Makefile: ... this.
26907 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26908 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26909 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26910 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26911 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26912 * sysdeps/s390/s390-32/setjmp.S: ... here.
26913 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26914 * sysdeps/s390/s390-32/configure.in: ... here.
26915 * sysdeps/s390/s390-32/elf/configure: Delete file.
26916 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26917 * sysdeps/s390/s390-32/start.S: ... here.
26919 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26920 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26921 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26922 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26923 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26924 * sysdeps/s390/s390-64/setjmp.S: ... here.
26925 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26926 * sysdeps/s390/s390-64/configure.in: ... here
26927 * sysdeps/s390/s390-64/elf/configure: Delete file.
26928 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26929 * sysdeps/s390/s390-64/start.S: ... here.
26930 * sysdeps/s390/s390-64/elf/configure: Delete.
26932 * configure.in: Remove support for elf directories in sysdeps.
26934 * configure: Regenerated.
26935 * sysdeps/i386/configure: Regenerated.
26936 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26937 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26938 * sysdeps/s390/s390-32/configure: Regenerated.
26939 * sysdeps/s390/s390-64/configure: Regenerated.
26940 * sysdeps/sh/configure: Regenerated.
26941 * sysdeps/sparc/configure: Regenerated.
26942 * sysdeps/x86_64/configure: Regenerated.
26944 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26948 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26949 denormal result into account.
26951 2012-03-25 Roland McGrath <roland@hack.frob.com>
26953 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26954 Reported by Allan McRae <allan@archlinux.org>.
26956 2012-03-23 Jeff Law <law@redhat.com>
26958 * nss/getnssent.c (__nss_getent): Fix typo.
26960 2012-03-23 David S. Miller <davem@davemloft.net>
26962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26964 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26966 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26967 to pad to uint64_t for each field.
26968 (dl_tls_index): Replace unsigned long with uint64_t.
26970 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26971 Paul Pluzhnikov <ppluzhnikov@google.com>
26974 * grp/Makefile (otherlibs): Don't set it.
26975 * inet/Makefile (otherlibs): Likewise.
26976 * login/Makefile (otherlibs): Likewise.
26977 * nscd/Makefile (otherlibs): Likewise.
26978 * posix/Makefile (otherlibs): Likewise.
26979 * pwd/Makefile (otherlibs): Likewise.
26980 * rt/Makefile (otherlibs): Likewise.
26981 * sunrpc/Makefile (otherlibs): Likewise.
26982 * nss/Makefile (otherlibs): Likewise.
26983 Add libnss_files to routines and static-only-routines.
26984 ($(objpfx)getent): Remove rule.
26985 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26986 static-only-routines.
26988 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26991 * math/s_cexp.c: Include <float.h>.
26992 (__cexp): Handle exp result overflowing not necessarily
26993 overflowing both real and imaginary parts of result.
26994 * math/s_cexpf.c: Likewise.
26995 * math/s_cexpl.c: Likewise.
26996 * math/libm-test.inc (cexp_test): Add more tests.
26997 * sysdeps/i386/fpu/libm-test-ulps: Update.
26998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27000 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27002 * include/link.h (ELFW): New macro.
27003 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27004 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27006 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27008 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27011 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27013 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27015 (struct La_x32_retval): Likewise.
27017 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27019 * sysdeps/x86_64/preconfigure.in: New file.
27020 * sysdeps/x86_64/preconfigure: New generated file.
27022 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27025 * math/e_exp2l.c: Include <float.h>.
27026 (__ieee754_exp2l): Handle overflow and underflow cases
27027 separately. Only pass fractional part of argument to
27029 * math/libm-test.inc (exp2_test): Add more tests.
27031 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27032 negating x to take absolute value.
27033 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27035 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27036 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27038 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27039 computing low part if x was negated.
27040 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27042 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27044 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27045 la_x32_gnu_pltexit.
27046 (pltexit): Cast int_retval to ptrdiff_t.
27047 * elf/tst-auditmod3b.c: Likewise.
27048 * elf/tst-auditmod4b.c: Likewise.
27049 * elf/tst-auditmod5b.c: Likewise.
27050 * elf/tst-auditmod6b.c: Likewise.
27051 * elf/tst-auditmod6c.c: Likewise.
27052 * elf/tst-auditmod7b.c: Likewise.
27054 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27055 and x32_gnu_pltexit.
27057 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27058 __ELF_NATIVE_CLASS.
27059 (La_x32_regs): New macro.
27060 (La_x32_retval): Likewise.
27061 (la_x32_gnu_pltenter): New function prototype.
27062 (la_x32_gnu_pltexit): Likewise.
27064 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27066 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27071 * configure.in (libc_cv_cc_nofma): Check for option to disable
27072 generation of FMA instructions.
27073 * configure: Regenerate.
27074 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27075 * sysdeps/ieee754/dbl-64/Makefile: New file.
27076 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27077 Remove brandred-fma4.
27078 (CFLAGS-brandred-fma4.c): Remove.
27079 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27080 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27082 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27085 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27087 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27088 LLONG_MAX != LONG_MAX.
27089 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27090 (_fitoa_word): Likewise.
27091 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27092 LLONG_MAX != LONG_MAX.
27093 * stdio-common/_itowa.h: Include <_itoa.h>.
27094 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27095 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27096 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27097 only if not defined.
27098 (_ITOA_WORD_TYPE): Likewise.
27099 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27100 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27102 2012-03-21 David S. Miller <davem@davemloft.net>
27104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27106 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27108 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27109 of x86_64 when setting libc_cv_slibdir, libdir and
27111 * sysdeps/unix/sysv/linux/configure: Regenerated.
27113 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27115 * manual/lang.texi (Old Varargs): Remove section.
27116 (How Variadic): Update menu.
27117 (va_start): Do not mention varargs.h.
27119 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27120 Joseph Myers <joseph@codesourcery.com>
27122 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27124 * configure: Regenerated.
27126 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27128 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27129 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27132 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27135 * Makefile (files-for-dist): Remove NOTES.
27136 (NOTES): Remove rule.
27137 * README: Don't refer to NOTES.
27138 * manual/creature.texi: Don't include macros.texi.
27139 * manual/intro.texi (creature.texi): Remove comment referring to
27142 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27143 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27144 * configure: Regenerated.
27145 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27146 LIBC_TRY_CC_OPTION.
27147 (libc_cv_as_i686): Likewise.
27148 (libc_cv_cc_avx): Likewise.
27149 (libc_cv_cc_sse2avx): Likewise.
27150 (libc_cv_cc_fma4): Likewise.
27151 (libc_cv_cc_novzeroupper): Likewise.
27152 * sysdeps/i386/configure: Regenerated.
27155 * sysdeps/i386/fpu/s_cexp.S: Remove.
27156 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27157 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27158 * math/libm-test.inc (cexp_test): Add more tests.
27159 * sysdeps/i386/fpu/libm-test-ulps: Update.
27160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27162 2012-03-21 Allan McRae <allan@archlinux.org>
27164 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27166 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27169 * math/w_exp2.c: Do not include <float.h>.
27170 (o_threshold, u_threshold): Remove.
27171 (__exp2): Calculate result before checking finiteness and calling
27173 * math/w_exp2f.c: Likewise.
27174 * math/w_exp2l.c: Likewise.
27175 * math/libm-test.inc (exp2_test): Require overflow exception for
27179 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27180 range of signed 64-bit integers before using fistpll. Remove
27181 checks for whether integers fit in mantissa bits.
27182 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27183 the range of signed 32-bit integers before using fistpl. Remove
27184 checks for whether integers fit in mantissa bits.
27185 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27186 (__ieee754_powl): Test for y outside the range of signed 64-bit
27187 integers before using fistpll. Reduce 64-bit values to 63-bit
27189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27190 divide-by-zero is raised for zero to large negative powers.
27191 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27192 (__ieee754_powl): Test for y outside the range of signed 64-bit
27193 integers before using fistpll. Reduce 64-bit values to 63-bit
27195 * math/libm-test.inc (pow_test): Add more tests.
27197 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27199 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27200 <stdio-common/_itoa.h>.
27201 * debug/segfault.c: Likewise.
27202 * elf/dl-cache.c: Likewise.
27203 * elf/dl-minimal.c: Likewise.
27204 * elf/dl-misc.c: Likewise.
27205 * elf/dl-sysdep.c: Likewise.
27206 * elf/dl-version.c: Likewise.
27207 * elf/rtld.c: Likewise.
27208 * hurd/hurdsock.c: Likewise.
27209 * hurd/lookup-retry.c: Likewise.
27210 * malloc/malloc.c: Likewise.
27211 * malloc/mtrace.c: Likewise.
27212 * nscd/nscd_getgr_r.c: Likewise.
27213 * nscd/nscd_getpw_r.c: Likewise.
27214 * nscd/nscd_getserv_r.c: Likewise.
27215 * posix/getopt_init.c: Likewise.
27216 * posix/wordexp.c: Likewise.
27217 * stdio-common/_itoa.c: Likewise.
27218 * stdio-common/printf_fphex.c: Likewise.
27219 * stdio-common/vfprintf.c: Likewise.
27220 * string/_strerror.c: Likewise.
27221 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27222 * sysdeps/i386/i686/hp-timing.h: Likewise.
27223 * sysdeps/mach/_strerror.c: Likewise.
27224 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27225 * sysdeps/mach/hurd/sethostid.c: Likewise.
27226 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27227 * sysdeps/mach/xpg-strerror.c: Likewise.
27228 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27229 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27230 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27231 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27232 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27233 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27234 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27235 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27236 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27237 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27238 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27239 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27240 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27241 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27242 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27243 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27244 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27245 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27246 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27247 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27248 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27250 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27252 * stdio-common/_itoa.h: Moved to ...
27253 * sysdeps/generic/_itoa.h: Here.
27255 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27257 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27258 instead of "_itoa.h" and "_itowa.h".
27259 * stdio-common/vfprintf.: Likewise.
27261 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27263 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27265 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27266 (__signbit): Likwise.
27267 (llrintf): Likwise.
27270 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27272 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27275 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27277 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27278 OVERFLOW_EXCEPTION_OK.
27279 * math/libm-test.inc ("Philosophy"): Update comment about
27281 (OVERFLOW_EXCEPTION): Define.
27282 (OVERFLOW_EXCEPTION_OK): Likewise.
27283 (INVALID_EXCEPTION_OK): Renumber.
27284 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27285 (IGNORE_ZERO_INF_SIGN): Likewise.
27286 (test_exceptions): Handle FE_OVERFLOW.
27287 (exp10_test): Expect overflow exceptions.
27288 (exp2_test): Likewise.
27289 (expm1_test): Likewise.
27290 (nextafter_test): Likewise.
27291 (pow_test): Likewise.
27292 (scalbn_test): Likewise.
27293 (scalbln_test): Likewise.
27295 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27297 * sysdeps/x86_64/bits/atomic.h
27298 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27300 (atomic_exchange_acq): Likewise.
27301 (__arch_exchange_and_add_body): Likewise.
27302 (__arch_add_body): Likewise.
27303 (atomic_add_negative): Likewise.
27304 (atomic_add_zero): Likewise.
27306 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27308 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27309 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27311 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27313 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27314 Check __x86_64__ instead of __WORDSIZE.
27316 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27318 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27320 2012-03-19 David S. Miller <davem@davemloft.net>
27322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27324 * sysdeps/sparc/fpu/fenv_private.h: New file.
27325 * sysdeps/sparc/fpu/math_private.h: Use it.
27326 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27328 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27329 (libc_feholdexcept_setroundl): Remove.
27330 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27332 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27333 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27335 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27337 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27338 int64_t instead of long int.
27339 (INSERT_WORDS64): Likwise.
27341 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27343 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27344 _Unwind_GetCFA return to _Unwind_Ptr first.
27346 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27349 * math/s_clog.c: Include <float.h>.
27350 (__clog): Scale large or subnormal inputs.
27351 * math/s_clogf.c: Likewise.
27352 * math/s_clogl.c: Likewise.
27353 * math/s_clog10.c: Include <float.h>.
27354 (M_LOG10_2): Define.
27355 (__clog10): Scale large or subnormal inputs.
27356 * math/s_clog10f.c: Likewise.
27357 * math/s_clog10l.c: Likewise.
27358 * math/libm-test.inc (clog_test): Add more tests.
27359 (clog10_test): Likewise.
27360 * sysdeps/i386/fpu/libm-test-ulps: Update.
27361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27364 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27366 * math/libm-test.inc (atan2_test): Add another test.
27368 * Makerules (common-objdir-compile): Remove.
27369 * sysdeps/unix/Makefile (config-generated): Do not add
27370 $(unix-generated) to variable.
27371 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27372 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27374 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27376 [generic bits/local_lim.h] (before-compile): Do not append to
27378 [generic bits/local_lim.h] (common-generated): Likewise.
27379 [generic sys/param.h] (before-compile): Do not append to variable.
27380 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27381 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27382 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27383 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27385 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27386 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27387 [generic sys/param.h] ($(addprefix
27388 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27389 [generic sys/param.h] (common-generated): Do not append to
27391 [generic sys/param.h] (sysdep_headers): Likewise.
27392 [generic bits/errno.h] (before-compile): Do not append to
27394 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27396 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27397 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27398 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27399 [generic bits/errno.h] (common-generated): Do not append to
27401 [generic bits/ioctls.h] (before-compile): Do not append to
27403 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27405 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27406 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27407 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27409 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27410 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27411 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27412 [generic bits/ioctls.h] (common-generated): Do not append to
27414 [generic sys/syscall.h] (syscall.h): Remove variable.
27415 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27417 [generic sys/syscall.h] (before-compile): Do not append to
27419 [generic sys/syscall.h] (common-generated): Likewise.
27420 * sysdeps/unix/errnos-tmpl.c: Remove file.
27421 * sysdeps/unix/errnos.awk: Likewise.
27422 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27423 * sysdeps/unix/ioctls.awk: Likewise.
27424 * sysdeps/unix/mk-local_lim.c: Likewise.
27425 * sysdeps/unix/snarf-ioctls: Likewise.
27427 2012-03-19 Richard Henderson <rth@twiddle.net>
27429 * sysdeps/i386/fpu/fenv_private.h: New file.
27430 * sysdeps/i386/fpu/math_private.h: Use it.
27431 (math_opt_barrier, math_force_eval): Remove.
27432 (libc_feholdexcept_setround_53bit): Remove.
27433 (libc_feupdateenv_53bit): Remove.
27434 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27435 (math_opt_barrier, math_force_eval): Remove.
27436 (libc_feholdexcept): Remove.
27437 (libc_feholdexcept_setround): Remove.
27438 (libc_fetestexcept, libc_fesetenv): Remove.
27439 (libc_feupdateenv_test): Remove.
27440 (libc_feupdateenv, libc_feholdsetround): Remove.
27441 (libc_feresetround): Remove.
27443 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27444 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27446 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27447 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27448 (libc_feupdateenv_testl): New.
27449 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27450 (libc_feupdateenv_testf): New.
27451 (libc_feupdateenv): Use libc_feupdateenv_test.
27452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27455 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27456 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27457 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27458 (libc_feresetround_noex): New.
27459 (libc_feresetround_noexf): New.
27460 (libc_feresetround_noexl): New.
27461 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27462 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27463 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27464 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27467 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27469 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27470 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27471 SET_RESTORE_ROUND_NOEX.
27472 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27473 SET_RESTORE_ROUND_NOEXF.
27474 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27475 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27476 (libc_feholdsetroundf): New.
27477 (libc_feresetround, libc_feresetroundf): New.
27479 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27480 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27481 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27483 * sysdeps/generic/math_private.h: Include <fenv.h>.
27484 (default_libc_feholdexcept): New.
27485 (default_libc_feholdexcept_setround): New.
27486 (default_libc_fesetenv, default_libc_feupdateenv): New.
27487 (libc_feholdexcept): Only define if undefined.
27488 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27489 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27490 (libc_feholdexcept_setroundl): Likewise.
27491 (libc_feholdexcept_setround_53bit): Likewise.
27492 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27493 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27494 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27495 (libc_feupdateenv_53bit): Likewise.
27496 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27497 (libc_feholdexcept): Convert from macro to inline function.
27498 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27499 (libc_fesetenv, libc_feupdateenv): Likewise.
27501 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27502 not previously defined.
27503 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27504 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27505 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27506 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27507 * sysdeps/ieee754/flt-32/math_private.h: New file.
27508 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27509 math_private.h below SET_FLOAT_WORD.
27510 (__isnan, __isinf_ns, __finite): Remove.
27511 (__isnanf, __isinf_nsf, __finitef): Remove.
27513 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27517 2012-03-17 David S. Miller <davem@davemloft.net>
27520 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27523 2012-03-16 David S. Miller <davem@davemloft.net>
27525 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27529 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27531 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27532 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27533 sysdep_routines when subdir is sysvipc.
27534 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27535 __getshmlba helper.
27537 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27539 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27541 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27544 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27546 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27547 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27548 (__lround): Renamed to ...
27549 (__llround): This. Replace long int with long long int.
27550 Define lround functions as aliases of llround functions.
27551 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27553 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27555 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27556 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27557 adresses to uintptr_t. Replace "long int" and "unsigned long
27558 int" with "greg_t" on va_arg.
27560 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27562 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27563 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27565 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27566 Move e_machine check before EI_CLASS check. Handle x32
27567 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27568 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27569 SKIP_EM_IA_64 and include
27570 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27572 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27573 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27574 (add_system_dir): New macro.
27576 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27577 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27579 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27590 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27592 * math/w_j0f.c (j0f): Likewise.
27594 * math/w_j0l.c (__j0l): Likewise.
27596 * math/w_j1.c (j1): Likewise.
27598 * math/w_j1f.c (j1f): Likewise.
27600 * math/w_j1l.c (__j1l): Likewise.
27602 * math/w_jn.c (jn): Likewise.
27604 * math/w_jnf.c (jnf): Likewise.
27606 * math/w_jnl.c (__jnl): Likewise.
27608 * math/libm-test.inc (j0_test): Add more tests.
27609 (j1_test): Likewise.
27610 (jn_test): Likewise. Add trailing semicolon to existing test.
27611 (y0_test): Likewise.
27612 (y1_test): Likewise.
27613 * sysdeps/i386/fpu/libm-test-ulps: Update.
27614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27618 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27619 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27620 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27622 (__tanl): Set errno for infinite argument.
27623 * sysdeps/i386/fpu/mptan.c: Remove.
27624 * sysdeps/i386/fpu/s_tan.S: Likewise.
27625 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27626 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27627 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27628 * math/libm-test.inc (tan_test): Add more tests and enable more
27629 tests for double and long double.
27630 * sysdeps/i386/fpu/libm-test-ulps: Update.
27631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27633 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27635 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27636 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27638 2012-03-16 Roland McGrath <roland@hack.frob.com>
27640 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27641 * configure.in: Use it for both main tree and add-ons.
27642 * configure: Regenerated.
27644 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27646 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27648 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27650 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27654 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27655 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27656 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27657 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27660 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27662 != 0 for prec == 2.
27663 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27664 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27665 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27666 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27667 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27668 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27669 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27670 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27671 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27672 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27673 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27674 * math/libm-test.inc (cos_test): Add more tests and enable more
27675 tests for long double.
27676 (sin_test): Likewise.
27677 (sincos_test): Likewise.
27678 * sysdeps/i386/fpu/libm-test-ulps: Update.
27679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27681 2012-03-16 David S. Miller <davem@davemloft.net>
27683 * sysdeps/sparc/fpu/math_private.h: New file.
27685 2012-03-15 David S. Miller <davem@davemloft.net>
27687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27701 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27702 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27704 * sysdeps/sparc/sparc-ifunc.h: New file.
27705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27731 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27750 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27752 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27756 2012-03-15 Andreas Jaeger <aj@suse.de>
27759 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27760 ieee754/flt-32 implementation for sin, cos and sincos.
27761 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27762 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27763 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27764 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27765 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27766 ieee754/flt-32 implementation for tan.
27768 * math/libm-test.inc (cos_test): Enable some large input tests for
27770 (sin_test): Likewise.
27771 (sincos_test): Likewise.
27772 (tan_test): Add tests for large input.
27774 * sysdeps/i386/fpu/libm-test-ulps: Update.
27776 2012-03-15 Andreas Jaeger <aj@suse.de>
27779 * math/libm-test.inc (cos_test): Add more test cases.
27780 (sin_test): Likewise.
27781 (sincos_test): Likewise.
27783 2012-03-15 Andreas Jaeger <aj@suse.de>
27786 * math/libm-test.inc (cos_test): Add a test case for large input
27788 (sin_test): Likewise.
27789 (sincos_test): Likewise.
27791 2012-03-15 Andreas Jaeger <aj@suse.de>,
27792 Joseph Myers <joseph@codesourcery.com>
27795 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27796 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27797 * sysdeps/i386/fpu/branred.c: Likewise.
27798 * sysdeps/i386/fpu/dosincos.c: Likewise.
27799 * sysdeps/i386/fpu/mpa.c: Likewise.
27800 * sysdeps/i386/fpu/s_cos.S: Likewise.
27801 * sysdeps/i386/fpu/s_sin.S: Likewise.
27802 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27803 * sysdeps/i386/fpu/sincos32.c: Likewise.
27805 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27807 (libc_feupdateenv_53bit): Define.
27808 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27810 (libc_feupdateenv_53bit): Define.
27812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27813 53 bit (without extend i386 double precision).
27815 * math/libm-test.inc (sincos_test): Add tests for large input.
27819 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27821 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27825 2012-03-15 David S. Miller <davem@davemloft.net>
27827 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27828 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27829 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27830 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27855 fmin/fmax sysdep routines.
27856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27858 2012-03-14 David S. Miller <davem@davemloft.net>
27860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27864 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27880 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27881 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27882 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27883 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27884 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27886 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27887 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27932 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27937 * sysdeps/sparc/configure.in: New file.
27938 * sysdeps/sparc/configure: Generate.
27939 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27940 * configure: Regenerate.
27941 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27942 * config.make.in (have-as-vis3): New.
27943 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27944 available use -Av9d instead of -Av9a.
27945 * sysdeps/sparc/sparc64/Makefile: Likewise.
27946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27961 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27962 fzeros/fnegs to load 0x80000000 into a float register instead of
27964 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27966 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27970 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27971 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27972 ($(inst_includedir)/bits/syscall.h): Remove rule.
27973 ($(objpfx)bits/syscall.d): Include instead of
27974 $(objpfx)syscall-list.d.
27975 (generated): Change syscall-list.h and syscall-list.d to
27976 bits/syscall.h and bits/syscall.d.
27978 2012-03-14 Roland McGrath <roland@hack.frob.com>
27981 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27983 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27986 * math/s_csqrt.c: Include <float.h>.
27987 (__csqrt): Scale large or subnormal inputs.
27988 * math/s_csqrtf.c: Likewise.
27989 * math/s_csqrtl.c: Likewise.
27990 * math/libm-test.inc (csqrt_test): Add more tests.
27991 * sysdeps/i386/fpu/libm-test-ulps: Update.
27992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27995 * math/libm-test.inc (hypot_test): Add more tests.
27997 2012-03-13 David S. Miller <davem@davemloft.net>
28000 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28001 double-precision for the calculation instead of scaling.
28003 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28005 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28006 manipulate bits before adding and subtracting TWO52[sx].
28007 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28008 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28010 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28012 2012-03-13 David S. Miller <davem@davemloft.net>
28014 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28015 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28017 rtld-global-offsets.h
28018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28020 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28023 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28025 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28026 'err' in the ifdef scope in which it is actually used.
28028 * nss/nss_db/db-init.c: Include string.h
28030 2012-03-12 David S. Miller <davem@davemloft.net>
28032 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28033 masking out of the most significant byte of random value used.
28034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28035 Fix coding style in previous change.
28037 * sysdeps/unix/sysv/linux/kernel-features.h
28038 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28039 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28041 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28044 2012-03-11 David S. Miller <davem@davemloft.net>
28046 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28047 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28049 for 'resultvar' otherwise things get truncated on 64-bit.
28051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28052 Fix masking out of the most significant byte of random value used.
28054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28056 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28060 2012-03-09 David S. Miller <davem@davemloft.net>
28062 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28063 variables with appropriate CPP guards.
28064 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28065 frame pointer, not the stack pointer. Correct layout comments. Fix test
28066 on resulting framesize and the management of the outregs buffer for pltexit.
28067 Preserve floating point return values across _dl_call_pltexit call.
28068 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28069 framesize and the management of the outregs buffer for pltexit.
28070 Preserve floating point return values across _dl_call_pltexit
28072 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28073 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28074 (print_exit): Fix format string for return register value.
28076 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28078 * sunrpc/Makefile (others): Add rpcgen.
28079 ($(objpfx)rpcgen): Remove special build rule and dependency on
28081 * sunrpc/rpcgen.c: New file.
28083 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28086 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28087 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28088 * sysdeps/i386/crti.S: Likewise.
28089 * sysdeps/i386/crtn.S: Likewise.
28090 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28091 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28092 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28093 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28094 * sysdeps/sh/crti.S: Likewise.
28095 * sysdeps/sh/crtn.S: Likewise.
28096 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28099 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28101 * locale/programs/locfile-kw.gperf: Likewise.
28102 * locale/programs/charmap-kw.h: Regenerated.
28103 * locale/programs/locfile-kw.h: Likewise.
28106 * intl/plural.y: Replace FSF snail mail address with URL.
28107 * intl/plural.c: Regenerated.
28109 2012-03-09 Richard Henderson <rth@twiddle.net>
28111 * include/math_private.h: Remove file.
28112 * math/math_private.h: Move file ...
28113 * sysdeps/generic/math_private.h: ... here.
28115 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28116 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28117 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28119 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28120 and <math_private.h>.
28121 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28122 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28123 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28124 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28125 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28126 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28127 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28129 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28130 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28132 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28133 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28135 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28136 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28138 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28139 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28140 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28145 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28146 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28147 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28162 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28173 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28174 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28175 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28176 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28177 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28178 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28179 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28180 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28181 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28182 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28183 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28184 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28185 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28186 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28187 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28188 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28189 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28190 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28191 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28192 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28193 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28195 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28198 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28199 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28202 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28203 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28205 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28206 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28208 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28209 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28210 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28211 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28212 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28213 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28214 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28215 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28216 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28217 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28218 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28219 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28220 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28221 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28222 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28223 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28224 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28226 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28227 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28228 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28229 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28230 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28231 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28232 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28233 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28234 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28235 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28236 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28237 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28238 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28239 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28240 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28241 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28242 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28244 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28245 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28246 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28247 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28248 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28249 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28250 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28251 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28252 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28253 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28254 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28255 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28256 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28257 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28258 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28259 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28260 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28261 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28262 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28263 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28264 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28265 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28266 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28267 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28268 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28269 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28270 * sysdeps/ieee754/k_standard.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28358 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28362 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28364 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28367 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28374 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28375 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28382 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28386 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28389 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28390 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28391 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28392 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28393 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28394 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28395 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28396 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28397 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28398 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28400 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28401 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28403 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28408 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28409 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28410 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28411 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28413 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28414 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28415 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28416 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28417 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28418 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28419 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28420 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28421 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28422 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28431 * sysdeps/ieee754/s_lib_version.c: Likewise.
28432 * sysdeps/ieee754/s_matherr.c: Likewise.
28433 * sysdeps/ieee754/s_signgam.c: Likewise.
28434 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28435 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28436 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28437 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28438 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28439 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28440 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28441 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28442 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28443 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28444 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28445 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28446 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28447 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28448 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28449 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28450 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28451 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28452 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28453 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28456 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28458 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28459 * sunrpc/rpc_main.c: Likewise.
28460 * sunrpc/rpc_svcout.c: Likewise.
28462 2012-03-09 David S. Miller <davem@davemloft.net>
28464 * include/math_private.h: New file.
28466 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28468 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28469 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28470 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28471 from <bits/socket_type.h>.
28472 (enum __socket_type): Don't define here.
28473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28475 bits/socket_type.h.
28478 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28479 checking __USE_GNU.
28481 * Makerules ($(inst_includedir)/%.h): New rule.
28482 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28483 (install-others): Remove variable setting.
28484 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28486 2012-03-08 Richard Henderson <rth@twiddle.net>
28488 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28489 from macro to inline function; merge with the
28490 !__LIBC_INTERNAL_MATH_INLINES version.
28491 (__ieee754_sqrtf): Likewise.
28493 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28494 to inline function.
28495 (__rintf, __floor, __floorf): Likewise.
28497 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28498 macro to inline function.
28499 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28502 not <math/math_private.h>.
28504 2012-03-08 David S. Miller <davem@davemloft.net>
28506 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28508 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28510 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28512 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28514 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28515 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28517 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28519 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28520 be defined individually, they must be defined as a block. Define
28521 S for printing a string instead of hidint the different by using a
28522 macro for adding the 'l'.
28523 * stdio-common/tst-fphex-wide.c: Adjust.
28525 2012-03-07 Marek Polacek <polacek@redhat.com>
28527 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28529 2012-03-08 Marek Polacek <polacek@redhat.com>
28532 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28533 * stdio-common/tst-fphex.c: Define a few macros to make the
28534 test reusable. Use them.
28535 * stdio-common/tst-fphex-wide.c: New file.
28537 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28540 * manual/macros.texi (gnusystems): New macro.
28541 (nongnusystems): Likewise.
28542 (gnulinuxhurdsystems): Likewise.
28543 (gnuhurdsystems): Likewise..
28544 (gnulinuxsystems): Likewise.
28545 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28546 variants of the GNU system, not "GNU system".
28547 * manual/conf.texi: Likewise.
28548 * manual/errno.texi: Likewise. Update example of errno macro
28550 * manual/filesys.texi: Likewise.
28551 (getumask): Document as specific to GNU/Hurd.
28552 * manual/install.texi: Likewise. Reword some references to
28554 * manual/intro.texi: Likewise.
28555 * manual/io.texi: Likewise.
28556 (File Name Portability): Detail which constraints are inapplicable
28557 to all GNU systems and which are only inapplicable to GNU/Hurd.
28558 * manual/job.texi: Likewise.
28559 * manual/llio.texi: Likewise.
28560 (O_NOCTTY): Document as present on GNU/Linux.
28561 * manual/maint.texi: Likewise.
28562 * manual/memory.texi: Likewise.
28563 * manual/pattern.texi: Likewise.
28564 * manual/pipe.texi: Likewise.
28565 * manual/process.texi: Likewise.
28566 * manual/resource.texi: Likewise.
28567 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28569 * manual/setjmp.texi: Likewise.
28570 * manual/signal.texi: Likewise.
28571 * manual/startup.texi: Likewise.
28572 * manual/stdio.texi: Likewise.
28573 * manual/terminal.texi: Likewise.
28574 (ONLCR): Document as POSIX.
28575 (OXTABS): Document availability on GNU/Linux as XTABS.
28576 (ONOEOT): Document availability separately from other bits.
28577 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28578 * manual/time.texi: Likewise.
28579 * manual/users.texi: Likewise.
28580 * INSTALL: Regenerated.
28581 * sysdeps/gnu/errlist.c: Regenerated.
28583 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28584 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28585 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28587 * configure: Regenerated.
28589 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28591 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28592 default includes instead of AC_HEADER_CHECK.
28593 * sysdeps/i386/configure: Regenerated.
28596 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28597 * math/s_cacoshf.c (__cacoshf): Likewise.
28598 * math/s_cacoshl.c (__cacoshl): Likewise.
28599 * math/s_casinh.c (__casinh): Set signs of result from argument.
28600 * math/s_casinhf.c (__casinhf): Likewise.
28601 * math/s_casinhl.c (__casinhl): Likewise.
28602 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28603 (casinh_test): Add more tests.
28604 * sysdeps/i386/fpu/libm-test-ulps: Update.
28605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28607 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28609 * po/zh_TW.po: Update from translation team.
28611 * login/Makefile (distribute): Remove variable.
28612 * catgets/Makefile: Likewise.
28613 * mach/Makefile: Likewise.
28614 * malloc/Makefile: Likewise.
28615 * misc/Makefile: Likewise.
28616 * iconv/Makefile: Likewise.
28617 * nscd/Makefile: Likewise.
28618 * hurd/Makefile: Likewise.
28619 * manual/Makefile: Likewise.
28620 * locale/Makefile: Likewise.
28621 * intl/Makefile: Likewise.
28622 * conform/Makefile: Likewise.
28623 * nss/Makefile: Likewise.
28624 * time/Makefile: Likewise.
28625 * soft-fp/Makefile: Likewise.
28626 * dirent/Makefile: Likewise.
28627 * gmon/Makefile: Likewise.
28628 * po/Makefile: Likewise.
28629 * rt/Makefile: Likewise.
28630 * socket/Makefile: Likewise.
28631 * math/Makefile: Likewise.
28632 * signal/Makefile: Likewise.
28633 * debug/Makefile: Likewise.
28634 * elf/Makefile: Likewise.
28635 * timezone/Makefile: Likewise.
28636 * stdlib/Makefile: Likewise.
28637 * iconvdata/Makefile: Likewise.
28638 * sunrpc/Makefile: Likewise.
28639 * io/Makefile: Likewise.
28640 * argp/Makefile: Likewise.
28641 * inet/Makefile: Likewise.
28642 * hesiod/Makefile: Likewise.
28643 * grp/Makefile: Likewise.
28644 * csu/Makefile: Likewise.
28645 * wctype/Makefile: Likewise.
28646 * crypt/Makefile: Likewise.
28647 * libio/Makefile: Likewise.
28648 * string/Makefile: Likewise.
28649 * nis/Makefile: Likewise.
28650 * resolv/Makefile: Likewise.
28651 * stdio-common/Makefile: Likewise.
28652 * wcsmbs/Makefile: Likewise.
28653 * dlfcn/Makefile: Likewise.
28654 * posix/Makefile: Likewise.
28657 * timezone/Makefile: Don't install timezone files, just the programs
28660 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28662 * nss/databases.def: Add missing gshadow entry.
28664 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28666 2012-03-06 Marek Polacek <polacek@redhat.com>
28669 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28670 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28671 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28672 * stdio-common/tst-long-dbl-fphex.c: New file.
28674 2012-03-06 David S. Miller <davem@davemloft.net>
28676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28677 (set_obp_int): New function.
28678 (get_obp_int): New function.
28679 (__get_clockfreq_via_dev_openprom): Likewise.
28680 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28681 Avoid unused variable warnings on 'val' and use builtin_expect.
28682 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28684 (INLINE_CLONE_SYSCALL): Likewise.
28686 2012-03-05 David S. Miller <davem@davemloft.net>
28688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28690 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28694 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28695 only for |x| >= 40.
28696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28698 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28701 Replace gettimeofday with __vdso_gettimeofday.
28703 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28704 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28705 __vdso_clock_gettime and __vdso_getcpu.
28707 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28708 time with __vdso_time.
28710 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28712 * manual/lang.texi (size_t): Note types to which size_t may be
28713 equivalent with the GNU C Library, but do not describe when
28714 differences between them are significant.
28716 2012-03-05 Andreas Jaeger <aj@suse.de>
28718 * sysdeps/i386/fpu/libm-test-ulps: Update.
28720 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28723 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28724 (__ieee754_pow): Save and restore rounding mode and use
28725 round-to-nearest for main computations.
28726 * math/libm-test.inc (pow_test_tonearest): New function.
28727 (pow_test_towardzero): Likewise.
28728 (pow_test_downward): Likewise.
28729 (pow_test_upward): Likewise.
28730 (main): Call the new functions.
28731 * sysdeps/i386/fpu/libm-test-ulps: Update.
28732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28735 * math/libm-test.inc (cosh_test_tonearest): New function.
28736 (cosh_test_towardzero): Likewise.
28737 (cosh_test_downward): Likewise.
28738 (cosh_test_upward): Likewise.
28739 (sinh_test_tonearest): Likewise.
28740 (sinh_test_towardzero): Likewise.
28741 (sinh_test_downward): Likewise.
28742 (sinh_test_upward): Likewise.
28743 (main): Call the new functions.
28744 * sysdeps/i386/fpu/libm-test-ulps: Update.
28745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28747 2012-03-05 Tom de Vries <tom@codesourcery.com>
28749 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28750 default stack guard is set in last bytes.
28751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28753 2012-03-05 Kees Cook <keescook@chromium.org>
28755 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28758 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28759 possibly allocate from heap instead of stack.
28760 * stdio-common/bug-vfprintf-nargs.c: New file.
28761 * stdio-common/Makefile (tests): Add nargs overflow test.
28763 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28767 2012-03-03 Marek Polacek <polacek@redhat.com>
28769 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28770 * math/math_private.h: Likewise.
28771 * stdlib/tst-strtod.c: Likewise.
28772 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28773 * sysdeps/x86_64/bits/atomic.h: Likewise.
28775 2012-03-02 David S. Miller <davem@davemloft.net>
28777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28781 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28782 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28783 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28784 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28786 2012-03-02 Roland McGrath <roland@hack.frob.com>
28789 * manual/examples/README: New file, says the example source files
28790 can be used under GPL>=2.
28791 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28792 line containing just "*/".
28793 * manual/examples/add.c: Add copyright header (GPL>=2).
28794 * manual/examples/argp-ex1.c: Likewise.
28795 * manual/examples/argp-ex2.c: Likewise.
28796 * manual/examples/argp-ex3.c: Likewise.
28797 * manual/examples/argp-ex4.c: Likewise.
28798 * manual/examples/atexit.c: Likewise.
28799 * manual/examples/db.c: Likewise.
28800 * manual/examples/dir.c: Likewise.
28801 * manual/examples/dir2.c: Likewise.
28802 * manual/examples/execinfo.c: Likewise.
28803 * manual/examples/filecli.c: Likewise.
28804 * manual/examples/filesrv.c: Likewise.
28805 * manual/examples/fmtmsgexpl.c: Likewise.
28806 * manual/examples/genpass.c: Likewise.
28807 * manual/examples/inetcli.c: Likewise.
28808 * manual/examples/inetsrv.c: Likewise.
28809 * manual/examples/isockad.c: Likewise.
28810 * manual/examples/longopt.c: Likewise.
28811 * manual/examples/memopen.c: Likewise.
28812 * manual/examples/memstrm.c: Likewise.
28813 * manual/examples/mkfsock.c: Likewise.
28814 * manual/examples/mkisock.c: Likewise.
28815 * manual/examples/mygetpass.c: Likewise.
28816 * manual/examples/pipe.c: Likewise.
28817 * manual/examples/popen.c: Likewise.
28818 * manual/examples/rprintf.c: Likewise.
28819 * manual/examples/search.c: Likewise.
28820 * manual/examples/select.c: Likewise.
28821 * manual/examples/setjmp.c: Likewise.
28822 * manual/examples/sigh1.c: Likewise.
28823 * manual/examples/sigusr.c: Likewise.
28824 * manual/examples/stpcpy.c: Likewise.
28825 * manual/examples/strdupa.c: Likewise.
28826 * manual/examples/strftim.c: Likewise.
28827 * manual/examples/strncat.c: Likewise.
28828 * manual/examples/subopt.c: Likewise.
28829 * manual/examples/swapcontext.c: Likewise.
28830 * manual/examples/termios.c: Likewise.
28831 * manual/examples/testopt.c: Likewise.
28832 * manual/examples/testpass.c: Likewise.
28833 * manual/examples/timeval_subtract.c: Likewise.
28836 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28838 * manual/timeval_subtract.c.texi: ... here, new file.
28840 2012-03-02 David S. Miller <davem@davemloft.net>
28842 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28844 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28847 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28848 (__sin): Save and restore rounding mode and use round-to-nearest
28849 for all computations.
28850 (__cos): Save and restore rounding mode and use round-to-nearest
28851 for all computations.
28852 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28854 (tan): Save and restore rounding mode and use round-to-nearest for
28856 * math/libm-test.inc (cos_test_tonearest): New function.
28857 (cos_test_towardzero): Likewise.
28858 (cos_test_downward): Likewise.
28859 (cos_test_upward): Likewise.
28860 (sin_test_tonearest): Likewise.
28861 (sin_test_towardzero): Likewise.
28862 (sin_test_downward): Likewise.
28863 (sin_test_upward): Likewise.
28864 (tan_test_tonearest): Likewise.
28865 (tan_test_towardzero): Likewise.
28866 (tan_test_downward): Likewise.
28867 (tan_test_upward): Likewise.
28868 (main): Call the new functions.
28869 * sysdeps/i386/fpu/libm-test-ulps: Update.
28870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28873 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28874 small n, then large n, before computing and testing k+n.
28875 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28880 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28881 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28882 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28883 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28884 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28885 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28886 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28887 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28888 * math/libm-test.inc (scalbn_test): Add more tests.
28889 (scalbln_test): Likewise.
28891 * manual/filesys.texi (mode_t): Describe constraints on size and
28892 signedness, not exact equivalence to a particular type.
28894 (ino64_t): Likewise.
28896 (nlink_t): Likewise.
28897 (blkcnt_t): Likewise.
28898 (blkcnt64_t): Likewise.
28899 * manual/llio.texi (off_t): Likewise.
28902 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28903 (__ieee754_exp): Save and restore rounding mode and use
28904 round-to-nearest for all computations.
28905 * math/libm-test.inc (exp_test_tonearest): New function.
28906 (exp_test_towardzero): Likewise.
28907 (exp_test_downward): Likewise.
28908 (exp_test_upward): Likewise.
28909 (main): Call the new functions.
28910 * sysdeps/i386/fpu/libm-test-ulps: Update.
28911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28913 2012-03-01 Chris Demetriou <cgd@google.com>
28915 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28916 have predictable order.
28918 2012-03-01 David S. Miller <davem@davemloft.net>
28920 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28922 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28923 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28924 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28925 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28927 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28928 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28929 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28931 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28932 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28933 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28934 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28935 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28939 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28940 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28941 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28943 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28944 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28945 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28946 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28947 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28948 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28949 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28950 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28951 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28952 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28953 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28954 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28956 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28957 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28959 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28960 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28961 * sysdeps/sparc/elf/configure: Regenerated.
28963 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28965 * configure.in (AS, LD): Require binutils 2.20 or later.
28966 * configure: Regenerated.
28967 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28968 as required minimum version.
28969 * INSTALL: Regenerated.
28973 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28974 before squaring exponent.
28975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28976 bottom long double and 27 bits of top long double before squaring
28978 * math/libm-test.inc (erfc_test): Add more tests.
28979 * sysdeps/i386/fpu/libm-test-ulps: Update.
28980 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28983 2012-03-01 Kai Tietz <ktietz@redhat.com>
28985 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28986 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28987 containing bit-fields.
28988 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28989 * soft-fp/single.h (_FP_UNION_S): Likewise.
28990 * soft-fp/double.h (_FP_UNION_D): Likewise.
28992 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28995 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28996 not include ../strcmp.S.
28997 [USE_AS_STRNCASECMP_L]: Likewise.
28998 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28999 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29000 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29001 (__strncasecmp_l_ia32): Define as alias to
29002 __strncasecmp_l_nonascii.
29005 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29006 * sysdeps/i386/fpu/libm-test-ulps: Update.
29007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29009 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29012 2012-02-29 Jeff Law <law@redhat.com>
29014 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29015 out of bounds read.
29017 2012-02-29 Marek Polacek <polacek@redhat.com>
29020 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29021 * elf/Makefile: Add rules to run tst-unused-dep.out.
29023 2012-02-28 David S. Miller <davem@davemloft.net>
29025 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29026 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29029 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29030 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29032 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29034 * math/libm-test.inc (llround_test): Move one test from
29035 lround_test. Use TEST_f_L in moved test.
29036 (lround_test): Move misplaced test to llround_test. Add testcase
29039 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29041 * sysdeps/x86_64/fpu/e_expf.S: New file.
29042 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29044 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29047 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29048 of remain_len that may cause incomplete multi-byte character and
29050 * posix/bug-regex33.c: New file.
29051 * posix/Makefile (tests): Add bug-regex33.
29053 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29055 * manual/macros.texi: New file.
29056 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29057 * manual/libc.texinfo: Include macros.texi.
29058 * manual/creatute.texi: Likewise.
29059 * manual/install.texi: Likewise.
29060 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29061 @glibcadj{} in references to the GNU C Library.
29062 * manual/charset.texi: Likewise.
29063 * manual/conf.texi: Likewise.
29064 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29065 when not using those macros.
29066 * manual/creature.texi: Likewise.
29067 * manual/crypt.texi: Likewise.
29068 * manual/errno.texi: Likewise.
29069 * manual/filesys.texi: Likewise.
29070 * manual/header.texi: Likewise.
29071 * manual/install.texi: Likewise.
29072 * manual/intro.texi: Likewise.
29073 * manual/io.texi: Likewise.
29074 * manual/job.texi: Likewise.
29075 * manual/lang.texi: Likewise.
29076 * manual/libc.texiinfo: Likewise.
29077 * manual/llio.texi: Likewise.
29078 * manual/locale.texi: Likewise.
29079 * manual/maint.texi: Likewise.
29080 * manual/math.texi: Likewise.
29081 * manual/memory.texi: Likewise.
29082 * manual/message.texi: Likewise.
29083 * manual/nss.texi: Likewise.
29084 * manual/pattern.texi: Likewise.
29085 * manual/process.texi: Likewise.
29086 * manual/resource.texi: Likewise.
29087 * manual/search.texi: Likewise.
29088 * manual/setjmp.texi: Likewise.
29089 * manual/signal.texi: Likewise.
29090 * manual/socket.texi: Likewise.
29091 * manual/startup.texi: Likewise.
29092 * manual/stdio.texi: Likewise.
29093 * manual/string.texi: Likewise.
29094 * manual/sysinfo.texi: Likewise.
29095 * manual/syslog.texi: Likewise.
29096 * manual/terminal.texi: Likewise.
29097 * manual/time.texi: Likewise.
29098 * manual/users.texi: Likewise.
29099 * INSTALL: Regenerated.
29100 * NOTES: Regenerated.
29101 * sysdeps/gnu/errlist.c: Regenerated.
29103 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29105 * include/dirent.h: Include <dirstream.h> before
29108 2012-02-28 David S. Miller <davem@davemloft.net>
29110 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29111 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29112 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29113 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29115 2012-02-27 David S. Miller <davem@davemloft.net>
29117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29119 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29120 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29123 frame pointer instead of stack pointer relative arg slot.
29124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29125 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29126 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29128 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29131 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29133 2012-02-27 David S. Miller <davem@davemloft.net>
29135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29139 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29140 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29141 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29142 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29144 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29146 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29147 later. Allow versions 5-9.
29148 * configure: Regenerated.
29149 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29150 required minimum version and 4.6 as recommended version. Do not
29151 mention bugs in GCC 2.7 and 2.8.
29152 * INSTALL: Regenerated.
29154 2012-02-27 David S. Miller <davem@davemloft.net>
29156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29160 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29161 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29162 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29163 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29166 manipulate bits before adding and subtracting TWO112[sx].
29167 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29169 2012-02-27 Roland McGrath <roland@hack.frob.com>
29172 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29173 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29174 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29175 being in POSIX, because they are in 1003.1-2008.
29177 * rt/tst-aio.c: Include <fcntl.h>.
29178 * rt/tst-aio7.c: Likewise.
29179 * rt/tst-aio64.c: Likewise.
29181 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29183 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29185 * manual/install.texi (--with-headers): Describe headers as
29186 interface headers, not private headers.
29187 (Specific advice for GNU/Linux systems): Describe use of headers
29188 from "make headers_install", not private headers from older
29190 * INSTALL: Regenerated.
29191 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29193 * sysdeps/unix/sysv/linux/configure: Regenerated.
29195 * manual/llio.texi (fclean): Remove documentation.
29197 * manual/Makefile (libc-texi-generated): New variable. Include
29199 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29200 $(libc-texi-generated), not duplicated list of files.
29201 (version.texi, stamp-version): New rules.
29202 (realclean): Remove $(libc-texi-generated), not individual files
29203 from that list. Do not remove dir-add.texinfo.
29204 * manual/libc.texinfo: Comment out uses of edition numbers and
29205 references to printed manual. Remove last-updated dates.
29206 (EDITION): Comment out.
29208 (VERSION, UPDATED): Remove.
29209 (version.texi): Include.
29211 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29213 * sysdeps/posix/spawni.c: Include <signal.h>.
29214 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29215 * sysdeps/pthread/aio_fsync.c: Likewise.
29217 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29219 * conform/Makefile (tests): Run only when not cross-compiling and
29220 when fast-check is not defined.
29222 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29223 * conform/data/limits.h-data: Fixes for POSIX2008.
29224 * conform/run-conformtest.sh: Run all tests.
29225 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29227 * include/bits/dlfcn.h: Likewise.
29228 * include/langinfo.h: Likewise.
29229 * include/monetary.h: Likewise.
29230 * include/sys/poll.h: Likewise.
29232 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29234 * posix/spawn.h: Define __need_sigset_t.
29235 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29236 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29237 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29238 to get sigevent_t only.
29239 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29240 only for __USE_GNU.
29241 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29242 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29243 process_vm_writev only for __USE_GNU.
29244 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29246 * conform/Makefile: For now ignore errors from run-conformtest.
29247 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29248 POSIX to avoid namespace pollution. Don't prepend headers.
29249 * conform/data/aio.h-data: Fixes for POSIX testing.
29250 * conform/data/fcntl.h-data: Likewise.
29251 * conform/data/glob.h-data: Likewise.
29252 * conform/data/grp.h-data: Likewise.
29253 * conform/data/pthread.h-data: Likewise.
29254 * conform/data/pwd.h-data: Likewise.
29255 * conform/data/signal.h-data: Likewise.
29256 * conform/data/spawn.h-data: Likewise.
29257 * conform/data/stdio.h-data: Likewise.
29258 * conform/data/stdlib.h-data: Likewise.
29259 * conform/data/stropts.h-data: Likewise.
29260 * conform/data/sys/mman.h-data: Likewise.
29261 * conform/data/sys/stat.h-data: Likewise.
29262 * conform/data/sys/types.h-data: Likewise.
29263 * conform/data/sys/wait.h-data: Likewise.
29264 * conform/data/time.h-data: Likewise.
29265 * conform/data/unistd.h-data: Likewise.
29266 * conform/data/utime.h-data: Likewise.
29268 * io/sys/stat.h: fchmod was always in POSIX.
29269 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29270 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29271 * rt/aio.h: Define __need_timespec before including <time.h>.
29272 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29273 struct. Add forward declaration of pthread_attr_t and use it in
29275 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29277 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29278 always remove CLK_TCK definition.
29280 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29282 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29284 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29286 * conform/run-conformtest.sh: New file.
29287 * conform/Makefile: Run run-conformtest for tests.
29288 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29291 * conform/data/uchar.h-data: New file.
29292 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29293 * conform/data/arpa/inet.h-data: Likewise.
29294 * conform/data/assert.h-data: Likewise.
29295 * conform/data/complex.h-data: Likewise.
29296 * conform/data/cpio.h-data: Likewise.
29297 * conform/data/ctype.h-data: Likewise.
29298 * conform/data/dirent.h-data: Likewise.
29299 * conform/data/dlfcn.h-data: Likewise.
29300 * conform/data/errno.h-data: Likewise.
29301 * conform/data/fcntl.h-data: Likewise.
29302 * conform/data/float.h-data: Likewise.
29303 * conform/data/fmtmsg.h-data: Likewise.
29304 * conform/data/fnmatch.h-data: Likewise.
29305 * conform/data/ftw.h-data: Likewise.
29306 * conform/data/glob.h-data: Likewise.
29307 * conform/data/grp.h-data: Likewise.
29308 * conform/data/iconv.h-data: Likewise.
29309 * conform/data/inttypes.h-data: Likewise.
29310 * conform/data/langinfo.h-data: Likewise.
29311 * conform/data/libgen.h-data: Likewise.
29312 * conform/data/limits.h-data: Likewise.
29313 * conform/data/locale.h-data: Likewise.
29314 * conform/data/math.h-data: Likewise.
29315 * conform/data/monetary.h-data: Likewise.
29316 * conform/data/mqueue.h-data: Likewise.
29317 * conform/data/ndbm.h-data: Likewise.
29318 * conform/data/net/if.h-data: Likewise.
29319 * conform/data/netdb.h-data: Likewise.
29320 * conform/data/netinet/in.h-data: Likewise.
29321 * conform/data/nl_types.h-data: Likewise.
29322 * conform/data/poll.h-data: Likewise.
29323 * conform/data/pthread.h-data: Likewise.
29324 * conform/data/pwd.h-data: Likewise.
29325 * conform/data/regex.h-data: Likewise.
29326 * conform/data/sched.h-data: Likewise.
29327 * conform/data/search.h-data: Likewise.
29328 * conform/data/semaphore.h-data: Likewise.
29329 * conform/data/setjmp.h-data: Likewise.
29330 * conform/data/signal.h-data: Likewise.
29331 * conform/data/spawn.h-data: Likewise.
29332 * conform/data/stdarg.h-data: Likewise.
29333 * conform/data/stdio.h-data: Likewise.
29334 * conform/data/stdlib.h-data: Likewise.
29335 * conform/data/string.h-data: Likewise.
29336 * conform/data/strings.h-data: Likewise.
29337 * conform/data/stropts.h-data: Likewise.
29338 * conform/data/sys/ipc.h-data: Likewise.
29339 * conform/data/sys/mman.h-data: Likewise.
29340 * conform/data/sys/msg.h-data: Likewise.
29341 * conform/data/sys/resource.h-data: Likewise.
29342 * conform/data/sys/select.h-data: Likewise.
29343 * conform/data/sys/sem.h-data: Likewise.
29344 * conform/data/sys/shm.h-data: Likewise.
29345 * conform/data/sys/socket.h-data: Likewise.
29346 * conform/data/sys/stat.h-data: Likewise.
29347 * conform/data/sys/statvfs.h-data: Likewise.
29348 * conform/data/sys/time.h-data: Likewise.
29349 * conform/data/sys/timeb.h-data: Likewise.
29350 * conform/data/sys/times.h-data: Likewise.
29351 * conform/data/sys/types.h-data: Likewise.
29352 * conform/data/sys/uio.h-data: Likewise.
29353 * conform/data/sys/un.h-data: Likewise.
29354 * conform/data/sys/utsname.h-data: Likewise.
29355 * conform/data/sys/wait.h-data: Likewise.
29356 * conform/data/syslog.h-data: Likewise.
29357 * conform/data/tar.h-data: Likewise.
29358 * conform/data/termios.h-data: Likewise.
29359 * conform/data/utime.h-data: Likewise.
29360 * conform/data/utmpx.h-data: Likewise.
29361 * conform/data/varargs.h-data: Likewise.
29362 * conform/data/wchar.h-data: Likewise.
29363 * conform/data/wctype.h-data: Likewise.
29364 * conform/data/wordexp.h-data: Likewise.
29366 * include/stropts.h: New file.
29367 * include/uchar.h: New file.
29368 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29369 * include/assert.h: Likewise.
29370 * include/ctype.h: Likewise.
29371 * include/dirent.h: Likewise.
29372 * include/dlfcn.h: Likewise.
29373 * include/fcntl.h: Likewise.
29374 * include/fnmatch.h: Likewise.
29375 * include/glob.h: Likewise.
29376 * include/grp.h: Likewise.
29377 * include/libio.h: Likewise.
29378 * include/locale.h: Likewise.
29379 * include/math.h: Likewise.
29380 * include/net/if.h: Likewise.
29381 * include/netdb.h: Likewise.
29382 * include/netinet/in.h: Likewise.
29383 * include/pthread.h: Likewise.
29384 * include/pwd.h: Likewise.
29385 * include/regex.h: Likewise.
29386 * include/sched.h: Likewise.
29387 * include/search.h: Likewise.
29388 * include/setjmp.h: Likewise.
29389 * include/signal.h: Likewise.
29390 * include/stdio.h: Likewise.
29391 * include/stdlib.h: Likewise.
29392 * include/string.h: Likewise.
29393 * include/sys/cdefs.h: Likewise.
29394 * include/sys/mman.h: Likewise.
29395 * include/sys/msg.h: Likewise.
29396 * include/sys/resource.h: Likewise.
29397 * include/sys/select.h: Likewise.
29398 * include/sys/socket.h: Likewise.
29399 * include/sys/stat.h: Likewise.
29400 * include/sys/statvfs.h: Likewise.
29401 * include/sys/time.h: Likewise.
29402 * include/sys/times.h: Likewise.
29403 * include/sys/uio.h: Likewise.
29404 * include/sys/utsname.h: Likewise.
29405 * include/sys/wait.h: Likewise.
29406 * include/termios.h: Likewise.
29407 * include/time.h: Likewise.
29408 * include/ulimit.h: Likewise.
29409 * include/unistd.h: Likewise.
29410 * include/utime.h: Likewise.
29411 * include/wchar.h: Likewise.
29412 * include/wctype.h: Likewise.
29413 * include/wordexp.h: Likewise.
29415 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29417 * time/time.h: TIME_UTC must be a macro.
29418 Make timespec_get available for ISO C11 only as well.
29420 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29422 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29423 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29425 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29427 * configure.in: Use -o not -a in test for unsupported multi-arch.
29429 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29431 * manual/texinfo.tex: Update to version 2012-01-19.16.
29433 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29435 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29437 2012-02-24 Roland McGrath <roland@hack.frob.com>
29440 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29441 * manual/fdl-1.3.texi: New file.
29442 * manual/fdl-1.1.texi: File removed.
29445 * manual/libc.texinfo (FDL_VERSION): New @set.
29446 Use it for mention of FDL in cover text.
29447 (Documentation License): Use it in @include file name.
29449 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29450 Roland McGrath <roland@hack.frob.com>
29453 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29454 not LONG_LONG_MAX and LONG_LONG_MIN.
29455 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29456 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29458 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29460 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29464 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29465 manipulate bits before adding and subtracting TWO23[sx].
29466 * math/libm-test.inc (nearbyint_test): Add more tests.
29468 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29471 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29472 bits before adding and subtracting TWO23[sx].
29473 * math/libm-test.inc (rint_test): Add more tests.
29474 (rint_test_tonearest): Likewise.
29475 (rint_test_towardzero): Likewise.
29476 (rint_test_downward): Likewise.
29477 (rint_test_upward: Likewise.
29479 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29482 * include/stdc-predef.h: New file. Extracted from features.h.
29483 * include/features.h: Include stdc-predef.h.
29484 * Makefile (headers): Add stdc-predef.h.
29485 * CONFORMANCE (Compiler limitations): Update.
29487 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29489 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29491 2012-02-21 David S. Miller <davem@davemloft.net>
29493 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29494 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29496 2012-02-20 David S. Miller <davem@davemloft.net>
29498 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29499 using a normal save/restore sequence, rather than allocating a
29500 dummy stack frame just to store a frame pointer and restore.
29501 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29503 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29505 * manual/install.texi: Fix stray word in line-wrapped comment.
29507 2012-02-20 David S. Miller <davem@davemloft.net>
29509 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29510 both binutils and gcc support GOTDATA.
29512 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29513 "rd %pc" in the PIC register setup sequences.
29515 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29516 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29517 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29518 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29519 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29522 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29524 (SYSCALL_ERROR_HANDLER): Likewise.
29525 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29526 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29528 (SYSCALL_ERROR_HANDLER): Likewise.
29530 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29531 (HAVE_GCC_GOTDATA): New.
29532 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29533 relocation support in both binutils and gcc.
29534 * sysdeps/sparc/elf/configure: Regenerate.
29536 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29537 * sysdeps/sparc/sparc32/elf/configure: Delete.
29538 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29539 * sysdeps/sparc/sparc64/elf/configure: Delete.
29540 * sysdeps/sparc/elf/configure.in: New file.
29541 * sysdeps/sparc/elf/configure: Generate.
29543 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29544 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29545 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29546 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29547 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29549 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29551 * manual/install.texi: Do not mention specific glibc version
29553 * manual/libc.texinfo (VERSION, UPDATED): Update.
29554 (@copying): Use @copyright{} and range of years.
29556 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29559 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29560 [crti.S not in sysdirs] (generated): Do not append.
29561 [crti.S not in sysdirs] (omit-deps): Likewise.
29562 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29563 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29564 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29565 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29566 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29568 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29569 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29570 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29571 * csu/defs.awk: Remove file.
29572 * sysdeps/generic/initfini.c: Likewise.
29573 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29575 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29578 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29580 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29581 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29582 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29584 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29585 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29587 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29588 (__EPOLL_PACKED): Define to empty if not defined by
29590 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29594 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29596 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29597 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29598 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29599 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29601 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29605 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29607 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29610 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29614 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29616 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29617 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29619 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29621 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29622 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29624 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29626 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29629 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29631 * math/w_acos.c: Use non-signaling floating-point comparisons.
29632 * math/w_acosf.c: Likewise.
29633 * math/w_acosh.c: Likewise.
29634 * math/w_acoshf.c: Likewise.
29635 * math/w_acoshl.c: Likewise.
29636 * math/w_acosl.c: Likewise.
29637 * math/w_asin.c: Likewise.
29638 * math/w_asinf.c: Likewise.
29639 * math/w_asinl.c: Likewise.
29640 * math/w_atanh.c: Likewise.
29641 * math/w_atanhf.c: Likewise.
29642 * math/w_atanhl.c: Likewise.
29643 * math/w_exp2.c: Likewise.
29644 * math/w_exp2f.c: Likewise.
29645 * math/w_exp2l.c: Likewise.
29646 * math/w_j0.c: Likewise.
29647 * math/w_j0f.c: Likewise.
29648 * math/w_j0l.c: Likewise.
29649 * math/w_j1.c: Likewise.
29650 * math/w_j1f.c: Likewise.
29651 * math/w_j1l.c: Likewise.
29652 * math/w_jn.c: Likewise.
29653 * math/w_jnf.c: Likewise.
29654 * math/w_log.c: Likewise.
29655 * math/w_log10.c: Likewise.
29656 * math/w_log10f.c: Likewise.
29657 * math/w_log10l.c: Likewise.
29658 * math/w_log2.c: Likewise.
29659 * math/w_log2f.c: Likewise.
29660 * math/w_log2l.c: Likewise.
29661 * math/w_logf.c: Likewise.
29662 * math/w_logl.c: Likewise.
29663 * math/w_sqrt.c: Likewise.
29664 * math/w_sqrtf.c: Likewise.
29665 * math/w_sqrtl.c: Likewise.
29666 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29667 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29669 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29670 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29672 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29675 * manual/string.texi (strnlen): Use correct parameter name in
29676 equivalent expression.
29678 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29681 * manual/users.texi (seteuid): Consistently use neweuid for
29684 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29687 * manual/nss.texi (Services in the NSS configuration): Correct
29688 list of services in example configuration file.
29690 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29693 * manual/arith.texi: Remove statements about negative zero
29694 behaving identically to zero.
29696 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29699 * manual/install.texi: Do not document upgrading from libc5.
29701 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29704 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29706 2012-02-18 David S. Miller <davem@davemloft.net>
29708 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29709 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29710 %o7 across the call.
29711 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29714 SETUP_PIC_REG_LEAF.
29715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29716 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29717 * sysdeps/sparc/crtn.S: Likewise.
29719 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29721 * aout/Makefile: Remove.
29723 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29726 * manual/examples/argp-ex1.c (main): Format definition in GNU
29728 * manual/examples/argp-ex2.c (main): Likewise.
29729 * manual/examples/argp-ex3.c (main): Likewise.
29730 * manual/examples/argp-ex4.c (main): Likewise.
29731 * manual/examples/longopt.c (main): Use new-style prototype
29733 * manual/examples/strncat.c (main): Specify return type and use
29734 (void) for arguments.
29735 * manual/examples/subopt.c (main): Use char **argv argument.
29737 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29740 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29743 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29746 * manual/string.texi (strchr): Change when strchrnul is
29749 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29752 * manual/locale.texi (setlocale): Document LOCPATH.
29754 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29757 * manual/process.texi (execle): Move @dots{} before last argument.
29759 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29762 * manual/charset.texi (Generic Charset Conversion): Fix typo
29763 (LC_TYPE -> LC_CTYPE).
29765 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29768 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29769 (scalbnf): Likewise.
29770 (scalbnl): Likewise.
29771 (scalbln): Likewise.
29772 (scalblnf): Likewise.
29773 (scalblnl): Likewise.
29774 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29775 (vwarnx): Likewise.
29778 * manual/filesys.texi (telldir): Use braces around return type.
29779 * manual/llio.texi (mmap): Add space after comma.
29780 (mmap64): Likewise.
29781 * manual/math.texi (jn): Use @var{} on parameter names.
29787 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29789 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29791 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29792 (sched_get_priority_max): Likewise.
29793 * manual/signal.texi (sigvec): Add space after comma.
29794 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29796 (if_indextoname): Likewise.
29797 (if_freenameindex): Likewise.
29798 (sendto): Use ',' instead of '.' in prototype.
29799 * manual/startup.texi (syscall): Use @dots{} instead of literal
29801 * manual/stdio.texi (__fpending): Separate initial words of
29802 paragraph from @deftypefun line.
29803 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29805 (vsyslog): Use @var{} on parameter names.
29806 * manual/terminal.texi (stty): Use @var{} on parameter names.
29807 * manual/users.texi (getutmp): Use @var{} on parameter names.
29808 (getutmpx): Likewise.
29810 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29813 * manual/stdio.texi (fopen): Fix typos in description of
29816 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29819 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29820 get clock_id definition.
29822 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29825 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29826 (madvise): Cast every argument to void on its own.
29828 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29831 * manual/startup.texi (Exit Status): Fix typo.
29833 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29836 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29837 * manual/examples/argp-ex2.c: Likewise.
29838 * manual/examples/argp-ex3.c: Likewise.
29840 2012-02-16 Richard Henderson <rth@redhat.com>
29842 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29843 * sysdeps/s390/s390-32/initfini.c: Remove.
29844 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29845 * sysdeps/s390/s390-64/initfini.c: Remove.
29847 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29849 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29850 compiler output for sysdeps/generic/initfini.c.
29851 * sysdeps/sh/elf/initfini.c: Remove file.
29853 2012-02-16 David S. Miller <davem@davemloft.net>
29856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29858 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29859 * sysdeps/sparc/crti.S: New file.
29860 * sysdeps/sparc/crtn.S: New file.
29861 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29862 * sysdeps/sparc/sparc64/Makefile: Likewise.
29864 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29867 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29869 2012-02-15 Roland McGrath <roland@hack.frob.com>
29872 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29874 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29875 (write, read, close): Likewise.
29876 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29878 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29880 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29881 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29882 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29883 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29885 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29889 2012-02-14 Marek Polacek <polacek@redhat.com>
29891 * sysdeps/x86_64/crti.S: New file.
29892 * sysdeps/x86_64/crtn.S: New file.
29893 * sysdeps/x86_64/elf/initfini.c: Remove file.
29895 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29897 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29898 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29899 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29900 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29902 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29906 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29908 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29909 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29910 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29911 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29913 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29917 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29919 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29920 __feraiseexcept instead of feraiseexcept.
29922 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29923 nanosleep invocations.
29924 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29925 strings, and add error checking for a nanosleep invocations.
29927 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29929 Replace FSF snail mail address with URLs, as per GNU coding standards.
29930 Most of the snail mail addresses were wrong anyway, and omitting
29931 them makes the source code easier to maintain. Almost all of the
29932 changes are to license notices and to locale LC_IDENTIFICATION
29933 addresses, except for this one:
29934 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29935 not its snail mail address.
29937 2012-02-09 Richard Henderson <rth@twiddle.net>
29939 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29940 of kernel-features.h.
29942 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29944 2012-02-08 Marek Polacek <polacek@redhat.com>
29946 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29947 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29948 * sysdeps/gnu/_G_config.h: Likewise.
29949 * sysdeps/generic/_G_config.h: Likewise.
29951 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29953 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29957 * sysdeps/powerpc/powerpc32/crti.S: New file.
29958 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29959 * sysdeps/powerpc/powerpc64/crti.S: New file.
29960 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29962 * Makeconfig (have-initfini): Don't set.
29963 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29964 * configure.in (nopic_initfini): Don't substitute.
29965 * config.h.in (HAVE_INITFINI): Don't #undef.
29966 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29967 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29969 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29971 Support crti.S and crtn.S provided directly by architectures.
29972 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29973 [crti.S in sysdirs] (omit-deps): Likewise.
29974 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29975 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29976 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29977 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29978 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29979 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29980 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29981 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29982 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29983 compiler output for sysdeps/generic/initfini.c.
29984 * sysdeps/i386/elf/Makefile: Remove file.
29985 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29987 2012-02-07 Marek Polacek <polacek@redhat.com>
29989 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29990 * sysdeps/gnu/_G_config.h: Likewise.
29991 * sysdeps/mach/hurd/_G_config.h: Likewise.
29993 2012-02-07 Marek Polacek <polacek@redhat.com>
29995 * math/Makefile (tests): Add tst-CMPLX2.
29996 * math/tst-CMPLX2.c: New file.
29998 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30000 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30002 * math/libm-test.inc (jn_test): Add missing L suffix.
30004 2012-02-06 Marek Polacek <polacek@redhat.com>
30006 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30007 * sysdeps/i386/fpu/e_powf.S: Likewise.
30008 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30009 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30010 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30011 * sysdeps/i386/fpu/e_pow.S: Likewise.
30012 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30013 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30014 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30015 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30016 * sysdeps/i386/fpu/e_log2.S: Likewise.
30017 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30018 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30019 * sysdeps/i386/fpu/e_powl.S: Likewise.
30020 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30021 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30022 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30023 * sysdeps/i386/fpu/e_logl.S: Likewise.
30024 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30025 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30026 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30027 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30028 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30029 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30030 * sysdeps/i386/fpu/e_log.S: Likewise.
30031 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30032 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30033 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30034 * sysdeps/i386/fpu/e_logf.S: Likewise.
30035 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30036 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30037 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30038 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30039 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30040 * sysdeps/i386/fpu/e_log10.S: Likewise.
30041 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30042 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30043 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30044 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30045 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30046 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30047 * sysdeps/i386/asm-syntax.h: Likewise.
30048 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30049 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30050 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30051 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30052 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30053 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30054 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30055 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30056 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30057 * sysdeps/powerpc/sysdep.h: Likewise.
30058 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30059 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30061 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30064 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30066 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30068 * sysdeps/i386/sysdep.h: Include <features.h>.
30069 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30072 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30074 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30076 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30079 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30081 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30082 (SETUP_PIC_REG): Use GET_PC_THUNK.
30083 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30086 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30088 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30089 for non-PIC compilation.
30090 (SETUP_PIC_REG): Add .p2align directive.
30091 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30092 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30093 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30094 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30095 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30096 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30097 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30098 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30099 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30100 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30101 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30102 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30103 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30104 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30105 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30106 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30107 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30108 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30109 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30110 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30111 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30112 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30113 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30114 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30115 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30117 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30118 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30119 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30120 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30121 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30123 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30124 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30125 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30126 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30127 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30128 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30129 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30130 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30131 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30133 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30135 * math/tst-CMPLX.c: Include <stdio.h>.
30137 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30139 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30142 * sysdeps/sparc/bits/mathdef.h: Likewise.
30144 2012-01-31 Marek Polacek <polacek@redhat.com>
30146 * libio/libio.h: Don't define _PARAMS.
30147 * locale/programs/config.h: Don't define PARAMS.
30148 * stdlib/strtol_l.c: Likewise.
30149 (__strtol_l): Remove PARAMS from the prototype.
30151 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30153 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30154 names. Just use the correct names. Remove unnecessary wrapper
30156 * malloc/arena.c: Likewise.
30157 * malloc/hooks.c: Likewise.
30159 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30160 ARENA_TEST says not to. Simplify test for creation of a new arena.
30161 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30163 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30165 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30167 (update_get_addr): New function.
30168 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30169 GET_ADDR_MODULE parameter.
30171 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30173 * crypt/cert.c: Remove __STDC__ conditionals.
30174 * crypt/crypt-entry.c: Likewise.
30175 * crypt/crypt_util.c: Likewise.
30176 * libio/filedoalloc.c: Likewise.
30177 * libio/fileops.c: Likewise.
30178 * libio/genops.c: Likewise.
30179 * libio/iofclose.c: Likewise.
30180 * libio/iofdopen.c: Likewise.
30181 * libio/iofopen.c: Likewise.
30182 * libio/iofopen64.c: Likewise.
30183 * libio/iogetdelim.c: Likewise.
30184 * libio/iopopen.c: Likewise.
30185 * libio/obprintf.c: Likewise.
30186 * libio/oldfileops.c: Likewise.
30187 * libio/oldiofclose.c: Likewise.
30188 * libio/oldiofdopen.c: Likewise.
30189 * libio/oldiofopen.c: Likewise.
30190 * libio/oldiopopen.c: Likewise.
30191 * libio/wfiledoalloc.c: Likewise.
30192 * libio/wgenops.c: Likewise.
30193 * locale/programs/xmalloc.c: Likewise.
30194 * misc/syslog.c: Likewise.
30195 * stdio-common/xbug.c: Likewise.
30196 * string/memchr.c: Likewise.
30197 * string/memcmp.c: Likewise.
30198 * string/memrchr.c: Likewise.
30199 * string/rawmemchr.c: Likewise.
30200 * sysdeps/posix/getcwd.c: Likewise.
30201 * time/strftime_l.c: Likewise.
30203 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30205 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30206 * config.make.in (config-cflags-sse2avx): Define.
30207 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30210 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30212 * scripts/config.guess: Update from upstream config git repository.
30213 * scripts/config.sub: Likewise.
30215 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30217 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30219 (R_TILEPRO_*, R_TILEGX_*): New macros.
30221 * scripts/firstversions.awk: Fix bug in version range handling.
30223 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30225 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30227 * include/sys/epoll.h: New file.
30228 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30231 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30233 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30234 Avoid unnecessary __WORDSIZE == 64 test.
30235 (fmaxf): Use VEX format if possible.
30240 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30241 * math/math_private.h: Remove libc_fegetround* and
30243 * sysdeps/i386/configure.in: Check for -msse2avx.
30244 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30245 also if SSE2AVX is defined.
30246 Remove libc_fegetround* and libc_fesetround*.
30247 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30248 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30249 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30251 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30252 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30253 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30254 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30255 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30257 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30259 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30261 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30263 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30265 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30268 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30270 * Makeconfig (libm): Define.
30271 * elf/Makefile: Add rules to build and run tst-relsort1.
30272 * elf/tst-relsort1.c: New file.
30273 * elf/tst-relsort1mod1.c: New file.
30274 * elf/tst-relsort1mod2.c: New file.
30276 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30278 * math/s_ldexp.c: Remove __STDC__ conditionals.
30279 * math/s_ldexpf.c: Likewise.
30280 * math/s_ldexpl.c: Likewise.
30281 * math/s_nextafter.c: Likewise.
30282 * math/s_nexttowardf.c: Likewise.
30283 * math/s_significand.c: Likewise.
30284 * math/s_significandf.c: Likewise.
30285 * math/s_significandl.c: Likewise.
30286 * math/w_jnl.c: Likewise.
30287 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30288 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30289 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30290 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30291 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30293 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30294 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30295 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30296 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30297 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30298 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30299 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30300 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30301 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30302 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30303 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30304 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30305 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30306 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30307 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30308 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30309 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30310 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30311 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30312 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30313 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30314 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30315 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30316 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30317 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30318 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30319 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30320 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30321 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30322 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30323 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30324 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30325 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30326 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30327 * sysdeps/ieee754/k_standard.c: Likewise.
30328 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30332 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30333 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30335 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30336 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30337 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30339 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30340 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30349 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30355 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30360 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30366 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30368 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30370 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30371 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30373 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30374 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30375 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30376 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30377 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30378 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30379 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30380 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30381 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30382 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30383 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30384 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30385 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30386 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30387 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30388 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30389 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30390 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30392 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30393 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30394 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30395 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30396 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30397 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30398 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30399 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30400 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30401 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30402 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30403 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30404 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30405 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30406 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30407 * sysdeps/ieee754/s_matherr.c: Likewise.
30408 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30409 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30411 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30413 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30415 * crypt/md5.h: Remove __STDC__ conditionals.
30416 * libio/libioP.h: Likewise.
30417 * locale/programs/config.h: Likewise.
30418 * sysdeps/generic/sysdep.h: Likewise.
30419 * sysdeps/i386/asm-syntax.h: Likewise.
30420 * sysdeps/s390/asm-syntax.h: Likewise.
30421 * sysdeps/unix/sysdep.h: Likewise.
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30425 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30427 * libio/libio.h: Remove __STDC__ conditionals.
30428 * malloc/obstack.h: Likewise.
30429 * math/complex.h: Likewise.
30430 * math/math.h: Likewise.
30431 * sysdeps/generic/_G_config.h: Likewise.
30432 * sysdeps/gnu/_G_config.h: Likewise.
30433 * sysdeps/mach/hurd/_G_config.h: Likewise.
30434 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30435 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30436 * sysdeps/sparc/bits/mathdef.h: Likewise.
30438 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30441 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30442 Clean up HAS_* macros.
30443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30444 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30446 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30448 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30449 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30450 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30451 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30452 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30454 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30456 * elf/tst-unique3.cc (gets): Remove declaration.
30457 * elf/tst-unique3lib.cc (gets): Likewise.
30458 * elf/tst-unique3lib2.cc (gets): Likewise.
30459 * elf/tst-unique4.cc (gets): Likewise.
30461 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30463 * include/stdio.h: Add C++ protection. Add gets declarations and
30465 * debug/tst-chk1.c: Don't declare gets here.
30466 * stdio-common/tst-gets.c: Likewise.
30468 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30470 * posix/glob: Remove directory.
30472 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30474 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30476 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30478 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30479 of the non-standard EPFNOSUPPORT.
30481 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30483 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30484 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30485 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30487 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30489 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30491 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30493 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30495 * nscd/grpcache.c (cache_addgr): Likewise.
30496 * nscd/hstcache.c (cache_addhst): Likewise.
30497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30498 * nscd/pwdcache.c (cache_addpw): Likewise.
30499 * nscd/servicescache.c (cache_addserv): Likewise.
30501 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30503 * malloc/malloc.c: Various cleanups.
30504 * malloc/hooks.c: Likewise.
30506 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30507 * stdlib/bug-fmtmsg1.c: New file.
30509 * stdlib/fmtmsg.c (init): Add missing unlock.
30510 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30512 2012-01-12 Marek Polacek <polacek@redhat.com>
30514 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30517 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30519 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30520 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30521 macro to ensure uniqueness of label name.
30522 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30523 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30525 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30527 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30529 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30530 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30531 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30534 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30536 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30538 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30539 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30540 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30542 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30544 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30545 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30547 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30549 * math/bits/math-finite.h: Add ldexp support.
30551 2012-01-10 Marek Polacek <polacek@redhat.com>
30553 * locale/programs/localedef.h (show_archive_content): Add noreturn
30556 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30558 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30560 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30562 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30564 * io/Makefile (headers): Add bits/poll2.h.
30566 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30569 typo #include statement.
30571 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30573 * include/sys/cdefs.h: Define __attribute_alloc_size.
30574 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30575 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30576 * elf/pldd.c: Likewise.
30577 * iconv/iconv_charmap.c: Likewise.
30578 * iconv/iconvconfig.c: Likewise.
30579 * iconv/strtab.c: Likewise.
30580 * locale/programs/locale.c: Likewise.
30581 * locale/programs/localedef.h: Likewise.
30582 * locale/programs/simple-hash.c: Likewise.
30583 * nscd/nscd.h: Likewise.
30584 * nss/makedb.c: Likewise.
30585 * sysdeps/generic/ldconfig.h: Likewise.
30586 * locale/programs/localedef.c: Remove xmalloc prototype.
30587 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30589 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30591 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30594 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30596 * math/Makefile (tests): Add tst-CMPLX.
30597 * math/tst-CMPLX.c: New file.
30599 * math/complex.h (CMPLXL): Fix typo.
30601 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30602 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30604 * debug/tst-chk1.c: Add poll and ppoll tests.
30605 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30606 * include/sys/poll.h: Add hidden proto for ppoll.
30607 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30608 * sysdeps/mach/hurd/ppoll.c: Likewise.
30609 * io/ppoll.c: Likewise.
30610 * debug/poll_chk.c: New file.
30611 * debug/ppoll_chk.c: New file.
30612 * include/bits/poll2.h: New file.
30613 * io/bits/poll2.h: New file.
30616 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30618 * configure.in: static is always set to yes. Remove.
30619 * config.make.in: Don't set build-static.
30620 * Makeconfig: Remove use of build-static.
30621 * dlfcn/Makefile: Likewise.
30622 * elf/Makefile: Likewise.
30623 * math/Makefile: Likewise.
30624 * misc/Makefile: Likewise.
30625 * nptl/Makefile: Likewise.
30626 * sysdeps/mach/hurd/Makefile: Likewise.
30628 * configure.in: PWD_P is not used anymore.
30629 * config.make.in: Remove PWD_P entry.
30631 * configure.in: Remove last remnants of RANLIB.
30632 No need to check for signed size_t anymore.
30633 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30635 Remove __builtin_expect test because we require at least gcc 3.4.
30636 * aclocal.m4: Likewise.
30638 * wcsmbs/mbrtoc16.c: Implement using towc function.
30639 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30640 * wcsmbs/wcsmbsload.c: Likewise.
30641 * iconv/gconv_simple.c: Likewise.
30642 * iconv/gconv_int.h: Likewise.
30643 * iconv/gconv_builtin.h: Likewise.
30644 * iconv/iconv_prog.c: Remove CHAR16 handling.
30646 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30648 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30650 * configure.in: Remove --with-elf and --enable-bounded options.
30651 Dont set base_machine for ia64. More non-ELF conditions removed.
30652 Remove testing and setting of leading underscore information.
30653 * config.make.in (build-bounded): Set to no.
30654 * config.h.in: Remove NO_UNDERSCORES entry.
30655 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30657 * csu/start.c: Remove !NO_UNDERSCORE code.
30658 * locale/localeinfo.h: Likewise.
30659 * sysdeps/generic/machine-gmon.h: Likewise.
30660 * sysdeps/generic/sysdep.h: Likewise.
30661 * sysdeps/i386/sysdep.h: Likewise.
30662 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30663 * sysdeps/mach/sysdep.h: Likewise.
30664 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30666 * sysdeps/sh/sysdep.h: Likewise.
30667 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30668 * sysdeps/unix/i386/sysdep.S: Likewise.
30669 * sysdeps/unix/sparc/start.c: Likewise.
30670 * sysdeps/unix/sparc/sysdep.S: Likewise.
30671 * sysdeps/unix/sparc/sysdep.h: Likewise.
30672 * sysdeps/unix/start.c: Likewise.
30673 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30674 * sysdeps/x86_64/sysdep.h: Likewise.
30676 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30679 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30681 * argp/argp-fmtstream.h: Use const instead __const.
30682 * argp/argp.h: Likewise.
30683 * assert/assert.h: Likewise.
30684 * bits/fenv.h: Likewise.
30685 * bits/sched.h: Likewise.
30686 * bits/sigset.h: Likewise.
30687 * bits/sigthread.h: Likewise.
30688 * catgets/nl_types.h: Likewise.
30689 * conform/data/pthread.h-data: Likewise.
30690 * crypt/crypt-private.h: Likewise.
30691 * crypt/crypt.h: Likewise.
30692 * crypt/crypt_util.c: Likewise.
30693 * ctype/ctype.h: Likewise.
30694 * debug/execinfo.h: Likewise.
30695 * debug/mbsnrtowcs_chk.c: Likewise.
30696 * debug/mbsrtowcs_chk.c: Likewise.
30697 * debug/wcsnrtombs_chk.c: Likewise.
30698 * debug/wcsrtombs_chk.c: Likewise.
30699 * debug/wcstombs_chk.c: Likewise.
30700 * dirent/dirent.h: Likewise.
30701 * dlfcn/dlfcn.h: Likewise.
30702 * elf/neededtest4.c: Likewise.
30703 * grp/grp.h: Likewise.
30704 * gshadow/gshadow.h: Likewise.
30705 * iconv/gconv.h: Likewise.
30706 * iconv/gconv_int.h: Likewise.
30707 * iconv/gconv_simple.c: Likewise.
30708 * iconv/iconv.h: Likewise.
30709 * iconv/loop.c: Likewise.
30710 * iconv/skeleton.c: Likewise.
30711 * include/aio.h: Likewise.
30712 * include/aliases.h: Likewise.
30713 * include/argz.h: Likewise.
30714 * include/arpa/inet.h: Likewise.
30715 * include/assert.h: Likewise.
30716 * include/dirent.h: Likewise.
30717 * include/dlfcn.h: Likewise.
30718 * include/execinfo.h: Likewise.
30719 * include/fcntl.h: Likewise.
30720 * include/fenv.h: Likewise.
30721 * include/glob.h: Likewise.
30722 * include/grp.h: Likewise.
30723 * include/libintl.h: Likewise.
30724 * include/mntent.h: Likewise.
30725 * include/netdb.h: Likewise.
30726 * include/pwd.h: Likewise.
30727 * include/rpc/netdb.h: Likewise.
30728 * include/sched.h: Likewise.
30729 * include/search.h: Likewise.
30730 * include/shadow.h: Likewise.
30731 * include/signal.h: Likewise.
30732 * include/stdio.h: Likewise.
30733 * include/stdlib.h: Likewise.
30734 * include/string.h: Likewise.
30735 * include/sys/socket.h: Likewise.
30736 * include/sys/stat.h: Likewise.
30737 * include/sys/statfs.h: Likewise.
30738 * include/sys/statvfs.h: Likewise.
30739 * include/sys/syslog.h: Likewise.
30740 * include/sys/time.h: Likewise.
30741 * include/sys/uio.h: Likewise.
30742 * include/time.h: Likewise.
30743 * include/unistd.h: Likewise.
30744 * include/utmp.h: Likewise.
30745 * include/wchar.h: Likewise.
30746 * include/wctype.h: Likewise.
30747 * inet/aliases.h: Likewise.
30748 * inet/arpa/inet.h: Likewise.
30749 * inet/netinet/ether.h: Likewise.
30750 * inet/netinet/in.h: Likewise.
30751 * intl/libintl.h: Likewise.
30752 * io/bits/fcntl2.h: Likewise.
30753 * io/fcntl.h: Likewise.
30754 * io/ftw.h: Likewise.
30755 * io/sys/poll.h: Likewise.
30756 * io/sys/stat.h: Likewise.
30757 * io/sys/statfs.h: Likewise.
30758 * io/sys/statvfs.h: Likewise.
30759 * io/utime.h: Likewise.
30760 * libio/bits/stdio.h: Likewise.
30761 * libio/bits/stdio2.h: Likewise.
30762 * libio/libio.h: Likewise.
30763 * libio/libioP.h: Likewise.
30764 * libio/stdio.h: Likewise.
30765 * locale/lc-ctype.c: Likewise.
30766 * locale/locale.h: Likewise.
30767 * login/utmp.h: Likewise.
30768 * malloc/arena.c: Likewise.
30769 * malloc/malloc.c: Likewise.
30770 * malloc/malloc.h: Likewise.
30771 * malloc/mcheck.c: Likewise.
30772 * malloc/mtrace.c: Likewise.
30773 * math/bits/mathcalls.h: Likewise.
30774 * math/fenv.h: Likewise.
30775 * math/math_private.h: Likewise.
30776 * misc/bits/error.h: Likewise.
30777 * misc/bits/syslog.h: Likewise.
30778 * misc/err.h: Likewise.
30779 * misc/error.h: Likewise.
30780 * misc/fstab.h: Likewise.
30781 * misc/mntent.h: Likewise.
30782 * misc/regexp.h: Likewise.
30783 * misc/search.h: Likewise.
30784 * misc/sgtty.h: Likewise.
30785 * misc/sys/mman.h: Likewise.
30786 * misc/sys/syslog.h: Likewise.
30787 * misc/sys/uio.h: Likewise.
30788 * misc/sys/xattr.h: Likewise.
30789 * misc/ttyent.h: Likewise.
30790 * nis/rpcsvc/ypclnt.h: Likewise.
30791 * nss/nss.h: Likewise.
30792 * posix/bits/unistd.h: Likewise.
30793 * posix/fnmatch.h: Likewise.
30794 * posix/glob.h: Likewise.
30795 * posix/sched.h: Likewise.
30796 * posix/spawn.h: Likewise.
30797 * posix/sys/wait.h: Likewise.
30798 * posix/unistd.h: Likewise.
30799 * posix/wordexp.h: Likewise.
30800 * pwd/pwd.h: Likewise.
30801 * resolv/netdb.h: Likewise.
30802 * resource/sys/resource.h: Likewise.
30803 * rt/aio.h: Likewise.
30804 * rt/bits/mqueue2.h: Likewise.
30805 * rt/mqueue.h: Likewise.
30806 * shadow/shadow.h: Likewise.
30807 * signal/signal.h: Likewise.
30808 * socket/send.c: Likewise.
30809 * socket/sendto.c: Likewise.
30810 * socket/sys/socket.h: Likewise.
30811 * stdio-common/printf.h: Likewise.
30812 * stdlib/bits/stdlib.h: Likewise.
30813 * stdlib/fmtmsg.h: Likewise.
30814 * stdlib/monetary.h: Likewise.
30815 * stdlib/stdlib.h: Likewise.
30816 * stdlib/ucontext.h: Likewise.
30817 * streams/stropts.h: Likewise.
30818 * string/argz.h: Likewise.
30819 * string/bits/string2.h: Likewise.
30820 * string/string.h: Likewise.
30821 * string/strings.h: Likewise.
30822 * sunrpc/rpc/auth.h: Likewise.
30823 * sunrpc/rpc/auth_des.h: Likewise.
30824 * sunrpc/rpc/clnt.h: Likewise.
30825 * sunrpc/rpc/netdb.h: Likewise.
30826 * sunrpc/rpc/pmap_clnt.h: Likewise.
30827 * sunrpc/rpc/xdr.h: Likewise.
30828 * sysdeps/generic/inttypes.h: Likewise.
30829 * sysdeps/generic/net/if.h: Likewise.
30830 * sysdeps/generic/sys/swap.h: Likewise.
30831 * sysdeps/gnu/net/if.h: Likewise.
30832 * sysdeps/gnu/utmpx.h: Likewise.
30833 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30834 * sysdeps/i386/i486/bits/string.h: Likewise.
30835 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30836 * sysdeps/s390/bits/string.h: Likewise.
30837 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30838 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30839 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30840 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30841 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30842 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30843 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30844 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30845 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30846 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30847 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30848 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30849 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30850 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30851 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30852 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30853 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30855 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30857 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30858 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30859 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30860 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30861 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30862 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30863 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30865 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30866 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30867 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30868 * sysvipc/sys/ipc.h: Likewise.
30869 * sysvipc/sys/msg.h: Likewise.
30870 * sysvipc/sys/sem.h: Likewise.
30871 * sysvipc/sys/shm.h: Likewise.
30872 * termios/termios.h: Likewise.
30873 * time/sys/time.h: Likewise.
30874 * time/time.h: Likewise.
30875 * wcsmbs/bits/wchar2.h: Likewise.
30876 * wcsmbs/uchar.h: Likewise.
30877 * wcsmbs/wchar.h: Likewise.
30878 * wctype/wctype.h: Likewise.
30881 * Makeconfig: Remove all but ELF support including AIX support.
30882 * Makerules: Likewise.
30883 * config.h.in: Likewise.
30884 * config.make.in: Likewise.
30885 * configure: Likewise.
30886 * configure.in: Likewise.
30887 * csu/Makefile: Likewise.
30888 * csu/version.c: Likewise.
30889 * debug/Makefile: Likewise.
30890 * dlfcn/Makefile: Likewise.
30891 * elf/Makefile: Likewise.
30892 * extra-lib.mk: Likewise.
30893 * iconv/Makefile: Likewise.
30894 * include/libc-symbols.h: Likewise.
30895 * include/shlib-compat.h: Likewise.
30896 * resolv/Makefile: Likewise.
30897 * resolv/res_libc.c: Likewise.
30898 * rt/Makefile: Likewise.
30899 * sysdeps/i386/asm-syntax.h: Likewise.
30900 * sysdeps/i386/sysdep.h: Likewise.
30901 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30902 * sysdeps/mach/sysdep.h: Likewise.
30903 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30904 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30905 * sysdeps/s390/asm-syntax.h: Likewise.
30906 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30907 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30908 * sysdeps/sh/sysdep.h: Likewise.
30909 * sysdeps/unix/sparc/sysdep.h: Likewise.
30910 * sysdeps/wordsize-32/divdi3.c: Likewise.
30911 * sysdeps/x86_64/sysdep.h: Likewise.
30913 * argp/Versions: Remove _argp_unlock_xxx.
30916 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30917 * abilist/libBrokenLocale.abilist: Likewise.
30918 * abilist/libanl.abilist: Likewise.
30919 * abilist/libc.abilist: Likewise.
30920 * abilist/libcrypt.abilist: Likewise.
30921 * abilist/libdl.abilist: Likewise.
30922 * abilist/libm.abilist: Likewise.
30923 * abilist/libnsl.abilist: Likewise.
30924 * abilist/libpthread.abilist: Likewise.
30925 * abilist/libresolv.abilist: Likewise.
30926 * abilist/librt.abilist: Likewise.
30927 * abilist/libthread_db.abilist: Likewise.
30928 * abilist/libutil.abilist: Likewise.
30929 * abilist/libnss_db.abilist: New file.
30931 * scripts/abilist.awk: Add support for indirect functions.
30933 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30935 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30937 * shlib-versions: Remove entries for ports architectures.
30939 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30941 * elf/stackguard-macros.h: Remove support for IA-64.
30942 * elf/tst-auditmod1.c: Likewise.
30943 * sysdeps/generic/ldsodefs.h: Likewise.
30945 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30946 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30950 * configure.in: Remove --enable-omitfp support.
30952 * config.make.in: Likewise.
30953 * Makeconfig: Likewise.
30954 * manual/install.texi: Likewise.
30956 In case anyone cares, the IA-64 architecture could move to ports.
30957 * sysdeps/ia64/*: Removed.
30958 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30959 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30962 * configure.in: Remove entries for unsupported architectures.
30965 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30966 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30968 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30969 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30970 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30971 fall back to using wcrtomb.
30972 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30973 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30975 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30976 * wcsmbs/tst-c16c32-1.c: New file.
30978 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30981 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30983 * elf/tst-unique3.cc: Add explicit declaration of gets.
30984 * elf/tst-unique3lib.cc: Likewise.
30985 * elf/tst-unique3lib2.cc: Likewise.
30986 * elf/tst-unique4.cc: Likewise.
30988 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30990 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30993 * assert/assert.h (static_assert): Don't define for C++.
30994 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30995 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30997 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30999 * iconv/loop.c (single loop): Fix assertion in storing of
31002 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31004 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31006 * posix/getconf.c: Update copyright year.
31007 * nss/getent.c: Likewise.
31008 * nss/makedb.c: Likewise.
31009 * iconv/iconvconfig.c: Likewise.
31010 * iconv/iconv_prog.c: Likewise.
31011 * elf/ldconfig.c: Likewise.
31012 * elf/pldd.c: Likewise.
31013 * elf/sotruss.ksh: Likewise.
31014 * catgets/gencat.c: Likewise.
31015 * csu/version.c: Likewise.
31016 * elf/ldd.bash.in: Likewise.
31017 * elf/sprof.c (print_version): Likewise.
31018 * locale/programs/locale.c: Likewise.
31019 * locale/programs/localedef.c: Likewise.
31020 * login/programs/pt_chown.c: Likewise.
31021 * nscd/nscd.c (print_version): Likewise.
31022 * debug/xtrace.sh: Likewise.
31023 * malloc/memusage.sh: Likewise.
31024 * malloc/mtrace.pl: Likewise.
31025 * debug/catchsegv.sh: Likewise.
31027 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31029 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31032 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31035 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31036 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31038 * iconv/gconv_int.h: Likewise.
31039 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31040 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31041 from libc for GLIBC_2.16.
31042 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31043 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31044 * wcsmbs/uchar.h: Really define mbstate_t.
31045 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31046 * wcsmbs/c16rtomb.c: New file.
31047 * wcsmbs/mbrtoc16.c: New file.
31048 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31049 for C/POSIX locale.
31050 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31051 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31053 * wcsmbs/wchar.h: Add missing __restrict.
31055 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31058 * time/Makefile (routines): Add timespec_get.
31059 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31060 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31061 timespec for ISO C11.
31062 * time/timespec_get.c: New file.
31063 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31064 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31067 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31068 * stdlib/stdlib.h: Declare aligned_alloc.
31069 * Versions.def: Add GLIBC_2.16 for libc.
31070 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31073 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31076 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31080 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31083 * assert/assert.h (static_assert): Define.
31085 * version.h: Update for 2.16 development version.
31088 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31091 * version.h (RELEASE): Bump for 2.15 release.
31092 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31094 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31095 Patch by Marek Polacek <mpolacek@redhat.com>.
31097 * bits/byteswap.h: Protect long long constants with __extension__.
31098 * sysdeps/i386/bits/byteswap.h: Likewise.
31099 * sysdeps/ia64/bits/byteswap.h: Likewise.
31100 * sysdeps/s390/bits/byteswap.h: Likewise.
31101 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31103 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31106 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31107 destination buffer.
31108 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31110 2011-12-23 Marek Polacek <polacek@redhat.com>
31112 * elf/dl-addr.c (determine_info): Add inline keyword.
31113 * elf/tst-auditmod4b.c (check_avx): Likewise.
31114 * elf/tst-auditmod6b.c (check_avx): Likewise.
31115 * elf/tst-auditmod6c.c (check_avx): Likewise.
31116 * elf/tst-auditmod7b.c (check_avx): Likewise.
31118 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31120 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31123 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31126 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31127 processing for last bytes.
31129 2011-08-06 Bruno Haible <bruno@clisp.org>
31132 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31133 U+0385, not to U+1FEE.
31136 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31137 entry for U+00A5 U+0301.
31139 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31142 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31143 buffer for the output is too small.
31145 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31149 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31150 SSE flags if possible.
31152 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31156 processing for last bytes.
31158 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31160 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31161 (syscall-list-default-options, syscall-list-default-condition)
31162 (syscall-list-includes): Define.
31163 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31164 list of ABIs and options and #if conditions for each ABI. Do not
31165 handle common syscalls between ABIs specially.
31166 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31168 (syscall-list-variants, syscall-list-32bit-options)
31169 (syscall-list-32bit-condition, syscall-list-64bit-options)
31170 (syscall-list-64bit-condition): Define.
31171 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31172 (syscall-list-variants, syscall-list-32bit-options)
31173 (syscall-list-32bit-condition, syscall-list-64bit-options)
31174 (syscall-list-64bit-condition): Define.
31175 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31177 (syscall-list-variants, syscall-list-32bit-options)
31178 (syscall-list-32bit-condition, syscall-list-64bit-options)
31179 (syscall-list-64bit-condition): Define.
31180 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31182 (syscall-list-variants, syscall-list-32bit-options)
31183 (syscall-list-32bit-condition, syscall-list-64bit-options)
31184 (syscall-list-64bit-condition): Define.
31186 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31188 * locale/iso-639.def: Add brx entry.
31191 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31192 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31194 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31195 __feraiseexcept_renamed.
31197 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31200 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31201 EPOLLET with unsigned values.
31202 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31203 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31205 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31206 to large cancellation.
31207 * math/s_cacoshf.c: Likewise.
31208 * math/s_cacoshl.c: Likewise.
31210 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31214 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31215 * math/s_cacoshf.c: Likewise.
31216 * math/s_cacoshl.c: Likewise.
31218 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31221 * iconv/gconv.h: Define __GCONV_SWAP.
31222 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31223 * iconvdata/utf-16.c: Likewise.
31224 * iconvdata/utf-32.c: Likewise.
31226 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31229 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31230 numerator after shifting it by one limb.
31232 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31234 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31235 under [__USE_EXTERN_INLINES].
31237 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31240 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31242 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31244 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31245 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31247 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31248 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31249 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31250 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31251 for strncasecmp/strncasecmp_l compilation.
31252 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31253 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31255 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31258 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31261 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31264 * time/tzfile.c (__tzfile_read): Check values from file header.
31266 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31268 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31269 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31270 * powerpc/powerpc32/dl-start.S: Likewise.
31271 * powerpc/powerpc32/elf/start.S: Likewise.
31272 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31273 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31274 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31275 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31276 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31277 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31278 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31279 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31280 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31281 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31282 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31283 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31284 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31285 * powerpc/powerpc32/memset.S: Likewise.
31286 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31287 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31288 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31289 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31290 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31291 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31292 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31293 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31294 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31295 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31296 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31297 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31298 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31300 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31302 * math/libm-test.inc: Added more nearbyint tests.
31303 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31304 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31306 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31308 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31310 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31313 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31315 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31316 Add wcscpy-ssse3 wcscpy-c.
31317 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31318 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31319 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31320 * sysdeps/x86_64/wcschr.S: New file.
31321 * sysdeps/x86_64/wcsrchr.S: New file.
31322 * string/test-strcmp.c: Remove checking of wcscmp function for
31324 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31325 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31326 wcsrchr-sse2 wcsrchr-c.
31327 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31328 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31329 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31330 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31331 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31332 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31333 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31334 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31335 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31336 * wcsmbc/wcschr.c (WCSCHR): New macro.
31338 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31340 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31341 * wcsmbs/test-wcsrchr.c: New file.
31342 * string/test-strrchr.c: Add wcsrchr support.
31344 * wcsmbs/test-wcscpy.c: New file.
31345 * string/test-strcpy.c: Add wcscpy support.
31348 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31350 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31353 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31356 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31358 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31360 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31361 Minor optimizations.
31363 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31364 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31365 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31367 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31369 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31370 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31371 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31372 for gcc to avoid warnings.
31373 * inet/Makefile (tests): Add tst-checks.
31374 * inet/tst-checks.c: New file.
31376 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31379 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31382 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31383 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31385 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31387 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31389 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31392 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31394 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31396 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31397 conditional on GCC version.
31398 (__arch_compare_and_exchange_val_8_acq)
31399 (__arch_compare_and_exchange_val_16_acq)
31400 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31401 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31402 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31404 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31406 * sysdeps/sh/backtrace.c: New file.
31408 2011-12-02 Andreas Schwab <schwab@redhat.com>
31410 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31413 2011-12-01 Andreas Schwab <schwab@redhat.com>
31415 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31416 falling back to utime.
31418 2011-11-30 Andreas Schwab <schwab@redhat.com>
31420 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31421 expectations for float.
31423 2011-11-29 Andreas Schwab <schwab@redhat.com>
31425 * locale/weight.h (findidx): Add parameter len.
31426 * locale/weightwc.h (findidx): Likewise.
31427 * posix/fnmatch_loop.c (FCT): Adjust caller.
31428 * posix/regcomp.c (build_equiv_class): Likewise.
31429 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31430 * posix/regexec.c (check_node_accept_bytes): Likewise.
31431 * string/strcoll_l.c (STRCOLL): Likewise.
31432 * string/strxfrm_l.c (STRXFRM): Likewise.
31434 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31436 * Makefile.in: Remove CVSOPT handling.
31437 * configure.in: Remove use of AC_REVISION.
31438 * iconvdata/Makefile (distribute): No need to filter out CVS.
31439 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31442 2011-11-16 Andreas Schwab <schwab@redhat.com>
31444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31445 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31446 [USE_AS_STRNCASECMP_L]: Likewise.
31447 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31448 NO_TLS_DIRECT_SEG_REFS.
31449 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31450 Fix argument offsets for non-PIC.
31451 [USE_AS_STRNCASECMP_L]: Likewise.
31452 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31453 NO_TLS_DIRECT_SEG_REFS.
31455 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31457 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31459 * locale/loadlocale.c (_nl_load_locale): Likewise.
31461 2011-11-15 Andreas Schwab <schwab@redhat.com>
31463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31464 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31465 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31466 (SYSCALL_GETTIME): Set errno on error.
31468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31469 count references to noai6ai_cached.
31471 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31473 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31475 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31476 FD_CLOEXEC for /proc/self/maps.
31478 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31479 FD_CLOEXEC for /proc/meminfo.
31481 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31484 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31485 FD_CLOEXEC for given file.
31487 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31489 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31490 FD_CLOEXEC for /etc/hosts.
31491 (_gethtent): Likewise.
31493 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31495 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31496 cancellation and set FD_CLOEXEC for /etc/netgroup.
31498 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31499 reading /etc/publickey.
31501 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31502 allow cancellation when reading /etc/group.
31504 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31506 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31508 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31509 when using data file.
31511 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31513 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31514 (write_nis_obj): Use "c" and "e" in fopen.
31516 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31518 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31520 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31522 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31524 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31527 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31529 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31531 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31533 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31534 file parsing and set FD_CLOEXEC.
31536 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31538 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31540 2011-11-14 Andreas Schwab <schwab@redhat.com>
31542 * malloc/arena.c (arena_get2): Don't call reused_arena when
31543 _int_new_arena failed.
31545 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31547 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31548 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31549 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31550 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31551 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31552 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31553 to compile strcasecmp and strncasecmp.
31554 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31555 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31559 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31561 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31562 locale-defines.sym to gen-as-const-headers.
31563 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31564 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31566 to compile strcasecmp and strncasecmp.
31567 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31568 strcasecmp_l and strncasecmp_l.
31569 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31570 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31571 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31572 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31573 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31574 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31575 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31576 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31577 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31578 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31579 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31581 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31583 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31584 result of SYSDEP_GETTIME_CPU to retval.
31585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31586 parameter list to macro. Remove trailing semicolon. Adjust users.
31588 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31591 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31593 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31595 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31596 from unused variable.
31598 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31600 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31603 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31606 * sunrpc/rpc_prot.c (rejected): Fix case value.
31608 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31609 unsigned long long int to avoid warnings in shift.
31611 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31613 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31616 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31617 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31618 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31620 * nis/nis_table.c (nis_list): Use variable of correct type for
31621 result of __follow_path call.
31623 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31625 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31626 of math functions ceil, trunc, floor, round, and sqrt, when
31627 avaliable on the platform.
31628 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31631 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31632 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31634 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31636 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31637 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31639 2011-11-11 Roland McGrath <roland@hack.frob.com>
31641 * include/unistd.h: Fix __readlink return type.
31642 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31644 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31646 * stdlib/ucontext.h: Undo last change for makecontext.
31648 2011-11-11 Andreas Schwab <schwab@redhat.com>
31650 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31652 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31653 * setjmp/setjmp.h: Mark functions as non-leaf.
31654 * setjmp/bits/setjmp2.h: Likewise.
31655 * stdlib/ucontext.h: Likewise.
31657 2011-11-10 Andreas Schwab <schwab@redhat.com>
31659 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31660 (reused_arena): Don't check arena limit.
31661 (arena_get2): Atomically check arena limit.
31663 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31665 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31666 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31668 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31671 2011-11-07 Andreas Schwab <schwab@redhat.com>
31673 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31674 handler when locking.
31676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31677 Fix size of allocated buffer.
31679 2011-11-04 Andreas Schwab <schwab@redhat.com>
31682 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31683 declarations for long double functions.
31684 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31686 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31688 2011-11-03 Andreas Schwab <schwab@redhat.com>
31690 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31693 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31696 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31698 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31700 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31702 * include/alloca.h (stackinfo_alloca_round): Define.
31703 (extend_alloca): Use it.
31704 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31705 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31708 * scripts/check-local-headers.sh: Ignore libaudit.h.
31710 * nscd/Makefile (extra-objs): Make recursively expanded.
31712 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31714 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31715 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31717 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31718 * posix/tst-rfc3484-2.c: Likewise.
31719 * posix/tst-rfc3484-3.c: Likewise.
31721 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31723 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31725 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31726 process_vm_writev from libc using GLIBC_2.15 version.
31728 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31730 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31732 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31735 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31738 * nss/getent.c (initgroups_keys): Show error message in case no group
31741 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31742 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31743 __bump_nl_timestamp.
31744 * nscd/connections (nscd_init): When host database is served open
31745 netlink socket and request notification about configuration changes.
31746 (main_loop_poll): Track netlink file descriptor and bump timestamp
31747 in case data becomes available.
31748 (main_loop_epoll): Likewise.
31749 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31750 (database_pers_head): Add extra_data fileds.
31751 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31752 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31753 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31756 in6ai data, call __free_in6ai.
31757 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31758 Add -DHAVE_NETLINK.
31759 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31760 interface information. Reuse previous data if netlink timestamp
31762 (__bump_nl_timestamp): New function.
31763 (__free_in6ai): New function.
31765 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31767 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31768 close_not_cancel_no_status here.
31769 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31771 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31774 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31777 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31778 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31779 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31781 2011-07-03 Andreas Jaeger <aj@suse.de>
31784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31785 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31786 * math/libm-test.inc (sin_test): Add test case.
31788 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31791 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31792 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31794 * elf/chroot_canon.c (chroot_canon): Cleanups.
31796 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31799 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31800 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31802 * string/test-strchr.c: Make usable for strchrnul testing.
31803 * string/test-strchrnul.c: New file.
31804 * string/Makefile (strop-tests): Add strchrnul.
31806 * po/it.po: Update from translation team.
31807 * po/es.po: Likewise.
31809 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31811 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31812 the three constants needed as parameters. Drop the others.
31813 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31814 __m128i_strloadu_tolower.
31815 Create and initialize variable zero and use it in all the places
31816 where _mm_setzero_si128 was used.
31818 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31819 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31820 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31821 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31823 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31824 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31825 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31826 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31827 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31828 __mpranred, __mptan.
31829 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31830 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31831 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31832 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31833 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31834 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31835 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31836 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31837 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31839 2011-10-28 Andreas Schwab <schwab@redhat.com>
31841 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31842 redefine if SHARED.
31843 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31846 wide char related routines to wcsmbs subdir.
31848 2011-10-27 Andreas Schwab <schwab@redhat.com>
31851 * misc/sys/cdefs.h (__THROWNL): Define.
31852 * posix/unistd.h: Use __THREADNL instead of __THREAD
31853 for memory synchronization functions.
31855 2011-10-26 Roland McGrath <roland@hack.frob.com>
31858 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31860 * manual/stdio.texi (Obstack Streams): Node removed.
31862 2011-10-26 Andreas Schwab <schwab@redhat.com>
31864 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31865 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31866 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31868 * math/math_private.h (math_force_eval): Allow non-addressable
31870 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31872 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31874 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31875 file is not needed.
31877 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31879 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31880 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31881 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31882 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31884 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31886 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31887 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31888 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31889 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31890 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31891 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31892 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31893 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31894 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31895 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31896 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31897 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31899 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31900 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31901 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31902 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31903 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31904 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31906 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31907 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31910 place. Use VEX encoding when compiling for AVX.
31912 2011-10-25 Andreas Schwab <schwab@redhat.com>
31914 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31915 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31917 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31919 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31921 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31922 useless if() expression.
31923 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31924 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31925 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31927 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31928 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31929 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31931 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31932 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31933 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31934 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31935 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31936 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31937 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31938 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31939 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31940 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31941 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31943 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31945 2011-10-25 Andreas Schwab <schwab@redhat.com>
31947 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31949 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31951 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31953 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31954 .text section. Avoid duplicate constants.
31955 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31957 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31959 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31963 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31964 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31965 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31966 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31967 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31968 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31970 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31972 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31978 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31979 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31980 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31981 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31982 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31983 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31984 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31985 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31986 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31987 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31988 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31989 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31990 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31991 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31993 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31994 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31995 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31996 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31997 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31998 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31999 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32001 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32003 * sysdeps/x86_64/dla.h: Move to ...
32004 * sysdeps/x86_64/fpu/dla.h: ...here.
32005 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32006 situations. Use __builtin_fma only for gcc 4.6 and up.
32008 * config.make.in: Add have-mfma4 entry.
32009 * configure.in: Substitute libc_cv_cc_fma4.
32010 * math/Makefile (dbl-only-routines): Add sincostab.
32011 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32012 Use __sincostab not sincos.
32013 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32020 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32021 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32022 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32023 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32025 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32026 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32028 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32029 define aliases when function name is a macro.
32030 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32031 sysdeps/ieee754/dbl-64/sincos.tbl.
32032 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32033 fma4-enabled routines.
32034 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32035 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32036 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32037 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32038 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32039 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32040 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32041 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32043 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32044 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32045 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32046 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32047 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32048 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32049 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32050 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32051 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32052 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32053 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32054 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32055 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32056 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32057 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32058 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32059 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32060 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32061 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32062 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32063 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32065 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32073 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32076 2011-10-24 Andreas Schwab <schwab@redhat.com>
32078 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32080 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32082 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32084 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32086 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32088 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32089 Remove unused variable magic_bits.
32090 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32092 * string/strnlen.c: Define and use STRNLEN macro.
32093 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32094 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32096 * wcsmbs/wcslen.c: Define and use WCSLEN.
32097 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32098 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32099 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32100 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32101 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32102 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32103 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32105 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32108 strnlen-sse2-no-bsf.
32109 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32111 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32112 Add strnlen support.
32113 (USE_AS_STRNLEN): New macro.
32114 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32115 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32116 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32117 * sysdeps/x86_64/wcslen.S: New file.
32119 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32122 XMM-moves are used for copying on small sizes.
32124 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32126 * wcsmbs/Makefile (strop-tests): Add wcschr.
32127 * wcsmbs/test-wcschr.c: New file.
32128 * string/test-strchr.c: Update.
32129 Add wcschr support.
32132 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32134 * wcsmbs/Makefile (strop-tests): Add wcslen.
32135 * wcsmbs/test-wcslen.c: New file.
32136 * string/test-strlen.c: Update.
32137 Add wcslen support.
32140 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32142 * po/it.po: Update from translation team.
32144 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32146 * sysdeps/x86_64/wcscmp.S: Update.
32147 Fix wrong comparison semantics.
32148 wcscmp shall use signed comparison not unsigned.
32149 Don't use substraction to avoid overflow bug.
32150 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32151 * wcsmbc/wcscmp.c: Likewise.
32152 * string/test-strcmp.c: Likewise.
32153 Add new tests to check cases with negative values.
32155 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32157 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32158 * sysdeps/x86_64/dla.h: ...here. New file.
32159 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32160 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32166 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32169 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32172 __ynl_finite aliases.
32174 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32178 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32180 [DLA_FMA] (EMULV): Use DLA_FMA.
32181 [DLA_FMA] (MUL12): Use EMULV.
32182 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32183 that are not needed.
32184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32189 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32192 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32194 * math/s_nan.c: Undef __nan.
32195 * math/s_nanf.c: Undef __nanf.
32196 * math/s_nanl.c: Undef __nanl.
32197 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32200 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32202 * math/s_catan.c: Add branch predictions.
32203 * math/s_catanf.c: Likewise.
32204 * math/s_catanh.c: Likewise.
32205 * math/s_catanhf.c: Likewise.
32206 * math/s_catanhl.c: Likewise.
32207 * math/s_catanl.c: Likewise.
32208 * math/s_cexp.c: Likewise.
32209 * math/s_cexpf.c: Likewise.
32210 * math/s_cexpl.c: Likewise.
32211 * math/s_clog.c: Likewise.
32212 * math/s_clog10.c: Likewise.
32213 * math/s_clog10f.c: Likewise.
32214 * math/s_clog10l.c: Likewise.
32215 * math/s_clogf.c: Likewise.
32216 * math/s_clogl.c: Likewise.
32217 * math/s_csqrt.c: Likewise.
32218 * math/s_csqrtf.c: Likewise.
32219 * math/s_csqrtl.c: Likewise.
32220 * math/s_ctanf.c: Likewise.
32221 * math/s_ctanh.c: Likewise.
32222 * math/s_ctanhf.c: Likewise.
32223 * math/s_ctanhl.c: Likewise.
32224 * math/s_ctanl.c: Likewise.
32226 * math/math_private.h: Define __nan, __nanf, __nanl.
32227 * math/s_cacosh.c: Include <math_private.h>.
32228 * math/s_cacoshl.c: Likewise.
32229 * math/s_casinh.c: Likewise.
32230 * math/s_casinhf.c: Likewise.
32231 * math/s_casinhl.c: Likewise.
32232 * math/s_ccos.c: Rely entire on ccosh.
32233 * math/s_ccosf.c: Rely entire on ccoshf.
32234 * math/s_ccosl.c: Rely entirely on ccoshl.
32235 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32236 Remove tests for FE_INVALID.
32237 * math/s_ccoshf.c: Likewise.
32238 * math/s_ccoshl.c: Likewise.
32239 * math/s_csin.c: Likewise.
32240 * math/s_csinf.c: Likewise.
32241 * math/s_csinh.c Likewise.
32242 * math/s_csinhf.c: Likewise.
32243 * math/s_csinhl.c: Likewise.
32244 * math/s_csinl.c: Likewise.
32245 * math/s_ctan.c: Likewise.
32246 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32247 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32248 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32250 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32253 compilation problems.
32255 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32258 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32260 * sysdeps/i386/configure.in: Test for -mfma4 option.
32261 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32262 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32263 COMMON_CPUID_INDEX_80000001.
32264 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32265 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32266 use it if FMA3 is not supported.
32267 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32269 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32270 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32272 2011-10-20 Andreas Schwab <schwab@redhat.com>
32275 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32276 it would create a cycle with a link time dependency.
32278 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32280 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32282 * string/Makefile (strop-tests): Add rawmemchr.
32283 * string/test-rawmemchr.c: New file.
32285 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32287 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32288 when compiling str{,n}casecmp and when AVX is available. Hook up
32289 new optimized code in initializers.
32291 2011-10-19 Andreas Schwab <schwab@redhat.com>
32293 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32294 __feraiseexcept instead of feraiseexcept.
32296 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32298 * math/math_private.h: Define defaults for libc_fetestexcept and
32300 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32301 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32302 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32303 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32304 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32305 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32306 libc_fetestexcept and libc_feupdateenv.
32308 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32309 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32310 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32311 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32312 libc_feholdexcept_setround.
32314 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32315 Add s_nearbyint-c and s_nearbyintf-c.
32316 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32317 nearbyintf inlines.
32318 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32319 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32320 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32321 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32323 * math/math_private.h: Define defaults for libc_fegetround,
32324 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32325 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32326 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32327 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32328 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32329 standard functions.
32330 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32331 Remove comments and hacks for old compiler versions.
32332 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32333 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32334 libc_feholdexceptl.
32336 2011-10-18 Andreas Schwab <schwab@redhat.com>
32338 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32339 (__feraiseexcept_renamed): Add __NTH.
32340 (feraiseexcept): Add __NTH. Rename local variables to fix
32341 namespace violations.
32343 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32345 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32347 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32349 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32350 recently added interfaces.
32351 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32353 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32354 about macro parameter expansion.
32356 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32357 __NO_MATH_INLINES is defined. Cleanups.
32359 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32360 and __floorf is target has SSE4.1.
32361 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32362 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32363 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32364 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32366 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32368 (floorf): Likewise.
32370 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32372 2011-10-17 Andreas Schwab <schwab@redhat.com>
32374 * misc/sys/cdefs.h: Fix last change.
32376 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32379 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32381 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32383 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32384 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32385 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32389 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32390 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32391 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32392 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32393 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32394 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32395 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32396 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32397 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32398 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32399 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32400 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32401 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32402 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32403 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32404 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32406 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32407 ceil, ceilf, floor, floorf.
32409 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32410 Perform IRELATIVE relocations last.
32412 * elf/do-rel.h: Add another parameter nrelative, replacing the
32413 local variable with the same name. Change name of the function
32414 to end in Rel or Rela (uppercase).
32415 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32416 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32417 elf_dynamic_do_##reloc function.
32419 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32421 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32422 is sufficient, at least on modern CPUs.
32424 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32426 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32427 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32429 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32431 * math/bits/math-finite.h: Add entries for exp.
32432 * math/e_expl.c: Add __*_finite alias.
32433 * sysdeps/i386/fpu/e_exp.S: Likewise.
32434 * sysdeps/i386/fpu/e_expf.S: Likewise.
32435 * sysdeps/i386/fpu/e_expl.c: Likewise.
32436 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32437 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32440 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32441 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32442 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32444 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32445 is sufficient, at least on modern CPUs.
32447 * ctype/ctype-info.c (__ctype_init): Define.
32448 * include/ctype.h (__ctype_init): Declare.
32449 (__ctype_b_loc): The variable is always initialized.
32450 (__ctype_toupper_loc): Likewise.
32451 (__ctype_tolower_loc): Likewise.
32452 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32453 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32455 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32457 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32459 * configure.in: Also look in $cxxmachine/include for C++ system
32462 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32464 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32465 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32466 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32467 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32468 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32469 (USE_AS_WMEMCMP): New macro.
32471 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32472 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32473 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32474 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32476 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32477 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32478 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32479 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32480 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32481 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32482 (USE_AS_WMEMCMP): New macro.
32483 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32484 * sysdeps/string/test-memcmp.c: Update.
32485 Fix simple_wmemcmp.
32487 * wcsmbs/wmemcmp.c: Update.
32488 (WMEMCMP): New macro.
32491 2011-10-12 Andreas Jaeger <aj@suse.de>
32494 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32496 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32498 * libio/iofwide.c (do_length): Avoid warning.
32500 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32502 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32504 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32506 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32507 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32508 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32509 * sysdeps/i386/i686/fpu/e_log.S: New file.
32510 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32511 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32513 * ctype/ctype.h: Add support for inlined isXXX functions when
32514 compiling C++ code.
32516 2011-10-14 Andreas Schwab <schwab@redhat.com>
32518 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32520 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32522 2011-10-13 Roland McGrath <roland@hack.frob.com>
32525 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32527 2011-10-13 Andreas Schwab <schwab@redhat.com>
32529 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32530 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32533 * sysdeps/x86_64/memrchr.S: Check for zero size.
32535 * string/stratcliff.c: Add memrchr tests.
32537 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32540 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32541 rawmemchr-sse2 rawmemchr-sse2-bsf.
32542 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32543 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32544 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32545 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32546 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32547 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32548 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32549 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32550 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32551 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32552 * string/memrchr.c (MEMRCHR): New macro.
32554 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32556 Add integration with gcc's -ffinite-math-only and optimize wrapper
32558 * Versions.def: Define GLIBC_2.15 version for libm.
32559 * math/Makefile (headers): Add bits/math-finite.h.
32560 * math/bits/math-finite.h: New file.
32561 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32562 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32563 * math/e_acoshl.c: Add __*_finite alias.
32564 * math/e_acosl.c: Likewise.
32565 * math/e_asinl.c: Likewise.
32566 * math/e_atan2l.c: Likewise.
32567 * math/e_atanhl.c: Likewise.
32568 * math/e_coshl.c: Likewise.
32569 * math/e_exp10.c: Likewise.
32570 * math/e_exp10f.c: Likewise.
32571 * math/e_exp10l.c: Likewise.
32572 * math/e_exp2l.c: Likewise.
32573 * math/e_fmodl.c: Likewise.
32574 * math/e_gammal_r.c: Likewise.
32575 * math/e_hypotl.c: Likewise.
32576 * math/e_j0l.c: Likewise.
32577 * math/e_j1l.c: Likewise.
32578 * math/e_jnl.c: Likewise.
32579 * math/e_lgammal_r.c: Likewise.
32580 * math/e_log10l.c: Likewise.
32581 * math/e_log2l.c: Likewise.
32582 * math/e_logl.c: Likewise.
32583 * math/e_powl.c: Likewise.
32584 * math/e_sinhl.c: Likewise.
32585 * math/e_sqrtl.c: Likewise.
32586 * math/e_scalb.c: Completely rewritten and optimized.
32587 * math/e_scalbf.c: Likewise.
32588 * math/e_scalbl.c: Likewise.
32589 * math/w_acos.c: Likewise.
32590 * math/w_acosf.c: Likewise.
32591 * math/w_acosl.c: Likewise.
32592 * math/w_acosh.c: Likewise.
32593 * math/w_acoshf.c: Likewise.
32594 * math/w_acoshl.c: Likewise.
32595 * math/w_asin.c: Likewise.
32596 * math/w_asinf.c: Likewise.
32597 * math/w_asinl.c: Likewise.
32598 * math/w_atan2.c: Likewise.
32599 * math/w_atan2f.c: Likewise.
32600 * math/w_atan2l.c: Likewise.
32601 * math/w_atanh.c: Likewise.
32602 * math/w_atanhf.c: Likewise.
32603 * math/w_atanhl.c: Likewise.
32604 * math/w_exp10.c: Likewise.
32605 * math/w_exp10f.c: Likewise.
32606 * math/w_exp10l.c: Likewise.
32607 * math/w_fmod.c: Likewise.
32608 * math/w_fmodf.c: Likewise.
32609 * math/w_fmodl.c: Likewise.
32610 * math/w_j0.c: Likewise.
32611 * math/w_j0f.c: Likewise.
32612 * math/w_j0l.c: Likewise.
32613 * math/w_j1.c: Likewise.
32614 * math/w_j1f.c: Likewise.
32615 * math/w_j1l.c: Likewise.
32616 * math/w_jn.c: Likewise.
32617 * math/w_jnf.c: Likewise.
32618 * math/w_log.c: Likewise.
32619 * math/w_logf.c: Likewise.
32620 * math/w_logl.c: Likewise.
32621 * math/w_log10.c: Likewise.
32622 * math/w_log10f.c: Likewise.
32623 * math/w_log10l.c: Likewise.
32624 * math/w_log2.c: Likewise.
32625 * math/w_log2f.c: Likewise.
32626 * math/w_log2l.c: Likewise.
32627 * math/w_pow.c: Likewise.
32628 * math/w_powf.c: Likewise.
32629 * math/w_powl.c: Likewise.
32630 * math/w_remainder.c: Likewise.
32631 * math/w_remainderf.c: Likewise.
32632 * math/w_remainderl.c: Likewise.
32633 * math/w_scalb.c: Likewise.
32634 * math/w_scalbf.c: Likewise.
32635 * math/w_scalbl.c: Likewise.
32636 * math/w_sqrt.c: Likewise.
32637 * math/w_sqrtf.c: Likewise.
32638 * math/w_sqrtl.c: Likewise.
32639 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32640 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32642 * math/math_private.h: Declare __kernel_standard_f.
32643 * math/w_cosh.c: Remove cruft and optimize a bit.
32644 * math/w_coshf.c: Likewise.
32645 * math/w_coshl.c: Likewise.
32646 * math/w_exp2.c: Likewise.
32647 * math/w_exp2f.c: Likewise.
32648 * math/w_exp2l.c: Likewise.
32649 * math/w_hypot.c: Likewise.
32650 * math/w_hypotf.c: Likewise.
32651 * math/w_hypotl.c: Likewise.
32652 * math/w_lgamma.c: Likewise.
32653 * math/w_lgamma_r.c: Likewise.
32654 * math/w_lgammaf.c: Likewise.
32655 * math/w_lgammaf_r.c: Likewise.
32656 * math/w_lgammal.c: Likewise.
32657 * math/w_lgammal_r.c: Likewise.
32658 * math/w_sinh.c: Likewise.
32659 * math/w_sinhf.c: Likewise.
32660 * math/w_sinhl.c: Likewise.
32661 * math/w_tgamma.c: Likewise.
32662 * math/w_tgammaf.c: Likewise.
32663 * math/w_tgammal.c: Likewise.
32664 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32665 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32666 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32667 Minor optimizations. Pretty printing. Remove cruft.
32668 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32669 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32670 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32671 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32672 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32673 * sysdeps/i386/fpu/e_asin.S: Likewise.
32674 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32675 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32676 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32677 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32678 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32679 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32680 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32681 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32682 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32683 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32684 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32685 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32686 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32687 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32688 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32689 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32690 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32691 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32692 * sysdeps/i386/fpu/e_log.S: Likewise.
32693 * sysdeps/i386/fpu/e_log10.S: Likewise.
32694 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32695 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32696 * sysdeps/i386/fpu/e_log2.S: Likewise.
32697 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32698 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32699 * sysdeps/i386/fpu/e_logf.S: Likewise.
32700 * sysdeps/i386/fpu/e_logl.S: Likewise.
32701 * sysdeps/i386/fpu/e_pow.S: Likewise.
32702 * sysdeps/i386/fpu/e_powf.S: Likewise.
32703 * sysdeps/i386/fpu/e_powl.S: Likewise.
32704 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32705 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32706 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32707 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32708 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32709 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32710 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32711 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32712 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32713 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32714 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32716 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32717 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32718 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32719 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32720 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32721 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32723 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32726 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32727 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32730 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32734 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32735 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32736 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32737 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32738 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32739 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32740 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32741 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32742 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32743 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32744 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32745 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32746 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32747 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32748 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32749 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32750 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32751 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32752 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32753 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32754 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32759 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32768 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32769 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32770 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32772 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32777 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32778 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32784 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32785 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32786 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32788 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32790 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32791 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32792 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32794 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32795 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32796 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32797 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32798 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32799 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32800 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32801 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32802 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32804 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32805 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32806 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32807 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32808 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32809 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32810 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32811 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32812 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32813 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32814 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32815 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32816 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32817 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32818 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32819 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32820 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32821 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32822 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32823 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32824 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32825 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32826 (__isnanf): Likewise.
32827 (__isinf_ns): Likewise.
32828 (__isinf_nsf): Likewise.
32829 (__finite): Likewise.
32830 (__finitef): Likewise.
32831 (__ieee754_sqrt): Define as macro.
32832 (__ieee754_sqrtf): Define as macro.
32833 (__ieee754_sqrtl): Define as macro.
32834 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32836 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32837 __FINITE_MATH_ONLY__ consistent.
32838 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32840 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32842 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32845 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32847 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32849 * po/ja.po: Update from translation team.
32851 2011-10-08 Roland McGrath <roland@hack.frob.com>
32853 * locale/programs/locarchive.c (prepare_address_space): New function.
32854 (create_archive, enlarge_archive, open_archive): Use it.
32856 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32857 inside [SHARED], where it is used.
32859 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32861 * nss/getent.c (netgroup_keys): Remove unused variable.
32862 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32864 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32866 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32867 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32869 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32870 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32871 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32872 * math/Makefile (libm-calls): Add s_isinf_ns.
32873 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32874 * math/multc3.c: Likewise.
32875 * math/s_casin.c: Likewise.
32876 * math/s_casinf.c: Likewise.
32877 * math/s_casinl.c: Likewise.
32878 * math/s_ccos.c: Likewise.
32879 * math/s_ccosf.c: Likewise.
32880 * math/s_ccosl.c: Likewise.
32881 * math/s_ctan.c: Likewise.
32882 * math/s_ctanf.c: Likewise.
32883 * math/s_ctanh.c: Likewise.
32884 * math/s_ctanhf.c: Likewise.
32885 * math/s_ctanhl.c: Likewise.
32886 * math/s_ctanl.c: Likewise.
32887 * math/w_fmod.c: Likewise.
32888 * math/w_fmodf.c: Likewise.
32889 * math/w_fmodl.c: Likewise.
32890 * math/w_remainder.c: Likewise.
32891 * math/w_remainderf.c: Likewise.
32892 * math/w_remainderl.c: Likewise.
32893 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32894 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32895 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32897 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32898 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32899 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32900 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32902 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32904 * stdio-common/printf_fphex.c: Likewise.
32905 * stdio-common/printf_size.c: Likewise.
32907 * math/e_exp10.c: Include math_private.h using <...> not "...".
32908 * math/e_exp10f.c: Likewise.
32909 * math/e_exp10l.c: Likewise.
32910 * math/e_exp2l.c: Likewise.
32911 * math/e_j0l.c: Likewise.
32912 * math/e_j1l.c: Likewise.
32913 * math/e_jnl.c: Likewise.
32914 * math/e_lgammal_r.c: Likewise.
32915 * math/e_rem_pio2l.c: Likewise.
32916 * math/e_scalb.c: Likewise.
32917 * math/e_scalbf.c: Likewise.
32918 * math/e_scalbl.c: Likewise.
32919 * math/k_cosl.c: Likewise.
32920 * math/k_sinl.c: Likewise.
32921 * math/k_tanl.c: Likewise.
32922 * math/s_cacoshf.c: Likewise.
32923 * math/s_catan.c: Likewise.
32924 * math/s_catanf.c: Likewise.
32925 * math/s_catanh.c: Likewise.
32926 * math/s_catanhf.c: Likewise.
32927 * math/s_catanhl.c: Likewise.
32928 * math/s_catanl.c: Likewise.
32929 * math/s_ccosh.c: Likewise.
32930 * math/s_ccoshf.c: Likewise.
32931 * math/s_ccoshl.c: Likewise.
32932 * math/s_cexp.c: Likewise.
32933 * math/s_cexpf.c: Likewise.
32934 * math/s_cexpl.c: Likewise.
32935 * math/s_clog.c: Likewise.
32936 * math/s_clog10.c: Likewise.
32937 * math/s_clog10f.c: Likewise.
32938 * math/s_clog10l.c: Likewise.
32939 * math/s_clogf.c: Likewise.
32940 * math/s_clogl.c: Likewise.
32941 * math/s_csin.c: Likewise.
32942 * math/s_csinf.c: Likewise.
32943 * math/s_csinh.c: Likewise.
32944 * math/s_csinhf.c: Likewise.
32945 * math/s_csinhl.c: Likewise.
32946 * math/s_csinl.c: Likewise.
32947 * math/s_csqrt.c: Likewise.
32948 * math/s_csqrtf.c: Likewise.
32949 * math/s_csqrtl.c: Likewise.
32950 * math/s_ctan.c: Likewise.
32951 * math/s_ctanf.c: Likewise.
32952 * math/s_ctanh.c: Likewise.
32953 * math/s_ctanhf.c: Likewise.
32954 * math/s_ctanhl.c: Likewise.
32955 * math/s_ctanl.c: Likewise.
32956 * math/s_ldexp.c: Likewise.
32957 * math/s_ldexpf.c: Likewise.
32958 * math/s_ldexpl.c: Likewise.
32959 * math/s_significand.c: Likewise.
32960 * math/s_significandf.c: Likewise.
32961 * math/s_significandl.c: Likewise.
32962 * math/w_acos.c: Likewise.
32963 * math/w_acosf.c: Likewise.
32964 * math/w_acosh.c: Likewise.
32965 * math/w_acoshf.c: Likewise.
32966 * math/w_acoshl.c: Likewise.
32967 * math/w_acosl.c: Likewise.
32968 * math/w_asin.c: Likewise.
32969 * math/w_asinf.c: Likewise.
32970 * math/w_asinl.c: Likewise.
32971 * math/w_atan2.c: Likewise.
32972 * math/w_atan2f.c: Likewise.
32973 * math/w_atan2l.c: Likewise.
32974 * math/w_atanh.c: Likewise.
32975 * math/w_atanhf.c: Likewise.
32976 * math/w_atanhl.c: Likewise.
32977 * math/w_cosh.c: Likewise.
32978 * math/w_coshf.c: Likewise.
32979 * math/w_coshl.c: Likewise.
32980 * math/w_dremf.c: Likewise.
32981 * math/w_exp10.c: Likewise.
32982 * math/w_exp10f.c: Likewise.
32983 * math/w_exp10l.c: Likewise.
32984 * math/w_exp2.c: Likewise.
32985 * math/w_exp2f.c: Likewise.
32986 * math/w_fmod.c: Likewise.
32987 * math/w_fmodf.c: Likewise.
32988 * math/w_fmodl.c: Likewise.
32989 * math/w_hypot.c: Likewise.
32990 * math/w_hypotf.c: Likewise.
32991 * math/w_hypotl.c: Likewise.
32992 * math/w_j0.c: Likewise.
32993 * math/w_j0f.c: Likewise.
32994 * math/w_j0l.c: Likewise.
32995 * math/w_j1.c: Likewise.
32996 * math/w_j1f.c: Likewise.
32997 * math/w_j1l.c: Likewise.
32998 * math/w_jn.c: Likewise.
32999 * math/w_jnf.c: Likewise.
33000 * math/w_jnl.c: Likewise.
33001 * math/w_lgamma.c: Likewise.
33002 * math/w_lgamma_r.c: Likewise.
33003 * math/w_lgammaf.c: Likewise.
33004 * math/w_lgammaf_r.c: Likewise.
33005 * math/w_lgammal.c: Likewise.
33006 * math/w_lgammal_r.c: Likewise.
33007 * math/w_log.c: Likewise.
33008 * math/w_log10.c: Likewise.
33009 * math/w_log10f.c: Likewise.
33010 * math/w_log10l.c: Likewise.
33011 * math/w_log2.c: Likewise.
33012 * math/w_log2f.c: Likewise.
33013 * math/w_log2l.c: Likewise.
33014 * math/w_logf.c: Likewise.
33015 * math/w_logl.c: Likewise.
33016 * math/w_pow.c: Likewise.
33017 * math/w_powf.c: Likewise.
33018 * math/w_powl.c: Likewise.
33019 * math/w_remainder.c: Likewise.
33020 * math/w_remainderf.c: Likewise.
33021 * math/w_remainderl.c: Likewise.
33022 * math/w_scalb.c: Likewise.
33023 * math/w_scalbf.c: Likewise.
33024 * math/w_scalbl.c: Likewise.
33025 * math/w_sinh.c: Likewise.
33026 * math/w_sinhf.c: Likewise.
33027 * math/w_sinhl.c: Likewise.
33028 * math/w_sqrt.c: Likewise.
33029 * math/w_sqrtf.c: Likewise.
33030 * math/w_sqrtl.c: Likewise.
33031 * math/w_tgamma.c: Likewise.
33032 * math/w_tgammaf.c: Likewise.
33033 * math/w_tgammal.c: Likewise.
33035 * po/ja.po: Update from translation team.
33037 2011-09-29 Andreas Jaeger <aj@suse.de>
33040 * sunrpc/netname.c (netname2host): Fix logic.
33044 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33046 * math/w_remainder.c (__remainder): Likewise.
33047 * math/w_remainderf.c (__remainderf): Likewise.
33048 * math/libm-test.inc (remainder_test): Add test cases.
33050 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33052 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33055 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33057 * string/test-memcmp.c: Avoid unncessary #defines.
33058 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33060 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33062 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33063 Use new sse2 version for core i3 - i7 as it's faster
33064 than sse42 version.
33065 (bit_Prefer_PMINUB_for_stringop): New.
33066 * sysdeps/x86_64/rawmemchr.S: Update.
33067 Replace with faster SSE2 version.
33068 * sysdeps/x86_64/memrchr.S: New file.
33069 * sysdeps/x86_64/memchr.S: Update.
33070 Replace with faster SSE2 version.
33072 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33074 * elf/dl-load.c (lose): Add cast to avoid warning.
33076 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33078 * po/ca.po: Update from translation team.
33080 * inet/getnetgrent_r.c: Hook up nscd.
33081 * nscd/Makefile (routines): Add nscd_netgroup.
33082 (nscd-modules): Add netgroupcache.
33083 (CFLAGS-netgroupcache.c): Define.
33084 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33085 (cache_search): Add const to second parameter.
33086 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33088 (dbs): Add netgrdb entry.
33089 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33090 (verify_persistent_db): Handle netgrdb.
33091 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33092 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33094 (netgroup_response_header): Define.
33095 (innetgroup_response_header): Define.
33096 (datahead): Add netgroup_response_header and innetgroup_response_header
33098 * nscd/nscd.conf: Add entries for netgroup cache.
33099 * nscd/nscd.h (dbtype): Add netgrdb.
33100 (_PATH_NSCD_NETGROUP_DB): Define.
33101 (netgroup_iov_disabled): Declare.
33102 (xmalloc, xcalloc, xrealloc): Move declarations here.
33103 (cache_search): Adjust prototype.
33104 Add netgroup-related prototypes.
33105 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33106 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33107 (__nscd_innetgr): Declare.
33108 * nscd/selinux.c (perms): Use access_vector_t as element type and
33109 add netgroup-related initializers.
33110 * nscd/netgroupcache.c: New file.
33111 * nscd/nscd_netgroup.c: New file.
33112 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33113 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33114 For four parameters use innetgr.
33115 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33116 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33117 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33118 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33120 * nscd/connections.c (register_traced_file): Don't register file
33121 for disabled databases.
33123 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33125 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33127 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33128 from tree and freeing node.
33130 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33132 * nss/nsswitch.c (__nss_database_lookup): Handle
33133 nss_parse_service_list out of memory case.
33135 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33137 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33138 out of memory case.
33140 2011-10-04 Andreas Schwab <schwab@redhat.com>
33142 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33143 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33145 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33146 elf_machine_rela, elf_machine_lazy_rel.
33147 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33148 (ELF_DYNAMIC_DO_REL): Likewise.
33149 (ELF_DYNAMIC_DO_RELA): Likewise.
33150 (ELF_DYNAMIC_RELOCATE): Likewise.
33151 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33152 to ELF_DYNAMIC_DO_REL.
33153 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33154 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33155 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33157 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33158 skip_ifunc, don't call ifunc function if non-zero.
33159 (elf_machine_rela): Likewise.
33160 (elf_machine_lazy_rel): Likewise.
33161 (elf_machine_lazy_rela): Likewise.
33162 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33163 (elf_machine_lazy_rel): Likewise.
33164 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33166 (elf_machine_lazy_rel): Likewise.
33167 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33169 (elf_machine_lazy_rel): Likewise.
33170 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33171 (elf_machine_lazy_rel): Likewise.
33172 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33173 (elf_machine_lazy_rel): Likewise.
33174 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33175 (elf_machine_lazy_rel): Likewise.
33176 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33177 (elf_machine_lazy_rel): Likewise.
33178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33179 (elf_machine_lazy_rel): Likewise.
33180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33181 (elf_machine_lazy_rel): Likewise.
33183 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33185 * nss/nss_files/files-init.c (_nss_files_init): Use static
33186 initialization for all the *_traced_file variables.
33188 2011-09-28 Andreas Schwab <schwab@redhat.com>
33190 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33192 2011-09-27 Roland McGrath <roland@hack.frob.com>
33195 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33197 2011-09-27 Andreas Schwab <schwab@redhat.com>
33199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33200 Reread the line before reparsing it.
33202 2011-09-26 Andreas Schwab <schwab@redhat.com>
33204 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33206 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33207 Maxim Kuvyrkov <maxim@codesourcery.com>
33208 Joseph Myers <joseph@codesourcery.com>
33210 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33211 if needed for __stack_chk_guard.
33213 2011-09-19 Roland McGrath <roland@hack.frob.com>
33215 * sysdeps/posix/spawni.c (script_execute): Always define it.
33216 It will be optimized away if unused.
33217 (maybe_script_execute): New function.
33218 (__spawni): Call it.
33220 * Makerules: Don't include tls.make.
33221 (config-tls): Always set to thread.
33222 * tls.make.c: File removed.
33224 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33226 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33227 * config.make.in (CPPFLAGS-config): New substituted variable.
33229 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33231 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33234 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33235 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33237 2011-09-15 Roland McGrath <roland@hack.frob.com>
33239 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33240 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33242 (CALL_FAIL): Likewise.
33243 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33244 (CALL_FAIL): Macro removed.
33245 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33247 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33249 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33250 for __FINITE_MATH_ONLY__ == 1.
33252 2011-09-15 Andreas Schwab <schwab@redhat.com>
33254 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33255 __ieee754_sqrt instead of sqrt.
33256 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33257 __ieee754_sqrtf instead of sqrtf.
33258 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33259 __floorf instead of floorf.
33260 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33261 __floorf, __truncf instead of floorf, truncf.
33263 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33265 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33267 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33268 __extern_always_inline.
33269 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33272 2011-09-14 Andreas Schwab <schwab@redhat.com>
33274 * elf/rtld.c (dl_main): Also relocate in dependency order when
33275 doing symbol dependency testing.
33277 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33280 Always define `refsym'.
33282 2011-09-13 Andreas Schwab <schwab@redhat.com>
33284 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33285 (__FD_ELT): Renamed from __FDELT.
33286 * misc/bits/select2.h (__FD_ELT): Likewise.
33287 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33288 __FD_MASK instead of __FDELT, __FDMASK.
33289 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33291 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33294 * elf/Makefile (gen-ldd): Fix pattern.
33296 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33297 (init_tls): Likewise.
33299 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33303 2011-09-12 Andreas Schwab <schwab@redhat.com>
33305 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33306 `struct cmsghdr *' instead of `void *'.
33307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33310 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33312 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33314 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33315 ldd_rewrite_script.
33317 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33319 * configure.in: Remove --with-tls option.
33320 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33321 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33322 out in case it is missing.
33323 * sysdeps/ia64/elf/configure.in: Likewise.
33324 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33325 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33326 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33327 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33328 * sysdeps/sh/elf/configure.in: Likewise.
33329 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33330 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33331 * sysdeps/x86_64/elf/configure.in: Likewise.
33332 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33333 * sysdeps/mach/hurd/tls.h: Likewise.
33336 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33339 * configure.in: Fix use of AC_INIT.
33341 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33343 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33345 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33347 * malloc/hooks.c: Likewise.
33350 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33351 variables statically.
33352 (narenas): Initialize.
33353 (list_lock): Initialize.
33354 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33355 initializtion of main_arena and list_lock. Small cleanups.
33356 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33357 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33358 Add initializers to main_arena and mp_.
33359 (malloc_state): Remove pagesize member. Change all users to use
33362 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33363 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33364 is always initialized.
33366 * malloc/malloc.c: Removed unused configurations and dead code.
33367 * malloc/arena.c: Likewise.
33368 * malloc/hooks.c: Likewise.
33369 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33371 * include/tls.h: Removed. USE___THREAD must always be defined.
33372 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33373 * elf/dl-libc.c: Likewise.
33374 * elf/dl-tsd.c: Likewise.
33375 * include/errno.h: Likewise.
33376 * include/netdb.h: Likewise.
33377 * include/resolv.h: Likewise.
33378 * inet/herrno-loc.c: Likewise.
33379 * inet/herrno.c: Likewise.
33380 * malloc/arena.c: Likewise.
33381 * malloc/hooks.c: Likewise.
33382 * malloc/malloc.c: Likewise.
33383 * resolv/res-state.c: Likewise.
33384 * resolv/res_libc.c: Likewise.
33385 * sysdeps/i386/dl-machine.h: Likewise.
33386 * sysdeps/ia64/dl-machine.h: Likewise.
33387 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33388 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33389 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33390 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33391 * sysdeps/sh/dl-machine.h: Likewise.
33392 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33393 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33394 * sysdeps/unix/i386/sysdep.S: Likewise.
33395 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33396 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33399 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33400 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33401 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33405 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33406 * sysdeps/x86_64/dl-machine.h: Likewise.
33407 * tls.make.c: Likewise.
33409 * configure.in: Remove --with-__thread option. Make tests for
33410 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33411 tls_model attribute fail if no support is available. Remove
33413 * Makeconfig: Adjust for dropped configure option. All features are
33415 * Makerules: Likewise.
33416 * Versions.def: Likewise.
33417 * argp/argp-fmtstream.c: Likewise.
33418 * argp/argp-fmtstream.h: Likewise.
33419 * argp/argp-help.c: Likewise.
33420 * assert/assert.c: Likewise.
33421 * config.h.in: Likewise.
33422 * config.make.in: Likewise.
33423 * configure: Likewise.
33424 * configure.in: Likewise.
33425 * csu/Versions: Likewise.
33426 * csu/init.c: Likewise.
33427 * elf/tst-audit2.c: Likewise.
33428 * elf/tst-tls10.c: Likewise.
33429 * elf/tst-tls10.h: Likewise.
33430 * elf/tst-tls11.c: Likewise.
33431 * elf/tst-tls12.c: Likewise.
33432 * elf/tst-tls14.c: Likewise.
33433 * elf/tst-tlsmod11.c: Likewise.
33434 * elf/tst-tlsmod12.c: Likewise.
33435 * elf/tst-tlsmod13.c: Likewise.
33436 * elf/tst-tlsmod13a.c: Likewise.
33437 * elf/tst-tlsmod14a.c: Likewise.
33438 * elf/tst-tlsmod15b.c: Likewise.
33439 * elf/tst-tlsmod16a.c: Likewise.
33440 * elf/tst-tlsmod16b.c: Likewise.
33441 * elf/tst-tlsmod7.c: Likewise.
33442 * elf/tst-tlsmod8.c: Likewise.
33443 * elf/tst-tlsmod9.c: Likewise.
33444 * gmon/gmon.c: Likewise.
33445 * grp/fgetgrent_r.c: Likewise.
33446 * grp/putgrent.c: Likewise.
33447 * hurd/fopenport.c: Likewise.
33448 * include/libc-symbols.h: Likewise.
33449 * include/tls.h: Likewise.
33450 * intl/gettextP.h: Likewise.
33451 * intl/loadinfo.h: Likewise.
33452 * locale/global-locale.c: Likewise.
33453 * locale/localeinfo.h: Likewise.
33454 * mach/devstream.c: Likewise.
33455 * malloc/arena.c: Likewise.
33456 * malloc/set-freeres.c: Likewise.
33457 * misc/err.c: Likewise.
33458 * misc/getttyent.c: Likewise.
33459 * misc/mntent_r.c: Likewise.
33460 * posix/getopt.c: Likewise.
33461 * posix/wordexp.c: Likewise.
33462 * pwd/fgetpwent_r.c: Likewise.
33463 * resolv/Versions: Likewise.
33464 * resolv/res_hconf.c: Likewise.
33465 * shadow/fgetspent_r.c: Likewise.
33466 * shadow/putspent.c: Likewise.
33467 * stdio-common/printf_fphex.c: Likewise.
33468 * stdio-common/tmpfile.c: Likewise.
33469 * stdlib/abort.c: Likewise.
33470 * stdlib/fmtmsg.c: Likewise.
33471 * sunrpc/auth_unix.c: Likewise.
33472 * sunrpc/clnt_perr.c: Likewise.
33473 * sunrpc/clnt_tcp.c: Likewise.
33474 * sunrpc/clnt_udp.c: Likewise.
33475 * sunrpc/clnt_unix.c: Likewise.
33476 * sunrpc/openchild.c: Likewise.
33477 * sunrpc/svc_simple.c: Likewise.
33478 * sunrpc/svc_tcp.c: Likewise.
33479 * sunrpc/svc_udp.c: Likewise.
33480 * sunrpc/svc_unix.c: Likewise.
33481 * sunrpc/xdr.c: Likewise.
33482 * sunrpc/xdr_array.c: Likewise.
33483 * sunrpc/xdr_rec.c: Likewise.
33484 * sunrpc/xdr_ref.c: Likewise.
33485 * sunrpc/xdr_stdio.c: Likewise.
33487 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33489 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33491 2011-07-03 Andreas Jaeger <aj@suse.de>
33493 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33494 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33495 regenerate with gen-libm-tests.pl.
33497 2010-05-12 Petr Baudis <pasky@suse.cz>
33500 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33501 around j0() zero points by switching to j1().
33502 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33503 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33507 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33509 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33511 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33514 Patch in part by Pavel Roskin <proski@gnu.org>.
33517 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33519 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33520 Free memory block if necessary.
33523 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33524 be NULL. Don't lock in this case.
33526 2011-09-09 Roland McGrath <roland@hack.frob.com>
33528 * elf/elf.h (ELFOSABI_GNU): New macro.
33529 (ELFOSABI_LINUX): Define to that.
33531 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33533 * string/strncat.c (strncat): Undef the symbol in case it has been
33534 defined in bits/string.h.
33536 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33538 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33540 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33543 2011-08-17 Andreas Jaeger <aj@suse.de>
33545 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33547 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33548 Ian Lance Taylor <iant@google.com>
33550 * math/libm-test.inc (lround_test): New testcase.
33551 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33553 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33555 * Makefile: Remove support for automatic cvs check-ins.
33556 * Makerules: Likewise.
33557 * config.make.in: Likewise.
33558 * configure.in: Likewise.
33559 * intl/Makefile: Likewise.
33560 * locale/Makefile: Likewise.
33561 * po/Makefile: Likewise.
33562 * posix/Makefile: Likewise.
33563 * sysdeps/gnu/Makefile: Likewise.
33564 * sysdeps/mach/hurd/Makefile: Likewise.
33565 * sysdeps/sparc/sparc32/Makefile: Likewise.
33568 * posix/Makefile (bug-regex32-ENV): Define.
33569 Patch by John Stanley <jpsinthemix@verizon.net>.
33571 * misc/Makefile (headers): Add bits/select2.h.
33572 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33573 * misc/bits/select2.h: New file.
33574 * include/bits/select2.h: New file.
33575 * debug/Makefile (routines): Add fdelt_chk.
33576 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33577 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33579 * debug/fdelt_chk.c: New file.
33581 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33582 * wcsmbs/test-wmemcmp.c: Likewise.
33583 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33584 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33586 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33588 * string/Makefile (strop-tests): Add memcmp.
33589 * string/test-wmemcmp.c: New file.
33590 * string/test-memcmp.c: Add wmemcmp support.
33592 2011-09-08 Roland McGrath <roland@hack.frob.com>
33595 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33598 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33599 garbage value in a __mach_port_mod_refs call in the cases of the
33600 task-self and thread-self ports.
33602 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33604 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33606 2011-09-08 Andreas Schwab <schwab@redhat.com>
33608 * elf/dl-load.c (lose): Check for non-null L.
33610 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33612 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33614 * elf/dl-libc.c (dlerror_run): Pass back error code from
33618 * elf/dl-load.c (lose): Free l_origin if it is valid.
33620 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33622 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33623 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33625 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33626 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33627 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33629 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33631 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33632 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33633 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33634 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33635 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33636 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33637 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33638 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33639 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33640 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33642 2011-08-15 Alan Modra <amodra@gmail.com>
33645 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33646 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33647 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33648 ppc_mcount to static-only-routines.
33649 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33651 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33652 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33654 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33656 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33657 for finite and infinity parameters.
33659 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33661 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33662 and add nop instructions for throughput optimization.
33663 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33665 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33667 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33668 aligned copy for power7 with vector-scalar instructions.
33669 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33671 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33676 2011-09-07 Andreas Schwab <schwab@redhat.com>
33679 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33682 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33684 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33685 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33686 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33687 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33690 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33692 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33693 Forgot to demangle the pointer.
33695 * sysdeps/i386/sysdep.h: Define atom_text_section.
33696 * sysdeps/x86_64/sysdep.h: Likewise.
33697 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33698 section with atom_text_section.
33699 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33700 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33701 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33702 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33703 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33705 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33706 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33707 already be defined. Change to take two parameters and don't assign
33708 result to variable. Adjust all users.
33709 Define INTERNAL_GETTIME if not already defined.
33710 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33713 HAVE_CLOCK_GETTIME_VSYSCALL.
33714 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33716 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33717 gettimeofday vsyscall, just use time.
33719 2011-09-06 Andreas Schwab <schwab@redhat.com>
33721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33724 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33726 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33730 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33731 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33732 syscall if possible.
33734 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33736 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33737 e_ident. Don't pass to find_mapsXX.
33738 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33740 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33743 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33744 * sysdeps/x86_64/multiarch/strchr.S: Update.
33745 Check bit_slow_BSF bit.
33746 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33747 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33748 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33750 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33753 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33755 (tryshell): Define.
33756 (__spawni): Change last parameter to be flag. Test
33757 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33758 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33759 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33760 * posix/spawni.c: Likewise.
33761 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33762 * posix/spawnp.c: Likewise. Change normal version to use
33763 SPAWN_XFLAGS_USE_PATH.
33764 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33765 SPAWN_XFLAGS_TRY_SHELL.
33768 * posix/glob.h: Remove gcc 1.x support.
33771 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33773 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33776 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33778 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33779 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33780 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33781 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33782 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33783 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33785 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33787 * sysdeps/x86_64/wcscmp.S: New file.
33789 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33790 wcscmp-c wcscmp-sse2
33791 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33792 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33793 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33794 * wcsmbs/wcscmp.c: Allow renaming.
33796 2011-09-05 David S. Miller <davem@davemloft.net>
33798 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33799 stack slot, rather than the struct return pointer slot.
33800 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33801 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33803 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33805 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33807 * po/ja.po: Update from translation team.
33810 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33811 kernel in 64-bit binaries.
33813 2011-09-01 David S. Miller <davem@davemloft.net>
33815 * elf/elf.h (HWCAP_SPARC_*): Move to..
33816 * sysdeps/sparc/sysdep.h: this new file and add new values.
33817 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33818 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33819 _DL_HWCAP_COUNT to 24.
33820 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33822 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33823 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33824 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33826 instead of magic constants.
33827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33829 2011-08-31 David S. Miller <davem@davemloft.net>
33831 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33832 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33833 Reimplement to do errno handling inline.
33834 (SYSCALL_ERROR_HANDLER): New macro.
33835 (__SYSCALL_STRING): Do not do errno handling in asm.
33836 (__CLONE_SYSCALL_STRING): Delete.
33837 (__INTERNAL_SYSCALL_STRING): Delete.
33838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33839 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33840 (PSEUDO): Reimplement to do errno handling inline.
33841 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33842 (SYSCALL_ERROR_HANDLER): New macro.
33843 (__SYSCALL_STRING): Do not do errno handling in asm.
33844 (__CLONE_SYSCALL_STRING): Delete.
33845 (__INTERNAL_SYSCALL_STRING): Delete.
33846 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33847 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33849 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33850 (inline_syscall*): Add 'err' argument.
33851 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33852 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33853 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33854 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33856 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33857 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33859 2011-08-30 Andreas Schwab <schwab@redhat.com>
33861 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33863 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33865 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33868 2011-08-24 David S. Miller <davem@davemloft.net>
33870 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33872 2011-08-24 Andreas Schwab <schwab@redhat.com>
33874 * elf/Makefile: Add rules to build and run unload8 test.
33875 * elf/unload8.c: New file.
33876 * elf/unload8mod1.c: New file.
33877 * elf/unload8mod1x.c: New file.
33878 * elf/unload8mod2.c: New file.
33879 * elf/unload8mod3.c: New file.
33881 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33884 2011-08-23 David S. Miller <davem@davemloft.net>
33886 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33887 subtract stack bias.
33888 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33889 %sp not %fp in calculations.
33890 (_JMPBUF_UNWINDS_ADJ): Likewise.
33892 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33893 (aio_suspend): Call it to force an exception region around the
33894 AIO_MISC_WAIT() invocation.
33896 2011-08-23 Andreas Schwab <schwab@redhat.com>
33898 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33901 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33903 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33905 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33906 and <dl-machine.h>.
33907 (Elf64_FuncDesc): Remove.
33909 2011-08-22 David S. Miller <davem@davemloft.net>
33911 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33912 sigaltstack check, add missing cfi directives.
33913 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33914 missing cfi directives, and sigaltstack handling.
33916 2011-08-16 Andreas Schwab <schwab@redhat.com>
33919 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33920 object is seen twice.
33921 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33923 * elf/Makefile (distribute): Add tst-initorder2.c.
33924 (tests): Add tst-initorder2.
33925 (modules-names): Add tst-initorder2a tst-initorder2b
33926 tst-initorder2c tst-initorder2d. Add rules to build them.
33927 ($(objpfx)tst-initorder2.out): New rule.
33928 * elf/tst-initorder2.c: New file.
33929 * elf/tst-initorder2.exp: New file.
33931 2011-08-22 Andreas Schwab <schwab@redhat.com>
33933 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33935 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33936 dependencies back to end of function.
33938 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33939 $(elfobjdir)/ld.so.
33941 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33944 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33945 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33946 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33947 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33948 of __vdso_gettimeofday.
33949 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33950 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33952 (_libc_vdso_platform_setup): Remove initialization of
33953 __vdso_gettimeofday and __vdso_time.
33955 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33957 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33958 and fgetc_unlocked.
33959 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33962 * elf/dl-open.c (add_to_global): Report additions to the global scope
33963 for LD_DEBUG=scopes.
33964 (dl_open_worker): Also print scope of newly loaded dependencies.
33965 (_dl_show_scope): Indicate if there is no scope.
33968 * stdio-common/Makefile (tests): Add bug24.
33969 * stdio-common/bug24.c: New file.
33971 2011-08-19 Andreas Jaeger <aj@suse.de>
33974 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33975 non-existant file when using close-on-exec mode.
33977 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33980 the very first instruction.
33982 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33983 the CFI state in the end.
33984 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33985 inclusion of dl-trampoline.h.
33986 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33988 2011-08-19 Andreas Schwab <schwab@redhat.com>
33990 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33991 expectations for long double.
33993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33994 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33996 2011-08-14 David S. Miller <davem@davemloft.net>
33998 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33999 artificual limit depends upon the system page size.
34001 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34003 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34004 * resolv/Makefile: Define CFLAGS-libresolv.
34006 2011-08-17 Andreas Schwab <schwab@redhat.com>
34008 * nss/makedb.c (compute_tables): Make variables used in nested
34011 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34013 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34014 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34015 if buffer was too small.
34017 * elf/pldd.c (main): Attach to all threads in the process.
34018 Rewrite /proc handling to use *at functions.
34020 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34022 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34023 specifies first scope to show.
34024 (dl_open_worker): Update callers. Move printing scope of new
34025 object to before the relocation.
34026 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34027 * sysdeps/generic/ldsodefs.h: Update declaration.
34029 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34030 string for the scope number.
34032 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34034 * nscd/servicescache.c (cache_addserv): Make sure written is always
34037 2011-08-14 Roland McGrath <roland@hack.frob.com>
34039 * sysdeps/i386/i486/bits/atomic.h
34040 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34041 statement expression, so as to suppress "set but not used" warning.
34042 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34044 * string/strncat.c (STRNCAT): Use prototype definition.
34046 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34047 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34049 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34050 (localedef-modules): Add localedef.
34051 (locale-modules): Add locale.
34053 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34054 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34055 to avoid a warning.
34057 2011-08-14 David S. Miller <davem@davemloft.net>
34059 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34060 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34062 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34064 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34065 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34066 * elf/rtld.c (dl_main): Set l_name of vDSO.
34067 Call _dl_show_scope when DL_DEBUG_SCOPES.
34068 (process_dl_debug): Recognize scopes flag and also set it for all.
34069 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34070 Declare _dl_show_scope.
34072 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34073 (do_dlopen): Pass caller_dlopen to dl_open.
34074 (__libc_dlopen_mode): Initialize caller_dlopen.
34076 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34077 of libc. Make tolower call locale-independent. Optimize a bit by
34078 using isdigit instead of isalnum.
34079 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34081 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34083 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34084 was a dependency or dynamically loaded.
34086 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34088 * intl/l10nflist.c: Allow architecture-specific pop function.
34089 * sysdeps/x86_64/l10nflist.c: New file.
34091 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34094 2011-08-10 Andreas Schwab <schwab@redhat.com>
34096 * include/dirent.h: Add libc_hidden_proto for scandirat and
34097 scandirat64. Don't declare __scandirat64.
34098 * dirent/scandirat.c: Add libc_hidden_def.
34099 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34100 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34102 2011-08-10 David S. Miller <davem@davemloft.net>
34104 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34106 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34108 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34110 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34112 * Versions.def [libc]: Add GLIBC_2.15.
34113 * dirent/Makefile (routines): Add scandirat and scandirat64.
34114 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34116 * dirent/dirent.h: Declare scandirat and scandirat64.
34117 * dirent/scandirat.c: New file.
34118 * dirent/scandirat64.c: New file.
34119 * sysdeps/wordsize-64/scandirat.c: New file.
34120 * sysdeps/wordsize-64/scandirat64.c: New file.
34121 * dirent/opendir.c: Define opendirat.
34122 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34124 * dirent/scandir64.c: Adjust for scandir.c change.
34125 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34126 __scandirat64, and __scandir_cancel_handler.
34127 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34128 additional parameter and use openat instead of open (outside of ld.so).
34129 Add new __opendir as wrapper around __opendirat.
34130 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34131 here without requiring old scandirat implementation.
34133 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34135 * dirent/scandir.c (cancel_handler): Renamed to
34136 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34137 defined. Adjust users.
34138 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34139 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34141 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34143 * string/test-string.h (IMPL): Use __STRING to expand name and then
34146 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34149 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34151 * string/Makefile: Update.
34152 (strop-tests): Append strncat.
34153 * string/test-wcscmp.c: New file.
34154 New comprehensive test for wcscmp.
34155 * string/test-strcmp.c: Update.
34156 (WIDE): New define.
34158 2011-07-22 Andreas Schwab <schwab@redhat.com>
34160 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34163 2011-07-26 Andreas Schwab <schwab@redhat.com>
34165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34166 encoding to ACE if AI_IDN.
34168 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34171 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34173 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34175 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34176 Fix overflow bug in strncat.
34177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34179 * string/test-strncat.c: Update.
34180 Add new tests for checking overflow bugs.
34182 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34185 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34186 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34187 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34188 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34189 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34190 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34191 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34192 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34195 (USE_AS_STRCAT): Define.
34196 Add strcat and strncat support.
34197 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34199 2011-07-25 Andreas Schwab <schwab@redhat.com>
34201 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34202 __n bigger than INT_MAX+1.
34203 (__strncmp_g): Likewise.
34205 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34207 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34208 * libio/stido.h: Likewise.
34210 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34215 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34216 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34217 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34218 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34222 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34227 (_dl_x86_64_save_sse): Likewise.
34229 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34233 (_dl_x86_64_save_sse): Likewise.
34235 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34237 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34239 2011-07-21 Andreas Schwab <schwab@redhat.com>
34241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34243 (_dl_x86_64_save_sse): Use correct AVX check.
34245 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34247 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34248 bug in strncpy/strncat.
34249 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34251 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34253 * string/tester.c (test_strcat): Add tests for different alignments
34254 of source and destination.
34255 (test_strncat): Likewise.
34257 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34260 * posix/glob.c (glob): Check passed in values before using them in
34261 expressions to avoid some overflows.
34262 (glob_in_dir): Likewise.
34265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34266 check for AVX enablement so that we don't crash with old kernels and
34268 * elf/tst-audit4.c: Add same checks here.
34269 * elf/tst-audit6.c: Likewise.
34271 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34273 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34275 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34277 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34279 * po/cs.po: Update from translation team.
34280 * po/bg.po: Likewise.
34282 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34284 * misc/sys/cdefs.h: Add support for const attribute.
34285 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34286 to gnu_dev_{major,minor,makedev} functions.
34288 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34290 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34292 2011-07-20 Andreas Schwab <schwab@redhat.com>
34294 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34297 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34299 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34300 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34301 register in order to avoid conflicts with the soft frame pointer
34302 being held in r11 when necessary.
34303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34304 (INTERNAL_VSYSCALL_NCS): Likewise.
34306 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34308 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34309 * elf/dl-fini.c (_dl_fini): Adjust caller.
34310 * elf/dl-close.c (_dl_close_worker): Likewise.
34311 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34313 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34315 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34316 "aux_cache->nlibs < 0".
34318 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34319 in the reload-count case.
34321 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34324 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34325 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34326 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34327 * sysdeps/x86_64/multiarch/strcat.S: New file.
34328 * sysdeps/x86_64/multiarch/strncat.S: New file.
34329 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34331 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34332 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34333 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34334 (USE_AS_STRCAT): Define.
34335 Add strcat and strncat support.
34336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34337 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34338 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34339 * string/strncat.c: Update.
34340 (USE_AS_STRNCAT): Define.
34341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34342 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34344 * sysdeps/x86_64/multiarch/init-arch.h
34345 (bit_Prefer_PMINUB_for_stringop): New.
34346 (index_Prefer_PMINUB_for_stringop): Likewise.
34347 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34348 bit_Prefer_PMINUB_for_stringop.
34350 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34352 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34354 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34355 of casting of buffer.
34356 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34357 buffer32 and buffer64.
34358 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34359 writes instead of casting of buffer.
34360 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34362 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34365 2011-07-19 Andreas Schwab <schwab@redhat.com>
34367 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34369 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34371 * nscd/nscd.c (termination_handler): Don't do anything for a database
34372 if it has not yet been initialized.
34374 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34376 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34378 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34380 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34382 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34384 * po/nl.po: Update from translation team.
34385 * po/sv.po: Likewise.
34387 2011-07-16 Roland McGrath <roland@hack.frob.com>
34389 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34390 now disallowed by GCC.
34392 * configure.in (use-default-link): Default to yes if a test -shared
34393 link meets our qualifications.
34394 * configure: Regenerated.
34396 * config.make.in (output-format): New variable.
34397 * configure.in: Check for ld --print-output-format support.
34398 * configure: Regenerated.
34399 * Makerules ($(common-objpfx)format.lds)
34400 [$(output-format) != unknown]: Just use $(output-format),
34401 instead of the linker-script munging.
34403 2011-07-14 Roland McGrath <roland@hack.frob.com>
34405 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34406 of $(common-objpfx)shlib.lds.
34407 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34409 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34410 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34412 * configure.in (-z relro check): Adjust test code to add a large
34413 writable data section after it.
34414 * configure: Regenerated.
34416 2011-07-11 Roland McGrath <roland@hack.frob.com>
34418 * configure.in (-z relro check): Fix test code to make the variable
34420 * configure: Regenerated.
34422 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34424 * nscd/nscd.h (struct traced_file): Define.
34425 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34426 elements. Add traced_files.
34427 (inotify_fd): Declare.
34428 (register_traced_file): Declare.
34429 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34430 (inotify_fd): Export.
34431 (resolv_conf_descr): Remove.
34432 (nscd_init): Move inotify descriptor creation to main.
34433 Don't register files for notification here.
34434 (register_traced_file): New function.
34435 (invalidate_cache): Don't use reset_res to determine whether to call
34436 res_init, go through the list of registered files.
34437 (main_loop_poll): The inotify descriptors are now stored in the
34438 structures for the traced files.
34439 (main_loop_epoll): Likewise
34440 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34441 to __nss_disable_nscd.
34442 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34443 for a database anymore. Check the records for all the registered
34445 * nss/Makefile (libnss_files-routines): Add files-init.
34446 (libnss_db-routines): Add db-init.
34447 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34448 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34449 * nss/nss_db/db-init.c: New file.
34450 * nss/nss_files/files-init.c: New file.
34451 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34452 __nss_lookup_function.
34453 (__nss_lookup_function): Call nss_load_library.
34454 (nss_load_all_libraries): New function.
34455 (__nss_disable_nscd): Take parameter with callback function for files
34456 to register. Set is_nscd. Load all the DSOs for the NSS modules
34457 used for the cached services.
34458 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34459 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34460 options for features to all the files in nscd.
34462 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34464 2011-07-10 Roland McGrath <roland@hack.frob.com>
34466 * csu/elf-init.c (__libc_csu_init): Comment typo.
34468 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34470 * po/pl.po: Update from translation team.
34471 * po/ja.po: Likewise.
34472 * po/ru.po: Likewise.
34473 * po/ko.po: Likewise.
34474 * po/fr.po: Likewise.
34476 2011-07-09 Roland McGrath <roland@hack.frob.com>
34478 * configure.in (.ctors/.dtors header and trailer check):
34479 Use an empirical test on a built program.
34480 * configure: Regenerated.
34482 * configure.in (-z relro check): Use an empirical test on a built DSO.
34483 Detect, but do not require, on ia64.
34484 * configure: Regenerated.
34486 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34487 Update tests that use readelf to use $READELF instead.
34488 * configure: Regenerated.
34490 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34492 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34493 if the result is not used.
34495 2011-07-05 Andreas Jaeger <aj@suse.de>
34498 * stdlib/tst-strtod.c: Add testcase.
34500 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34502 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34503 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34504 The latter has a higher limit. Take additional parameter to pass to
34506 (__pathconf): Pass file to __statfs_link_max.
34507 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34509 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34513 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34514 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34516 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34517 (__statfs_filesize_max): Likewise.
34518 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34520 2011-07-05 Andreas Jaeger <aj@suse.de>
34522 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34524 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34526 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34528 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34531 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34533 * Makefile (strop-tests): Add strncat.
34534 * string/test-strncat.c: New file.
34536 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34538 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34540 2011-06-21 Andreas Jaeger <aj@suse.de>
34542 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34543 Copy rule from iconvdata/Makefile.
34545 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34548 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34549 but no long options are defined, just return 'W'.
34551 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34554 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34556 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34558 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34560 (innetgr): Likewise.
34562 2011-07-05 Roland McGrath <roland@hack.frob.com>
34564 * config.make.in (install_root): Default to $(DESTDIR).
34566 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34568 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34570 2011-07-02 Roland McGrath <roland@hack.frob.com>
34572 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34574 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34575 containing directory rather than embedding absolute directory names.
34577 * scripts/check-local-headers.sh: Rewritten using awk.
34578 Match by word, not by line. Print error messages for matches.
34579 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34581 * Makerules [shlib-lds-flags empty]:
34582 ($(common-objpfx)libc_pic.opts): New target.
34583 ($(common-objpfx)libc_pic.os.clean): New target.
34584 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34586 * config.make.in (OBJCOPY): New variable.
34587 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34588 * configure: Regenerated.
34590 * config.make.in (use-default-link): New variable.
34591 * configure.in (use_default_link): Grok --with-default-link to set it.
34592 * configure: Regenerated.
34593 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34594 (shlib-lds, shlib-lds-flags): Define to empty.
34596 * Makerules (shlib-lds): New variable.
34597 (shlib-lds-flags): New variable.
34598 (build-shlib, build-moduile, build-module-asneeded): Use it.
34599 ($(common-objpfx)libc.so): Use $(shlib-lds).
34600 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34601 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34603 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34604 DT_FLAGS/DT_FLAGS_1 with zero flags.
34606 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34607 linker script munging.
34609 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34611 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34613 * crypt/sha512.c (sha512_process_block): Perform total addition using
34614 128-bit if possible.
34615 (__sha512_finish_ctx): Likewise.
34616 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34618 * crypt/sha256.c (SWAP64): Define.
34619 (sha256_process_block): Perform total addition using 64-bit if
34621 (__sha256_finish_ctx): Likewise.
34623 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34625 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34626 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34627 * nscd/hstcache.c (cache_addhst): Likewise.
34628 * nscd/grpcache.c (cache_addgr): Likewise.
34629 * nscd/aicache.c (addhstaiX): Likewise
34630 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34632 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34634 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34635 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34636 * nscd/hstcache.c (cache_addhst): Likewise.
34637 * nscd/grpcache.c (cache_addgr): Likewise.
34638 * nscd/aicache.c (addhstaiX): Likewise
34640 2011-07-01 Andreas Schwab <schwab@redhat.com>
34642 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34643 domain only when needed.
34645 2011-06-30 Andreas Schwab <schwab@redhat.com>
34647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34648 is always restored.
34650 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34652 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34653 are re-adding the entry.
34654 * nscd/servicescache.c (cache_addserv): Likewise.
34656 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34658 * sysdeps/generic/dl-irel.h: fix protection against multiple
34660 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34662 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34665 * malloc/memusage.sh: Fix quoting in message.
34666 * debug/xtrace.sh: Likewise.
34668 * configure.in: Remove support for --experimental-malloc option, make
34670 * config.make.in: Likewise.
34671 * malloc/Makefile: Likewise.
34673 2011-06-27 Andreas Schwab <schwab@redhat.com>
34675 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34676 two-byte characters.
34678 2011-06-27 Roland McGrath <roland@hack.frob.com>
34680 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34681 AC_CACHE_CHECK invocation.
34682 * configure: Regenerated.
34684 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34686 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34689 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34690 bit from old_res_options.
34692 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34694 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34695 value type for setfct.
34697 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34700 __gettimeofday instead of gettimeofday.
34702 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34704 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34706 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34708 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34710 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34713 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34716 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34717 strcpy-sse2-unaligned strncpy-sse2-unaligned
34718 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34719 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34720 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34721 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34722 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34723 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34725 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34726 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34727 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34728 (STRCPY): Support SSE2 and SSSE3 versions.
34730 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34733 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34734 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34735 kernels which artificially limit size of requests.
34737 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34740 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34741 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34742 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34743 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34744 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34745 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34746 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34748 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34749 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34750 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34751 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34752 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34753 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34755 Enable unaligned load optimization for Intel Core i3, i5 and i7
34757 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34759 (index_Fast_Unaligned_Load): Define.
34760 (HAS_FAST_UNALIGNED_LOAD): Define.
34762 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34764 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34766 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34769 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34770 until it is clear that the information is realy needed.
34771 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34773 2011-06-22 Andreas Schwab <schwab@redhat.com>
34775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34777 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34779 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34780 /sys/devices/system/cpu/online if it is usable.
34782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34783 reading the information from the /proc filesystem to once a second.
34785 2011-06-21 Andreas Jaeger <aj@suse.de>
34787 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34788 NULL after inclusion of kernel headers.
34790 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34792 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34793 calls to internal_setent.
34796 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34797 addresses using gethostbyname4_r ignore IPv4 addresses.
34799 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34800 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34802 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34804 2011-06-20 David S. Miller <davem@davemloft.net>
34806 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34808 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34810 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34811 (elf_irel): Use it.
34812 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34813 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34814 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34815 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34816 * sysdeps/x86_64/dl-irel.h: Likewise.
34818 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34819 * elf/dl-sym.c: Likewise.
34821 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34823 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34824 need to dereference resplen2.
34826 2011-06-14 Andreas Schwab <schwab@redhat.com>
34828 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34830 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34832 * Makeconfig: Define vardbdir and inst_vardbdir.
34833 * nss/Makefile: Add rules to install db-Makefile.
34835 * nss/nss_db/db-XXX.c: Cleanup.
34837 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34838 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34840 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34841 * nss/makedb.c: Implement -g option to specify that value strings
34842 are generated and should not be added to table iterated over for
34844 * nss/nss_db/db-initgroups.c: New file.
34846 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34849 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34850 (internal_getgrouplist): Adjust to name change.
34851 Update use_initgroups_entry if this is not the first call.
34852 * nss/databases.def: Add initgroups entry.
34854 * nss/makedb.c (compute_tables): Check result of multiple hash table
34855 sizes to minimize maximum chain length.
34857 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34859 * Versions.def: Add entry for libnss_db.
34860 * shlib-versions: Likewise.
34861 * nss/Makefile: Add rules to build libnss_db.
34862 * nss/Versions: Add libnss_db information. Organize libnss_files
34864 * nss/db-Makefile: Add gshadow support. Change rules for the new
34865 makedb progra. Some minor improvements to generate smaller files.
34866 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34868 * nss/makedb.c: ...here.
34869 Improve database format to be smaller and require less memory at
34871 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34873 * nss/nss_db/db-netgrp.c: Likewise.
34874 * nss/nss_db/db-open.c: Likewise.
34875 * nss/nss_files/flies-XXX.x: Adjust comments.
34876 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34877 * nss/nss_files/files-grp.c: Likewise.
34878 * nss/nss_files/files-hosts.c: Likewise.
34879 * nss/nss_files/files-network.c: Likewise.
34880 * nss/nss_files/files-proto.c: Likewise.
34881 * nss/nss_files/files-pwd.c: Likewise.
34882 * nss/nss_files/files-rpc.c: Likewise.
34883 * nss/nss_files/files-service.c: Likewise.
34884 * nss/nss_files/files-sgrp.c: Likewise.
34885 * nss/nss_files/files-spwd.c: Likewise.
34886 * nss/nss_db/db-alias.c: Removed.
34887 * nss/nss_db/dummy-db.h: Removed.
34889 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34891 * nss/makedb.c: Rewritten to not use database library.
34892 * nss/Makefile: Update to build new makedb program.
34894 2011-06-14 Andreas Jaeger <aj@suse.de>
34896 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34897 memset declaration.
34899 2011-06-10 Andreas Schwab <schwab@redhat.com>
34901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34904 2011-06-10 Roland McGrath <roland@hack.frob.com>
34906 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34907 * elf/Makefile ($(objpfx)ld.so): Likewise.
34909 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34910 Don't list ld.so twice in dependencies.
34912 * posix/bug-regex31.c: Include <stdlib.h>.
34914 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34916 * nis/nss_compat/compat-spwd.c
34917 (getspent_next_nss_netgr): Remove unused variable.
34918 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34920 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34921 nonmembers" output to use the right array.
34923 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34925 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34927 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34928 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34929 * catgets/gencat.c (read_input_file): Likewise.
34930 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34932 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34933 variable definition inside #if's controlling its use.
34935 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34937 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34939 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34941 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34944 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34946 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34947 * configure: Regenerated.
34949 * Makerules: Revert last change.
34950 * elf/Makefile: Likewise.
34952 2011-06-09 Roland McGrath <roland@hack.frob.com>
34954 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34955 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34956 (reloc-link): Likewise.
34958 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34960 * elf/Makefile: Add rules to build pldd.
34961 * elf/pldd.c: New file.
34962 * elf/pldd-xx.c: New file.
34964 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34966 * version.h: Update for 2.15 development version.
34968 2011-06-07 David S. Miller <davem@davemloft.net>
34970 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34973 elf_machine_lazy_rel): Likewise.
34974 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34975 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34976 elf_machine_lazy_rel): Likewise.
34977 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34978 dl_hwcap via passed in argument.
34979 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34982 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34984 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34986 2011-06-06 Roland McGrath <roland@hack.frob.com>
34989 * manual/fdl-1.1.texi: New file, verbatim from:
34990 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34991 * manual/lgpl-2.1.texi: New file, verbatim from:
34992 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34993 * manual/Makefile (licenses): New variable, list those new file names.
34995 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34997 * manual/fdl.texi: File removed.
34998 * manual/lesser.texi: File removed.
34999 * manual/libc.texinfo (Copying, Documentation License):
35000 Use new @include file names, put @appendix directive before @include.
35002 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35005 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35006 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35007 (mq_open): Add __NTH.
35009 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35012 Assume Intel Core i3/i5/i7 processor if AVX is available.
35014 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35019 2011-05-31 Andreas Schwab <schwab@redhat.com>
35021 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35022 memory. Use alloca_account. Fix memory leak when retrying.
35024 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35026 * version.h (RELEASE): Bump for 2.14 release.
35027 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35029 * config.make.in (RANLIB): Remove entry.
35031 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35033 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35034 (libc.pot): Work around missing support for .ksh extension in xgettext.
35037 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35038 if both request failed.
35039 (send_dg): In case of server errors clear resplen or *resplen2.
35042 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35043 when there are multiple maps.
35044 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35045 (_dl_fini): Remove test here.
35047 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35049 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35052 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35053 bit from old_res_options.
35054 (gaih_inet): Likewise.
35057 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35060 * resolv/res_init.c (res_setoptions): Make the code more compact.
35063 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35067 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35069 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35072 * malloc/malloc.h: Declare malloc hook variables as volatile.
35074 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35078 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35079 raise in the comment.
35080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35082 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35084 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35087 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35088 grow the buffers more if it already has to be sufficient.
35089 (build_wcs_upper_buffer): Likewise.
35090 * posix/regexec.c (check_matching): Likewise.
35091 (clean_state_log_if_needed): Likewise.
35092 (extend_buffers): Don't enlarge buffers beyond size of the input
35094 Patches mostly by Emil Wojak <emil@wojak.eu>.
35095 * posix/bug-regex32.c: New file.
35096 * posix/Makefile (tests): Add bug-regex32.
35098 * locale/findlocale.c (_nl_find_locale): Return right away if
35099 _nl_explode_name failed.
35100 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35102 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35104 * debug/xtrace.sh: Unify messages.
35105 * malloc/memusage.sh: Likewise.
35108 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35109 time symbol from vDSO. Substitute with vsyscall if not available.
35110 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35113 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35114 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35115 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35116 Add sendmmsg and internal_sendmmsg.
35117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35118 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35119 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35121 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35122 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35125 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35128 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35129 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35131 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35135 * iconvdata/Makefile (tests): Add bug-iconv9.
35136 * iconvdata/bug-iconv9.c: New file.
35138 2011-05-27 Andreas Schwab <schwab@redhat.com>
35141 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35143 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35146 (struct user_regs_struct): Change intcs field back to cs.
35148 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35150 * po/ja.po: Update from translation team.
35152 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35155 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35156 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35158 2011-05-20 Andreas Schwab <schwab@redhat.com>
35160 * stdlib/longlong.h: Update from GCC.
35162 2011-05-23 Andreas Schwab <schwab@redhat.com>
35164 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35166 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35167 Add parameter name.
35168 (__sysconf): Pass it down.
35170 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35173 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35175 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35176 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35177 add in in __libc_use_alloca calls. Adjust callers.
35178 (glob): Use malloc in some situations.
35180 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35181 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35184 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35186 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35187 and CLOCK_BOOTTIME_ALARM.
35190 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35193 * string/_strerror.c (__strerror_r): Print negative errors as signed
35197 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35198 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35199 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35201 * configure.in: Fix typo in redirection and correct removal of test
35202 files in two cases.
35205 * locale/setlocale.c (new_composite_name): Fix test to check for
35206 identical name of all categories.
35209 * libio/filedoalloc.c (local_isatty): New function.
35210 (_IO_file_doallocate): Use local_isatty.
35211 * stdio-common/perror.c (perror): In case a new stream is used
35212 forward the stream error.
35213 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35216 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35221 * include/alloca.h (extend_alloca_account): Define.
35224 * posix/regex.h: Fix comments with documentation of user-accessible
35225 fields after compilation and describe correct free'ing of pattern
35226 after re_compile_pattern.
35227 Patch by Reuben Thomas <rrt@sc3d.org>.
35229 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35231 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35232 and -mno-altivec to prevent the compiler from using Altivec and/or
35233 VSX instructions when the corresponding registers are not available.
35235 2011-05-19 Andreas Schwab <schwab@redhat.com>
35237 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35239 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35241 * libio/freopen.c (freopen): Use __dup2, not dup2.
35242 * libio/freopen64.c (freopen64): Likewise.
35244 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35247 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35248 * math/Makefile (tests): Add test-powl.
35249 (CFLAGS-test-powl.c): Define.
35250 * math/test-powl.c: New file.
35252 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35254 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35256 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35259 * iconvdata/gb18030.c: Update to GB18020-2005.
35261 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35263 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35264 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35265 Patch by Aharon Robbins <arnold@skeeve.com>.
35268 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35272 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35273 through underflows.
35276 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35277 point to strings before performing equality test for error_one_per_line
35281 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35285 (struct user_fpregs_struct): Avoid __uint*_t types.
35288 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35289 symbol info. Use it instead of calling _dl_addr locally.
35290 (lock_and_info): New function.
35291 (tr_freehook): Call lock_and_info and pass symbol info as additional
35292 parameter to tr_where.
35293 (tr_mallochook): Likewise.
35294 (tr_reallochook): Likewise.
35295 (tr_memalignhook): Likewise.
35297 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35298 used and couldn't be at all thread-safe.
35300 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35302 * libio/freopen.c (freopen): Don't close old file descriptor
35303 before the new one is opened. Instead dup the new file descriptor
35304 to the old one after the new stream is created.
35305 * libio/freopen64.c (freopen64): Likewise.
35306 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35307 * libio/fileops.c (_IO_new_file_close_it): Handle new
35308 _IO_FLAGS2_NOCLOSE flag.
35309 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35310 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35311 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35312 _IO_FLAGS2_NOCLOSE flag.
35313 * include/unistd.h: Add hidden_proto for dup3.
35314 Define __have_dup3.
35315 * io/dup3.c: Define hidden symbol.
35316 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35319 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35320 when an incomplete long option is used.
35321 * posix/tst-getopt_long1.c: New file.
35322 * posix/Makefile (tests): Add tst-getopt_long1.
35325 * scripts/config.guess: Update from autoconf-2.68.
35326 * scripts/config.sub: Likewise.
35329 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35331 (has_cpuclock): ...this. New function.
35332 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35333 macro here based on has_cpuclock code.
35336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35337 First byte (not low byte) is now always NUL.
35338 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35340 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35341 Use non-cancelable interfaces.
35344 * locale/iso-639.def: Add entry for Sorani.
35347 * include/stdlib.h: Move include protection to the right place.
35348 Define abort_msg_s. Declare __abort_msg with it.
35349 * stdlib/abort.c (__abort_msg): Adjust type.
35350 * assert/assert.c (__assert_fail_base): New function. Majority
35351 of code from __assert_fail. Allocate memory for __abort_msg with
35353 (__assert_fail): Now call __assert_fail_base.
35354 * assert/assert-perr.c: Remove bulk of implementation. Use
35355 __assert_fail_base.
35356 * include/assert.hL Declare __assert_fail_base.
35357 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35359 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35361 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35365 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35366 until all modules are registered in the DTV.
35367 * elf/Makefile: Add rules to build and run tst-tls19.
35368 * elf/tst-tls19.c: New file.
35369 * elf/tst-tls19mod1.c: New file.
35370 * elf/tst-tls19mod2.c: New file.
35371 * elf/tst-tls19mod3.c: New file.
35372 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35375 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35379 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35380 two-byte sequence errors.
35381 * iconvdata/Makefile (tests): Add bug-iconv8.
35382 * iconvdata/bug-iconv8.c: New file.
35385 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35388 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35391 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35392 (dummy_getcfa): New function.
35393 (init): Get _Unwind_GetCFA address, use dummy if not found.
35394 (backtrace_helper): In recursion check, also check whether CFA changes.
35395 (__backtrace): Completely initialize arg.
35397 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35398 storing incomplete byte sequence in state object. Avoid testing for
35399 guaranteed too small input if we know there is enough data available.
35401 2011-05-11 Andreas Schwab <schwab@redhat.com>
35403 * Makeconfig (+link-pie): Indent.
35404 * Rules (binaries-pie): Define if $(have-fpie) and
35406 (binaries-shared): Also filter out $(binaries-pie).
35407 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35408 * nscd/Makefile (others-pie): Add nscd.
35409 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35410 ($(objpfx)nscd): Remove command override.
35411 * login/Makefile (others-pie): Add pt_chown.
35412 ($(objpfx)pt_chown): Remove command override.
35413 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35414 remove command overrides.
35416 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35418 * libio/tst_putwc.c: Fix error messages.
35421 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35422 currently writing and seek to current position when not.
35423 * libio/Makefile (tests): Add bug-fclose1.
35424 * libio/bug-fclose1.c: New file.
35426 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35429 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35430 don't set DF_1_NODELETE here.
35431 (do_lookup_x): When entering new entry test for copy relocation
35432 and if necessary set DF_1_NODELETE flag.
35433 * elf/tst-unique4.cc: New file.
35434 * elf/tst-unique4.h: New file.
35435 * elf/tst-unique4lib.cc: New file.
35436 * elf/Makefile: Add rules to build and run tst-unique4.
35437 Patch by Piotr Bury <pbury@goahead.com>.
35439 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35442 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35445 * misc/mntent_r.c (addmntent): Flush the stream after the output
35448 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35449 (is_trusted_path_normalize): Skip initial colon. Append slash
35450 to empty buffer. Duplicate is_trusted_path code but allow
35451 constructed patch to be prefix.
35452 (is_dst): Allow $ORIGIN followed by /.
35453 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35454 Correct testing of result of is_trusted_path_normalize
35455 (decompose_rpath): Fix warning.
35457 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35460 * grp/initgroups.c (internal_getgrouplist): When we found the service
35461 list through the initgroups entry in nsswitch.conf do not always
35462 continue on a successful lookup. Don't always use the
35463 __nss_group_database value if it is set.
35464 * nss/nsswitch.conf (initgroups): Change action for successful db
35465 lookup to continue for compatibility.
35467 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35470 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35472 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35474 * iconvdata/tst-tables.sh: Likewise.
35475 * iconvdata/cp770.c: New file.
35476 * iconvdata/cp771.c: New file.
35477 * iconvdata/cp772.c: New file.
35478 * iconvdata/cp773.c: New file.
35479 * iconvdata/cp774.c: New file.
35480 * iconvdata/testdata/CP770: New file.
35481 * iconvdata/testdata/CP770..UTF8: New file.
35482 * iconvdata/testdata/CP771: New file.
35483 * iconvdata/testdata/CP771..UTF8: New file.
35484 * iconvdata/testdata/CP772: New file.
35485 * iconvdata/testdata/CP772..UTF8: New file.
35486 * iconvdata/testdata/CP773: New file.
35487 * iconvdata/testdata/CP773..UTF8: New file.
35488 * iconvdata/testdata/CP774: New file.
35489 * iconvdata/testdata/CP774..UTF8: New file.
35491 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35493 * iconvdata/gen-8bit-gap.sh: Likewise.
35494 * iconvdata/gen-8bit.sh: Likewise.
35496 * locale/iso-639.def: Add ary entry.
35499 * locale/C-translit.h.in: Add U20A1 transliteration.
35502 * locale/iso-639.def: Add wae entry.
35503 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35506 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35510 * locale/C-translit.h.in: Add entry for U20B9.
35511 Patch by pravin.d.s@gmail.com.
35513 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35516 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35517 ENAMETOOLONG use generic getcwd.
35518 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35519 in rtld. Use *stat64.
35520 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35521 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35522 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35523 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35524 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35525 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35526 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35527 __fstatat64 macros.
35528 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35529 * dirent/rewinddir.c: Add libc_hidden_def.
35530 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35531 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35533 * include/dirent.h (__alloc_dir): Add flags parameter.
35534 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35535 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35537 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35538 from fdopendir if O_CLOEXEC is already set.
35540 2011-03-15 Alan Modra <amodra@gmail.com>
35542 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35543 l_tls_firstbyte_offset non-zero. Save padding offset in
35544 l_tls_firstbyte_offset for later use.
35545 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35546 freeing static tls block.
35548 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35550 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35551 where #ifdef was intended. The intent is to prevent ARG_MAX from
35552 being defined by the kernel headers.
35554 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35557 * resolv/resolv.h: Define RES_NOTLDQUERY.
35558 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35559 no-tld-query and set RES_NOTLDQUERY.
35560 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35561 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35562 modern BIND to search name as TLD unless forbidden.
35564 2011-05-07 Petr Baudis <pasky@suse.cz>
35565 Ulrich Drepper <drepper@gmail.com>
35568 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35569 (is_trusted_path): ...to here.
35570 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35571 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35572 using is_trusted_path_normalize() in setuid scripts.
35574 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35576 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35577 __BEGIN/__END_DECLS.
35579 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35581 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35582 NSS_STATUS_NOTFOUND if no record was found.
35584 2011-05-05 Andreas Schwab <schwab@redhat.com>
35586 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35587 (headers-not-in-tirpc): Remove rpc/netdb.h
35588 * resolv/netdb.h: Revert last change.
35590 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35592 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35593 circular dependency between libgcc.a and libc.a.
35595 2011-05-05 Andreas Schwab <schwab@redhat.com>
35597 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35598 * nis/Makefile: Don't install rpcsvc/*.
35599 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35600 instead of <rpc/types.h>.
35601 (MAXHOSTNAMELEN): Define.
35603 2011-05-03 Andreas Schwab <schwab@redhat.com>
35605 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35607 2011-04-28 Maciej Babinski <mbabinski@google.com>
35610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35611 gethostbyname4_r when IPv6 results are possible.
35613 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35616 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35617 _PC_PIPE_BUF handling.
35619 2011-04-30 Bruno Haible <bruno@clisp.org>
35622 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35623 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35625 * inet/getnameinfo.c (getnameinfo): Likewise.
35627 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35629 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35630 to groups setting in database lookup.
35631 * nss/nsswitch.conf: Add initgroups entry.
35633 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35636 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35638 Patch by Eric Blake <eblake@redhat.com>.
35640 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35642 * sunrpc/Makefile (need-export-routines): Add svc_run.
35643 (routines): Remove svc_run.
35644 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35645 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35646 * sunrpc/svc_run.c (svc_run): Likewise.
35647 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35649 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35652 problem in reallocation in last patch.
35654 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35656 * sunrpc/Makefile: Move inclusion of Rules.
35658 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35660 * nss/nss_files/files-initgroups.c: New file.
35661 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35662 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35663 _nss_files_initgroups_dyn.
35665 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35667 * elf/elf.h (R_ARM_IRELATIVE): Define.
35669 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35671 * po/ru.po: Update from translation team.
35673 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35675 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35678 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35681 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35682 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35683 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35684 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35685 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35687 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35689 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35691 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35692 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35695 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35698 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35700 * stdlib/bug-getcontext.c: New file.
35701 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35703 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35705 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35706 instructions into .machine "z9-109".
35707 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35708 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35710 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35712 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35713 between environment variables and auxiliary vector.
35715 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35717 * Makefile: Add rules to build linkobj/libc.so.
35718 * include/libc-symbols.h: Define libc_hidden_nolink.
35719 * include/rpc/auth.h: Mark functions which are to be hidden.
35720 * include/rpc/auth_des.h: Likewise.
35721 * include/rpc/auth_unix.h: Likewise.
35722 * include/rpc/clnt.h: Likewise.
35723 * include/rpc/des_crypt.h: Likewise.
35724 * include/rpc/key_prot.h: Likewise.
35725 * include/rpc/pmap_clnt.h: Likewise.
35726 * include/rpc/pmap_prot.h: Likewise.
35727 * include/rpc/pmap_rmt.h: Likewise.
35728 * include/rpc/rpc_msg.h: Likewise.
35729 * include/rpc/svc.h: Likewise.
35730 * include/rpc/svc_auth.h: Likewise.
35731 * include/rpc/xdr.h: Likewise.
35732 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35733 * nss/Makefile: Likewise.
35734 * sunrpc/Makefile: Don't install headers. Build library with normal
35735 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35736 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35737 for the compat linking library. Remove use of INTDEF/INTUSE.
35738 * sunrpc/auth_none.c: Likewise.
35739 * sunrpc/auth_unix.c: Likewise.
35740 * sunrpc/authdes_prot.c: Likewise.
35741 * sunrpc/authuxprot.c: Likewise.
35742 * sunrpc/clnt_gen.c: Likewise.
35743 * sunrpc/clnt_perr.c: Likewise.
35744 * sunrpc/clnt_raw.c: Likewise.
35745 * sunrpc/clnt_simp.c: Likewise.
35746 * sunrpc/clnt_tcp.c: Likewise.
35747 * sunrpc/clnt_udp.c: Likewise.
35748 * sunrpc/clnt_unix.c: Likewise.
35749 * sunrpc/des_crypt.c: Likewise.
35750 * sunrpc/des_soft.c: Likewise.
35751 * sunrpc/get_myaddr.c: Likewise.
35752 * sunrpc/key_call.c: Likewise.
35753 * sunrpc/key_prot.c: Likewise.
35754 * sunrpc/netname.c: Likewise.
35755 * sunrpc/pm_getmaps.c: Likewise.
35756 * sunrpc/pm_getport.c: Likewise.
35757 * sunrpc/pmap_clnt.c: Likewise.
35758 * sunrpc/pmap_prot.c: Likewise.
35759 * sunrpc/pmap_prot2.c: Likewise.
35760 * sunrpc/pmap_rmt.c: Likewise.
35761 * sunrpc/publickey.c: Likewise.
35762 * sunrpc/rpc_cmsg.c: Likewise.
35763 * sunrpc/rpc_common.c: Likewise.
35764 * sunrpc/rpc_dtable.c: Likewise.
35765 * sunrpc/rpc_prot.c: Likewise.
35766 * sunrpc/rpc_thread.c: Likewise.
35767 * sunrpc/rtime.c: Likewise.
35768 * sunrpc/svc.c: Likewise.
35769 * sunrpc/svc_auth.c: Likewise.
35770 * sunrpc/svc_authux.c: Likewise.
35771 * sunrpc/svc_raw.c: Likewise.
35772 * sunrpc/svc_run.c: Likewise.
35773 * sunrpc/svc_simple.c: Likewise.
35774 * sunrpc/svc_tcp.c: Likewise.
35775 * sunrpc/svc_udp.c: Likewise.
35776 * sunrpc/svc_unix.c: Likewise.
35777 * sunrpc/svcauth_des.c: Likewise.
35778 * sunrpc/xcrypt.c: Likewise.
35779 * sunrpc/xdr.c: Likewise.
35780 * sunrpc/xdr_array.c: Likewise.
35781 * sunrpc/xdr_float.c: Likewise.
35782 * sunrpc/xdr_intXX_t.c: Likewise.
35783 * sunrpc/xdr_mem.c: Likewise.
35784 * sunrpc/xdr_rec.c: Likewise.
35785 * sunrpc/xdr_ref.c: Likewise.
35786 * sunrpc/xdr_sizeof.c: Likewise.
35787 * sunrpc/xdr_stdio.c: Likewise.
35789 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35792 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35793 * sysdeps/ia64/dl-tls.h: Likewise.
35794 * sysdeps/powerpc/dl-tls.h: Likewise.
35795 * sysdeps/s390/dl-tls.h: Likewise.
35796 * sysdeps/sh/dl-tls.h: Likewise.
35797 * sysdeps/sparc/dl-tls.h: Likewise.
35798 * sysdeps/x86_64/dl-tls.h: Likewise.
35799 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35801 2011-03-14 Andreas Schwab <schwab@redhat.com>
35803 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35804 rpath element also skip the following colon.
35805 (expand_dynamic_string_token): Add is_path parameter and pass
35806 down to DL_DST_REQUIRED and _dl_dst_substitute.
35807 (decompose_rpath): Call expand_dynamic_string_token with
35808 non-zero is_path. Ignore empty rpaths.
35809 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35812 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35817 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35820 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35821 Patch by Filipe David Manana <fdmanana@apache.org>.
35823 2011-04-07 Andreas Schwab <schwab@redhat.com>
35825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35826 Maintain aligned stack.
35827 (CHECK_RSP): Remove unused macro.
35829 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35831 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35832 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35834 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35836 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35838 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35840 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35843 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35844 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35845 * sysdeps/x86_64/memmove.c: New file.
35846 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35847 (memcpy): Renamed to ...
35848 (__new_memcpy): This.
35849 (memcpy): Provide GLIBC_2_14 memcpy.
35850 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35851 (memcpy): Provide GLIBC_2_2_5 memcpy.
35853 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35856 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35858 2011-03-30 Andreas Schwab <schwab@redhat.com>
35860 * misc/syncfs.c: New file.
35861 * misc/Makefile (routines): Add syncfs.
35862 * posix/unistd.h: Declare syncfs.
35863 * sysdeps/unix/syscalls.list: Add syncfs.
35865 2011-04-01 Andreas Schwab <schwab@redhat.com>
35867 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35870 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35872 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35874 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35877 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35879 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35880 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35881 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35887 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35888 sync_file_range.c with -fexceptions.
35889 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35890 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35891 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35892 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35893 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35894 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35895 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35896 sync_file_range as cancellation point
35897 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35898 now a wrapper around __call_sync_file_range with cancellation handling.
35899 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35900 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35901 function name to __call_sync_file_range.
35902 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35903 Add call_sync_file_range.
35905 2011-04-01 Andreas Schwab <schwab@redhat.com>
35907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35910 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35912 * iconv/iconv.h: Fix typo in comment.
35913 * io/fcntl.h: Likewise.
35914 * libio/stdio.h: Likewise.
35915 * posix/spawn.h: Likewise.
35916 * posix/unistd.h: Likewise.
35917 * stdlib/stdlib.h: Likewise.
35918 * time/time.h: Likewise.
35919 * wcsmbs/wchar.h: Likewise.
35921 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35922 open_by_handle): Add.
35923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35924 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35925 Augment a few comments.
35926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35928 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35929 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35931 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35934 * io/fcntl.h (AT_EMPTY_PATH): Define.
35936 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35938 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35939 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35940 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35942 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35943 * Versions.def: Add GLIBC_2.14.
35944 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35947 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35949 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35951 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35953 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35956 * string/test-strncmp.c (do_page_test): New function.
35957 (check2): Likewise.
35958 (test_main): Call check2.
35959 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35961 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35964 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35965 Handle cache information in CPU leaf 4.
35966 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35968 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35971 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35972 character representation.
35973 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35975 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35977 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35978 END(__isnan) to END(__isnanf) to match function entry point/label
35979 EALIGN(__isnanf,...).
35981 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35983 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35985 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35988 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35989 copy from the symbol referenced in the relocation to initialize the
35991 Patch by Piotr Bury <pbury@goahead.com>.
35992 * elf/Makefile: Add rules to build and tst-unique3.
35993 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35994 * elf/tst-unique3.cc: New file.
35995 * elf/tst-unique3.h: New file.
35996 * elf/tst-unique3lib.cc: New file.
35997 * elf/tst-unique3lib2.cc: New file.
35999 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36001 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36003 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36004 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36007 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36009 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36010 to-be-loaded object along a path to loader is ld.so.
36012 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36013 Ulrich Drepper <drepper@gmail.com>
36015 * sysdeps/x86_64/memset.S: After aligning destination, code
36016 branches to different locations depending on the value of
36017 misalignment, when multiarch is enabled. Fix this.
36019 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36021 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36022 Set _x86_64_preferred_memory_instruction for AMD processsors.
36023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36024 Set bit_Prefer_SSE_for_memop for AMD processors.
36026 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36028 * libio/fmemopen.c (fmemopen): Optimize a bit.
36030 2011-03-03 Andreas Schwab <schwab@redhat.com>
36032 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36034 2011-03-03 Roland McGrath <roland@redhat.com>
36036 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36038 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36040 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36041 __bzero_ultra1 instead of __memset_ultra1.
36043 2011-02-23 Andreas Schwab <schwab@redhat.com>
36044 Ulrich Drepper <drepper@gmail.com>
36047 * include/link.h (struct link_map): Add l_orig_initfini.
36048 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36049 returning unsuccessfully.
36050 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36051 close of a file loaded at startup, restore the original l_initfini
36053 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36054 list, store the pointer.
36055 * elf/Makefile ($(objpfx)noload-mem): New rule.
36056 (noload-ENV): Define.
36057 (tests): Add $(objpfx)noload-mem.
36058 * elf/noload.c: Include <memcheck.h>.
36059 (main): Call mtrace. Close all opened handles.
36061 2011-02-17 Andreas Schwab <schwab@redhat.com>
36064 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36065 dependencies are missing.
36067 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36069 Fix __if_freereq crash: Unlike the generic version which uses free,
36071 * sysdeps/mach/hurd/ifreq.h: New file.
36073 2011-01-27 Petr Baudis <pasky@suse.cz>
36074 Ulrich Drepper <drepper@gmail.com>
36077 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36078 to extend_alloca().
36079 * stdio-common/bug23.c: New file.
36080 * stdio-common/Makefile (tests): Add bug23.
36082 2010-09-28 Andreas Schwab <schwab@redhat.com>
36083 Ulrich Drepper <drepper@gmail.com>
36086 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36087 before performing relro protection. At old place add assertion
36088 to make sure nothing changed.
36090 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36091 Glauber de Oliveira Costa <glommer@gmail.com>
36093 * elf/elf.h: Add new ARM TLS relocs.
36095 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36098 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36100 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36102 * sysdeps/wordsize-64/tst-writev.c: New file.
36104 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36106 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36107 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36108 insns in _dl_start to prevent a TOC reference before relocs are
36111 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36114 * Makeconfig: Remove RANLIB definition.
36115 * Makerules: Don't use RANLIB.
36116 * aclocal.m4: Remove ranlib test.
36117 * configure.in: No need to check for ranlib.
36118 * elf/rtld-Rules: Don't use RANLIB.
36120 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36122 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36124 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36125 inclusion protection macro.
36127 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36128 SIGRTMIN and SIGRTMAX and print information in that case only when
36129 SIGRTMIN is defined.
36131 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36133 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36134 arginfo fn returning -1.
36136 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36137 and thousands string is zero terminated.
36139 2011-02-03 Andreas Schwab <schwab@redhat.com>
36141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36142 sysdeps/unix/sysv/linux/bits/socket.h.
36144 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36146 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36147 (__CPU_COUNT): Remove old macros.
36148 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36149 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36150 (__CPU_ALLOC, __CPU_FREE): Add macros.
36151 (__sched_cpualloc, __sched_cpufree): Add declarations.
36153 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36155 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36156 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36157 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36158 (readdhstai): Return value of addhstaiX call.
36159 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36160 (addgrbyX): Return value returned by cache_addgr.
36161 (readdgrbyname): Return value returned by addgrbyX.
36162 (readdgrbygid): Likewise.
36163 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36164 (addpwbyX): Return value returned by cache_addpw.
36165 (readdpwbyname): Return value returned by addhstbyX.
36166 (readdpwbyuid): Likewise.
36167 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36168 (addservbyX): Return value returned by cache_addserv.
36169 (readdservbyname): Return value returned by addservbyX:
36170 (readdservbyport): Likewise.
36171 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36172 (addhstbyX): Return value returned by cache_addhst.
36173 (readdhstbyname): Return value returned by addhstbyX.
36174 (readdhstbyaddr): Likewise.
36175 (readdhstbynamev6): Likewise.
36176 (readdhstbyaddrv6): Likewise.
36177 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36178 (readdinitgroups): Return value returned by addinitgroupsX.
36179 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36180 (prune_cache): Keep track of timeout value of re-added entries.
36181 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36182 * nscd/nscd.h: Adjust prototypes of readd* functions.
36184 2011-02-04 Roland McGrath <roland@redhat.com>
36186 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36187 (nis_stats): Likewise.
36188 * nis/nis_modify.c (nis_modify): Likewise.
36189 * nis/nis_remove.c (nis_remove): Likewise.
36190 * nis/nis_add.c (nis_add): Likewise.
36192 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36194 * posix/fnmatch_loop.c: Add some consts.
36196 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36198 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36201 * config.make.in (config-cflags-novzeroupper): Define.
36202 * configure.in: Substitute libc_cv_cc_novzeroupper.
36203 * elf/Makefile (AVX-CFLAGS): Define.
36204 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36205 (CFLAGS-tst-auditmod4a.c): Likewise.
36206 (CFLAGS-tst-auditmod4b.c): Likewise.
36207 (CFLAGS-tst-auditmod6b.c): Likewise.
36208 (CFLAGS-tst-auditmod6c.c): Likewise.
36209 (CFLAGS-tst-auditmod7b.c): Likewise.
36210 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36212 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36214 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36215 function to the callback.
36216 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36218 2011-02-02 Andreas Schwab <schwab@redhat.com>
36220 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36223 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36226 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36228 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36230 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36233 * elf/Makefile: Add rules to build and run new test.
36234 * elf/tst-initorder.c: New file.
36235 * elf/tst-initorder.exp: New file.
36236 * elf/tst-initordera1.c: New file.
36237 * elf/tst-initordera2.c: New file.
36238 * elf/tst-initordera3.c: New file.
36239 * elf/tst-initordera4.c: New file.
36240 * elf/tst-initorderb1.c: New file.
36241 * elf/tst-initorderb2.c: New file.
36242 * elf/tst-order-a1.c: New file.
36243 * elf/tst-order-a2.c: New file.
36244 * elf/tst-order-a3.c: New file.
36245 * elf/tst-order-a4.c: New file.
36246 * elf/tst-order-b1.c: New file.
36247 * elf/tst-order-b2.c: New file.
36248 * elf/tst-order-main.c: New file.
36249 New test case by George Gensure <werkt0@gmail.com>.
36251 2010-10-01 Andreas Schwab <schwab@redhat.com>
36253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36254 decoding ACE if AI_CANONIDN.
36256 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36258 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36260 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36262 * version.h (RELEASE): Bump for 2.13 release.
36263 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36265 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36267 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36269 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36270 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36271 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36272 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36273 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36274 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36276 * posix/getconf.c: Update copyright year.
36277 * catgets/gencat.c: Likewise.
36278 * csu/version.c: Likewise.
36279 * debug/catchsegv.sh: Likewise.
36280 * debug/xtrace.sh: Likewise.
36281 * elf/ldconfig.c: Likewise.
36282 * elf/ldd.bash.in: Likewise.
36283 * elf/sprof.c (print_version): Likewise.
36284 * iconv/iconv_prog.c: Likewise.
36285 * iconv/iconvconfig.c: Likewise.
36286 * locale/programs/locale.c: Likewise.
36287 * locale/programs/localedef.c: Likewise.
36288 * malloc/memusage.sh: Likewise.
36289 * malloc/mtrace.pl: Likewise.
36290 * nscd/nscd.c (print_version): Likewise.
36291 * nss/getent.c: Likewise.
36293 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36294 PF_CAIF, and PF_ALG.
36295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36297 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36299 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36300 (modules-names): Use them.
36301 (ifunc-test-modules, ifunc-pie-tests): Define.
36302 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36303 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36304 (test-extras): Likewise.
36305 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36306 $(compile-command.c).
36307 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36308 (all-built-dso): Define.
36309 (check-textrel.out, check-execstack.out): Depend on it.
36311 * configure.in: Don't override --enable-multi-arch.
36313 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36316 * nscd/hstcache.c (tryagain): Define.
36317 (cache_addhst): Return tryagain not notfound for temporary errors.
36318 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36321 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36324 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36325 to make the syscall.
36326 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36329 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36330 and fall back to matching as normal character if the string ends before
36331 the matching ']' is found. This is what POSIX requires.
36332 * posix/testfnm.c: Adjust test result.
36333 * posix/globtest.sh: Adjust test result. Add new test.
36334 * posix/tst-fnmatch.input: Likewise.
36335 * posix/tst-fnmatch2.c: Add new test.
36337 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36339 * elf/Makefile (check-execstack): Revert last change. Depend on
36341 (check-execstack.h): New target.
36342 (generated): Add check-execstack.h.
36343 * elf/check-execstack.c: Include "check-execstack.h".
36344 (main): Revert last change.
36345 (handle_file): Return zero if GNU_STACK is absent and
36346 DEFAULT_STACK_PERMS doesn't include PF_X.
36348 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36350 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36351 in child fails because the descriptor is already closed.
36352 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36353 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36354 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36357 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36361 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36362 temporary buffer used to handle multi lookups locally.
36363 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36365 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36367 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36370 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36372 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36373 alignment for SSE2.
36375 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36378 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36379 characters. When rounding increased number of integer digits recompute
36381 * stdio-common/tst-grouping.c: New file.
36382 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36384 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36386 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36387 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36389 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36391 * bits/select.h: Likewise.
36393 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36395 * po/ja.po: Update from translation team.
36397 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36400 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36401 implementation just like for lxstat, fxstatat, et al.
36403 2010-12-27 Jim Meyering <meyering@redhat.com>
36406 * posix/regexec.c (build_trtable): Return failure indication upon
36407 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36409 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36412 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36413 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36414 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36415 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36418 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36421 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36422 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36424 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36426 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36427 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36428 script has SORT_BY_INIT_PRIORITY.
36429 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36430 NO_CTORS_DTORS_SECTIONS is defined.
36431 * elf/soinit.c: Likewise.
36432 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36433 NO_CTORS_DTORS_SECTIONS is defined.
36434 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36435 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36436 * sysdeps/sh/init-first.c: Likewise.
36437 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36439 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36441 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36442 always use the slow path.
36444 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36446 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36447 similar rule which adds the sysdep directories to the header search in
36448 order to pick up the correct platform stackinfo.h.
36449 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36450 perform test if it is, otherwise return successfully without testing.
36451 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36452 DEFAULT_STACK_PERMS define in stackinfo.h.
36453 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36454 defined in stackinfo.h.
36455 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36456 DEFAULT_STACK_PERMS defined in stackinfo.h.
36457 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36458 * sysdeps/ia64/stackinfo.h: Likewise.
36459 * sysdeps/s390/stackinfo.h: Likewise.
36460 * sysdeps/sh/stackinfo.h: Likewise.
36461 * sysdeps/sparc/stackinfo.h: Likewise.
36462 * sysdeps/x86_64/stackinfo.h: Likewise.
36463 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36464 PF_X for powerpc64. Retain PF_X for powerpc32.
36466 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36468 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36470 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36471 GETDENTS_64BIT_ALIGNED.
36473 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36475 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36477 2010-12-10 Andreas Schwab <schwab@redhat.com>
36479 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36482 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36483 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36485 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36486 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36488 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36491 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36494 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36496 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36498 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36500 * po/it.po: Update from translation team.
36502 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36507 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36509 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36511 2010-11-24 Andreas Schwab <schwab@redhat.com>
36513 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36515 (gaih_getanswer_slice): Likewise.
36517 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36521 2010-05-31 Petr Baudis <pasky@suse.cz>
36524 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36525 silently even in the chroot mode.
36527 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36529 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36530 last patch a bit. Pretty printing
36532 2010-05-31 Petr Baudis <pasky@suse.cz>
36535 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36536 initialization of skip_initgroups_dyn.
36538 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36540 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36541 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36543 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36545 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36547 2010-11-11 Andreas Schwab <schwab@redhat.com>
36549 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36550 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36551 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36552 ($(objpfx)tst-fnmatch-mem): New rule.
36553 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36554 * posix/tst-fnmatch.c (main): Call mtrace.
36556 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36559 Support Intel processor model 6 and model 0x2c.
36561 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36563 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36566 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36569 * string/test-strncasecmp.c (check_result): New function.
36570 (do_one_test): Use it.
36571 (check1): New function.
36572 (test_main): Use it.
36573 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36574 Support strcasecmp and strncasecmp.
36576 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36579 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36580 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36582 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36584 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36588 * sysdeps/x86_64/multiarch/bzero.S: New file.
36589 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36590 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36591 * sysdeps/x86_64/multiarch/memset.S: New file.
36592 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36594 Set bit_Prefer_SSE_for_memop for Intel processors.
36595 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36597 (index_Prefer_SSE_for_memop): Define.
36598 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36600 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36602 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36603 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36605 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36608 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36609 (__x86_64_raw_data_cache_size_half): Likewise.
36610 (__x86_64_raw_shared_cache_size): Likewise.
36611 (__x86_64_raw_shared_cache_size_half): Likewise.
36613 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36614 (__x86_64_raw_data_cache_size_half): Likewise.
36615 (__x86_64_raw_shared_cache_size): Likewise.
36616 (__x86_64_raw_shared_cache_size_half): Likewise.
36617 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36618 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36619 and __x86_64_raw_shared_cache_size_half. Round
36620 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36621 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36622 to multiple of 256 bytes.
36624 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36627 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36628 of inacessible symlinks. Verify result of symlink before returning it.
36629 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36630 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36632 2010-10-28 Erich Ritz <erichritz@gmail.com>
36634 * math/math.h (isinf): Fix typo in comment.
36636 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36638 * po/da.po: Update from translation team.
36640 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36642 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36643 is added to the list.
36645 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36646 Ulrich Drepper <drepper@gmail.com>
36648 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36649 the global list here. Move code to...
36650 (_dl_add_to_namespace_list): ...here. New function.
36651 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36652 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36653 * elf/dl-load.c (lose): Don't remove the element from the list.
36654 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36655 (_dl_map_object): Likewise.
36657 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36660 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36661 into all bytes of SSE register.
36662 Patch by Richard Li <richardpku@gmail.com>.
36664 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36667 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36670 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36672 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36673 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36674 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36675 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36680 2010-10-22 Andreas Schwab <schwab@redhat.com>
36682 * include/dlfcn.h (__RTLD_SECURE): Define.
36683 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36684 mode & __RTLD_SECURE instead.
36685 (open_path): Rename preloaded parameter to secure.
36686 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36687 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36688 * elf/dl-deps.c (openaux): Likewise.
36689 * elf/rtld.c (struct map_args): Remove is_preloaded.
36690 (map_doit): Don't use it.
36691 (dl_main): Likewise.
36692 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36693 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36695 2010-09-09 Andreas Schwab <schwab@redhat.com>
36697 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36698 (sysd-rules-targets): Remove duplicates.
36699 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36700 rtld-%.$o dependency.
36702 2010-10-18 Andreas Schwab <schwab@redhat.com>
36704 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36705 _dl_map_object do it.
36707 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36709 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36710 fast fma builtins, define the macros in the C99 standard.
36711 (FP_FAST_FMAF): Likewise.
36712 (FP_FAST_FMAL): Likewise.
36713 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36715 * bits/mathdef.h: Update copyright year.
36716 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36718 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36720 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36721 builtins, define the macros in the C99 standard.
36722 (FP_FAST_FMAF): Likewise.
36723 (FP_FAST_FMAL): Likewise.
36724 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36726 (FP_FAST_FMAF): Likewise.
36728 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36731 * math/libm-test.inc (fma_test): Some new testcases.
36732 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36733 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36734 y and infinite z. Do multiplication by C already in long double.
36735 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36737 y and infinite z. Do bitwise or of inexact bit into u.d.
36738 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36739 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36740 * sysdeps/i386/fpu/s_fma.S: Removed.
36741 * sysdeps/i386/fpu/s_fmal.S: Removed.
36743 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36746 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36748 computation is not scheduled after fetestexcept. Fix value
36749 of minimum denormal long double.
36751 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36754 * math/libm-test.inc (fma_test): Add some more tests.
36755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36758 2010-10-15 Andreas Schwab <schwab@redhat.com>
36760 * scripts/data/localplt-s390-linux-gnu.data: New file.
36761 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36763 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36766 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36767 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36769 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36771 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36773 if one of x and y is very large and the other is subnormal.
36774 * sysdeps/s390/fpu/s_fmaf.c: New file.
36775 * sysdeps/s390/fpu/s_fma.c: New file.
36776 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36777 * sysdeps/powerpc/fpu/s_fma.S: New file.
36778 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36779 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36780 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36782 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36785 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36787 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36788 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36789 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36790 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36791 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36792 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36793 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36795 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36798 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36799 * posix/bug-regex31.input: Add test case.
36801 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36803 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36804 * posix/bug-regex31.input: New file.
36807 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36808 (parse_sub_exp): Fix last change, use postorder.
36810 * posix/bug-regex31.c: New file.
36811 * posix/Makefile: Add rules to build and run bug-regex31.
36813 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36816 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36819 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36820 to have entries in sys_siglist.
36823 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36826 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36829 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36830 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36831 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36832 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36833 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36834 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36835 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36836 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36837 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36838 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36839 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36840 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36841 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36842 * math/ftestexcept.c (fetestexcept): Likewise.
36843 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36844 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36845 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36846 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36847 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36848 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36849 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36851 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36854 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36857 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36859 * string/bug-strstr1.c: New file.
36860 * string/Makefile: Add rules to build and run bug-strstr1.
36862 2010-10-05 Eric Blake <eblake@redhat.com>
36865 * string/str-two-way.h (two_way_long_needle): Always clear memory
36866 when skipping input due to the shift table.
36868 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36871 * malloc/mcheck.c: Handle large requests.
36874 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36875 for strncmp and strncasecmp.
36876 * string/stratcliff.c: Add tests for strcmp and strncmp.
36877 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36879 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36881 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36884 2010-09-30 Andreas Jaeger <aj@suse.de>
36886 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36887 (CGROUP_SUPER_MAGIC): Define.
36888 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36889 Handle btrfs and cgroup file systems.
36890 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36893 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36895 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36896 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36898 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36901 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36902 trying to locate the ELF header.
36904 2010-09-27 Andreas Schwab <schwab@redhat.com>
36907 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36908 Mask out sign-bit copies when constructing f_fsid.
36910 2010-09-24 Petr Baudis <pasky@suse.cz>
36912 * debug/stack_chk_fail_local.c: Add missing licence exception.
36913 * debug/warning-nop.c: Likewise.
36915 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36917 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36918 implementing getdents64 using getdents syscall, set d_type if
36919 __ASSUME_GETDENTS32_D_TYPE.
36921 2010-09-16 Andreas Schwab <schwab@redhat.com>
36923 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36924 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36926 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36929 * posix/unistd.h: Undo change of feature selection for ftruncate from
36932 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36934 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36937 2010-09-20 Andreas Schwab <schwab@redhat.com>
36939 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36941 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36943 2010-09-14 Andreas Schwab <schwab@redhat.com>
36945 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36946 variables after CHECK_SP call.
36947 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36949 2010-09-13 Andreas Schwab <schwab@redhat.com>
36950 Ulrich Drepper <drepper@redhat.com>
36952 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36953 re-relocationg ld.so.
36954 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36955 _dl_init_paths call.
36956 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36959 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36961 * resolv/res_init.c (__res_vinit): Count the default server we added.
36963 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36964 Ulrich Drepper <drepper@redhat.com>
36967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36968 (____longjmp_chk): Use %ebx for saving value across system call.
36971 2010-09-06 Andreas Schwab <schwab@redhat.com>
36973 * manual/Makefile: Don't mix pattern rules with normal rules.
36975 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36977 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36979 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36980 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36981 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36982 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36983 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36986 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36989 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36990 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36992 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36994 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36995 * sysdeps/x86_64/addmul_1.S: Likewise.
36996 * sysdeps/x86_64/lshift.S: Likewise.
36997 * sysdeps/x86_64/mul_1.S: Likewise.
36998 * sysdeps/x86_64/rshift.S: Likewise.
36999 * sysdeps/x86_64/sub_n.S: Likewise.
37000 * sysdeps/x86_64/submul_1.S: Likewise.
37002 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37004 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37005 Define __sched_param instead of SCHED_* and sched_param when
37006 <bits/sched.h> is included with __need_schedparam defined.
37007 * bits/sched.h [__need_schedparam]
37008 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37009 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37010 (__defined_schedparam): Define to 1.
37011 (__sched_param): New structure, identical to sched_param.
37012 (__need_schedparam): Undefine.
37014 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37016 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37017 (epoll_create1): Declare.
37019 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37021 2010-08-31 Andreas Schwab <schwab@redhat.com>
37024 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37025 shifting retval into place.
37027 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37029 * nis/rpcsvc/nis.h: Update copyright notice.
37030 * nis/rpcsvc/nis.x: Likewise.
37031 * nis/rpcsvc/nis_callback.h: Likewise.
37032 * nis/rpcsvc/nis_callback.x: Likewise.
37033 * nis/rpcsvc/nis_object.x: Likewise.
37034 * nis/rpcsvc/nis_tags.h: Likewise.
37035 * nis/rpcsvc/yp.h: Likewise.
37036 * nis/rpcsvc/yp.x: Likewise.
37037 * nis/rpcsvc/ypupd.h: Likewise.
37038 * nis/yp_xdr.c: Likewise.
37039 * nis/ypupdate_xdr.c: Likewise.
37041 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37042 mainly the body of pmap_getport. Add parameters to specify timeouts.
37043 (pmap_getport): Use __libc_rpc_getport.
37044 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37045 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37046 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37048 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37053 2010-08-27 Roland McGrath <roland@redhat.com>
37055 * sysdeps/i386/i686/multiarch/Makefile
37056 (CFLAGS-varshift.c): New variable.
37058 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37060 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37061 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37065 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37067 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37069 * sysdeps/x86_64/strlen.S: Unroll the loop.
37070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37071 strlen-sse2 strlen-sse2-bsf.
37072 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37073 __strlen_no_bsf if bit_Slow_BSF is set.
37074 (__strlen_sse42): Removed.
37075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37076 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37078 2010-08-25 Roland McGrath <roland@redhat.com>
37080 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37081 * sysdeps/x86_64/multiarch/varshift.c: New file.
37082 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37083 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37084 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37085 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37087 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37090 strlen-sse2 strlen-sse2-bsf.
37091 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37092 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37093 (__strlen_sse2): Removed.
37094 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37097 bit_Slow_BSF for Atom.
37098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37099 (index_Slow_BSF): Define.
37100 (HAS_SLOW_BSF): Define.
37102 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37105 * resolv/res_init.c (__res_vinit): When no server address at all
37106 is given default to loopback.
37108 2010-08-24 Roland McGrath <roland@redhat.com>
37110 * configure.in: Remove config-name.h generation.
37111 * configure: Regenerated.
37112 * config-name.in: File removed.
37113 * scripts/config-uname.sh: New file.
37114 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37115 ($(objdir)config-name.h): New target.
37117 * sunrpc/rpc_parse.h: Avoid nested comment.
37119 2010-08-24 Richard Henderson <rth@redhat.com>
37120 Ulrich Drepper <drepper@redhat.com>
37121 H.J. Lu <hongjiu.lu@intel.com>
37123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37125 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37126 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37127 _mm_alignr_epi8 with _mm_loadu_si128.
37128 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37129 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37130 (__m128i_shift_right): Removed.
37131 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37132 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37133 * sysdeps/x86_64/multiarch/varshift.h: New file.
37134 * sysdeps/x86_64/multiarch/varshift.S: New file.
37136 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37138 * configure.in: Move assembler checks to before sysdep dir checking.
37140 2010-08-20 Petr Baudis <pasky@suse.cz>
37142 * LICENSES: Sync the sunrpc license.
37144 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37146 * sunrpc/auth_des.c: Update copyright notice once again.
37147 * sunrpc/auth_none.c: Likewise.
37148 * sunrpc/auth_unix.c: Likewise.
37149 * sunrpc/authdes_prot.c: Likewise.
37150 * sunrpc/authuxprot.c: Likewise.
37151 * sunrpc/bindrsvprt.c: Likewise.
37152 * sunrpc/clnt_gen.c: Likewise.
37153 * sunrpc/clnt_perr.c: Likewise.
37154 * sunrpc/clnt_raw.c: Likewise.
37155 * sunrpc/clnt_simp.c: Likewise.
37156 * sunrpc/clnt_tcp.c: Likewise.
37157 * sunrpc/clnt_udp.c: Likewise.
37158 * sunrpc/clnt_unix.c: Likewise.
37159 * sunrpc/des_crypt.c: Likewise.
37160 * sunrpc/des_soft.c: Likewise.
37161 * sunrpc/get_myaddr.c: Likewise.
37162 * sunrpc/getrpcport.c: Likewise.
37163 * sunrpc/key_call.c: Likewise.
37164 * sunrpc/key_prot.c: Likewise.
37165 * sunrpc/openchild.c: Likewise.
37166 * sunrpc/pm_getmaps.c: Likewise.
37167 * sunrpc/pm_getport.c: Likewise.
37168 * sunrpc/pmap_clnt.c: Likewise.
37169 * sunrpc/pmap_prot.c: Likewise.
37170 * sunrpc/pmap_prot2.c: Likewise.
37171 * sunrpc/pmap_rmt.c: Likewise.
37172 * sunrpc/rpc/auth.h: Likewise.
37173 * sunrpc/rpc/auth_unix.h: Likewise.
37174 * sunrpc/rpc/clnt.h: Likewise.
37175 * sunrpc/rpc/des_crypt.h: Likewise.
37176 * sunrpc/rpc/key_prot.h: Likewise.
37177 * sunrpc/rpc/netdb.h: Likewise.
37178 * sunrpc/rpc/pmap_clnt.h: Likewise.
37179 * sunrpc/rpc/pmap_prot.h: Likewise.
37180 * sunrpc/rpc/pmap_rmt.h: Likewise.
37181 * sunrpc/rpc/rpc.h: Likewise.
37182 * sunrpc/rpc/rpc_des.h: Likewise.
37183 * sunrpc/rpc/rpc_msg.h: Likewise.
37184 * sunrpc/rpc/svc.h: Likewise.
37185 * sunrpc/rpc/svc_auth.h: Likewise.
37186 * sunrpc/rpc/types.h: Likewise.
37187 * sunrpc/rpc/xdr.h: Likewise.
37188 * sunrpc/rpc_clntout.c: Likewise.
37189 * sunrpc/rpc_cmsg.c: Likewise.
37190 * sunrpc/rpc_common.c: Likewise.
37191 * sunrpc/rpc_cout.c: Likewise.
37192 * sunrpc/rpc_dtable.c: Likewise.
37193 * sunrpc/rpc_hout.c: Likewise.
37194 * sunrpc/rpc_main.c: Likewise.
37195 * sunrpc/rpc_parse.c: Likewise.
37196 * sunrpc/rpc_parse.h: Likewise.
37197 * sunrpc/rpc_prot.c: Likewise.
37198 * sunrpc/rpc_sample.c: Likewise.
37199 * sunrpc/rpc_scan.c: Likewise.
37200 * sunrpc/rpc_scan.h: Likewise.
37201 * sunrpc/rpc_svcout.c: Likewise.
37202 * sunrpc/rpc_tblout.c: Likewise.
37203 * sunrpc/rpc_util.c: Likewise.
37204 * sunrpc/rpc_util.h: Likewise.
37205 * sunrpc/rpcinfo.c: Likewise.
37206 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37207 * sunrpc/rpcsvc/key_prot.x: Likewise.
37208 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37209 * sunrpc/rpcsvc/mount.x: Likewise.
37210 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37211 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37212 * sunrpc/rpcsvc/rex.x: Likewise.
37213 * sunrpc/rpcsvc/rstat.x: Likewise.
37214 * sunrpc/rpcsvc/rusers.x: Likewise.
37215 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37216 * sunrpc/rpcsvc/spray.x: Likewise.
37217 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37218 * sunrpc/rtime.c: Likewise.
37219 * sunrpc/svc.c: Likewise.
37220 * sunrpc/svc_auth.c: Likewise.
37221 * sunrpc/svc_authux.c: Likewise.
37222 * sunrpc/svc_raw.c: Likewise.
37223 * sunrpc/svc_run.c: Likewise.
37224 * sunrpc/svc_simple.c: Likewise.
37225 * sunrpc/svc_tcp.c: Likewise.
37226 * sunrpc/svc_udp.c: Likewise.
37227 * sunrpc/svc_unix.c: Likewise.
37228 * sunrpc/svcauth_des.c: Likewise.
37229 * sunrpc/xcrypt.c: Likewise.
37230 * sunrpc/xdr.c: Likewise.
37231 * sunrpc/xdr_array.c: Likewise.
37232 * sunrpc/xdr_float.c: Likewise.
37233 * sunrpc/xdr_mem.c: Likewise.
37234 * sunrpc/xdr_rec.c: Likewise.
37235 * sunrpc/xdr_ref.c: Likewise.
37236 * sunrpc/xdr_sizeof.c: Likewise.
37237 * sunrpc/xdr_stdio.c: Likewise.
37239 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37242 2010-08-19 Andreas Schwab <schwab@redhat.com>
37244 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37246 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37248 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37249 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37250 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37251 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37252 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37253 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37254 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37255 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37256 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37257 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37258 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37259 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37260 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37261 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37263 2010-07-26 Anton Blanchard <anton@samba.org>
37265 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37266 * malloc/arena.c (heap_trim): Likewise.
37268 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37270 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37273 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37275 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37277 * sysdeps/i386/elf/Makefile: New file.
37279 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37281 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37282 from fanotify_init.
37283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37286 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37288 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37290 * sysdeps/multiarch/strcmp.S: Likewise.
37292 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37294 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37295 strncase_l-nonascii.
37296 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37297 Add strncase_l-ssse3.
37298 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37299 * sysdeps/x86_64/strcmp.S: Likewise.
37300 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37301 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37302 * sysdeps/x86_64/strncase.S: New file.
37303 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37304 * sysdeps/x86_64/strncase_l.S: New file.
37305 * string/Makefile (strop-tests): Add strncasecmp.
37306 * string/test-strncasecmp.c: New file.
37308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37311 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37312 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37314 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37316 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37318 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37320 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37321 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37322 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37324 2010-05-01 Alan Modra <amodra@gmail.com>
37326 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37327 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37328 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37329 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37330 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37331 tidying. Don't tail-call __sigjmp_save for static lib.
37332 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37334 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37335 (CALL_MCOUNT): Add eh info, and nop after bl.
37336 (TAIL_CALL_SYSCALL_ERROR): New macro.
37337 (PSEUDO_RET): Use it.
37338 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37339 Correct save location of integer regs and cr.
37340 (_dl_profile_resolve): Correct cr save location. Delete nops
37341 after bl when SHARED. Reduce cfi size a little by better
37342 placement of cfi directives.
37343 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37344 make a stack frame. Instead use parm save area as a temp.
37345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37346 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37348 Don't make a stack frame for parent, use parm save area.
37349 Increase child stack frame to 112 bytes. Don't save unused reg,
37350 and adjust reg usage. Set up cfi on error recovery and
37351 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37353 (__makecontext): Add dummy nop after jump to exit.
37354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37355 Use correct parm save area and cr save, reduce stack frame.
37356 Correct cfi for possible PSEUDO_RET frame setup.
37357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37358 Branch to local label emitted by PSEUDO_RET rather than
37361 2010-08-12 Andreas Schwab <schwab@redhat.com>
37364 * locale/programs/locale.c (print_assignment): New function.
37365 (show_locale_vars): Use it.
37367 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37369 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37371 (struct statfs64): Likewise.
37372 (_STATFS_F_FLAGS): Define.
37373 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37375 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37376 (ST_VALID): Define locally.
37377 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37378 __statvfs_getflags, use the provided value.
37379 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37380 __ASSUME_STATFS_F_FLAGS.
37382 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37384 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37385 Add sys/fanotify.h.
37386 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37387 fanotify_mask for GLIBC_2.13.
37388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37389 fanotify_init and fanotify_mark.
37390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37391 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37393 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37395 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37396 prlimit64 for GLIBC_2.13.
37397 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37402 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37403 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37404 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37407 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37410 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37411 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37413 * nss/Makefile: Add rules to build and run tst-nss-test1.
37414 * shlib-versions: Add entry for libnss_test1.
37415 * nss/nss_test1.c: New file.
37416 * nss/tst-nss-test1.c: New file.
37418 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37419 (__nss_configure_lookup): Set appropriate entry in
37420 __nss_configure_lookup to true.
37421 * nss/nsswitch.h: Define enum with indeces of databases in
37422 databases and __nss_database_custom arrays. Declare
37423 __nss_database_custom.
37424 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37425 to avoid using nscd when custom rules are installed.
37426 * nss/getXXbyYY_r.c: Likewise.
37427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37429 * nss/nss_files/files-parse.c: Whitespace fixes.
37431 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37434 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37435 * posix/fnmatch_loop.c: Likewise.
37437 2010-07-17 Andi Kleen <ak@linux.intel.com>
37439 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37440 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37441 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37442 * Versions.def [GLIBC_2.13]: Add.
37444 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37446 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37447 Also fail if tpwd after pwuid call is NULL.
37449 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37451 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37452 when converting to ms.
37454 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37456 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37457 EOPNOTSUPP errors with ENOTTY.
37458 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37459 EOPNOTSUPP errors with ENOTTY.
37461 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37463 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37464 Add strcasecmp_l-ssse3.
37465 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37467 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37468 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37469 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37471 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37473 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37475 * string/Makefile (strop-tests): Add strcasecmp.
37476 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37477 strcasecmp_l-nonascii.
37478 (gen-as-const-headers): Add locale-defines.sym.
37479 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37480 * sysdeps/x86_64/strcasecmp.S: New file.
37481 * sysdeps/x86_64/strcasecmp_l.S: New file.
37482 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37483 * sysdeps/x86_64/locale-defines.sym: New file.
37484 * string/test-strcasecmp.c: New file.
37486 * string/test-strcasestr.c: Test both ends of the range of characters.
37487 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37489 2010-07-29 Roland McGrath <roland@redhat.com>
37492 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37494 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37496 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37499 2010-07-27 Andreas Schwab <schwab@redhat.com>
37501 * manual/memory.texi (Malloc Tunable Parameters): Document
37504 2010-07-26 Roland McGrath <roland@redhat.com>
37507 * configure.in (-fgnu89-inline check): Set and substitute
37508 gnu89_inline, not libc_cv_gnu89_inline.
37509 * configure: Regenerated.
37510 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37512 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37514 * string/test-strnlen.c: New file.
37515 * string/Makefile (strop-tests): Add strnlen.
37516 * string/tester.c (test_strnlen): Add a few more test cases.
37517 * string/tst-strlen.c: Better error reporting.
37519 * sysdeps/x86_64/strnlen.S: New file.
37521 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37523 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37524 lower-latency instructions.
37526 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37528 * string/test-strcasestr.c: New file.
37529 * string/test-strstr.c: New file.
37530 * string/Makefile (strop-tests): Add strstr and strcasestr.
37531 * string/str-two-way.h: Don't undefine MAX.
37532 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37534 2010-07-21 Andreas Schwab <schwab@redhat.com>
37536 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37537 strcasestr-nonascii.
37538 (CFLAGS-strcasestr-nonascii.c): Define.
37539 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37541 Remove unused attribute.
37543 2010-07-20 Roland McGrath <roland@redhat.com>
37545 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37546 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37547 ld.so.cache was broken. With it, there is no way to disable dsocaps
37548 like LD_HWCAP_MASK can disable hwcaps.
37550 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37552 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37554 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37556 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37557 call in strcasestr.
37558 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37559 __strcasestr_sse42_nonascii.
37560 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37561 strcasestr-nonascii.c.
37562 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37564 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37567 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37568 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37569 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37571 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37573 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37576 2010-07-06 Andreas Schwab <schwab@redhat.com>
37579 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37582 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37585 _PC_PIPE_BUF using F_GETPIPE_SZ.
37587 2010-07-05 Roland McGrath <roland@redhat.com>
37589 * manual/arith.texi (Rounding Functions): Fix rint description
37590 implicit in round description.
37592 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37594 * elf/Makefile: Fix linking for a few tests to make recent linker
37597 2010-06-30 Andreas Schwab <schwab@redhat.com>
37599 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37600 $(common-objpfx)libc_nonshared.a.
37602 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37604 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37605 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37606 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37607 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37608 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37609 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37610 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37611 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37626 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37627 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37628 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37629 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37630 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37631 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37632 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37633 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37634 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37635 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37636 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37637 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37653 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37655 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37656 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37657 * string/memmove.c (memmove): Renamed to ...
37658 (MEMMOVE): ...this. Default to memmove.
37659 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37660 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37663 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37664 mempcpy-ssse3-back memmove-ssse3-back.
37665 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37668 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37669 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37670 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37671 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37672 * sysdeps/x86_64/multiarch/memmove.c: New file.
37673 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37674 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37675 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37676 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37677 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37680 (index_Fast_Copy_Backward): Define.
37681 (HAS_ARCH_FEATURE): Define.
37682 (HAS_FAST_REP_STRING): Define.
37683 (HAS_FAST_COPY_BACKWARD): Define.
37685 2010-06-21 Andreas Schwab <schwab@redhat.com>
37687 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37688 Restore proper fallback handling.
37690 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37693 * posix/group_member.c (__group_member): Correct checking loop.
37695 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37696 OOM in getpwuid_r correctly. Return error number when the caller
37697 should return, otherwise -1.
37698 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37699 call returning > 0 value.
37700 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37702 2010-06-07 Andreas Schwab <schwab@redhat.com>
37704 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37705 libc_nonshared.a from targets in modules-names.
37707 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37709 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37712 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37714 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37715 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37716 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37717 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37719 2010-06-02 Andreas Schwab <schwab@redhat.com>
37721 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37723 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37725 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37727 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37728 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37731 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37732 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37734 2010-06-14 Roland McGrath <roland@redhat.com>
37736 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37738 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37740 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37741 __REDIRECT followed by __THROW.
37742 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37743 * posix/getopt.h (getopt): Likewise.
37745 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37747 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37748 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37749 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37751 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37752 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37754 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37756 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37758 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37762 Properly check family and model.
37764 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37766 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37768 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37770 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37772 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37774 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37777 2010-05-19 Andreas Schwab <schwab@redhat.com>
37779 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37782 2010-05-21 Andreas Schwab <schwab@redhat.com>
37784 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37785 and internal_recvmmsg.
37786 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37787 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37788 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37789 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37791 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37792 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37793 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37795 2010-05-20 Andreas Schwab <schwab@redhat.com>
37797 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37799 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37801 POWER7 optimizations.
37802 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37803 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37805 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37807 * version.h: Update for 2.13 development version.
37809 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37811 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37812 exceptions. Return 0.
37814 2010-05-07 Roland McGrath <roland@redhat.com>
37816 * elf/ldconfig.c (main): Add a const.
37818 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37820 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37821 (args_options): Add no-idn option.
37822 (ahosts_keys_int): Add idn_flags to ai_flags.
37823 (parse_option): Handle 'i' option to clear idn_flags.
37825 * malloc/malloc.c (_int_free): Possible race in the most recently
37826 added check. Only act on the data if no current modification
37829 See ChangeLog.17 for earlier changes.